CN103561063A - Method and terminal for logging onto set top box - Google Patents

Method and terminal for logging onto set top box Download PDF

Info

Publication number
CN103561063A
CN103561063A CN201310499485.9A CN201310499485A CN103561063A CN 103561063 A CN103561063 A CN 103561063A CN 201310499485 A CN201310499485 A CN 201310499485A CN 103561063 A CN103561063 A CN 103561063A
Authority
CN
China
Prior art keywords
top box
set top
response message
local area
area network
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
CN201310499485.9A
Other languages
Chinese (zh)
Other versions
CN103561063B (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.)
Shenzhen Skyworth Digital Technology Co Ltd
Shenzhen Skyworth Software Co Ltd
Original Assignee
Shenzhen Skyworth Digital Technology Co Ltd
Shenzhen Skyworth Software 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 Shenzhen Skyworth Digital Technology Co Ltd, Shenzhen Skyworth Software Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN201310499485.9A priority Critical patent/CN103561063B/en
Publication of CN103561063A publication Critical patent/CN103561063A/en
Application granted granted Critical
Publication of CN103561063B publication Critical patent/CN103561063B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention discloses a method for logging onto a set top box. The method comprises the first step of receiving a request for logging onto the set top box, the second step of sending a login request message to a local area network and a cloud server simultaneously according to the login request and stored set top box information when the type of the network which is used currently is a WIFI wireless network, and the third step of logging onto the set top box in the local area network according to a first response message when the first response message returned from the local area network is firstly received. The embodiment of the invention further discloses a terminal. By the adoption of the method and terminal for logging onto the set top box, the login request message is sent to the local area network and the cloud server simultaneously, on the condition that the local area network firstly returns the response message, and the local area network is directly utilized to log onto the set top box without logging onto the set top box through an external network. Moreover, the fast local area network is automatically chosen, the speed of logging onto the set top box is increased, and then user experience is improved.

Description

