CN106034261A - Visual networking service processing method and apparatus thereof - Google Patents

Visual networking service processing method and apparatus thereof Download PDF

Info

Publication number
CN106034261A
CN106034261A CN201510117067.8A CN201510117067A CN106034261A CN 106034261 A CN106034261 A CN 106034261A CN 201510117067 A CN201510117067 A CN 201510117067A CN 106034261 A CN106034261 A CN 106034261A
Authority
CN
China
Prior art keywords
business
current business
network
strategy
server
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
CN201510117067.8A
Other languages
Chinese (zh)
Other versions
CN106034261B (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.)
Beijing Visionvera International Information Technology Co Ltd
Original Assignee
Beijing Visionvera International Information 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 Beijing Visionvera International Information Technology Co Ltd filed Critical Beijing Visionvera International Information Technology Co Ltd
Priority to CN201510117067.8A priority Critical patent/CN106034261B/en
Publication of CN106034261A publication Critical patent/CN106034261A/en
Application granted granted Critical
Publication of CN106034261B publication Critical patent/CN106034261B/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/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/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64723Monitoring of network processes or resources, e.g. monitoring of network load
    • 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/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64723Monitoring of network processes or resources, e.g. monitoring of network load
    • H04N21/6473Monitoring network processes errors
    • 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/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64746Control signals issued by the network directed to the server or the client
    • H04N21/64761Control signals issued by the network directed to the server or the client directed to the server
    • H04N21/64776Control signals issued by the network directed to the server or the client directed to the server for requesting retransmission, e.g. of data packets lost or corrupted during transmission from server

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a visual networking service processing method and an apparatus thereof. The method comprises the following steps of determining whether network connection which are among servers and are used for processing a current service is disconnected; and if the network connection is disconnected, according to a set processing strategy, processing the current service, wherein the set processing strategy includes at least one of a service maintenance strategy, a service reconstruction strategy and a terminal restart strategy. In the invention, in a first time period and in a second time period after the network is disconnected, the current service can be directly returned as long as the network connection gets right and the terminal does not need to be restarted. Therefore, a startup picture can be skipped and the current service can be directly drawn in, user waiting time is reduced, a user experience is improved and simultaneously a display load of the terminal can be mitigated.

Description

A kind of regarding networking service treating method and apparatus
Technical field
The present invention relates to regarding networking technology field, particularly relate to a kind of regarding networking service processing method and dress Put.
Background technology
Be the important milestone of network Development depending on networking, be the higher level form of the Internet, be one in real time Network, it is possible to realize the whole network HD video real-time Transmission that current the Internet cannot realize, by numerous interconnections HD video is pushed in net application to, and high definition is face-to-face, realizes the world the most at last without distance, it is achieved whole world model The distance enclosing interior person to person is the distance of a screen.
Depending on networking in process business time, need between terminal (such as: Set Top Box) and server set up Network connects, and audio, video data corresponding for currently processed business is sent to end by server by network End, after terminal receives audio, video data, by display after continuing to the audio, video data received Device by the audio, video data real-time exhibition that receives to user.Visible, whole processed depending on networking service Journey is required for depending on network, and once network connection interruption, then can directly affect the place of current business Reason.
Existing a kind of in business procession network connect disconnect scheme be: terminal determine with The network set up between server connects when occurring to interrupt, blindly repeatedly restart terminal, until network is even Connect recovery.
Existing this processing scheme, can be not only that terminal brings load because repeatedly restarting terminal, more very May also result in terminal crash, the process to business can be directly affected.Even if restarting terminal at certain Rear network connects recovery, just can again be drawn in business after needing to enter start-up picture after terminal is restarted, Business recovery process not only needs user to wait as long for the experience affecting user, also can increase meanwhile Add the displaying load of terminal.
Summary of the invention
In view of the above problems, it is proposed that the present invention is to provide one to overcome the problems referred to above or at least partly Ground solve the problems referred to above regarding networking service treating method and apparatus.
In order to solve the problems referred to above, the invention discloses one and regard networking service processing method, including: sentence Whether disconnected connection with the network processing current business between server interrupts;Send out if described network connects Raw interruption, then process described current business according to the process strategy set, wherein, and the institute of setting State process strategy and include at least one of: business keeps strategy, service reconstruction strategy and terminal to restart Strategy;Wherein, described business keeps strategy for instruction when described network turn-off time is at very first time model When enclosing interior, then preserve the service condition of described current business, the networking receiving the transmission of described server waiting After instruction, re-establish network with described server and be connected, continue the described current business to preserving and carry out Process;Described service reconstruction strategy for instruction when described network turn-off time is in the second time range Time, then described current business is carried out deinitialization process, the networking receiving the transmission of described server waiting After instruction, re-establish network with described server and be connected, rebuild new business and continue with described working as Front business;Described terminal restarts strategy for instruction when described network turn-off time is in the 3rd time range Time, then the terminal of current business described in reboot process.
Preferably, the service condition of described current business includes: business initializtion environment and professional qualification, Described and described server re-establishes network and is connected, and continues the described current business to preserving and processes Step include: re-establish network with described server and be connected, receive described server send described The audio, video data that current business is corresponding, at initialization context and the business bar of the described current business preserved On the basis of part, the described audio, video data received is resolved and plays.
Preferably, described described current business is carried out deinitialization process, waiting receive described server After the networking instruction sent, re-establish the new business of network connection reconstruction with described server and continue place The step managing described current business includes: create when the described current business safeguarded in terminal being initialized Initialization context and professional qualification are destroyed;After the networking instruction receiving the transmission of described server waiting, ring Answer the described networking instruction that described server sends, receive the protocol data bag that described server sends, and Again set up initialization context and professional qualification for described current business according to described protocol data bag, receive Audio, video data corresponding to described current business that described server sends, is being described current business again After setting up initialization context and professional qualification, the described audio, video data received is resolved and broadcasts Put.
Preferably, the service condition of described current business includes: when network disconnects, described current business is shown The information of current video, after the service condition step of the described current business of described preservation, described side Method also includes: show the described network current video that when disconnecting, described current business is shown, until receiving institute After stating audio, video data corresponding to described current business that server sends, play described audio, video data pair The audio frequency answered and video.
Preferably, process the network of current business between described judgement and server to be connected and whether interrupt Step include: judge setting in the time period whether receive the heartbeat packet that described server sends;If No, then judge to be connected with the network processing described current business between described server to interrupt.
In order to solve the problems referred to above, the invention also discloses one and regard networking service processing means, including: Whether judge module, interrupt for judging to be connected with the network processing current business between server; Processing module, interrupts if connecting for described network, then work as described according to the process strategy set Front business processes, and wherein, the described process strategy of setting includes at least one of: business keeps Strategy, service reconstruction strategy and terminal restart strategy;Wherein, described business keeps strategy to be used for indicating When described network turn-off time is in the range of the very first time, then preserve the business shape of described current business State, after the networking instruction receiving the transmission of described server waiting, re-establishes network even with described server Connect, continue the described current business to preserving and process;Described service reconstruction strategy works as institute for instruction State network turn-off time in the second time range time, then described current business is carried out at deinitialization Reason, after the networking instruction receiving the transmission of described server waiting, re-establishes network even with described server Connect, rebuild new business to continue with described current business;Described terminal restarts strategy ought for instruction When described network turn-off time is in the 3rd time range, then the terminal of current business described in reboot process.
Preferably, the service condition of described current business includes: business initializtion environment and professional qualification, Described processing module includes: the first processing module, for according to described Business Processing strategy to described currently Business processes;Described current business is entered by described first processing module according to described Business Processing strategy Row process during, re-establish network with described server and be connected, continue to preservation described currently When business processes: re-establish network with described server and be connected, receive what described server sent The audio, video data that described current business is corresponding, in initialization context and the industry of the described current business preserved On the basis of business condition, the described audio, video data received is resolved and plays.
Preferably, described processing module also includes: the second processing module, for according to described service reconstruction Described current business is processed by strategy;3rd processing module, for restarting strategy according to described terminal Described current business is processed;Described second processing module according to described service reconstruction strategy to described During current business processes, described current business is carried out deinitialization process, waiting receive After the networking instruction that described server sends, re-establish, with described server, the industry that network connection reconstruction is new When business continues with described current business: create when the described current business safeguarded in terminal is initialized Initialization context and professional qualification destroy;After the networking instruction receiving the transmission of described server waiting, Respond the described networking instruction that described server sends, receive the protocol data bag that described server sends, And again set up initialization context and professional qualification for described current business according to described protocol data bag, connect Receive the audio, video data that the described current business of described server transmission is corresponding, be again described current industry After initialization context and professional qualification are set up in business, the described audio, video data received is resolved and broadcasts Put.
Preferably, the service condition of described current business includes: when network disconnects, described current business is shown The information of current video;Described first processing module according to described Business Processing strategy to described current industry During business processes, after the service condition of the described current business of described preservation, show described The current video that when network disconnects, described current business is shown, until receiving the described of described server transmission After the audio, video data that current business is corresponding, play audio frequency corresponding to described audio, video data and video.
Preferably, described judge module includes: heartbeat packet judge module, for judging in the setting time period The most whether receive the heartbeat packet that described server sends;Result determination module, if for described heartbeat packet When the judged result of judge module is no, then judge to process described current business between described server Network connection is interrupted.
Compared with prior art, the invention have the advantages that
The present invention provide regarding networking service processing scheme, process current industry between server judging When the network of business connects generation interruption, in the different time sections that network disconnects, use different process strategies Current business is processed, takes business to adopt in keeping strategy, the second time period in first time period Take service reconstruction strategy, as long as no matter network connects and recovers in first time period or in the second time period Normally, it is possible to continue current business to be processed, and without restarting terminal.Regard compared to existing Networking service processing scheme, has no progeny in terminal network connects generation and restarts terminal blindly, it is possible to effectively Reduce because terminal repeats to restart the load brought.Further, due in the present invention provide technical scheme, As long as network connection recovers normally can directly reply current industry in first time period, in the second time period Business, and without restarting terminal, therefore, it is possible to skip start-up picture be directly drawn into current business, compare In existing regarding networking service processing scheme, need after restarting terminal to enter the meeting of being drawn into again after start-up picture View can shorten the waiting time of user, promotes Consumer's Experience, and the displaying also simultaneously being able to alleviate terminal is born Lotus.
Accompanying drawing explanation
Fig. 1 is a kind of flow chart of steps regarding networking service processing method of according to embodiments of the present invention;
Fig. 2 is a kind of flow chart of steps regarding networking service processing method of according to embodiments of the present invention two;
Fig. 3 be use in embodiment two regarding networking service processing method, Set Top Box is in Network Abnormal state Under schematic diagram that current business is processed;
Fig. 4 is a kind of structured flowchart regarding networking service processing means of according to embodiments of the present invention three.
Detailed description of the invention
Understandable, below in conjunction with the accompanying drawings for enabling the above-mentioned purpose of the present invention, feature and advantage to become apparent from The present invention is further detailed explanation with detailed description of the invention.
Embodiment one
With reference to Fig. 1, it is shown that a kind of step stream regarding networking service processing method of the embodiment of the present invention one Cheng Tu.
Comprising the following steps depending on networking service processing method of the present embodiment:
Step S102: judge to be connected with the network processing current business between server whether interrupt, The most then perform step S104, if it is not, then perform setting operation.
Wherein, current business can include but not limited to following one of arbitrarily: video conference business, issue Live broadcast service, visual telephone service and demand (telecommunication) service.
The network processing current business between concrete judgement and server is connected the side whether occurring to interrupt Formula can be configured according to practical situation by those skilled in the art, such as: is arranged to certain period of time Inside do not receive the audio, video data that the current business of server transmission is relevant, it is determined that process current business Network connect there occurs interruption.The most such as: do not receive server in being arranged to certain period of time and send Heartbeat packet, it is determined that process current business network connect there occurs interruption.Setting for the time period Can be arranged to the most suitable value such as 10S, 12S, 15S, this is not specifically limited by the application.
Wherein, setting operation can include but not limited to: continues with current business and according to setting rule Judge to be connected with the network processing current business between server whether interrupt.Those skilled in the art It will be clearly understood that setting operation can be configured according to the actual requirements by those skilled in the art, the application This is not specifically limited.
Step S104: if the network processing current business connects interrupt, then according to the process set Current business is processed by strategy.
Wherein, the process strategy of setting includes: business keeps strategy, service reconstruction strategy and terminal weight Open strategy.
Wherein, business keeps strategy for instruction when network turn-off time is in the range of the very first time, then Preserve the service condition of current business, after the networking instruction receiving server transmission waiting, think highly of with service Newly set up network to connect, continue the current business to preserving and process.
Service reconstruction strategy for instruction when network turn-off time is in the second time range, then will be current Business carries out deinitialization process, after the networking instruction receiving server transmission waiting, with server again Set up network to connect, rebuild new business to continue with current business.
Terminal restarts strategy for instruction when network turn-off time is in the 3rd time range, then restart place The terminal of reason current business.
It should be noted that indicated by very first time scope, the second time range and the 3rd time range Be three different time range, the setting of three time range is continuous print, and arbitrarily the two it Between do not exist and repeat to limit, time indicated by very first time scope occurs will be early than the second time range The indicated time, the time indicated by the second time range occurs will be early than indicated by the 3rd time range Time.The occurrence of three time range can be set according to the actual requirements by those skilled in the art It is fixed, such as: very first time range set is become (0,15s), and the second time range is set to [15s, 5min], 3rd time range is set to (5min, ∞).
By embodiment provide regarding networking service processing method, judging that place should between server When the network of front business connects generation interruption, in the different time sections that network disconnects, use different process Current business is processed by strategy, takes business to keep strategy, the second time period in first time period Inside take service reconstruction strategy, as long as no matter network connects in first time period or in the second time period Recover normal, it is possible to continue current business is processed, and without restarting terminal.Compared to existing Regarding networking service processing scheme, when terminal network connect occur in have no progeny and restart terminal blindly, it is possible to Effectively reduce because terminal repeats to restart the load brought.Further, the technical method provided due to the present embodiment, As long as network connection recovers normally can directly reply currently in first time period, in the second time period Business, and without restarting terminal, therefore, it is possible to skip start-up picture be directly drawn into current business, phase Compared with existing regarding networking service processing method, it is drawn into again after needing after restarting terminal to enter start-up picture Meeting can shorten the waiting time of user, promotes Consumer's Experience, also is able to alleviate the displaying of terminal simultaneously Load.
Embodiment two
With reference to Fig. 2, it is shown that a kind of step stream regarding networking service processing method of the embodiment of the present invention two Cheng Tu.
The present embodiment specifically include following steps depending on networking service processing method:
Step S202: whether terminal judges receives the heartbeat packet that server sends in setting the time period, If, it is determined that it is connected with the network processing current business between server and interrupts.
After terminal networks (i.e. with set up between server network is connected after), server every setting time Between be spaced and send heartbeat packet to confirm that whether terminal (processes current at net between terminal and server to terminal The network connection interruption of business then terminal not at net, otherwise, then at net), terminal is receiving heartbeat packet After can feed back corresponding protocol package to server, send out if server does not receives terminal within the setting time The protocol package of feedback then can conclude that terminal is not at net.Correspondingly, if terminal is at net, every set time Between interval will receive server send heartbeat packet, and if terminal set time interval in not Receive the heartbeat packet that server sends, can be concluded that the most too and process currently between self and server The network connection of business has been interrupted, and i.e. terminal is not the most at net.
Wherein, set the time period sends the time interval of heartbeat packet, concrete for the two more than server Setting the application of scope is not specifically limited, such as: can set server and send out to terminal every 1s Send a heartbeat packet, if terminal does not receives the heartbeat packet that server sends in 15s, then conclude certainly Body is connected with the network of server process current business and interrupts.Server can also be set every 2s A heartbeat packet is sent to terminal, if terminal does not receives the heartbeat packet that server sends in 15s, Then conclude that self is connected with the network of server process current business to interrupt.It is of course also possible to set Server sends a heartbeat packet every 0.5s to terminal, if terminal does not receives server in 10s The heartbeat packet sent, then conclude that self is connected with the network of server process current business and interrupt.When So, it is also possible to be set to arbitrarily other suitable values.
Terminal is when judging the network connection interruption processing current business between server, according to network The difference of disconnecting persistent period, selects correspondingly to process strategy with each time range and enters current business Row processes.
Step S204: terminal is determining that the network processing current business between server is connected in generation Have no progeny, keep strategy to current industry according to the business set in the range of the very first time turn-off time at network Business processes.
Wherein, very first time scope is first time period after network disconnects, and the initial value of this section is 0, Stop value can be set according to the actual requirements by those skilled in the art, such as: is set by stop value Become 10s, 15s, 20s etc..
Wherein, terminal, when keeping strategy to process current business according to business, is judging network During disconnecting, then preserve the service condition of current business, the networking instruction receiving server transmission waiting After, re-establish network with server and be connected, continue the current business to preserving and process.
The service condition of current business includes: when business initializtion environment, professional qualification and network disconnect The information of the current video that current business is shown.Wherein, business initializtion environment and professional qualification include but It is not limited to: initialize encoding and decoding, the thread by service creation, the business that recorded by service creation Type and be buf (buffer, the relief area) space of traffic assignments.
In this stage, terminal is had no progeny in a network and can be shown that what current business when network disconnects showed works as forward sight Frequently, the most now picture still of display in terminal, until the current business receiving server transmission is corresponding After audio, video data, audio frequency that playing audio-video data is corresponding and video.
In this stage, server is judged to process between terminal in the network of current business and is had no progeny, can be by Sending, to terminal, the instruction that networks according to setting time interval (such as 1s/ time), terminal is in very first time scope Have received the instruction of networking again that server sends in if, then can determine that network connects and recover, this Shi Huixiang server sends the response message of response networking instruction, after server receives response message, then may be used Determine that the network between terminal is connected to recover.Now, server can send current business pair to terminal The current audio, video data answered, terminal receives audio, video data corresponding to current business that server sends, To the audio frequency and video number received on the basis of the initialization context and professional qualification of the current business preserved According to resolving and playing, now, static picture can recover normal, shows current real screen. Such as: current business is video conference, and video conference is had no progeny in occurring because of network connection interruption, at end It is shown that picture when interrupting on end, but in 10s, network recovery is normal, now, aobvious in terminal The picture shown is current meeting picture.
Certainly, if the network that terminal can be recovered between service in very first time scope is connected, then may be used To skip start-up picture, can directly be drawn into business without return menu homepage face, do not interfere with and work as Being normally carried out of front business.If terminal failed to recover the net between server in the range of the very first time Network connects, and the most now network just enters in the second time range turn-off time, and now, terminal then needs According to service reconstruction strategy, current business is processed.
Step S206: when network turn-off time is in the second time range, terminal is according to the business set Current business is processed by Reconstruction Strategy.
Wherein, the second time range is second time period after network disconnects, and the initial value of this section is the The stop value of one time range, for this time range stop value can by those skilled in the art according to Actual demand is set, such as: be set to 2min, 5min, 8min etc..
Wherein, terminal is when processing current business according to service reconstruction strategy, then by current business Carry out deinitialization process, after the networking instruction receiving server transmission waiting, re-establish with server Network connects, and rebuilds new business to continue with current business.
Current business is preferably carried out deinitialization process, the networking receiving server transmission waiting by one After instruction, re-establish the new business of network connection reconstruction to continue with the side of current business with server Method comprises the following steps:
S1, the initialization context created when the current business of self maintained is initialized by terminal and business bar Part is destroyed, and current business will carry out deinitialization process.
Wherein, business initializtion environment and professional qualification include but not limited to: for the initialization of service creation Encoding and decoding, the thread by service creation, the type of business recorded and the buf for traffic assignments are empty Between.During deinitialization, above-mentioned initialization context current business set up and professional qualification are destroyed.Right Current business carries out deinitialization processing intent: current business carries out the initialization ring of establishment during business Border and professional qualification are destroyed, in order to can complete when setting up new business next time to initialize, and not with upper One time business clashes.
S2, after the networking instruction receiving server transmission waiting, the networking that terminal response server sends refers to Order.
In the second time range, server still can refer to terminal transmission networking according to setting time interval Order, and after once network recovery between terminal and server is normal, terminal just can receive server The networking instruction sent, now, terminal feedback response message can receive terminal to server, server Then judge after the response message sent that network connects and recovered normal, now, just will not send to terminal again Network instruction.
S3, terminal receives the protocol data bag that server sends, and is current again according to protocol data bag Business sets up initialization context and professional qualification.
After server determines that the network between terminal is connected recovery normally, protocol data can be sent to terminal Bag thinks that current business re-establishes initialization, after terminal receives the protocol data bag that server sends, Again initialization context and professional qualification is set up for current business according to protocol data bag, and, to service Device sends the message that business initializtion has been set up.
S4, terminal receives audio, video data corresponding to current business that server sends, is being current again After business sets up initialization context and professional qualification, the audio, video data received is resolved and broadcasts Put.
Preferably, in the second time range, terminal when the network not recovered between server is connected, The information that display is used for pointing out user network busy is to user, and the net between terminal recovery and server When network connects, menu homepage face can be returned to re-establishing the business initializtion stage, and receive service During audio, video data corresponding to current business that device sends, again it is drawn into the sound that service display receives and regards Frequency evidence.
Certainly, if the network that terminal can be recovered between service at the second time range is connected, then may be used It is drawn into business after returning to menu homepage face, does not interferes with being normally carried out of current business.If terminal exists Failing in second time range to recover to be connected with the network between server, the most now network turn-off time is just Entering in the 3rd time range, now, terminal then needs to restart strategy according to terminal and enters current business Row processes.
Step S208: when network turn-off time is in the 3rd time range, terminal is according to the terminal set Restart strategy current business is processed.
Wherein, the 3rd time range is the 3rd time period after network disconnects, and the initial value of this section is the The stop value of two time range.Terminal restarts strategy for instruction when network turn-off time is at the 3rd time model When enclosing interior, then the terminal of reboot process current business.
It should be noted that claimed regarding networking service processing method, when implementing, It is not limited to be performed both by above-mentioned steps S204,206 and step S208, it is also possible to select wherein to appoint One or two steps perform.
Below with Set Top Box as terminal, control network company between Set Top Box and server with the plug of netting twine Connect, as a example by current business is as meeting, the present embodiment Union of Central Vision network service processing method is carried out specifically Bright.The schematic diagram i.e. accompanying drawing 3 when Network Abnormal, current business processed referring in particular to Set Top Box.
In this instantiation, it is assumed that Set Top Box is unplugged netting twine in conference process, pull out machine top after netting twine The picture still of display on the display that box is corresponding, now, then can illustrate to locate between Set Top Box and server The network connection of convention business before should there occurs interruption i.e. Network Abnormal.
By accompanying drawing 3, Set Top Box is in the case of Network Abnormal, to the process of current business on the whole It is divided into three phases, the first stage: (disconnect in 15s with server) in 15s after pulling out netting twine If plugging netting twine (i.e. Set Top Box networking), the picture on display can recover normal, not plug netting twine But display all can show that frame picture static when pulling out netting twine in 15s.Second stage: Disconnecting in 15s-5min with server, can show the picture of network busy above display, backstage is then Wait networking always, if networking in disconnecting 15s-5min with server, the most over the display can be first It is drawn into meeting after returning to menu homepage again and proceeds active conference business.Phase III: with clothes Business device does not also network after disconnecting 5min, then Set Top Box can be restarted.
By the example that this is concrete, in the present embodiment regarding networking service processing method in network condition Time bad, network again in special time after Set Top Box suspension and still ensure that being normally carried out of business, can To avoid in existing method for processing business when network condition is bad, need repeatedly to restart Set Top Box, make Business cannot be normally carried out, and more very causes the problem that Set Top Box crashes.
By embodiment provide regarding networking service processing method, judging that place should between server When the network of front business connects generation interruption, in the different time sections that network disconnects, use different process Current business is processed by strategy, takes business to keep strategy, the second time period in first time period Inside take service reconstruction strategy, as long as no matter network connects in first time period or in the second time period Recover normal, it is possible to continue current business is processed, and without restarting terminal.Compared to existing Regarding networking service processing scheme, when terminal network connect occur in have no progeny and restart terminal blindly, it is possible to Effectively reduce because terminal repeats to restart the load brought.Further, the technical method provided due to the present embodiment, As long as network connection recovers normally can directly reply currently in first time period, in the second time period Business, and without restarting terminal, therefore, it is possible to skip start-up picture be directly drawn into current business, phase Compared with existing regarding networking service processing method, it is drawn into again after needing after restarting terminal to enter start-up picture Meeting can shorten the waiting time of user, promotes Consumer's Experience, also is able to alleviate the displaying of terminal simultaneously Load.
Embodiment three
With reference to Fig. 4, it is shown that a kind of structural frames regarding networking service processing means of the embodiment of the present invention three Figure.
Including depending on networking service processing means of the present embodiment: judge module 402, it is used for judging and servicing Whether the network connection processing current business between device is interrupted;Processing module 404, if for network Connect and interrupt, then according to the process strategy set, current business is processed, wherein, setting Process strategy and include at least one of: business keeps strategy, service reconstruction strategy and terminal to restart plan Slightly;Wherein, business keeps strategy for instruction when network turn-off time is in the range of the very first time, then Preserve the service condition of current business, after the networking instruction receiving server transmission waiting, think highly of with service Newly set up network to connect, continue the current business to preserving and process;Service reconstruction strategy is used for indicating When network turn-off time is in the second time range, then current business is carried out deinitialization process, treat After receiving the networking instruction that server sends, re-establish network with server and be connected, rebuild new industry Business continues with current business;Terminal restarts strategy for instruction when network turn-off time is in the 3rd time In the range of time, then the terminal of reboot process current business.
Preferably, the service condition of current business includes: business initializtion environment and professional qualification, processes Module 404 includes: the first processing module 4042, for carrying out current business according to Business Processing strategy Process;During current business is processed by the first processing module 4042 according to Business Processing strategy, Re-establish network with server to be connected, when continuing the current business preserved is processed: with server Re-establish network to connect, receive the audio, video data that the current business of server transmission is corresponding, preserving The initialization context of current business and professional qualification on the basis of the audio, video data received is carried out Resolve and play.
Preferably, processing module 404 also includes: the second processing module 4044, for according to service reconstruction Current business is processed by strategy;3rd processing module 4046, for restarting strategy to working as according to terminal Front business processes;Second processing module 4044 according to service reconstruction strategy to current business at During reason, current business carrying out deinitialization process, the networking receiving server transmission waiting refers to After order, when re-establishing the new business of network connection reconstruction to continue with current business with server: will The initialization context created when the current business safeguarded in terminal initializes and professional qualification are destroyed;Waiting After receiving the networking instruction that server sends, the networking instruction that response server sends, receive server and send out The protocol data bag sent, and again set up initialization context and business for current business according to protocol data bag Condition, receives the audio, video data that the current business of server transmission is corresponding, is again building for current business After vertical initialization context and professional qualification, the audio, video data received is resolved and plays.
Preferably, the service condition of current business includes: what when network disconnects, current business was shown works as forward sight The information of frequency;The mistake that current business is processed by the first processing module 4042 according to Business Processing strategy Cheng Zhong, after preserving the service condition of current business, what when showing network disconnection, current business was shown works as Front video, until after receiving audio, video data corresponding to current business that server sends, playing audio-video Audio frequency that data are corresponding and video.
Preferably, it is judged that module 402 includes: heartbeat packet judge module 4022, for judging when setting Between whether receive the heartbeat packet that described server sends in section;Result determination module 4024, if for the heart When the judged result of jumping bag judge module 4022 is no, then judge to process current business between server Network connect interrupt.
The present embodiment be used for realizing previous embodiment one and embodiment two depending on networking service processing means In the corresponding networking service processing method that regards, and there is the beneficial effect of corresponding embodiment of the method, This repeats no more.
Each embodiment in this specification all uses the mode gone forward one by one to describe, and each embodiment stresses Be all the difference with other embodiments, between each embodiment, identical similar part sees mutually ?.For system embodiment, due to itself and embodiment of the method basic simlarity, so the ratio described Relatively simple, relevant part sees the part of embodiment of the method and illustrates.
Above one provided by the present invention is carried out detailed Jie depending on networking service treating method and apparatus Continuing, principle and the embodiment of the present invention are set forth by specific case used herein, above reality The explanation executing example is only intended to help to understand method and the core concept thereof of the present invention;Simultaneously for ability The those skilled in the art in territory, according to the thought of the present invention, the most all can Change part, and in sum, this specification content should not be construed as limitation of the present invention.

