CN106792798A - Line detection method and device that mobile terminal remote is assisted - Google Patents

Line detection method and device that mobile terminal remote is assisted Download PDF

Info

Publication number
CN106792798A
CN106792798A CN201611064998.7A CN201611064998A CN106792798A CN 106792798 A CN106792798 A CN 106792798A CN 201611064998 A CN201611064998 A CN 201611064998A CN 106792798 A CN106792798 A CN 106792798A
Authority
CN
China
Prior art keywords
line
recipient
remote assistance
detection
stable operation
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
CN201611064998.7A
Other languages
Chinese (zh)
Other versions
CN106792798B (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 Qizhi Business Consulting Co ltd
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201611064998.7A priority Critical patent/CN106792798B/en
Publication of CN106792798A publication Critical patent/CN106792798A/en
Application granted granted Critical
Publication of CN106792798B publication Critical patent/CN106792798B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/08Protocols specially adapted for terminal emulation, e.g. Telnet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/12Communication route or path selection, e.g. power-based or shortest path routing based on transmission quality or channel quality
    • H04W40/14Communication route or path selection, e.g. power-based or shortest path routing based on transmission quality or channel quality based on stability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/22Communication route or path selection, e.g. power-based or shortest path routing using selective relaying for reaching a BTS [Base Transceiver Station] or an access point

Abstract

The invention provides line detection method and device that a kind of mobile terminal remote is assisted, the line detection method that wherein mobile terminal remote is assisted includes:Asked to the line that the recipient of remote assistance initiates remote assistance by network;Line detection is carried out to a plurality of line that the multiple relays existed between described sender and the recipient are provided, wherein, each line is detected as follows:Detectable signal is sent by the line;Through the line receive first the recipient for the detectable signal response message when, by the state of the line switch to running in but unstable connection state;Within a specified time, the signal detection response results according to the line determine whether the line being capable of stable operation;The line for being selected to stable operation sets up remote assistance between described sender and the recipient.Network stabilization can be improved using the present invention, shorten data transmission period, it is ensured that data accuracy, lift Consumer's Experience.

Description

Line detection method and device that mobile terminal remote is assisted
Technical field
The present invention relates to Internet technical field, the line detection method that more particularly to a kind of mobile terminal remote is assisted And device.
Background technology
With the fast development of Internet technology, the mobile terminal remote assistance services based on development of Mobile Internet technology are also got over More to popularize, widely used by user in daily life.Such as, user is running into some oneself still indeterminable things When, easily can assist to ask for help by mobile terminal remote.So, with mobile terminal remote assistance services day Become ripe and popularization, to the performance requirement more and more higher of network, therewith, to signal transmission during remote assistance between mobile terminal The more and more higher that stability requirement also becomes.
In the prior art, the mobile terminal of different user may be from different operators, or user mobile terminal It is same operator, but the user having may use WIFI network, and some users may use 2G, 3G, 4G network, such case Under, when terminal remote assistance is moved, easily there is unsure state in signal, is also possible to occur that packet is lost sometimes The problem of mistake, many inconvenience are brought to user.
Therefore, data when one kind is able to ensure that remote assistance between mobile terminal are needed badly now can stablize, it is quick and complete The connection mode of whole transmission improves network performance, and then lifts Consumer's Experience.
The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome above mentioned problem or at least in part solve on State line detection method and corresponding detection device that the mobile terminal remote of problem is assisted.
According to the one side of the embodiment of the present invention, there is provided the line detection method that a kind of mobile terminal remote is assisted, The initiator of remote assistance is applied to, methods described includes:
Asked to the line that the recipient of remote assistance initiates remote assistance by network;
Line is carried out to a plurality of line that the multiple relays existed between described sender and the recipient are provided Detection, wherein, each line is detected as follows:
Detectable signal is sent by the line;The recipient is received first for the detectable signal through the line During response message, the state of the line is switched in operating but unstable connection state;Within a specified time, according to the company The signal detection response results of line determine whether the line being capable of stable operation;
The line for being selected to stable operation sets up remote assistance between described sender and the recipient.
Optionally, within a specified time, the signal detection response results according to the line determine whether the line can be steady Fixed operation, including:
Within the specified time, it is determined whether when can continue to receive the response message from the recipient;
If so, by the status modifier of the line for can running status, and determine the line be steady operational status;
If not, it is determined that the line has been interrupted.
Optionally, within a specified time, the signal detection response results according to the line determine whether the line can be steady Fixed operation, also includes:
Detection is circulated to the line within the specified time, loop detection result is obtained;
With reference to the current connection state and the loop detection result of the line, further determine that whether the line can be steady Fixed operation.
Optionally, with reference to the current connection state and the loop detection result of the line, further determine that the line is It is no can stable operation, including:
If the current connection state of the line is in running but unstable, and the loop detection result is detection failure time Number is not more than predetermined threshold value, it is determined that the line being capable of stable operation;
If during the current connection state of the line is for operation, and the loop detection result is to detect the frequency of failure to be more than institute State predetermined threshold value, it is determined that the line is switched in operating but unstable connection state.
Optionally, if current connection state and the loop detection result with reference to line determine at least two line energy Enough stable operation, the line for being selected to stable operation is set up remote assistance between described sender and the recipient and is also wrapped Include:
Further compare the number of times of each line loop detection failure;
The minimum line of the selection loop detection frequency of failure sets up remote assistance between described sender and the recipient.
Optionally, the line for being selected to stable operation sets up remote assistance between described sender and the recipient, Also include:
When the line for being capable of stable operation has a plurality of, optimal company is gone out with reference at least one following parameter determination Line:Recipient's last time receives the time of packet, the time delay RTT of each line;
The optimal line of selection sets up remote assistance between described sender and the recipient.
Optionally, a plurality of line that the multiple relays existed between described sender and the recipient are provided is entered Row line is detected, and is also included:
Select in a plurality of line that the multiple relay is provided to carry out line detection at least using preset rules One line;
At least one line to selecting carries out line detection;
Wherein, the preset rules include at least one following:
The line being selected before this line;
State and it has been detected before in successful line in inoperative, away from the line not being detected at most currently;
Away from the line not being detected at most currently.
Optionally, methods described also includes:
If the network environment of remote assistance changes, line is selected between the initiator and the recipient again To set up remote assistance.
At least one optionally, the network environment of the remote assistance changes, including following:
There is new line to generate in the network environment;
There is line destroyed in the network environment;
The state for having line in the network environment is modified;
The receiving terminal receives long-range detectable signal;
The receiving terminal receives long-range packet.
Optionally, the detectable signal is Internet Explorer PING.
According to the other side of the embodiment of the present invention, there is provided the line detection dress that a kind of mobile terminal remote is assisted Put, be applied to the initiator of remote assistance, described device includes:
Line asks initiation module, and being suitable to please to the line that the recipient of remote assistance initiates remote assistance by network Ask;
Line detecting module, is suitable to what the multiple relays existed between described sender and the recipient were provided A plurality of line carries out line detection, wherein, each line is detected as follows:Detectable signal is sent by the line;Through The line receive first the recipient for the detectable signal response message when, the state of the line is switched into fortune In work but unstable connection state;Within a specified time, the signal detection response results according to the line determine that the line is It is no being capable of stable operation;
Remote assistance sets up module, is suitably selected for being capable of the line of stable operation between described sender and the recipient Set up remote assistance.
Optionally, the line detecting module is further adapted for:
Within the specified time, it is determined whether when can continue to receive the response message from the recipient;
If so, by the status modifier of the line for can running status, and determine the line be steady operational status;
If not, it is determined that the line has been interrupted.
Optionally, the line detecting module is further adapted for:
Detection is circulated to the line within the specified time, loop detection result is obtained;
With reference to the current connection state and the loop detection result of the line, further determine that whether the line can be steady Fixed operation.
Optionally, the line detecting module is further adapted for:
If the current connection state of the line is in running but unstable, and the loop detection result is detection failure time Number is not less than predetermined threshold value, it is determined that the line being capable of stable operation;
If during the current connection state of the line is for operation, and the loop detection result is to detect the frequency of failure to be more than institute State predetermined threshold value, it is determined that the line is switched in operating but unstable connection state.
Optionally, the remote assistance is set up module and is further adapted for:
If determining that at least two lines can be stablized with reference to the current connection state and the loop detection result of line Operation, the number of times that further more each line loop detection fails;
The minimum line of the selection loop detection frequency of failure sets up remote assistance between described sender and the recipient.
Optionally, the remote assistance is set up module and is further adapted for:
When the line for being capable of stable operation has a plurality of, optimal company is gone out with reference at least one following parameter determination Line:Recipient's last time receives the time of packet, the time delay RTT of each line;
The optimal line of selection sets up remote assistance between described sender and the recipient.
Optionally, the line detecting module is further adapted for:
Select in a plurality of line that the multiple relay is provided to carry out line detection at least using preset rules One line;
At least one line to selecting carries out line detection;
Wherein, the preset rules include at least one following:
The line being selected before this line;
State and it has been detected before in successful line in inoperative, away from the line not being detected at most currently;
Away from the line not being detected at most currently.
Optionally, described device also includes:
Restart module, if the network environment for being suitable to remote assistance changes, in the initiator and described connect again Line is selected between debit to set up remote assistance.
At least one optionally, the network environment for restarting the remote assistance in module changes, including following:
There is new line to generate in the network environment;
There is line destroyed in the network environment;
The state for having line in the network environment is modified;
The receiving terminal receives long-range detectable signal;
The receiving terminal receives long-range packet.
Optionally, the detectable signal is Internet Explorer PING.
According to the another aspect of the embodiment of the present invention, there is provided a kind of mobile terminal, including processor and memory:
The memory is used to store the program for performing the line detection method that any of the above-described mobile terminal remote is assisted;
The processor is configurable for performing the program stored in the memory.
It is above-mentioned for saving as according to the another aspect of the embodiment of the present invention, there is provided a kind of computer-readable storage medium The computer software instructions used by line detection device that mobile terminal remote is assisted, it is included for performing above-mentioned aspect to move The program designed by line detection device that dynamic terminal remote is assisted.
The embodiment of the present invention, in order to solve when mobile terminal remote is assisted, due to the mobile terminal affiliated fortune of user Battalion business is different, or the network that user uses when belonging to same operator is different, and mobile terminal remote assists process caused by The problem of the unstable and regular appearance data-bag lost of middle network signal, it is proposed that what a kind of mobile terminal remote was assisted Line detection method.The realization of the method can provide the user a transmission for high-quality when mobile terminal carries out remote assistance Passage, can reach the purpose of quick, complete stabilization transmission, while network can be improved to meet data by the passage Security performance, it is ensured that the accuracy of data, lifts Consumer's Experience.Specifically, the line between being assisted to mobile terminal remote enters Row detection, first, the initiator of remote assistance can initiate the line of remote assistance by network to the recipient of remote assistance Request, after the recipient of remote assistance receives the signal of line request, responds to the signal, shows biography between the two Defeated passage is connection, and the sender of remote assistance can set up connection in the transmission channel, carry out phase after receiving response The data transfer answered.But, there is a plurality of interface channel between the sender and recipient of remote assistance, in order to ensure signal The accuracy of stability and data, a plurality of line of multiple relays offer that can be to existing between sender and recipient Line detection is carried out, to find signal transmission is most stable, transmission speed is a most fast passage between sender and recipient Set up remote assistance.When being detected to each specific line, detectable signal can be sent by the line, the line connects Debit can respond after receiving detectable signal.After determining that the line is connected, the mobile terminal that the present embodiment is provided The line detection method of remote assistance, the state of the line is switched in operating but unstable connection state, and is not In it is determined that connection state directly to be switched to running after line connection.The transformation of this state switching avoids detection letter It is number follow-up transmission channel occur interrupting or other problemses and when causing line to interrupt, the stable state for determining before occurs again Unstable situation, further increases the stability of transmission.During line is in running but during unstable connection state, can With within a specified time, the signal detection response results according to the line determine the line whether can stable operation, be selection Go out an optimal line there is provided important foundation.Finally, the line that stable operation is selected to according to result of detection is sending Remote assistance is set up between side and recipient.As can be seen here, using method provided in an embodiment of the present invention, can be in mobile terminal During remote assistance, provide the user one and be able to ensure that signal stabilization, the interface channel of quick transmission.Avoid the occurrence of signal interruption And the problems such as data-bag lost, the stability of network is improve, shorten data transmission period, it is ensured that data accuracy, Consumer's Experience is improved, great convenience has been provided the user.
Described above is only the general introduction of technical solution of the present invention, in order to better understand technological means of the invention, And can be practiced according to the content of specification, and in order to allow the above and other objects of the present invention, feature and advantage can Become apparent, below especially exemplified by specific embodiment of the invention.
According to the accompanying drawings to the detailed description of the specific embodiment of the invention, those skilled in the art will be brighter Of the invention above-mentioned and other purposes, advantages and features.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit is common for this area Technical staff will be clear understanding.Accompanying drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention Limitation.And in whole accompanying drawing, identical part is denoted by the same reference numerals.In the accompanying drawings:
Fig. 1 is the handling process of the line detection method that mobile terminal remote according to an embodiment of the invention is assisted Figure;
Fig. 2 is the various connection mode schematic diagrames between mobile terminal remote according to an embodiment of the invention is assisted;
Fig. 3 is three kinds of mode figures of the detected line of use preset rules selection according to an embodiment of the invention;
Fig. 4 is that the multiple relays to existing between sender and recipient according to an embodiment of the invention are provided The process chart that is detected of each line;
Fig. 5 is the standing state transition graph of the line that mobile terminal remote according to an embodiment of the invention is assisted;
Fig. 6 is the state transition diagram of the present invention of the line that mobile terminal remote according to an embodiment of the invention is assisted;
Fig. 7 is the schematic frame of the line detection device that mobile terminal remote according to an embodiment of the invention is assisted Figure;
Fig. 8 is another signal for the line detection device that mobile terminal remote according to an embodiment of the invention is assisted Property block diagram;And
Fig. 9 is the structural representation of mobile terminal according to an embodiment of the invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in accompanying drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here Limited.Conversely, there is provided these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure Complete conveys to those skilled in the art.
In order to solve the above technical problems, the embodiment of the invention provides the line detection side that a kind of mobile terminal remote is assisted Method.Fig. 1 is the process chart of the line detection method that mobile terminal remote according to an embodiment of the invention is assisted.As schemed Shown in 1, the line detection method that mobile terminal remote is assisted at least includes step S102 to step S106:
Step S102, the line request for initiating remote assistance to the recipient of remote assistance by network;
The a plurality of line that step S104, the multiple relays to existing between sender and recipient are provided (connection) line detection is carried out, wherein, each line is detected as follows:
Detectable signal is sent by the line;Response message of the recipient for detectable signal is received first through the line When, the state of the line is switched in operating but unstable connection state;Within a specified time, according to the signal of the line Probe response result determines whether the line being capable of stable operation;
Step S106, the line for being selected to stable operation set up remote assistance between sender and recipient.
The embodiment of the present invention, in order to solve when mobile terminal remote is assisted, due to the mobile terminal affiliated fortune of user Battalion business is different, or the network that user uses when belonging to same operator is different, and mobile terminal remote assists process caused by The problem of the unstable and regular appearance data-bag lost of middle network signal, it is proposed that what a kind of mobile terminal remote was assisted Line detection method.The realization of the method can provide the user a transmission for high-quality when mobile terminal carries out remote assistance Passage, the purpose of quick, complete stabilization transmission can be reached to meet data, while the security performance of network can be improved, really The accuracy of data is protected, Consumer's Experience is lifted.Specifically, the line between being assisted to mobile terminal remote is detected, first, The initiator of remote assistance can be asked by network to the line that the recipient of remote assistance initiates remote assistance, remotely assisted After the recipient for helping receives the signal of line request, the signal is responded, show that transmission channel between the two is connection , the sender of remote assistance can set up connection after receiving response in the transmission channel, carry out corresponding data transfer. But, there is a plurality of interface channel between the sender and recipient of remote assistance, in order to ensure the stability and data of signal Accuracy, line spy can be carried out to a plurality of line that multiple relays for existing between sender and recipient are provided Survey, long-range association is set up between sender and recipient to find the passage that transmission signal is most stable, transmission speed is most fast Help.When being detected to each specific line, detectable signal can be sent by the line, the recipient of the line receives Can be responded after detectable signal.After determining that the line is connected, what the mobile terminal remote that the present embodiment is provided was assisted Line detection method, the state of the line is switched in operating but unstable connection state, and is not it is determined that the company Line directly switches to connection state after connecting in operating.It is follow-up in biography that the transformation of this state switching avoids detectable signal When defeated passage interruption or other problemses occurs and causes line to interrupt, the stable state for determining before occurs unstable shape again Condition, further increases the stability of transmission.During line is in running but during unstable connection state, can be when specified It is interior, the signal detection response results according to the line determine the line whether can stable operation, it is optimal to select one Line provide important foundation.Finally, the line of stable operation is selected to according to result of detection in sender and recipient Between set up remote assistance.As can be seen here, using method provided in an embodiment of the present invention, can be assisted in mobile terminal remote When, provide the user one and be able to ensure that signal stabilization, the interface channel of quick transmission.Avoid the occurrence of signal interruption and data The problems such as packet loss, the stability of network is improve, shorten data transmission period, it is ensured that data accuracy, improve use Family is experienced, and has provided the user great convenience.
Specifically, using mobile terminal remote provided in an embodiment of the present invention assist line detection method when, with As a example by family is through commonly used mobile terminal (mobile phone, panel computer etc., subsequently by taking the mobile phone commonly used as an example) remote assistance.Such as, The mobile terminal that user A is held is initiator's (distinguishing for convenience, afterwards abbreviation user A) of this remote assistance, and user B is held Mobile terminal is the recipient (abbreviation user B afterwards) of this remote assistance.Using method provided in an embodiment of the present invention, long-range association The initiator (i.e. user A) for helping initiates the line that mobile phone remote is assisted by network to the recipient (i.e. user B) of remote assistance Request, after user B receives the line request signal, corresponding feedback is made to the request signal.Please if user B receives Ask, then the line of remote assistance is connected, and user A, B can carry out remote assistance by the line.If user B refusal requests, Then the line of remote assistance is interrupted.Therebetween, after user B receives request, remote assistance can be carried out by a plurality of line.Figure 2 is the schematic diagram of the various connection modes between mobile terminal remote according to an embodiment of the invention is assisted.Such as Fig. 2 institutes Show, connection can be set up by way of directly transmission between user A and user B, it is also possible to set up by transfer server Connection.P2P (Peer to Peer, peer-to-peer network) be it is a kind of distributed between fellow (Peer) task and workload point Cloth application architecture, is a kind of networking or latticed form that P2P computing model is formed in application layer.STUN(Simple The UDP of Traversal of UDP over NATS, NAT (Network Address Translation, network address translation) Simple traversal) it is a kind of procotol, it allows the client being located at after NAT (or multiple NAT) to find out the public network address of oneself, Oneself is found after which type of NAT and NAT is the network port bound in some local port.UDP(User Datagram Protocol, UDP), it is OSI (Open System Interconnection, open system System interconnection) a kind of connectionless transport layer protocol in reference model, there is provided towards the simple unreliable information transmission service of affairs. TCP (Transmission Control Protocol, transmission control protocol) be it is a kind of it is connection-oriented, reliable, based on word The transport layer communication protocol of throttling.Carry out that different lines can be selected to set up company during remote assistance between user A and user B Connect.In the present embodiment, user A is the side (ICE_CONTROLLING) for initiating line, and user B is the side for receiving line (ICE_CONTROLLED).When setting up connection, connection status (connect state) is divided into two kinds:(connected) on line Non- line (not connected) (TCP lines just have non-connection state).Reception state (receive state, it is descending Transmission) it is divided into two kinds:Reception does not operate (not receiving) and receives in running (receiving).Write state (write State, uplink) it is divided into four kinds:In original state (init), transmission running, but unstable (unreliable), transmission fortune (writable) and transmission are overtime (timeout) in work.
Accordingly, the cloth of transfer server builds selection and the selection of connection mode can directly affect the quality of line, therefore, In order in remote assistance, signal can more be stablized, data transfer can be more smooth, can be between user A and user B Exist multiple relays provide a plurality of line carry out line detection, with find an optimal interface channel user A, Connection is set up between B.
Further, a plurality of line that the multiple relays existed between user A and user B are provided is detected, can With using preset rules, selection carries out at least one line of line in a plurality of line that above-mentioned multiple relays are provided.Adopt There can be various ways when selecting detected line with preset rules, Fig. 3 is illustrated that according to an embodiment of the invention Using three kinds of mode figures of the detected line of preset rules selection.As shown in Figure 3:
The first, can select the line (Selected connection) being selected before this line.
Second, state can be selected in inoperative and be detected before in successful line, do not had at most away from currently The line being detected (in the connection of non-writable and once successful ping, does not have ping's at most connection)。
The third, can select (do not have ping's at most away from the line not being detected at most currently connection)。
After selecting line according to the above method, the present embodiment proposes a kind of detection that specific detection is carried out to the line Method.Fig. 4 is that the multiple relays to existing between sender and recipient according to an embodiment of the invention are provided The process chart that each line is detected.As shown in figure 4, the detection method at least includes step S402 to step S406:
Step S402, detectable signal is sent by the line;
Step S404, received first through the line recipient for detectable signal response message when, by the line State is switched in operating but unstable connection state;
Step S406, within a specified time, the signal detection response results according to the line determine that whether the line can Stable operation.
Specifically, user A can send detectable signal PING (Packet Internet Groper) by the line. PING is an order under Windows, Unix and linux system, is also a kind of the Internet packets survey meter, for checking network Whether it is unobstructed or determine network connection speed.Using the uniqueness of machine IP address on network, one is sent to target ip address Individual packet, then require that other side returns to an an equal amount of packet and communicates determining whether two net machines connect, and It is determined that specific time delay is how many.Can every the set time, attempt one line of selection send PING (be possible to choosing not out, Choosing not out just not send), now, be divided into both of which:Frequent mode and general modfel.Frequent mode is to choosing every 48ms The line selected out sends out a PING, and general modfel is to send out a PING to the line selected every 250ms.One can also be set Individual shortest time interval, often sends out a PING through the time interval to the line selected, and the time interval can be according to selected The state of the line selected determines.Therefore, after step S402 execution terminates, user B receives the detection letter of user A transmissions Number, and respective feedback is made for the signal, when user A receives responses of the user B for detectable signal first through the line During message, the state of the line is switched accordingly.
Fig. 5 shows the standing state migration of the line that mobile terminal remote according to an embodiment of the invention is assisted Figure.As shown in figure 5, user A sends detectable signal by the line, user B receives the detectable signal of user A transmissions and makes Feedback, produces the original state (step 51) of connection, when user A receives sound of the user B for the signal first through the line When answering message, the state of the line is switched in operating (step 52), if not received long for spy very much after the state Survey signal response message, then by the state switch to running in but it is unstable (step 53), if in running but unstable Response message is received under state, is then switched in running (step 54) connection state again, if do not receive response long very much disappearing Breath, then transmit overtime (step 55), and the connection mode is destroyed (destroy) (step 57).If connection state is in transmission and transports In work and when having identical network cost (network cost) with priority (priority), then transmit overtime (step 56), The connection mode is destroyed (step 57).But now when remote assistance is carried out with mobile phone, it is possible to original network letter occurs Number stabilization but the unstable situation of network signal after a while, it is impossible to the problems such as avoiding signal interruption.
Therefore, the embodiment of the present invention performs step S404, Fig. 6 shows mobile terminal according to an embodiment of the invention The state transition diagram of the present invention of the line of remote assistance.As shown in fig. 6, user B receives the detectable signal of user A transmissions and does Go out feedback, then produce the original state (step 61) of connection, when user A receives user B for the signal first through the line Response message when, if network condition can significantly be defined as stable state, now, for the speed of Speed-up Establishment line, Can by line directly be set as running in state and trial be transmitted (step 62-a), if being unable to the stabilization of definite network Property, then by the state of the line switch to running in but it is unstable (step 62-b), now when remote assistance is carried out with mobile phone, User can't directly think that network is in stable state as of the prior art, but think that network plays pendulum, And then signal detection can be proceeded, the problems such as find more stable line to avoid signal interruption.
Step S404 is performed after terminating, and determines that the line between user A and user B is in running but unstable shape State, in order to find more stable line, proceeds signal detection, step S406 is performed, within a specified time, according to the line Signal detection response results further determine that whether the line being capable of stable operation.Responded according to the signal detection of the line When result determines whether the stable state of line, two aspects can be divided into:
One side, within a specified time, it is determined whether can continue to receive the response message from recipient.
Specifically, judgement is analyzed to the signal detection response results of line, if user A within a specified time can The response message from user B is continued to, illustrates that the line is constantly in connected state, user can be supplied to enter line number According to transmission, so by the status modifier of the line for can running status, and determine the line be steady operational status.If user A does not receive the response message from user B within a specified time, illustrates that the line has been interrupted, then destroy the line, no Consider further that.
Second aspect, is within a specified time circulated detection to the line, obtains loop detection result, and then, knot The current connection state and loop detection result of the line are closed, further determines that whether the line being capable of stable operation.
Specifically, when line is entered into running but during unsure state for the first time, starting the cycle over detection, each round is tasted Examination PING10 times.Wherein, if there is line not yet to complete PING times basic number, or line unstable state regularly, can adopt Frequent detection mode is taken, a PING is sent out to the line every 48ms.To the company of chosen mistake before selecting this line When line is circulated detection, if the line is in running but unsure state, can be sent out once to the line every 900ms PING.If the line is in state in operating, a PING can be sent out to the line every 2500ms, now should at least send out 5 Secondary PING, if there is the PING for not yet responding, the time that it sends is no more than 2 times of average RTT (Round-Trip Time, during delay Between).When the line backed up between is circulated detection, a PING can be sent out to the line every 2500ms.If user A It is in operating but unsure state with the connection state between user B, at this point it is possible to further true with reference to loop detection result Whether the fixed line being capable of stable operation.When loop detection result is not more than predetermined threshold value for the detection frequency of failure, this is illustrated Line current state is more stable.As shown in Figure 6, if predetermined threshold value is 3, when the detection frequency of failure of loop detection result is 0th, 1,2,3 when, show the detection frequency of failure no more than predetermined threshold value, determine the line can stable operation, then by the line shape State is switched in operation (step 63).If during connection state between user A and user B is for operation, at this time it is also possible to reference to following Ring result of detection further determines that whether the line being capable of stable operation.When loop detection result is pre- for the detection frequency of failure is more than If during threshold value, illustrating that the line current state is unstable, such as Fig. 6, predetermined threshold value is 3, when the detection of loop detection result fails When number of times is 4,5,6,7 ..., show that the detection frequency of failure, more than predetermined threshold value, determines the line fluctuation of service, then should Line is switched in operating but unstable connection state (step 64).If do not receive long very much believing for detection in this condition Number response message, then transmit overtime (step 65), the connection mode is destroyed (step 66).
After above-mentioned steps execution terminates, if the current connection state and loop detection result with reference to line are determined at least Two lines can stable operation, remote assistance is set up between sender and recipient in the line for being selected to stable operation When, can further compare the number of times of each line loop detection failure, the stability of the fewer line of the loop detection frequency of failure It is higher, can select the minimum line of the loop detection frequency of failure that remote assistance is set up between sender and recipient.Such as, if With reference to line current connection state and loop detection result determine three lines can stable operation, wherein, first company The loop detection frequency of failure of line is 1, and the loop detection frequency of failure of Article 2 line is 2, the loop detection of Article 3 line The frequency of failure is 3, then first line for selecting the loop detection frequency of failure minimum is set up far between sender and recipient Journey is assisted.
Further, when the line for being selected to stable operation sets up remote assistance between sender and recipient, Except above-mentioned selection decision method, if the line for being capable of stable operation has a plurality of, can also be received last time with reference to recipient The time of packet, or each line the parameter such as time delay RTT, select optimal line sender and recipient it Between set up remote assistance.Such as, when line is in the state in running, if having more than 5 PING not yet reply, and between the time Every all having been over average RTT, and in the PING for not yet replying, the time interval for sending earliest then should more than 5000ms Line is switched in operating but unsure state.When line is in running but when unsure state or original state, If in the PING for not yet replying, the time interval for sending earliest then transmits time-out, the connected mode quilt of the line more than 5000ms Destroy.
Selecting after optimal line sets up remote assistance between sender and recipient, if the net of remote assistance Network environment changes, such as ((candidate sends out to have new connection to produce new line generation in network environment Changing)), have in network environment and to have the state quilt of line in line destroyed (connection is by destroy), network environment Change (connection state or receive state or the write state of connection change), receiving terminal Receive long-range detectable signal (ICE_CONTROLLED ends receive long-range ping) or receiving terminal receives long-range number According to bag (ICE_CONTROLLED ends receive long-range packet) etc., then line is selected between initiator and recipient again To set up remote assistance.
In summary, the line detection method assisted using mobile terminal remote provided in an embodiment of the present invention, Ke Yi When mobile terminal remote is assisted, provide the user one and be able to ensure that signal stabilization, the interface channel of quick transmission.Avoid the occurrence of The problems such as signal interruption and data-bag lost, network stabilization is improve, shorten data transmission period, it is ensured that data are accurate True property, improves Consumer's Experience, has provided the user great convenience.
Based on same inventive concept, the embodiment of the present invention additionally provides the line detection dress that a kind of mobile terminal remote is assisted Put.Fig. 7 shows the schematic block diagram of the line detection device that mobile terminal remote according to an embodiment of the invention is assisted. As shown in fig. 7, the line detection device that mobile terminal remote is assisted at least includes:
Line asks initiation module 710, is suitable to be initiated to the recipient of remote assistance by network the line of remote assistance Request;
Line detecting module 720, couples with line request initiation module 710, is suitable to being deposited between sender and recipient Multiple relays provide a plurality of line carry out line detection, wherein, each line is detected as follows:Pass through The line sends detectable signal;Through the line receive first recipient for detectable signal response message when, by the line State switch to running in but unstable connection state;Within a specified time, the signal detection response knot according to the line Fruit determines whether the line being capable of stable operation;
Remote assistance sets up module 730, is coupled with line detecting module 720, is suitably selected for being capable of the line of stable operation Remote assistance is set up between sender and recipient.
In a preferred embodiment, line detecting module 720 is further adapted for:
Within a specified time, it is determined whether when can continue to receive the response message from recipient;
If so, by the status modifier of the line for can running status, and determine the line be steady operational status;
If not, it is determined that the line has been interrupted.
In a preferred embodiment, line detecting module 720 is further adapted for:
Detection within a specified time is circulated to the line, loop detection result is obtained;
With reference to the current connection state and loop detection result of the line, further determine that whether the line can be stablized and transport OK.
In a preferred embodiment, line detecting module 720 is further adapted for:
If the current connection state of the line is in running but unstable, and loop detection result is to detect the frequency of failure not Less than predetermined threshold value, it is determined that the line being capable of stable operation;
If during the current connection state of the line is for operation, and loop detection result is more than default threshold to detect the frequency of failure Value, it is determined that the line is switched in operating but unstable connection state.
In a preferred embodiment, remote assistance is set up module 730 and is further adapted for:
If with reference to line current connection state and loop detection result determine at least two lines can stable operation, Further compare the number of times of each line loop detection failure;
The minimum line of the selection loop detection frequency of failure sets up remote assistance between sender and recipient.
In a preferred embodiment, remote assistance is set up module 730 and is further adapted for:
When the line for being capable of stable operation has a plurality of, optimal company is gone out with reference at least one following parameter determination Line:Recipient received the time of packet, the time delay RTT of each line last time;
The optimal line of selection sets up remote assistance between sender and recipient.
In a preferred embodiment, line detecting module 720 is further adapted for:
Select in a plurality of line that multiple relays are provided to carry out at least one of line detection using preset rules Line;
At least one line to selecting carries out line detection;
Wherein, preset rules include at least one following:
The line being selected before this line;
State and it has been detected before in successful line in inoperative, away from the line not being detected at most currently;
Away from the line not being detected at most currently.
In a preferred embodiment, as shown in figure 8, the line detection device that mobile terminal remote is assisted also includes:
Restart module 740, setting up module 730 with remote assistance couples, if the network environment for being suitable to remote assistance becomes Change, then select line to set up remote assistance between initiator and recipient again.
In a preferred embodiment, the network environment for restarting the remote assistance in module 740 changes, including under At least one row:
There is new line to generate in network environment;
There is line destroyed in network environment;
The state for having line in network environment is modified;
Receiving terminal receives long-range detectable signal;
Receiving terminal receives long-range packet.
In a preferred embodiment, detectable signal is Internet Explorer.
Additionally, the embodiment of the present invention additionally provides a kind of mobile terminal, as shown in figure 9, including processor and memory:Deposit Reservoir is used to store the line for performing that above-mentioned any one preferred embodiment or the provided mobile terminal remote of its combination are assisted The program of detection method;
Processor is configurable for performing the program stored in memory.
For convenience of description, Fig. 9 illustrate only the part related to the embodiment of the present invention, and particular technique details is not disclosed , refer to present invention method part.The mobile terminal can include mobile phone, panel computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), vehicle-mounted computer etc. it is any eventually End equipment, so that terminal is as mobile phone as an example:
Fig. 9 is illustrated that the block diagram of the part-structure of the mobile phone related to mobile terminal provided in an embodiment of the present invention.Ginseng Fig. 9 is examined, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 910, memory 920, input block 930, display unit 940th, sensor 950, voicefrequency circuit 960, Wireless Fidelity (wireless fidelity, WiFi) module 970, processor 980, And the grade part of power supply 990.It will be understood by those skilled in the art that the handset structure shown in Fig. 9 is not constituted to mobile phone Limit, part more more or less than diagram can be included, or combine some parts, or different part arrangements.
Each component parts of mobile phone is specifically introduced with reference to Fig. 9:
RF circuits 910 can be used to receiving and sending messages or communication process in, the reception and transmission of signal, especially, by base station After downlink information is received, processed to processor 980;In addition, up data is activation will be designed to base station.Generally, RF circuits 910 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..Additionally, RF circuits 910 can also be communicated by radio communication with network and other equipment. Above-mentioned radio communication can use any communication standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memory 920 can be used to store software program and module, and processor 980 is by running storage in memory 920 Software program and module, so as to perform various function application and the data processing of mobile phone.Memory 920 can mainly include Storing program area and storage data field, wherein, the application journey that storing program area can be needed for storage program area, at least one function Sequence (such as sound-playing function, image player function etc.) etc.;Storage data field can be stored and use what is created according to mobile phone Data (such as voice data, phone directory etc.) etc..Additionally, memory 920 can include high-speed random access memory, can be with Including nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-states Part.
Input block 930 can be used to receive the numeral or character information of input, and produce with the user of mobile phone set with And the relevant key signals input of function control.Specifically, input block 930 may include that contact panel 931 and other inputs set Standby 932.Contact panel 931, also referred to as touch-screen, user can be collected thereon or neighbouring touch operation (such as user uses The operation of any suitable object such as finger, stylus or annex on contact panel 931 or near contact panel 931), and root Corresponding attachment means are driven according to formula set in advance.Optionally, contact panel 931 may include touch detecting apparatus and touch Two parts of controller.Wherein, touch detecting apparatus detect the touch orientation of user, and detect the signal that touch operation brings, Transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into touching Point coordinates, then give processor 980, and the order sent of receiving processor 980 and can be performed.Furthermore, it is possible to using electricity The polytypes such as resistive, condenser type, infrared ray and surface acoustic wave realize contact panel 931.Except contact panel 931, input Unit 930 can also include other input equipments 932.Specifically, other input equipments 932 can include but is not limited to secondary or physical bond One or more in disk, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Display unit 940 can be used for show by user input information or be supplied to user information and mobile phone it is various Menu.Display unit 940 may include display panel 941, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Show panel 941.Further, contact panel 931 can cover display panel 941, when contact panel 931 detect it is thereon or attached After near touch operation, processor 980 is sent to determine the type of touch event, with preprocessor 980 according to touch event Type corresponding visual output is provided on display panel 941.Although in fig .9, contact panel 931 and display panel 941 It is input and the input function that mobile phone is realized as two independent parts, but in some embodiments it is possible to by touch-control Panel 931 and display panel 941 be integrated and input that realize mobile phone and output function.
Mobile phone may also include at least one sensor 950, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel 941, proximity transducer can close display panel 941 when mobile phone is moved in one's ear And/or backlight.As one kind of motion sensor, (generally three axles) acceleration in the detectable all directions of accelerometer sensor Size, size and the direction of gravity are can detect that when static, can be used for recognize mobile phone attitude application (such as horizontal/vertical screen is cut Change, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;May be used also as mobile phone The other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared ray sensor of configuration, will not be repeated here.
Voicefrequency circuit 960, loudspeaker 961, microphone 962 can provide the COBBAIF between user and mobile phone.Audio-frequency electric Electric signal after the voice data conversion that road 960 will can receive, is transferred to loudspeaker 961, and sound is converted to by loudspeaker 961 Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 962, is turned after being received by voicefrequency circuit 960 It is changed to voice data, then after voice data output processor 980 is processed, through RF circuits 910 to be sent to such as another mobile phone, Or export to memory 920 so as to further treatment voice data.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 970 Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 9 shows WiFi module 970, but it is understood that, it is simultaneously not belonging to must be configured into for mobile phone, can not change as needed completely Become in the essential scope of invention and omit.
Processor 980 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, is led to Cross operation or perform software program of the storage in memory 920 and/or module, and call storage in memory 920 Data, perform the various functions and processing data of mobile phone, so as to carry out integral monitoring to mobile phone.Optionally, processor 980 can be wrapped Include one or more processing units;Preferably, processor 980 can integrated application processor and modem processor, wherein, should Operating system, user interface and application program etc. are mainly processed with processor, modem processor mainly processes radio communication. It is understood that above-mentioned modem processor can not also be integrated into processor 980.
Mobile phone also includes the power supply 990 (such as battery) powered to all parts, it is preferred that power supply can be by power supply pipe Reason system is logically contiguous with processor 980, so as to realize management charging, electric discharge and power managed by power-supply management system Etc. function.
Although not shown, mobile phone can also will not be repeated here including camera, bluetooth module etc..
Using mobile terminal remote provided in an embodiment of the present invention assist line detection method and device can reach as Lower beneficial effect:
The embodiment of the present invention, in order to solve when mobile terminal remote is assisted, due to the mobile terminal affiliated fortune of user Battalion business is different, or the network that user uses when belonging to same operator is different, and mobile terminal remote assists process caused by The problem of the unstable and regular appearance data-bag lost of middle network signal, it is proposed that what a kind of mobile terminal remote was assisted Line detection method.The realization of the method can provide the user a transmission for high-quality when mobile terminal carries out remote assistance Passage, the purpose of complete, stable, quick transmission can be reached to meet data, while the security performance of network can be improved, really The accuracy of data is protected, Consumer's Experience is lifted.Specifically, the line between being assisted to mobile terminal remote is detected, first, The initiator of remote assistance can be asked by network to the line that the recipient of remote assistance initiates remote assistance, remotely assisted After the recipient for helping receives the signal of line request, the signal is responded, show that transmission channel between the two is connection , the sender of remote assistance can set up connection after receiving response in the transmission channel, carry out corresponding data transfer. But, there is a plurality of interface channel between the sender and recipient of remote assistance, in order to ensure the stability and data of signal Accuracy, line spy can be carried out to a plurality of line that multiple relays for existing between sender and recipient are provided Survey, to find the passage that transmission signal is most stable, transmission speed is most fast.When being detected to each specific line, can Detectable signal is sent with by the line, the recipient of the line can respond after receiving detectable signal.Determine the line After connection, the line detection method that the mobile terminal remote that the present embodiment is provided is assisted switches the state of the line Into operating but unstable connection state, and it is not it is determined that connection state directly is switched into fortune after line connection In work.The transformation of this state switching avoids detectable signal subsequently to be there are interruption or other problemses and causes to connect in transmission channel When line is interrupted, the stable state for determining before occurs unstable situation again, further increases the stability of transmission.Even When line is in connection state in running but unstable, can within a specified time, the signal detection response knot according to the line Fruit determine the line whether can stable operation, provide important foundation to select an optimal line.Finally, according to spy The line that survey result is selected to stable operation sets up remote assistance between sender and recipient.As can be seen here, using this The method that inventive embodiments are provided, can provide the user bars transmission stable, quick when mobile terminal remote is assisted Interface channel.The problems such as avoiding the occurrence of signal interruption and data-bag lost, improves the stability of network, shortens data Transmission time, it is ensured that data accuracy, improves Consumer's Experience, has provided the user great convenience.
In specification mentioned herein, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be put into practice in the case of without these details.In some instances, known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify one or more that the disclosure and helping understands in each inventive aspect, exist Above to the description of exemplary embodiment of the invention in, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor The application claims of shield features more more than the feature being expressly recited in each claim.More precisely, such as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, and wherein each claim is in itself All as separate embodiments of the invention.
Those skilled in the art are appreciated that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment Unit or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit exclude each other, can use any Combine to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power Profit is required, summary and accompanying drawing) disclosed in each feature can the alternative features of or similar purpose identical, equivalent by offer carry out generation Replace.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in detail in the claims, embodiment required for protection it is one of any Mode can use in any combination.
All parts embodiment of the invention can be realized with hardware, or be run with one or more processor Software module realize, or with combinations thereof realize.It will be understood by those of skill in the art that can use in practice Microprocessor or digital signal processor (DSP) realize the line that mobile terminal remote according to embodiments of the present invention is assisted The some or all functions of some or all parts in detecting devices.The present invention is also implemented as performing here Some or all equipment or program of device of described method are (for example, computer program and computer program are produced Product).It is such to realize that program of the invention be stored on a computer-readable medium, or can have one or more The form of signal.Such signal can be downloaded from internet website and obtained, or be provided on carrier signal, or to appoint What other forms is provided.
It should be noted that above-described embodiment the present invention will be described rather than limiting the invention, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol being located between bracket should not be configured to limitations on claims.Word "comprising" is not excluded the presence of not Element listed in the claims or step.Word "a" or "an" before element is not excluded the presence of as multiple Element.The present invention can come real by means of the hardware for including some different elements and by means of properly programmed computer It is existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame Claim.
So far, although those skilled in the art will appreciate that detailed herein have shown and described multiple of the invention and show Example property embodiment, but, without departing from the spirit and scope of the present invention, still can be direct according to present disclosure It is determined that or deriving many other variations or modifications for meeting the principle of the invention.Therefore, the scope of the present invention is understood that and recognizes It is set to and covers all these other variations or modifications.
Based on one aspect of the present invention, the line detection method that A1, a kind of mobile terminal remote are assisted is disclosed, application In the initiator of remote assistance, including:
Asked to the line that the recipient of remote assistance initiates remote assistance by network;
Line is carried out to a plurality of line that the multiple relays existed between described sender and the recipient are provided Detection, wherein, each line is detected as follows:
Detectable signal is sent by the line;The recipient is received first for the detectable signal through the line During response message, the state of the line is switched in operating but unstable connection state;Within a specified time, according to the company The signal detection response results of line determine whether the line being capable of stable operation;
The line for being selected to stable operation sets up remote assistance between described sender and the recipient.
A2, the method according to A1, wherein, within a specified time, the signal detection response results according to the line are true The fixed line whether can stable operation, including:
Within the specified time, it is determined whether when can continue to receive the response message from the recipient;
If so, by the status modifier of the line for can running status, and determine the line be steady operational status;
If not, it is determined that the line has been interrupted.
A3, the method according to A2, wherein, within a specified time, the signal detection response results according to the line are true The fixed line whether can stable operation, also include:
Detection is circulated to the line within the specified time, loop detection result is obtained;
With reference to the current connection state and the loop detection result of the line, further determine that whether the line can be steady Fixed operation.
A4, the method according to A3, wherein, with reference to the current connection state and the loop detection result of the line, Further determine that the line whether can stable operation, including:
If the current connection state of the line is in running but unstable, and the loop detection result is detection failure time Number is not more than predetermined threshold value, it is determined that the line being capable of stable operation;
If during the current connection state of the line is for operation, and the loop detection result is to detect the frequency of failure to be more than institute State predetermined threshold value, it is determined that the line is switched in operating but unstable connection state.
A5, the method according to any one of A3 or A4, wherein, if current connection state and the circulation with reference to line Result of detection determine at least two lines can stable operation, be selected to the line of stable operation in described sender and institute Setting up remote assistance between stating recipient also includes:
Further compare the number of times of each line loop detection failure;
The minimum line of the selection loop detection frequency of failure sets up remote assistance between described sender and the recipient.
A6, the method according to any one of A1-A5, wherein, the line of stable operation is selected in described sender Remote assistance is set up between the recipient, is also included:
When the line for being capable of stable operation has a plurality of, optimal company is gone out with reference at least one following parameter determination Line:Recipient's last time receives the time of packet, the time delay RTT of each line;
The optimal line of selection sets up remote assistance between described sender and the recipient.
A7, the method according to any one of A1-A6, wherein, to what is existed between described sender and the recipient The a plurality of line that multiple relays are provided carries out line detection, also includes:
Select in a plurality of line that the multiple relay is provided to carry out line detection at least using preset rules One line;
At least one line to selecting carries out line detection;
Wherein, the preset rules include at least one following:
The line being selected before this line;
State and it has been detected before in successful line in inoperative, away from the line not being detected at most currently;
Away from the line not being detected at most currently.
A8, the method according to any one of A1-A7, wherein, also include:
If the network environment of remote assistance changes, line is selected between the initiator and the recipient again To set up remote assistance.
A9, the method according to A8, wherein, the network environment of the remote assistance changes, including it is following at least One of:
There is new line to generate in the network environment;
There is line destroyed in the network environment;
The state for having line in the network environment is modified;
The receiving terminal receives long-range detectable signal;
The receiving terminal receives long-range packet.
A10, the method according to any one of A1-A9, wherein, the detectable signal is Internet Explorer PING.
According to another aspect of the present invention, the line detection dress that B11, a kind of mobile terminal remote are assisted is also disclosed Put, be applied to the initiator of remote assistance, including:
Line asks initiation module, and being suitable to please to the line that the recipient of remote assistance initiates remote assistance by network Ask;
Line detecting module, is suitable to what the multiple relays existed between described sender and the recipient were provided A plurality of line carries out line detection, wherein, each line is detected as follows:Detectable signal is sent by the line;Through The line receive first the recipient for the detectable signal response message when, the state of the line is switched into fortune In work but unstable connection state;Within a specified time, the signal detection response results according to the line determine that the line is It is no being capable of stable operation;
Remote assistance sets up module, is suitably selected for being capable of the line of stable operation between described sender and the recipient Set up remote assistance.
B12, the device according to B11, wherein, the line detecting module is further adapted for:
Within the specified time, it is determined whether when can continue to receive the response message from the recipient;
If so, by the status modifier of the line for can running status, and determine the line be steady operational status;
If not, it is determined that the line has been interrupted.
B13, the device according to B12, wherein, the line detecting module is further adapted for:
Detection is circulated to the line within the specified time, loop detection result is obtained;
With reference to the current connection state and the loop detection result of the line, further determine that whether the line can be steady Fixed operation.
B14, the device according to B13, wherein, the line detecting module is further adapted for:
If the current connection state of the line is in running but unstable, and the loop detection result is detection failure time Number is not less than predetermined threshold value, it is determined that the line being capable of stable operation;
If during the current connection state of the line is for operation, and the loop detection result is to detect the frequency of failure to be more than institute State predetermined threshold value, it is determined that the line is switched in operating but unstable connection state.
B15, the device according to any one of B13 or B14, wherein, the remote assistance is set up module and is further adapted for:
If determining that at least two lines can be stablized with reference to the current connection state and the loop detection result of line Operation, the number of times that further more each line loop detection fails;
The minimum line of the selection loop detection frequency of failure sets up remote assistance between described sender and the recipient.
B16, the device according to any one of B11-B15, wherein, the remote assistance is set up module and is further adapted for:
When the line for being capable of stable operation has a plurality of, optimal company is gone out with reference at least one following parameter determination Line:Recipient's last time receives the time of packet, the time delay RTT of each line;
The optimal line of selection sets up remote assistance between described sender and the recipient.
B17, the device according to any one of B11-B16, wherein, the line detecting module is further adapted for:
Select in a plurality of line that the multiple relay is provided to carry out line detection at least using preset rules One line;
At least one line to selecting carries out line detection;
Wherein, the preset rules include at least one following:
The line being selected before this line;
State and it has been detected before in successful line in inoperative, away from the line not being detected at most currently;
Away from the line not being detected at most currently.
B18, the device according to any one of B11-B17, wherein, also include:
Restart module, if the network environment for being suitable to remote assistance changes, in the initiator and described connect again Line is selected between debit to set up remote assistance.
B19, the device according to B18, wherein, the network environment for restarting the remote assistance in module becomes At least one change, including following:
There is new line to generate in the network environment;
There is line destroyed in the network environment;
The state for having line in the network environment is modified;
The receiving terminal receives long-range detectable signal;
The receiving terminal receives long-range packet.
B20, the device according to any one of B11-B19, wherein, the detectable signal is Internet Explorer PING.
According to a further aspect of the invention, C21, a kind of mobile terminal, including processor and memory are also disclosed:
The memory is used to store the program for performing A1 to A10 any one methods;
The processor is configurable for performing the program stored in the memory.

Claims (10)

1. the line detection method that a kind of mobile terminal remote is assisted, is applied to the initiator of remote assistance, including:
Asked to the line that the recipient of remote assistance initiates remote assistance by network;
Line detection is carried out to a plurality of line that the multiple relays existed between described sender and the recipient are provided, Wherein, each line is detected as follows:
Detectable signal is sent by the line;Response of the recipient for the detectable signal is received first through the line During message, the state of the line is switched in operating but unstable connection state;Within a specified time, according to the line Signal detection response results determine whether the line being capable of stable operation;
The line for being selected to stable operation sets up remote assistance between described sender and the recipient.
2. method according to claim 1, wherein, within a specified time, the signal detection response results according to the line Determine the line whether can stable operation, including:
Within the specified time, it is determined whether when can continue to receive the response message from the recipient;
If so, by the status modifier of the line for can running status, and determine the line be steady operational status;
If not, it is determined that the line has been interrupted.
3. method according to claim 2, wherein, within a specified time, the signal detection response results according to the line Determine the line whether can stable operation, also include:
Detection is circulated to the line within the specified time, loop detection result is obtained;
With reference to the current connection state and the loop detection result of the line, further determine that whether the line can be stablized and transport OK.
4. method according to claim 3, wherein, with reference to the current connection state and the loop detection knot of the line Really, further determine that the line whether can stable operation, including:
If the current connection state of the line is in running but unstable, and the loop detection result is to detect the frequency of failure not More than predetermined threshold value, it is determined that the line being capable of stable operation;
If during the current connection state of the line is for operation, and the loop detection result is described pre- for the detection frequency of failure is more than If threshold value, it is determined that the line is switched in operating but unstable connection state.
5. the method according to any one of claim 3 or 4, wherein, if with reference to line current connection state and described follow Ring result of detection determine at least two lines can stable operation, be selected to the line of stable operation described sender with Setting up remote assistance between the recipient also includes:
Further compare the number of times of each line loop detection failure;
The minimum line of the selection loop detection frequency of failure sets up remote assistance between described sender and the recipient.
6. the method according to claim any one of 1-5, wherein, the line of stable operation is selected in described sender Remote assistance is set up between the recipient, is also included:
When the line for being capable of stable operation has a plurality of, optimal line is gone out with reference at least one following parameter determination:Institute State the time that recipient received packet last time, the time delay RTT of each line;
The optimal line of selection sets up remote assistance between described sender and the recipient.
7. the method according to claim any one of 1-6, wherein, to what is existed between described sender and the recipient The a plurality of line that multiple relays are provided carries out line detection, also includes:
Select in a plurality of line that the multiple relay is provided to carry out at least one of line detection using preset rules Line;
At least one line to selecting carries out line detection;
Wherein, the preset rules include at least one following:
The line being selected before this line;
State and it has been detected before in successful line in inoperative, away from the line not being detected at most currently;
Away from the line not being detected at most currently.
8. the method according to claim any one of 1-7, wherein, also include:
If the network environment of remote assistance changes, line is selected between the initiator and the recipient again to build Vertical remote assistance.
9. the line detection device that a kind of mobile terminal remote is assisted, is applied to the initiator of remote assistance, including:
Line asks initiation module, is suitable to be asked to the line that the recipient of remote assistance initiates remote assistance by network;
Line detecting module, be suitable to provide multiple relays for existing between described sender and the recipient is a plurality of Line carries out line detection, wherein, each line is detected as follows:Detectable signal is sent by the line;Through the company Line receive first the recipient for the detectable signal response message when, by the state of the line switch to running in But unstable connection state;Within a specified time, the signal detection response results according to the line determine that whether the line can Enough stable operation;
Remote assistance sets up module, and the line for being suitably selected for being capable of stable operation is set up between described sender and the recipient Remote assistance.
10. a kind of mobile terminal, including processor and memory:
The memory is used to store the program of perform claim 1 to 8 any one method of requirement;
The processor is configurable for performing the program stored in the memory.
CN201611064998.7A 2016-11-28 2016-11-28 Mobile terminal remote assistance connection detection method and device Active CN106792798B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611064998.7A CN106792798B (en) 2016-11-28 2016-11-28 Mobile terminal remote assistance connection detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611064998.7A CN106792798B (en) 2016-11-28 2016-11-28 Mobile terminal remote assistance connection detection method and device

Publications (2)

Publication Number Publication Date
CN106792798A true CN106792798A (en) 2017-05-31
CN106792798B CN106792798B (en) 2020-09-11

Family

ID=58902070

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611064998.7A Active CN106792798B (en) 2016-11-28 2016-11-28 Mobile terminal remote assistance connection detection method and device

Country Status (1)

Country Link
CN (1) CN106792798B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107666676A (en) * 2017-09-14 2018-02-06 浙江工业大学 A kind of On-Line Control Method of energy-collecting type wireless relay network maximum system throughput
CN110544834A (en) * 2018-05-28 2019-12-06 华硕电脑股份有限公司 Antenna system and restarting method thereof

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101815098A (en) * 2010-04-14 2010-08-25 中兴通讯股份有限公司 Point-to-point remote assistance method, system and terminal in IP multimedia subsystem
CN103718532A (en) * 2013-03-26 2014-04-09 华为技术有限公司 Data transmission method, apparatus and terminal device
CN103905463A (en) * 2014-04-21 2014-07-02 北京邮电大学 Connecting management and control method suitable for multi-path transmitting
CN104410509A (en) * 2014-10-16 2015-03-11 宁波菊风系统软件有限公司 A multipath data transmitting method based on quality evaluation
CN104539531A (en) * 2014-12-25 2015-04-22 网宿科技股份有限公司 Data transmission method and device
CN105164981A (en) * 2013-03-15 2015-12-16 谷歌公司 System and method for choosing lowest latency path
WO2016128644A1 (en) * 2015-02-13 2016-08-18 Orange Method for selecting network connection hubs

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101815098A (en) * 2010-04-14 2010-08-25 中兴通讯股份有限公司 Point-to-point remote assistance method, system and terminal in IP multimedia subsystem
CN105164981A (en) * 2013-03-15 2015-12-16 谷歌公司 System and method for choosing lowest latency path
CN103718532A (en) * 2013-03-26 2014-04-09 华为技术有限公司 Data transmission method, apparatus and terminal device
CN103905463A (en) * 2014-04-21 2014-07-02 北京邮电大学 Connecting management and control method suitable for multi-path transmitting
CN104410509A (en) * 2014-10-16 2015-03-11 宁波菊风系统软件有限公司 A multipath data transmitting method based on quality evaluation
CN104539531A (en) * 2014-12-25 2015-04-22 网宿科技股份有限公司 Data transmission method and device
WO2016128644A1 (en) * 2015-02-13 2016-08-18 Orange Method for selecting network connection hubs

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107666676A (en) * 2017-09-14 2018-02-06 浙江工业大学 A kind of On-Line Control Method of energy-collecting type wireless relay network maximum system throughput
CN107666676B (en) * 2017-09-14 2021-01-01 浙江工业大学 Online control method for maximizing system throughput of energy-collecting wireless relay network
CN110544834A (en) * 2018-05-28 2019-12-06 华硕电脑股份有限公司 Antenna system and restarting method thereof

Also Published As

Publication number Publication date
CN106792798B (en) 2020-09-11

Similar Documents

Publication Publication Date Title
CN111741513B (en) Network distribution method of Internet of things equipment and related equipment
CN103294515B (en) A kind of methods, devices and systems for obtaining application program
CN106331213B (en) A kind of domain name system DNS processing method and processing device
CN107491356A (en) Message treatment method, terminal device and server based on sequence number
CN103489303B (en) A kind of remote control thereof and device
US20150134116A1 (en) Method and device for remotely controlling household appliance, and computer readable storage medium
CN107153537B (en) Information display method and device based on multi-task interface and mobile terminal
CN103561400B (en) Method for initiating communication, device thereof and mobile terminal
CN103347003B (en) A kind of Voice over Internet method, Apparatus and system
CN104135728B (en) Method for connecting network and device
CN104636664B (en) Cross-site scripting attack leak detection method and device based on DOM Document Object Model
CN108040091A (en) Data processing method, device and storage medium
CN104093189A (en) Multimedia playing device network initialization method, system, device and terminal
CN106341809B (en) A kind of data transmission method and equipment
CN106953785A (en) Intelligent home device adding method and device
CN107682338A (en) Obtain, the methods, devices and systems of processing configuration information
CN105162591A (en) Equipment registration method and device
CN106507482A (en) A kind of network locating method and terminal device
CN104699501B (en) A kind of method and device for running application program
CN105389259A (en) Method, apparatus and system for performing application testing
CN105306760A (en) Method and device for controlling terminal
CN104363590A (en) Access point connection method and device
CN103561155B (en) Send the method for note, device and terminal
CN107317828A (en) Document down loading method and device
CN106792798A (en) Line detection method and device that mobile terminal remote is assisted

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee after: Beijing Qizhi Business Consulting Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240111

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Beijing Qizhi Business Consulting Co.,Ltd.