Detailed description of the invention
Should be appreciated that specific embodiment described herein is only in order to explain the present invention, is not intended to limit the present invention.
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing. In follow-up description, use the suffix being used for representing such as " module ", " parts " or " unit " of element only for being conducive to the explanation of the present invention, itself do not have specific meaning. Therefore, " module " and " parts " can mixedly use.
Mobile terminal can be implemented in a variety of manners. Such as, the terminal described in the present invention can include the mobile terminal of such as mobile phone, mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP (portable media player), guider etc. and the fixed terminal of such as numeral TV, desk computer etc. Hereinafter it is assumed that terminal is mobile terminal. However, it will be understood by those skilled in the art that, except being used in particular for the element of mobile purpose, structure according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is the hardware configuration signal of the optional mobile terminal realizing each embodiment of the present invention.
Mobile terminal 100 can include wireless communication unit 110, user input unit 130, output unit 150, memorizer 160 and controller 180 etc. Fig. 1 illustrates the mobile terminal with various assembly, it should be understood that be not required for implementing all assemblies illustrated. Can alternatively implement more or less of assembly. Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assembly, and it allows the radio communication between mobile terminal 100 and radio communication device or network. Such as, wireless communication unit can include at least one in broadcast reception module 111, mobile communication module 112 and wireless Internet module 113.
Broadcast reception module 111 manages server via broadcast channel from external broadcasting and receives broadcast singal and/or broadcast related information. Broadcast channel can include satellite channel and/or terrestrial channel. Broadcast management server can be generate and send the server of broadcast singal and/or broadcast related information or broadcast singal that reception is previously created and/or broadcast related information and send it to the server of terminal. Broadcast singal can include TV broadcast singal, radio signals, data broadcasting signal etc. And, broadcast singal may further include the broadcast singal combined with TV or radio signals. Broadcast related information can also provide via mobile communications network, and in this case, broadcast related information can be received by mobile communication module 112. Broadcast singal can exist in a variety of manners, such as, it can exist with the electronic program guides (EPG) of DMB (DMB), the form of the electronic service guidebooks (ESG) etc. of digital video broadcast-handheld (DVB-H). Broadcast reception module 111 can be passed through to use various types of broadcasters to receive signal broadcast. Especially, broadcast reception module 111 can be passed through to use such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), DVB-hand-held (DVB-H), forward link media (MediaFLO) data broadcaster, received terrestrial digital broadcasting integrated service (ISDB-T) etc. digital broadcast apparatus receive digital broadcasting. Broadcast reception module 111 may be constructed such that the various broadcasters and above-mentioned digital broadcast apparatus that are adapted to provide for broadcast singal. The broadcast singal and/or the broadcast related information that receive via broadcast reception module 111 can be stored in memorizer 160 (or other type of storage medium).
Mobile communication module 112 sends radio signals at least one in base station (such as, access point, node B etc.), exterior terminal and server and/or receives from it radio signal. Such radio signal can include voice call signal, video calling signal or the various types of data sending according to text and/or Multimedia Message and/or receiving.
User input unit 130 can generate key input data to control the various operations of mobile terminal according to the order of user's input. User input unit 130 allows user to input various types of information, and can include keyboard, metal dome, touch pad (such as, detection due to touched and cause resistance, pressure, electric capacity etc. the sensitive component of change), roller, rocking bar etc. Especially, when touch pad is superimposed upon on display unit 151 as a layer, it is possible to form touch screen.
Output unit 150 is configured to provide output signal (such as, audio signal, video signal, alarm signal, vibration signal etc.) with vision, audio frequency and/or tactile manner. Output unit 150 can include display unit 151, dio Output Modules 152 etc.
Display unit 151 may be displayed on the information processed in mobile terminal 100. Such as, when mobile terminal 100 is in telephone calling model, display unit 151 can show the user interface (UI) relevant with call or other communicate (such as, text messaging, multimedia file download etc.) or graphic user interface (GUI). When being in video calling pattern or image capture mode when mobile terminal 100, display unit 151 can show the image of image and/or the reception caught, UI or GUI illustrating video or image and correlation function etc.
Meanwhile, when display unit 151 and touch pad as a layer superposed on one another to form touch screen time, display unit 151 can serve as input equipment and output device. Display unit 151 can include at least one in liquid crystal display (LCD), thin film transistor (TFT) LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. Some in these display may be constructed such that transparence is to allow user to watch from outside, and this is properly termed as transparent display, and typical transparent display can be such as TOLED (transparent organic light emitting diode) display etc. According to the specific embodiment wanted, mobile terminal 100 can include two or more display units (or other display device), such as, mobile terminal can include outernal display unit (not shown) and inner display unit (not shown). Touch screen can be used for detecting touch input pressure and touch input position and touch input area.
Dio Output Modules 152 can mobile terminal be in call signal receive under the isotype such as pattern, call mode, logging mode, speech recognition mode, broadcast reception mode time, that wireless communication unit 110 is received or storage in memorizer 160 voice data transducing audio signal and be output as sound. And, dio Output Modules 152 can provide the audio frequency output (such as, call signal receive sound, message sink sound etc.) relevant to the specific function of mobile terminal 100 execution. Dio Output Modules 152 can include pick up, buzzer etc.
Memorizer 160 can store the process performed by controller 180 and the software program controlling operation etc., or can temporarily store the data (such as, telephone directory, message, still image, video etc.) that oneself maybe will export through output. And, memorizer 160 can store the vibration about the various modes exported when touching and being applied to touch screen and the data of audio signal.
Memorizer 160 can include the storage medium of at least one type, described storage medium includes flash memory, hard disk, multimedia card, card-type memorizer (such as, SD or DX memorizer etc.), random access storage device (RAM), static random-access memory (SRAM), read only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc. And, mobile terminal 100 can be connected the network storage device cooperation of the storage function performing memorizer 160 with by network.
Controller 180 generally controls the overall operation of mobile terminal. Such as, controller 180 performs the control relevant to voice call, data communication, video calling etc. and process. It addition, controller 180 can include the multi-media module 181 for reproducing (or playback) multi-medium data, multi-media module 181 can construct in controller 180, or it is so structured that separates with controller 180. Controller 180 can perform pattern recognition process, so that the handwriting input performed on the touchscreen or picture drafting input are identified as character or image.
Various embodiment described herein can to use such as computer software, hardware or its any combination of computer-readable medium to implement. Hardware is implemented, embodiment described herein can pass through to use application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), processor, controller, microcontroller, microprocessor, at least one that is designed to perform in the electronic unit of function described herein to implement, in some cases, such embodiment can be implemented in controller 180. Implementing for software, the embodiment of such as process or function can be implemented with allowing the independent software module performing at least one function or operation. Software code can be implemented by the software application (or program) write with any suitable programming language, and software code can be stored in memorizer 160 and be performed by controller 180.
So far, oneself is through describing mobile terminal according to its function. Below, for the sake of brevity, by the slide type mobile terminal in the various types of mobile terminals describing such as folded form, board-type, oscillating-type, slide type mobile terminal etc. exemplarily. Therefore, the present invention can be applied to any kind of mobile terminal, and is not limited to slide type mobile terminal.
Mobile terminal 100 as shown in Figure 1 may be constructed such that utilization operates via such as wired and radio communication device and the satellite-based communicator of frame or packet transmission data.
The communicator being wherein operable to according to the mobile terminal of the present invention is described referring now to Fig. 2.
Such communicator can use different air interfaces and/or physical layer. Such as, the air interface used by communicator includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications device (UMTS) (especially, Long Term Evolution (LTE)), global mobile communication device (GSM) etc. As non-limiting example, as explained below relates to cdma communication device, but such instruction is equally applicable to other type of device.
With reference to Fig. 2, cdma wireless communication device can include multiple mobile terminal 100, multiple base station (BS) 270, base station controller (BSC) 275 and mobile switching centre (MSC) 280. MSC280 is configured to form interface with Public Switched Telephony Network (PSTN) 290. MSC280 is also structured to and the BSC275 formation interface that can be couple to base station 270 via back haul link. Back haul link can construct according to any one in some interfaces that oneself knows, described interface includes such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL. It will be appreciated that device as shown in Figure 2 can include multiple BSC2750.
Each BS270 can service one or more subregion (or region), by each subregion of multidirectional antenna or the antenna covering pointing to specific direction radially away from BS270. Or, each subregion can be covered by two or more antennas for diversity reception. Each BS270 may be constructed such that support multiple frequencies distribution, and the distribution of each frequency has specific frequency spectrum (such as, 1.25MHz, 5MHz etc.).
Intersecting that subregion and frequency are distributed can be referred to as CDMA Channel. BS270 can also be referred to as the sub-device of base station transceiver (BTS) or other equivalent terms. In this case, term " base station " may be used for broadly representing single BSC275 and at least one BS270. Base station can also be referred to as " cellular station ". Or, each subregion of specific BS270 can be referred to as multiple cellular station.
As shown in Figure 2, broadcast singal is sent in device the mobile terminal 100 of operation by broadcsting transmitter (BT) 295. Broadcast reception module 111 as shown in Figure 1 is arranged on mobile terminal 100 and sentences the broadcast singal that reception is sent by BT295. In fig. 2 it is shown that several global pick devices (GPS) satellite 300. Satellite 300 helps to position at least one in multiple mobile terminals 100.
In fig. 2, depict multiple satellite 300, but it is understood that, it is possible to use any number of satellite obtains useful location information. GPS module 115 as shown in Figure 1 is generally configured to coordinate the location information wanted with acquisition with satellite 300. Substitute GPS tracking technique or outside GPS tracking technique, it is possible to use other technology of the position of mobile terminal can be followed the tracks of. It addition, at least one gps satellite 300 can optionally or additionally process satellite dmb transmission.
As a typical operation of radio communication device, BS270 receives the reverse link signal from various mobile terminals 100. Mobile terminal 100 generally participates in call, information receiving and transmitting communicates with other type of. Each reverse link signal that certain base station 270 receives is processed in specific BS270. The data obtained are forwarded to relevant BSC275. BSC provides call resource distribution and the mobile management function of the coordination of soft switching process included between BS270. The data received also are routed to MSC280 by BSC275, and it provides the extra route service for forming interface with PSTN290. Similarly, PSTN290 and MSC280 forms interface, and MSC and BSC275 forms interface, and BSC275 correspondingly controls BS270 so that forward link signals to be sent to mobile terminal 100.
Structure based on above-mentioned mobile terminal hardware configuration, communicator, it is proposed to each embodiment of the inventive method.
As shown in Figure 3, it is proposed to the first embodiment of the resource acquiring method of the present invention, described method is applied to above-mentioned mobile terminal, if user carries out resource acquisition by this mobile terminal, then the method comprises the following steps:
Step S310, receives the reservation instruction of user's input.
In the code skeleton of ROM, increase input trajectory judge, when the input trajectory judging user's input meets pre-conditioned, then run the corresponding function that performs and obtain the resource information within the scope of appointment. Wherein, pre-conditioned can be preset time threshold values T, when the input trajectory judging user's input reaches time threshold values T, then obtains the resource information within the scope of appointment.
Being provided with application program in mobile terminal, this application program can provide the user all kinds of multimedia resource, for instance, video, picture or audio frequency etc. Can be implemented by receiving user and input the purpose of reservation instruction:
Step 1: opening application program
Mobile terminal provides the user the multimedia resources such as audio frequency, video, picture by this application program, and user can realize resource pooling by the touch area corresponding to multimedia resource of touch mobile terminal.
Step 2: whether the touch area corresponding to multimedia resource receives the user's input trajectory meeting time threshold values T.
Mobile terminal can be inputted reservation instruction by step 1��step 2 user. Mobile terminal, by increasing the conditional judgment of input trajectory in code skeleton, responds the input trajectory of user in system level, it is not necessary to rely on the application program belonging to multimedia resource.
In the application program belonging to multimedia resource
Step S320, obtains resource information according to reservation instruction, and stores resource information to local folders
Reservation instruction includes appointed multimedia resource object. Mobile terminal is by the content in the display interface display application program of touch screen.
In the present embodiment, as shown in Figure 7, touch screen is applied the length meeting time threshold values T by operation by user any position in display interface, mobile terminal identifies the length of the time that the meets threshold values T of user by after operation, execution function in operation code framework, as shown in Figure 8, obtain the network data within the scope of display interface, and extract audio frequency, video, the multimedia resource addresses such as picture, if the resource of broadcasting can directly be opened, these resources can be enumerated out by the system of mobile terminal by the form of pop-up, such as, by the sectional drawing of these resources, the arrangement such as name is shown, mobile terminal detects touch screen corresponding to sectional drawing, when there is touch action in the touch area of the information such as name, judge that user is to corresponding delivering reservation instruction.
In other practical ranges, mobile terminal is provided with pressure transducer, pressure transducer can be arranged at the side frame of mobile terminal, the back side or together with Touch Screen, touch screen is applied the length meeting time threshold values T by operation by user any position in display interface, mobile terminal represents the resource information within the scope of current display interface in the form of a list, now, if user wants the network data outside acquisition display interface scope, the then pressure to pressure transducer different pressures value, the mobile terminal corresponding relation according to the force value preset with the scope of acquisition, the network data of the respective range outside acquisition display interface, and the basis of the resource originally pointed out in pop-up continues to increase content. for example, after mobile terminal has illustrated the resource information within the scope of display interface for user, pressure transducer is applied the force value of 1 N by user, and mobile terminal then obtains the network data in the scope of next page after this force value of 1 N being detected. as shown in Figure 9, mobile terminal can also arrange special area in the two edges of touch screen, the network data within the scope of current display interface has been obtained when mobile terminal, and when representing resource by the form of pop-up, whether the detecting of this special area receives slide, when detecting slide, then obtain the application program network data along the Page Range that will appear from glide direction, and extract the multimedia resource addresses such as audio frequency, video, picture, these resources can be enumerated out by the system of mobile terminal by the form of pop-up.
In other embodiments, user passes through to input appointment scope in display interface, and within the scope of this appointment, touch screen is applied the length meeting time threshold values T by operation. user can carry out appointment scope by drawing an interval mode closed in touch area, for instance, draws the circle of one closing, then this circle delimited scope and the scope that user specifies. mobile terminal identifies the length of the time that the meets threshold values T of user by after operation, execution function in operation code framework, obtain the network data in indicating range, and extract audio frequency, video, the multimedia resource addresses such as picture, if the resource of broadcasting can directly be opened, these resources can be enumerated out by the system of mobile terminal by the form of pop-up, such as, by the sectional drawing of these resources, the arrangement such as name is shown, mobile terminal detects touch screen corresponding to sectional drawing, when there is touch action in the touch area of the information such as name, judge that user is to corresponding delivering reservation instruction.
Arranging resource reservation file in the storage device of mobile terminal, arrange the sub-folders such as video, audio frequency, picture, text, application software according to the kind of reserve resource, wherein, reserve resource refers to the resource that reservation instruction is selected. after mobile terminal receives reservation instruction, mobile terminal analysis judges the kind of this media resource. for example, the multimedia resource address of acquisition for mobile terminal touch area, judge the kind of resource according to the parameter in address, http: // * * * .gif, http: // * * * .bmp etc. is image class, http: // * * * .wma (mp3, aac) is audio class, and http: // * * * .avi (mp4, flv, mkv) etc. is video class. after mobile terminal determines reserve resource kind, extract the address of this reserve resource, sectional drawing and essential information, and in the individual files folder that these information are stored respectively to sub-folder, form can be divided into address file, sectional drawing file, essential information file, these files comprise download address, sectional drawing, the essential informations such as affiliated software, wherein, the http/ftp etc. that address file is this resource can connect network address, sectional drawing file is the buffer memory picture of the reserve resource of acquisition for mobile terminal, essential information file comprises the title of resource, size, subscription time, affiliated application etc.
Step S330, if current network meets pre-conditioned, according to the resource that resource information buffer memory is corresponding.
It is pre-conditioned that mobile terminal judges whether current networking meets, when network meets pre-conditioned, then according to the resource that resource information buffer memory is corresponding. In present embodiment, pre-conditioned is wireless network for current network.
User is when inputting reservation instruction, it is possible to arrange the number of resources of buffer memory simultaneously, classification buffer memory, largest buffered capacity, the reservation function such as cache-time, buffer memory prompting. The number of resources of buffer memory refers to that mobile terminal can carry out the resource quantity of buffer memory within a time period simultaneously when mobile terminal accesses wireless network simultaneously. Classification buffer memory refers to, the kind of resource includes video, audio frequency, picture, text, and application software etc., by arranging classification buffer memory, when mobile terminal accesses wireless network, it is possible to preferentially same category of multimedia resource is carried out buffer memory, for example, when video class resource is preferentially downloaded by user setup, then when mobile terminal is linked into wireless network, the resource in video class sub-folder in preferentially resource voice document being pressed from both sides carries out buffer memory. Largest buffered capacity refers to, the maximum memory space that cache resources can take. Reservation cache-time refers to, after mobile terminal accesses wireless network, when arriving predetermined point of time, the resource of reservation is carried out caching process by mobile terminal. Buffer memory prompting function refers to when mobile terminal accesses before wireless network starts reserve resource is carried out buffer memory, notifies user with the form of pop-up, and etc. the determination instruction of user to be received, when starting after the determination instruction receiving user that reserve resource is carried out buffer memory.
Can be mutually combined between above-mentioned functions, to meet the individual demand of user.
In the present embodiment, after mobile terminal is linked into wireless network, the signal intensity of detection active wireless network, when signal is stronger, resource is carried out caching process according to the time order and function order of resource reservation by mobile terminal, when signal is more weak, then to subscription time formerly, and the less resource that takes up room preferentially download.
By the resource acquiring method that first embodiment provides, user can select oneself multimedia resource interested, when mobile terminal accesses to wireless network, automatically selected resource is carried out caching process, and, the resource acquiring method that this embodiment provides, it is possible to use family just can carry out buffer memory by the multimedia resource in application programs without relying on application program belonging to resource.
As shown in Figure 4, it is proposed to the second embodiment of the resource acquiring method of the present invention, user is when using mobile terminal to carry out resource acquisition, then the method includes:
S410, receives the reservation instruction of user's input.
In the code skeleton of ROM, increase input trajectory judge, when the input trajectory judging user's input meets pre-conditioned, then run the corresponding function that performs and obtain the resource information within the scope of appointment. Wherein, pre-conditioned can be preset time threshold values T, when the input trajectory judging user's input reaches time threshold values T, then obtains the resource information within the scope of appointment.
Step S420, obtains resource information according to reservation instruction.
Specifically, mobile terminal receives the length of the time that the meets threshold values T of user by after operation, obtain all multimedia address that current interface is shown, multimedia resource carrying out type classification by resolving address information and is shown to user with the form of pop-up, user selectes the resource of reservation by clicking the content in pop-up.
Step S430, it is judged that whether resource is effective, if resource is effective, then enters step S440.
After mobile terminal gets resource information according to the reservation instruction of user, mobile terminal carrys out the network address in ping resource information by ping order, if receiving the response of website corresponding to network address, then the network address illustrated in resource information is available. It is of course also possible to judge that whether resource information is effective in other way.
Step S440, stores resource information to local folders.
Arranging resource reservation file in the storage device of mobile terminal, arrange the sub-folders such as video, audio frequency, picture, text, application software according to the kind of reserve resource, wherein, reserve resource refers to the resource that reservation instruction is selected. after mobile terminal receives reservation instruction, mobile terminal analysis judges the kind of this media resource. for example, the multimedia resource address of acquisition for mobile terminal touch area, judge the kind of resource according to the parameter in address, http: // * * * .gif, http: // * * * .bmp etc. is image class, http: // * * * .wma (mp3, aac) is audio class, and http: // * * * .avi (mp4, flv, mkv) etc. is video class. after mobile terminal determines reserve resource kind, extract the address of this reserve resource, sectional drawing and essential information, and in the individual files folder that these information are stored respectively to sub-folder, form can be divided into address file, sectional drawing file, essential information file, these files comprise download address, sectional drawing, the essential informations such as affiliated software, wherein, the http/ftp etc. that address file is this resource can connect network address, sectional drawing file is the buffer memory picture of the reserve resource of acquisition for mobile terminal, essential information file comprises the title of resource, size, subscription time, affiliated application etc.
Step S450, if current network meets pre-conditioned, according to the resource that resource information buffer memory is corresponding.
In the present embodiment, user when choosing reserve resource, system can point out user to while the number of resources of buffer memory, resource downloading priority, reservation cache-time etc. be configured, pre-conditioned access wireless network for mobile terminal. When mobile terminal detecting is currently accessed to wireless network, reserve resource is carried out buffer memory by the reservation instruction automatically according to user, according to the kind of resource by caching resource to different sub-folders.
In other embodiments, the Touch Screen of mobile terminal has pressure transducer, i.e. pressure screen, when user chooses reserve resource in click, pressure screen obtains the force value clicking position, and this force value is associated with corresponding resource, after mobile terminal accesses wireless network, size according to force value arranges the priority of buffer memory, that is, the resource associating bigger force value is carried out priority cache, the resource associating less force value is postponed buffer memory.
In other embodiments, the number of times of the multimedia resource kind that mobile terminal counting user browses, and the number of times of statistics and multimedia resource are associated, when mobile terminal accesses wireless network, according to number of times number arrange the priority of caching resource.
Check buffered resource for the convenience of the user, when mobile terminal detects that the same day, the whole buffer memory of reserve resource terminated, import the reading template pre-set, this reading template association sub-folder according to resource category distribution, displays the resource read in each unique file in sub-folder. According to different reading templates, order and position that the multimedia resource of buffer memory shows are also different. In the present embodiment, mobile terminal is provided with the reading application program of reading reserve resource, and this reading application program is independent of the affiliated application of resource, and user reads application program by clicking to open, it is possible to check the multimedia resource of reservation.
The resource acquiring method that second embodiment of the invention provides, reserve resource information is being stored to before local folders, by the effectiveness of resource is judged, when judging that resource is as time effective, just this resource information is stored to local folders, so can avoid storing to local folders invalid resource, cause memory space waste and work load during buffer memory.
It should be understood that the details that implements of above-mentioned first embodiment is equally applicable to this embodiment, do not repeat them here.
As shown in Figure 5, it is proposed to the second embodiment of the resource acquiring method of the present invention, user is when using mobile terminal to carry out resource acquisition, then the method includes:
Step S510, receives the reservation instruction of user's input.
Specifically, in system level increase, mobile terminal judges whether user carries out growing by operation, when judging that user carries out growing after by operation, and the function of the network data being loaded into the page within the scope of acquisition display interface. In the present embodiment, in the code skeleton of the read only memory (ROM) of mobile terminal, write judges to touch the logic step whether reaching time threshold values T, and when judging that touch reaches time threshold values T, run the corresponding function that performs and obtain the information specified, for instance: message address. When mobile terminal judges that user applies one within the scope of touch and reaches the length of time threshold values T by when operating, then by operation, this length being regarded as reservation instruction and give response.
Step S520, obtains resource information according to reservation instruction.
Reservation instruction refers to notify the order that mobile phone users wants which resource concrete is carried out buffer memory.
User opens the application program installed on mobile terminal operating system, such as: wechat App, Netease news App etc., the optional position of the page that user loads in current display interface carry out growing by, when mobile terminal judges that length temporally reaches Preset Time threshold values T, then this length of user is defined as reservation instruction by operation by mobile terminal. Now, mobile terminal can obtain all of network data of the page that display interface currently loads, and resolve these network datas and extract the address of the resources such as audio frequency, video, picture, if directly can open the resource of broadcasting, then system is shown in pop-up for user's selection according to resource category; If this resource belongs to jump class, then system can record the address redirected, and the kind according to resource is shown in pop-up for user's selection, wherein, pop-up represents different resources by sectional drawing and name, if jump class resource, then also can mark [redirecting] icon and show.
In other embodiments, user opens the application program installed on mobile terminal operating system, and user by applying the length reaching Preset Time threshold values T by operation, triggers reservation instruction at the resource link place of the page loaded. Now, mobile terminal can obtain the addresses such as the audio frequency of this resource, video, picture, and the content that this resource includes is shown in pop-up for user's selection.
It is, of course, also possible to trigger reservation instruction by the mode recorded in first, second embodiment.
User by clicking the information such as the title of resource, sectional drawing in pop-up, to inform that mobile phone users wants the resource content of reservation.
Step S530, it is judged that whether resource information is effective, if resource information is effective, then enters step S540.
After mobile terminal receives the reservation instruction of user and user have selected the resource wanting reservation in pop-up, the address of the resource that acquisition for mobile terminal is chosen and title, and carry out preliminary address inquiry to guarantee that this address can be used. In present embodiment, think that target ip address sends a packet by Ping, it is desirable to the other side returns an an equal amount of packet, if receiving the packet that the other side returns, determining that Target IP is effective IP, and then may determine that resource information is effective information.
Step S540, stores resource information to local folders.
Specifically, the reservation file for memory buffers reserve resource it is provided with in the storage device of mobile terminal. Reservation file is divided into video sub-folder, audio frequency sub-folder, picture sub-folder, text sub-folder and application software sub-folder etc. according to the kind of multimedia resource. The kind of the content that each sub-folder comprises according to each resource is divided into file alone, includes but not limited to address file folder, sectional drawing file and essential information file. The mobile terminal reservation instruction according to user, obtain the information of resource, make an explanation the address information, sectional drawing and the essential information that obtain in resource information by resource information, the kind of resource is determined according to address information, for example, the multimedia resource address of acquisition for mobile terminal touch area, the kind of resource is judged according to the parameter in address, http: // * * * .gif, http: // * * * .bmp etc. is picture category; Http: // * * * .wma (mp3, aac) is audio class, and http: // * * * .avi (mp4, flv, mkv) etc. is video class. After determining the kind of resource, address information, shot image information and the essential information that resource is included store to correspondence sub-folder in, and set up independent file and include the address of this resource, sectional drawing and essential information. Wherein, the http/ftp etc. that address file is this resource can connect network address, and sectional drawing file is the buffer memory picture of the reserve resource of acquisition for mobile terminal, and essential information file comprises the title of resource, size, subscription time, affiliated application etc.
Step S550, if current network meets pre-conditioned, according to the resource that resource information buffer memory is corresponding.
When mobile terminal accesses after wireless network, resource can be carried out caching process according to the information in the essential information file in the sub-folder in various types of by mobile terminal. User is when selecting the resource needing reservation, it is possible to the download policy such as the priority of buffer memory, time are configured. In the present embodiment, the resource custom that user is checked by mobile terminal in different application is added up, after mobile terminal accesses to wireless network, hobby according to user arranges the sequencing of cache resources, if there are significantly different fancy grades for different types of resource, then, the resource type that priority cache user likes, if there is the resource type of unconspicuous different fancy grade, then, the resource of corresponding kind is carried out buffer memory simultaneously.
Step S560, controls the retention time of resource according to the control instruction of user.
When mobile terminal detects that the same day, the whole buffer memory of reserve resource terminated, import the reading template pre-set, this reading template association sub-folder according to resource category distribution, the resource read in each unique file in sub-folder is displayed. According to different reading templates, order and position that the multimedia resource of buffer memory shows are also different. In the present embodiment, mobile terminal is provided with the reading application program of reading reserve resource, and this reading application program is independent of the affiliated application of resource, and user reads application program by clicking to open, it is possible to check the multimedia resource of reservation. According to user's request, can be undertaken retaining and reclaiming by cache resources. When user needs to retain resource, can grow by cache resources and select [reservation], this resource will not be eliminated, and this resource and owning application are associated, when application program belonging to user opens this resource, user is without carrying out buffer memory again to this resource, it is possible to check this resource either directly through affiliated application program. When user needs Resource recovery, can grow by cache resources and select [recovery], then this resource can be deleted by mobile terminal from affiliated file.
The resource acquiring method that third embodiment of the invention provides, can carry out retaining timely or deleting according to the needs of user by the resource of buffer memory carries out retaining or reclaim the resource made, and the owning application of resource is associated, make user when opening the application program belonging to resource, buffered successful resource can be checked.
It should be understood that the details that implements of above-mentioned first, second embodiment is equally applicable to this embodiment, do not repeat them here.
As shown in Figure 6, the structured flowchart of an embodiment of resource acquisition device provided by the invention, this device includes receiver module, acquisition module, cache module, judge module and control module.
Receiver module, for receiving the reservation instruction of user's input.
In the code skeleton of ROM, increase input trajectory judge, when the input trajectory judging user's input meets pre-conditioned, then run the corresponding function that performs and obtain the resource information within the scope of appointment. Wherein, pre-conditioned can be preset time threshold values T, when the input trajectory judging user's input reaches time threshold values T, then obtains the resource information within the scope of appointment.
Acquisition module, for obtaining resource information according to described reservation instruction, and stores described resource information to local folders.
In the present embodiment, touch screen is applied the length meeting time threshold values T by operation by user any position in display interface, receiver module identifies the length of the time that the meets threshold values T of user by after operation, execution function in acquisition module operation code framework, obtain the network data within the scope of display interface, and extract audio frequency, video, the multimedia resource addresses such as picture, if the resource of broadcasting can directly be opened, these resources can be enumerated out by the system of mobile terminal by the form of pop-up, such as, by the sectional drawing of these resources, the arrangement such as name is shown, receiver module detects touch screen corresponding to sectional drawing, when there is touch action in the touch area of the information such as name, acquisition module judges that user is to corresponding delivering reservation instruction.
Cache module, if meet pre-conditioned for current network, according to the resource that resource information buffer memory is corresponding.
It is pre-conditioned that cache module judges whether current networking meets, when network meets pre-conditioned, then according to the resource that resource information buffer memory is corresponding. In present embodiment, pre-conditioned is wireless network for current network.
Judge module, for after acquisition module obtains resource information, it is judged that whether resource information is effective.
After acquisition module gets resource information according to the reservation instruction of user, it is judged that module carrys out the network address in ping resource information by ping order, if receiving the response of website corresponding to network address, then the network address illustrated in resource information is available. It is of course also possible to judge that whether resource information is effective in other way.
Acquisition module, is additionally operable to, when judge module resource information is effective, store resource information to local folders.
Control module, control the retention time of resource for the control instruction according to user.
When mobile terminal detects that the same day, the whole buffer memory of reserve resource terminated, import the reading template pre-set, this reading template association sub-folder according to resource category distribution, the resource read in each unique file in sub-folder is displayed. According to different reading templates, order and position that the multimedia resource of buffer memory shows are also different. In the present embodiment, mobile terminal is provided with the reading application program of reading reserve resource, and this reading application program is independent of the affiliated application of resource, and user reads application program by clicking to open, it is possible to check the multimedia resource of reservation. According to user's request, can be undertaken retaining and reclaiming by cache resources. When user needs to retain resource, can grow by cache resources and select [reservation], this resource will not be eliminated, and this resource and owning application are associated, when application program belonging to user opens this resource, user is without carrying out buffer memory again to this resource, it is possible to check this resource either directly through affiliated application program. When user needs Resource recovery, can grow by cache resources and select [recovery], then this resource can be deleted by mobile terminal from affiliated file.
The resource acquisition device that above-described embodiment provides and resource acquiring method embodiment belong to same design, and it implements process and refers to embodiment of the method, and the technical characteristic in embodiment of the method is all corresponding applicable in device embodiment, repeats no more here.
Thus, the resource acquisition device of the present invention, user can select oneself multimedia resource interested, when mobile terminal accesses to wireless network, automatically selected resource is carried out caching process, and, the resource acquiring method that this embodiment provides, user can be made without relying on application program belonging to resource just can carry out buffer memory by the multimedia resource in application programs, by the effectiveness of resource is judged, when judging that resource is as time effective, just this resource information is stored to local folders, so can avoid storing to local folders invalid resource, cause memory space waste, and work load during buffer memory, and can carry out retaining timely or deleting according to the needs of user by the resource of buffer memory carries out retaining or reclaim the resource made, and the owning application of resource is associated, make the user can when opening the application program belonging to resource, check buffered successful resource.
It should be noted that, in this article, term " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that include the process of a series of key element, method, article or device not only include those key elements, but also include other key elements being not expressly set out, or also include the key element intrinsic for this process, method, article or device. When there is no more restriction, statement " including ... " key element limited, it is not excluded that there is also other identical element in including the process of this key element, method, article or device.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art is it can be understood that can add the mode of required general hardware platform by software to above-described embodiment method and realize, hardware can certainly be passed through, but in a lot of situation, the former is embodiment more preferably. Based on such understanding, the part that prior art is contributed by technical scheme substantially in other words can embody with the form of software product, this computer software product is stored in a storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions with so that a mobile terminal device (can be mobile phone, computer, server, air-conditioner, or the network equipment etc.) perform the method described in each embodiment of the present invention.
For illustrative purposes, description above employs specific term, to provide thorough understanding of the present invention. It will be apparent, however, to one skilled in the art, that be not required to concrete details to put into practice the present invention. The described above of specific embodiments of the invention is to present for purposes of illustration and description. They are not intended to detailed or limit the invention to disclosed precise forms. In view of religious doctrine above, many modifications and variations are possible. These embodiments are illustrate and described, so that others skilled in the art can utilize the present invention best and have the various embodiments of the various amendments being suitable to intended specific use in order to explain principles of the invention and practical application thereof best. It is intended to the scope of the present invention limited by following claims and its equivalent.
Above in conjunction with accompanying drawing, embodiments of the invention are described; but the invention is not limited in above-mentioned detailed description of the invention; above-mentioned detailed description of the invention is merely schematic; rather than it is restrictive; those of ordinary skill in the art is under the enlightenment of the present invention; without departing under present inventive concept and scope of the claimed protection situation, it may also be made that a lot of form, these belong within the protection of the present invention.