A kind of method of Register top box and terminal
Technical field
The present invention relates to electronic technology field, relate in particular to a kind of method and terminal of Register top box.
Background technology
To be terminal obtain after relevant transfer information by Cloud Server existing set-top box technique, and Set Top Box realizes interconnected, can Register top box after successful connection and obtain the resource of Set Top Box.On the one hand, owing to initiating login each time, must be all that external network is realized by Cloud Server, all services of Set Top Box are provided by Cloud Server completely, such as mobile phone, watch TV programme of recording in Set Top Box etc., on the other hand, cannot Register top box in the local area network (LAN) being connected with external network not, therefore, do not connecting under the slower environment of external network or network speed, terminal cannot Register top box or login time long, cause poor user experience, in network facet, be subject to larger restriction.
Summary of the invention
Embodiment of the present invention technical problem to be solved is, a kind of method and terminal of Register top box is provided, and can automatically select network faster, fast Register top box.
In order to solve the problems of the technologies described above, the embodiment of the present invention provides a kind of method of Register top box, comprising:
The logging request of reception to Set Top Box;
Current used network of network type is during for WIFI wireless network, according to described logging request and the Set Top Box information of having stored, sends request log messages to local area network (LAN) and Cloud Server simultaneously;
While first receiving the first response message that described local area network (LAN) returns, according to described the first response message, login the Set Top Box in described local area network (LAN).
Wherein, described method also comprises:
While first receiving the second response message that described Cloud Server returns, according to described the second response message, login described Set Top Box.
Wherein, sequence number, implicit IP address and the serve port of described the first response message portable machine top box; Described method also comprises:
While first receiving the second response message that described Cloud Server returns, sequence number, implicit IP address, outside ip address and the serve port of described the second response message portable machine top box, mate the sequence number that described the first response message and described the second response message carry respectively;
When sequence numbers match is passed through, according to described the first response message, login the Set Top Box in described local area network (LAN).
Wherein, described the second response message also carries about the outside ip address of terminal and the whether consistent the result of the outside ip address of Set Top Box; Described method also comprises:
Sequence numbers match is obstructed out-of-date, and the outside ip address of the result indicating terminal is consistent with the outside ip address of Set Top Box, according to described the first response message, logins the Set Top Box in described local area network (LAN).
Wherein, described method also comprises:
Current used network of network type during for mobile network, sends request log messages to Cloud Server;
Receive the second response message that described Cloud Server returns;
According to described the second response message, login described Set Top Box.
Correspondingly, the embodiment of the present invention also provides a kind of terminal, comprising:
Request receiving module, for receiving the logging request to Set Top Box;
The first sending module, for current used network of network type during for WIFI wireless network, sends request log messages to local area network (LAN) and Cloud Server according to described logging request and the Set Top Box information of having stored simultaneously;
The first login module, when first receiving the first response message that described local area network (LAN) returns, logins the Set Top Box in described local area network (LAN) according to described the first response message.
Wherein, described terminal also comprises:
The second login module, when first receiving the second response message that described Cloud Server returns, logins described Set Top Box according to described the second response message.
Wherein, sequence number, implicit IP address and the serve port of described the first response message portable machine top box; Described terminal also comprises:
Matching module, when first receiving the second response message that described Cloud Server returns, sequence number, implicit IP address, outside ip address and the serve port of described the second response message portable machine top box, mate the sequence number that described the first response message and described the second response message carry respectively;
The 3rd login module, while passing through for sequence numbers match, logins the Set Top Box in described local area network (LAN) according to described the first response message.
Wherein, described the second response message also carries about the outside ip address of terminal and the whether consistent the result of the outside ip address of Set Top Box; Described method also comprises:
The 4th login module, obstructed out-of-date for sequence numbers match, the outside ip address of the result indicating terminal is consistent with the outside ip address of Set Top Box, according to described the first response message, logins the Set Top Box in described local area network (LAN).
Wherein, described terminal also comprises:
The second sending module, during for mobile network, sends request log messages to Cloud Server for current used network of network type;
Message sink module, receives the second response message that described Cloud Server returns;
The 5th login module, for logining described Set Top Box according to described the second response message.
Implement the embodiment of the present invention, there is following beneficial effect: in embodiments of the present invention, by send request log messages to local area network (LAN) and Cloud Server simultaneously, in the situation that first returning to response message, directly uses local area network (LAN) local area network (LAN) Register top box, and without using external network Register top box, automatically select the local area network (LAN) of speed can promote the speed of Register top box, and then improved user's experience.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the schematic flow sheet of the method for a kind of Register top box of providing of the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the method for the another kind of Register top box that provides of the embodiment of the present invention;
Fig. 3 is the structural representation of a kind of terminal of providing of the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The method of the Register top box that the embodiment of the present invention provides can the terminal based on Android system is installed realize, and concrete, terminal comprises mobile phone or panel computer more than Android2.3.
Before implementing the embodiment of the present invention, need to complete Set Top Box and the user registration on Cloud Server.Set Top Box registration: be mainly used in to the information of Cloud Server report oneself, comprise that current network state or other need the information of announcement server; User's registration: user can use the sequence number of Set Top Box to an account number of Cloud Server registration, and each sequence number only can be registered once, and each user can have a plurality of Set Top Box simultaneously.Concrete, will from server one end, set forth respectively Set Top Box and user's registration process below.
Set Top Box registration:
First, server receiving set up box registration information, described Set Top Box registration information comprises the sequence number of Set Top Box, the outside ip address of the implicit IP address of Set Top Box place Intranet, Set Top Box place outer net, provide the serve port of related service and the current network state of Set Top Box.
Secondly, the list of sequence numbers that server has been preserved at it is searched for, and judges whether the sequence number of Set Top Box is present in list of sequence numbers, if there is not the database that writes server, Set Top Box succeeds in registration.Wherein, the list of sequence numbers of server is to write according to production batch, guarantees that each Set Top Box is all present on this server, and prevents malicious registration.
When Set Top Box is after server registration success, still need log-on message of initiation regularly to know the current network state of oneself to guarantee server, so once, server is also the network state that standard judges Set Top Box according to up-to-date log-on message in regularly registration because general Without Fixed IP Address can change.In addition, when having other informational needs announcement servers, also will send by this timing channel.The benefit of doing is like this, when terminal (PC PC, Android client or other mobile clients) signs in to Set Top Box, just can know the state of the Set Top Box of oneself.Concrete, log-on message thes contents are as follows:
Figure BDA0000399746610000041
On the other hand, server also judges sequence number of set top box, if this sequence number is (if user first succeeds in registration) in user's register list Already in, to Set Top Box, send synchronizing information, synchronizing information comprises communicate status information, sequence number, username and password.Synchronizing information thes contents are as follows:
Figure BDA0000399746610000051
User's registration:
First, receive user's registration information, user's registration information comprises sequence number of set top box, user name, password, contact method (email) etc.
Secondly, server is searched for the sequence number of set top box in user's registration information, if in the Already in list of server of this sequence number and be not registered, and user registration success.
Finally, server judges Set Top Box corresponding to the sequence number of set top box in user's registration information, if this Set Top Box was registered, user registers, and sending synchronizing information to Set Top Box, synchronizing information comprises communicate status information, sequence number, username and password; If this Set Top Box is not registered, check this sequence number of set top box whether be present in server according in the list of sequence numbers of batch importing rather than have the register list of database, if exist, user registration success; If this sequence number of set top box, not in list of sequence numbers, carries out Set Top Box registration according to above-mentioned Set Top Box registration process, after Set Top Box succeeds in registration, cloud service just sends to by synchronizing information the Set Top Box succeeding in registration.
Please refer to Fig. 1, the schematic flow sheet of the method for a kind of Register top box providing for the embodiment of the present invention, the present embodiment is set forth the method for Register top box from terminal one side, and the method can comprise the following steps S101-S103.
S101, receives the logging request to Set Top Box;
Concrete, when user need to obtain the resource of Set Top Box on the mobile terminals such as mobile phone or panel computer, as watch the pre-stored TV programme of Set Top Box, and can to terminal, initiate the logging request to Set Top Box by relevant application program, terminal receives this logging request.
S102, current used network of network type is during for WIFI wireless network, according to described logging request and the Set Top Box information of having stored, sends request log messages to local area network (LAN) and Cloud Server simultaneously;
Concrete, current used network of network type is judged, network type generally comprises WIFI wireless network or mobile network.In the present embodiment, if current used network of network type is WIFI wireless network, according to logging request and the Set Top Box information of having stored, to local area network (LAN) and Cloud Server, send request log messages simultaneously.Wherein, the Set Top Box information of having stored referred to before this request login, terminal had successfully been logined the relevant configuration information of storing after a certain Set Top Box, the information such as the sequence number that configuration information comprises Set Top Box, username and password, the object of preserving this configuration information is, when needing again Register top box, terminal can search for corresponding Set Top Box according to the sequence number of set top box of having preserved, and user's name and the password Set Top Box that directly login searches, and do not need user again to input.
It should be noted that, the request log messages sending to local area network (LAN) is for searching in the local area network (LAN) at WIFI network place whether have the Set Top Box matching with the Set Top Box information of having stored, its content of carrying comprise send this message terminal (as mobile phone or/panel computer) and search type, the type of search is defaulted as Set Top Box.Concrete, the request log messages content sending to local area network (LAN) is:
Figure BDA0000399746610000061
It should be noted that, the request log messages sending to Cloud Server is for obtain the relevant information of Set Top Box to Cloud Server, concrete, is to search for after corresponding Set Top Box by username and password, obtains the relevant information of Set Top Box.
S103, while first receiving the first response message that described local area network (LAN) returns, logins the Set Top Box in described local area network (LAN) according to described the first response message.
Concrete, in step S102, terminal sends request log messages to local area network (LAN) and Cloud Server simultaneously, needs afterwards to carry out the judgement who first returns to response message.If first receive the first response message that described local area network (LAN) returns, according to the Set Top Box in the first response message login local area network (LAN).Wherein, the first response message is included in sequence number, implicit IP address and the serve port of the Set Top Box searching in local area network (LAN), and particular content is as follows:
Figure BDA0000399746610000071
In embodiments of the present invention, by send request log messages to local area network (LAN) and Cloud Server simultaneously, in the situation that first returning to response message, directly uses local area network (LAN) local area network (LAN) Register top box, and without using external network Register top box, automatically select the local area network (LAN) of speed can promote the speed of Register top box, and then improved user's experience.
Please refer to Fig. 2, the schematic flow sheet of the method for the another kind of Register top box providing for the embodiment of the present invention, the present embodiment is set forth the method for Register top box from terminal one side, and the method can comprise the following steps S201-S210.
S201, receives the logging request to Set Top Box;
Concrete, when user need to obtain the resource of Set Top Box on the mobile terminals such as mobile phone or panel computer, as watch the pre-stored TV programme of Set Top Box, and can to terminal, initiate the logging request to Set Top Box by relevant application program, terminal receives this logging request.
S202, judges current used network of network type, and network type comprises and mobile network.Current used network of network type is during for WIFI wireless network, execution step S203; Current used network of network type when using mobile network, execution step S208.
S203, sends request log messages to local area network (LAN) and Cloud Server according to described logging request and the Set Top Box information of having stored simultaneously.
Wherein, the Set Top Box information of having stored referred to before this request login, terminal had successfully been logined the relevant configuration information of storing after a certain Set Top Box, the information such as the sequence number that configuration information comprises Set Top Box, username and password, the object of preserving this configuration information is, when needing again Register top box, terminal can search for corresponding Set Top Box according to the sequence number of set top box of having preserved, and user's name and the password Set Top Box that directly login searches, and do not need user again to input.
It should be noted that, the request log messages sending to local area network (LAN) is for searching in the local area network (LAN) at WIFI network place whether have the Set Top Box matching with the Set Top Box information of having stored, its content of carrying comprise send this message terminal (as mobile phone or/panel computer) and search type, the type of search is defaulted as Set Top Box.Concrete, the request log messages content sending to local area network (LAN) is:
Figure BDA0000399746610000072
Figure BDA0000399746610000081
It should be noted that, the request log messages sending to Cloud Server is for obtain the relevant information of Set Top Box to Cloud Server, concrete, is to search for after corresponding Set Top Box by username and password, obtains the relevant information of Set Top Box.
Further, the default login button that need to click in terminal due to user sends request log messages to Cloud Server, therefore, the time-out time that search local area network (LAN) can be set is 2 seconds, and its object is to guarantee that user obtains the response message about local area network (LAN) before clicking login button.
S204, judges whether first to receive the first response message that local area network (LAN) returns.If first receive the first response message that described local area network (LAN) returns, directly perform step S207, if first receive the second response message that described Cloud Server returns, perform step S205.Wherein, the first response message carries sequence number, implicit IP address and the serve port of the Set Top Box arriving by LanExplorer, and particular content is as follows:
The sequence number of the second response message portable machine top box, implicit IP address, outside ip address, serve port and about the outside ip address of terminal and the whether consistent the result of the outside ip address of Set Top Box, particular content is as follows:
Figure BDA0000399746610000091
Wherein, isLan is exactly the result returning after the outside ip address by verification terminal and Set Top Box, and this result represents with 0 and 1, and 0 is illustrated in same local area network (LAN), and 1 represents not at same local area network (LAN).
S205, mates the sequence number that the first response message and the second response message carry respectively, judgement matching result; If sequence numbers match is passed through, directly perform step S207, if sequence numbers match is not passed through, perform step S206.
It should be noted that, although terminal first receives the second response message that described Cloud Server returns, but after the first response message returning at ensuing reception local area network (LAN), the sequence number that also can carry respectively the first response message and the second response message mates, if there is sequence number of set top box and consistent with the sequence number of set top box in the second response message in the first response message, terminal can directly be used local area network (LAN) to login this Set Top Box, and first return to the Cloud Server of response message without using, and then accelerated login speed.
S206, judge the result whether the outside ip address of indicating terminal and the outside ip address of Set Top Box consistent, if so, perform step S207, if not, perform step S210.
It should be noted that, even if the coupling about sequence number in step S204 is not passed through, the present embodiment can also be by mating checking at Cloud Server end to the outside ip address of the outside ip address of terminal and Set Top Box, if the outside ip address of the result indicating terminal is consistent with the outside ip address of Set Top Box, illustrate that terminal and Set Top Box are in same local area network (LAN), and then directly by local area network (LAN) Register top box.
S207, according to the Set Top Box in the first response message login local area network (LAN).
Concrete, according to the sequence number of set top box carrying in the first response message, implicit IP address and service port login Set Top Box.
S208, sends request log messages to Cloud Server;
When current used network being detected for mobile network, directly to Cloud Server, send request log messages, object is to obtain the Set Top Box information of having registered on Cloud Server, if successfully obtain, can pass through Set Top Box information registration Set Top Box.
S209, receives the second response message that Cloud Server returns;
Cloud Server receives after request log messages, and whether the information search of carrying according to it exists Set Top Box, sends the second response message, the information such as sequence number, implicit IP address, outside ip address and serve port of the second response message portable machine top box.
S210, according to described the second response message Register top box.
Concrete, according to the Set Top Box of the sequence number of set top box carrying in the second response message, outside ip address and service port login Cloud Server.
After the success of Register top box, can start to send program data request to Set Top Box, Set Top Box can be carried out sharing of program data after receiving this program data request, and user can watch the program of having stored in Set Top Box on mobile phone or panel computer.
Above-mentioned terminal is all to carry out in situation in good condition Network Based with the reciprocal process of local area network (LAN) and Cloud Server respectively, and the information interchange in each interactive step can be encrypted by a kind of cipher mode that is common to various language, the language of supporting be at present JAVA C C++ etc., by encrypting, can improve Information Security.
In embodiments of the present invention, by sending request log messages to local area network (LAN) and Cloud Server, in the situation that first returning to response message, directly uses local area network (LAN) local area network (LAN) Register top box simultaneously, and without using external network Register top box; And in the situation that Cloud Server first returns to response message, again mate sequence number of set top box and whether unanimously judge whether in same local area network (LAN) according to outside ip address, automatically select the local area network (LAN) of speed can promote the speed of Register top box, and then improved user's experience.
Refer to Fig. 3, for the structural representation of a kind of terminal of the embodiment of the present invention, comprise request receiving module 10, the first sending module 20, the first login module 30, the second login module 40, matching module 50, the 3rd login module 60, the 4th login module 70, the second sending module 80, message sink module 90 and the 5th login module 100.
Request receiving module 10, for receiving the logging request to Set Top Box.
Concrete, when user need to obtain the resource of Set Top Box on the mobile terminals such as mobile phone or panel computer, as watch the pre-stored TV programme of Set Top Box, can to terminal, initiate the logging request to Set Top Box by relevant application program, terminal receives this logging request by request receiving module 10.
The first sending module 20, for current used network of network type during for WIFI wireless network, sends request log messages to local area network (LAN) and Cloud Server according to described logging request and the Set Top Box information of having stored simultaneously.
Concrete, current the used network of network type of the first 20 pairs of sending modules judges, network type generally comprises WIFI wireless network or mobile network.In the present embodiment, if current used network of network type is WIFI wireless network, the first sending module 20 sends request log messages to local area network (LAN) and Cloud Server according to logging request and the Set Top Box information of having stored simultaneously.Wherein, the Set Top Box information of having stored referred to before this request login, terminal had successfully been logined the relevant configuration information of storing after a certain Set Top Box, the information such as the sequence number that configuration information comprises Set Top Box, username and password, the object of preserving this configuration information is, when needing again Register top box, terminal can search for corresponding Set Top Box according to the sequence number of set top box of having preserved, and user's name and the password Set Top Box that directly login searches, and do not need user again to input.
It should be noted that, the request log messages sending to local area network (LAN) is for searching in the local area network (LAN) at WIFI network place whether have the Set Top Box matching with the Set Top Box information of having stored, its content of carrying comprise send this message terminal (as mobile phone or/panel computer) and search type, the type of search is defaulted as Set Top Box.Concrete, the request log messages content sending to local area network (LAN) is:
Figure BDA0000399746610000111
It should be noted that, the request log messages sending to Cloud Server is for obtain the relevant information of Set Top Box to Cloud Server, concrete, is to search for after corresponding Set Top Box by username and password, obtains the relevant information of Set Top Box.
Further, the default login button that need to click in terminal due to user sends request log messages to Cloud Server, therefore, the time-out time that search local area network (LAN) can be set is 2 seconds, and its object is to guarantee that user obtains the response message about local area network (LAN) before clicking login button.
The first login module 30, when first receiving the first response message that described local area network (LAN) returns, logins the Set Top Box in described local area network (LAN) according to described the first response message.
Concrete, terminal sends request after log messages to local area network (LAN) and Cloud Server by the first sending module 20 simultaneously, also needs to carry out the judgement who first returns to response message.If first receive the first response message that described local area network (LAN) returns, by the first login module 30, according to the first response message, login the Set Top Box in local area network (LAN).Wherein, sequence number, implicit IP address and the serve port of the first response message portable machine top box, particular content is as follows:
Figure BDA0000399746610000121
The second login module 40, when first receiving the second response message that described Cloud Server returns, according to described the second response message Register top box.Concrete, according to the sequence number of set top box carrying in the second response message, outside ip address and service port login Set Top Box.
Further, the second response message also carries about the outside ip address of terminal and the whether consistent the result of the outside ip address of Set Top Box.
Matching module 50, when first receiving the second response message that described Cloud Server returns, mates the sequence number that described the first response message and described the second response message carry respectively.Wherein, particular content is as follows:
Figure BDA0000399746610000122
Wherein, isLan is exactly the result returning after the outside ip address by verification terminal and Set Top Box, and this result represents with 0 and 1, and 0 is illustrated in same local area network (LAN), and 1 represents not at same local area network (LAN).
The 3rd login module 60, while passing through for sequence numbers match, logins the Set Top Box in described local area network (LAN) according to described the first response message.Concrete, according to the sequence number of set top box carrying in the first response message, implicit IP address and service port login Set Top Box.
The 4th login module 70, obstructed out-of-date for sequence numbers match, and the outside ip address of the result indicating terminal and the outside ip address of Set Top Box consistent, the 4th login module 70 is logined the Set Top Box in described local area network (LAN) according to described the first response message.
The second sending module 80, during for mobile network, sends request log messages to Cloud Server for current used network of network type;
When current used network being detected for mobile network, directly by the second sending module 80, to Cloud Server, send request log messages, object is to obtain the Set Top Box information of having registered on Cloud Server, if successfully obtain, can pass through Set Top Box information registration Set Top Box.
Message sink module 90, receives the second response message that described Cloud Server returns.
Cloud Server receives after request log messages, and whether the information search of carrying according to it exists Set Top Box, sends the second response message, the information such as sequence number, implicit IP address, outside ip address and serve port of the second response message portable machine top box.
The 5th login module 100, for logining described Set Top Box according to described the second response message.
After the success of Register top box, can start to send program data request to Set Top Box, Set Top Box can be carried out sharing of program data after receiving this program data request, and user can watch the program of having stored in Set Top Box on mobile phone or panel computer.
Above-mentioned terminal is all to carry out in situation in good condition Network Based with the reciprocal process of local area network (LAN) and Cloud Server respectively, and the information interchange in each interactive step can be encrypted by a kind of cipher mode that is common to various language, the language of supporting be at present JAVA C C++ etc., by encrypting, can improve Information Security.
In embodiments of the present invention, by sending request log messages to local area network (LAN) and Cloud Server, in the situation that first returning to response message, directly uses local area network (LAN) local area network (LAN) Register top box simultaneously, and without using external network Register top box; And in the situation that Cloud Server first returns to response message, again mate sequence number of set top box and whether unanimously judge whether in same local area network (LAN) according to outside ip address, automatically select the local area network (LAN) of speed can promote the speed of Register top box, and then improved user's experience.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, to come the hardware that instruction is relevant to complete by computer program, described program can be stored in a computer read/write memory medium, this program, when carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosed is only preferred embodiment of the present invention, certainly can not limit with this interest field of the present invention, and the equivalent variations of therefore doing according to the claims in the present invention, still belongs to the scope that the present invention is contained.

