Summary of the invention
The problem that the present invention solves is to provide a kind of demand processing method of onboard system, each application program on onboard system is cooperatively interacted and solves different user's requests.
For solving the problem, the invention provides a kind of demand processing method of onboard system, described onboard system includes multiple application program for the treatment of user's request, comprises the steps: to obtain its user's request being unsuitable for processing from the first application program; Corresponding second application program in onboard system is selected to process for the user's request got.
Alternatively, described onboard system also includes data relationship storehouse, and described data relationship storehouse to be suitable for the corresponding relation of the user's request processed with it for storing application program; Select corresponding second application program in onboard system to carry out process for the user's request got to comprise the steps:
Be suitable for the corresponding relation of the user's request processed based on the application program of described data relationship library storage with it, select to be suitable for the second application program of the user's request got described in processing;
Described user's request is sent to described second application program to process;
The result of described second application program process user's request is fed back to described first application program.
Alternatively, also comprise: judge whether to have in onboard system the application program being suitable for the user's request got described in process.
Alternatively, described application program is associated by call number with its corresponding relation being suitable for the user's request processed.
Alternatively, described application program runs in the operating system of described onboard system.
Alternatively, described operating system is android system or Symbian system or MacOS system.
Compared with prior art, technique scheme has the following advantages:
When processing user's request, interaction can be produced between multiple application program, when current application program cannot process user's request, being called by the control of operating system to transfer to the application program being suitable for processing this user's request to process by user's request, thus can make full use of existing application program in onboard system and process different user's requests better.
Simultaneously for application developer, can only develop for relevant user's request when considering the function of application program, the user's request of each application program process is relatively single, and need not consider each user's request, which enhances the efficiency of developer's developing application.
Detailed description of the invention
Contriver finds on existing onboard system, a usual application program needs the multiple demands solving user, and the different same demands of application program possibility reprocessing, a large amount of wastes of exploiting natural resources can be caused like this, and the experience of user is also bad.
For the problems referred to above, contriver is through research, provide a kind of demand processing method of onboard system, described onboard system includes multiple application program for the treatment of user's request, comprises the steps: to obtain its user's request being unsuitable for processing from the first application program; Corresponding second application program in onboard system is selected to process for the user's request got.
Technique scheme can be applied in the operating system of onboard system, achieve when processing user's request, interaction between multiple application program, namely when current application program (i.e. the first application program) cannot process user's request, control to call the application program (i.e. the second application program) user's request can being transferred to be suitable for processing this user's request by operating system on onboard system to process, thus existing application program in onboard system can be made full use of process different user's requests better.
Simultaneously for application developer, can only develop for relevant user's request when considering the function of application program, the user's request of each application program process is relatively single, and need not consider each user's request, which enhances the efficiency of developer's developing application.
For enabling above-mentioned purpose of the present invention, feature and advantage more become apparent, and are described in detail the specific embodiment of the present invention below in conjunction with accompanying drawing.
With reference to being the schematic flow sheet of the detailed description of the invention of the demand processing method of onboard system of the present invention shown in figure 1.As shown in Figure 1, described demand processing method comprises the steps:
Perform step S1: obtain its user's request being unsuitable for processing from the first application program;
Perform step S2: select corresponding second application program in onboard system to process for the user's request got.
In the embodiment of the present invention, described onboard system is mounted with operating system, described first application program and the second application program run in described operating system, and described operating system can be android system or Symbian system or MacOS system.It should be noted that, in actual applications, described operating system can run multiple application program usually, be not limited to and only run described first application program and the second application program; In addition, described onboard system at least comprises read out instrument (such as, touch display screen etc.), for the interactive interface of the operation interface and each application program that show operating system.
Particularly, first, user sends user's request by the first application program corresponding interactive interface on onboard system, described first application program receives described user's request, and wherein said user's request comprises the user's request that described first application program is suitable for processing and the user's request being unsuitable for process.Further, described first application program is suitable for the user's request processed, described first application program will process described user's request; And for described first application program be unsuitable for process user's request, this user's request is then sent to operating system by described first application program, namely as described in step S1: as described in operating system from the first application program obtain its be unsuitable for process user's request.
Then, as described in step S2: as described in operating system by according to get as described in user's request, on onboard system search be suitable for the second application program processing described user's request.Particularly, described operating system may search an application program or multiple application program is suitable for processing described user's request.
Such as, if search an application program be suitable for processing described user's request, then using this application program as described second application program.Again such as, be suitable for processing described user's request if described operating system searches multiple application program, so usual described operating system can select one of them (being normally most suitable for processing the application program of described user's request) as described second application program.
Can find out according to above-mentioned detailed description of the invention, in the process of process user's request, create interaction between multiple application program, each application program only processes its user's request being suitable for processing, and the user's request being unsuitable for processing is sent to operating system.Correspondingly, search on onboard system is suitable for other application programs processing this user's request by described operating system, and described user's request is sent to other application programs to process, make like this to produce interaction between application program, and the user's request of each application program process is relatively single.
Further, with reference to the onboard system of the present invention shown in figure 2 demand processing method described in step select corresponding second application program in onboard system to carry out the schematic flow sheet of the detailed description of the invention processed for the user's request that gets.As shown in Figure 2, comprise the steps:
Perform step S21: the corresponding relation being suitable for the user's request processed based on the application program of described data relationship library storage with it, select the second application program being suitable for the user's request got described in process.
Particularly, described operating system includes data relationship storehouse, and described data relationship storehouse to be suitable for the corresponding relation of the user's request processed with it for storing applying unit.Alternatively, described application program is associated by call number with its corresponding relation being suitable for the user's request processed.In other words, in described data relationship storehouse, each described application program has a call number, and each user's request also has a call number, and the call number of described application program is suitable for the user's request processed call number with it matches.Particularly, the such as call number of described application program is suitable for the call number one_to_one corresponding of the user's request processed with it; The call number of such as described user's request can corresponding multiple call number being suitable for the application program processing described user's request again, or the call number of application program can the call number of corresponding multiple user's request.The application program being suitable for processing described user's request just can be found like this according to described call number.
Perform step S22: described user's request is sent to described second application program and processes.
Particularly, the application program being suitable for processing described user's request can be determined according to above-mentioned steps S21, and using described application program as the second application program.Described user's request can be sent to described second application program and process by described operating system.Correspondingly, described second application program will receive the user's request of described operating system transmission, and is processed described user's request by described second application program.
Perform step S23: the result of described second application program process user's request is fed back to described first application program.
Particularly, according to above-mentioned steps S22, result can be fed back to described operating system by described second application program after processing described user's request.Correspondingly, described operating system will receive the result of user's request described in described second application program transmission processing.Further, the result of described user's request is fed back to described first application program by described operating system again, and described first application program receives the result of described user's request.
In a change case of the present embodiment, described step S23 can be changing into: by described second application program process user's request, and the result of described user's request is fed back to user.In other words, described second application program, after the process completing described user's request, also directly can feed back to user by described second application program, and not need result to feed back to described first application program again by described operating system.In actual applications, those skilled in the art can select optimal feedback system that the result of described user's request is fed back to user according to actual needs, do not repeat them here.
According to above-mentioned Fig. 2, the detailed description of the invention that in onboard system, corresponding second application program carries out processing is selected to find out for the user's request that gets: described operating system can be suitable for by the application program that stores in data relationship storehouse the user's request processed corresponding relation with it is searched for other application programs (i.e. described second application program) and processed the user's request that described first application program is unsuitable for process, and described user's request is sent to described second application program to process.
Further, can also comprise: judge whether to have in onboard system the application program being suitable for the user's request got described in process.If search for less than when being suitable for the application program processing described user's request on onboard system, described operating system can be connected to internet by wireless communication module, utilize Internet resources to search to be suitable for processing the application program of described user's request, and the related download being supplied to application program described in user connects, user can download and be installed in the operating system of onboard system, the application program that operation is downloaded solves the user's request that the first application program can't resolve, and, operating system can also upgrade data relationship storehouse, the application program of download and the corresponding relation of user's request are added in data relationship storehouse.Certainly, in other embodiments, also can not down load application program, but send demand process request by network to this application program, after application program processes user's request, by result by network-feedback to operating system.
The demand processing method of the onboard system of the embodiment of the present invention can be applied to following scene, schematic flow sheet below in conjunction with the application example of the demand processing method of onboard system of the present invention shown in Fig. 3 describes, the interaction of the first application program 12a and the second application program 12b is achieved by operating system 11, wherein said first application program 12a is news browser, and described second application program 12b is radio receiver.
In the present embodiment, described onboard system at least also comprises read out instrument, and it is for the interactive interface of the operation interface and application program that show operating system.
First, user opens onboard system by the read out instrument (such as read-out) of onboard system, and enters application program interactive interface; Described user can open the first application program 12a (i.e. news browser) according to the user's request of oneself (such as browsing news), and sends user's request (such as clicking news item link) to described first application program 12a.
Perform step 1) user's request that the first application program 12a reception " clicks news item link ".
Perform step 2) user's request that the first application program 12a solution " clicks news item link ", open the news links that user clicks, display news content, such user just can browse news content by news browser.
When user browses news by described news browser, suppose to embedded in a link of listening to news or icon in described news content (such as: described link or icon are: FM89.9).So when user wishes to listen to news, described user can click described link or icon, and namely described user have issued " news listening to FM89.9 " user's request to described news browser.
Then step 3 is performed) the first application program 12a receives the user's request of " listening to the news of FM89.9 ".
Performing step 4) the first application program 12a sends the user's request of " listening to the news of FM89.9 " to operating system 11.Because described first application program 12a cannot solve the user's request of " news listening to FM89.9 ", therefore described user's request is sent to operating system 11.
Performing step 5) operating system 11 receives the user's request of " news listening to FM89.9 ".
Performing step 6) operating system 11 searches the second application program 12b of user's request being suitable for processing " listening to the news of FM89.9 " in data relationship storehouse.Second application program 12b (i.e. radio receiver) can process the user's request of " news listening to FM89.9 ", and therefore operating system 11 selects the second application program 12b to process described user's request.
Performing step 7) user's request of " listening to the news of FM89.9 " sends to the second application program 12b by operating system 11.Particularly, can be that operating system 11 opens the second application program 12b, send the user's request of " listening to the news of FM89.9 " to the second application program 12b.
Performing step 8) the second application program 12b receives the user's request of " listening to the news of FM89.9 ".
Performing step 9) frequency is adjusted to FM89.9 by the second application program 12b, plays news by the audio-frequence player device of onboard system.
Such user just can listen to news by news browser, in fact, achieved by operating system 11 (such as Android operation system) and be loaded with radio receiver program in news browser program, make user can listen to news by news browser.It should be noted that, in this example, the second application program 12b do not need by solve user's request feed back to the first application program 12a.For other application examples, if the application program solving user's request needs result to be fed back to the application program sending this user's request, then can pass through operating unit feedback processing result, no longer launch explanation at this.
Further, be not limited to the scene described in above-mentioned application example in actual applications, the demand processing method of onboard system described in the embodiment of the present invention according to actual needs, can also be applied in other scenes, does not repeat them here by those skilled in the art.
Although the present invention with preferred embodiment openly as above; but it is not for limiting the present invention; any those skilled in the art without departing from the spirit and scope of the present invention; the Method and Technology content of above-mentioned announcement can be utilized to make possible variation and amendment to technical solution of the present invention; therefore; every content not departing from technical solution of the present invention; the any simple modification done above embodiment according to technical spirit of the present invention, equivalent variations and modification, all belong to the protection domain of technical solution of the present invention.