Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of method and terminal of guides user operating terminal, to solve prior art single problem of form when the guides user operating terminal.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention discloses a kind of method that dynamic synchronization instructs operating terminal, the method comprises:
According to the help request receiving, obtain Help Topic corresponding to current operation interface, and one or more Help Topics at described current operation interface are presented in the first forms;
According to the directions request receiving, obtain the corresponding help content of corresponding Help Topic, and one or more file types of described help content are presented in described the first forms;
The request of checking according to receiving, is presented at the help content of corresponding document type in the second forms.
The method also comprises: preset help information storehouse, and in described help information storehouse, set up the corresponding relation of operation interface and Help Topic, and, the corresponding relation of Help Topic and help content.
Describedly according to the help request receiving, obtain Help Topic corresponding to current operation interface, and one or more Help Topics at described current operation interface be presented in the first forms, comprising:
Receive while helping request, the information at current operation interface is obtained;
According to the corresponding relation of the information at the current operation interface obtaining and described operation interface and Help Topic, obtain Help Topic corresponding to current operation interface;
Newly-built the first forms on current operation interface, are presented at Help Topic corresponding to described current operation interface in the first forms.
According to the directions request receiving, obtain the corresponding help content of corresponding Help Topic, and one or more file types of described help content are presented in described the first forms, comprising:
Receive after directions request, according to the corresponding relation of described Help Topic and help content, obtain the corresponding help content of corresponding Help Topic;
The file type of the help content obtaining is passed to described the first forms, and described the first forms are presented at the corresponding region of corresponding Help Topic by the file type receiving.
Describedly according to the request of checking receiving, the help content of corresponding document type is presented in the second forms, comprises:
Receive after the request of checking, the forms that call respective type show control, newly-built the second forms on the first forms, the help content of demonstration corresponding document type.
The present invention also provides a kind of terminal, comprising: message processing module, display module and forms manager, wherein:
Described message processing module, for receiving the request that helps, and according to helping Help Topic corresponding to acquisition request current operation interface;
Described display module, for being presented at the first forms by one or more Help Topics at described current operation interface;
Described message processing module, also for receiving directions request, and obtains the corresponding help content of corresponding Help Topic according to directions request, and the file type of definite help content;
Described display module, also for being presented at the file type of described help content described the first forms;
Described message processing module, also, for checking when request receiving, notifies described display module;
Described display module, also for receiving when notice, checks that according to described request is presented at the help content of corresponding document type in the second forms;
Described forms manager, for setting up described the first forms and described the second forms.
This terminal also comprises: help information storehouse, and for storing help information, described help information comprises described Help Topic and help content; Also for the corresponding relation of storage operation interface and Help Topic, and, the corresponding relation of Help Topic and help content.
Described message processing module, also, for when receiving help request, obtains the information at current operation interface; And according to the corresponding relation of the information at the current operation interface obtaining and described operation interface and Help Topic, in described help information storehouse, obtain Help Topic corresponding to current operation interface;
Described display module is also set up described the first forms for triggering described forms manager, and Help Topic corresponding to described current operation interface is presented in the first forms on current operation interface;
Described forms administration module, also for newly-built described the first forms on current operation interface.
Described message processing module also for receiving after directions request, according to the corresponding relation of described Help Topic and help content, obtains the corresponding help content of corresponding Help Topic in described help information storehouse; And the file type of the help content obtaining is passed to described display module;
Described display module, also for being presented at the file type receiving in the corresponding region of the corresponding Help Topic of described the first forms.
Described message processing module, also, for receiving after the request of checking, notifies described display module;
Described display module, also for asking to trigger the forms demonstration control that described forms manager calls respective type, newly-built the second forms on the first forms according to checking; Also for the help content of corresponding document type being presented to described the second forms;
Described forms manager, also for showing control, newly-built the second forms on the first forms according to the forms of checking request call respective type.
Dynamic synchronization of the present invention instructs method and the terminal of operating terminal, the help of sending by reception user is asked, in help information storehouse, search corresponding help information, and according to the help information finding, provide respectively the help forms of various ways, for example, text helps forms, picture helps forms and video to help forms etc., simultaneously, described help forms capable of dynamic simultaneous display is on the current operation interface of required help, can make in this way user be familiar with the process of the associative operation that can carry out on current operation interface, with this, realize the object that guides user operates terminal in several ways, solved prior art single problem of form when guides user operating terminal.
Embodiment
Dynamic synchronization provided by the invention instructs the method for operating terminal, the help of sending by reception user is asked, in help information storehouse, search corresponding help information, and according to the help information finding, provide respectively the help forms of various ways, for example, text helps forms, picture helps forms and video to help forms etc., simultaneously, described help forms capable of dynamic simultaneous display is on the current operation interface of required help, can make in this way user be familiar with the process of the associative operation that can carry out on current operation interface, with this, realize the object that guides user operates terminal in several ways.
As shown in Figure 1, dynamic synchronization of the present invention instructs the method for operating terminal to comprise:
Step 101, according to the help request receiving, obtains Help Topic corresponding to current operation interface, and one or more Help Topics at current operation interface is presented in the first forms;
Step 102, according to the directions request receiving, obtains the corresponding help content of corresponding Help Topic, and one or more file types of help content is presented in the first forms;
Step 103, the request of checking according to receiving, is presented at the help content of corresponding document type in the second forms.
In the present invention, in order to realize said method, need to be in terminal a preset help information storehouse, and in help information storehouse, set up the corresponding relation of operation interface and help information.Help information in the present invention comprises Help Topic and help content.The operation interface of above-mentioned foundation and the corresponding relation of help information comprise: the corresponding relation of operation interface and Help Topic can be one-to-many; And the corresponding relation of Help Topic and help content, can be one-to-many.Here, the Help Topic of one-to-many and the corresponding relation of help content refer to: the help content that has multiple file types under a Help Topic.The help content of multiple file types, such as text, audio types, video type, picture/mb-type etc.
The source of above-mentioned help information can have multiple, such as equipment vendor, network or User Defined etc.
Preferably, the present invention can adopt file system mode to realize the function in help information storehouse, but the mode that realizes the function in help information storehouse is not limited to this.
Preferably, in the file system in help information storehouse, the location mode of each fileinfo is: according to application package name, as file rank, carry out layering storage.
Preferably, the storage organization of each file in file system, for example:
helpsystem
|-com
|-android
|-music
|-Help Topic 1
|-text
|-picture
|-video
|-Help Topic 2
|-text
|-picture
|-video
|-camera
|-Help Topic 1
|-text
|-picture
|-video
|-Help Topic 2
|-text
|-picture
|-video
|-org
As above the file storage organization Zhong, the superiors have stored profile.xml configuration file, the related application of storing for describing help information storehouse in the same layer file of com and org file; In music and camera file, stored respectively resource.xml configuration file, for describing the corresponding relation between music or each Help Topic of camera file and help content; And in the files such as the text in music and camera file, picture, video, stored respectively the help content of respective type.
Above-mentioned profile.xml configuration file is as follows:
Above-mentioned resource.xml configuration file is as follows:
From the content of above-mentioned resource.xml configuration file, " path " pointed out the path of help content.
The specific implementation of above-mentioned steps 101 (according to the help request receiving, obtain Help Topic corresponding to current operation interface, and one or more Help Topics at current operation interface are presented in the first forms) as shown in Figure 2, comprising:
Step 201: user submits to terminal the request that helps by elp button on current operation interface.
Preferably, can realize by soft key help function, user touches or clicks help menu and sends the request that helps.
Step 202: terminal receives while helping request, and the information at current operation interface is obtained.
Step 203: terminal, according to the information at current operation interface and the corresponding relation of operation interface and Help Topic that obtain, is obtained Help Topic corresponding to current operation interface.
In help information storehouse, set up the corresponding relation of operation interface and Help Topic, according to the information at current operation interface, can obtain corresponding Help Topic.
The help information storehouse of realizing based on above-mentioned file system mode, preferably, the information at the current operation interface obtaining is Activity (activity, the operation interface that marking terminal is current)., according to the information at current operation interface, be that Activity obtains corresponding Help Topic and is: according to the Activity at current operation interface, search Help Topic corresponding to this Activity of describing in resource.xml configuration file.
Preferably, before searching Help Topic, also need to judge in help information storehouse, whether to have stored help information corresponding to current operation interface.The help information storehouse of realizing based on above-mentioned file system mode, preferably, detect profile.xml configuration file, search the information of wherein whether having recorded application program corresponding to current operation interface, if so, in help information storehouse, stored help information corresponding to current operation interface; If not, do not store corresponding help information.
Step 204: terminal is called forms manager, newly-built the first forms on current operation interface, for showing the Help Topic at the current operation interface obtaining.
Help Topic corresponding to current operation interface has one or more, and preferably, Help Topic is presented in the first forms with the form of list.
, in the first forms, shown the relevant all Help Topics in current operation interface herein, can make user understand the function at more relevant current operations interface.
The specific implementation of above-mentioned steps 102 (according to the directions request receiving, obtain the corresponding help content of corresponding Help Topic, and one or more file types of help content are presented in the first forms) as shown in Figure 3, comprising:
Step 301: user checks the one or more Help Topics that show in the first forms, therefrom selects a Help Topic to check.Preferably, user, by touching or click to select Help Topic, when selecting, has submitted the directions request for this Help Topic to terminal.
Step 302: terminal receives after directions request, according to the corresponding relation of Help Topic and help content, obtains the corresponding help content of corresponding Help Topic.
In help information storehouse, set up the corresponding relation of Help Topic and help content, according to directions request corresponding to Help Topic of choosing, can find corresponding help content, and then can confirm the file type of help content.
The help information storehouse of realizing based on above-mentioned file system mode, preferably, terminal, according to the directions request receiving, is resolved resource.xml configuration file, and is searched help content corresponding to this directions request; After finding, further detect the file type of help content.
Step 303, passes to the first forms by the file type of help content, and the first forms are presented at the corresponding region of corresponding Help Topic by the file type of the help content receiving.
Preferably, the file type of help content can show with the form of menu.
When the file type of the help content finding only has text, type=" txt " is passed to the first forms, the first forms Help Topic shows File menu item in corresponding region;
When the file type of the help content finding comprises text and picture, type=" txt "+" img " passed to the first forms, in region corresponding to the first forms Help Topic, show " text " and " picture " two menu items;
When the file type of the help content finding also comprises text, picture and video, type=" txt "+" img "+" video " passed to the first forms, in region corresponding to the first forms Help Topic, show " text ", " picture " and " video " three menu items.
The specific implementation of above-mentioned steps 103 (request of checking according to receiving, is presented at the help content of corresponding document type in the second forms) as shown in Figure 4, comprising:
Step 401: user checks the multiple file types of the help content that certain Help Topic of showing in the first forms is corresponding, therefrom selects the help content of certain file type to check.
Preferably, user, by touching or click to select the help content of certain file type, when selecting, has submitted the request of checking for this help content to terminal.
Step 402, terminal receives after the request of checking, and the forms that call respective type show control, newly-built the second forms on the first forms, the help content of demonstration respective type.
Terminal, according to the request of checking corresponding to help content of the different file types that receive, is set to different values by forms administrative messag Msg and sends; Forms manager receives after Msg message, calls corresponding forms and shows control, sets up the second forms, and corresponding help content is presented in the second forms.For example:
When user selects to check the help content of textual form, terminal is set to 1 and send to forms manager by Msg, forms manager calls TextView control and sets up the second forms (preferably, the second forms are text forms), and the help content of textual form is shown in the second forms;
When user selects to check the help content of picture form, terminal is set to 2 and send to forms manager by Msg, forms manager calls ImageView control and sets up the second forms (preferably, the second forms are picture forms), and the help content of picture form is shown in the second forms;
When user selects to check the help content of visual form, terminal is set to 3 and send to forms manager by Msg, forms manager calls VideoView control and sets up the second forms (preferably, the second forms are video forms), and the help content of visual form is shown in the second forms.
As can be seen here, for the help content of different file types, can create the second dissimilar forms and present corresponding help content, can realize the object that various ways guides user is carried out operating terminal.
In addition, first, second forms in the present invention are all created on current operation interface, show with current operation interface dynamic synchronization, can meet the demand that user uses in real time, and leave current operation interface without user.
The help content that user shows according to the second forms is with the associative operation at study current operation interface.
When user selects to close first, second forms of help, terminal exits first, second forms, and shows the current operation interface of initiating before help request.
In order to realize said method, the present invention also provides a kind of terminal, as shown in Figure 5, comprising: message processing module 10,display module 20 andforms manager 30, wherein:
Message processing module 10, for receiving the request that helps, and according to helping Help Topic corresponding to acquisition request current operation interface;
Display module 20, for being presented at the first forms by one or more Help Topics at current operation interface;
Message processing module 10, also for receiving directions request, and obtains the corresponding help content of corresponding Help Topic according to directions request, and the file type of definite help content;
Display module 20, also for being presented at the first forms by the file type of help content;
Message processing module 10, also for checking when request, notice display module receiving;
Display module 20, also for receiving when notice, is presented at the help content of corresponding document type in the second forms according to the request of checking;
Forms manager 30, for setting up the first forms and the second forms.
As shown in Figure 5, this terminal also comprises: helpinformation storehouse 40, and for storing help information, help information comprises Help Topic and help content; Also for the corresponding relation of storage operation interface and Help Topic, and, the corresponding relation of Help Topic and help content.
Message processing module 10, also, for when receiving help request, obtains the information at current operation interface; And according to the corresponding relation of the information at the current operation interface obtaining and operation interface and Help Topic, inhelp information storehouse 40, obtain Help Topic corresponding to current operation interface;
Display module 20 is also set up the first forms for triggering forms manager, and Help Topic corresponding to current operation interface is presented in the first forms on current operation interface;
Forms administration module 30, also for newly-built the first forms on current operation interface.
Message processing module 10 also for receiving after directions request, according to the corresponding relation of Help Topic and help content, obtains the corresponding help content of corresponding Help Topic inhelp information storehouse 40; And the file type of the help content obtaining is passed to displaymodule 20;
Display module 20, also for being presented at the file type receiving in the corresponding region of the corresponding Help Topic of the first forms.
Message processing module 10, also for receiving after the request of checking,notice display module 20;
Display module 20, also for asking to trigger the forms demonstration control that formsmanager 30 calls respective type, newly-built the second forms on the first forms according to checking; Also for the help content of corresponding document type is presented to the second forms;
Forms manager 30, also for showing control, newly-built the second forms on the first forms according to the forms of checking request call respective type.
The above, be only preferred embodiment of the present invention, is not intended to limit protection scope of the present invention.