Claims (10)

1. a method for Register top box, is characterized in that, comprising:
The logging request of reception to Set Top Box;
Current used network of network type is during for WIFI wireless network, according to described logging request and the Set Top Box information of having stored, sends request log messages to local area network (LAN) and Cloud Server simultaneously;
While first receiving the first response message that described local area network (LAN) returns, according to described the first response message, login the Set Top Box in described local area network (LAN).
2. the method for Register top box as claimed in claim 1, is characterized in that, also comprises:
While first receiving the second response message that described Cloud Server returns, according to described the second response message, login described Set Top Box.
3. the method for Register top box as claimed in claim 1, is characterized in that, sequence number, implicit IP address and the serve port of described the first response message portable machine top box; Described method also comprises:
While first receiving the second response message that described Cloud Server returns, sequence number, implicit IP address, outside ip address and the serve port of described the second response message portable machine top box, mate the sequence number that described the first response message and described the second response message carry respectively;
When sequence numbers match is passed through, according to described the first response message, login the Set Top Box in described local area network (LAN).
4. the method for Register top box as claimed in claim 3, is characterized in that, described the second response message also carries about the outside ip address of terminal and the whether consistent the result of the outside ip address of Set Top Box; Described method also comprises:
Sequence numbers match is obstructed out-of-date, and the outside ip address of the result indicating terminal is consistent with the outside ip address of Set Top Box, according to described the first response message, logins the Set Top Box in described local area network (LAN).
5. the method for Register top box as claimed in claim 1, is characterized in that, also comprises:
Current used network of network type during for mobile network, sends request log messages to Cloud Server;
Receive the second response message that described Cloud Server returns;
According to described the second response message, login described Set Top Box.
6. a terminal, is characterized in that, comprising:
Request receiving module, for receiving the logging request to Set Top Box;
The first sending module, for current used network of network type during for WIFI wireless network, sends request log messages to local area network (LAN) and Cloud Server according to described logging request and the Set Top Box information of having stored simultaneously;
The first login module, when first receiving the first response message that described local area network (LAN) returns, logins the Set Top Box in described local area network (LAN) according to described the first response message.
7. terminal as claimed in claim 6, is characterized in that, also comprises:
The second login module, when first receiving the second response message that described Cloud Server returns, logins described Set Top Box according to described the second response message.
8. terminal as claimed in claim 6, is characterized in that, sequence number, implicit IP address and the serve port of described the first response message portable machine top box; Described terminal also comprises:
Matching module, when first receiving the second response message that described Cloud Server returns, sequence number, implicit IP address, outside ip address and the serve port of described the second response message portable machine top box, mate the sequence number that described the first response message and described the second response message carry respectively;
The 3rd login module, while passing through for sequence numbers match, logins the Set Top Box in described local area network (LAN) according to described the first response message.
9. terminal as claimed in claim 8, is characterized in that, described the second response message also carries about the outside ip address of terminal and the whether consistent the result of the outside ip address of Set Top Box; Described method also comprises:
The 4th login module, obstructed out-of-date for sequence numbers match, the outside ip address of the result indicating terminal is consistent with the outside ip address of Set Top Box, according to described the first response message, logins the Set Top Box in described local area network (LAN).
10. terminal as claimed in claim 6, is characterized in that, also comprises:
The second sending module, during for mobile network, sends request log messages to Cloud Server for current used network of network type;
Message sink module, receives the second response message that described Cloud Server returns;
The 5th login module, for logining described Set Top Box according to described the second response message.
CN201310499485.9A 2013-10-22 2013-10-22 A kind of method of Register top box and terminal Active CN103561063B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310499485.9A CN103561063B (en) 2013-10-22 2013-10-22 A kind of method of Register top box and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310499485.9A CN103561063B (en) 2013-10-22 2013-10-22 A kind of method of Register top box and terminal

Publications (2)

Publication Number Publication Date
CN103561063A true CN103561063A (en) 2014-02-05
CN103561063B CN103561063B (en) 2016-08-24

Family

ID=50015213

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310499485.9A Active CN103561063B (en) 2013-10-22 2013-10-22 A kind of method of Register top box and terminal

Country Status (1)

Country Link
CN (1) CN103561063B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105224026A (en) * 2015-10-19 2016-01-06 上海斐讯数据通信技术有限公司 A kind of based on modular cloud computer
CN105812422A (en) * 2014-12-29 2016-07-27 深圳市腾讯计算机系统有限公司 File transmission method based on Internet of Things and file transmission device
WO2018006877A1 (en) * 2016-07-07 2018-01-11 深圳创维数字技术有限公司 Method and apparatus for controlling set top box
CN109600648A (en) * 2018-10-26 2019-04-09 广州零世纪信息科技有限公司 Login method, device, set-top box management system and the storage medium of set-top box
CN114531609A (en) * 2020-10-30 2022-05-24 深圳Tcl新技术有限公司 Media file sharing method and device, intelligent terminal and storage medium
CN114938361A (en) * 2022-05-30 2022-08-23 阿里云计算有限公司 Media service providing method, system, device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101521797A (en) * 2009-03-11 2009-09-02 深圳市融创天下科技发展有限公司 Digital television content transmitting system
CN101931629A (en) * 2010-08-31 2010-12-29 深圳市同洲电子股份有限公司 Method and system for playing television program at mobile terminal and digital television receiving terminal
US8103745B2 (en) * 2000-10-27 2012-01-24 Rpx Corporation Negotiated wireless peripheral security systems

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8103745B2 (en) * 2000-10-27 2012-01-24 Rpx Corporation Negotiated wireless peripheral security systems
CN101521797A (en) * 2009-03-11 2009-09-02 深圳市融创天下科技发展有限公司 Digital television content transmitting system
CN101931629A (en) * 2010-08-31 2010-12-29 深圳市同洲电子股份有限公司 Method and system for playing television program at mobile terminal and digital television receiving terminal

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105812422A (en) * 2014-12-29 2016-07-27 深圳市腾讯计算机系统有限公司 File transmission method based on Internet of Things and file transmission device
CN105812422B (en) * 2014-12-29 2019-12-20 深圳市腾讯计算机系统有限公司 File transmission method and device based on Internet of things
CN105224026A (en) * 2015-10-19 2016-01-06 上海斐讯数据通信技术有限公司 A kind of based on modular cloud computer
WO2018006877A1 (en) * 2016-07-07 2018-01-11 深圳创维数字技术有限公司 Method and apparatus for controlling set top box
CN109600648A (en) * 2018-10-26 2019-04-09 广州零世纪信息科技有限公司 Login method, device, set-top box management system and the storage medium of set-top box
CN109600648B (en) * 2018-10-26 2020-05-15 广东汉鼎蜂助手网络技术有限公司 Set top box login method and device, set top box management system and storage medium
CN114531609A (en) * 2020-10-30 2022-05-24 深圳Tcl新技术有限公司 Media file sharing method and device, intelligent terminal and storage medium
CN114938361A (en) * 2022-05-30 2022-08-23 阿里云计算有限公司 Media service providing method, system, device and storage medium

