CN110324677A - A kind of barrage server connection method, client and readable storage medium storing program for executing - Google Patents

A kind of barrage server connection method, client and readable storage medium storing program for executing Download PDF

Info

Publication number
CN110324677A
CN110324677A CN201810294063.0A CN201810294063A CN110324677A CN 110324677 A CN110324677 A CN 110324677A CN 201810294063 A CN201810294063 A CN 201810294063A CN 110324677 A CN110324677 A CN 110324677A
Authority
CN
China
Prior art keywords
barrage server
barrage
server
client
connection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810294063.0A
Other languages
Chinese (zh)
Other versions
CN110324677B (en
Inventor
周志刚
陈少杰
张文明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201810294063.0A priority Critical patent/CN110324677B/en
Publication of CN110324677A publication Critical patent/CN110324677A/en
Application granted granted Critical
Publication of CN110324677B publication Critical patent/CN110324677B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management 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/254Management at additional data server, e.g. shopping server, rights management server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44227Monitoring of local network, e.g. connection or bandwidth variations; Detecting new devices in the local network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4882Data services, e.g. news ticker for displaying messages, e.g. warnings, reminders
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/64Addressing
    • H04N21/6402Address allocation for clients
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of barrage server connection method, client and readable storage medium storing program for executing, the loss and calorific value of CPU and electricity for reducing client when client connects barrage server.This method comprises: detection obtains the current network connection status of the client in the case where detecting that default application program opens barrage function;If the current network connection status is in default network connection state, barrage server is connected by preset strategy, wherein the default network connection state is Wireless LAN connection status or radio wide area network connection status;If the current network connection status is in non-default network connection state, stop connection barrage server.

Description

A kind of barrage server connection method, client and readable storage medium storing program for executing
Technical field
The present invention relates to electronic technology field more particularly to a kind of barrage server connection method, client and readable deposit Storage media.
Background technique
Currently, increasingly by everybody welcome platform is broadcast live in live streaming, spectators send barrage can be very in network direct broadcasting Good plays the function of being interacted with main broadcaster.Since the client of installation live streaming platform is usually mobile client, client Network state change often.In the prior art, in the case of the live streaming platform of client opens barrage function, not pipe network Whether network state changes, and client can repeatedly attempt connection barrage server, causes the CPU and electricity of client Loss and increase calorific value.
Summary of the invention
The present invention provides a kind of barrage server connection method, client and readable storage medium storing program for executing, in client The loss and calorific value of the CPU and electricity of client are reduced when connecting barrage server.
In a first aspect, being applied to client the present invention provides a kind of barrage server connection method, comprising:
In the case where detecting that default application program opens barrage function, detection obtains the current network of the client Connection status;
If the current network connection status is in default network connection state, barrage service is connected by preset strategy Device, wherein the default network connection state is Wireless LAN connection status or radio wide area network connection status;
If the current network connection status is in non-default network connection state, stop connection barrage server.
Optionally, if the current network connection status is in radio wide area network connection status, by default plan Slightly connect barrage server, comprising:
If the current network connection status is in radio wide area network connection status, output prompt information is for reminding Whether confirmation connects barrage server;
If receiving the confirmation message for the prompt information, barrage server is connected by preset strategy.
It is optionally, described to connect barrage server by preset strategy, comprising:
It is connected to gateway server;
Obtain the gateway server is sent first candidate barrage server list, the described first candidate barrage server It include the domain name addresses of at least one barrage server in list;
Connect the barrage server in the described first candidate barrage server list;
If the barrage server in the described first candidate barrage server list is all connected with failure, the gateway clothes are received It is engaged in the second candidate barrage server list that device sends, includes at least one barrage in the described second candidate barrage server list The IP address of each barrage server and port in server;
Connect the barrage server in the described second candidate barrage server list.
Optionally, after the barrage server in the candidate barrage server list of the connection described second, the side Method further include:
If the barrage server in the described second candidate barrage server list is all connected with failure, connection is assisted based on HTTP The barrage server of view.
Optionally, after the connection barrage server by preset strategy, the method also includes:
If it is described non-to detect that the network connection state of the client is changed to by the default network connection state Default network connection state stops connection barrage server.
Optionally, after the connection barrage server by preset strategy, the method also includes:
Monitor the operating status of the default application program;
If the operating status of the default application program switches to background operation state by front stage operation state, stop connecting Connect barrage server;
If the operating status of the default application program switches to the front stage operation shape by the background operation state State reconnects barrage server.
Second aspect, the embodiment of the invention provides a kind of clients, comprising:
Detection unit, in the case where detecting that default application program opens barrage function, detection to obtain the visitor The current network connection status at family end;
Connection unit, if default network connection state is in for the current network connection status, by preset strategy Connect barrage server, wherein the default network connection state is Wireless LAN connection status or radio wide area network Connection status;If the current network connection status is in non-default network connection state, stop connection barrage server.
Optionally, the connection unit is used for:
If the current network connection status is in radio wide area network connection status, output prompt information is for reminding Whether confirmation connects barrage server;
If receiving the confirmation message for the prompt information, barrage server is connected by preset strategy
Optionally, the connection unit connects barrage server by preset strategy, is specifically used for:
It is connected to gateway server;
Obtain the gateway server is sent first candidate barrage server list, the described first candidate barrage server It include the domain name addresses of at least one barrage server in list;
Connect the barrage server in the described first candidate barrage server list;
If the barrage server in the described first candidate barrage server list is all connected with failure, the gateway clothes are received It is engaged in the second candidate barrage server list that device sends, includes at least one barrage in the described second candidate barrage server list The IP address of each barrage server and port in server;
Connect the barrage server in the described second candidate barrage server list.
Optionally, the connection unit is used for:
After the barrage server in the candidate barrage server list of the connection described second, if described second waits It selects the barrage server in barrage server list to be all connected with failure, connects the barrage server based on http protocol.
Optionally, the connection unit is used for:
After the connection barrage server by preset strategy, if detecting the network connection state of the client The non-default network connection state is changed to by the default network connection state, stops connection barrage server.
Optionally, the connection unit is used for:
After the connection barrage server by preset strategy, the operating status of the default application program is monitored;
If the operating status of the default application program switches to background operation state by front stage operation state, stop connecting Connect barrage server;
If the operating status of the default application program switches to the front stage operation shape by the background operation state State reconnects barrage server.
The third aspect, the embodiment of the invention provides a kind of client, the client includes processor described in processor Such as aforementioned first aspect barrage server as described in the examples is realized when for executing the computer program stored in memory The step of connection method.
Fourth aspect, the embodiment of the invention provides a kind of readable storage medium storing program for executing, are stored thereon with computer program, described It realizes when computer program is executed by processor such as aforementioned first aspect barrage server connection method as described in the examples Step.
Said one or multiple technical solutions in the embodiment of the present application at least have following one or more technology effects Fruit:
In the technical solution of the embodiment of the present invention, since client is detecting default application program unlatching barrage function In the case where firstly the need of detection obtain client current network connection status;If current network connection status is in wireless It, just can be by preset strategy in the case of the default network connection state of local area network connection status or radio wide area network connection status Barrage server is connected, if current network connection status is in non-default network connection state, stops connection barrage server. In this way, client, which is in non-default network connection state in network state, will not attempt connection barrage server, can effectively subtract CPU usage, the electricity of consumption and the heat of generation of few client.
Detailed description of the invention
Fig. 1 is the flow chart of one of first embodiment of the invention barrage server connection method;
Fig. 2 is the schematic diagram of the client in second embodiment of the invention;
Fig. 3 is the schematic diagram of the client in third embodiment of the invention.
Specific embodiment
The embodiment of the invention provides a kind of barrage server connection method, client and readable storage medium storing program for executing, are used for Client reduces the loss and calorific value of the CPU and electricity of client when connecting barrage server.This method comprises: detecting In the case where opening barrage function to default application program, detection obtains the current network connection status of the client;If The current network connection status is in default network connection state, connects barrage server by preset strategy, wherein described pre- If network connection state is Wireless LAN connection status or radio wide area network connection status;If the current network connects It connects state and is in non-default network connection state, stop connection barrage server.
Technical solution of the present invention is described in detail below by attached drawing and specific embodiment, it should be understood that the application Specific features in embodiment and embodiment are the detailed description to technical scheme, rather than to present techniques The restriction of scheme, in the absence of conflict, the technical characteristic in the embodiment of the present application and embodiment can be combined with each other.
The terms "and/or", only a kind of incidence relation for describing affiliated partner, indicates that there may be three kinds of passes System, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.In addition, herein Middle character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".
Embodiment
Referring to FIG. 1, first embodiment of the invention provides a kind of barrage server connection method, it is applied to client, it should Barrage server connection method includes the following steps:
S101: in the case where detecting that default application program opens barrage function, detection obtains working as the client Preceding network connection state;
S102: if the current network connection status is in default network connection state, barrage is connected by preset strategy Server, wherein the default network connection state is Wireless LAN connection status or radio wide area network connection status;
S103: if the current network connection status is in non-default network connection state, stop connection barrage service Device.
Specifically, in the present embodiment, the barrage server connection method in the present embodiment be mainly used in be mounted with it is pre- If the client of application program, default application program can be live streaming application program or the application program of video class may be used also certainly To be other application programs with barrage function, the application is with no restrictions herein.
Client is in the case where detecting that default application program opens barrage function, since default application program is usually pacified Mounted in mobile client, the network state of mobile client may change in real time.So, it is also necessary to worked as according to client Preceding network connection state come determine whether carry out the connection of barrage server operation.
In step s101, client detection can be triggered in following several situations works as network connection state.The first, in advance If barrage function is opened after application program launching, and is triggered when carrying out video playing, client detects current network and connects shape State.Such as: default application program is live streaming application program, after application program launching is broadcast live, and the bullet of the live streaming application program Curtain function is opened, if live streaming application program enters the first direct broadcasting room, at this point, client can detect current network connection status. Second, preset application program launching after carry out video playing during, when barrage function is turned on, client detection works as network Connection status.Such as: enter the first direct broadcasting room after live streaming application program launching, during which user opens barrage function, at this point, client End can detect current network connection status.The third, during the default application program operation in client, if the default application Program opens barrage function, and client can be spaced (such as 5 minutes, 10 minutes) detection current network connection at preset timed intervals State.
In turn, then by step S102 and step S103, if current network connection status is in Wireless LAN Connection status (such as connection wifi network) or radio wide area network connection status (such as connection 3G/4G network) are preset network-like State can connect barrage server by preset strategy.If current network connection status is in non-default network connection state, Such as: client does not connect network, then stops connecting barrage server.The case where for no network, if barrage server does not have Have in connection, then client can't reconnection, but be in default network connection state until presetting network in client connection When, re-attached barrage server.Such as: the network state that the mobility of client may cause client changes, When connecting wifi network, be moved to the region that the wifi network is not covered with, in this way, detect network connection state by Default network state switches to non-default network state, at this point, client can interrupt the connection between barrage server, client It will not attempt to reconnect barrage server, only after client reconnects upper wifi network, reconnect barrage service Device.It, can be in this manner it is possible to client is avoided also to continuously attempt to connection barrage server in non-default network Effectively reduce the heat of the CPU usage of client, the electricity of consumption and generation.
Further, in the present embodiment, if current network connection status is in radio wide area network connection status, output Whether prompt information confirms connection barrage server for reminding;If receiving the confirmation message for prompt information, by pre- If strategy connection barrage server.
Specifically, in the present embodiment, if current network connection status is in radio wide area network connection status, due to Radio wide area network is usually required by flow charging, so, client need to export prompt information for remind whether confirm company Barrage server is connect, prompt information can be voice reminder, text prompting etc., if receiving user is directed to prompt information really Recognize information, client can just connect barrage server, to avoid the unnecessary economic expense of user is caused.
Further, in the present embodiment, if it is determined that the current network connection status of client is in default network connection State can also further consider network speed, the remaining capacity of client, memory usage etc. because usually finally deciding whether to connect Barrage server.Specifically, one or more preset conditions can be set, comprising: the network speed of the network currently connected is greater than pre- If network speed, the remaining capacity of client is greater than default electricity, and memory usage is less than default memory usage.Meeting above-mentioned one When a or multiple preset conditions, determines and connect barrage server by preset strategy.
Further, in the present embodiment, the case where the current network state for determining client is in default network state Under, it can be using the connection strategy based on domain name mapping, IP connection plan of guaranteeing the minimum in such a way that preset strategy connects barrage server Summary and HTTP connection strategy.Wherein, the IP that guarantees the minimum refers to the IP for the barrage server that gateway server is directly transmitted to client Address and port numbers, client can directly pass through its connection for carrying out corresponding barrage server, without as domain name mapping plan Slightly middle client, which must carry out domain name mapping, could obtain the corresponding IP address of domain name addresses and port numbers, and client can omit domain Name analyzing step also can avoid not connecting barrage server due to domain name, which is held as a hostage, causes client can not parse IP address Problem.
Further, it should be noted that in the situation of above-mentioned triggering client detection current network connection status, if It is the third above-mentioned situation, during the default application program operation in client, if the default application program opens barrage Function, client can be spaced (such as 5 minutes, 10 minutes) detection current network connection status at preset timed intervals.If previous The network connection state of secondary detection is in non-default network state, and is in default network in the network connection state at current time State, and the time interval that current time is successfully connected barrage server away from the last time is less than prefixed time interval (such as: 10 points Clock, 20 minutes etc.), client can reconnect barrage server, when connecting barrage server, can be directly connected to client The barrage server that last time is successfully connected, if it fails to connect, can be again according to the connection strategy based on domain name mapping, guarantor Bottom IP connection strategy and HTTP connection strategy carry out the connection of barrage server.
In this way, connection barrage server only is being removed in default network state Shi Caihui in client, it can To reduce the consumption of CPU as far as possible, to reduce power consumption, calorific value is also reduced.
Further, in the present embodiment, if detecting the network connection state of client by presetting network connection state It is changed to non-default network connection state, stops connection barrage server.
Specifically, client needs to be monitored network connection state, if detecting the network connection shape of client State is changed to non-default network connection state by default network connection state, then client can't reattempt to connection barrage clothes Business device, but connection barrage server is retried until client is in default network connection state Shi Caihui.
Further, in the present embodiment, after client connects upper barrage server according to preset strategy, it is also necessary to monitor The front and back operating status of default application program, the adjustment of barrage server connection is carried out according to operating status.Can specifically it lead to It crosses following steps realization: monitoring the operating status of default application program;If the operating status of default application program is transported by foreground Row state switches to background operation state, stops connection barrage server;If the operating status of default application program is by backstage Operating status switches to front stage operation state, reconnects barrage server.
Specifically, in the present embodiment, during completing the transmitting-receiving of barrage information after client connects upper barrage server, The operating status of default application program can be monitored, such as: it is spaced (such as 5 minutes, 10 minutes) at preset timed intervals and checks default answer Client continuation and the barrage service that connect if default application program be in front stage operation state with the operating status of program Device carries out the transmission of barrage information, if the operating status of default application program switches to running background shape by front stage operation state State, for live streaming application program, exiting backstage means that spectators can't see live streaming, while also can't see barrage, institute With client can stop connecting barrage server, will not go constantly to connect barrage server.And it is default using journey when detecting When sequence back switches to front stage operation, barrage server can be reconnected.
Further, in the present embodiment, a waiting time (such as 5 minutes, 10 minutes) can also be set, are answered when default When switching to running background with program, if the duration in running background reaches waiting time, client is interrupted to be taken with barrage Connection between business device, during the duration of default application program running background does not also reach the waiting time, client can be maintained With the connection between barrage server, in this way, when default application program switches back into front stage operation state within a short period of time, client End can receive and dispatch barrage information in time.After default application program is in the background operation state long period, client can be automatic Connection between interruption and barrage server causes to avoid in default application program running background due to connecting barrage server The problems such as additional heat, the CPU for occupying client and consuming electricity.It is cut again in the default application program of background operation state When shifting to front stage operation, if having interrupted the connection between client and barrage server in running background, at this point it is possible to directly The barrage server that the connection client last time is successfully connected, if it fails to connect, can be again according to based on domain name mapping Connection strategy, IP connection strategy of guaranteeing the minimum and HTTP connection strategy carry out the connection of barrage server, here, the application do not do it is superfluous It states.
It is described in detail below in such a way that preset strategy carries out the connection of barrage server, it may include following steps:
It is connected to gateway server;
Obtain the gateway server is sent first candidate barrage server list, the described first candidate barrage server It include the domain name addresses of at least one barrage server in list;
The barrage server in the described first candidate barrage server list is connected by the first preset strategy;
If the barrage server in the described first candidate barrage server list is all connected with failure, the second candidate bullet is obtained Curtain server list includes each barrage service at least one barrage server in the second candidate barrage server list The IP address and port numbers of device;
The barrage server in the described second candidate barrage server list is connected by the second preset strategy.
Specifically, in the present embodiment, since the barrage information content of live streaming application program is larger, and real-time is higher, Barrage server system includes multiple gateway servers and multiple barrage servers, and each gateway server connects multiple barrages Server.The default application program of client needs first to connect gateway server, then passes through when opening barrage function Gateway server reconnects barrage server.
Firstly, being connected to gateway server in the case where detecting that default application program opens barrage function.Gateway clothes The function that business device needs to complete is fewer, and network load is light, and same gateway server can support the connection of multiple client, It is relatively high that client connects into power for gateway server.It, can be from PHP when client connects gateway server (Hypertext Preprocessor, HyperText Preprocessor) server passes through HTTP (Hyper Text Transfer Protocol, hypertext transfer protocol) it requests to pull the IP list of candidate gateways server, PHP server can be according to the whole network In each gateway server connection client load situation, selection loads IP address and the port of fewer gateway server Form the IP list of candidate gateways server.As: determining that client connection amount is less than the IP of the gateway server of preset quantity Location and port numbers are added to the IP list of candidate gateways server.
Then, the IP list for the gateway server determined is issued in client by PHP server.Client is from PHP After server obtains the IP list of gateway server, using randomized policy, randomly chooses an IP every time and port is attached, If in connection, completing the Connection Step of gateway server, otherwise randomly choosed from the IP list of gateway server again Remaining IP and port are attached, until being successfully connected gateway server.
In turn, after connecting upper gateway server, client can send the of connection barrage server to gateway server One connection request, upon receiving the request, gateway server can be according to the load feelings of each barrage server for gateway server Condition and geographical location determine the barrage server in the first candidate barrage server list.Specifically, can be few by load And the barrage server close with client location be selected into the first candidate barrage server list.In view of each client institute The region being in, the present embodiment, which is provided firstly, to be parsed domain name (DNS) to determine by way of connecting barrage server The first candidate barrage server list in include at least one barrage server domain name addresses.Determining the first candidate bullet After curtain server list, gateway server sends it to client.
Client is after receiving the first candidate barrage server list, from the described first candidate barrage server list It successively randomly chooses a barrage server to be attached, until in successful connection or the first candidate barrage server list Barrage server be all connected with failure.
Wherein, described that a barrage server progress is successively randomly choosed from the described first candidate barrage server list Connection, comprising: successively randomly choose a barrage server from the described first candidate barrage server list, obtain random choosing The domain name addresses for the barrage server selected;Domain name address is parsed, with obtaining the IP of the randomly selected barrage server Location and port numbers;Based on the IP address and port numbers of the randomly selected barrage server, the randomly selected bullet is connected Curtain server.
Specifically, in the present embodiment, client is after receiving the first candidate barrage server list, in order to as far as possible Realization load balancing, client will use randomized policy to connect the barrage service in the first candidate barrage server list Device.It is attached specifically, can successively randomly choose a barrage server from the first candidate barrage server list, directly Barrage server into successful connection or the first candidate barrage server list is all connected with failure.
In the barrage server that connection is randomly selected, client obtains corresponding domain name addresses, passes through domain name Resolver parses IP address corresponding with the domain name addresses and port numbers, can based on the IP address and port numbers parsed, Corresponding barrage server is connected, in the present embodiment, a barrage server can be determined at random, then carry out domain name Address resolution is finally connected to corresponding barrage server based on the obtained IP address of parsing and port numbers.
Certainly, the method in the present embodiment, can also be directly by barrage all in the first candidate barrage server list The domain name addresses of server is parsed, and obtains the corresponding IP address of each barrage server in the list and port numbers, then It randomly chooses one group of IP address and port numbers is attached.In the specific implementation process, connection can be determined according to actual needs The mode of barrage server in first candidate barrage server list, here, the application is with no restrictions.
When client is successfully connected to a barrage server, client can carry out barrage with the barrage server of connection The interaction of information, if it fails to connect, client can be from the first candidate barrage server list in remaining barrage server Random selection one is attached, until successful connection.Cause client can not parse bullet due to being held as a hostage there are domain name addresses The IP address of curtain server, or the case where the IP address that gets does not connect barrage server yet, so, there is also clients The case where end is all connected with unsuccessfully for the barrage server in the first candidate barrage server list.
When client parses the barrage server in the first candidate barrage server list by way of domain name mapping IP address and port numbers after, the bullet in the first candidate barrage server list is connected with port numbers based on the IP address parsed Curtain server, if domain name is held as a hostage or other reasons cause client not connect the first candidate barrage server list In barrage server.At this time in order to ensure that client can connect upper barrage server as far as possible, client can will be connected The information of failure feeds back to gateway server, and gateway server is after receiving the feedback information, then again by gateway server It is secondary to issue the second candidate barrage server list to client, it include at least one bullet in the second candidate barrage server list The IP address and port numbers of each barrage server in curtain server.IP address and port numbers in this list are the IP company that guarantees the minimum Guarantee the minimum used in strategy IP address and port numbers are connect, to ensure that client can connect barrage server as far as possible.
Further, in the present embodiment, gateway server can loading condition according to each barrage server and port Occupancy situation determines the IP address and port numbers of the barrage server in the second candidate barrage server list.Specifically, can The second candidate barrage server list, the barrage server being selected into are selected into so that few and the port free time barrage server will be loaded Including its IP address and corresponding port numbers.In turn, client can be based on each barrage in the second candidate barrage server list The IP address and port numbers of server are connected to corresponding barrage server.Further, client can also be by the last time even The candidate barrage server list of the corresponding IP list the most second of the barrage server connect.
Further, when connecting the barrage server in the second candidate barrage server list, it can use but be not limited to Following two mode:
First way: successively randomly choosed from the described second candidate barrage server list a barrage server into Row connection, until successful connection.
Specifically, in the present embodiment, in order to enable each IP address of barrage server and port being capable of equally loadeds Randomized policy can be used also to connect the barrage server in the second candidate barrage server list in pressure, client.Specifically , one group of IP address and the port of a barrage server can be successively randomly choosed from the second candidate barrage server list It number is attached, until the barrage server in successful connection or the second candidate barrage server list is all connected with failure.
When client is successfully connected to a barrage server, client can carry out barrage with the barrage server of connection The interaction of information, if it fails to connect, client can be from the second candidate barrage server list in remaining barrage server Random selection one is attached, until successful connection.Barrage server is not connected due to there is the IP address got Situation, so, there is also the feelings that the barrage server that client is directed in the second candidate barrage server list is all connected with failure Condition.
The second way: by the barrage server in the described second candidate barrage server list by connecting into power by height To low sequence;By the barrage connected into the candidate barrage server list of power being sequentially connected with from high to low described second Server, until successful connection.
Specifically, in the present embodiment, client will record default application program and connect during opening barrage function often The history linkage record of a barrage server, including successful connection record and connection failure record.Such as: live streaming application program exists Barrage function, the record of the barrage server connected during watching the first direct broadcasting room every time, packet are opened in preset time range It includes: the record of IP address 1 that is successful in 24 hours nearest away from current time and unsuccessfully connecting barrage server 1, wherein Being successfully connected number is N1, and the number of failure connection is N2.Succeed in 24 hours nearest away from current time and unsuccessfully connects Connect the record of the IP address 2 of barrage server 2, wherein being successfully connected number is N3, and the number of failure connection is N4.Away from working as The record of success and the IP address 3 for unsuccessfully connecting barrage server 3 in nearest 24 hours of preceding moment, wherein be successfully connected Number is N5, and the number of failure connection is N6.
By history linkage record, it can determine that the success rate of client connection barrage server 1 is N1/ (N1+N2+ N3+N4+N5+N6), the success rate of client connection barrage server 2 is N3/ (N1+N2+N3+N4+N5+N6), client connection The success rate of barrage server 3 is N5/ (N1+N2+N3+N4+N5+N6).It is, of course, also possible to which otherwise definition connection is each The success rate of barrage server, such as: continue to continue to use above-mentioned example, the success rate for defining client connection barrage server 1 is N1-N2, the success rate that client connects barrage server 2 is N3-N4, and the success rate that client connects barrage server 3 is N5- N6.In the specific implementation process, the success rate that client connects each barrage server can be defined according to actual needs, This, the application is with no restrictions.
After client receives the second candidate barrage server list, client can be determined based on history linkage record The success rate of each barrage server in the candidate barrage server list of end connection second.And then by connecting into power from high to low Sequence, by connecting into the barrage server being sequentially connected in the second candidate barrage server list of power from high to low, Until successful connection.
Further, in the present embodiment, client can also according to last received candidate barrage server list come Carry out the connection of barrage server.Such as: for application program is broadcast live, live streaming application program is entered each according to client Between directly, with regard to carrying out the connection of a barrage server, exits direct broadcasting room and then disconnect.Method in the present embodiment, client When entering direct broadcasting room every time, (first is candidate for the candidate barrage server list that can also be issued from last time gateway server at end Barrage server list or the second candidate barrage server list) corresponding IP list random selection or by success rate from high to low Sequence be attached, the strategy of random connection strategy and the sequential connection by success rate from high to low as described above, here, The application repeats no more.For client, barrage server is connected every time, will record the information of the secondary connection, and record is each Whether IP address connection succeeds, and records failure if failure, records success if success.Client with connecting IP every time The record of location can be stored in client local, can also be uploaded to server end.
Due to there is the case where IP address got does not connect barrage server, so, there is also clients to be directed to The case where barrage server in second candidate barrage server list is all connected with unsuccessfully.
In the case that barrage server in the second candidate barrage server list is all connected with failure, in the present embodiment Barrage server connection method is additionally provided based on HTTP (HyperText Transfer Protocol, Hyper text transfer association View) barrage server connection strategy, so, if the barrage server in the second candidate barrage server list connects Failure is connect, the method also includes: barrage server of the connection based on http protocol.
Specifically, including multiple barrage servers in barrage server system, due to being based on TCP/IP in the present embodiment The server connection speed of agreement is very fast, and client can quickly connect barrage server, so, most barrage server For the server based on ICP/IP protocol, the barrage server for having fraction is the server based on http protocol.Such as: barrage It include 90 barrage servers based on ICP/IP protocol, the barrage service comprising 10 based on http protocol in server system Device.
Further, the hyperlink address of the barrage server based on http protocol client-based can request to pass through net It closes server and is issued to client, such as: mistake is all connected with for the barrage server in the second candidate barrage list in client In the case where losing, feedback link failure information to gateway server, gateway server issues after receiving connection failure information The hyperlink address of barrage server based on http protocol is to the client.
Meanwhile the hyperlink address of the barrage server based on http protocol can also be issued to each visitor of the whole network in advance Family end, such as: its corresponding hyperlink address is just sent to the whole network when building the barrage server based on http protocol Client.Each client locally saves the hyperlink address of the barrage server based on http protocol, in client needle In the case where being all connected with failure to the barrage server in the second candidate barrage list, obtain locally save based on http protocol Barrage server hyperlink address, then corresponding barrage based on http protocol is connected to by hyperlink address and is taken Business device.It supports to send and receive barrage by way of HTTP, thus equal mentioned by domain name mapping and IP strategy of guaranteeing the minimum When not connecting barrage server, it is also based on the barrage server based on http protocol in http protocol connection, to ensure Client can be successfully connected to barrage server, send and receive barrage information.
In the present embodiment, when connecting the barrage server based on http protocol, it can use but be not limited to following two Kind mode:
First way: a barrage server is successively randomly choosed from the barrage server based on http protocol and is carried out Connection based on http protocol, until successful connection.
Specifically, in the present embodiment, in order to enable each barrage server based on http protocol of barrage server Can equally loaded pressure, randomized policy can be used also to connect the barrage server based on http protocol in client.Specifically , a barrage server can be successively randomly choosed from the barrage server based on http protocol and is attached, until even It is connected into function.In the present embodiment, the barrage server based on http protocol can also set maximum number of connections, if client is asked It asks when connecting barrage server based on http protocol, if the client terminal quantity that the barrage server currently connects be to set Maximum number of connections, then the barrage server can refuse the connection request of client, and client is assisted from remaining based on HTTP again The barrage server of view randomly chooses one and is attached, until successful connection.
The second way: the client terminal quantity of each barrage server connection based on http protocol is obtained;The company of determining The least barrage server of the client terminal quantity connect;Based on http protocol, the least bullet of client terminal quantity of the connection is connected Curtain server.
Specifically, in the present embodiment, the hyperlink address of the barrage server based on http protocol is based on client In the case that the request at end is issued to client by gateway server, gateway server can also issue each based on http protocol The client terminal quantity that is connected at current time of barrage server, in this way, knowing each bullet based on http protocol in client Curtain server is after the client terminal quantity that current time connects, it may be determined that the least barrage service of the client terminal quantity connected out Device, then it is based on http protocol, connect the barrage server.In this way, can be further improved client connection barrage server Success rate and connection speed improve user experience.
Further, in the present embodiment, since client connects gateway server and barrage server is all based on ICP/IP protocol, due to the characteristic of TCP/IP, anyone once knows the IP address and port numbers of server, can be connected It connects.The malicious attack of illegal client in order to prevent, improves the safety of barrage server system, the method in the present embodiment, In client connection barrage server process, need to authenticate the identity of client, specifically, barrage server system Including multiple gateway servers and multiple barrage servers, by previous embodiment content and it is found that client in connection bullet In curtain server process, line is needed to be connected to gateway server, corresponding barrage is then then connected to by gateway server and is taken Business device.So being required to authenticate client identity when connecting gateway server and barrage server, authentication process is such as Under:
Gateway server obtains client is sent the in the case where receiving the first connection request of client transmission One information to be verified and the first identity information;
The first identity information of gateway server base and the first preset-key generate the first verification information;
If the first information to be verified is matched with the first verification information, gateway server responds the first connection request, establishes With the connection of client, barrage server info to be connected is sent to client;
Barrage information server obtains client and sends in the case where receiving the second connection request of client transmission The second information to be verified and the second identity information, wherein barrage server be client based on barrage server to be connected Information determines that the barrage server of connection, the second connection request are to connect the company sent after upper gateway server to barrage server Connect request;
Barrage server is based on the second identity information and the second preset-key, generates the second verification information;
If the second information to be verified is matched with the second verification information, barrage server responds the second connection request.
Specifically, in the present embodiment, client is in the case where detecting that default application program opens barrage function, visitor Family end when determining the gateway server being connected to by the mode in previous embodiment, sent to the gateway server the One connection request, the first information to be verified and the first identity information.If client is legitimate client, which can be preparatory The first key that gateway server is sent in advance is received, and then is based on first key and the first identity information, which can It generates the first information to be verified to verify for gateway server, in the present embodiment, the first identity information includes the version of the client This number information, client type information, client device identification and send first time of first connection request and stab letter Any one or more in breath combines.
Client has version number information version, the client type information of client when connecting gateway server Clienttype, the unique ID of equipment (i.e. device identification) of client, the timestamp information time that currently connects.By these information Be spliced together the KEY value for calculating its MD5 value again after encryption to be authenticated, which is the first letter to be verified Breath.This KEY value depends on time and client-side information, so the value that each client each moment calculates is variation , to improve its threshold being forged.It is implemented as follows:
By order encryptData1=AES.encrypt (version+clienttype+ID+time1, Aeskey1 the first encryption data) is generated, wherein AES.encrypt is then AES (Advanced Encryption Standard, Advanced Encryption Standard) Encryption Algorithm interface, aeskey1 is then the key value used using AES encryption algorithm, i.e., The first key of legitimate client, gateway server and legitimate client is sent in advance for gateway server to use similarly Value.Encrypted encryptData1 is finally obtained as a result, the encryptData1 is that client is generated using AES encryption algorithm The first encryption data.
Then, the first information to be verified, above-mentioned life are generated by order Key1=Md5.Create (encryptData1) It enables by calling MD5 algorithm to obtain the first information Key1 to be verified.
Client can carry and the first information Key1 to be verified and the first identity is reported to believe when connecting gateway server Breath.Gateway server is after receiving the information that the client reports, in the same way, based on the first identity information and the One key generates the first verification information Key2 using same Encryption Algorithm.Above-mentioned example is continued to use, gateway server is also based on visitor The version number information version at family end, client type information clienttype, client equipment unique ID (i.e. equipment mark Know), the timestamp information time1 that currently connects, the first encryption data is generated using AES encryption algorithm, then passes through md5 encryption Algorithm calculates the first verification information Key2.
In turn, if client is legitimate client, the first verification information Key2 and legal visitor that gateway server generates The first information Key2 to be verified that family end reports is consistent, successful match can be determined, in this way, client can pass through gateway service The verifying of device, the connection request at gateway server customer in response end establish the connection with client.Gateway server can be to visitor Family end sends barrage server info to be connected, for example the first candidate barrage server list and the are sent in previous embodiment The process of two candidate barrage server lists, here, the application does not repeat them here.
Further, barrage service is connected by the barrage server info to be connected that gateway server is sent in client When device, the barrage server being connected to also needs further to verify the client.Detailed process and gateway server Authentication process is similar.
Specifically, client in the barrage server for determining to be connected to, passes through order encryptData2= AES.encrypt (version+clienttype+ID+time2, aeskey2) generates the second encryption data, wherein AES.encrypt is then the interface of AES encryption algorithm, and aeskey2 is then the key value used using AES encryption algorithm, as bullet Curtain server is sent to the second key of legitimate client, barrage server and legitimate client in advance and uses same value.Most Obtain encrypted encryptData2 eventually as a result, the encryptData2 be client generated using AES encryption algorithm the Two encryption datas.
Then, the second information to be verified, above-mentioned life are generated by order Key3=Md5.Create (encryptData2) It enables by calling MD5 algorithm to obtain the second information Key3 to be verified.
Client can carry and the second information Key3 to be verified and the second identity is reported to believe when connecting gateway server Breath.Barrage server is after receiving the information that the client reports, in the same way, based on the second identity information and the Two keys generate the second verification information Key4 using same Encryption Algorithm.Above-mentioned example is continued to use, barrage server is also based on visitor The version number information version at family end, client type information clienttype, client equipment unique ID (i.e. equipment mark Know), the timestamp information time2 that currently connects, the second encryption data is generated using AES encryption algorithm, then passes through md5 encryption Algorithm calculates the second verification information Key4.
In turn, if client is legitimate client, the second verification information Key4 and legal visitor that barrage server generates The second information Key3 to be verified that family end reports is consistent, can determine successful match, in this way, client can pass through barrage service The verifying of device, the connection request at barrage server customer in response end establish the connection with client.
Further, in the present embodiment, in order to improve the speed that client is successfully connected barrage server, in the present embodiment Method, default application program be live streaming platform in the case where, when connecting barrage server, can also include the following steps:
Detecting that the live streaming platform opens barrage function and the live streaming platform is when entering the first direct broadcasting room, It is connected to gateway server;
Obtain the gateway server is sent first candidate barrage server list;
Obtain barrage Server history linkage record corresponding with first direct broadcasting room, wherein the barrage server History linkage record includes connecting bullet during the live streaming platform enters first direct broadcasting room in the first preset time range The record of curtain server;
Based on the barrage Server history linkage record, by the candidate barrage server column of preset strategy connection described first Barrage server in table.
Specifically, in the present embodiment, several situations can trigger the barrage server of client connection below: the first, After platform starting is broadcast live, if live streaming platform opens barrage function, user clicks to enter the first direct broadcasting room at this time, can trigger client End connection barrage server.Second, after live streaming platform starting, user clicks to enter the first direct broadcasting room, and user is in viewing first Barrage function is opened during direct broadcasting room, can trigger client connection barrage server.
In turn, client is when connecting barrage server, it is necessary first to be connected to gateway server, connect gateway server Process elaborate in the aforementioned embodiment, here, the application does not repeat them here.
Further, in the present embodiment, before client is connected to gateway server, the live streaming platform every time into Enter under the first direct broadcasting room connection barrage server conditions, if successful connection, records corresponding with first direct broadcasting room The successful connection of the barrage server records, if it fails to connect, the record barrage corresponding with first direct broadcasting room The connection failure of server records, to form barrage Server history linkage record corresponding with first direct broadcasting room.
Specifically, client will record the note that live streaming platform enters first direct broadcasting room connection barrage server every time Record, including successful connection record and connection failure record.Platform is broadcast live when opening barrage function, it is straight to enter first every time Barrage server can be connected between broadcasting, and according to aforementioned barrage server connection type, barrage service can be selected from candidate list Device is attached, until successful connection.Such as: it is successfully connected barrage server 1 when entering the first direct broadcasting room at the moment 1, can be remembered Record the record that this time is successfully connected, ID including the first direct broadcasting room, be successfully connected mark (for showing the secondary successful connection, can To be indicated with " 1 "), be successfully connected consumed duration, connection the moment, successful connection barrage server ID, IP address and end The information such as slogan.When entering the first direct broadcasting room at the moment 2, connection barrage server 2 fails, and will record the note of this time failure connection Record, ID including the first direct broadcasting room, failure connection identifier (for showing the secondary connection failure, can be indicated with " 0 "), when connecting It carves, the information such as barrage server ID, IP address and the port numbers of connection failure.In this manner it is possible to be formed and the first direct broadcasting room pair The barrage Server history linkage record answered.
It in turn, can be from barrage service corresponding with the first direct broadcasting room after receiving the first candidate barrage server list The note that barrage server is connected during entering the first direct broadcasting room in the first preset time range is filtered out in device history linkage record Record.Such as: it filters out and connects away from the barrage Server history corresponding with the first direct broadcasting room in immediate 24 hours of current time Connect record.Based on the mode of above-mentioned record, result can be quickly screened with the moment is connect based on the first direct broadcasting room ID.
In turn, can based in the first preset time range enter the first direct broadcasting room during connect barrage server record, The barrage server in the described first candidate barrage server list is connected by preset strategy, it specifically can be real as follows It is existing:
Based on the barrage Server history linkage record, each bullet in the described first candidate barrage server list is obtained Curtain server successful connection record and connection failure in first preset time range record;
Based on each barrage server in the described first candidate barrage server list in first preset time range Interior successful connection record and connection failure record, and obtain each barrage server connects into power;
By the barrage server in the candidate barrage server list of sequential connection described first of success rate from high to low, directly To successful connection.
Specifically, the first candidate barrage server list includes multiple barrage servers, connected based on barrage Server history Record is connect, each barrage server in the first candidate barrage server list can be obtained and connected in the first preset time range Success is recorded to be recorded with connection failure.Such as: the first candidate barrage server list includes barrage server 1, barrage server 2 With barrage server 3, it is based on barrage Server history linkage record, can get in 24 hours nearest away from current time and straight Between broadcasting 1 corresponding success and unsuccessfully connect barrage server 1 IP address 1 record, wherein be successfully connected number be N1, The number of failure connection is N2.It success corresponding with direct broadcasting room 1 and is unsuccessfully connected in 24 hours nearest away from current time The record of the IP address 2 of barrage server 2, wherein being successfully connected number is N3, and the number of failure connection is N4.Away from current The record of success corresponding with direct broadcasting room 1 and the IP address 3 for unsuccessfully connecting barrage server 3 in moment nearest 24 hours, Wherein, being successfully connected number is N5, and the number of failure connection is N6.
By history linkage record, it can determine that the success rate of client connection barrage server 1 is N1/ (N1+N2+ N3+N4+N5+N6), the success rate of client connection barrage server 2 is N3/ (N1+N2+N3+N4+N5+N6), client connection The success rate of barrage server 3 is N5/ (N1+N2+N3+N4+N5+N6).It is, of course, also possible to which otherwise definition connection is each The success rate of barrage server, such as: continue to continue to use above-mentioned example, the success rate for defining client connection barrage server 1 is N1-N2, the success rate that client connects barrage server 2 is N3-N4, and the success rate that client connects barrage server 3 is N5- N6.In the specific implementation process, the success rate that client connects each barrage server can be defined according to actual needs, This, the application is with no restrictions.In turn, it can sort from high to low by power is connected into, by connecting into the sequence of power from high to low The barrage server being sequentially connected in the first candidate barrage server list, until successful connection.
Since include in the first candidate barrage server list is domain name addresses, before the method in the present embodiment can be used The mode for stating domain name mapping is attached, such as: continue to continue to use above-mentioned example, if what success rate arranged from high to low is barrage Server 1, barrage server 3, barrage server 2.Barrage server 1 is connected first, parses IP corresponding with barrage server 1 Address and port numbers, are then based on the IP address parsed and port numbers are attached.In barrage 1 connection failure of server, Barrage server 3 is reconnected, in barrage 3 connection failure of server, reconnects barrage server 2.
Further, if the barrage server in the first candidate barrage server list is all connected with failure, such as aforementioned implementation It is found that gateway server can also issue the second barrage server list in example, including guarantee the minimum IP address and port numbers.Equally, objective Family end can call the barrage server linkage record in the second preset time range corresponding with the first direct broadcasting room, be based on the note Record, determine the second each barrage server of barrage server list kind connect into power, finally from high to low by success rate The barrage server being linked in sequence in the second candidate barrage server list, until successful connection.
Such as: the second candidate barrage server list includes barrage server 1, barrage server 5 and barrage server 7, Based on barrage Server history linkage record, can get in 24 hours nearest away from current time it is corresponding with direct broadcasting room 1 at Function and the unsuccessfully record of the IP address 1 of connection barrage server 1, wherein being successfully connected number is N11, time of failure connection Number is N12.Success corresponding with direct broadcasting room 1 and barrage server 5 is unsuccessfully connected in 24 hours nearest away from current time IP address 5 record, wherein be successfully connected number be N31, failure connection number be N41.Nearest away from current time In 24 hours success corresponding with direct broadcasting room 1 and unsuccessfully connect barrage server 7 IP address 7 record, wherein successfully connect Connecing number is N51, and the number of failure connection is N61.
By history linkage record, it can determine that the success rate of client connection barrage server 1 is N11/ (N11+ N21+N31+N41+N51+N61), the success rate of client connection barrage server 5 is N31/ (N11+N21+N31+N41+N51+ N61), the success rate of client connection barrage server 6 is N51/ (N11+N21+N31+N41+N51+N61).It is, of course, also possible to Otherwise definition connects the success rate of each barrage server, such as: continue to continue to use above-mentioned example, defines client connection The success rate of barrage server 1 is N11-N21, and the success rate that client connects barrage server 5 is N31-N41, and client connects The success rate for connecing barrage server 7 is N51-N61.In the specific implementation process, client connect each barrage server at Power can be defined according to actual needs, here, the application is with no restrictions.In turn, it can be arranged from high to low by power is connected into Sequence, by the barrage server being sequentially connected in the second candidate barrage server list of power from high to low is connected into, directly To successful connection.
Continue to continue to use above-mentioned example, if what success rate arranged from high to low is barrage server 1, barrage server 5, bullet Curtain server 7.Barrage server 1 is connected first, in barrage 1 connection failure of server, barrage server 5 is reconnected, in bullet When curtain 5 connection failure of server, barrage server 7 is reconnected.
It further, can be with if the barrage server in the second candidate barrage server list is all connected with failure Connect the barrage server based on http protocol.The mode of the barrage server based on http protocol is connected in previous embodiment Middle detailed description, here, the application does not repeat them here.
Further, in the present embodiment, it is live streaming platform in default application program, live streaming platform can also be entered in user When predict that the direct broadcasting room that the user may enter connects corresponding barrage clothes in turn in advance before entering the direct broadcasting room Business device, in this way, the transmitting-receiving of barrage information can be carried out in time when entering direct broadcasting room.Specifically, can be achieved by the steps of:
When detecting that live streaming platform and the live streaming platform described in the client terminal start-up open barrage function, obtain Take at least one direct broadcasting room for logging in user's concern of the live streaming platform;
The first direct broadcasting room is determined from least one described direct broadcasting room, is obtained and corresponding the first of first direct broadcasting room Candidate barrage server list;
The barrage server in the described first candidate barrage server list is connected by preset strategy, so that the live streaming Platform is successfully connected barrage server before entering first direct broadcasting room.
Specifically, in the present embodiment, user is to enter live streaming to put down first after logging in live streaming platform by account number cipher The function of tonic chord interface of platform is broadcast live at this point, client can get at least one direct broadcasting room of user concern since user pays close attention to Between, show that user is interested in the live video of the direct broadcasting room, so, user can very likely enter the direct broadcasting room of concern.By This, client can watch the information of record or direct broadcasting room based on the history of user, determine that a user most likely enters The first direct broadcasting room, specifically, determine the first direct broadcasting room mode can be achieved through the following methods:
The first: obtaining the corresponding live streaming time of each direct broadcasting room at least one described direct broadcasting room;From described at least one Determine live streaming time interval current time immediate direct broadcasting room as the first direct broadcasting room in a direct broadcasting room.
Specifically, in the present embodiment, after client gets multiple direct broadcasting rooms of user's concern, due to each live streaming Between usually there is fixed play time, so, can be from user when determining the first direct broadcasting room that user most likely enters Concern multiple direct broadcasting rooms in determine play time away from current time closest to direct broadcasting room be the first direct broadcasting room.Further, such as The play time for the first direct broadcasting room that fruit is determined is greater than (such as 10 points of prefixed time interval away from the time interval at current time Clock, 20 minutes etc.), the strategy for connecting barrage server in advance can be abandoned at this time, only when the broadcasting for the first direct broadcasting room determined The time interval at time interval current time is less than or equal to prefixed time interval, can just execute subsequent step.
Second: obtaining the history viewing note that the user in preset time range watches at least one direct broadcasting room Record;It is watched and being recorded based on the history, the most direct broadcasting room conduct of watched time is determined from least one described direct broadcasting room First direct broadcasting room.
Specifically, in the present embodiment, after client gets multiple direct broadcasting rooms of user's concern, can check pre- If the history that user watches multiple direct broadcasting rooms of concern in time range watches record, such as: immediate away from current time The record of multiple direct broadcasting rooms of viewing concern in one week can determine viewing time from multiple direct broadcasting rooms that user pays close attention in turn The most direct broadcasting room of number is as the first direct broadcasting room.Further, if it is determined that go out the first direct broadcasting room play time away from it is current when The time interval at quarter is greater than prefixed time interval (such as 10 minutes, 20 minutes etc.), at this point it is possible to pick out watched time by more At least sequence heel row second direct broadcasting room as the first direct broadcasting room, if the play time for the first direct broadcasting room determined at this time Time interval away from current time is less than or equal to prefixed time interval, and the first direct broadcasting room for determining that this time is determined is errorless, holds Row subsequent step.
Further, after determining the first direct broadcasting room, gateway clothes can be first connected in the way of in previous embodiment Business device, then barrage server is connected to by gateway server.The first candidate barrage server list is issued in gateway server When, need the barrage server in the first candidate barrage server list corresponding with the first direct broadcasting room, specifically, each direct broadcasting room There is the barrage server that can be connected to, client, can be by the first direct broadcasting room when sending connection request to gateway server Identification information is sent to gateway server, and gateway server can quickly be determined therewith according to the identification information of the first direct broadcasting room Corresponding first candidate barrage server list.Similarly, when the first candidate barrage server list is all connected with unsuccessfully, gateway clothes Business device can also the identification information based on the first direct broadcasting room quickly determine the corresponding second candidate barrage server list.Into And barrage server is connected using any way in previous embodiment.
Further, in the present embodiment, history linkage record is also based on to be attached, such as: it can determine The barrage server that first direct broadcasting room corresponding the last time is successfully connected is attached, or the first live streaming out of nearest one week Between determine that being successfully connected the most barrage server of number is attached in corresponding barrage server linkage record, specific In implementation process, the strategy of connection can be formulated according to actual needs, here, the application is with no restrictions.Since client is straight It broadcasts platform and has been pre-attached to corresponding barrage server before into the first direct broadcasting room, when actually entering the first direct broadcasting room, Barrage information can be shown in time and sends barrage information.
In the present embodiment, the method for barrage server maintenance is additionally provided, above-mentioned barrage server system, packet are applied to It includes:
It obtains each client in multiple client and connects the barrage server connection letter fed back when barrage server every time Breath;
Each barrage server is in preset time range in the multiple barrage server of interval stats at preset timed intervals Link information;
Link information based on each barrage server in preset time range, from the multiple barrage server In determine invalid barrage server;
The invalid barrage server is repaired.
Specifically, in the present embodiment, client will do it barrage server company in connection barrage server every time Record is connect, such as: if client is successfully connected barrage server, it will record the record that this time is successfully connected, including client ID, be successfully connected mark (for showing the secondary successful connection, can indicate with " 1 "), be successfully connected consumed duration, company The information such as barrage server ID, IP address and port numbers at moment, successful connection are connect, if default application program is live streaming application Program also will record the ID of direct broadcasting room locating at this time.If client connects barrage server failure, the secondary failure will record The record of connection, ID, failure connection identifier (for showing the secondary connection failure, can be indicated with " 0 ") including client, company The information such as barrage server ID, IP address and port numbers at moment, connection failure are connect, if default application program is live streaming application Program also will record the ID of direct broadcasting room locating at this time.
In turn, each client of the whole network carries out barrage server linkage record in connection barrage server every time, and Record is stored in local and is uploaded to barrage server system, can be all barrage clothes in barrage server system under the overall leadership The information collecting device of business device, client can pass through HTTP request and carry barrage server link information.In turn, when information is collected After equipment receives the link information that each client reports, each connection is sorted out to corresponding barrage server, such as: visitor Family end 1 is successfully connected barrage at the moment 2 in be successfully connected record 1 and the client 2 that the moment 1 is successfully connected barrage server 1 Server 1 is successfully connected record 2, then will be successfully connected record 1 and sort out with record 2 is successfully connected to the company of barrage server 1 Connect record.In this way, barrage server system can form the linkage record of each barrage server.
In turn, the method in the present embodiment can be spaced (1 hour, 3 hours, 5 hours etc.) statistics pre- at preset timed intervals If the link information of each barrage server in time range, including each barrage server in the preset time range Successful connection number and connection failure number, such as: it is each in away from current time immediate 5 hours every 5 hours statistics The corresponding successful connection number of barrage server and connection failure number.
It in turn, can be based on the link information of each barrage server in preset time range, from the multiple Invalid barrage server is determined in barrage server, specifically, can be achieved by the steps of:
Successful connection number and connection failure number based on each barrage server in the preset time range, really Fixed each barrage server connects into power;Determine that connecting into power to be less than the default barrage server for connecting into power is nothing Imitate barrage server.
Specifically, in the present embodiment, it is secondary in each barrage server of acquisition being successfully connected in preset time range Number with unsuccessfully connect number after, that is, can determine each barrage server connects into power, specifically, connecting into power is successfully Connection number and the quotient that always connect number, always connection number for be successfully connected number with unsuccessfully connect the sum of number.Such as: barrage The number that is successfully connected of server 1 in preset time range is N1, and unsuccessfully connecting number is N2, the connection of barrage server 1 Success rate is N1/ (N1+N2).It is, of course, also possible to power be connected into using other modes to define, here, the application does not limit System.
In turn, after determining that each barrage server is corresponding and connecting into power, that is, it can determine that successful connection rate is less than The default barrage server for connecting into power is invalid barrage server.Specifically, in the present embodiment, prefixed time interval, Preset time unit and it is default connect into power and can be set according to actual needs, here, the application is with no restrictions.
Further, in originally implementing, invalid barrage server can also be determined by other means, such as: the company of determination The barrage server that the number of continuous failure connection is greater than preset times is invalid barrage server.Determine invalid barrage server Mode can be set according to actual needs, and the application is with no restrictions.
In turn, after determining invalid barrage server, barrage server system can also be taken the invalid barrage determined The mark of business device is sent to each client, so that client shields invalid barrage server when connecting barrage server, Effective barrage server is only connected, the speed of connection is improved.
Further, client is in the relevant information that locally also will record each barrage server connection, if being directed to first Barrage server connects into power and is less than default success rate, or continuous unsuccessfully connection number is greater than preset times, and client also can Confirm that the first barrage server is invalid barrage server, then, client can directly be reported to barrage server system First barrage server be invalid barrage server information, barrage server system upon receiving this information, by the first bullet Curtain server is determined as invalid barrage server.Client when being attached, can also shield the first barrage server.
In turn, after determining invalid barrage server through the above way, barrage server system can also repair invalid bullet Curtain server, specifically, repairing corresponding domain name addresses, IP address and port etc..After the completion of reparation, invalid barrage can be taken The related barrage link information of business device is initialized, also, can be issued a notice to client, so that after client will repair Invalid barrage server relative recording initialization, in subsequent connection, i.e., without shield repair after barrage server.
Further, due to carry out barrage server connection when, such as previous embodiment it is found that gateway server needs connecing Candidate barrage server list, including the first candidate barrage server list and second are sent after receiving the connection request of client Candidate barrage server list, when determining the barrage server in candidate barrage server list, due to being directed to each barrage It further include connection duration when server is successfully connected barrage server every time, in corresponding barrage server link information, in order to Client is enabled quickly to connect barrage server, so, the method in the present embodiment can also in the following way really Barrage server in fixed candidate's barrage device server list:
Connection duration when based on each connection of each barrage server in the preset time range, determines successfully Connect the average connection duration of the barrage server;When receiving the connection request of client connection barrage server, Average connection duration based on each barrage server determines candidate's barrage device server list;The candidate barrage device is taken Business device list is sent to the client, so that the client, which is based on the candidate barrage device server, connects barrage service Device.
Wherein, the average connection duration based on each barrage server determines candidate's barrage device server list, packet It includes: determining that averagely connection duration is less than the barrage server of preset duration for the server in candidate barrage device server list.
Specifically, in the present embodiment, when client is successfully connected barrage server every time, having corresponding connection letter Breath, including being successfully connected to connection duration used in barrage server, so, barrage server system can obtain when default Between in range each barrage server be successfully connected and corresponding averagely connect duration.Such as: in 1 hour, 1 success of client Connect the when a length of T1 of barrage server 1, client 2 is successfully connected the when a length of T2 of barrage server 1, and client 3 successfully connects The when a length of T3 for connecing barrage server 1, then in 1 hour, for barrage server 1 average connection when a length of (T1+T2+ T3)/3.In turn, when determining candidate barrage device server list, the barrage that averagely connection duration is less than preset duration may be selected Server is the server in candidate barrage device server list.Certainly, it when determining candidate barrage device server list, also needs Comprehensively consider the loading condition and port occupancy situation or other information of barrage server, in the specific implementation process, Determine that the mode of candidate's barrage device server list can be set according to actual needs, the application is with no restrictions herein.
In turn, barrage server system sends it to client for after the candidate barrage device server list determined, Client carries out the connection of barrage server based on the candidate barrage device server list received, and specific implementation is aforementioned It is elaborated in embodiment, the application is with no restrictions herein.
Fig. 2 is referred to, the second embodiment of the present invention provides a kind of client, comprising:
Detection unit 201, described in the case where detecting that default application program opens barrage function, detection is obtained The current network connection status of client;
Connection unit 202, if being in default network connection state for the current network connection status, by default plan Slightly connect barrage server, wherein the default network connection state is Wireless LAN connection status or wireless wide area network Network connection status;If the current network connection status is in non-default network connection state, stop connection barrage server.
Optionally, the connection unit is used for:
If the current network connection status is in radio wide area network connection status, output prompt information is for reminding Whether confirmation connects barrage server;
If receiving the confirmation message for the prompt information, barrage server is connected by preset strategy
Optionally, the connection unit connects barrage server by preset strategy, is specifically used for:
It is connected to gateway server;
Obtain the gateway server is sent first candidate barrage server list, the described first candidate barrage server It include the domain name addresses of at least one barrage server in list;
Connect the barrage server in the described first candidate barrage server list;
If the barrage server in the described first candidate barrage server list is all connected with failure, the gateway clothes are received It is engaged in the second candidate barrage server list that device sends, includes at least one barrage in the described second candidate barrage server list The IP address of each barrage server and port in server;
Connect the barrage server in the described second candidate barrage server list.
Optionally, the connection unit is used for:
After the barrage server in the candidate barrage server list of the connection described second, if described second waits It selects the barrage server in barrage server list to be all connected with failure, connects the barrage server based on http protocol.
Optionally, the connection unit is used for:
After the connection barrage server by preset strategy, if detecting the network connection state of the client The non-default network connection state is changed to by the default network connection state, stops connection barrage server.
Optionally, the connection unit is used for:
After the connection barrage server by preset strategy, the operating status of the default application program is monitored;
If the operating status of the default application program switches to background operation state by front stage operation state, stop connecting Connect barrage server;
If the operating status of the default application program switches to the front stage operation shape by the background operation state State reconnects barrage server.
Fig. 3 is referred to, the third embodiment of the present invention provides a kind of client, comprising: processor 301, memory 302 And store the computer program that can be run in the memory and on the processor, such as barrage in first embodiment The corresponding program of server connection method.The processor realizes that above-mentioned first embodiment is hit by a bullet when executing the computer program Each step in curtain server connection method.Alternatively, the processor realizes that above-mentioned third is real when executing the computer program Apply the function of each module/unit in the client of example.
Illustratively, the computer program can be divided into one or more module/units, one or more A module/unit is stored in the memory, and is executed by the processor, to complete the present invention.It is one or more A module/unit can be the series of computation machine program instruction section that can complete specific function, and the instruction segment is for describing institute State implementation procedure of the computer program in the computer installation.
The server may include, but be not limited only to, processor, memory.It will be understood by those skilled in the art that described Schematic diagram 3 is only the example of computer installation, does not constitute the restriction to server, may include more more or less than illustrating Component, perhaps combine certain components or different components, for example, the server can also include input-output equipment, Network access equipment, bus etc..
Alleged processor 301 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng the processor is the control centre of the computer installation, utilizes various interfaces and the entire computer installation of connection Various pieces.
The memory 302 can be used for storing the computer program and/or module, and the processor is by operation or holds Row stores computer program and/or module in the memory, and calls the data being stored in memory, realizes institute State the various functions of computer installation.The memory can mainly include storing program area and storage data area, wherein storage journey It sequence area can application program needed for storage program area, at least one function (such as sound-playing function, image player function Deng) etc.;Storage data area, which can be stored, uses created data (such as audio data, video data etc.) etc. according to mobile phone. Can also include nonvolatile memory in addition, memory may include high-speed random access memory, for example, hard disk, memory, Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge Deposit card (Flash Card), at least one disk memory, flush memory device or other volatile solid-state parts.
Fourth embodiment of the invention provides a kind of computer readable storage medium, is stored thereon with computer program, this If the functional unit that the client in invention 3rd embodiment integrates is realized in the form of SFU software functional unit and conduct Independent product when selling or using, can store in a computer readable storage medium.Based on this understanding, originally The all or part of the process in the barrage server connection method in above-mentioned first embodiment is realized in invention, can also pass through calculating Machine program is completed to instruct relevant hardware, and the computer program can be stored in a computer readable storage medium, The computer program is when being executed by processor, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer journey Sequence includes computer program code, and the computer program code can be source code form, object identification code form, executable text Part or certain intermediate forms etc..The computer-readable medium may include: that can carry appointing for the computer program code What entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunications letter Number and software distribution medium etc..It should be noted that the content that the computer-readable medium includes can be managed according to the administration of justice Local legislation and the requirement of patent practice carry out increase and decrease appropriate, such as in certain jurisdictions, according to legislation and patent Practice, computer-readable medium does not include electric carrier signal and telecommunication signal.
In the technical solution of the embodiment of the present invention, since client is detecting default application program unlatching barrage function In the case where firstly the need of detection obtain client current network connection status;If current network connection status is in wireless It, just can be by preset strategy in the case of the default network connection state of local area network connection status or radio wide area network connection status Barrage server is connected, if current network connection status is in non-default network connection state, stops connection barrage server. In this way, client, which is in non-default network connection state in network state, will not attempt connection barrage server, can effectively subtract CPU usage, the electricity of consumption and the heat of generation of few client.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (10)

1. a kind of barrage server connection method is applied to client characterized by comprising
In the case where detecting that default application program opens barrage function, detection obtains the current network connection of the client State;
If the current network connection status is in default network connection state, barrage server is connected by preset strategy, In, the default network connection state is Wireless LAN connection status or radio wide area network connection status;
If the current network connection status is in non-default network connection state, stop connection barrage server.
2. the method as described in claim 1, which is characterized in that if the current network connection status is in wireless wide Domain network connection state connects barrage server by preset strategy, comprising:
If the current network connection status is in radio wide area network connection status, whether output prompt information is used for prompting Confirmation connection barrage server;
If receiving the confirmation message for the prompt information, barrage server is connected by preset strategy.
3. the method as described in claim 1, which is characterized in that described to connect barrage server by preset strategy, comprising:
It is connected to gateway server;
Obtain the gateway server is sent first candidate barrage server list, the described first candidate barrage server list In include at least one barrage server domain name addresses;
Connect the barrage server in the described first candidate barrage server list;
If the barrage server in the described first candidate barrage server list is all connected with failure, the gateway server is received The candidate barrage server list of second sent includes at least one barrage service in the described second candidate barrage server list The IP address of each barrage server and port in device;
Connect the barrage server in the described second candidate barrage server list.
4. method as claimed in claim 3, which is characterized in that in the candidate barrage server list of the connection described second Barrage server after, the method also includes:
If the barrage server in the described second candidate barrage server list is all connected with failure, connect based on http protocol Barrage server.
5. the method as described in claim 1, which is characterized in that after the connection barrage server by preset strategy, institute State method further include:
If it is described non-default to detect that the network connection state of the client is changed to by the default network connection state Network connection state stops connection barrage server.
6. the method as described in claim 1, which is characterized in that after the connection barrage server by preset strategy, institute State method further include:
Monitor the operating status of the default application program;
If the operating status of the default application program switches to background operation state by front stage operation state, stop connection bullet Curtain server;
If the operating status of the default application program switches to the front stage operation state by the background operation state, weight New connection barrage server.
7. a kind of client characterized by comprising
Detection unit, in the case where detecting that default application program opens barrage function, detection to obtain the client Current network connection status;
Connection unit is connected if being in default network connection state for the current network connection status by preset strategy Barrage server, wherein the default network connection state is that Wireless LAN connection status or radio wide area network connect State;If the current network connection status is in non-default network connection state, stop connection barrage server.
8. client as claimed in claim 7, which is characterized in that the connection unit is used for:
If the current network connection status is in radio wide area network connection status, whether output prompt information is used for prompting Confirmation connection barrage server;
If receiving the confirmation message for the prompt information, barrage server is connected by preset strategy.
9. a kind of client, which is characterized in that the client includes processor, and the processor is deposited for executing in memory It is realized when the computer program of storage as described in claim 1-6 the step of the connection method of barrage server.
10. a kind of readable storage medium storing program for executing, is stored thereon with computer program, which is characterized in that the computer program is processed It realizes when device executes such as the step of barrage server connection method of any of claims 1-6.
CN201810294063.0A 2018-03-30 2018-03-30 Bullet screen server connection method, client and readable storage medium Active CN110324677B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810294063.0A CN110324677B (en) 2018-03-30 2018-03-30 Bullet screen server connection method, client and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810294063.0A CN110324677B (en) 2018-03-30 2018-03-30 Bullet screen server connection method, client and readable storage medium

Publications (2)

Publication Number Publication Date
CN110324677A true CN110324677A (en) 2019-10-11
CN110324677B CN110324677B (en) 2021-09-07

Family

ID=68112356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810294063.0A Active CN110324677B (en) 2018-03-30 2018-03-30 Bullet screen server connection method, client and readable storage medium

Country Status (1)

Country Link
CN (1) CN110324677B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114760191A (en) * 2022-05-24 2022-07-15 咪咕文化科技有限公司 Data service quality early warning method, system, device and readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102088356A (en) * 2009-12-04 2011-06-08 三星电子株式会社 Method and apparatus for reducing power consumption in digital living network alliance (dlna) network
US20120102157A1 (en) * 2007-04-16 2012-04-26 Samsung Electronics Co., Ltd. Communication method and apparatus using hypertext transfer protocol
CN105610913A (en) * 2015-12-22 2016-05-25 用友网络科技股份有限公司 Heartbeat keep-alive method and apparatus for long connection in communication network
CN105871977A (en) * 2015-11-27 2016-08-17 乐视体育文化产业发展(北京)有限公司 Long connection establishment method and system, and devices
CN106060593A (en) * 2016-05-18 2016-10-26 武汉斗鱼网络科技有限公司 Method and system for realizing real bullet screen scene simulation feedback in P2P live broadcasting
CN106972977A (en) * 2017-05-24 2017-07-21 北京潘达互娱科技有限公司 The long connection maintaining method of one kind and device
CN106993233A (en) * 2017-03-01 2017-07-28 武汉斗鱼网络科技有限公司 Information processing method and device based on net cast
CN107547484A (en) * 2016-06-29 2018-01-05 上海连尚网络科技有限公司 Message obtains, method, equipment and the system of push

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120102157A1 (en) * 2007-04-16 2012-04-26 Samsung Electronics Co., Ltd. Communication method and apparatus using hypertext transfer protocol
CN102088356A (en) * 2009-12-04 2011-06-08 三星电子株式会社 Method and apparatus for reducing power consumption in digital living network alliance (dlna) network
CN105871977A (en) * 2015-11-27 2016-08-17 乐视体育文化产业发展(北京)有限公司 Long connection establishment method and system, and devices
CN105610913A (en) * 2015-12-22 2016-05-25 用友网络科技股份有限公司 Heartbeat keep-alive method and apparatus for long connection in communication network
CN106060593A (en) * 2016-05-18 2016-10-26 武汉斗鱼网络科技有限公司 Method and system for realizing real bullet screen scene simulation feedback in P2P live broadcasting
CN107547484A (en) * 2016-06-29 2018-01-05 上海连尚网络科技有限公司 Message obtains, method, equipment and the system of push
CN106993233A (en) * 2017-03-01 2017-07-28 武汉斗鱼网络科技有限公司 Information processing method and device based on net cast
CN106972977A (en) * 2017-05-24 2017-07-21 北京潘达互娱科技有限公司 The long connection maintaining method of one kind and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114760191A (en) * 2022-05-24 2022-07-15 咪咕文化科技有限公司 Data service quality early warning method, system, device and readable storage medium
CN114760191B (en) * 2022-05-24 2023-09-19 咪咕文化科技有限公司 Data service quality early warning method, system, equipment and readable storage medium

Also Published As

Publication number Publication date
CN110324677B (en) 2021-09-07

Similar Documents

Publication Publication Date Title
CN108366277A (en) A kind of barrage server connection method, client and readable storage medium storing program for executing
CN110324296A (en) A kind of barrage server connection method, device, client
CN109359978B (en) Intelligent contract trading method and system based on block chain network
CN104618197A (en) Methods and apparatus for monitoring configurable performance levels in a wireless device
CN110213522A (en) A kind of video data handling procedure, device and relevant device
CN104021141B (en) Method, device and system for data processing and cloud service
WO2006065989A3 (en) Method and system for detecting and stopping illegitimate communication attempts on the internet
CN107465698A (en) A kind of data verification method and server
CN108768672B (en) Data processing method, device and storage medium
CN107682328A (en) A kind of data verification method and client
KR20110044833A (en) Collect Opportunity Opinion Scores on Mobile Devices
CN112564942A (en) Distribution network control method and device of Internet of things equipment, equipment and storage medium
CN110928880A (en) Data processing method, device, terminal and medium based on block chain
CN109495378A (en) Detect method, apparatus, server and the storage medium of abnormal account number
CN111726359B (en) Account information detection method and device
CN103748925A (en) Mechanism for managing PDN connections in LTE/EPC networks
CN111654415A (en) Block chain based information processing method, device, equipment and readable storage medium
CN110324677A (en) A kind of barrage server connection method, client and readable storage medium storing program for executing
CN111404918A (en) Cloud mobile phone distributed service emergency authentication method, device and system
CN101778354B (en) Short message defaulting protection system aiming at prepaid customers and realization method
CN110324229A (en) A kind of barrage server connection method, client and readable storage medium storing program for executing
CN110324391A (en) A kind of barrage server connection method, client and readable storage medium storing program for executing
CN110324674A (en) A kind of barrage server maintaining method, device and readable storage medium storing program for executing
CN102025714A (en) Implementation method, device and system for multimedia broadcast multicast service (MBMS)
CN112887105B (en) Conference security monitoring method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant