Content of the invention
In view of this, it is an object of the invention to provide the control method of thin terminal, control device and thin terminal, so that
User is in the case that thin terminal connects to share desktop using safe U disc.
For achieving the above object, the present invention provides following technical scheme:
The present invention discloses a kind of control method of thin terminal, and described thin terminal includes USB interface, and described thin terminal energy
To cloud desktop, methods described includes for enough connections:
When described USB interface insertion safe U disc is detected, determine the class of the current cloud desktop connecting of described thin terminal
Type;
When determining that described thin terminal currently connects to share desktop, obtain administrator right information;
Export described administrator right information from described USB interface, so that the processor of described safe U disc is getting
.exe executable program file can be run after described administrator right information.
Preferably, after exporting described administrator right information from described USB interface, also include:
Determine the attribute mapping of the safe U disc drive of display in described share desktop, described attribute mapping includes locally using
Family mapping and long-distance user's mapping;
The safe U disc drive that attribute mapping is mapped for local user be set to can use using attribute;
The safe U disc drive that attribute mapping is mapped for long-distance user using attribute be set to disable.
Preferably, the described attribute mapping determining the safe U disc drive of display in described share desktop, including:
Capture the mapping channel ID identification number of safe U disc drive in described share desktop;
Determine that the attribute mapping of the safe U disc drive that mapping channel ID is null value maps for local user;
Determine that the attribute mapping of the safe U disc drive that mapping channel ID is non-null value maps for long-distance user.
Preferably, after the attribute mapping of the safe U disc drive of display on determining described share desktop, also include:
The display properties of the safe U disc drive that adjustment attribute mapping maps for long-distance user, so that attribute mapping is remote
The safe U disc drive of journey user mapping assumes different display effects from attribute mapping for the safe U disc drive that local user maps
Really.
Preferably, described display properties includes at least one of Show Color and display brightness.
Invention additionally discloses a kind of control device of thin terminal, described thin terminal includes USB interface, and described thin terminal
Can connect to cloud desktop, described control device includes:
Cloud table-top type determining unit, for when described USB interface insertion safe U disc is detected, determining described thin end
The type of the current cloud desktop connecting in end;
Authority information acquiring unit, for when determining that described thin terminal currently connects to share desktop, obtaining manager
Authority information;
First processing units, for exporting described administrator right information from described USB interface, so that described safe U
The processor of disk can run .exe executable program file after getting described administrator right information.
Preferably, above-mentioned control device also includes:
Attribute mapping determining unit, for weighing from the described manager of described USB interface output in described first processing units
After limit information, determine the attribute mapping of the safe U disc drive of display in described share desktop, described attribute mapping includes locally using
Family mapping and long-distance user's mapping;
Second processing unit, the use attribute of the safe U disc drive for mapping attribute mapping for local user is arranged
Be available, the safe U disc drive that attribute mapping is mapped for long-distance user using attribute be set to disable.
Preferably, described attribute mapping determining unit includes:
Handling module, for capturing the mapping channel ID of safe U disc drive in described share desktop;
Attribute mapping determining module, for determining that mapping channel ID is this for the attribute mapping of the safe U disc drive of null value
Ground user's mapping, determines that the attribute mapping of the safe U disc drive that mapping channel ID is non-null value maps for long-distance user.
Preferably, above-mentioned control device also includes display properties adjustment unit;
Described display properties adjustment unit determines the peace of display in described share desktop in described attribute mapping determining unit
After the attribute mapping of full USB flash disk drive, the display properties of the safe U disc drive that adjustment attribute mapping maps for long-distance user, with
Make the safe U disc drive that the safe U disc drive that attribute mapping is long-distance user's mapping is mapped for local user with attribute mapping
Assume different display effects.
Invention additionally discloses a kind of thin terminal, including USB interface, and described thin terminal can connect to cloud desktop, and
And described thin terminal includes any one control device above-mentioned.
As can be seen here, beneficial effects of the present invention are:Thin terminal disclosed by the invention and its control method and control device,
In the case that thin terminal connects to share desktop, when the USB interface that safe U disc inserts thin terminal is detected, obtain management
Member's authority information, and export this administrator right information so that the processor of safe U disc can be using getting from USB interface
Administrator right information run .exe file it is ensured that user execute access safety USB flash disk operation when, the processor of safe U disc
The .exe file that Password Input frame is provided can be run so that user can make in the case that thin terminal connects to share desktop
Use safe U disc.
Specific embodiment
Purpose, technical scheme and advantage for making the embodiment of the present invention are clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described it is clear that described embodiment is
The a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment being obtained under the premise of not making creative work, broadly falls into the scope of protection of the invention.
The present invention discloses a kind of control method of thin terminal, and this thin terminal includes USB interface, and this thin terminal can connect
It is connected to cloud desktop.Based on control method disclosed by the invention so that user is in the case that thin terminal connects to share desktop, can
To use safe U disc.
Referring to Fig. 1, Fig. 1 is a kind of flow chart of the control method of thin terminal disclosed by the invention.This control method includes:
Step S11:When USB interface insertion safe U disc is detected, determine the class of the current cloud desktop connecting of thin terminal
Type.
Thin terminal scans usb bus according to preset strategy, when safe U disc is inserted the USB interface of thin terminal by user, peace
Full USB flash disk can make the level of the data signal line of usb bus change, after thin terminal detects the signal intensity on usb bus,
Determine that USB device insertion USB interface, and further confirmed that it is safe U disc insertion USB interface, thin terminal has carried out safe U disc
Insertion detection is prior art, is described only briefly here.In addition, safe U disc is inserted after the USB interface of thin terminal by user,
Safe U disc is indirectly set up with cloud desktop and is connected, and cloud desktop shows the drive of this safe U disc.
After determination has safe U disc insertion USB interface, determine the type of the current cloud desktop connecting of thin terminal.Cloud desktop
Mainly include proprietary desktop and share desktop.Wherein, share desktop refers to the cloud desktop allowing multiple thin terminals to be simultaneously connected with.Base
In the consideration of user security and system safety, operation .exe file can not directly be double-clicked in share desktop by current domestic consumer (can
Execution), its objective is to avoid domestic consumer arbitrarily to install or unloading application program brings hidden danger to system.
User inputs default close after the USB interface that safe U disc inserts thin terminal it is necessary in Password Input frame
Code, just can use this safe U disc.In prior art, thin terminal connects to share desktop, in user by safe U
After disk inserts the USB interface of thin terminal, because domestic consumer cannot run .exe file, therefore it is used for providing close in safe U disc
The .exe file of code input frame cannot run, and thin terminal does not show Password Input frame in this case, leads to user no
Method uses safe U disc.
Step S12:When determining that thin terminal currently connects to share desktop, obtain administrator right information.
Step S13:From USB interface outgoing management person's authority information, so that the processor of safe U disc is getting management
.exe executable program file can be run after member's authority information.
Control device in thin terminal, when determining that thin terminal currently connects to share desktop, obtains administrator right letter
Breath, can run .exe file based on administrator right, afterwards from USB interface outgoing management person's authority information, safe U disc can
By USB interface obtain administrator right information, the processor of safe U disc after getting administrator right information it is possible to
Run .exe file.When user executes the operation of access safety USB flash disk, (as double-clicked the drive of safe U disc, or right button selects to beat
Choice-start item), the processor of safe U disc runs the .exe file providing Password Input frame so that thin terminal shows Password Input frame,
User is after inputting default password it is possible to use this safe U disc.
The control method of thin terminal disclosed by the invention, in the case that thin terminal connects to share desktop, when detecting
When safe U disc inserts the USB interface of thin terminal, obtain administrator right information, and export this administrator right letter from USB interface
Breath is so that the processor of safe U disc can run .exe file using the administrator right information getting it is ensured that user executes
During the operation of access safety USB flash disk, the processor of safe U disc can run the .exe file providing Password Input frame so that user
Can be using safe U disc in the case that thin terminal connects to share desktop.
Based on control method disclosed in Fig. 1 of the present invention, when the USB interface of multiple thin terminals is inserted with safe U disc, shared table
Face shows the drive of multiple safe U discs, and user can be plugged in the peace in other thin terminals by local thin terminal-pair
Full USB flash disk is written and read operating, and this leads to the safety being stored in the information of safe U disc poor, reduces Consumer's Experience.For understanding
Determine this problem, applicant improves to control method shown in Fig. 1.Illustrate with reference to Fig. 2.
Referring to Fig. 2, Fig. 2 is the flow chart of the control method of another kind of thin terminal disclosed by the invention.This control method bag
Include:
Step S21:When USB interface insertion safe U disc is detected, determine the class of the current cloud desktop connecting of thin terminal
Type.
Step S22:When determining that thin terminal currently connects to share desktop, obtain administrator right information.
Step S23:From USB interface outgoing management person's authority information, so that the processor of safe U disc is getting management
.exe executable program file can be run after member's authority information.
Step S24:Determine the attribute mapping of the safe U disc drive of display in share desktop.
After user inserts the USB interface of thin terminal safe U disc, safe U disc connects to shared indirectly by thin terminal
Desktop, sets up the mapping of safe U disc using telecommunication protocol, and share desktop shows the drive of safe U disc.When multiple thin terminals
USB interface when being plugged with safe U disc, share desktop shows the drive of multiple safe U discs.The attribute mapping of safe U disc drive
Including local user's mapping and long-distance user's mapping.For a thin terminal, it is plugged in the safe U in the machine USB interface
Disk belongs to local user, and the attribute mapping of the drive of this safe U disc is local user's attribute accordingly, is plugged in other thin terminals
USB interface in safe U disc belong to long-distance user, accordingly the attribute mapping of the drive of this safe U disc be long-distance user belong to
Property.
Step S25:The safe U disc drive that attribute mapping is mapped for local user be set to can use using attribute, will
The safe U disc drive that attribute mapping maps for long-distance user using attribute be set to disable.
After the attribute mapping of the safe U disc drive of display on determining share desktop, it is local user for attribute mapping
The safe U disc drive of mapping, it is available for arranging it using attribute, that is, user can be by this safe U disc of thin terminal access
The corresponding safe U disc of drive.The safe U disc drive mapping for long-distance user for attribute mapping, arranging it and using attribute is to prohibit
With, that is, forbid user by this corresponding safe U disc of safe U disc drive of thin terminal access.That is, user can only be led to
Cross the safe U disc that the thin terminal access of oneself use is plugged in the machine USB interface, and cannot access and be plugged on other thin terminals
USB interface in safe U disc, realize access control to safe U disc.
Control method disclosed in Fig. 2 of the present invention it is ensured that user execute access safety USB flash disk operation when, safe U disc
Processor can run the .exe file providing Password Input frame so that user can connect in thin terminal to the feelings of share desktop
Using safe U disc under condition;Furthermore it is also possible to realize to the access control of safe U disc so that user can only access be plugged on local
Safe U disc in thin terminal, and the safe U disc being plugged in long-range thin terminal cannot be accessed.
The attribute mapping of the safe U disc drive of display in share desktop, this Shen in enforcement, can be determined using various ways
Please one of which is described in detail, including:Mapping channel ID (the identification of safe U disc drive in crawl share desktop
Number);Determine that the attribute mapping of the safe U disc drive that mapping channel ID is null value maps for local user;Determine mapping channel
ID is that the attribute mapping of the safe U disc drive of non-null value maps for long-distance user.
The safe U disc being plugged in different thin terminals is mapped to cloud desktop by different mapping channels, and each mapping is logical
There is unique ID in road.Thin terminal captures the mapping channel ID of each safe U disc drive, if grabbing safe U disc drive
Mapping channel ID, then illustrate that the attribute mapping of this safe U disc drive maps for long-distance user, this corresponding peace of safe U disc drive
Full USB flash disk is plugged on remotely in the USB interface of thin terminal, if not grabbing the mapping channel ID of safe U disc drive, this is described
The attribute mapping of safe U disc drive maps for local user, and this corresponding safe U disc of safe U disc drive is plugged on locally thin end
In the USB interface at end.
Referring to Fig. 3, Fig. 3 is the flow chart of the control method of another kind of thin terminal disclosed by the invention.This control method bag
Include:
Step S31:When USB interface insertion safe U disc is detected, determine the class of the current cloud desktop connecting of thin terminal
Type.
Step S32:When determining that thin terminal currently connects to share desktop, obtain administrator right information.
Step S33:From USB interface outgoing management person's authority information, so that the processor of safe U disc is getting management
.exe executable program file can be run after member's authority information.
Step S34:Determine the attribute mapping of the safe U disc drive of display in share desktop.
Step S35:The safe U disc drive that attribute mapping is mapped for local user be set to can use using attribute, will
The safe U disc drive that attribute mapping maps for long-distance user using attribute be set to disable.
Step S36:The display properties of the safe U disc drive that adjustment attribute mapping maps for long-distance user, so that mapping
The safe U disc drive that attribute maps for long-distance user and attribute mapping present different for the safe U disc drive that local user maps
Display effect.
When the attribute mapping determining safe U disc drive maps for long-distance user, except it is set to prohibit using attribute
With outer, adjust the display properties of this safe U disc drive further so that the safe U disc disk that maps for long-distance user of attribute mapping
The display effect of symbol, different from the display effect of the safe U disc drive that attribute mapping maps for local user, it is easy to user from outer
Sight makes a distinction.
In enforcement, the display properties of safe U disc drive includes at least one of Show Color and display brightness.
For example, after the attribute mapping determining safe U disc drive maps for long-distance user, this safe U disc drive is put
Ash (its essence is to reduce display brightness), in multiple safe U disc drives that thin terminal shows, is only plugged in locally thin terminal
USB interface in the drive of safe U disc shown with original display brightness, be plugged in remotely in the USB interface of thin terminal
The drive of safe U disc all shown with relatively low display brightness, so that user makes a distinction from the brightness of safe U disc drive.
Alternatively, it is also possible to the drive of the safe U disc being plugged in the local USB interface of thin terminal is set to the first face
Color, the drive of the safe U disc being plugged in the long-range USB interface of thin terminal is set to the second color, so that user is from safe U
The color of disk drive makes a distinction.
The present invention control method of thin terminal disclosed above, accordingly, the present invention discloses the control device of thin terminal, with
Realize above-mentioned control method.Wherein, the thin terminal in the present invention includes USB interface, and can connect to cloud desktop.
Referring to Fig. 4, Fig. 4 is a kind of structural representation of the control device of thin terminal disclosed by the invention.This control device
Including cloud table-top type determining unit 10, authority information acquiring unit 20 and first processing units 30.
Wherein:
Cloud table-top type determining unit 10, for when USB interface insertion safe U disc is detected, determining that thin terminal is current
The type of the cloud desktop connecting.Wherein, cloud desktop mainly includes proprietary desktop and share desktop.
Authority information acquiring unit 20, for when determining that thin terminal currently connects to share desktop, obtaining manager's power
Limit information.
First processing units 30, for from USB interface outgoing management person's authority information, so that the processor of safe U disc
.exe executable program file can be run after getting administrator right information.
When cloud table-top type determining unit 10 determines that thin terminal currently connects to share desktop, authority information acquiring unit
20 acquisition administrator right information, can run .exe file based on administrator right, first processing units 30 connect from USB afterwards
Mouth outgoing management person's authority information, safe U disc can obtain administrator right information, the processor of safe U disc by USB interface
It is possible to run .exe file after getting administrator right information.When user executes the operation of access safety USB flash disk (such as
Double-click the drive of safe U disc, or right button select to open option), the processor of safe U disc runs and provides Password Input frame
.exe, so that thin terminal display Password Input frame, user is after inputting default password it is possible to use this safe U disc for file.
The control device of thin terminal disclosed by the invention, in the case that thin terminal connects to share desktop, when detecting
When safe U disc inserts the USB interface of thin terminal, obtain administrator right information, and export this administrator right letter from USB interface
Breath is so that the processor of safe U disc can run .exe file using the administrator right information getting it is ensured that user executes
During the operation of access safety USB flash disk, the processor of safe U disc can run the .exe file providing Password Input frame so that user
Can be using safe U disc in the case that thin terminal connects to share desktop.
Referring to Fig. 5, Fig. 5 is the structural representation of the control device of another kind of thin terminal disclosed by the invention.This control fills
Put including cloud table-top type determining unit 10, authority information acquiring unit 20, first processing units 30, attribute mapping determining unit
40 and second processing unit 50.
Wherein:
Cloud table-top type determining unit 10, for when USB interface insertion safe U disc is detected, determining that thin terminal is current
The type of the cloud desktop connecting.Wherein, cloud desktop mainly includes proprietary desktop and share desktop.
Authority information acquiring unit 20, for when determining that thin terminal currently connects to share desktop, obtaining manager's power
Limit information.
First processing units 30, for from USB interface outgoing management person's authority information, so that the processor of safe U disc
.exe executable program file can be run after getting administrator right information.
Attribute mapping determining unit 40, in first processing units 30 after USB interface outgoing management person's authority information,
Determine the attribute mapping of the safe U disc drive of display in share desktop.Wherein, attribute mapping includes local user's mapping and long-range
User maps.
Second processing unit 50, for being set using attribute of the safe U disc drive that maps attribute mapping for local user
Be set to available, the safe U disc drive that attribute mapping is mapped for long-distance user using attribute be set to disable.
Control device disclosed in Fig. 5 of the present invention it is ensured that user execute access safety USB flash disk operation when, safe U disc
Processor can run the .exe file providing Password Input frame so that user can connect in thin terminal to the feelings of share desktop
Using safe U disc under condition;Furthermore it is also possible to realize to the access control of safe U disc so that user can only access be plugged on local
Safe U disc in thin terminal, and the safe U disc being plugged in long-range thin terminal cannot be accessed.
In enforcement, attribute mapping determining unit 40 can determine the safe U disc of display in share desktop using various ways
The attribute mapping of drive, the application is described in detail to a kind of structure of mapping attribute determining unit 40.
Attribute mapping determining unit 40 includes:Handling module, the mapping for capturing safe U disc drive in share desktop is led to
Road ID;Attribute mapping determining module, for determining that mapping channel ID is local using for the attribute mapping of the safe U disc drive of null value
Family maps, and determines that the attribute mapping of the safe U disc drive that mapping channel ID is non-null value maps for long-distance user.
In enforcement, display properties adjustment unit 60 can also be set up in control device shown in Fig. 5 further (as Fig. 6 institute
Show).Display properties adjustment unit 60 determines reflecting of the safe U disc drive showing in share desktop in attribute mapping determining unit 40
After penetrating attribute, the display properties of the safe U disc drive that adjustment attribute mapping maps for long-distance user, so that attribute mapping is
The safe U disc drive of long-distance user's mapping assumes different displays from attribute mapping for the safe U disc drive that local user maps
Effect.
In enforcement, display properties adjustment unit 60 can adjust the safe U disc drive that attribute mapping maps for long-distance user
Show Color and at least one of display brightness.
Invention additionally discloses a kind of thin terminal, this thin terminal includes USB interface, and can connect to cloud desktop, in addition,
This thin terminal also includes any one control device aforementioned.Connect to the situation of share desktop in thin terminal disclosed by the invention
Under, user can use safe U disc.
In this specification, each embodiment is described by the way of going forward one by one, and what each embodiment stressed is and other
The difference of embodiment, between each embodiment identical similar portion mutually referring to.For device disclosed in embodiment
For, because it corresponds to the method disclosed in Example, so description is fairly simple, say referring to method part in place of correlation
Bright.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses the present invention.
Multiple modifications to these embodiments will be apparent from for those skilled in the art, as defined herein
General Principle can be realized without departing from the spirit or scope of the present invention in other embodiments.Therefore, the present invention
It is not intended to be limited to the embodiments shown herein, and be to fit to and principles disclosed herein and features of novelty phase one
The scope the widest causing.