Also Published As

Publication number Publication date
CN103561063B (en) 2016-08-24

Similar Documents

Publication Publication Date Title
CN104283843B (en) A kind of method, apparatus and system that user logs in
CN104767775B (en) Web application information push method and system
US10362026B2 (en) Providing multi-factor authentication credentials via device notifications
EP3203709B1 (en) Cloud service server and method for managing cloud service server
US20140214963A1 (en) Method, server and system for data sharing in social networking service
US20160255078A1 (en) Method and system for verifying an account operation
US20170185678A1 (en) Crawler system and method
US20170032111A1 (en) Approaches for providing multi-factor authentication credentials
WO2017161769A1 (en) Bullet comment transmission method and apparatus
CN103561063A (en) Method and terminal for logging onto set top box
CN103973461A (en) Notification message pushing method and message server
US20150256415A1 (en) Browser notifications
CN102594817A (en) Password agent method, user terminal equipment and password agent server
US20150264095A1 (en) Web service push method and web service push server and web service providing server performing same
US10841297B2 (en) Providing multi-factor authentication credentials via device notifications
US10333915B2 (en) Customization of user account authentication
WO2014090033A1 (en) Method, server and system for data sharing
WO2015021873A1 (en) Method, platform server, and system of data pushing
JP2020526991A (en) Techniques for multi-agent messaging
JP2017510882A (en) Chat information transmission method and apparatus, chat information push method and server
US20170171339A1 (en) Advertisement data transmission method, electrnoic device and system
CN103716230A (en) Message sending method, device and server
CN103023684A (en) Method, device and system for network information management
US9300625B1 (en) Network address verification
CN106385516B (en) A kind of method, apparatus and terminal of the transfer of setting business

Legal Events

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

Address after: 518000 Guangdong city of Shenzhen province Nanshan District Gao Xin Road Building A14, SKYWORTH

Applicant after: Shenzhen Skyworth Digital Technology Co., Ltd.

Applicant after: Shenzhen Skyworth Software Co., Ltd.

Address before: 518000 Guangdong city of Shenzhen province Nanshan District Gao Xin Road Building A14, SKYWORTH

Applicant before: Shenzhen Skyworth Digital Technology Co., Ltd.

Applicant before: Shenzhen Skyworth Software Co., Ltd.

COR Change of bibliographic data
C14 Grant of patent or utility model
GR01 Patent grant