Claims (10)

1. one kind regards networking service processing method, it is characterised in that including:
Judge to be connected with the network processing current business between server whether interrupt;
Interrupt if described network connects, then according to the process strategy set, described current business is carried out Processing, wherein, the described process strategy of setting includes at least one of: business keeps strategy, business Reconstruction Strategy and terminal restart strategy;
Wherein, described business keeps strategy for instruction when described network turn-off time is in very first time scope Time interior, then preserving the service condition of described current business, the networking receiving the transmission of described server waiting refers to After order, re-establish network with described server and be connected, continue to the described current business preserved Reason;
Described service reconstruction strategy for instruction when described network turn-off time is in the second time range, Then described current business is carried out deinitialization process, the networking instruction receiving the transmission of described server waiting After, re-establish network with described server and be connected, rebuild new business to continue with described current industry Business;
Described terminal restarts strategy for instruction when described network turn-off time is in the 3rd time range, The then terminal of current business described in reboot process.
Method the most according to claim 1, it is characterised in that the business shape of described current business State includes: business initializtion environment and professional qualification, and described and described server re-establishes network and is connected, The step continuing to process the described current business preserved includes:
Re-establish network with described server to be connected, receive the described current business that described server sends Corresponding audio, video data, on initialization context and the basis of professional qualification of the described current business preserved On the described audio, video data received is resolved and plays.
Method the most according to claim 1, it is characterised in that described described current business is entered Row deinitialization processes, and after the networking instruction receiving the transmission of described server waiting, thinks highly of with described service Newly set up the new business of network connection reconstruction to include to the step continuing with described current business:
The initialization context created when the described current business safeguarded in terminal is initialized and business bar Part is destroyed;After the networking instruction receiving the transmission of described server waiting, respond the institute that described server sends State networking instruction, receive the protocol data bag that described server sends, and according to described protocol data Bao Chong Newly set up initialization context and professional qualification for described current business, receive the described of described server transmission The audio, video data that current business is corresponding, is setting up initialization context and business for described current business again After condition, the described audio, video data received is resolved and plays.
Method the most according to claim 2, it is characterised in that the business shape of described current business State includes: the information of the current video that described current business is shown when network disconnects, described in described preservation After the service condition step of current business, described method also includes:
Show the described network current video that when disconnecting, described current business is shown, until receiving described service After audio, video data corresponding to described current business that device sends, play the sound that described audio, video data is corresponding Frequency and video.
5. according to the method described in any one of claim 1-4, it is characterised in that described judgement and clothes Whether the network connection processing current business between business device occurs the step interrupted to include:
Judge whether to receive in setting the time period heartbeat packet that described server sends;
If it is not, then judge to be connected in generation with the network processing described current business between described server Disconnected.
6. one kind regards networking service processing means, it is characterised in that including:
Whether judge module, in judging to be connected with the network processing current business between server and occurring Disconnected;
Processing module, interrupts if connecting for described network, then according to the process strategy set to institute Stating current business to process, wherein, the described process strategy of setting includes at least one of: business Strategy, service reconstruction strategy and terminal is kept to restart strategy;
Wherein, described business keeps strategy for instruction when described network turn-off time is in very first time scope Time interior, then preserving the service condition of described current business, the networking receiving the transmission of described server waiting refers to After order, re-establish network with described server and be connected, continue to the described current business preserved Reason;
Described service reconstruction strategy for instruction when described network turn-off time is in the second time range, Then described current business is carried out deinitialization process, the networking instruction receiving the transmission of described server waiting After, re-establish network with described server and be connected, rebuild new business to continue with described current industry Business;
Described terminal restarts strategy for instruction when described network turn-off time is in the 3rd time range, The then terminal of current business described in reboot process.
Device the most according to claim 6, it is characterised in that the business shape of described current business State includes: business initializtion environment and professional qualification, and described processing module includes:
First processing module, for processing described current business according to described Business Processing strategy;
Described current business is processed by described first processing module according to described Business Processing strategy During, re-establish network with described server and be connected, continue the described current business to preserving and carry out During process:
Re-establish network with described server to be connected, receive the described current business that described server sends Corresponding audio, video data, on initialization context and the basis of professional qualification of the described current business preserved On the described audio, video data received is resolved and plays.
Device the most according to claim 6, it is characterised in that described processing module also includes:
Second processing module, for processing described current business according to described service reconstruction strategy;
3rd processing module, processes described current business for restarting strategy according to described terminal;
Described current business is processed by described second processing module according to described service reconstruction strategy During, described current business is carried out deinitialization process, waiting receive that described server sends enter After net instruction, re-establish the new business of network connection reconstruction with described server and continue with described working as During front business:
The initialization context created when the described current business safeguarded in terminal is initialized and business bar Part is destroyed;After the networking instruction receiving the transmission of described server waiting, respond the institute that described server sends State networking instruction, receive the protocol data bag that described server sends, and according to described protocol data Bao Chong Newly set up initialization context and professional qualification for described current business, receive the described of described server transmission The audio, video data that current business is corresponding, is setting up initialization context and business for described current business again After condition, the described audio, video data received is resolved and plays.
Device the most according to claim 7, it is characterised in that the business shape of described current business State includes: the information of the current video that described current business is shown when network disconnects;
Described current business is processed by described first processing module according to described Business Processing strategy During, after the service condition of the described current business of described preservation, show that described network disconnects time institute State the current video that current business is shown, until receiving the described current business correspondence that described server sends Audio, video data after, play audio frequency corresponding to described audio, video data and video.
10. according to the device described in any one of claim 6-9, it is characterised in that described judge module Including:
Heartbeat packet judge module, for judging that whether receiving described server in setting the time period sends Heartbeat packet;
Result determination module, if the judged result being used for described heartbeat packet judge module is no, then judges It is connected with the network processing described current business between described server and interrupts.
CN201510117067.8A 2015-03-17 2015-03-17 A kind of view networking service treating method and apparatus Active CN106034261B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510117067.8A CN106034261B (en) 2015-03-17 2015-03-17 A kind of view networking service treating method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510117067.8A CN106034261B (en) 2015-03-17 2015-03-17 A kind of view networking service treating method and apparatus

