Movatterモバイル変換


[0]ホーム

URL:


CN103544061A - Smart television based safe exit method and device for external storage device - Google Patents

Smart television based safe exit method and device for external storage device
Download PDF

Info

Publication number
CN103544061A
CN103544061ACN201310530969.5ACN201310530969ACN103544061ACN 103544061 ACN103544061 ACN 103544061ACN 201310530969 ACN201310530969 ACN 201310530969ACN 103544061 ACN103544061 ACN 103544061A
Authority
CN
China
Prior art keywords
external memory
memory equipment
application program
eject
subregion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310530969.5A
Other languages
Chinese (zh)
Inventor
许端
梁帆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Original Assignee
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Leshi Zhixin Electronic Technology Tianjin Co LtdfiledCriticalLeshi Zhixin Electronic Technology Tianjin Co Ltd
Priority to CN201310530969.5ApriorityCriticalpatent/CN103544061A/en
Publication of CN103544061ApublicationCriticalpatent/CN103544061A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Landscapes

Abstract

The invention provides a smart television based safe exit method and device for an external storage device. The method comprises receiving an eject command requiring for ejecting of the external storage device of a certain partition in a current file manager; sending the partition where the external storage device is located to a daemon vold, sending eject information of the external storage device to all application programs in the external storage device in the partition through the vold, and informing the application programs of occupation exiting; determining whether all the application programs exit occupation, and uninstalling and ejecting the external storage device safely if all the application programs exit occupation; executing forced uninstalling if not all the application programs exit occupation. According to the method, when the external storage device externally connected with a smart television is exited, the complete exiting of running programs in the external storage device can be guaranteed, the safety of the external storage device is guaranteed, and the service life is prolonged.

Description

The Safe withdrawing method and apparatus of the External memory equipment based on intelligent television
Technical field
The application belongs to intelligent television field, relates in particular to a kind of Safe withdrawing method and apparatus of the External memory equipment based on intelligent television.
Background technology
TV is modal household electrical appliance in modern society, along with the development of science and technology, has full open model platform, and the intelligent television that has carried operating system also arises at the historic moment.User, when appreciating common TV content based on this intelligent television, can install and unload types of applications software voluntarily, and the sustainable function to intelligent television expands and upgrades, and can bring abundant individualized experience to user.
User also can be by making the External memory equipments such as the external USB flash disk of intelligent television or portable hard drive carry out the various operations such as video playback, software upgrading, at External memory equipments such as the external USB flash disk of intelligent television or portable hard drives, carry out that software upgrading completes or after video playback finishes, in prior art, make the External memory equipments such as external USB flash disk or portable hard drive disconnect the mode being connected with intelligent television and directly External memory equipment is extracted for user.
But, due to software upgrading complete after or video playback finish may some application program or process really do not finish.And ought have application program writing External memory equipment, or in situation about reading from External memory equipment, this External memory equipment is extracted, be easy to cause the damage to External memory equipment, cause shorten the serviceable life of External memory equipment.
Summary of the invention
In view of this; the application's object is to provide a kind of Safe withdrawing method and apparatus of the External memory equipment based on intelligent television; when External memory equipment removes from intelligent television; can guarantee that the working procedure in External memory equipment exits completely; protection External memory equipment safety, increases the service life.
For the application in practice of the Safe withdrawing method that guarantees a kind of External memory equipment based on intelligent television that the application provides, the application provides a kind of Safe withdrawing device of the External memory equipment based on intelligent television.
A Safe withdrawing method for the External memory equipment of intelligent television, comprising:
The eject command of a certain subregion External memory equipment in current file manager is ejected in the request of reception;
Described External memory equipment place subregion is sent to finger daemon vold, by vold, to each application program in described External memory equipment in described subregion, send and eject External memory equipment eject message, notify described in each application program to exit and take;
Judge whether each application program all exits and take, if so, unloading safety eject described External memory equipment; If not, carry out forced unloading.
Above-mentioned method, preferred, described execution forced unloading, comprising:
Call bottom and kill process program, force to finish not exit the application program taking.
Above-mentioned method, preferred, after described execution forced unloading, also comprise:
Judge that whether described forced unloading is successful, if so, safety ejects described External memory equipment; If not, point out External memory equipment to execute the task.
Above-mentioned method, preferred, the mode that described prompting External memory equipment is being executed the task comprises:
Eject dialog box, prompting has program to apply.
Above-mentioned method, preferred, when described safety ejects described External memory equipment, also comprise:
Eject the demonstration information of the removable External memory equipment of prompting Safe withdrawing.
Above-mentioned method, preferred, the mode of the demonstration information of the removable External memory equipment of described ejection prompting Safe withdrawing, comprising: bubble or dialog box.
Above-mentioned method, preferred, describedly by vold, to each application program in described External memory equipment in described subregion, send the mode that ejects External memory equipment eject message, comprising: broadcast mode.
A Safe withdrawing device for the External memory equipment of intelligent television, comprising:
Receiving element, for receiving the eject command of a certain subregion External memory equipment of request ejection current file manager;
Transmitting element, for described External memory equipment place subregion is sent to finger daemon vold, by vold, to each application program in described External memory equipment in described subregion, send and eject External memory equipment eject message, notify described in each application program to exit and take;
The first judging unit, for judging whether each application program all exits and take;
First ejects safely unit, and while taking for all exiting when application program, unloading safety eject described External memory equipment;
Forced unloading unit, while taking for all not exiting when application program, carries out the forced unloading of application programs.
Above-mentioned device, preferred, also comprise:
The second judging unit, whether successful for judging described forced unloading;
Second ejects safely unit, and for when forced unloading is successful, safety ejects described External memory equipment;
Tip element, for when forced unloading is unsuccessful, prompting External memory equipment is executed the task.
The application provides a kind of Safe withdrawing method and apparatus of the External memory equipment based on intelligent television, and the eject command of a certain subregion External memory equipment in current file manager is ejected in the request of reception; Described External memory equipment place subregion is sent to finger daemon vold, by vold, to each application program in described External memory equipment in described subregion, send and eject External memory equipment eject message, notify described in each application program to exit and take; Judge whether each application program all exits and take, if so, safety ejects described External memory equipment; If not, carry out forced unloading.Adopt the method, when the external External memory equipment of intelligent television is exited, can guarantee that the working procedure in this External memory equipment exits completely, protection External memory equipment safety, increases the service life.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is some embodiment of the application, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the process flow diagram of the Safe withdrawing embodiment of the method 1 of a kind of External memory equipment based on intelligent television of providing of the application;
Fig. 2 is the process flow diagram of the Safe withdrawing embodiment of the method 2 of a kind of External memory equipment based on intelligent television of providing of the application;
Fig. 3 is the structural representation of the Safe withdrawing device embodiment 1 of a kind of External memory equipment based on intelligent television of providing of the application;
Fig. 4 is the structural representation of the Safe withdrawing device embodiment 2 of a kind of External memory equipment based on intelligent television of providing of the application;
Fig. 5 is the process flow diagram of application scenarios one of the Safe withdrawing method of a kind of External memory equipment based on intelligent television of providing of the application;
Fig. 6 is the schematic diagram at the storage space interface of intelligent television in the application scenarios one of Safe withdrawing method of a kind of External memory equipment based on intelligent television of providing of the application;
Fig. 7 is the schematic diagram of dialog box in the application scenarios one of Safe withdrawing method of a kind of External memory equipment based on intelligent television of providing of the application;
Fig. 8 is the schematic diagram of message notifying frame in the application scenarios one of Safe withdrawing method of a kind of External memory equipment based on intelligent television of providing of the application;
Fig. 9 is the process flow diagram of application scenarios two of the Safe withdrawing method of a kind of External memory equipment based on intelligent television of providing of the application;
Figure 10 is the schematic diagram at the storage space interface of intelligent television in the application scenarios two of Safe withdrawing method of a kind of External memory equipment based on intelligent television of providing of the application.
Embodiment
For making object, technical scheme and the advantage of the embodiment of the present application clearer, below in conjunction with the accompanying drawing in the embodiment of the present application, technical scheme in the embodiment of the present application is clearly and completely described, obviously, described embodiment is the application's part embodiment, rather than whole embodiment.Embodiment based in the application, those of ordinary skills are not making the every other embodiment obtaining under creative work prerequisite, all belong to the scope of the application's protection.
As shown in Figure 1, the process flow diagram of the Safe withdrawing method of a kind of External memory equipment based on intelligent television that the embodiment of the present application 1 provides, comprising:
Step S101: the eject command of a certain subregion External memory equipment in current file manager is ejected in the request of reception;
Intelligent television connects External memory equipment, the contents such as video in External memory equipment play, or to the software function such as upgrade.
The file manager of intelligent television can be divided into a plurality of subregions, and this External memory equipment belongs to some subregions wherein.
When video playback is complete or software upgrading finishes, user asks to eject this External memory equipment, sends request eject command, such as pressing in user's menu that externally memory device is corresponding, generates eject command while ejecting External memory equipment button.This eject command is that some subregion peripheral memory devices in current file manager are ejected in request, receives this eject command, starts to carry out the flow process of the Safe withdrawing of External memory equipment.
Step S102: described External memory equipment place subregion is sent to finger daemon vold, by vold, to each application program in described External memory equipment in described subregion, send and eject External memory equipment eject message, notify described in each application program to exit and take;
The subregion at this memory device place is sent to finger daemon vold.
After receiving eject command, vold broadcast transmission eject message (Pop-up message) is to each application program in the subregion at this memory device place, notify each application program to exit and take, so that the application program taking in this External memory equipment all stops.
Certainly, External memory equipment may have very large storage space, and as portable hard drive, this External memory equipment also can be divided into a plurality of subregions, and arbitrary subregion also can take larger storage space, and wherein corresponding application program is more.When this External memory equipment is connected with intelligent television while carrying out a certain operation, only start the application program of respective partition in this memory device, and do not relate to the application program of other subregions.So, when carrying out the exiting of this subregion, only need stop the application program of this part startup, without going again to confirm other application program, to reduce the quantity of processing application program in the process of exiting.
Now, user selects a subregion to press after exit button in menu, generate the eject command of this subregion, in this eject command, can carry this section post at the affiliated subregion of extraneous memory device, eject command together sends to vold program by the information of this affiliated subregion, or the partition information in the eject command receiving is transmitted to vold program.Vold program is received after this partition information or eject command, a Pop-up message of broadcast transmission (eject), notify the application program in all External memory equipments that take this subregion to be exited, make each application program of this subregion in this External memory equipment finish the operation that it is being carried out, complete and exit preparation.
Step S103: judge whether each application program all exits and take, if so, execution step S104; Otherwise execution step S105;
Step S104: unloading safety eject described External memory equipment;
Judge whether the application program in memory device all exits and take, if all exit and take, illustrate that the application program of occupying in this memory device all finishes process, unload this memory device, can eject safely this External memory equipment.
In practical application, also can further comprise and judge whether successfully this unloading, if success, can extract memory device, by the disconnection that is connected between memory device and intelligent television, otherwise, illustrate in this memory device and still have the program operation not being checked through, now point out user's dismount failure, still have External memory equipment to execute the task.If user still will exit External memory equipment, need to first close task or wait task finishes.User can process accordingly according to actual conditions.
In enforcement, also can eject the demonstration information of the removable External memory equipment of prompting Safe withdrawing, prompting user security exits, and removable External memory equipment is with prompting user.
In concrete enforcement, the mode of the demonstration information of the removable External memory equipment of this ejection prompting Safe withdrawing can adopt the form of bubble or dialog box.
If user selects a subregion of External memory equipment and this subregion is exited in menu, judge in memory device whether whole application programs that should subregion are all exited.
In practical application, can employing information the mode of feedback judge: after a certain application program exits and takies, feedback process end, just can know that according to this process end this application program exits and takies.Add up each process end, compare with the application history that access intelligent television starts, the two judges that at once application program all exits and takies, otherwise, be considered as application program and all do not exit and take.Also can adopt the mode of browsing to judge: browse the application program in memory device, while there is no application program operation, judge that application program all exits and takies, otherwise, be considered as application program and all do not exit and take.
Step S105: carry out forced unloading.
Application program in memory device does not all exit while taking, and to not exiting the application program taking, carries out forced unloading, to guarantee that the application program in memory device no longer takies.
In concrete enforcement, can call bottom and kill process program, force to finish not exit the application process taking, by exiting the process taking, not kill.
The Safe withdrawing method of a kind of External memory equipment based on intelligent television providing by the embodiment of the present invention 1, comprising: the eject command of a certain subregion External memory equipment in current file manager is ejected in the request of reception; Described External memory equipment place subregion is sent to finger daemon vold, by vold, to each application program in described External memory equipment in described subregion, send and eject External memory equipment eject message, notify described in each application program to exit and take; Judge whether each application program all exits and take, if so, safety ejects described External memory equipment; If not, carry out forced unloading.When the external memory device of intelligent television is exited, by broadcast mode, the application program in memory device is carried out to OPT-OUT NOTICE, it is exited and take; When having application program not exit to take, forced unloading, exits the working procedure in this External memory equipment completely, protection External memory equipment safety, extension device serviceable life.
As shown in Figure 2, the process flow diagram of the Safe withdrawing method of a kind of External memory equipment based on intelligent television that the embodiment of the present application 2 provides, in process flow diagram, also comprises after step S105 shown in Fig. 1:
Step S106: judge that whether described forced unloading is successful, if so, execution step S107; Otherwise, execution step S108;
Application program in memory device does not all exit while taking, to not exiting the application program taking, carry out forced unloading, and judge that this does not exit the whether forced unloading success of the application program that takies, if forced unloading success, illustrate that the application program taking in External memory equipment all unloads successfully, safety unloading, can extract memory device, execution step S107; Otherwise, execution step S108.
Step S107: safety ejects described External memory equipment;
By the disconnection that is connected between memory device and intelligent television.In enforcement, also can eject the demonstration information of the removable External memory equipment of prompting Safe withdrawing, prompting user security exits, and removable External memory equipment is with prompting user.In concrete enforcement, can adopt the form of Pop-up message prompting frame.
In practical application, can employing information the mode of feedback judge: after a certain application program of forced unloading completes, feedback has unloaded message, according to this unloading complete message just can know this application program forced unloading complete.Add up each unloading and complete message, compare with not exiting the application history taking, the two judges that at once the whole forced unloadings of application program complete, otherwise being considered as application program does not have whole forced unloadings to complete.Also can adopt the mode of browsing to judge: to browse the application program in memory device, while there is no application program operation, judge that the whole forced unloadings of application program complete, otherwise being considered as application program there is no whole forced unloadings to complete.
Step S108: prompting External memory equipment is executed the task.
Because some application program is important, in the operational process of this application program, can not be interrupted or be bothered, this application program can not be forced to unloading, to avoid the accuracy of this application program to be affected.Or there are other situations to cause application program can not be forced to unloading.Therefore, after forced unloading step completes, still may there is certain applications program can not be forced to unloading, return to unsuccessful information, calling the message of sending dismount failure points out user, prompting dismount failure, still has External memory equipment executing the task as ejected dialog box, and prompting has program to apply.If user still will exit External memory equipment, need to first close task or wait task finishes.User can process accordingly according to actual conditions.
The Safe withdrawing method of a kind of External memory equipment based on intelligent television that the embodiment of the present invention 2 provides, also comprises: after carrying out forced unloading step, judge that whether described forced unloading is successful, if so, safety ejects described External memory equipment; If not, point out External memory equipment to execute the task.Guaranteed that when the External memory equipment of intelligent television is exited, the important application program of moving in this External memory equipment is not interrupted, and has protected the safety of External memory equipment Program.
The embodiment of the method for the Safe withdrawing of a kind of External memory equipment based on intelligent television providing with above-mentioned the application is corresponding, and a kind of device embodiment of Safe withdrawing of the External memory equipment based on intelligent television is also provided in present specification.
As shown in Figure 3, the structural representation of the Safe withdrawing device embodiment 1 of a kind of External memory equipment based on intelligent television that the application provides, described device comprises: receivingelement 101, transmittingelement 102, thefirst judging unit 103, first eject safelyunit 104 and forcedunloading unit 105;
Wherein, described receivingelement 101, for receiving the eject command of a certain subregion External memory equipment of request ejection current file manager;
Intelligent television connects External memory equipment, the contents such as video in External memory equipment play, or to the software function such as upgrade.
The file manager of intelligent television can be divided into a plurality of subregions, and this External memory equipment belongs to some subregions wherein.
When video playback is complete or software upgrading finishes, user asks to eject this External memory equipment, sends request eject command, such as pressing in user's menu that externally memory device is corresponding, generates eject command while ejecting External memory equipment button.This eject command is that some subregion peripheral memory devices in current file manager are ejected in request, and receivingelement 101 receives these eject commands, and Safe withdrawing device starts to carry out the flow process of the Safe withdrawing of External memory equipment.
Wherein, described transmittingelement 102, for described External memory equipment place subregion is sent to finger daemon vold, by vold, to each application program in described External memory equipment in described subregion, send and eject External memory equipment eject message, notify described in each application program to exit and take;
Transmittingelement 102 sends to finger daemon vold by the subregion at this memory device place.
After receiving eject command, vold broadcast transmission eject message (Pop-up message), to each application program in the subregion at this memory device place, is notified each application program to exit and is taken, so that the application program in this External memory equipment all stops.
Certainly, External memory equipment may have very large storage space, and as portable hard drive, this External memory equipment also can be divided into a plurality of subregions, and arbitrary subregion also can take larger storage space, and wherein corresponding application program is more.When this External memory equipment is connected with intelligent television while carrying out a certain operation, only start the application program of respective partition in this memory device, and do not relate to the application program of other subregions.So, when carrying out the exiting of this subregion, only need stop the application program of this part startup, without going again to confirm other application program, to reduce the quantity of processing application program in the process of exiting.
Now, user selects a subregion to press after exit button in menu, generate the eject command of this subregion, in this eject command, can carry this section post at the affiliated subregion of extraneous memory device, eject command together sends to vold program by the information of this affiliated subregion, or transmittingelement 102 is transmitted to vold program by the partition information in the eject command receiving.Vold program is received after this partition information or eject command, a Pop-up message of broadcast transmission (eject), notify the application program in all External memory equipments that take this subregion to be exited, make each application program of this subregion in this External memory equipment finish the operation that it is being carried out, complete and exit preparation.
Wherein, described thefirst judging unit 103, for judging whether each application program all exits and take;
Described first ejects safelyunit 104, and while taking for all exiting when application program, safety ejects described External memory equipment;
Thefirst judging unit 103 judges whether the application program in memory device all exits and take, if all exit and take, illustrate that the application program of occupying in this memory device all finishes process, safety unloading, first ejects safely the unloading of 104 of unit the described External memory equipment of safety ejection, be embodied in and can extract memory device, by the disconnection that is connected between memory device and intelligent television.
In practical application, first ejects safelyunit 104 also can further judge that whether this unloading is successful, if success, can extract memory device, by the disconnection that is connected between memory device and intelligent television, otherwise, illustrate in this memory device and still have the program operation not being checked through, now point out user's dismount failure, still have External memory equipment to execute the task.If user still will exit External memory equipment, need to first close task or wait task finishes.User can process accordingly according to actual conditions.
In enforcement, also can eject the demonstration information of the removable External memory equipment of prompting Safe withdrawing, prompting user security exits, and removable External memory equipment is with prompting user.In concrete enforcement, the mode of the demonstration information of the removable External memory equipment of this ejection prompting Safe withdrawing can adopt the form of bubble or dialog box.
If user selects a subregion of External memory equipment and this subregion is exited in menu, thefirst judging unit 103 judges in memory device whether whole application programs that should subregion are all exited.
In practical application, can employing information the mode of feedback judge: after a certain application program exits and takies, feedback process end, just can know that according to this process end this application program exits and takies.Add up each process end, compare with the application history that access intelligent television starts, the two judges that at once application program all exits and takies, otherwise, be considered as application program and all do not exit and take.Also can adopt the mode of browsing to judge: browse the application program in memory device, while there is no application program operation, judge that application program all exits and takies, otherwise, be considered as application program and all do not exit and take.
Wherein, described forcedunloading unit 105, while taking for all not exiting when application program, carries out the forced unloading of application programs.
Application program in memory device does not all exit while taking, and 105 pairs of forced unloading unit do not exit the application program taking and carry out forced unloading, to guarantee that the application program in memory device no longer takies.
In concrete enforcement, can call bottom and kill process program, force to finish not exit the application process taking, by exiting the process taking, not kill.
The Safe withdrawing device of a kind of External memory equipment based on intelligent television providing by the embodiment of the present invention 1, comprising: receiving element, for receiving the eject command of a certain subregion External memory equipment of request ejection current file manager; Transmitting element, for described External memory equipment place subregion is sent to finger daemon vold, by vold, to each application program in described External memory equipment in described subregion, send and eject External memory equipment eject message, notify described in each application program to exit and take; The first judging unit, for judging whether each application program all exits and take; First ejects safely unit, and while taking for all exiting when application program, safety ejects described External memory equipment; Forced unloading unit, while taking for all not exiting when application program, carries out the forced unloading of application programs.。When the external memory device of intelligent television is exited, by broadcast mode, the application program in memory device is carried out to OPT-OUT NOTICE, it is exited and take; When having application program not exit to take, forced unloading, exits the working procedure in this External memory equipment completely, protection External memory equipment safety, extension device serviceable life.
As shown in Figure 4, the structural representation of the Safe withdrawing device embodiment 2 of a kind of External memory equipment based on intelligent television that the application provides, in structure shown in Fig. 3, described device also comprises: thesecond judging unit 106, second ejects safelyunit 107 andTip element 108;
Wherein, described thesecond judging unit 106, whether successful for judging described forced unloading;
Described second ejects safelyunit 107, and for when forced unloading is successful, safety ejects described External memory equipment;
Application program in memory device does not all exit while taking, 105 pairs of forced unloading unit do not exit the application program taking and carry out forced unloading, thesecond judging unit 106 judges that this does not exit the whether forced unloading success of the application program that takies, if forced unloading success, illustrate that the application program taking in External memory equipment all unloads successfully, safety unloading, second ejects safelyunit 107 ejects safely described External memory equipment, be embodied in and can extract memory device, by the disconnection that is connected between memory device and intelligent television.In enforcement, also can eject the demonstration information of the removable External memory equipment of prompting Safe withdrawing, prompting user security exits, and removable External memory equipment is with prompting user.In concrete enforcement, can adopt the form of Pop-up message prompting frame.
In practical application, can employing information the mode of feedback judge: after a certain application program of forced unloading completes, feedback has unloaded message, according to this unloading complete message just can know this application program forced unloading complete.Add up each unloading and complete message, compare with not exiting the application history taking, the two judges that at once the whole forced unloadings of application program complete, otherwise being considered as application program does not have whole forced unloadings to complete.Also can adopt the mode of browsing to judge: to browse the application program in memory device, while there is no application program operation, judge that the whole forced unloadings of application program complete, otherwise being considered as application program there is no whole forced unloadings to complete.
Wherein, describedTip element 108, for when forced unloading is unsuccessful, prompting External memory equipment is executed the task.
Because some application program is important, in the operational process of this application program, can not be interrupted or be bothered, this application program can not be forced to unloading, to avoid the accuracy of this application program to be affected.Or there are other situations to cause application program can not be forced to unloading.Therefore, after forced unloading step completes, still may there is certain applications program can not be forced to unloading, return to unsuccessful information,Tip element 108 calls the message of sending dismount failure user is pointed out, prompting dismount failure, still has External memory equipment executing the task as ejected dialog box, and prompting has program to apply.If user still will exit External memory equipment, need to first close task or wait task finishes.User can process accordingly according to actual conditions.
In practical application, in order to make simplified, the first judging unit and the second judging unit can be merged into a part, this part realizes respectively the judgement of different content in different execution steps.
The Safe withdrawing device of a kind of External memory equipment based on intelligent television that the embodiment of the present invention 2 provides, also comprises: the second judging unit, and whether successful for judging described forced unloading; Second ejects safely unit, and for when forced unloading is successful, safety ejects described External memory equipment; Tip element, for when forced unloading is unsuccessful, prompting External memory equipment is executed the task.Guaranteed that when the External memory equipment of intelligent television is exited, the important application program of moving in this External memory equipment is not interrupted, and has protected the safety of External memory equipment Program.
A kind of Safe withdrawing method that the application provides External memory equipment based on intelligent television is the concrete application scenarios in memory device externally.
The idiographic flow of application scenarios one, as shown in Figure 5.
This application scene is mainly for the less common U disk of storage space or SD card etc.
Step S201: user clicks the ejector button of External memory equipment at the storage space interface of intelligent television;
The schematic diagram at the storage space interface of intelligent television as shown in Figure 6, shown instorage space interface 201 comprise: local storage, exterior storage and three kinds of storage modes of cloud storage.
Concrete click mode is: externally memory device (USB flash disk) right click of user,button frame 202 appears selecting in the page: " opening ", " ejection " click " ejection " button.
Step S202: receive and click the eject command generating after " ejection " button, described External memory equipment place subregion is sent to finger daemon vold;
Step S203:vold broadcast transmission Pop-up message is to each application program taking in the subregion of External memory equipment place;
Step S204: judge in described subregion, whether application program all exits and take, if so, execution step S208; Otherwise execution step S205;
Step S205: carry out forced unloading;
Step S206: judge that whether described forced unloading is successful, if so, execution step S209; Otherwise, execution step S207;
Step S207: eject dialog box prompting dismount failure, External memory equipment has program to apply;
The schematic diagram of described dialog box as shown in Figure 7, shows in dialog box 203: " External memory equipment is executed the task, if adhere to exiting, please first closes task or wait task finishes.", and in dialog box, have two options " to determine and exit " and " wait ".User can close task after clicking " determine and exit " voluntarily.
Step S208: unload described External memory equipment;
Step S209: judge that whether described unloading is successful, be, execution step S210, otherwise execution step S207;
Step S210: finish Pop-up message prompting frame, the removable External memory equipment of prompting Safe withdrawing.
The schematic diagram of described message notifying frame as shown in Figure 8, shows in prompting frame 204: " the removable External memory equipment of Safe withdrawing ".
The idiographic flow of application scenarios two, as shown in Figure 9.
This application scene is mainly for larger portable hard drive of storage space etc.
Step S301: user clicks the ejector button of External memory equipment at the storage space interface of intelligent television;
The schematic diagram at the storage space interface of intelligent television as shown in figure 10, shown instorage space interface 301 comprise: local storage, exterior storage and three kinds of storage modes of cloud storage.
Described External memory equipment divides a plurality of regions, and in this application scene, External memory equipment is divided into 3 subregions, is specially exiting of subregion 2.
Concrete click mode is: user is subregion 2 right clicks of memory device externally, andbutton frame 302 appears selecting in the page: " opening ", " ejection ", click " ejection " button.
Step S302: receive and click the eject command generating after " ejection " button, described External memory equipment place subregion is sent to finger daemon vold;
Step S303:vold broadcast transmission Pop-up message is to each application program that takies External memory equipment subregion 2;
Step S304: whether each application program that judges described subregion 2 all exits and take, if so, execution step S308; Otherwise execution step S305;
Step S305: carry out forced unloading;
Step S306: judge that whether described forced unloading is successful, if so, execution step S308; Otherwise, execution step S307;
Step S307: eject dialog box prompting dismount failure, External memory equipment has program to apply;
The schematic diagram of described dialog box as shown in Figure 7, shows in dialog box 203: " External memory equipment is executed the task, if adhere to exiting, please first closes task or wait task finishes.", and in dialog box, have two options " to determine and exit " and " wait ".User can close task after clicking " determine and exit " voluntarily.
Step S308: unload described External memory equipment;
Step S309: judge that whether described unloading is successful, be, execution step S310, otherwise execution step S307;
Step S310: finish Pop-up message prompting frame, the removable External memory equipment of prompting Safe withdrawing.
The schematic diagram of described message notifying frame as shown in Figure 8, shows in prompting frame 204: " Safe withdrawing, removable External memory equipment ".
Safe withdrawing method and apparatus to a kind of External memory equipment based on intelligent television provided by the present invention above, be described in detail, applied specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; Meanwhile, 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.

Claims (9)

CN201310530969.5A2013-10-302013-10-30Smart television based safe exit method and device for external storage devicePendingCN103544061A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201310530969.5ACN103544061A (en)2013-10-302013-10-30Smart television based safe exit method and device for external storage device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201310530969.5ACN103544061A (en)2013-10-302013-10-30Smart television based safe exit method and device for external storage device

Publications (1)

Publication NumberPublication Date
CN103544061Atrue CN103544061A (en)2014-01-29

Family

ID=49967536

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201310530969.5APendingCN103544061A (en)2013-10-302013-10-30Smart television based safe exit method and device for external storage device

Country Status (1)

CountryLink
CN (1)CN103544061A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104778041A (en)*2015-03-242015-07-15四川长虹电器股份有限公司Management method and management system for multi-program shared speech equipment
CN105049937A (en)*2015-08-172015-11-11青岛海信电器股份有限公司Method and device for unloading external storage equipment from Android system smart television
CN107766142A (en)*2017-11-152018-03-06深圳市沃特沃德股份有限公司Method and device based on android system unloading storage device
CN110489173A (en)*2019-07-312019-11-22广州微算互联信息技术有限公司A kind of ceph mirror image block device discharging method, system and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101354685A (en)*2008-09-012009-01-28徐菲Rapid safe deleting hardware
CN101488114A (en)*2009-02-182009-07-22北京飞天诚信科技有限公司USB equipment processing method in Linux system
CN102455981A (en)*2010-10-192012-05-16康佳集团股份有限公司Method for realizing hot plug of USB device based on QTE environment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101354685A (en)*2008-09-012009-01-28徐菲Rapid safe deleting hardware
CN101488114A (en)*2009-02-182009-07-22北京飞天诚信科技有限公司USB equipment processing method in Linux system
CN102455981A (en)*2010-10-192012-05-16康佳集团股份有限公司Method for realizing hot plug of USB device based on QTE environment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吉克: "删除U盘时提示无法停止"通用卷"设备的解决方法", 《网络与信息》*

Cited By (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104778041A (en)*2015-03-242015-07-15四川长虹电器股份有限公司Management method and management system for multi-program shared speech equipment
CN105049937A (en)*2015-08-172015-11-11青岛海信电器股份有限公司Method and device for unloading external storage equipment from Android system smart television
CN107766142A (en)*2017-11-152018-03-06深圳市沃特沃德股份有限公司Method and device based on android system unloading storage device
CN110489173A (en)*2019-07-312019-11-22广州微算互联信息技术有限公司A kind of ceph mirror image block device discharging method, system and storage medium
CN110489173B (en)*2019-07-312023-10-03广州微算互联信息技术有限公司Method, system and storage medium for unloading ceph mirror image block device

Similar Documents

PublicationPublication DateTitle
CN110162343B (en)Application starting method and device, electronic equipment and storage medium
CN105468409A (en)Application program closing method and device and electronic equipment
CN109376053B (en)Data processing method and device and mobile terminal
CN108108142A (en)Voice information processing method and device, terminal equipment and storage medium
CN105446776A (en)Application program closing method and device and electronic equipment
CN105227626A (en)Content pushing method and device and terminal
CN105677477A (en)Method and device for optimizing application program resources and electronic equipment
CN104142859A (en)Fast switching method and device for double systems and mobile terminal
CN106488270B (en)Live broadcast room switching method and device
US20190354408A1 (en)Method for Preloading Application, Storage Medium, and Terminal
CN106293901B (en)Process management method and device for terminal application
CN102833632A (en)Multi-screen interactive master-slave control equipment management method, intelligent television and control equipment
CN103544061A (en)Smart television based safe exit method and device for external storage device
CN106201574A (en) Method and device for starting an application interface
CN103440402A (en)Method and device for controlling electronic game basing on middleware
CN103164326A (en)Detecting method and detecting system for game operating environment
CN103309834A (en)Control method, control device and electronic device
CN103731733A (en)Version upgrading method and electronic device
CN104750574A (en)Firmware recovery method and device of network equipment
CN104539999A (en)Multimedia data sharing method and terminal
CN113412480A (en)Mounting processing method and device, electronic equipment and computer readable storage medium
CN105656894A (en)Main control intelligent terminal, controlled intelligent terminal and monitoring method
CN114116040A (en)Method for accelerating application starting, electronic equipment and computer storage medium
CN109683715B (en)VR equipment control method and device and computer readable storage medium
CN110659082A (en)Application program interface display method and device, terminal and storage medium

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20140129


[8]ページ先頭

©2009-2025 Movatter.jp