Summary of the invention
In view of this, the object of the present invention is to provide control method, control device and the thin terminal of thin terminal, in the situation that thin terminal is connected to share desktop, use safe U disc so that obtain user.
For achieving the above object, the invention provides following technical scheme:
The present invention discloses a kind of control method of thin terminal, and described thin terminal comprises USB interface, and described thin terminal can be connected to cloud desktop, and described method comprises:
In the time detecting that described USB interface is inserted safe U disc, determine the type of the cloud desktop of the current connection of described thin terminal;
Determining that described thin terminal is current while being connected to share desktop, obtain administrator right information;
Export described administrator right information from described USB interface, can move .exe executable program file with the processor that makes described safe U disc getting after described administrator right information.
Preferably, exporting described administrator right information from described USB interface, also comprising:
Determine the attribute mapping of the safe U disc drive showing in described share desktop, described attribute mapping comprises that local user is shone upon with long-distance user and shines upon;
Attribute mapping is that the use attribute of the safe U disc drive that shines upon of local user is set to available;
Attribute mapping is that the use attribute of the safe U disc drive that shines upon of long-distance user is set to forbidding.
Preferably, the described attribute mapping of determining the safe U disc drive showing in described share desktop, comprising:
Capture the mapping channel ID identification number of safe U disc drive in described share desktop;
Determine that mapping channel ID is that the attribute mapping of the safe U disc drive of null value is local user mapping;
Determine that mapping channel ID is that the attribute mapping of the safe U disc drive of non-null value is long-distance user mapping.
Preferably, after determining the attribute mapping of the safe U disc drive showing in described share desktop, also comprise:
Adjusting attribute mapping is the display properties of the safe U disc drive that shines upon of long-distance user, to make the safe U disc drive that attribute mapping shines upon as long-distance user present different display effects from the safe U disc drive that attribute mapping shines upon as local user.
Preferably, described display properties comprises at least one in Show Color and display brightness.
The present invention also discloses a kind of control device of thin terminal, and described thin terminal comprises USB interface, and described thin terminal can be connected to cloud desktop, and described control device comprises:
Cloud desktop type determining unit, in the time detecting that described USB interface is inserted safe U disc, determines the type of the cloud desktop of the current connection of described thin terminal;
Authority information acquiring unit, for determining that described thin terminal is current while being connected to share desktop, obtains administrator right information;
The first processing unit, for export described administrator right information from described USB interface, can move .exe executable program file with the processor that makes described safe U disc getting after described administrator right information.
Preferably, above-mentioned control device also comprises:
Attribute mapping determining unit, for exporting from described USB interface described administrator right information at described the first processing unit, determine the attribute mapping of the safe U disc drive showing in described share desktop, described attribute mapping comprises that local user is shone upon with long-distance user and shines upon;
The second processing unit, the use attribute that is the safe U disc drive that shines upon of local user for attribute mapping is set to available, and attribute mapping is that the use attribute of the safe U disc drive that shines upon of long-distance user is set to forbidding.
Preferably, described attribute mapping determining unit comprises:
Handling module, for capturing the mapping channel ID of safe U disc drive in described share desktop;
Attribute mapping determination module, is local user's mapping for the attribute mapping of determining the mapping channel ID safe U disc drive that is null value, determines that mapping channel ID is that the attribute mapping of the safe U disc drive of non-null value is that long-distance user is shone upon.
Preferably, above-mentioned control device also comprises display properties adjustment unit;
Described display properties adjustment unit is after described attribute mapping determining unit is determined the attribute mapping of the safe U disc drive showing in described share desktop, adjusting attribute mapping is the display properties of the safe U disc drive that shines upon of long-distance user, to make the safe U disc drive that attribute mapping shines upon as long-distance user present different display effects from the safe U disc drive that attribute mapping shines upon as local user.
The present invention also discloses a kind of thin terminal, comprises USB interface, and described thin terminal can be connected to cloud desktop, and described thin terminal comprises above-mentioned any one control device.
As can be seen here, beneficial effect of the present invention is: thin terminal disclosed by the invention and control method and control device, in the situation that thin terminal is connected to share desktop, in the time detecting that safe U disc inserts the USB interface of thin terminal, obtain administrator right information, and export this administrator right information from USB interface, make the processor of safe U disc can utilize the administrator right information operation .exe file getting, while ensureing that user carries out the operation of access security USB flash disk, the processor of safe U disc can move provides the .exe of Password Input frame file, make user can in the situation that thin terminal is connected to share desktop, use safe U disc.
Embodiment
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The present invention discloses a kind of control method of thin terminal, and this thin terminal comprises USB interface, and this thin terminal can be connected to cloud desktop.Based on control method disclosed by the invention, make user in the situation that thin terminal is connected to share desktop, can use safe U disc.
Referring to Fig. 1, the process flow diagram of the control method that Fig. 1 is a kind of thin terminal disclosed by the invention.This control method comprises:
Step S11: in the time detecting that USB interface is inserted safe U disc, determine the type of the cloud desktop of the current connection of thin terminal.
Thin terminal scans usb bus according to preset strategy, in the time that safe U disc is inserted the USB interface of thin terminal by user, safe U disc can make the level of the data signal line of usb bus change, thin terminal detects after the signal intensity on usb bus, just define USB device and insert USB interface, and being further confirmed to be safe U disc insertion USB interface, it is prior art that thin terminal is carried out safe U disc insertion detection, only does brief description here.In addition, user inserts safe U disc after the USB interface of thin terminal, and safe U disc indirectly connects with cloud desktop, shows the drive of this safe U disc on cloud desktop.
Defining after safe U disc insertion USB interface, determining the type of the cloud desktop of the current connection of thin terminal.Cloud desktop mainly comprises proprietary desktop and share desktop.Wherein, share desktop refers to the cloud desktop that allows multiple thin terminals simultaneously to connect.Based on the consideration of user security and security of system, operation .exe file (executable program file) can not directly be double-clicked in share desktop by domestic consumer at present, its objective is and avoids domestic consumer to install arbitrarily or unload application program bringing hidden danger to system.
User is inserting safe U disc after the USB interface of thin terminal, must in Password Input frame, input default password, just can use this safe U disc.In prior art, thin terminal is connected in the situation of share desktop, safe U disc is inserted after the USB interface of thin terminal user, because domestic consumer cannot move .exe file, therefore in safe U disc, cannot move for the .exe file that Password Input frame is provided, not display password input frame of thin terminal, causes user cannot use safe U disc in this case.
Step S12: determining that thin terminal is current while being connected to share desktop, obtain administrator right information.
Step S13: from USB interface outgoing management person authority information, can move .exe executable program file with the processor that makes safe U disc getting after administrator right information.
Control device in thin terminal is determining that thin terminal is current while being connected to share desktop, obtain administrator right information, can move .exe file based on administrator right, afterwards from USB interface outgoing management person authority information, safe U disc can obtain administrator right information by USB interface, the processor of safe U disc is getting after administrator right information, just can move .exe file.In the time that user carries out the operation of access security USB flash disk (as double-clicked the drive of safe U disc, or right button selects to open option), the processor operation of safe U disc provides the .exe file of Password Input frame, make thin terminal display password input frame, user, after the default password of input, just can use this safe U disc.
The control method of thin terminal disclosed by the invention, in the situation that thin terminal is connected to share desktop, in the time detecting that safe U disc inserts the USB interface of thin terminal, obtain administrator right information, and export this administrator right information from USB interface, make the processor of safe U disc can utilize the administrator right information operation .exe file getting, while ensureing that user carries out the operation of access security USB flash disk, the processor of safe U disc can move provides the .exe of Password Input frame file, make user can in the situation that thin terminal is connected to share desktop, use safe U disc.
Based on the disclosed control method of Fig. 1 of the present invention, in the time that the USB interface of multiple thin terminals is inserted with safe U disc, share desktop shows the drive of multiple safe U discs, and user can carry out read-write operation to the safe U disc being plugged in other thin terminals by the thin terminal of this locality, this causes the security of the information that is stored in safe U disc poor, has reduced user's experience.In order to address this problem, applicant improves control method shown in Fig. 1.Describe below in conjunction with Fig. 2.
Referring to Fig. 2, Fig. 2 is the process flow diagram of the control method of the thin terminal of another kind disclosed by the invention.This control method comprises:
Step S21: in the time detecting that USB interface is inserted safe U disc, determine the type of the cloud desktop of the current connection of thin terminal.
Step S22: determining that thin terminal is current while being connected to share desktop, obtain administrator right information.
Step S23: from USB interface outgoing management person authority information, can move .exe executable program file with the processor that makes safe U disc getting after administrator right information.
Step S24: the attribute mapping of determining the safe U disc drive showing in share desktop.
When user inserts safe U disc after the USB interface of thin terminal, safe U disc is connected to share desktop by thin terminal indirectly, utilizes telecommunication protocol to set up the mapping of safe U disc, and share desktop shows the drive of safe U disc.In the time that the USB interface of multiple thin terminals is plugged with safe U disc, share desktop shows the drive of multiple safe U discs.The attribute mapping of safe U disc drive comprises that local user is shone upon with long-distance user and shines upon.For a thin terminal, the safe U disc being plugged in the machine USB interface belongs to local user, the attribute mapping of the drive of corresponding this safe U disc is local user's attribute, the safe U disc being plugged in the USB interface of other thin terminals belongs to long-distance user, and the attribute mapping of the drive of this safe U disc is long-distance user's attribute accordingly.
Step S25: it is available that attribute mapping is that the use attribute of the safe U disc drive that shines upon of local user is set to, attribute mapping is that the use attribute of the safe U disc drive that shines upon of long-distance user is set to forbidding.
Determining after the attribute mapping of the safe U disc drive showing in share desktop, be the safe U disc drive that local user is shone upon for attribute mapping, it is available that its use attribute is set, and namely user can be by safe U disc corresponding to this safe U disc drive of thin terminal access.Be the safe U disc drive that long-distance user is shone upon for attribute mapping, its use attribute be set for forbidding, namely forbid that user is by safe U disc corresponding to this safe U disc drive of thin terminal access.That is to say, the thin terminal access that user can only use by oneself is plugged on the safe U disc in the machine USB interface, and cannot access the safe U disc in the USB interface that is plugged on other thin terminals, realizes the access control to safe U disc.
The disclosed control method of Fig. 2 of the present invention, can ensure that user carries out the operation of access security USB flash disk time, the processor of safe U disc can move provides the .exe of Password Input frame file, makes user can in the situation that thin terminal is connected to share desktop, use safe U disc; In addition, can also realize the access control to safe U disc, user can only be accessed and be plugged on the safe U disc in local thin terminal, and cannot access the safe U disc being plugged in long-range thin terminal.
In enforcement, the attribute mapping of the safe U disc drive that can adopt various ways to determine to show in share desktop, the application is elaborated to one wherein, comprising: the mapping channel ID (identification number) that captures safe U disc drive in share desktop; Determine that mapping channel ID is that the attribute mapping of the safe U disc drive of null value is local user mapping; Determine that mapping channel ID is that the attribute mapping of the safe U disc drive of non-null value is long-distance user mapping.
The safe U disc being plugged in different thin terminals is mapped to cloud desktop by different mapping channels, and each mapping channel has unique ID.Thin terminal captures the mapping channel ID of each safe U disc drive, if grab the mapping channel ID of safe U disc drive, the attribute mapping that this safe U disc drive is described is long-distance user's mapping, the safe U disc that this safe U disc drive is corresponding is plugged in the USB interface of long-range thin terminal, if do not grab the mapping channel ID of safe U disc drive, the attribute mapping that this safe U disc drive is described is local user's mapping, and the safe U disc that this safe U disc drive is corresponding is plugged in the USB interface of local thin terminal.
Referring to Fig. 3, Fig. 3 is the process flow diagram of the control method of the thin terminal of another kind disclosed by the invention.This control method comprises:
Step S31: in the time detecting that USB interface is inserted safe U disc, determine the type of the cloud desktop of the current connection of thin terminal.
Step S32: determining that thin terminal is current while being connected to share desktop, obtain administrator right information.
Step S33: from USB interface outgoing management person authority information, can move .exe executable program file with the processor that makes safe U disc getting after administrator right information.
Step S34: the attribute mapping of determining the safe U disc drive showing in share desktop.
Step S35: it is available that attribute mapping is that the use attribute of the safe U disc drive that shines upon of local user is set to, attribute mapping is that the use attribute of the safe U disc drive that shines upon of long-distance user is set to forbidding.
Step S36: adjusting attribute mapping is the display properties of the safe U disc drive that shines upon of long-distance user, to make the safe U disc drive that attribute mapping shines upon as long-distance user present different display effects from the safe U disc drive that attribute mapping shines upon as local user.
In the time determining that the attribute mapping of safe U disc drive shines upon for long-distance user, except its use attribute is set to forbidding, further adjust the display properties of this safe U disc drive, making attribute mapping is the display effect of the safe U disc drive that shines upon of long-distance user, be that the display effect of the safe U disc drive that shines upon of local user is different from attribute mapping, be convenient to user and distinguish from outward appearance.
In enforcement, the display properties of safe U disc drive comprises at least one in Show Color and display brightness.
For example, after determining that the attribute mapping of safe U disc drive shines upon for long-distance user, this safe U disc drive is put to ash (its essence is to reduce display brightness), in the multiple safe U disc drives that show in thin terminal, the drive that is only plugged in the safe U disc in the USB interface of local thin terminal shows with original display brightness, the drive that is plugged in the safe U disc in the USB interface of long-range thin terminal all shows with lower display brightness, so that user distinguishes from the brightness of safe U disc drive.
In addition, the drive that also can be plugged in the safe U disc in the USB interface of local thin terminal is set to the first color, the drive that is plugged in the safe U disc in the USB interface of long-range thin terminal is set to the second color, so that user distinguishes from the color of safe U disc drive.
The above-mentioned control method that discloses thin terminal of the present invention, corresponding, the present invention discloses the control device of thin terminal, to realize above-mentioned control method.Wherein, the thin terminal in the present invention comprises USB interface, and can be connected to cloud desktop.
Referring to Fig. 4, the structural representation of the control device that Fig. 4 is a kind of thin terminal disclosed by the invention.This control device comprises cloud desktop type determining unit 10, authority information acquiring unit 20 and the first processing unit 30.
Wherein:
Cloud desktop type determining unit 10, in the time detecting that USB interface is inserted safe U disc, determines the type of the cloud desktop of the current connection of thin terminal.Wherein, cloud desktop mainly comprises proprietary desktop and share desktop.
Authority information acquiring unit 20, for determining that thin terminal is current while being connected to share desktop, obtains administrator right information.
The first processing unit 30, for from USB interface outgoing management person authority information, can move .exe executable program file with the processor that makes safe U disc getting after administrator right information.
In the time that cloud desktop type determining unit 10 is determined that thin terminal is current and is connected to share desktop, authority information acquiring unit 20 obtains administrator right information, can move .exe file based on administrator right, the first processing unit 30 is from USB interface outgoing management person authority information afterwards, safe U disc can obtain administrator right information by USB interface, the processor of safe U disc is getting after administrator right information, just can move .exe file.In the time that user carries out the operation of access security USB flash disk (as double-clicked the drive of safe U disc, or right button selects to open option), the processor operation of safe U disc provides the .exe file of Password Input frame, make thin terminal display password input frame, user, after the default password of input, just can use this safe U disc.
The control device of thin terminal disclosed by the invention, in the situation that thin terminal is connected to share desktop, in the time detecting that safe U disc inserts the USB interface of thin terminal, obtain administrator right information, and export this administrator right information from USB interface, make the processor of safe U disc can utilize the administrator right information operation .exe file getting, while ensureing that user carries out the operation of access security USB flash disk, the processor of safe U disc can move provides the .exe of Password Input frame file, make user can in the situation that thin terminal is connected to share desktop, use safe U disc.
Referring to Fig. 5, Fig. 5 is the structural representation of the control device of the thin terminal of another kind disclosed by the invention.This control device comprises cloud desktop type determining unit 10, authority information acquiring unit 20, the first processing unit 30, attribute mapping determining unit 40 and the second processing unit 50.
Wherein:
Cloud desktop type determining unit 10, in the time detecting that USB interface is inserted safe U disc, determines the type of the cloud desktop of the current connection of thin terminal.Wherein, cloud desktop mainly comprises proprietary desktop and share desktop.
Authority information acquiring unit 20, for determining that thin terminal is current while being connected to share desktop, obtains administrator right information.
The first processing unit 30, for from USB interface outgoing management person authority information, can move .exe executable program file with the processor that makes safe U disc getting after administrator right information.
Attribute mapping determining unit 40, at the first processing unit 30 from USB interface outgoing management person authority information, determine the attribute mapping of the safe U disc drive showing in share desktop.Wherein, attribute mapping comprises that local user is shone upon with long-distance user and shines upon.
The second processing unit 50, the use attribute that is the safe U disc drive that shines upon of local user for attribute mapping is set to available, and attribute mapping is that the use attribute of the safe U disc drive that shines upon of long-distance user is set to forbidding.
The disclosed control device of Fig. 5 of the present invention, can ensure that user carries out the operation of access security USB flash disk time, the processor of safe U disc can move provides the .exe of Password Input frame file, makes user can in the situation that thin terminal is connected to share desktop, use safe U disc; In addition, can also realize the access control to safe U disc, user can only be accessed and be plugged on the safe U disc in local thin terminal, and cannot access the safe U disc being plugged in long-range thin terminal.
In enforcement, the attribute mapping of the safe U disc drive that attribute mapping determining unit 40 can adopt various ways to determine to show in share desktop, the application is elaborated to a kind of structure of mapping attribute determining unit 40.
Attribute mapping determining unit 40 comprises: handling module, for capturing the mapping channel ID of safe U disc drive in share desktop; Attribute mapping determination module, is local user's mapping for the attribute mapping of determining the mapping channel ID safe U disc drive that is null value, determines that mapping channel ID is that the attribute mapping of the safe U disc drive of non-null value is that long-distance user is shone upon.
In enforcement, can also in control device shown in Fig. 5, further set up display properties adjustment unit 60 (as shown in Figure 6).Display properties adjustment unit 60 is after attribute mapping determining unit 40 is determined the attribute mapping of the safe U disc drive showing in share desktop, adjusting attribute mapping is the display properties of the safe U disc drive that shines upon of long-distance user, to make the safe U disc drive that attribute mapping shines upon as long-distance user present different display effects from the safe U disc drive that attribute mapping shines upon as local user.
In enforcement, display properties adjustment unit 60 can be adjusted at least one in Show Color and the display brightness that attribute mapping is the safe U disc drive that shines upon of long-distance user.
The present invention also discloses a kind of thin terminal, and this thin terminal comprises USB interface, and can be connected to cloud desktop, and in addition, this thin terminal also comprises aforementioned any one control device.In the situation that thin terminal disclosed by the invention is connected to share desktop, user can use safe U disc.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment, between each embodiment identical similar part mutually referring to.For the disclosed device of embodiment, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part illustrates referring to method part.
To the above-mentioned explanation of the disclosed embodiments, make professional and technical personnel in the field can realize or use the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiment, General Principle as defined herein can, in the situation that not departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.