Summary of the invention
Technical problem to be solved by this invention is to provide a kind of method and apparatus that connects remote storage device in intelligent television, in the situation that the device address information of input does not meet presetting rule, can point out user to modify, reduce user's operating procedure, and then saving user time, improve operating efficiency.
For achieving the above object, according to an aspect of the present invention, a kind of method that connects remote storage device in intelligent television has been proposed, described intelligent television comprises for connecting the linkage interface with other remote storage devices of described intelligent television in same local area network (LAN), at described linkage interface, comprise a plurality of device addresses input frame, wherein, different device address input frame corresponding to device type, described method comprises:
By a device address input frame, receive after the information of device address, determine the device type that this device address input frame is corresponding;
Obtain device address coding rule information corresponding to this device type;
By the device address information to receiving, resolve, whether the device address information receiving described in judgement meets described device address coding rule;
If the determination result is NO, show miscue information, based on described miscue information, the described device address information receiving is modified, to complete being connected of intelligent television and remote storage device.
Further, described method also comprises:
If judgment result is that to be, based on the described device address information receiving, connect corresponding remote storage device.
Further, after showing miscue information, also comprise:
The described device address information receiving is carried out to location of mistake, in the device address information receiving described in determining, may have the target location of input error;
Operational light mark is positioned to described target location, so that user is revised as correct by the described device address information receiving.
Further, described device address coding rule information comprises the initialize format of device address and the default feature of device address;
Location of mistake is carried out in the described device address receiving, in the device address information receiving described in determining, may have the target location of input error, comprising:
Whether the form of the device address information receiving described in determining according to the default form of described device address is correct;
The correct format of the device address information receiving in the situation that described, according to the default feature of described device address, carries out location of mistake to the described device address information receiving.
Further, after showing miscue information, also comprise:
Show the dummy keyboard being only comprised of numeral, wherein, described dummy keyboard is for receiving the digital information of user's input.
Further, described remote storage device is SMB equipment or FTP equipment;
Wherein, the initialize format of the device address of described SMB equipment is the IP address that the numeral of four fields forms, and the initialize format of the device address of described FTP equipment is the IP cyclic address change port numbers that the numeral of four fields forms;
The default digital scope being characterized as in each field of described SMB device address is 0-255, and the scope that the default digital scope being characterized as in each field of described FTP device address is 0-255 and port numbers is 0-65535.
For achieving the above object, according to a further aspect in the invention, a kind of device that connects remote storage device in intelligent television has been proposed, described intelligent television comprises for connecting the linkage interface with other remote storage devices of described intelligent television in same local area network (LAN), at described linkage interface, comprise a plurality of device addresses input frame, wherein, different device address input frame corresponding to device type, described device comprises:
Determining unit, for receiving after the information of device address by a device address input frame, determines the device type that this device address input frame is corresponding;
Acquiring unit, for obtaining device address coding rule information corresponding to this device type;
Judging unit, resolves for the device address information by receiving, and whether the device address information receiving described in judgement meets described device address coding rule;
The first display unit, when the determination result is NO when described judging unit, shows miscue information, based on described miscue information, the described device address information receiving is modified, to complete being connected of intelligent television and remote storage device.
Further, described device also comprises:
Linkage unit, for when judgment result is that of described judged result is, connects corresponding remote storage device based on the described device address information receiving.
Further, described device also comprises:
, for the described device address information receiving is carried out to location of mistake, in the device address information receiving described in determining, may there is the target location of input error in location of mistake unit;
Cursor positioning unit, for operational light mark is positioned to described target location, so that user is revised as correct by the described device address information receiving.
Further, described device address coding rule information comprises the initialize format of device address and the default feature of device address;
Described location of mistake unit, comprising:
Determine subelement, whether correct for the form of the device address information that receives described in determining according to the default form of described device address;
Locator unit, in the situation that the correct format of the described device address information receiving, according to the default feature of described device address, carries out location of mistake to the described device address information receiving.
Compared with prior art, a technical scheme in technique scheme has the following advantages or beneficial effect:
The method and apparatus that connects remote storage device in intelligent television provided by the invention, at the device address of linkage interface input frame, receive after the information of device address, determine device type and obtain corresponding device address presetting rule, in the device address information receiving, do not meet the situation of presetting rule, prompting user modifies to device address information, user is without the device address information that comes back to again linkage interface inspection input after knowing connection failure, can reduce user's operating procedure, and then saving user time, improve operating efficiency.
accompanying drawing explanation
Fig. 1 is the flow chart that the present invention connects method first embodiment of remote storage device in intelligent television.
Fig. 2 is the structural representation that the present invention connects device first embodiment of remote storage device in intelligent television.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
Referring to Fig. 1, it is the flow chart that connects method first embodiment of remote storage device in intelligent television provided by the invention.
In the present embodiment, intelligent television comprises for connecting the linkage interface with other remote storage devices of this intelligent television in same local area network (LAN), at this linkage interface, comprise a plurality of device addresses input frame, wherein, different device address input frame corresponding to device type.
Remote storage device in the present embodiment comprises and meets SMB (Server Message Block, SMB agreement) remote storage device (being SMB equipment), meet FTP (File Transfer Protocol, file transfer protocol (FTP)) remote storage device (being FTP equipment) etc., therefore, in linkage interface, can comprise device address input frame that device address input frame, FTP equipment that SMB equipment is corresponding are corresponding etc.
The method comprises the steps:
S101, receives after the information of device address by a device address input frame, determines the device type that this device address input frame is corresponding.
Such as, in device address input frame corresponding to the SMB equipment of user in linkage interface, inputted after the information of device address, can determine that the remote storage device that user need to connect is SMB equipment.
S102, obtains device address coding rule information corresponding to this device type, and wherein, device address coding rule information comprises the initialize format of device address and the default feature of device address.
Concrete, the present embodiment is chiefly directed to SMB equipment under IPv4 agreement and the device address coding rule information of FTP equipment, wherein:
SMB device address coding rule information comprises: the initialize format of SMB device address is generally the IP address of the numeral composition of four fields, and the default digital scope being characterized as in each field of SMB device address is 0-255;
FTP device address coding rule information comprises: the initialize format of FTP device address is the IP cyclic address change port numbers that the numeral of four fields forms, and the scope that the default digital scope being characterized as in each field of FTP device address is 0-255 and port numbers is 0-65535.
S103, resolves by the device address information to receiving, and whether the device address information that judgement receives meets device address coding rule.
Such as, when user has inputted 192.168.30.20 in device address input frame corresponding to SMB equipment, according to above-mentioned SMB device address coding rule information, the address of this input (192.168.30.20) is the IP address that the numeral of four fields forms, and the digital scope in each field is between 0-255, therefore, the address of this input (192.168.30.20) is for meeting the device address coding rule of SMB equipment, in this case, can the device address information based on receiving remove to connect corresponding remote storage device.
S104, if the determination result is NO for S103, the device address information receiving does not meet device address coding rule, on linkage interface, show miscue information, based on this miscue information, the device address information receiving is revised as correct, to complete being connected of intelligent television and remote storage device.
Such as, when user has inputted 192.168.256.254 and port numbers 60 in device address input frame corresponding to FTP equipment, according to above-mentioned FTP device address coding rule information, the address of this input (192.168.256.254 60) is the IP cyclic address change port numbers that the numeral of four fields forms, but wherein the digital scope of the 3rd field (256) is not between 0-255, therefore, the address of this input (192.168.256.254 60) are not for meeting the device address coding rule of FTP equipment.
In this case, can on linkage interface, show one show can be automatically hiding after preset time prompting frame, in this prompting frame, can comprise the wrong information of address information of its input of prompting user.
What in the present embodiment, adopt is on linkage interface, to show a prompting frame, in this prompting frame, can comprise the address information of prompting user its input wrong information (such as " this device address information does not meet presetting rule; please revise " etc.), and can carry out determine operation button control (such as: " determining " button).
When user selects to click, be somebody's turn to do " determining " button, represent that user wishes the address information of input to modify, prompting frame can be hidden.Wherein, hiding of prompting frame can be revised as invisible and realize by being revised the value of the visibility of prompting frame.
Further, in the present embodiment, show miscue information in S104 after, also can carry out location of mistake to the device address information receiving, determine the target location that may have input error in the device address information receiving.
Concrete, can determine that whether the form of the device address information receiving is correct according to the default form of device address; In the situation that determined that the form of the device address information receiving is correct, carries out location of mistake according to the default feature of device address to the device address information receiving.
Such as, when user has inputted 192.258.30.20 in device address input frame corresponding to SMB equipment, according to the default form of above-mentioned SMB device address, the address of this input (192.258.30.20) is the IP address that the numeral of four fields forms, and can determine that the form of the address (192.258.30.20) of this input is correct; Then according to the default feature of above-mentioned SMB device address, can know that digital scope in its second field (258), not between 0-255, therefore, can be defined as this second field (258) may exist the target location of input error.
May exist input error target location determine after, operational light mark can be positioned to this target location, being about to second field (258) that operational light mark navigates to the address of this input locates, by above-mentioned mechanism for correcting errors, can judge in the device address information of input and may occur wrong position, and cursor is navigated to this wrong position, avoid user to revise other correct information, can directly wrong information be modified, can be convenient to realize being faster connected of intelligent television and remote storage device, save user's operating time, promote user's operating efficiency.
In the present embodiment, after showing miscue information, also can in linkage interface, show the dummy keyboard only being formed by numeral, wherein, this dummy keyboard is for receiving the digital information of user's input, with respect to the mode that only uses a teleswitch and input, the mode of the dummy keyboard that the present embodiment provides is more conducive to input, improves input efficiency.
According to the embodiment of the method that connects remote storage device in intelligent television provided by the invention, in the device address of linkage interface, input frame receives after facility information, determine device type and obtain corresponding device address presetting rule, in the device address information receiving, do not meet the situation of presetting rule, prompting user modifies to device address information, user is without the device address that comes back to again linkage interface inspection input after knowing connection failure, can reduce user's operating procedure, and then saving user time, improve operating efficiency.
Provided by the invention and the above-mentioned corresponding device of method that connects remote storage device in intelligent television will be introduced below.
Fig. 2 is the structural representation that the present invention connects device first embodiment of remote storage device in intelligent television.
In the present embodiment, intelligent television comprises for connecting the linkage interface with other remote storage devices of intelligent television in same local area network (LAN), at linkage interface, comprise a plurality of device addresses input frame, wherein, different device address input frame corresponding to remote storage device type.
Remote storage device in the present embodiment comprises and meets SMB (Server Message Block, SMB agreement) remote storage device (being SMB equipment), meet FTP (File Transfer Protocol, file transfer protocol (FTP)) remote storage device (being FTP equipment) etc., therefore, in linkage interface, can comprise device address input frame that device address input frame, FTP equipment that SMB equipment is corresponding are corresponding etc.
This device comprises:
Determining unit 21, for receiving after the information of device address by a device address input frame, determines the device type that this device address input frame is corresponding.
Such as, in device address input frame corresponding to the FTP equipment of user in linkage interface, inputted after the information of device address, determine that the remote storage device that user need to connect is FTP equipment.
Acquiring unit 22, for obtaining device address coding rule information corresponding to this device type, wherein, described device address coding rule information comprises the initialize format of device address and the default feature of device address.
Concrete, the present embodiment is chiefly directed to SMB equipment under IPv4 agreement and the device address coding rule information of FTP equipment, wherein:
SMB device address coding rule information comprises: the initialize format of SMB device address is generally the IP address of the numeral composition of four fields, and the default digital scope being characterized as in each field of SMB device address is 0-255;
FTP device address coding rule information comprises: the initialize format of FTP device address is the IP cyclic address change port numbers that the numeral of four fields forms, and the scope that the default digital scope being characterized as in each field of FTP device address is 0-255 and port numbers is 0-65535.
Judging unit 23, resolves for the device address information by receiving, and whether the device address information that judgement receives meets described device address coding rule.
The first display unit 24, for when judging unit 23 is when the determination result is NO, the device address information receiving does not meet the corresponding device address of this device type coding rule, show miscue information, the device address information of receiving based on miscue information butt joint is modified, to complete being connected of intelligent television and remote storage device.
In the present embodiment, this device also can comprise:
Linkage unit, for when judgment result is that of judging unit 23 is, the corresponding device address of this device type of the device address information conforms coding rule receiving, the device address information based on receiving connects corresponding remote storage device.
Further, this device also can comprise:
Location of mistake unit, carries out location of mistake for the device address information to receiving, and determines the target location that may have input error in the device address information receiving.
Cursor positioning unit, for operational light mark is positioned to target location, so that user is revised as correct by the device address information receiving.
Further, location of mistake unit, also can specifically comprise:
Determine subelement, for determining that according to the default form of device address whether the form of the device address information receiving is correct.
Locator unit, in the situation that the correct format of the device address information receiving, according to the default feature of described device address, carries out location of mistake to the device address information receiving.
In the present embodiment, this device also can comprise:
The second display unit, for showing the dummy keyboard being only comprised of numeral, wherein, this dummy keyboard is for receiving the digital information of user's input.
According to the device embodiment that connects remote storage device in intelligent television provided by the invention, in the device address of linkage interface, input frame receives after facility information, determine device type and obtain corresponding device address presetting rule, in the device address information receiving, do not meet the situation of presetting rule, prompting user modifies to device address information, user is without the device address that comes back to again linkage interface inspection input after knowing connection failure, can reduce user's operating procedure, and then saving user time, improve operating efficiency.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and each embodiment stresses is the difference with other embodiment, between each embodiment identical similar part mutually referring to.For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part is referring to the part explanation of embodiment of the method.
Above to a kind of method and apparatus that connects remote storage device in intelligent television provided by the present invention, be described in detail, applied specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; , for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention meanwhile.