Publications (2)

Publication Number Publication Date
CN106034261A true CN106034261A (en) 2016-10-19
CN106034261B CN106034261B (en) 2019-07-05

Family

ID=57150908

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510117067.8A Active CN106034261B (en) 2015-03-17 2015-03-17 A kind of view networking service treating method and apparatus

Country Status (1)

Country Link
CN (1) CN106034261B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108810557A (en) * 2017-07-10 2018-11-13 北京视联动力国际信息技术有限公司 A kind of method for processing video frequency, device, electronic equipment and storage medium
CN109672905A (en) * 2018-11-21 2019-04-23 视联动力信息技术股份有限公司 A kind of passive audio-video business open method and device
CN110022286A (en) * 2018-01-08 2019-07-16 北京视联动力国际信息技术有限公司 The method and apparatus of free online multimedium program
CN110489484A (en) * 2019-07-11 2019-11-22 视联动力信息技术股份有限公司 Method of data synchronization, device, readable storage medium storing program for executing and electronic equipment
CN112073667A (en) * 2020-07-20 2020-12-11 视联动力信息技术股份有限公司 Method and device for recovering service, electronic equipment and storage medium
CN112218103A (en) * 2020-09-02 2021-01-12 北京达佳互联信息技术有限公司 Live broadcast room interaction method and device, electronic equipment and storage medium
CN113746934A (en) * 2021-09-14 2021-12-03 深圳市圆周率软件科技有限责任公司 Service connection method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6725290B1 (en) * 2000-11-08 2004-04-20 Enfora, Inc. Persistent modem connection
CN101150541A (en) * 2007-11-07 2008-03-26 北京亿企通信息技术有限公司 A login method in instant communication tool
CN102137279A (en) * 2011-03-18 2011-07-27 福州瑞芯微电子有限公司 Method for realizing disconnection continuous playing of on-line video of portable electronic equipment
CN102238160A (en) * 2010-05-06 2011-11-09 腾讯数码(深圳)有限公司 Device and method for replaying scenes after disconnection and reconnection
CN103780436A (en) * 2014-02-20 2014-05-07 中怡(苏州)科技有限公司 Network device and connection and maintenance method related to network device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6725290B1 (en) * 2000-11-08 2004-04-20 Enfora, Inc. Persistent modem connection
CN101150541A (en) * 2007-11-07 2008-03-26 北京亿企通信息技术有限公司 A login method in instant communication tool
CN102238160A (en) * 2010-05-06 2011-11-09 腾讯数码(深圳)有限公司 Device and method for replaying scenes after disconnection and reconnection
CN102137279A (en) * 2011-03-18 2011-07-27 福州瑞芯微电子有限公司 Method for realizing disconnection continuous playing of on-line video of portable electronic equipment
CN103780436A (en) * 2014-02-20 2014-05-07 中怡(苏州)科技有限公司 Network device and connection and maintenance method related to network device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
魏于涛: ""基于H.264和AVS的流媒体传输技术研究"", 《中国优秀硕士学位论文全文数据库》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108810557A (en) * 2017-07-10 2018-11-13 北京视联动力国际信息技术有限公司 A kind of method for processing video frequency, device, electronic equipment and storage medium
CN110022286A (en) * 2018-01-08 2019-07-16 北京视联动力国际信息技术有限公司 The method and apparatus of free online multimedium program
CN110022286B (en) * 2018-01-08 2021-12-17 视联动力信息技术股份有限公司 Method and device for requesting multimedia program
CN109672905A (en) * 2018-11-21 2019-04-23 视联动力信息技术股份有限公司 A kind of passive audio-video business open method and device
CN110489484A (en) * 2019-07-11 2019-11-22 视联动力信息技术股份有限公司 Method of data synchronization, device, readable storage medium storing program for executing and electronic equipment
CN112073667A (en) * 2020-07-20 2020-12-11 视联动力信息技术股份有限公司 Method and device for recovering service, electronic equipment and storage medium
CN112073667B (en) * 2020-07-20 2024-03-19 视联动力信息技术股份有限公司 Method and device for recovering service, electronic equipment and storage medium
CN112218103A (en) * 2020-09-02 2021-01-12 北京达佳互联信息技术有限公司 Live broadcast room interaction method and device, electronic equipment and storage medium
US11363341B2 (en) 2020-09-02 2022-06-14 Beijing Dajia Internet Information Technology Co., Ltd. Method and apparatus for interacting in live broadcast room
CN113746934A (en) * 2021-09-14 2021-12-03 深圳市圆周率软件科技有限责任公司 Service connection method and electronic equipment
CN113746934B (en) * 2021-09-14 2023-11-14 圆周率科技(常州)有限公司 Service connection method and electronic equipment

