CN106227589A - A kind of application program scheduling method and mobile terminal - Google Patents

A kind of application program scheduling method and mobile terminal Download PDF

Info

Publication number
CN106227589A
CN106227589A CN201610589649.0A CN201610589649A CN106227589A CN 106227589 A CN106227589 A CN 106227589A CN 201610589649 A CN201610589649 A CN 201610589649A CN 106227589 A CN106227589 A CN 106227589A
Authority
CN
China
Prior art keywords
application program
logic channel
speed
real
application
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.)
Granted
Application number
CN201610589649.0A
Other languages
Chinese (zh)
Other versions
CN106227589B (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610589649.0A priority Critical patent/CN106227589B/en
Publication of CN106227589A publication Critical patent/CN106227589A/en
Application granted granted Critical
Publication of CN106227589B publication Critical patent/CN106227589B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/48Indexing scheme relating to G06F9/48
    • G06F2209/484Precedence

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a kind of application program scheduling method, belong to mobile communication technology field, including: obtain the logic channel that at least one application program of the request logic channel resource reported by described LTE communication interface is mapped;If the logic channel that described application program maps is dependent logic channel, then access described LTE communication interface based on application program described in priority scheduling;Control described application program to be carried out data transmission with LTE base station by described LTE communication interface.The invention also discloses a kind of mobile terminal.By application program scheduling method disclosed in the embodiment of the present invention, when solving that in prior art, radio interface rate is in short supply, same logic channel is seized in multiple application, causes some important or urgent application successfully can not seize radio interface rate and the problem that cannot run in time.By carrying out application program scheduling according to logical channel parameters and priority so that the application program that some urgency levels are higher can be dispatched in time, improves Consumer's Experience.

Description

A kind of application program scheduling method and mobile terminal
Technical field
The present invention relates to mobile communication technology field, particularly relate to a kind of application program scheduling method and mobile terminal.
Background technology
In LTE (Long Term Evolution, Long Term Evolution) system, the scheduling mode of data of eating dishes without rice or wine is base station (Node) give authority (grant) to terminal (terminal), the number of uplink and downlink can be carried out after terminal receives grant According to transmission.Wherein, downlink data with logic channel as thread, the priority that logic channel is arranged by network system, base station Multiplexing is carried out at media access control MAC (Media Access Control) layer according to priority of logical channels (mutiplexing), composition transmission block (TBS), it is transmitted;Up direction, base station is with end to the grant of up data End only gives the total speed of terminal distribution for thread, i.e. base station, and the logic channel of end side is in the multiplexing of MAC layer, by terminal MAC Layer is responsible for scheduling according to priority of logical channels.I.e. in LTE system, when terminal initial is registered, network side i.e. distributes default Bear (i.e. corresponding logic channel), the various application (wechat, web page browsing, download etc.) of terminal afterwards all can be mapped to this In default bear (in same logic channel).
But, at up direction, although there is MAC layer multiplexing based on priority to dispatch between logic channel, but in application , there is multiple application and be mapped to same logic channel in layer, the situation of same logic channel is seized in the most multiple application, at radio interface rate Time in short supply, some important or urgent application can be caused successfully can not to seize radio interface rate and cannot run in time, affect user Experience.
Summary of the invention
The embodiment of the present invention provides a kind of application program scheduling method and mobile terminal, to solve in prior art due to many The situation of same logic channel is seized in individual application, when radio interface rate is in short supply, causes some important or urgent application not become The problem that merit is seized radio interface rate and cannot be run in time.
First aspect, embodiments provides a kind of application program scheduling method, is applied to have LTE communication interface Mobile terminal, described method, including:
Obtain what at least one application program asking logic channel resource reported by described LTE communication interface was mapped Logic channel;
If the logic channel that described application program maps is dependent logic channel, then apply based on described in priority scheduling LTE communication interface described in routine access;
Control described application program to be carried out data transmission with LTE base station by described LTE communication interface.
Second aspect, the embodiment of the present invention additionally provides a kind of mobile terminal, including LTE communication interface, described mobile whole End also includes:
Logic channel acquisition module, for obtaining the request logic channel resource reported by described LTE communication interface extremely The logic channel that a few application program is mapped;
Application program scheduling module, if the logic channel for the mapping of described application program is dependent logic channel, then Described LTE communication interface is accessed based on application program described in priority scheduling;
Data transmission module, is used for controlling described application program and carries out data by described LTE communication interface and LTE base station Transmission.
So, the embodiment of the present invention is by obtaining the request logic channel resource reported by described LTE communication interface extremely The logic channel that a few application program is mapped;If the logic channel that described application program maps is dependent logic channel, Then access described LTE communication interface based on application program described in priority scheduling;Control described application program to be led to by described LTE Letter interface carries out data transmission with LTE base station, solves in prior art owing to the feelings of same logic channel are seized in multiple application Condition, when radio interface rate is in short supply, cause some important or urgent application can not successfully seize radio interface rate and cannot and luck The problem of row.By application program controlling application program being accessed LTE communication interface based on priority, it is to avoid application program exists LTE communication interface plug so that the application program that some urgency levels are higher can be dispatched in time, improves Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, required in the embodiment of the present invention being described below Accompanying drawing to be used is briefly described, it should be apparent that, the accompanying drawing in describing below is only some embodiments of the present invention, For those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to obtain according to these accompanying drawings Obtain other accompanying drawing.
Fig. 1 is the application program scheduling method system configuration diagram of the present invention;
Fig. 2 is the flow chart of the application program scheduling method of the embodiment of the present invention one;
Fig. 3 is the flow chart of the application program scheduling method of the embodiment of the present invention two;
Fig. 4 is the flow chart of the application program scheduling method of the embodiment of the present invention three;
Fig. 5 is the flow chart of the application program scheduling method of the embodiment of the present invention four;
Fig. 6 is one of structure chart of mobile terminal of the embodiment of the present invention five;
Fig. 7 is the two of the structure chart of the mobile terminal of the embodiment of the present invention five;
Fig. 8 is the three of the structure chart of the mobile terminal of the embodiment of the present invention five;
Fig. 9 is the structure chart of the mobile terminal of the embodiment of the present invention six;
Figure 10 is the structure chart of the mobile terminal of the embodiment of the present invention seven.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Describe, it is clear that described embodiment is a part of embodiment of the present invention rather than whole embodiments wholely.Based on this Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under not making creative work premise Example, broadly falls into the scope of protection of the invention.
The mobile terminal side that application program scheduling method disclosed by the invention is applied in LTE communication system, such as Fig. 1 institute Showing, described LTE communication system includes: the carrying mobile terminal 100 of application program, LTE base station 110, described mobile terminal enters one Step includes: LTE communication interface 101 and application program scheduling layer 102, and described application program scheduling layer 102 passes through following example Application program 103 on disclosed application program scheduling method scheduled mobile terminals 100 accesses LTE communication interface 101, to pass through Described LTE communication interface 101 and described LTE base station 110 carry out data transmission.
Embodiment one:
Embodiments provide a kind of application program scheduling method, be applied to the mobile end with LTE communication interface End.As in figure 2 it is shown, the method comprising the steps of 201 to step 203.
Step 201, obtains at least one application program of the request logic channel resource reported by described LTE communication interface The logic channel mapped.
Application program on mobile terminal, before sending data to LTE base station, first has to complete registration in LTE base station, To ask logic channel resource.LTE base station can specify a logic channel for mobile terminal, and the most up shared logic is believed Road, the application program on this mobile terminal all will be mapped to this logic channel.When application program sends data, LTE base station root According to communication protocol, the application program (such as voice application) that request sends some special data reassigns other independent logical letter Road.When being embodied as, LTE base station reports answering into each request logic channel resource on mobile terminal by LTE communication interface The logic channel being mapped to by program.
Step 202, if the logic channel that described application program maps is dependent logic channel, then based on priority scheduling Described application program accesses described LTE communication interface.
In the embodiment of the present invention, according to the type of the logic channel that application program is mapped to, specifically determine application program Dispatching method.When being embodied as, the application program being mapped to dependent logic channel that LTE base station is specified directly let pass to LTE communication interface, and the application program being mapped to dependent logic channel LTE base station specified is entered by application program scheduling layer Row scheduling, controls whether to access LTE communication interface, or is blocked.
Step 203, is controlled described application program and is carried out data transmission with LTE base station by described LTE communication interface.
For being mapped to the application program of dependent logic channel, taken by described LTE communication interface and to be mapped to Logic channel, carries out data transmission with LTE base station.
Application program scheduling method disclosed in the embodiment of the present invention, by obtaining by asking that described LTE communication interface reports Seek the logic channel that at least one application program of logic channel resource is mapped;If the logic channel that described application program maps For dependent logic channel, then access described LTE communication interface based on application program described in priority scheduling;Control described application Program is carried out data transmission with LTE base station by described LTE communication interface, solves in prior art owing to multiple application are seized The situation of same logic channel, when radio interface rate is in short supply, causes some important or urgent application successfully not seize and eats dishes without rice or wine Speed and the problem that cannot run in time.
By application program being scheduling at application program scheduling layer based on priority, control application program and access LTE Communication interface, it is to avoid application program is at LTE communication interface plug so that the application program that some urgency levels are higher can be in time Dispatched, improved Consumer's Experience.
Embodiment two:
Embodiments provide a kind of application program scheduling method, be applied to the mobile end with LTE communication interface End.As it is shown on figure 3, the method comprising the steps of 301 to step 305.
Step 301, obtains at least one application program of the request logic channel resource reported by described LTE communication interface The logic channel mapped.
In LTE system, at up direction, the application program that network side is different is mapped to different logic channels, example As, the special applications such as voice application are mapped to individual logical channels by network side, and other application are mapped to dependent logic Channel.When mobile terminal initial registration, network side, in units of mobile terminal, distributes default for each mobile terminal The logic channel that bear is the most corresponding, the various application on mobile terminal afterwards (wechat, web page browsing, download etc.) are in initial launch Shi Douhui is mapped in this default bear (in same logic channel).Generally LTE base station is that mobile terminal distribution is up Shared logic channel, the application program on this mobile terminal all will be mapped to this logic channel.When application program sends data, LTE base station reassigns other according to communication protocol, the application program (such as voice application) that request sends some special data Individual logical channels.In the embodiment of the present invention, the application program being mapped to dependent logic channel LTE base station specified is direct Let pass to LTE communication interface, and the application program being mapped to dependent logic channel LTE base station specified is adjusted by application program Degree layer is scheduling, and controls whether to let pass to LTE communication interface, or is blocked.
In embodiments of the invention, for being mapped to the application program of individual logical channels, i.e. it is mapped to many Application share The application program of logic channel (such as: default bear), mobile terminal is directly let pass MAC layer, by terminal mac layer according to patrolling Collect channel priority and be responsible for scheduling;For being mapped to the application program of dependent logic channel, mobile terminal will based on priority Its terminal mac layer of letting pass, is responsible for scheduling by terminal mac layer according to priority of logical channels.
When being embodied as, LTE base station is reported as each request logic channel resource on mobile terminal by LTE communication interface The logic channel that is mapped to of application program.Data Transport Protocol according to LTE, it is judged that the data that LTE communication interface reports The logic channel that middle application program is mapped to.
If the logic channel that described application program maps is dependent logic channel, then apply based on described in priority scheduling LTE communication interface described in routine access.When being embodied as, if the logic channel that described application program maps is dependent logic letter Road, the described step accessing described LTE communication interface based on application program described in priority scheduling, including: obtain and map to institute State the real-time priority of all application programs of logic channel;Obtain the real-time parameter of described logic channel;According to get Described real-time parameter and real-time priority, at least one application program mapping to described logic channel described in scheduling accesses described LTE communication interface.
Step 302, if the logic channel that described application program maps is dependent logic channel, obtains and patrols described in mapping to Collect the real-time priority of all application programs of channel.
When the application program of described request rate is the application program being mapped to dependent logic channel, by mobile terminal It is applied to program scheduler module described on and takies LTE communication interface based on the application program on priority scheduling mobile terminal Resource, such as dependent logic channel, in order to carry out data transmission with described LTE base station.
When being embodied as, according to the operation urgency level of application program, pre-build described application program and priority Priority mapping relation, the application program that usual priority is the highest is preferentially scheduled.Can according to application program run urgent Degree is application assigned priority, and the priority running the highest application program setting of urgency level is the highest.When there being application During PROGRAMMED REQUESTS speed, obtain priority mapping relation in real time, obtain the priority of each application program.Preferential by obtaining in real time Level mapping relations, it may be determined that the real-time priority of each application program.
Step 303, obtains the real-time parameter of described logic channel.
After mobile terminal is registered to LTE base station, LTE base station can be distributed to mobile terminal and apply up sharing to patrol more one Collect channel (PUSCH channel, logic channel as corresponding in default RB), enter for being mapped to the application of dependent logic channel Row data are transmitted.Because during sending data, the state of logic channel is change, when being embodied as, needs to obtain The real-time parameter of logic channel.Logical channel parameters is passed through LTE communication interface real-time report by LTE base station.
The parameter that logical channel parameters is up shared logic channel obtained in real time, including: instant speed, buffer status The buffer status of logic channel, foreground quota speed and backstage quota speed in report (buffer status report). Wherein, instant speed and buffer status report are reported to mobile terminal by LTE base station by LTE communication interface;Foreground quota speed Rate and backstage quota speed are configured by mobile terminal.
Step 304, according to the described real-time parameter got and real-time priority, maps to described logic letter described in scheduling At least one application program in road accesses described LTE communication interface.
When being embodied as, according to the logical channel parameters obtained in real time, based on a determination that the priority of each application program, right Each application program of request rate is scheduling, and controls it and accesses LTE communication interface, in order to carries out data transmission with LTE base station, Or it is blocked in scheduling queue and waits operation.
Step 305, is controlled described application program and is carried out data transmission with LTE base station by described LTE communication interface.
For being mapped to the application program of dependent logic channel, start described application program, it is allowed to it accesses described LTE Communication interface.Application program takies, by calling described LTE communication interface, the logic channel mapped by LTE base station, with LTE base Station carries out data transmission.
Application program scheduling method disclosed in the embodiment of the present invention, by obtaining by asking that described LTE communication interface reports Seek the logic channel that at least one application program of logic channel resource is mapped;If the logic channel that described application program maps For dependent logic channel, then obtain the real-time priority of all application programs mapping to described logic channel, and described The real-time parameter of logic channel;According to the described real-time parameter got and real-time priority, map to described in scheduling described in patrol At least one application program collecting channel accesses described LTE communication interface;Control described application program to be connect by described LTE communication Mouth carries out data transmission with LTE base station, solves owing to the situation of same logic channel is seized in multiple application in prior art, When radio interface rate is in short supply, some important or urgent application is caused can not successfully to seize radio interface rate and asking of cannot running in time Topic.
By being scheduling application program at application program scheduling layer based on priority and logical channel parameters, controlling should With routine access LTE communication interface, it is to avoid application program is at LTE communication interface plug so that some urgency levels are higher Application program can be dispatched in time, improves Consumer's Experience.Logic channel resource can be made full use of simultaneously.
Embodiment three:
Seeing Fig. 4, the embodiment of the present invention three provides a kind of application program scheduling method, is applied to have LTE communication and connects The mobile terminal of mouth.401 to step that the method comprising the steps of 406.
Step 401, initializes application program and the priority mapping relation of priority.
Obtaining all application programs installed on mobile terminal, the priority initializing described application program and priority is reflected Penetrate relation, thus set up the priority mapping relation of application program.When being embodied as, can according to application program run urgent Degree is application assigned priority when mobile terminal-opening, sets up priority mapping relation, and is installing application journey It is newly installed application assigned priority during sequence, sets up priority mapping relation.
Step 402, according to the running status of described application program, priority mapping relation described in real-time update.
When initializing the priority mapping relation of described application program and priority, it is that application program divides generally according to experience Join priority.Along with the operation of application program, the user of different mobile terminal uses the custom difference of application program, application program There is for different mobile phone users different urgency levels.Therefore, for scheduling application more accurately, carry Rise Consumer's Experience, need according to priority mapping relation described in the running status real-time update of described application program.
When being embodied as, the mark of application program and the mapping table of priority can be set up, and according to described application program Running status real-time update described in mapping table, to update priority mapping relation, then, by described mapping table mate The mark of application program determines the priority of application program.Or, one priority attribute is set for each application program, when answering When carrying out foreground and backstage switching by program, update described priority attribute, then, belonged to by the priority reading application program Property determines the priority of each application program.
The urgency level distribution priority can run according to application program, the application program running urgency level the highest sets The priority put is the highest.It is that the least priority of numerical value is the highest, and priority is the application of 1 as a example by 1 integer started by priority The priority of program is the highest.In order to promote Consumer's Experience further, generally by application program according to foreground application and backstage Application program is classified, and arranges higher priority for foreground application.
In application program running, background application may transfer front stage operation to, and the application program on foreground is also May transfer running background to, in order to promote Consumer's Experience further, the method for the present invention is initializing priority mapping relation Afterwards, also include: according to the running status of described application program, update described priority mapping relation.According to described application journey The running status of sequence, updates described priority mapping relation, particularly as follows: when a certain background application is switched to front stage operation When number of times reaches preset value, improve the priority of this background application.According to the running status of described application program, update institute State priority mapping relation can also include: reach preset value when a certain foreground application is switched to the number of times of running background Time, reduce the priority of this foreground application.
Step 403, maps to all application of described logic channel according to the priority mapping Relation acquisition of real-time update The real-time priority of program.
Obtain the priority mapping relation after updating, it may be determined that the real-time priority of each application program.It is embodied as Time, LTE base station will ask the application program of logic channel resource to map to certain logic channel on mobile terminal after, LTE communication The logic channel that application program is mapped by interface reports.The all application programs mapping to same logic channel will be by Add scheduling queue, wait and running, to access LTE communication interface.When being embodied as, when being scheduling, read in scheduling queue The real-time priority of all application programs, in order to carry out program scheduler based on priority.
Step 404, obtains the real-time parameter of described logic channel.
The detailed description of the invention of the real-time parameter obtaining described logic channel sees the correlation step of embodiment two, the most not Repeat again.
Step 405, according to the described real-time parameter got and real-time priority, maps to described logic letter described in scheduling At least one application program in road accesses described LTE communication interface.
When being embodied as, according to the logical channel parameters obtained in real time, based on a determination that the priority of each application program, right Each application program of request rate is scheduling, and controls it and accesses LTE communication interface, in order to carries out data transmission with LTE base station, Or it is blocked in application queue and waits scheduling.
Logical channel parameters includes: instant speed, buffer status report (buffer status report), foreground quota Speed and backstage quota speed.Wherein, buffer status report includes logical channel buffer status.Described instant speed and caching shape State report is reported to mobile terminal by LTE base station by LTE communication interface;Foreground quota speed and backstage quota speed are by moving Dynamic terminal is configured.When being embodied as, according to the logical channel parameters obtained, according to corresponding scheduling strategy, based on a determination that The priority of each application program, each application program of to be used LTE communication interface medium to scheduling queue is scheduling, and starts It accesses LTE communication interface or is blocked in scheduling queue, waits to be launched.
When being embodied as, being affected by actual motion environment, the logical channel parameters uploaded by LTE communication interface may Any one or more including in instant speed, logical channel buffer status, foreground quota speed and backstage quota speed, institute Stating according to the described real-time parameter that gets and real-time priority, at least one mapping to described logic channel described in scheduling should Situations below is at least included by the step of LTE communication interface described in routine access.
The first, the real-time parameter of the described logic channel of acquisition only has logical channel buffer status.
Logic channel group (the logical that buffer status report (buffer status report) instruction is corresponding Channel group) state, the buffer status of logic channel includes: empty, non-NULL.When buffer status report is During buffer empty, represent and up shared logic channel does not has data need to send;Otherwise, represent that up shared logic is believed Road there are data need to send.Introducing logic channel separately below is empty and during non-NULL scheduling scheme.
If the described real-time parameter got is: the buffer status of described logic channel, it is described that described basis gets Real-time parameter and real-time priority, at least one application program mapping to described logic channel described in scheduling accesses described LTE The step of communication interface, including: if described buffer status is empty, then starts the first application program and access described LTE communication interface; Wherein, during described first application program is the application program to be run mapping to described logic channel, real-time priority is the highest Application program.If the buffer status of described logic channel is empty, represent the application program the most sending data, i.e. LTE base Logic channel that station is specified is idle, then start in the application program to be run mapping to described logic channel real-time priority High application program.As a example by the priority of the application program on mobile terminal is respectively 1,2,3, if priority is the application of 1 Program has sent data, priority be 2 and 3 application program have data to be sent, application program to be run Priority is respectively 2,3, if the buffer status of the logic channel mapped by LTE is empty, then dispatching priority is the application program of 2 Take this logic channel, complete data and send.When being embodied as, if the application program that priority is 2 is more than one, for identical The application program of priority, can be scheduling in the way of using poll.
If the described real-time parameter got is: the buffer status of described logic channel, it is described that described basis gets Real-time parameter and real-time priority, at least one application program mapping to described logic channel described in scheduling accesses described LTE The step of communication interface includes: if described buffer status is non-NULL, and the priority of the second application program is less than the 3rd application journey Sequence, then, after stopping described second application program, start described 3rd application program and access described LTE communication interface;Wherein, described Second application program is the application program being currently running mapping to described logic channel;Described 3rd application program is for mapping to The application program that in the application program to be run of described logic channel, real-time priority is the highest.
If the buffer status of described logic channel is non-NULL, if taking the logic channel mapped by LTE to send number According to the priority of application program be 3, and wait that the priority of the application program of operation is 2, then priority is the application program of 3 To be stopped, logical channel buffer is released.Then, wait that the application program that priority is 2 run will be activated access LTE Communication interface, to take described logic channel, completes data and sends.If the priority of the application program being currently running is for the highest Priority, it is medium to be launched that other application programs in scheduling queue will still be blocked in scheduling queue.
The second, the real-time parameter of the described logic channel got includes the instant speed of described logic channel, but Do not include foreground quota speed or backstage quota speed.
If the described real-time parameter got includes the instant speed of described logic channel and does not include foreground quota speed Or backstage quota speed, described real-time parameter that described basis gets and real-time priority, map to described in scheduling described in patrol At least one application program collecting channel accesses the step of described LTE communication interface, including: if described instant speed deducts all The speed that up logic channel has taken is more than the first scheduled rate, then start the 4th described LTE communication of application program access and connect Mouthful;Wherein, described 4th application program is that in the application program to be run mapping to described logic channel real-time priority is High application program.
In first kind of way, owing to only accounting for the state of logic channel, do not account for the instant speed of logic channel (i.e. radio interface rate) so that the situation that when application program possibility is in sight, speed is not enough is being blocked in LTE communication interface.In order to keep away Exempt from this situation to occur, just start application program when there being admissible rate and access LTE communication interface, it is possible to reduce LTE communication connects Block at Kou.As a example by scheduling queue on mobile terminal, the priority of application program is respectively 1,2,3, if priority Be 1 application program sending data, priority be 2 and 3 application program have data to be sent, application to be run The priority of program is respectively 2,3.Speed time at once > (speed+offset that all up logic channels have taken) time, explanation There is admissible rate, dispatching priority be 2 application program take this logic channel, i.e. starting priority is the application program of 2 Access LTE communication interface, complete data and send.Wherein, the speed that all up logic channels have taken can be by calling LTE Communication interface obtains;Offset is for the sluggish speed preventing network jitter from reserving, and could be arranged to the first scheduled rate, as 1M byte.Time at once during speed≤(speed+offset that all up logic channels have taken), request is connect by LTE communication Mouth sends the application program of data by blocked.When being embodied as, if the application program that priority is 2 is more than one, for phase The application program of same priority, can be scheduling in the way of using poll.Visible, when time at once, speed meets certain condition, There may be at least one application program and carry out data at the logic channel using LTE base station to be mapped by LTE communication interface Transmission.
Time at once, speed meets condition: instant speed > (speed+offset that all up logic channels have taken) time, Without considering the buffer status of logic channel.When time at once, speed is unsatisfactory for above-mentioned condition, the most further according to logic channel Buffer status carries out application program scheduling, and concrete scheduling mode is as follows.
If the described real-time parameter got includes the instant speed of described logic channel, it is described that described basis gets Real-time parameter and real-time priority, at least one application program mapping to described logic channel described in scheduling accesses described LTE The step of communication interface, including: if described instant speed deducts speed that all up logic channels have taken less than or equal to the One scheduled rate, then start the application journey that in the application program to be run mapping to described logic channel, real-time priority is the highest Sequence.It is specifically divided into two kinds of situations: real-time parameter includes that the buffer status of logic channel and described buffer status are empty, real-time parameter Do not include that the buffer status of logic channel or the buffer status of described logic channel are non-NULL.
Described startup maps to the application journey that in the application program to be run of described logic channel, real-time priority is the highest The step of sequence, including: if described real-time parameter includes the buffer status of described logic channel, and described buffer status is empty, then Start the 8th application program and access described LTE communication interface;Described 8th application program is to map to treating of described logic channel The application program that in the application program run, real-time priority is the highest.With application program excellent in the scheduling queue on mobile terminal As a example by first level is respectively 1,2, if described buffer status is empty, then starts the application program access LTE communication that priority is 1 and connect Mouthful, carry out data transmission.
Described startup maps to the application journey that in the application program to be run of described logic channel, real-time priority is the highest The step of sequence, including: if described real-time parameter does not include the buffer status of described logic channel, or the caching of described logic channel State is non-NULL, if the real-time priority of the 9th application program is less than the real-time priority of the tenth application program, then stops institute After stating the 9th application program, start described tenth application program and access described LTE communication interface;Wherein, described 9th application journey Sequence is to map to the application program being currently running of described logic channel;Described tenth application program is for mapping to described logic letter The application program that in the application program to be run in road, real-time priority is the highest.
When being embodied as, time at once during speed≤(speed+offset that all up logic channels have taken), illustrate not There is admissible rate, then carry out application program scheduling according to the buffer status of logic channel.
As a example by scheduling queue on mobile terminal, the priority of application program is respectively 1,2, if priority be 2 should Sending data by program, then stopping priority is the application program of 2, discharges this logic channel, and then, starting priority is The application program of 1 accesses LTE communication interface, carries out data transmission.
The third, described logical channel parameters includes instant speed, and foreground quota speed and backstage quota speed.
When being embodied as, the application program on mobile terminal is divided into foreground application and background application.Aforementioned The first is with in the second situation, and when the priority of foreground application is higher, background application will cannot run forever, Consumer's Experience can be reduced.Preferably, the embodiment of the present invention arranges foreground quota speed for foreground application, for background application Program arranges backstage quota speed, to realize scheduling equilibrium, i.e. time in sight, speed preferentially distributes to the premise of foreground application Under, background application also is able to be run.When being embodied as, foreground quota speed is set by mobile terminal and backstage is joined Volume speed.Described application program includes foreground application and background application.Introduce foreground application separately below Call method and the call method of background application.
If the described real-time parameter got includes that the instant speed of described logic channel, foreground quota speed and backstage are joined Volume speed, described real-time parameter that described basis gets and real-time priority, map to described logic channel described in scheduling At least one application program accesses the step of described LTE communication interface, including: if described instant speed deducts all up logics The speed that channel has taken is more than the first scheduled rate, then according to described instant speed, described foreground quota speed, described backstage Quota speed, and the speed of up logic channel that foreground application has taken, map to described logic channel described in scheduling Foreground application access described LTE communication interface;Wherein, described application program includes foreground application and backstage Application program.
For foreground application, when there being speed more than needed, and when foreground quota speed does not make to be finished, before can dispatching Platform application program is carried out data transmission by LTE communication interface and LTE base station.Or, although foreground quota speed has used Complete, but instant speed is a lot, more than foreground quota speed and the summation of backstage quota speed, at this point it is possible to join on reserved backstage After volume speed, scheduling foreground application is by taking the logic channel that LTE base station is mapped, by LTE communication interface and LTE Base station carries out data transmission.When being embodied as, for the application program of equal priority, can adjust in the way of using poll Degree.Operating system can record the speed that each application program has used, the speed used by all foreground applications The cumulative speed that i.e. can get the up logic channel that foreground application has taken.In like manner, obtain background application to account for The speed of up logic channel.Concrete scheduling scheme divides following two situation.
For foreground application, described according to described instant speed, described foreground quota speed, described backstage quota speed Rate, and the speed of up logic channel that foreground application has taken, map to one of described logic channel described in scheduling Foreground application accesses the step of described LTE communication interface, including: if the up logic channel that foreground application has taken Speed less than described foreground quota speed, then start the 5th application program and access described LTE communication interface;Wherein, described Five application programs are the application journey that in the foreground application to be run mapping to described logic channel, real-time priority is the highest Sequence.Such as: if the application program taking the logic channel transmission data that LTE is mapped is foreground application A, it is excellent First level is 2, and the application program of request rate is foreground application B, and its priority is 3, if all foregrounds obtained in real time The up logic channel speed that application program has taken less than arrange foreground quota speed, then start priority be 3 should Take the described logic channel mapped by LTE base station by program, i.e. access described LTE communication interface and LTE base station number According to transmission.
When time at once, speed is a lot, unnecessary instant speed preferentially distributes to foreground application.Described in described basis i.e. Time speed, described foreground quota speed, described backstage quota speed, and the foreground application up logic channel that taken Speed, the foreground application mapping to described logic channel described in scheduling accesses the step of described LTE communication interface, bag Include: if the speed of up logic channel that foreground application has taken is more than or equal to described foreground quota speed, and described i.e. Time speed more than described foreground quota speed and described backstage quota speed sum, then start the 6th application program and access described LTE communication interface;Wherein, described 6th application program is in the foreground application to be run mapping to described logic channel The application program that real-time priority is the highest.
Such as: if the application program taking the logic channel transmission data that LTE is mapped is foreground application A, its priority is 2, and the application program of request rate is foreground application B, and its priority is 3, if foreground application The speed having taken logic channel is more than or equal to foreground quota speed, but instant speed is joined with backstage more than foreground quota speed The sum of volume speed, starts the application program that priority is 3 the most further and takies the described logic channel mapped by LTE base station, I.e. access described LTE communication interface and LTE base station carries out data transmission.
If the up logic channel speed that all foreground applications obtained in real time have taken is more than or equal to arranging Foreground quota speed, then foreground application B is by blocked.
For background application, if the described real-time parameter got includes the instant speed of described logic channel, front Platform quota speed and backstage quota speed, described real-time parameter that described basis gets and real-time priority, reflect described in scheduling At least one application program being incident upon described logic channel accesses the step of described LTE communication interface, including: if described i.e. speed per hour Rate deducts the speed that all up logic channels have taken and deducts described foreground join more than the first scheduled rate, described instant speed Volume speed is more than the first scheduled rate, and the speed of up logic channel that background application has taken is joined less than described backstage Volume speed, then start the 7th application program and access described LTE communication interface;Wherein, described 7th application program is for mapping to State the application program that in the background application to be run of logic channel, real-time priority is the highest, before described application program includes Platform application program and background application.Speed time only in sight > (foreground quota speed+offset) time, just have an opportunity to be adjusted Degree.When being embodied as, it is more than the first scheduled rate, and background application when described instant speed deducts described foreground quota speed When the speed of the up logic channel that program has taken is less than the backstage quota speed arranged, in background application to be run The background application that priority is the highest will be activated, and take, by accessing LTE communication interface, the logic letter that LTE base station is mapped Road, carries out data transmission with LTE base station.When being embodied as, if the highest application program of priority is more than one, for identical excellent The application program of first level, can be scheduling in the way of using poll.
Such as: the application program taking the logic channel transmission data mapped by LTE base station is background application journey Sequence C, its priority is 5, and application program to be run is background application D, and its priority is 4, if the institute obtained in real time Have the up logic channel speed that background application has taken less than the backstage quota speed arranged, then priority is 4 Background application will be activated, and take, by accessing LTE communication interface, the logic channel mapped by LTE base station, count According to transmission.If the up logic channel speed that all background applications obtained in real time have taken is more than or equal to setting Backstage quota speed, then background application C will be stopped, and start the application program that priority is 4 further and access LTE communication Interface, the logic channel mapped to take LTE base station carries out data transmission with LTE base station.
Step 406, is controlled described application program and is carried out data transmission with LTE base station by described LTE communication interface.
For being mapped to the application program of dependent logic channel, start described application program, it is allowed to it accesses described LTE Communication interface.Application program takies, by calling described LTE communication interface, the logic channel mapped by LTE base station, with LTE base station Carry out data transmission.
So far, terminate once to dispatch.Then, jump to step 402, continue to call other application programs.
Application program takies, by calling described LTE communication interface, the logic channel mapped by LTE base station, with LTE base station The concrete scheme carried out data transmission sees prior art, and here is omitted.
Application program scheduling method disclosed in the embodiment of the present invention, by the application journey being mapped to dependent logic channel Sequence, is application program associated priority according to the important of application program and pressing degree, and according to the running status of application program Real-time update, and obtain the real-time priority of all application programs mapping to described logic channel, and described logic channel Real-time parameter;According to the described real-time parameter got and real-time priority, described in scheduling, map to described logic channel At least one application program accesses described LTE communication interface;Control described application program by described LTE communication interface and LTE Base station carries out data transmission, and solves in prior art owing to multiple application seize the situation of same logic channel, in speed of eating dishes without rice or wine When rate is in short supply, cause some important or urgent application successfully can not seize radio interface rate and the problem that cannot run in time.
By application program controlling application program being accessed LTE communication interface based on priority and logical channel parameters, keep away Exempt from application program at LTE communication interface plug so that the application program that some urgency levels are higher can be dispatched in time, carries Rise Consumer's Experience.Logic channel resource can be made full use of simultaneously.
When having time remaining by speed time in sight, at least one application program of dispatch map to described logic channel accesses institute State LTE communication interface, improve the utilization rate of communication interface, improve data transmission efficiency.Meanwhile, by arranging foreground quota Speed and backstage quota speed so that background application also has an opportunity to run, and improves application program scheduling equilibrium further Property.
Implement to update priority by running status according to application program so that the application program that frequently uses is preferential To scheduling, promote Consumer's Experience further.
Embodiment four:
Seeing Fig. 5, the embodiment of the present invention four provides a kind of application program scheduling method, is applied to have LTE communication and connects The mobile terminal of mouth.501 to step that the method comprising the steps of 504.
Step 501, obtains at least one application program of the request logic channel resource reported by described LTE communication interface The logic channel mapped.
Obtain what at least one application program asking logic channel resource reported by described LTE communication interface was mapped The specific implementation method of logic channel sees the correlation step in embodiment three, and here is omitted.
Step 502, obtains the real-time priority of all application programs mapping to described logic channel.
The specific implementation method of the real-time priority obtaining all application programs mapping to described logic channel sees reality Executing the correlation step in example three, here is omitted.
Step 503, accesses described LTE communication interface based on application program described in priority scheduling.
When the real-time parameter of logic channel cannot be obtained, priority scheduling application journey based on application program to be run Sequence accesses LTE communication interface, synchronization, and the application program that only one of which priority is the highest is activated access LTE communication interface, Avoid application program and be blocked in LTE communication interface.When being embodied as, if the logic channel that described application program maps is non- Individual logical channels, the described step accessing described LTE communication interface based on application program described in priority scheduling, including: obtain Take the real-time priority of all application programs mapping to described logic channel;If the real-time priority of the 11st application program is low In the real-time priority of the 12nd application program, then stop described 11st application program;Start the 12nd application program to access Described LTE communication interface;Wherein, described 11st application program is the application journey being currently running mapping to described logic channel Sequence;Described 12nd application program is that in the application program to be run mapping to described logic channel, real-time priority is the highest Application program.
So that the scheduling queue of mobile terminal waiting, the application program that the application program of operation includes that priority is 2 and 3 is Example, first starts the application program that priority is 2 and accesses described LTE communication interface;When the application program that priority is 2 runs knot After Shu Houcong scheduling queue removes, just start the application program that priority is 3 and access described LTE communication interface.If it is mobile whole The application priorities being currently running in the scheduling queue of end is 2, now, is newly added the priority of request logic channel resource Be the application program of 1, then stopping priority is the application program of 2, afterwards, starts the application program that priority is 1 and accesses described LTE communication interface.
Step 504, is controlled described application program and is carried out data transmission with LTE base station by described LTE communication interface.
Application program scheduling method disclosed in the embodiment of the present invention, by obtaining by asking that described LTE communication interface reports Seek the logic channel that at least one application program of logic channel resource is mapped, obtain and map to all of described logic channel The real-time priority of application program, is then based on application program described in priority scheduling and accesses described LTE communication interface, control institute State application program to be carried out data transmission with LTE base station by described LTE communication interface, solve in prior art and answer due to multiple With seizing the situation of same logic channel, when radio interface rate is in short supply, some important or urgent application is caused successfully not rob The problem accounting for radio interface rate and cannot run in time.
Example five in real time:
Embodiments providing a kind of mobile terminal, described mobile terminal includes: LTE communication interface, sees Fig. 6, Described mobile terminal 600 also includes:
Logic channel acquisition module 610, for obtaining the request logic channel resource reported by described LTE communication interface The logic channel that at least one application program is mapped;
Application program scheduling module 620, if the logic channel for the mapping of described application program is dependent logic channel, Then access described LTE communication interface based on application program described in priority scheduling;
Data transmission module 630, is used for controlling described application program and is carried out with LTE base station by described LTE communication interface Data are transmitted.
Mobile terminal disclosed in the embodiment of the present invention, believes by obtaining the request logic reported by described LTE communication interface The logic channel that at least one application program of road resource is mapped;If the logic channel that described application program maps is dependent Logic channel, then access described LTE communication interface based on application program described in priority scheduling;Control described application program to pass through Described LTE communication interface carries out data transmission with LTE base station, solves in prior art owing to same logic is seized in multiple application The situation of channel, when radio interface rate is in short supply, causes some important or urgent application can not successfully seize radio interface rate and nothing The problem that method is run in time.
By application program being scheduling at application program scheduling layer based on priority, control application program and access LTE Communication interface, it is to avoid application program is at LTE communication interface plug so that the application program that some urgency levels are higher can be in time Dispatched, improved Consumer's Experience.
Alternatively, as it is shown in fig. 7, described application program scheduling module 620 includes:
First priority acquiring unit 621, for obtaining all application programs real-time mapping to described logic channel Priority;
Logical channel parameters acquiring unit 622, for obtaining the real-time parameter of described logic channel;
First application program scheduling unit 623, for getting the most excellent according to described first priority acquiring unit 621 The real-time parameter that first level and described logical channel parameters acquiring unit 622 get, maps to described logic channel described in scheduling At least one application program access described LTE communication interface.
Alternatively, as it is shown in fig. 7, described first application program scheduling unit 623 includes:
First scheduling sublayer unit 6231, if for the caching shape that described real-time parameter is described logic channel got State, and when described buffer status is empty, starts the first application program and access described LTE communication interface;
Wherein, real-time priority during described first application program is the application program to be run mapping to described logic channel The application program that level is the highest.
Alternatively, described first application program scheduling unit 623 includes:
Second scheduling sublayer unit 6232, if for the caching shape that described real-time parameter is described logic channel got State, and when described buffer status is non-NULL, if the priority of the second application program is less than the 3rd application program, then stop described After second application program, start described 3rd application program and access described LTE communication interface;
Wherein, described second application program is the application program being currently running mapping to described logic channel;Described Three application programs are the application program that in the application program to be run mapping to described logic channel, real-time priority is the highest.
Alternatively, described first application program scheduling unit 623 includes:
3rd scheduling sublayer unit 6233, if the described real-time parameter for getting includes the i.e. speed per hour of described logic channel Rate and when not including foreground quota speed or backstage quota speed, if described instant speed has deducted all up logic channels The speed taken is more than the first scheduled rate, then start the 4th application program and access described LTE communication interface;
Wherein, described 4th application program is real-time priority in the application program to be run mapping to described logic channel The application program that level is the highest.
Alternatively, described first application program scheduling unit 623 includes:
4th scheduling sublayer unit 6234, if the described real-time parameter for getting includes the i.e. speed per hour of described logic channel When rate, foreground quota speed and backstage quota speed, if described instant speed deducts what all up logic channels had taken Speed is more than the first scheduled rate, then according to described instant speed, described foreground quota speed, described backstage quota speed, and The speed of the up logic channel that foreground application has taken, the foreground mapping to described logic channel described in scheduling should With LTE communication interface described in routine access;
Wherein, described application program includes foreground application and background application.
Alternatively, as it is shown in fig. 7, described 4th scheduling sublayer unit 6234 includes:
First foreground scheduler submodule 62341, if the speed of the up logic channel taken for foreground application Less than described foreground quota speed, then start the 5th application program and access described LTE communication interface;
Wherein, described 5th application program is real-time in the foreground application to be run mapping to described logic channel The application program that priority is the highest.
Alternatively, described 4th scheduling sublayer unit 6234 includes:
Second foreground scheduler submodule 62342, if the speed of the up logic channel taken for foreground application More than or equal to described foreground quota speed, and described instant speed is more than described foreground quota speed and described backstage quota speed Sum, then start the 6th application program and access described LTE communication interface;
Wherein, described 6th application program is real-time in the foreground application to be run mapping to described logic channel The application program that priority is the highest.
Alternatively, described first application program scheduling unit 623 includes:
5th scheduling sublayer unit 6235, if the described real-time parameter for getting includes the i.e. speed per hour of described logic channel When rate, foreground quota speed and backstage quota speed, if described instant speed deducts what all up logic channels had taken Speed deducts described foreground quota speed be more than the first scheduled rate, and backstage more than the first scheduled rate, described instant speed The speed of the up logic channel that application program has taken is less than described backstage quota speed, then start the 7th application program and access Described LTE communication interface;
Wherein, described 7th application program is real-time in the background application to be run mapping to described logic channel The application program that priority is the highest, described application program includes foreground application and background application.
Optionally, described first application program scheduling unit 623 includes:
6th scheduling sublayer unit 6236, if the described real-time parameter for getting includes the i.e. speed per hour of described logic channel During rate, if described instant speed deducts speed that all up logic channels have taken less than or equal to the first scheduled rate, then Start and map to the application program that in the application program to be run of described logic channel, real-time priority is the highest.
Alternatively, described 6th scheduling sublayer unit 6236 includes:
First scheduling sublayer module 62361, if include the buffer status of described logic channel for described real-time parameter, and institute Stating buffer status is sky, then start the 8th application program and access described LTE communication interface;
Described 8th application program is that in the application program to be run mapping to described logic channel real-time priority is High application program.
Alternatively, described 6th scheduling sublayer unit 6236 includes:
Second scheduling sublayer module 62362, if do not include the buffer status of described logic channel for described real-time parameter, or The buffer status of described logic channel is non-NULL, if the real-time priority of the 9th application program is less than the reality of the tenth application program Time priority, then after stopping described 9th application program, start described tenth application program access described LTE communication interface;
Wherein, described 9th application program is the application program being currently running mapping to described logic channel;Described Ten application programs are the application program that in the application program to be run mapping to described logic channel, real-time priority is the highest.
Mobile terminal disclosed in the embodiment of the present invention, by being mapped to the application program of dependent logic channel, according to Important and the pressing degree of application program is application program associated priority, and the running status according to application program is real-time the most more Newly, and obtain the real-time priority of all application programs mapping to described logic channel, and described logic channel is real-time Parameter;According to the described real-time parameter got and real-time priority, described in scheduling, map at least the one of described logic channel Individual application program accesses described LTE communication interface;Control described application program to be entered with LTE base station by described LTE communication interface Row data are transmitted, and solve owing to the situation of same logic channel is seized in multiple application in prior art, in short supply at radio interface rate Time, cause some important or urgent application successfully can not seize radio interface rate and the problem that cannot run in time.
By application program controlling application program being accessed LTE communication interface based on priority and logical channel parameters, keep away Exempt from application program at LTE communication interface plug so that the application program that some urgency levels are higher can be dispatched in time, carries Rise Consumer's Experience.Logic channel resource can be made full use of simultaneously.
When having time remaining by speed time in sight, at least one application program of dispatch map to described logic channel accesses institute State LTE communication interface, improve the utilization rate of communication interface, improve data transmission efficiency.Meanwhile, by arranging foreground quota Speed and backstage quota speed so that background application also has an opportunity to run, and improves application program scheduling equilibrium further Property.
Alternatively, as shown in Figure 8, described application program scheduling module 620 includes:
Second priority acquiring unit 624, for obtaining all application programs real-time mapping to described logic channel Priority;
Second application program scheduling unit 625, if the real-time priority for the 11st application program should less than the 12nd With the real-time priority of program, then stop described 11st application program;
Described second application program scheduling unit 625, is additionally operable to start the 12nd described LTE communication of application program access and connects Mouthful;
Wherein, described 11st application program is the application program being currently running mapping to described logic channel;Described 12nd application program is the application journey that in the application program to be run mapping to described logic channel, real-time priority is the highest Sequence.
The open mobile terminal of the embodiment of the present invention, the request logic channel reported by described LTE communication interface by acquisition The logic channel that at least one application program of resource is mapped, acquisition maps to all application programs of described logic channel Real-time priority, is then based on application program described in priority scheduling and accesses described LTE communication interface, control described application program Carried out data transmission with LTE base station by described LTE communication interface, solve in prior art owing to multiple application are seized same The situation of logic channel, when radio interface rate is in short supply, causes some important or urgent application can not successfully seize radio interface rate And the problem that cannot run in time.
Embodiment six:
Fig. 9 is the block diagram of the mobile terminal of another embodiment of the present invention.Mobile terminal 900 shown in Fig. 9 includes: at least One processor 901, memorizer 902, LTE communication interface 906, at least one network interface 904 and user interface 903.Mobile Each assembly in terminal 900 is coupled by bus system 905.It is understood that bus system 905 is used for realizing these groups Connection communication between part.Bus system 905, in addition to including data/address bus, also includes power bus, controls bus and state Signal bus.But for the sake of understanding explanation, in fig .9 various buses are all designated as bus system 905.LTE communication interface 906 for communicating with LTE base station.
Wherein, user interface 903 can include display, keyboard or pointing device (such as, mouse, trace ball (trackball), touch-sensitive plate, touch screen or Trackpad etc..
The memorizer 902 being appreciated that in the embodiment of the present invention can be volatile memory or nonvolatile memory, Maybe can include volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read only memory (Read- OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM (ErasablePROM, EPROM), Electrically Erasable Read Only Memory (ElectricallyEPROM, EEPROM) or sudden strain of a muscle Deposit.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is used as outside the most slow Deposit.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory (SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate SDRAM, DDRSDRAM), enhancement mode Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory (DirectRambusRAM, DRRAM).The memorizer 902 of system and method described herein be intended to include but not limited to these and The arbitrarily memorizer of other applicable type.
In some embodiments, memorizer 902 stores following element, executable module or data structure, or Their subset of person, or their superset: operating system 9021 and application program 9022.
Wherein, operating system 9021, comprise various system program, such as ccf layer, core library layer, driving layer etc., be used for Realize various basic business and process hardware based task.Application program 9022, comprises various application program, such as media Player (MediaPlayer), browser (Browser), input method etc., be used for realizing various applied business.Realize the present invention The program of embodiment method may be embodied in application program 9022.
In embodiments of the present invention, by calling program or the instruction of memorizer 902 storage, concrete, can be application The program stored in program 9022 or instruction.Detect user by the touch screen in user interface 903 and use the behaviour of application program Make, such as the touch gestures of the area image that detection user setup is specified.Processor 901 is connect by described LTE communication for obtaining The logic channel that at least one application program of the request logic channel resource that mouth reports is mapped;If described application program maps Logic channel be dependent logic channel, then based on described in priority scheduling application program access described LTE communication interface;Control Make described application program to be carried out data transmission with LTE base station by described LTE communication interface.
The method part that the invention described above embodiment discloses can apply in processor 901, or real by processor 901 Existing.Processor 901 is probably a kind of IC chip, has the disposal ability of signal.During realizing, said method Each step can be completed by the instruction of the integrated logic circuit of the hardware in processor 901 or software form.Above-mentioned place Reason device 901 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), special integrated electricity Road (ApplicationSpecificIntegratedCircuit, ASIC), ready-made programmable gate array (FieldProgrammableGateArray, FPGA) or other PLDs, discrete gate or transistor logic Device, discrete hardware components.Can realize or perform disclosed each method, step and the box in the embodiment of the present invention Figure.The processor etc. that general processor can be microprocessor or this processor can also be any routine.In conjunction with the present invention The step of the method disclosed in embodiment can be embodied directly in hardware decoding processor and perform, or uses decoding processor In hardware and software module combination execution complete.Software module may be located at random access memory, and flash memory, read only memory can In the storage medium that this areas such as program read-only memory or electrically erasable programmable memorizer, depositor are ripe.This storage Medium is positioned at memorizer 902, and processor 901 reads the access times to application program of the user in memorizer 902, hard in conjunction with it Part completes the step of said method.
It is understood that embodiments described herein can use hardware, software, firmware, middleware, microcode or its Combination realizes.Realizing for hardware, processing unit can be implemented in one or more special IC (ApplicationSpecificIntegratedCircuits, ASIC), digital signal processor (DigitalSignalProcessing, DSP), digital signal processing appts (DSPDevice, DSPD), programmable logic device (ProgrammableLogicDevice, PLD), field programmable gate array (Field-ProgrammableGateArray, FPGA), general processor, controller, microcontroller, microprocessor, for performing other electronics list of herein described function In unit or a combination thereof.
Software is realized, can be realized herein by the module (such as process, function etc.) performing function described herein Described technology.Software code is storable in performing in memorizer and by processor.Memorizer can within a processor or Processor is outside to be realized.
Alternatively, processor 901 is used for: obtain the real-time priority of all application programs mapping to described logic channel Level;Obtain the real-time parameter of described logic channel;According to the described real-time parameter got and real-time priority, reflect described in scheduling At least one application program being incident upon described logic channel accesses described LTE communication interface.
Alternatively, if processor 901 for the described real-time parameter got is: the buffer status of described logic channel, And described buffer status is when being empty, then starts the first application program and access described LTE communication interface;Wherein, described first application Program is the application program that in the application program to be run mapping to described logic channel, real-time priority is the highest.
Alternatively, if processor 901 for the described real-time parameter got is: the buffer status of described logic channel, And described buffer status is non-NULL, and the priority of the second application program is less than the 3rd application program, then stopping described second should After program, start described 3rd application program and access described LTE communication interface;Wherein, described second application program is for mapping The application program being currently running to described logic channel;Described 3rd application program is the as ready mapping to described logic channel The application program that in the application program of row, real-time priority is the highest.
Alternatively, if processor 901 includes the instant speed of described logic channel for the described real-time parameter got And do not include foreground quota speed or backstage quota speed, if described instant speed deducts all up logic channels and takies Speed more than the first scheduled rate, then start the 4th application program and access described LTE communication interface;Wherein, the described 4th answer It is the application program that in the application program to be run mapping to described logic channel, real-time priority is the highest by program.
Alternatively, if processor 901 for the described real-time parameter got include the instant speed of described logic channel, Foreground quota speed and backstage quota speed, if to deduct the speed that all up logic channels have taken big for described instant speed In the first scheduled rate, then should according to described instant speed, described foreground quota speed, described backstage quota speed, and foreground By the speed of the up logic channel that program has taken, described in scheduling, map to a foreground application of described logic channel Access described LTE communication interface;Wherein, described application program includes foreground application and background application.
Alternatively, if processor 901 is used for the speed of the up logic channel that foreground application has taken less than described Foreground quota speed, then start the 5th application program and access described LTE communication interface;Wherein, described 5th application program is for reflecting It is incident upon the application program that in the foreground application to be run of described logic channel, real-time priority is the highest.
Alternatively, if the speed that processor 901 is used for the up logic channel that foreground application has taken is more than or equal to Described foreground quota speed, and described instant speed is more than described foreground quota speed and described backstage quota speed sum, then Start the 6th application program and access described LTE communication interface;Wherein, described 6th application program is for mapping to described logic channel Foreground application to be run in the highest application program of real-time priority.
Alternatively, if processor 901 for the described real-time parameter got include the instant speed of described logic channel, Foreground quota speed and backstage quota speed, if to deduct the speed that all up logic channels have taken big for described instant speed Deduct described foreground quota speed be more than the first scheduled rate, and background application journey in the first scheduled rate, described instant speed The speed of the up logic channel that sequence has taken is less than described backstage quota speed, then start the 7th application program and access described LTE communication interface;Wherein, described 7th application program is in the background application to be run mapping to described logic channel The application program that real-time priority is the highest, described application program includes foreground application and background application.
Alternatively, when the described real-time parameter that processor 901 is used for getting includes the instant speed of described logic channel, If described instant speed deducts speed that all up logic channels have taken less than or equal to the first scheduled rate, then start mapping The application program that real-time priority is the highest to the application program to be run of described logic channel.
Alternatively, if processor 901 includes the state of described logic channel, and described logic letter for described real-time parameter The state in road is empty, then start the 8th application program and access described LTE communication interface;
Described 8th application program is that in the application program to be run mapping to described logic channel real-time priority is High application program.
Alternatively, if processor 901 does not include the state of described logic channel, or described logic for described real-time parameter The state of channel is non-NULL, if the real-time priority of the 9th application program is less than the real-time priority of the tenth application program, then After stopping described 9th application program, start the tenth application program and access described LTE communication interface;Wherein, described 9th application Program is to map to the application program being currently running of described logic channel;Described tenth application program is for mapping to described logic The application program that in the application program to be run of channel, real-time priority is the highest.
Alternatively, if the logic channel that processor 901 maps for described application program is dependent logic channel, then obtain Take the real-time priority of all application programs mapping to described logic channel;If the real-time priority of the 11st application program is low In the real-time priority of the 12nd application program, then stop described 11st application program;Start the 12nd application program to access Described LTE communication interface;Wherein, described 11st application program is the application journey being currently running mapping to described logic channel Sequence;Described 12nd application program is that in the application program to be run mapping to described logic channel, real-time priority is the highest Application program.
Mobile terminal 900 is capable of each process that in previous embodiment, mobile terminal realizes, for avoiding repeating, here Repeat no more.
The mobile terminal 900 of the embodiment of the present invention, by above-mentioned module, solves in prior art owing to multiple application are robbed Account for the situation of same logic channel, when radio interface rate is in short supply, cause some important or urgent application can not successfully rob duty Mouthful speed and the problem that cannot run in time.By carrying out application program scheduling according to logical channel parameters and priority so that The application program that some urgency levels are higher can be dispatched in time, improves Consumer's Experience.
By being scheduling application program at application program scheduling layer based on priority and logical channel parameters, controlling should With routine access LTE communication interface, it is to avoid application program is at LTE communication interface plug so that some urgency levels are higher Application program can be dispatched in time, improves Consumer's Experience.Meanwhile, it is capable to make full use of logic channel resource.
When having time remaining by speed time in sight, at least one application program of dispatch map to described logic channel accesses institute State LTE communication interface, improve the utilization rate of communication interface, improve data transmission efficiency.Meanwhile, by arranging foreground quota Speed and backstage quota speed so that background application also has an opportunity to run, and improves application program scheduling equilibrium further Property.
Embodiment seven:
Figure 10 is the structural representation of the mobile terminal of another embodiment of the present invention.Specifically, the mobile end in Figure 10 End can be smart mobile phone, panel computer, personal digital assistant (PersonalDigital Assistant, PDA) or vehicle-mounted Computer etc..
Mobile terminal in Figure 10 includes radio frequency (RadioFrequency, RF) circuit 1010, memorizer 1020, input list Unit 1030, display unit 1040, processor 1060, voicefrequency circuit 1070, LTE communication interface 1080 and power supply 1090.Wherein LTE Communication interface 1080 is for carrying out data transmission with LTE base station.
Wherein, input block 1030 can be used for receiving numeral or the character information of user's input, and produce and move eventually The user setup of end and function control relevant signal input.Specifically, in the embodiment of the present invention, this input block 1030 can To include contact panel 1031.Contact panel 1031, also referred to as touch screen, can collect user thereon or neighbouring touch operation (such as user uses any applicable object such as finger, stylus or adnexa operation on contact panel 1031), and according in advance The formula first set drives corresponding attachment means.Optionally, contact panel 1031 can include touch detecting apparatus and touch control Two parts of device processed.Wherein, the touch orientation of touch detecting apparatus detection user, and detect the signal that touch operation brings, will Signal sends touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact Coordinate, then give this processor 1060, and order that processor 1060 sends can be received and performed.Furthermore, it is possible to use The polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave realize contact panel 1031.Except contact panel 1031, Input block 1030 can also include other input equipments 1032, and other input equipments 1032 can include but not limited to secondary or physical bond One or more in dish, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Wherein, display unit 1040 can be used for showing the information inputted by user or the information being supplied to user and movement The various menu interfaces of terminal 1000.Display unit 1040 can include display floater 1041, optionally, can use LCD or have The forms such as machine light emitting diode (OrganicLight-EmittingDiode, OLED) configure display floater 1041.
It should be noted that contact panel 1031 can cover display floater 1041, formed and touch display screen, when this touch display screen Detect thereon or after neighbouring touch operation, send processor 1060 to determine the type of touch event, with post processing Device 1060 provides corresponding visual output according to the type of touch event on touch display screen.
Touch display screen and include Application Program Interface viewing area and conventional control viewing area.This Application Program Interface viewing area And the arrangement mode of this conventional control viewing area does not limit, can be arranged above and below, left-right situs etc. can be distinguished two and show Show the arrangement mode in district.This Application Program Interface viewing area is displayed for the interface of application program.Each interface is permissible The interface elements such as the icon and/or the widget desktop control that comprise at least one application program.This Application Program Interface viewing area It can also be the empty interface not comprising any content.This conventional control viewing area is for showing the control that utilization rate is higher, such as, The application icons etc. such as settings button, interface numbering, scroll bar, phone directory icon.
Wherein processor 1060 is the control centre of mobile terminal 1000, utilizes various interface and the whole intelligence of connection The various piece of mobile phone, by running or perform to be stored in the software program in first memory 1021 and/or module, and adjusts By the data being stored in second memory 1022, perform the various functions of mobile terminal 1000 and process data, thus to shifting Dynamic terminal 1000 carries out integral monitoring.Optionally, processor 1060 can include one or more processing unit.
In embodiments of the present invention, by call the software program and/or module stored in this first memory 1021 and/ Or the data in this second memory 1022, processor 1060 shares the instruction of multimedia messages for receiving user;Detection institute State the private data in multimedia messages;When private data being detected, show the masking operation interface of described private data, root According to user's operation on described masking operation interface, shield described private data;Share the multimedia after shielding private data Information.
Alternatively, processor 1060 is for obtaining the request logic channel resource reported by described LTE communication interface extremely The logic channel that a few application program is mapped;If the logic channel that described application program maps is dependent logic channel, Then access described LTE communication interface based on application program described in priority scheduling;Control described application program to be led to by described LTE Letter interface carries out data transmission with LTE base station.
Alternatively, processor 1060 is used for: obtain the real-time priority of all application programs mapping to described logic channel Level;Obtain the real-time parameter of described logic channel;According to the described real-time parameter got and real-time priority, reflect described in scheduling At least one application program being incident upon described logic channel accesses described LTE communication interface.
Alternatively, if processor 1060 for the described real-time parameter got is: the buffer status of described logic channel, And described buffer status is when being empty, then starts the first application program and access described LTE communication interface;Wherein, described first application Program is the application program that in the application program to be run mapping to described logic channel, real-time priority is the highest.
Alternatively, if processor 1060 for the described real-time parameter got is: the buffer status of described logic channel, And described buffer status is non-NULL, and the priority of the second application program is less than the 3rd application program, then stopping described second should After program, start described 3rd application program and access described LTE communication interface;Wherein, described second application program is for mapping The application program being currently running to described logic channel;Described 3rd application program is the as ready mapping to described logic channel The application program that in the application program of row, real-time priority is the highest.
Alternatively, if processor 1060 includes the instant speed of described logic channel for the described real-time parameter got And do not include foreground quota speed or backstage quota speed, if described instant speed deducts all up logic channels and takies Speed more than the first scheduled rate, then start the 4th application program and access described LTE communication interface;Wherein, the described 4th answer It is the application program that in the application program to be run mapping to described logic channel, real-time priority is the highest by program.
Alternatively, if processor 1060 includes the i.e. speed per hour of described logic channel for the described real-time parameter got Rate, foreground quota speed and backstage quota speed, if described instant speed deducts the speed that all up logic channels have taken Rate is more than the first scheduled rate, then according to described instant speed, described foreground quota speed, described backstage quota speed and front The speed of the up logic channel that platform application program has taken, maps to a foreground application of described logic channel described in scheduling LTE communication interface described in routine access;Wherein, described application program includes foreground application and background application.
Alternatively, if processor 1060 is used for the speed of the up logic channel that foreground application has taken less than described Foreground quota speed, then start the 5th application program and access described LTE communication interface;Wherein, described 5th application program is for reflecting It is incident upon the application program that in the foreground application to be run of described logic channel, real-time priority is the highest.
Alternatively, if the speed that processor 1060 is used for the up logic channel that foreground application has taken is more than or equal to Described foreground quota speed, and described instant speed is more than described foreground quota speed and described backstage quota speed sum, then Start the 6th application program and access described LTE communication interface;Wherein, described 6th application program is for mapping to described logic channel Foreground application to be run in the highest application program of real-time priority.
Alternatively, if processor 1060 includes the i.e. speed per hour of described logic channel for the described real-time parameter got Rate, foreground quota speed and backstage quota speed, if described instant speed deducts the speed that all up logic channels have taken Rate deducts described foreground quota speed be more than the first scheduled rate more than the first scheduled rate, described instant speed, and backstage should The speed of the up logic channel taken by program less than described backstage quota speed, then starts the 7th application program and accesses institute State LTE communication interface;Wherein, described 7th application program is the background application to be run mapping to described logic channel The application program that middle real-time priority is the highest, described application program includes foreground application and background application.
Alternatively, processor 1060 includes the instant speed of described logic channel for the described real-time parameter got Time, if described instant speed deducts speed that all up logic channels have taken less than or equal to the first scheduled rate, then start Map to the application program that in the application program to be run of described logic channel, real-time priority is the highest.
Alternatively, if processor 1060 includes the state of described logic channel, and described logic for described real-time parameter The state of channel is empty, then start the 8th application program and access described LTE communication interface;
Described 8th application program is that in the application program to be run mapping to described logic channel real-time priority is High application program.
Alternatively, if processor 1060 does not include the state of described logic channel for described real-time parameter, or described in patrol The state collecting channel is non-NULL, if the real-time priority of the 9th application program is less than the real-time priority of the tenth application program, After then stopping described 9th application program, start the tenth application program and access described LTE communication interface;Wherein, the described 9th answer It is to map to the application program being currently running of described logic channel by program;Described tenth application program is patrolled described in mapping to Collect the application program that in the application program to be run of channel, real-time priority is the highest.
Alternatively, if the logic channel that processor 1060 maps for described application program is dependent logic channel, then Obtain the real-time priority of all application programs mapping to described logic channel;If the real-time priority of the 11st application program Less than the real-time priority of the 12nd application program, then stop described 11st application program;Start the 12nd application program to visit Ask described LTE communication interface;Wherein, described 11st application program is the application being currently running mapping to described logic channel Program;Described 12nd application program is that in the application program to be run mapping to described logic channel, real-time priority is the highest Application program.
Mobile terminal 1000 is capable of each process that in previous embodiment, mobile terminal realizes, for avoiding repeating, this In repeat no more.
The mobile terminal 1000 of the embodiment of the present invention, by above-mentioned module, solves in prior art owing to multiple application are robbed Account for the situation of same logic channel, when radio interface rate is in short supply, cause some important or urgent application can not successfully rob duty Mouthful speed and the problem that cannot run in time.By carrying out application program scheduling according to logical channel parameters and priority so that The application program that some urgency levels are higher can be dispatched in time, improves Consumer's Experience.
By being scheduling application program at application program scheduling layer based on priority and logical channel parameters, controlling should With routine access LTE communication interface, it is to avoid application program is at LTE communication interface plug so that some urgency levels are higher Application program can be dispatched in time, improves Consumer's Experience.Logic channel resource can be made full use of simultaneously.
When having time remaining by speed time in sight, at least one application program of dispatch map to described logic channel accesses institute State LTE communication interface, improve the utilization rate of communication interface, improve data transmission efficiency.Meanwhile, by arranging foreground quota Speed and backstage quota speed so that background application also has an opportunity to run, and improves application program scheduling equilibrium further Property.
Those of ordinary skill in the art are it is to be appreciated that combine the list of each example that the embodiments described herein describes Unit and algorithm steps, it is possible to being implemented in combination in of electronic hardware or computer software and electronic hardware.These functions are actually Perform with hardware or software mode, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel Each specifically should being used for can be used different methods to realize described function, but this realization is it is not considered that exceed The scope of the present invention.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, and the movement of foregoing description The specific works process of terminal, is referred to the corresponding process in preceding method embodiment, does not repeats them here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, can be passed through other Mode realizes.Such as, device embodiment described above is only schematically, such as, the division of described unit, it is only A kind of logic function divides, actual can have when realizing other dividing mode, the most multiple unit or assembly can in conjunction with or Person is desirably integrated into another system, or some features can be ignored, or does not performs.Another point, shown or discussed is mutual Between coupling direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or communication link Connect, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme 's.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.
If described function is using the form realization of SFU software functional unit and as independent production marketing or use, permissible It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is the most in other words The part contributing prior art or the part of this technical scheme can embody with the form of software product, this meter Calculation machine software product is stored in a storage medium, including some instructions with so that a computer equipment (can be individual People's computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention. And aforesaid storage medium includes: USB flash disk, portable hard drive, ROM, RAM, magnetic disc or CD etc. are various can store program code Medium.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, and any Those familiar with the art, in the technical scope that the invention discloses, can readily occur in change or replace, should contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with scope of the claims.
Each embodiment in this specification all uses the mode gone forward one by one to describe, what each embodiment stressed is with The difference of other embodiments, between each embodiment, identical similar part sees mutually.Real for mobile terminal For executing example, due to itself and embodiment of the method basic simlarity, so describe is fairly simple, relevant part sees embodiment of the method Part illustrate.

Claims (26)

1. a dispatching method for application program, is applied to the mobile terminal with LTE communication interface, it is characterised in that including:
Obtain the logic that at least one application program of the request logic channel resource reported by described LTE communication interface is mapped Channel;
If the logic channel that described application program maps is dependent logic channel, then based on application program described in priority scheduling Access described LTE communication interface;
Control described application program to be carried out data transmission with LTE base station by described LTE communication interface.
Method the most according to claim 1, it is characterised in that if the logic channel that described application program maps is dependent Logic channel, the described step accessing described LTE communication interface based on application program described in priority scheduling, including:
Obtain the real-time priority of all application programs mapping to described logic channel;
Obtain the real-time parameter of described logic channel;
According to the described real-time parameter got and real-time priority, described in scheduling, map at least one of described logic channel Application program accesses described LTE communication interface.
Method the most according to claim 2, it is characterised in that if the described real-time parameter got is: described logic is believed The buffer status in road, described real-time parameter that described basis gets and real-time priority, map to described logic described in scheduling At least one application program of channel accesses the step of described LTE communication interface, including:
If described buffer status is empty, then starts the first application program and access described LTE communication interface;
Wherein, during described first application program is the application program to be run mapping to described logic channel, real-time priority is High application program.
Method the most according to claim 2, it is characterised in that if the described real-time parameter got is: described logic is believed The buffer status in road, described real-time parameter that described basis gets and real-time priority, map to described logic described in scheduling At least one application program of channel accesses the step of described LTE communication interface and includes:
If described buffer status is non-NULL, and the priority of the second application program is less than the 3rd application program, then stop described the After two application programs, start described 3rd application program and access described LTE communication interface;
Wherein, described second application program is the application program being currently running mapping to described logic channel;Described 3rd should It is the application program that in the application program to be run mapping to described logic channel, real-time priority is the highest by program.
Method the most according to claim 2, it is characterised in that if the described real-time parameter got includes that described logic is believed The instant speed in road and do not include foreground quota speed or backstage quota speed, the described real-time parameter that described basis gets and Real-time priority, at least one application program mapping to described logic channel described in scheduling accesses described LTE communication interface Step, including:
If described instant speed deducts speed that all up logic channels have taken more than the first scheduled rate, then start the 4th Application program accesses described LTE communication interface;
Wherein, described 4th application program is that in the application program to be run mapping to described logic channel real-time priority is High application program.
Method the most according to claim 2, it is characterised in that if the described real-time parameter got includes that described logic is believed The instant speed in road, foreground quota speed and backstage quota speed, described real-time parameter that described basis gets and the most excellent First level, at least one application program mapping to described logic channel described in scheduling accesses the step of described LTE communication interface, bag Include:
If described instant speed deducts speed that all up logic channels have taken more than the first scheduled rate, then according to described Instant speed, described foreground quota speed, described backstage quota speed, and the up logic channel that foreground application has taken Speed, the foreground application mapping to described logic channel described in scheduling accesses described LTE communication interface;
Wherein, described application program includes foreground application and background application.
Method the most according to claim 6, it is characterised in that described according to described instant speed, described foreground quota speed Rate, described backstage quota speed, and the speed of up logic channel that foreground application has taken, map to institute described in scheduling The foreground application stating logic channel accesses the step of described LTE communication interface, including:
If the speed of the up logic channel that foreground application has taken is less than described foreground quota speed, then starting the 5th should With LTE communication interface described in routine access;
Wherein, described 5th application program is real-time priority in the foreground application to be run mapping to described logic channel The application program that level is the highest.
Method the most according to claim 6, it is characterised in that described according to described instant speed, described foreground quota speed Rate, described backstage quota speed, and the speed of up logic channel that foreground application has taken, map to institute described in scheduling The foreground application stating logic channel accesses the step of described LTE communication interface, including:
If the speed of the up logic channel that foreground application has taken is more than or equal to described foreground quota speed, and described i.e. Time speed more than described foreground quota speed and described backstage quota speed sum, then start the 6th application program and access described LTE communication interface;
Wherein, described 6th application program is real-time priority in the foreground application to be run mapping to described logic channel The application program that level is the highest.
Method the most according to claim 2, it is characterised in that if the described real-time parameter got includes that described logic is believed The instant speed in road, foreground quota speed and backstage quota speed, described real-time parameter that described basis gets and the most excellent First level, at least one application program mapping to described logic channel described in scheduling accesses the step of described LTE communication interface, bag Include:
If described instant speed deducts speed that all up logic channels have taken more than the first scheduled rate, described i.e. speed per hour Rate deducts described foreground quota speed more than the first scheduled rate, and the speed of up logic channel that background application has taken Rate is less than described backstage quota speed, then start the 7th application program and access described LTE communication interface;
Wherein, described 7th application program is real-time priority in the background application to be run mapping to described logic channel The application program that level is the highest, described application program includes foreground application and background application.
Method the most according to claim 2, it is characterised in that if the described real-time parameter got includes described logic The instant speed of channel, described real-time parameter that described basis gets and real-time priority, map to described in scheduling described in patrol At least one application program collecting channel accesses the step of described LTE communication interface, including:
If described instant speed deducts speed that all up logic channels have taken less than or equal to the first scheduled rate, then start Map to the application program that in the application program to be run of described logic channel, real-time priority is the highest.
11. methods according to claim 10, it is characterised in that described startup map to described logic channel wait run Application program in the step of the highest application program of real-time priority, including:
If described real-time parameter includes the buffer status of described logic channel, and described buffer status is empty, then starting the 8th should With LTE communication interface described in routine access;
Described 8th application program is that in the application program to be run mapping to described logic channel, real-time priority is the highest Application program.
12. methods according to claim 10, it is characterised in that described startup map to described logic channel wait run Application program in the step of the highest application program of real-time priority, including:
If described real-time parameter does not include the buffer status of described logic channel, or the buffer status of described logic channel is non- Sky, if the real-time priority of the 9th application program is less than the real-time priority of the tenth application program, then stopping the described 9th should After program, start described tenth application program and access described LTE communication interface;
Wherein, described 9th application program is the application program being currently running mapping to described logic channel;Described tenth should It is the application program that in the application program to be run mapping to described logic channel, real-time priority is the highest by program.
13. methods according to claim 1, it is characterised in that if described application program map logic channel be non-solely Vertical logic channel, the described step accessing described LTE communication interface based on application program described in priority scheduling, including:
Obtain the real-time priority of all application programs mapping to described logic channel;
If the real-time priority of the 11st application program is less than the real-time priority of the 12nd application program, then stop the described tenth One application program;
Start the 12nd application program and access described LTE communication interface;
Wherein, described 11st application program is the application program being currently running mapping to described logic channel;Described tenth Two application programs are the application program that in the application program to be run mapping to described logic channel, real-time priority is the highest.
14. 1 kinds of mobile terminals, including LTE communication interface, it is characterised in that described mobile terminal also includes:
Logic channel acquisition module, for obtaining at least the one of the request logic channel resource reported by described LTE communication interface The logic channel that individual application program is mapped;
Application program scheduling module, if for described application program map logic channel be dependent logic channel, then based on Application program described in priority scheduling accesses described LTE communication interface;
Data transmission module, is used for controlling described application program and carries out data biography by described LTE communication interface and LTE base station Defeated.
15. mobile terminals according to claim 14, it is characterised in that described application program scheduling module includes:
First priority acquiring unit, for obtaining the real-time priority of all application programs mapping to described logic channel;
Logical channel parameters acquiring unit, for obtaining the real-time parameter of described logic channel;
First application program scheduling unit, for getting real-time priority and described according to described first priority acquiring unit The real-time parameter that logical channel parameters acquiring unit gets, maps at least one application of described logic channel described in scheduling LTE communication interface described in routine access.
16. mobile terminals according to claim 15, it is characterised in that described first application program scheduling unit includes:
First scheduling sublayer unit, if for the buffer status that described real-time parameter is described logic channel got and described When buffer status is empty, starts the first application program and access described LTE communication interface;
Wherein, during described first application program is the application program to be run mapping to described logic channel, real-time priority is High application program.
17. mobile terminals according to claim 15, it is characterised in that described first application program scheduling unit includes:
Second scheduling sublayer unit, if for the buffer status that described real-time parameter is described logic channel got and described When buffer status is non-NULL, if the priority of the second application program is less than the 3rd application program, then stop described second application After program, start described 3rd application program and access described LTE communication interface;
Wherein, described second application program is the application program being currently running mapping to described logic channel;Described 3rd should It is the application program that in the application program to be run mapping to described logic channel, real-time priority is the highest by program.
18. mobile terminals according to claim 15, it is characterised in that described first application program scheduling unit includes:
3rd scheduling sublayer unit, if the described real-time parameter for getting includes the instant speed of described logic channel and does not wraps When including foreground quota speed or backstage quota speed, if described instant speed deducts the speed that all up logic channels have taken Rate is more than the first scheduled rate, then start the 4th application program and access described LTE communication interface;
Wherein, described 4th application program is that in the application program to be run mapping to described logic channel real-time priority is High application program.
19. mobile terminals according to claim 15, it is characterised in that described first application program scheduling unit includes:
4th scheduling sublayer unit, if the described real-time parameter for getting includes the instant speed of described logic channel, foreground When quota speed and backstage quota speed, if described instant speed deducts the speed that all up logic channels have taken and is more than First scheduled rate, then according to described instant speed, described foreground quota speed, described backstage quota speed, and foreground application The speed of the up logic channel that program has taken, the foreground application mapping to described logic channel described in scheduling is visited Ask described LTE communication interface;
Wherein, described application program includes foreground application and background application.
20. mobile terminals according to claim 19, it is characterised in that described 4th scheduling sublayer unit includes:
First foreground scheduler submodule, if the speed of the up logic channel taken for foreground application is less than before described Platform quota speed, then start the 5th application program and access described LTE communication interface;
Wherein, described 5th application program is real-time priority in the foreground application to be run mapping to described logic channel The application program that level is the highest.
21. mobile terminals according to claim 19, it is characterised in that described 4th scheduling sublayer unit includes:
Second foreground scheduler submodule, if being used for the speed of the up logic channel that foreground application has taken more than or equal to institute State foreground quota speed, and described instant speed is more than described foreground quota speed and described backstage quota speed sum, then open Dynamic 6th application program accesses described LTE communication interface;
Wherein, described 6th application program is real-time priority in the foreground application to be run mapping to described logic channel The application program that level is the highest.
22. mobile terminals according to claim 15, it is characterised in that described first application program scheduling unit includes:
5th scheduling sublayer unit, if the described real-time parameter for getting includes the instant speed of described logic channel, foreground When quota speed and backstage quota speed, if described instant speed deducts the speed that all up logic channels have taken and is more than First scheduled rate, described instant speed deduct described foreground quota speed and are more than the first scheduled rate, and background application The speed of the up logic channel taken is less than described backstage quota speed, then start the 7th application program and access described LTE Communication interface;
Wherein, described 7th application program is real-time priority in the background application to be run mapping to described logic channel The application program that level is the highest, described application program includes foreground application and background application.
23. mobile terminals according to claim 15, it is characterised in that described first application program scheduling unit includes:
6th scheduling sublayer unit, if the described real-time parameter for getting includes the instant speed of described logic channel, as The most described instant speed deducts speed that all up logic channels have taken less than or equal to the first scheduled rate, then start mapping The application program that real-time priority is the highest to the application program to be run of described logic channel.
24. mobile terminals according to claim 23, it is characterised in that described 6th scheduling sublayer unit includes:
First scheduling sublayer module, if include the buffer status of described logic channel for described real-time parameter, and described caching shape State is empty, then start the 8th application program and access described LTE communication interface;
Described 8th application program is that in the application program to be run mapping to described logic channel, real-time priority is the highest Application program.
25. mobile terminals according to claim 23, it is characterised in that described 6th scheduling sublayer unit includes:
Second scheduling sublayer module, if do not include the buffer status of described logic channel for described real-time parameter, or described logic The buffer status of channel is non-NULL, if the real-time priority of the 9th application program is less than the real-time priority of the tenth application program Level, then, after stopping described 9th application program, start described tenth application program and access described LTE communication interface;
Wherein, described 9th application program is the application program being currently running mapping to described logic channel;Described tenth should It is the application program that in the application program to be run mapping to described logic channel, real-time priority is the highest by program.
26. mobile terminals according to claim 14, it is characterised in that described application program scheduling module includes:
Second priority acquiring unit, for obtaining the real-time priority of all application programs mapping to described logic channel;
Second application program scheduling unit, if the real-time priority for the 11st application program is less than the 12nd application program Real-time priority, then stop described 11st application program;
Described second application program scheduling unit, is additionally operable to start the 12nd application program and accesses described LTE communication interface;
Wherein, described 11st application program is the application program being currently running mapping to described logic channel;Described tenth Two application programs are the application program that in the application program to be run mapping to described logic channel, real-time priority is the highest.
CN201610589649.0A 2016-07-25 2016-07-25 A kind of application program scheduling method and mobile terminal Active CN106227589B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610589649.0A CN106227589B (en) 2016-07-25 2016-07-25 A kind of application program scheduling method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610589649.0A CN106227589B (en) 2016-07-25 2016-07-25 A kind of application program scheduling method and mobile terminal

Publications (2)

Publication Number Publication Date
CN106227589A true CN106227589A (en) 2016-12-14
CN106227589B CN106227589B (en) 2019-11-26

Family

ID=57532369

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610589649.0A Active CN106227589B (en) 2016-07-25 2016-07-25 A kind of application program scheduling method and mobile terminal

Country Status (1)

Country Link
CN (1) CN106227589B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106815025A (en) * 2017-01-17 2017-06-09 广东欧珀移动通信有限公司 Sensing data report method and device
CN108306913A (en) * 2017-01-12 2018-07-20 中兴通讯股份有限公司 A kind of data processing method, device, computer readable storage medium and terminal
CN115002842A (en) * 2022-07-18 2022-09-02 荣耀终端有限公司 Data transmission method, electronic equipment and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101833465A (en) * 2010-04-23 2010-09-15 中国科学院声学研究所 Embedded system supporting dynamic loading operation of application programs
CN101932007A (en) * 2009-06-22 2010-12-29 中兴通讯股份有限公司 Method and wireless relay system for realizing service flow transmission of mobile terminal
CN102655447A (en) * 2012-04-28 2012-09-05 北京创毅讯联科技股份有限公司 Uploading data transmission method and device
CN103583074A (en) * 2011-06-04 2014-02-12 阿尔卡特朗讯 A scheduling concept
US20140177496A1 (en) * 2012-12-20 2014-06-26 Seven Networks, Inc. Systems and methods for application management of mobile device radio state promotion and demotion

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101932007A (en) * 2009-06-22 2010-12-29 中兴通讯股份有限公司 Method and wireless relay system for realizing service flow transmission of mobile terminal
CN101833465A (en) * 2010-04-23 2010-09-15 中国科学院声学研究所 Embedded system supporting dynamic loading operation of application programs
CN103583074A (en) * 2011-06-04 2014-02-12 阿尔卡特朗讯 A scheduling concept
CN102655447A (en) * 2012-04-28 2012-09-05 北京创毅讯联科技股份有限公司 Uploading data transmission method and device
US20140177496A1 (en) * 2012-12-20 2014-06-26 Seven Networks, Inc. Systems and methods for application management of mobile device radio state promotion and demotion

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
ANEEL OAD: "Enhanced uplink scheduling algorithm for", 《EURASIP JOURNAL ON WIRELESS COMMUNICATIONS AND NETWORKING》 *
胡徽徽: "一种基于多点协作的上行资源调度方式", 《光通信研究》 *
陈海珍等: "LTE系统终端MAC上行调度与复用机制的研究与设计", 《计算机与现代化》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108306913A (en) * 2017-01-12 2018-07-20 中兴通讯股份有限公司 A kind of data processing method, device, computer readable storage medium and terminal
CN106815025A (en) * 2017-01-17 2017-06-09 广东欧珀移动通信有限公司 Sensing data report method and device
CN115002842A (en) * 2022-07-18 2022-09-02 荣耀终端有限公司 Data transmission method, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN106227589B (en) 2019-11-26

Similar Documents

Publication Publication Date Title
US10628216B2 (en) I/O request scheduling method and apparatus by adjusting queue depth associated with storage device based on hige or low priority status
US10592292B2 (en) Method and apparatus for optimized execution using resource utilization maps
CN105446755B (en) A kind of method and apparatus quickly loading Activity data in android system
CN109857551B (en) Service resource scheduling method and device based on cloud computing and electronic equipment
CN106484509A (en) A kind of output intent of pop-up, device and terminal
KR102642689B1 (en) Electronic Apparatus and the Method for Controlling Traffic thereof
CN110249672A (en) A kind of data transmission method and electric terminal
CN107807847B (en) Application process management method and terminal equipment
CN110475377A (en) RACH resource selection, configuration method, user equipment and network side equipment
US20110083067A1 (en) Web browsing environment provider system for multiple users and control method thereof
CN103513748A (en) Method for processing information, information processor and electronic device
CN107783833A (en) A kind of management method and device of terminal background application
CN106227589A (en) A kind of application program scheduling method and mobile terminal
CN107943372A (en) A kind of interface display method, device and computer-readable recording medium
CN107220077A (en) Using the management-control method and management and control devices of startup
CN110351040A (en) Sounding reference signal transmission enhancement, configuration method, user equipment and network side equipment
CN106559579A (en) Mobile terminal and CPU/GPU scheduling parameter update methods
EP4123446A1 (en) Thread management method and apparatus
CN115617509A (en) Node deployment method and device of distributed cluster and electronic equipment
CN106528156A (en) Page data processing method and device
CN115686346A (en) Data storage method and device and computer readable storage medium
KR20230034401A (en) Collision handling method and device
CN105975306A (en) Application program starting management method and application program starting management apparatus for electronic device
CN103687075B (en) A kind of information processing method and electronic equipment
CN108427586A (en) Using push terminal, method and the computer readable storage medium of theme

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant