Summary of the invention
In view of the above problems, proposed the present invention in order to a kind of prompt operation manner of execution and device of being used for the iOS system that overcomes the problems referred to above or address the above problem at least in part is provided, can be implemented in the desktop level interface of IOS system and carry out prompt operation.
According to one aspect of the present invention, a kind of prompt operation manner of execution for the iOS system is provided, comprising:
Receive after the request that creates the prompt operation icon, determine the relevant information of object run to be created; Described object run is executable operation in the iOS system;
Call the application programming interface API that is used for creating at desktop level interface icon that the iOS system provides, in desktop level interface, create corresponding prompt operation icon, and preserve the corresponding relation between the relevant information of described prompt operation icon and described object run;
When the user initiates operation requests for described prompt operation icon, tackle described operation requests; Described operation requests is for carrying out the request of corresponding object run by described prompt operation icon;
According to the relevant information of described object run, call the API of the correspondence that the iOS system provides, in order to jump to display interface corresponding to described object run;
Wherein, the described prompt operation icon that creates correspondence in desktop level interface comprises:
In system master interface, create corresponding prompt operation icon, perhaps, if described iOS system open user's operating right then creates corresponding prompt operation icon in the informing of system.
Alternatively, describedly determine that the relevant information of object run to be created comprises:
Receive user's input message by the operation entry that presets, determine the relevant information of object run to be created according to described input message.
Alternatively, described object run comprises the standard agreement operation of supporting in the iOS system, and described standard agreement operation comprises: dial designated contact phone, send information, send mail or open named web page to designated contact to designated contact;
The described input message that receives the user by the operation entry that presets comprises:
Receive type and the operating parameter of object run to be created by the operation entry that presets; Wherein, described type comprises to be called, transmission information, sends mail or open webpage, and described operating parameter comprises associated person information or info web;
The described prompt operation icon that creates correspondence in desktop level interface comprises:
According to type and the operating parameter of described object run, determine the prompt operation icon style, and in desktop level interface, create described prompt operation icon;
Described relevant information according to described object run is called the API of the correspondence that the iOS system provides, and comprises in order to jump to display interface corresponding to described object run:
Call API corresponding to described object run based on described type and operating parameter, in order to start application program corresponding to described type, and described operating parameter passed to described application program, and jump to the display interface of described application program under described operating parameter.
Alternatively, described application program comprises system application, perhaps, and self-defining application program.
Alternatively, if described iOS system open user's operating right, then described object run also comprises system setup operation;
The described input message that receives the user by the operation entry that presets comprises:
Receive the system setup operation type of user selection by the operation entry that presets;
The described prompt operation icon that creates correspondence in desktop level interface comprises:
According to described system setup operation type, determine the prompt operation icon style, and in desktop level interface, create described prompt operation icon;
Described relevant information according to described object run is called the API of the correspondence that the iOS system provides, and comprises in order to jump to display interface corresponding to described object run:
According to described system setup operation type, call API corresponding to this system setup operation type in the iOS system, in order to jump to display interface corresponding to described system setup operation.
According to a further aspect in the invention, provide a kind of prompt operation actuating unit for the iOS system, having comprised:
The information determining unit is used for receiving after the request that creates the prompt operation icon, determines the relevant information of object run to be created; Described object run is executable operation in the iOS system;
The icon creating unit, be used for calling the application programming interface API that is used for creating at desktop level interface icon that the iOS system provides, in desktop level interface, create corresponding prompt operation icon, and preserve the corresponding relation between the relevant information of described prompt operation icon and described object run;
The request interception unit is used for tackling described operation requests when the user initiates operation requests for described prompt operation icon; Described operation requests is for carrying out the request of corresponding object run by described prompt operation icon;
The interface interchange unit is used for the relevant information according to described object run, calls the API of the correspondence that the iOS system provides, in order to jump to display interface corresponding to described object run;
Wherein, described icon creating unit specifically is used for:
In system master interface, create corresponding prompt operation icon, perhaps, if described iOS system open user's operating right then creates corresponding prompt operation icon in the informing of system.
Alternatively, described information determining unit specifically is used for:
Receive user's input message by the operation entry that presets, determine the relevant information of object run to be created according to described input message.
Alternatively, described object run comprises the standard agreement operation of supporting in the iOS system, and described standard agreement operation comprises: dial designated contact phone, send information, send mail or open named web page to designated contact to designated contact;
Described information determining unit specifically is used for:
Receive type and the operating parameter of object run to be created by the operation entry that presets; Wherein, described type comprises to be called, transmission information, sends mail or open webpage, and described operating parameter comprises associated person information or info web;
Described icon creating unit specifically is used for:
According to type and the operating parameter of described object run, determine the prompt operation icon style, and in desktop level interface, create described prompt operation icon;
Described interface interchange unit specifically is used for:
Call API corresponding to described object run based on described type and operating parameter, in order to start application program corresponding to described type, and described operating parameter passed to described application program, and jump to the display interface of described application program under described operating parameter.
Alternatively, described application program comprises system application, perhaps, and self-defining application program.
Alternatively, if described iOS system open user's operating right, then described object run also comprises system setup operation;
Described information determining unit specifically is used for:
Receive the system setup operation type of user selection by the operation entry that presets;
Described icon creating unit specifically is used for:
According to described system setup operation type, determine the prompt operation icon style, and in desktop level interface, create described prompt operation icon;
Described interface interchange unit specifically is used for:
According to described system setup operation type, call API corresponding to this system setup operation type in the iOS system, in order to jump to display interface corresponding to described system setup operation.
According to prompt operation manner of execution and the device for the iOS system of the present invention, can in the display interface of desktop level, create some prompt operation icons, like this when needs are carried out certain operation, directly click the interface that this icon can directly jump to display interface this operational correspondence, and do not need in the main interface of application program, to search corresponding entrance, perhaps to the entrance of searching layer by layer action required in the catalogue is set, therefore, can realize more easily various operations.
Above-mentioned explanation only is the general introduction of technical solution of the present invention, for can clearer understanding technological means of the present invention, and can be implemented according to the content of instructions, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Although shown exemplary embodiment of the present disclosure in the accompanying drawing, yet should be appreciated that and to realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order to understand the disclosure more thoroughly that these embodiment are provided, and can with the scope of the present disclosure complete convey to those skilled in the art.
In embodiments of the present invention, for the ease of operation, the prompt operation icon of some object run types can be provided in the desktop level interface of system (such as main interface or title desktop etc.), like this, as long as click the icon on the desktop, just can call corresponding application program, and enter into corresponding interface, and need not under original file, search layer by layer again.For example, can add on the table the prompt operation icon of dialing certain contact phone, like this, as long as click this icon, can directly make a call to this contact person, and need not be again search this contact person's contact method in the catalogues such as address list, recently conversation and then by call button etc.; And for example, can add on the table the prompt operation icon of brightness adjusting, then as long as click this icon, just can enter into the interface of brightness adjusting, then directly by dragging the modes such as slide block the degree of brightness regulation to own hope got final product, and do not need in " setting " catalogue of system, to find the option of brightness adjusting.As seen, under this implementation, so that the convenience of various operations improves greatly.The below at length introduces concrete implementation procedure.
Referring to Fig. 1, the prompt operation manner of execution that is used for the iOS system that the embodiment of the invention provides, the method can may further comprise the steps:
S101: receive after the request that creates the prompt operation icon, determine the relevant information of object run to be created; Described object run is executable operation in the iOS system;
Can realize that according to the mode that the embodiment of the invention provides the action type of prompt operation can have multiple, for example, can comprise the phone of dialing designated contact, send information, send mail or open named web page etc. to designated contact to designated contact, perhaps, if the iOS system on the current terminal is open user's operating right, then can also comprise some system's settings, for example brightness adjusting, wifi switch, roller blind switch etc.These operations all belong to executable operation in the iOS system, and only owing to need to search corresponding entrance etc. under specific catalogue, implementation of the prior art seems more loaded down with trivial details.The purpose of the embodiment of the invention is can be for the user provides a kind of approach, so that the certain operations type can have the prompt operation entrance in the interface of desktop level, to simplify user's operation steps.Therefore, can at first determine the operation that needs which kind of or which type and realize the prompt operation icon.
During specific implementation, can provide operation entry to the user, be needed the relevant information of the object run of establishment prompt operation icon by user's input or selection.Concrete, according to different object runs, the particular content of the relevant information that need to provide can be different.For example, if call, send note, send mail, open the operations such as webpage, then need the relevant information that provides except needs comprise the type (also namely want on earth to make a phone call or transmission information etc.) of operation, the parameter that also needs to provide relevant (such as the relevant informations such as network address of contact person's telephone number, email address, webpage).Therefore, in this operation entry, can at first various selectable operations be represented to the user in modes such as tabulations, for user selection, wherein, about the phone of dialing designated contact, send information, send mail or open the action type such as named web page to designated contact to designated contact, owing to also need the user that relevant parameter is provided, therefore also need to be provided for simultaneously carrying out the operation entry of parameter input.Certainly, for some system setup operation (for example brightness adjusting, wifi switch, offline mode switch etc.), just do not needed input parameter, as long as select corresponding system setup operation type just passable.
Perhaps, for some system setup operation, also can be to provide in advance needs that the list of prompt operation is provided, such as just comprising brightness adjusting, wifi switch, offline mode switch etc. in this list; Like this, when user installation after the prompt operation assistant software that provides of the embodiment of the invention, this software just can be directly according to this list, and wherein each system's setting operation generated separately icon, adds on the desktop.
S102: call the application programming interface API that is used for creating at desktop level interface icon that the iOS system provides, in desktop level interface, create corresponding prompt operation icon, and preserve the corresponding relation between the relevant information of described prompt operation icon and described object run;
After the relevant information of the object run of having determined needs realization prompt operation, just can in desktop level interface, add corresponding prompt operation icon.During specific implementation, can be by the following API:[UIApplication addWebClipToHomeScreen in the calling system :] realize adding on the table the operation of icon.Wherein, so-called WebClip is actually one at Launcher(desktop starter) bookmark that shows, use the thumbnail of webpage in the situation of acquiescence as icon.Certainly, in embodiments of the present invention, because concrete action type may have multiplely, might not be web page operation, therefore, can also select other picture as icon, and for different action types, can also use different pictures to show difference.For example, dial the prompt operation icon of certain contact phone, from the prompt operation icon that sends note to certain contact person can be different, like this can be so that user identification.
Wherein, when making self-defining WebClip, can at first use Photoshop's or other image editing software, create picture according to certain specification and resolution.Wherein, about the specification of picture, can use square without the PNG picture (these special efficacys can be played up generation by system) of the special efficacys such as fillet, shadow-free; The resolution aspect can use 57 * 57,72 * 72,114 * 114,158 * 158, etc., this is because resolution and the Dpi of different types of iOS equipment (such as mobile phone, pad etc.) are not quite similar.In embodiments of the present invention, can unify to use 158 * 158 specification, like this, one can guarantee under the high resolving power enough clearly, and two can be by high-definition picture convergent-divergent gained on low resolution equipment.
Wherein, send the object run types such as mail for the phone of dialing designated contact, to designated contact transmission information, to designated contact, when providing operation entry to the user, can also be provided for inputting the operation entry of icon display Name, for example, the user can input name of contact person in the input frame of correspondence, then after generating corresponding prompt operation icon, when showing on the table this prompt operation icon, the name of contact person of correspondence can also be presented at the below of this icon, further be convenient to user's identifying operation.Similarly, for opening this action type of named web page, when providing operation entry to the user, also can be provided for inputting the operation entry of icon display Name, for example, the user can input title, website abbreviation of certain webpage etc. in the input frame of correspondence, when then showing on the table this prompt operation icon, can also with the word-information displays such as web page title of correspondence below this icon, further facilitate user's identification.
S103: when the user initiates operation requests for described prompt operation icon, tackle described operation requests; Described operation requests is for carrying out the request of corresponding object run by described prompt operation icon;
After having generated certain prompt operation icon, just can monitor the operation of the launch among the SBBookmarkIcon, when the user clicks the shortcut of desktop, just can find corresponding launch operation, this is just can tackle it.
S104: according to the relevant information of described object run, call the API of the correspondence that the iOS system provides, in order to jump to display interface corresponding to described object run.
After the operation requests of having tackled for certain prompt operation icon, just can judge the whether standard agreement in corresponding the iOS system of object run corresponding to this prompt operation icon, if so, then can be directly by [[UIApplication sharedApplication] openURL:[NSURLURLWithString:appString]] mode start corresponding application program.Wherein, appString just can be the phone of dialing designated contact, send information, sends mail or open the corresponding agreement such as named web page to designated contact to designated contact, and these agreements belong to the standard agreement that the iOS system supports, for example:
Open the Shanghai City map of certain website: Map:http: //maps. * * * .com/maps q=Shanghai
Send mail and arrive certain user: Email:mailto: //myname@* * * .com
Dial 10086 phones: Tel:tel: // 10086
Send note: Msg:sms to 10086: // 10086
Certainly, if some custom protocols, such as execution wifi switch, and the system setup operation such as switch of offline mode, then can carry out according to self-defining rule the execution of compulsory exercise.For example, call the application programming interfaces of knowing in advance, just display interface can be jumped to display interface of this system setup operation etc.
Need to prove, about the phone of dialing designated contact, send information, send mail or open named web page etc. to designated contact to designated contact, although there is standard agreement to use, but in actual applications, also can realize with custom protocol, that is to say, after having clicked certain prompt operation icon, the interface is jumped in the self-defining interface, rather than the interface that defines in the system.For example, the user is after having clicked the icon that sends note to certain contact person, can represent the interface to an editing short message of this user, simultaneously the automatic powder addings such as this contact person's telephone number or name are added in receiver one hurdle, but the interface of this editing short message can be another defined interface that is different from the original interface of system.
Need to prove in addition, for the phone of dialing designated contact, send information, send mail or open named web page etc. to designated contact to designated contact, why say that its correspondence the standard agreement of iOS system, refer to that the iOS system will call, send note, the API that sends the application programs such as mail has opened to the outside world, therefore, other programs just can go to call these programs according to the open interface message out of iOS.But, for some system setup operation, although the iOS system demonstrates corresponding display interface by the API that calls these operations, can the API of its these operations is not open out but general, therefore, want to realize prompt operation described in the embodiment of the invention for this type systematic setting operation, just need at first that user's operating right of iOS system is open, like this, just can get access to by means such as decompilings the API of system setup operation, and then can display interface be jumped to operation interface corresponding to system setup operation by calling this API.
In a word, for calling, send note, send mail, opening for the operations such as webpage, in the process that realizes prompt operation, be the equal of to intercept the operation requests that the user clicks the prompt operation icon by the application program that the embodiment of the invention provides, then according to this request, start application program separately, and corresponding parameter passed to corresponding application program, so that display interface directly jumps to the display interface of application program under corresponding parameter, rather than the main interface of application program.And for system setup operation such as brightness adjusting, wifi switches, in the process that realizes prompt operation, it is the equal of the Basic API that is gone to call these system setup operation by the application program that the embodiment of the invention provides, these Basic APIs may be not open in common iOS operating system, therefore need to open in the situation of user's operating right in iOS operating system, just can get access to, and initiate calling these API.
The above all is to say to create on the table the prompt operation icon, and in actual applications, if user's operating right of iOS is open, then can also add corresponding prompt operation icon in the informing of system.Concrete, can /System/Library/WeeAppPlugins realizes a bundle, and the agreement that defines among the realization BBWeeAppController-Protocol.h.Like this, when the informing of user's opening system, just can therefrom see the prompt operation icon of certain operations, click corresponding icon, just can carry out relevant operation.The process of concrete executable operations is similarly when showing the prompt operation icon on the desktop, repeats no more here.
Need to prove, in the embodiment of the invention, in desktop or informing, to generate the prompt operation icon, although some application program also has the icon (take the icon of .app as the suffix name) of this application program self on the table, such as application programs such as phone, information, mails, corresponding icon all can be arranged on the table, still, the icon of the prompt operation icon described in the embodiment of the invention and this application program self is different, and the result who obtains after clicking also can be different.For example, for send this prompt operation of information to certain contact person for, after the user clicks this prompt operation icon on the desktop, just can directly enter the interface of sending short messages, and corresponding associated person information (comprising name and/or telephone number) just Auto-writing in the input frame of " receiver ", cursor directly is presented in information editing's frame, and at this moment, then user's direct editing information clicked transmission and got final product.But if click the icon of " information " this application program self, then generally can enter the main interface of this program, the user needs therefrom to select " write information ", just can demonstrate the information editing interface, and need the user to input or selection receiver information from address list, and then cursor movement to information editing's frame, could begin editing operation.As seen, the method for utilizing the embodiment of the invention to provide can be saved the step of operation greatly.
Corresponding with the prompt operation manner of execution that is used for the iOS system that the embodiment of the invention provides, the embodiment of the invention also provides a kind of prompt operation actuating unit for the iOS system, and referring to Fig. 2, this device can comprise:
Information determining unit 201 is used for receiving after the request that creates the prompt operation icon, determines the relevant information of object run to be created; Described object run is executable operation in the iOS system;
Icon creating unit 202, be used for calling the application programming interface API that is used for creating at desktop level interface icon that the iOS system provides, in desktop level interface, create corresponding prompt operation icon, and preserve the corresponding relation between the relevant information of described prompt operation icon and described object run;
Request interception unit 203 is used for tackling described operation requests when the user initiates operation requests for described prompt operation icon; Described operation requests is for carrying out the request of corresponding object run by described prompt operation icon;
Interface interchange unit 204 is used for the relevant information according to described object run, calls the API of the correspondence that the iOS system provides, in order to jump to display interface corresponding to described object run.
Wherein, described information determining unit 201 specifically can be used for:
Receive user's input message by the operation entry that presets, determine the relevant information of object run to be created according to described input message.
Wherein, described object run comprises the standard agreement operation of supporting in the iOS system, and described standard agreement operation comprises: dial designated contact phone, send information, send mail or open named web page to designated contact to designated contact;
Described information determining unit 201 specifically can be used for:
Receive type and the operating parameter of object run to be created by the operation entry that presets; Wherein, described type comprises to be called, transmission information, sends mail or open webpage, and described operating parameter comprises associated person information or info web;
Described icon creating unit 202 specifically can be used for:
According to type and the operating parameter of described object run, determine the prompt operation icon style, and in desktop level interface, create described prompt operation icon;
Described interface interchange unit 204 specifically can be used for:
Call API corresponding to described object run based on described type and operating parameter, in order to start application program corresponding to described type, and described operating parameter passed to described application program, and jump to the display interface of described application program under described operating parameter.
Described application program comprises system application, perhaps, and self-defining application program.
If described iOS system is open user's operating right, then described object run also comprises system setup operation;
Described information determining unit 201 specifically can be used for:
Receive the system setup operation type of user selection by the operation entry that presets;
Described icon creating unit 202 specifically can be used for:
According to described system setup operation type, determine the prompt operation icon style, and in desktop level interface, create described prompt operation icon;
Described interface interchange unit 204 specifically can be used for:
According to described system setup operation type, call API corresponding to this system setup operation type in the iOS system, in order to jump to display interface corresponding to described system setup operation.
During specific implementation, described icon creating unit 202 specifically can be used for:
In system master interface, create corresponding prompt operation icon, perhaps, if described iOS system open user's operating right then creates corresponding prompt operation icon in the informing of system.
In a word, in the said apparatus that the embodiment of the invention provides, can in the display interface of desktop level, create some prompt operation icons, like this when needs are carried out certain operation, directly click this icon and can directly display interface be jumped to the interface of this operational correspondence, and do not need in the main interface of application program, to search corresponding entrance, perhaps to the entrance of searching layer by layer action required in the catalogue is set, therefore, can realize more easily various operations.
Intrinsic not relevant with any certain computer, virtual system or miscellaneous equipment with demonstration at this algorithm that provides.Various general-purpose systems also can be with using based on the teaching at this.According to top description, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.Should be understood that and to utilize various programming languages to realize content of the present invention described here, and the top description that language-specific is done is in order to disclose preferred forms of the present invention.
In the instructions that provides herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can be put into practice in the situation of these details not having.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the description to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes in the above.Yet the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires the more feature of feature clearly put down in writing than institute in each claim.Or rather, as following claims reflected, inventive aspect was to be less than all features of the disclosed single embodiment in front.Therefore, follow claims of embodiment and incorporate clearly thus this embodiment into, wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can adaptively change and they are arranged in one or more equipment different from this embodiment the module in the equipment among the embodiment.Can be combined into a module or unit or assembly to the module among the embodiment or unit or assembly, and can be divided into a plurality of submodules or subelement or sub-component to them in addition.In such feature and/or process or unit at least some are mutually repelling, and can adopt any combination to disclosed all features in this instructions (comprising claim, summary and the accompanying drawing followed) and so all processes or the unit of disclosed any method or equipment make up.Unless in addition clearly statement, disclosed each feature can be by providing identical, being equal to or the alternative features of similar purpose replaces in this instructions (comprising claim, summary and the accompanying drawing followed).
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included among other embodiment, the combination of the feature of different embodiment means and is within the scope of the present invention and forms different embodiment.For example, in the following claims, the one of any of embodiment required for protection can be used with array mode arbitrarily.
All parts embodiment of the present invention can realize with hardware, perhaps realizes with the software module of moving at one or more processor, and perhaps the combination with them realizes.It will be understood by those of skill in the art that and to use in practice microprocessor or digital signal processor (DSP) to realize according to some of the prompt operation actuating unit that is used for the iOS system of the embodiment of the invention or all some or repertoire of parts.The present invention can also be embodied as be used to part or all equipment or the device program (for example, computer program and computer program) of carrying out method as described herein.Such realization program of the present invention can be stored on the computer-readable medium, perhaps can have the form of one or more signal.Such signal can be downloaded from internet website and obtain, and perhaps provides at carrier signal, perhaps provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment in the situation of the scope that does not break away from claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed in element or step in the claim.Being positioned at word " " before the element or " one " does not get rid of and has a plurality of such elements.The present invention can realize by means of the hardware that includes some different elements and by means of the computing machine of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to come imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title with these word explanations.
The application can be applied to computer system/server, and it can be with numerous other universal or special computingasystem environment or configuration operation.The example that is suitable for well-known computing system, environment and/or the configuration used with computer system/server includes but not limited to: personal computer system, server computer system, thin client, thick client computer, hand-held or laptop devices, the system based on microprocessor, set-top box, programmable consumer electronics, NetPC Network PC, Xiao type Ji calculate machine Xi Tong ﹑ large computer system and comprise the distributed cloud computing technology environment of above-mentioned any system, etc.
Computer system/server can be described under the general linguistic context of the computer system executable instruction (such as program module) of being carried out by computer system.Usually, program module can comprise routine, program, target program, assembly, logic, data structure etc., and they are carried out specific task or realize specific abstract data type.Computer system/server can be implemented in distributed cloud computing environment, and in the distributed cloud computing environment, task is by carrying out by the teleprocessing equipment of communication network link.In distributed cloud computing environment, program module can be positioned on the Local or Remote computing system storage medium that comprises memory device.