Also Published As

Publication number Publication date
CN106034261B (en) 2019-07-05

Similar Documents

Publication Publication Date Title
CN106034261A (en) Visual networking service processing method and apparatus thereof
CN107172444B (en) A kind of network direct broadcasting reconnection method and system
CN109343929B (en) Multi-screen interaction method and system based on virtualized shared video memory
CN106537868A (en) System for dynamic audio visual capabilities exchange
CN109428864B (en) Method and device for improving quality of nginx-rtmp pull flow service
CN101751905A (en) Spliced wall data display processing method and system thereof
CN104639367B (en) A kind of method and system for realizing active/standby server switching
CN105681077A (en) Fault processing method, device and system
CN111385107B (en) Main/standby switching processing method and device for server
CN108259448A (en) The method and device of abnormal broken line during a kind of company of preventing wheat
CN105959827A (en) Data interaction method, set top box, and front-end server
CN102957623A (en) Maintenance method and equipment of neighborhood of border gate protocol
CN102917246B (en) Application data supplying method, device and system based on virtual machine
CN103812697B (en) The strange disaster recovery method and system of a kind of distributed communication network
CN112911325B (en) Method and device for recovering inter-live-broadcast room connection
CN103391303B (en) Service fault noticing method and server using same
CN102098174A (en) Safety communication method and system for power grid monitoring system
US20120017251A1 (en) Method and device for reducing interruption time of internet protocol television multicast stream
CN106168974A (en) The processing method of multisystem screenshotss file and system
CN107566475B (en) Session failover method and device
CN114422100B (en) Up-and-down connection processing system, computer equipment and medium of national standard signaling service terminal
CN102983997A (en) Method and device for migrating master services
CN110087333B (en) Method, device, equipment and storage medium for preventing service interruption
CN102546233A (en) Method for realizing serial heartbeat in high-availability cluster
CN103763115B (en) Method and device for processing protocol message

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 100000 Dongcheng District, Beijing, Qinglong Hutong 1, 1103 house of Ge Hua building.

Applicant after: Video Link Power Information Technology Co., Ltd.

Address before: 100000 Beijing Dongcheng District gogoa building A1103-1113

Applicant before: BEIJING VISIONVERA INTERNATIONAL INFORMATION TECHNOLOGY CO., LTD.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant