Summary of the invention
The technical problem to be solved is to provide a kind of method connecting remote storage device in intelligent television
And device, in the case of the device address information of input does not meets presetting rule, user can be pointed out to modify, reduce user
Operating procedure, and then save user time, improve operating efficiency.
For achieving the above object, according to an aspect of the present invention, it is proposed that a kind of connection in intelligent television remotely deposits
The method of storage equipment, described intelligent television includes for connecting and described intelligent television is in same LAN that other are remote
The linkage interface of journey storage device, includes multiple device addresses input frame, wherein, different equipment classes at described linkage interface
The corresponding different device address input frame of type, described method includes:
After receiving device address information by a device address input frame, determine this corresponding setting of device address input frame
Standby type;
Obtain the device address coding rule information that this device type is corresponding;
By the device address information received is resolved, it is judged that described in the device address information that receives whether accord with
Close described device address coding rule;
If it is judged that be no, then show miscue information, receive described based on described miscue information
Device address information modify, to complete the connection of intelligent television and remote storage device.
Further, described method also includes:
If it is judged that be yes, then connect corresponding remotely storage based on the described device address information received and set
Standby.
Further, after display miscue information, also include:
The described device address information received is carried out location of mistake, determine described in the device address information that receives
There may be the target location of input error;
Cursor positioning will be operated in described target location, in order to the described device address information received is revised as by user
Correct.
Further, described device address coding rule information includes the preset form of device address and the pre-of device address
If feature;
The described device address received is carried out location of mistake, determine described in may in the device address information that receives
There is the target location of input error, including:
Preset format according to described device address determine described in the form of device address information that receives the most correct;
In the case of the form of the described device address information received is correct, according to the default spy of described device address
Levy, the described device address information received is carried out location of mistake.
Further, after display miscue information, also include:
The dummy keyboard that display is consist of only digits, wherein, described dummy keyboard is for receiving the numeral letter of user's input
Breath.
Further, described remote storage device is SMB equipment or FTP device;
Wherein, the preset form of the device address of described SMB equipment is the IP address of the numeral composition of four fields, described
The preset form of the device address of FTP device is IP cyclic address change the port numbers of the numeral composition of four fields;
The default digital scope being characterized as in each field of described SMB device address is 0-255, described FTP device ground
The default digital scope being characterized as in each field of location is 0-255 and port numbers is in the range of 0-65535.
For achieving the above object, according to another aspect of the invention, it is proposed that a kind of connect in intelligent television remotely deposits
The device of storage equipment, described intelligent television includes for connecting and described intelligent television is in same LAN that other are remote
The linkage interface of journey storage device, includes multiple device addresses input frame, wherein, different equipment classes at described linkage interface
The corresponding different device address input frame of type, described device includes:
Determine unit, after receiving device address information by a device address input frame, determine this device address
The device type that input frame is corresponding;
Acquiring unit, for obtaining the device address coding rule information that this device type is corresponding;
Judging unit, for by resolving the device address information received, it is judged that described in the equipment that receives
Whether address information meets described device address coding rule;
First display unit, for when the judged result of described judging unit is no, then shows miscue information, base
In described miscue information, the described device address information received is modified, to complete intelligent television and remotely storage
The connection of equipment.
Further, described device also includes:
Connect unit, for when the judged result of described judged result is for being, then based on the described equipment received ground
Location information connects corresponding remote storage device.
Further, described device also includes:
Location of mistake unit, for the described device address information received is carried out location of mistake, determines described reception
To device address information in there may be the target location of input error;
Cursor positioning unit, for will operation cursor positioning in described target location, in order to user receives described
Device address information is revised as correct.
Further, described device address coding rule information includes the preset form of device address and the pre-of device address
If feature;
Described location of mistake unit, including:
Determine subelement, the device address information that receives described in determine according to the preset format of described device address
Form the most correct;
Locator unit, in the case of the form of the described device address information received is correct, according to described
The default feature of device address, carries out location of mistake to the described device address information received.
Compared with prior art, a technical scheme in technique scheme has the following advantages or beneficial effect:
The method and apparatus connecting remote storage device in intelligent television that the present invention provides, at the equipment of linkage interface
After address input box receives device address information, determine device type and obtain the device address presetting rule of correspondence, connecing
The device address information received does not meets the situation of presetting rule, and device address information is modified by prompting user, Yong Huwu
The device address information of linkage interface inspection input need to be come back to after knowing connection failure again, the operation step of user can be reduced
Suddenly, and then save user time, improve operating efficiency.
Detailed description of the invention
Understandable for enabling the above-mentioned purpose of the present invention, feature and advantage to become apparent from, real with concrete below in conjunction with the accompanying drawings
The present invention is further detailed explanation to execute mode.
Referring to Fig. 1, the method first embodiment connecting remote storage device in intelligent television provided for the present invention
Flow chart.
In the present embodiment, intelligent television includes for connecting other that be in same LAN with this intelligent television
The linkage interface of remote storage device, includes multiple device addresses input frame, wherein, different equipment classes at this linkage interface
The corresponding different device address input frame of type.
Remote storage device in the present embodiment includes meeting SMB (Server Message Block, SMB
Agreement) remote storage device (i.e. SMB equipment), meet FTP's (File Transfer Protocol, file transfer protocol (FTP))
Remote storage device (i.e. FTP device) etc., therefore, can include in linkage interface device address input frame that SMB equipment is corresponding,
The device address input frame etc. that FTP device is corresponding.
The method comprises the steps:
S101, after receiving device address information by a device address input frame, determines this device address input frame pair
The device type answered.
Such as, when the device address input frame that user's SMB equipment in linkage interface is corresponding have input device address
After information, then can determine that user needs the remote storage device connected to be SMB equipment.
S102, obtains the device address coding rule information that this device type is corresponding, and wherein, device address coding rule is believed
Breath includes the preset form of device address and the default feature of device address.
Concrete, SMB equipment and the device address coding of FTP device that the present embodiment is chiefly directed under IPv4 agreement are advised
Then information, wherein:
SMB device address coding rule information includes: the preset form of SMB device address is usually the numeral of four fields
The IP address of composition, the default digital scope being characterized as in each field of SMB device address is 0-255;
FTP device geocoding Rule Information includes: the preset form of FTP device address is the numeral composition of four fields
IP cyclic address change port numbers, the default digital scope being characterized as in each field of FTP device address is 0-255 and port
Number in the range of 0-65535.
S103, by resolving the device address information received, it is judged that whether the device address information received
Meet device address coding rule.
Such as, when user have input 192.168.30.20 in the device address input frame that SMB equipment is corresponding, then basis
Above-mentioned SMB device address coding rule information, the address (192.168.30.20) of this input is the numeral composition of four fields
Digital scope in IP address, and each field is between 0-255, and therefore, the address (192.168.30.20) of this input is symbol
Closing the device address coding rule of SMB equipment, in this case, then it is right to go to connect based on the device address information received
The remote storage device answered.
S104, if the judged result of S103 is no, the device address information i.e. received does not meets device address coding
Rule, then show miscue information on linkage interface, the device address information that will receive based on this miscue information
It is revised as correct, to complete the connection of intelligent television and remote storage device.
Such as, in the device address input frame that FTP device is corresponding, have input 192.168.256.254 and port when user
Numbers 60, then according to above-mentioned FTP device geocoding Rule Information, the address (192.168.256.254 60) of this input is four
IP cyclic address change the port numbers of the numeral composition of field, but wherein the digital scope of the 3rd field (256) is not at 0-255
Between, therefore, the address (192.168.256.254 60) of this input is the device address coding rule not meeting FTP device.
In this case, the prompting can automatically hidden after a display preset time can be shown on linkage interface
Frame, can include the information pointing out its address information inputted of user wrong in this prompting frame.
The present embodiment uses one prompting frame of display on linkage interface, this prompting frame can include point out user
The information (such as: " this device address information does not meets presetting rule, please revise " etc.) that its address information inputted is wrong, and can
Perform to determine the button control (such as: " determination " button) of operation.
It is somebody's turn to do " determination " button, then it represents that user wishes to modify the address information of input, then when user selects to click on
Frame can be will be prompted to hide.Wherein, hiding of prompting frame can be revised as by the value of the visibility of amendment prompting frame
Invisible realizes.
Further, in the present embodiment, after S104 shows miscue information, also can be to the equipment received
Address information carries out location of mistake, determines the target location that there may be input error in the device address information received.
Concrete, the form of the device address information received can determined the most just according to the preset format of device address
Really;In the case of the form determining the device address information received is correct, according to the default feature pair of device address
The device address information received carries out location of mistake.
Such as, when user have input 192.258.30.20 in the device address input frame that SMB equipment is corresponding, then basis
The preset format of above-mentioned SMB device address, the address (192.258.30.20) of this input is the IP of the numeral composition of four fields
Address, then can determine that the form of the address (192.258.30.20) of this input is correct;Then according to above-mentioned SMB equipment
The default feature of address, would know that the digital scope in its second field (258), not between 0-255, therefore, can will be somebody's turn to do
Second field (258) is defined as there may be the target location of input error.
There may be input error target location determine after, can by operation cursor positioning in this target location,
The cursor positioning second field (258) place to the address of this input will be operated, by above-mentioned mechanism for correcting errors, can determine whether out defeated
The device address information entered is likely to occur the position of mistake, and by the position of cursor positioning to this mistake, it is to avoid Yong Huxiu
Change other correct information, directly the information of mistake can be modified, can be easy to realize intelligent television faster and remotely deposit
The connection of storage equipment, saves the user operation time, promotes user operation efficiency.
In the present embodiment, after display miscue information, also can show in linkage interface and be consist of only digits
Dummy keyboard, wherein, this dummy keyboard for receive user input digital information, defeated relative to only using remote controller to carry out
The mode entered, the mode of the dummy keyboard that the present embodiment provides is more conducive to input, improves input efficiency.
The embodiment of the method connecting remote storage device in intelligent television provided according to the present invention, at linkage interface
After device address input frame receives facility information, determine device type and obtain the device address presetting rule of correspondence, connecing
The device address information received does not meets the situation of presetting rule, and device address information is modified by prompting user, Yong Huwu
The device address of linkage interface inspection input need to be come back to after knowing connection failure again, user operation step can be reduced, enter
And save user time, improve operating efficiency.
Be explained below that the present invention provides is corresponding with the above-mentioned method connecting remote storage device in intelligent television
Device.
Fig. 2 is the structural representation that the present invention connects the device first embodiment of remote storage device in intelligent television.
In the present embodiment, intelligent television includes for connecting and intelligent television is in same LAN that other are remote
The linkage interface of journey storage device, includes multiple device addresses input frame at linkage interface, and wherein, different remotely storages sets
The corresponding different device address input frame of standby type.
Remote storage device in the present embodiment includes meeting SMB (Server Message Block, SMB
Agreement) remote storage device (i.e. SMB equipment), meet FTP's (File Transfer Protocol, file transfer protocol (FTP))
Remote storage device (i.e. FTP device) etc., therefore, can include in linkage interface device address input frame that SMB equipment is corresponding,
The device address input frame etc. that FTP device is corresponding.
This device includes:
Determine unit 21, after receiving device address information by a device address input frame, determine this equipment ground
The device type that location input frame is corresponding.
Such as, when the device address input frame that user's FTP device in linkage interface is corresponding have input device address
After information, it is determined that user needs the remote storage device connected to be FTP device.
Acquiring unit 22, for obtaining the device address coding rule information that this device type is corresponding, wherein, described equipment
Geocoding Rule Information includes the preset form of device address and the default feature of device address.
Concrete, SMB equipment and the device address coding of FTP device that the present embodiment is chiefly directed under IPv4 agreement are advised
Then information, wherein:
SMB device address coding rule information includes: the preset form of SMB device address is usually the numeral of four fields
The IP address of composition, the default digital scope being characterized as in each field of SMB device address is 0-255;
FTP device geocoding Rule Information includes: the preset form of FTP device address is the numeral composition of four fields
IP cyclic address change port numbers, the default digital scope being characterized as in each field of FTP device address is 0-255 and port
Number in the range of 0-65535.
Judging unit 23, for by resolving the device address information received, it is judged that the equipment ground received
Whether location information meets described device address coding rule.
First display unit 24, for when the judged result of judging unit 23 is no, the device address i.e. received is believed
Breath does not meets the device address coding rule corresponding to this device type, then show miscue information, believes based on miscue
The device address information received is modified, to complete the connection of intelligent television and remote storage device by breath.
In the present embodiment, this device may also include that
Connecting unit, for when the judged result of judging unit 23 is for being, the device address information i.e. received meets
Device address coding rule corresponding to this device type, then connect corresponding remotely depositing based on the device address information received
Storage equipment.
Further, this device may also include that
Location of mistake unit, for the device address information received is carried out location of mistake, determines the equipment received
Address information there may be the target location of input error.
Cursor positioning unit, for operating cursor positioning in target location, in order to the device address that user will receive
Information is revised as correct.
Further, location of mistake unit, also may particularly include:
Determine subelement, for determining that according to the preset format of device address the form of the device address information received is
No correctly.
Locator unit, in the case of the form of the device address information received is correct, according to described equipment
The default feature of address, carries out location of mistake to the device address information received.
In the present embodiment, this device may also include that
Second display unit, the dummy keyboard being consist of only digits for display, wherein, this dummy keyboard is used for receiving use
The digital information of family input.
The device embodiment connecting remote storage device in intelligent television provided according to the present invention, at linkage interface
After device address input frame receives facility information, determine device type and obtain the device address presetting rule of correspondence, connecing
The device address information received does not meets the situation of presetting rule, and device address information is modified by prompting user, Yong Huwu
The device address of linkage interface inspection input need to be come back to after knowing connection failure again, user operation step can be reduced, enter
And save user time, improve operating efficiency.
Each embodiment in this specification all uses the mode gone forward one by one to describe, what each embodiment stressed is with
The difference of other embodiments, between each embodiment, identical similar part sees mutually.For device embodiment
For, due to itself and embodiment of the method basic simlarity, so describe is fairly simple, relevant part sees the portion of embodiment of the method
Defend oneself bright.
Above to a kind of method and apparatus connecting remote storage device in intelligent television provided by the present invention, carry out
Being discussed in detail, principle and the embodiment of the present invention are set forth by specific case used herein, above example
Explanation be only intended to help to understand method and the core concept thereof of the present invention;Simultaneously for one of ordinary skill in the art,
According to the thought of the present invention, the most all will change, in sum, in this specification
Hold and should not be construed as limitation of the present invention.