CN105681390A - Resources obtaining system, master mobile terminal, slave mobile terminal and resources obtaining method - Google Patents

Resources obtaining system, master mobile terminal, slave mobile terminal and resources obtaining method Download PDF

Info

Publication number
CN105681390A
CN105681390A CN201511000806.1A CN201511000806A CN105681390A CN 105681390 A CN105681390 A CN 105681390A CN 201511000806 A CN201511000806 A CN 201511000806A CN 105681390 A CN105681390 A CN 105681390A
Authority
CN
China
Prior art keywords
mobile terminal
resource
master
master mobile
web server
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.)
Pending
Application number
CN201511000806.1A
Other languages
Chinese (zh)
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201511000806.1A priority Critical patent/CN105681390A/en
Publication of CN105681390A publication Critical patent/CN105681390A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • H04L67/1078Resource delivery mechanisms
    • H04L67/108Resource delivery mechanisms characterised by resources being split in blocks or fragments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a resources obtaining system. The system comprises a plurality of master mobile terminal and a plurality of slave mobile terminals; the master mobile terminals are used for sending resource obtaining requests to the plurality of slave mobile terminals, wherein the resources at least comprise the resources uploaded to and downloaded from a Web server by the slave mobile terminals; the slave mobile terminals are used for searching own resources according to the resource obtaining requests and feeding back searching results to the master mobile terminals; and the master mobile terminals are also used for obtaining corresponding resources from corresponding slave mobile terminals and/or the Web server according to the searching results. The invention also discloses a master mobile terminal, a slave mobile terminal and a resource obtaining method. According to the system, the terminals and the method provided by the invention, the data are shared among multiple mobile terminals; and the resource obtaining efficiency is improved.

Description

Resource acquisition system, master mobile terminal, from mobile terminal and resource acquiring method
Technical field
The present invention relates to communication technical field, particularly relate to resource acquisition system, master mobile terminal, from mobile terminal and resource acquiring method.
Background technology
In prior art, mobile terminal obtains resource from Web network and is typically based on HTTP (HypertextTransferProtocol, HTML (Hypertext Markup Language)), FTP (FileTransferProtocol, file transfer protocol (FTP)), RCP (RemoteCopyProtocol, remote copy protocol) and P2P (Peer-to-Peer, point-to-point) file transfer technology, the concrete mode of resource acquisition is usually by user's sets itself, such as user uses http protocol or File Transfer Protocol to obtain resource requirement on the webpage of browser by mobile terminal.
But, in actual application, mobile terminal adopts the resource transmission speed that the transmission speed that any one resource acquisition mode above-mentioned obtains resource from Web server will be significantly less than between mobile terminal, and such as each mobile terminal adopts WiFi or bluetooth approach transfer resource. such as, a large number of users is downloaded to the application scenarios of same resource on same Web server by mobile terminal, any one resource acquisition mode above-mentioned all can make to exist on transmission link to repeat data in a large number simultaneously, this had both been not easy to Web server and had sent data to mobile terminal, also it is not easy to mobile terminal simultaneously and receives data, and then greatly have impact on the resource acquisition efficiency of transmission of entirety, the bandwidth that additionally can make mutual machine equipment (such as base station) increases exponentially, and then cause that the speed of acquisition for mobile terminal resource is slowly, and then affect user's experience by acquisition for mobile terminal web resource.
Summary of the invention
Present invention is primarily targeted at a kind of resource acquisition system of offer, master mobile terminal, from mobile terminal and resource acquiring method, it is intended to solve in prior art, transmission speed technical problem slowly during acquisition for mobile terminal web resource.
For achieving the above object, the present invention provides a kind of resource acquisition system, and described resource acquisition system includes some master mobile terminals, some from mobile terminal;
Described master mobile terminal, for some described from mobile terminal transmission resource acquisition request, wherein, described resource at least includes the described resource downloaded from mobile terminal from Web server;
Described from mobile terminal, for searching own resource according to described resource acquisition request, and to described master mobile terminal feedback search result;
Described master mobile terminal, is additionally operable to according to described lookup result, from corresponding described from acquisition respective resources mobile terminal and/or Web server.
Optionally, described master mobile terminal specifically for:
When described lookup result is at least there is the full resource having described master mobile terminal requested from mobile terminal storage described in, described in a storage has the requested full resource of described master mobile terminal, from mobile terminal, obtain this full resource; Or
When described lookup result is at least there is the full resource having described master mobile terminal requested from mobile terminal storage described in a group, the multiple described of full resource having described master mobile terminal requested from one group of storage obtains appropriate section resource from mobile terminal respectively and is undertaken splicing to obtain requested full resource by the multiple part resource obtained; Or
When described lookup result be all described from mobile terminal, only store the part resource having described master mobile terminal requested time, described from mobile terminal, obtain this part resource and from Web server obtaining remainder resource and carrying out splicing to obtain requested full resource from the remainder resource of the part resource of mobile terminal Yu Web server described in obtaining from corresponding; Or
When described lookup result be all described from mobile terminal, be absent from described master mobile terminal requested resource time, from Web server, obtain requested full resource.
Optionally, described master mobile terminal described is connected with base station from mobile terminal respectively with some; Described master mobile terminal and described carry out data interaction from mobile terminal by described base station and Web server; Described master mobile terminal and some described data interactions being carried out resource acquisition between mobile terminal by described base station, wherein, diverse geographic location region is correspondingly arranged on different described base station and described base station real-time update and records the described master mobile terminal of access and/or described from mobile terminal.
Optionally, described resource acquisition system also includes described base station;
Described master mobile terminal, is additionally operable to send resource acquisition to described base station and asks and be forwarded to by described base station some described from mobile terminal, and wherein, described resource at least includes the described resource downloaded from mobile terminal from Web server;
Described from mobile terminal, it is additionally operable to search own resource according to described resource acquisition request, to described base station feedback lookup result;
Described base station, for according to described lookup result, send to described master mobile terminal and when the resource obtained is not the requested full resource of described master mobile terminal from mobile terminal and/or Web server obtain respective resources from corresponding described, retransmit after the resource of acquisition is spliced into full resource to described master mobile terminal.
Optionally, when there is multiple described master mobile terminal and ask same described same resource from mobile terminal simultaneously, described prevent resource deadlock from mobile terminal by semaphore or mutex mechanism; Or
Described it is additionally operable to by replicating the requested same resource of multiple described master mobile terminal and the same resource replicated is sent to the mode of requested multiple described master mobile terminal preventing resource deadlock from mobile terminal.
Further, the present invention also provides for a kind of master mobile terminal, and described master mobile terminal is connected from mobile terminal with some, and wherein, described master mobile terminal includes:
Resource request sending module, for some described from mobile terminal transmission resource acquisition request, wherein, described resource at least includes the described resource downloaded from mobile terminal from Web server;
Lookup result receiver module, is used for the lookup result fed back after searching own resource from mobile terminal according to described resource acquisition request described in receiving;
Source obtaining module, for according to described lookup result, from corresponding described from acquisition respective resources mobile terminal and/or Web server.
Further, the present invention also provides for a kind of from mobile terminal, described is connected from mobile terminal with master mobile terminal, wherein, described includes from mobile terminal:
Resource request receiver module, for receiving the resource acquisition request that described master mobile terminal sends, wherein, described resource at least includes the described resource downloaded from mobile terminal from Web server;
Resource lookup module, for asking according to described resource acquisition, searches own resource, obtains lookup result;
Lookup result sending module, for sending described lookup result to described master mobile terminal, obtains respective resources according to described lookup result for described master mobile terminal described in corresponding from mobile terminal and/or Web server.
Further, for achieving the above object, the present invention also provides for a kind of resource acquiring method, and described resource acquiring method includes:
Master mobile terminal sends resource acquisition request to some from mobile terminal, and wherein, described resource at least includes the resource downloaded from mobile terminal from Web server;
Own resource is searched according to described resource acquisition request from mobile terminal, and to master mobile terminal feedback search result;
Master mobile terminal, according to described lookup result, obtains respective resources from corresponding from mobile terminal and/or Web server.
Optionally, described master mobile terminal, according to described lookup result, includes from corresponding from acquisition respective resources mobile terminal and/or Web server:
When described lookup result is at least there is a full resource having master mobile terminal requested from mobile terminal storage, master mobile terminal obtains this full resource from what a storage had a requested full resource of master mobile terminal from mobile terminal; Or
When described lookup result is at least there is full resource that one group has master mobile terminal requested from mobile terminal storage, the multiple of full resource that master mobile terminal has master mobile terminal requested from one group of storage obtain appropriate section resource from mobile terminal respectively and are undertaken splicing to obtain requested full resource by the multiple part resource obtained; Or
When described lookup result be all from mobile terminal, only store the part resource having master mobile terminal requested time, master mobile terminal is from obtaining accordingly this part resource from mobile terminal and from obtaining remainder resource Web server and being undertaken splicing to obtain requested full resource by the remainder resource from the part resource of mobile terminal Yu Web server obtained; Or
When described lookup result be all from mobile terminal, be absent from master mobile terminal requested resource time, master mobile terminal obtains requested full resource from Web server.
Optionally, master mobile terminal is connected with base station from mobile terminal respectively with some; Master mobile terminal and carry out data interaction by base station and Web server from mobile terminal;Master mobile terminal and some data interactions being carried out resource acquisition between mobile terminal by base station, wherein, diverse geographic location region is correspondingly arranged on different base station and base station real-time update and records the master mobile terminal of access and/or from mobile terminal.
Optionally, described master mobile terminal and some carry out the data interaction of resource acquisition by base station between mobile terminal and include:
Master mobile terminal is sent resource acquisition and asks and be forwarded to by base station some from mobile terminal to base station, and wherein, described resource at least includes the resource downloaded from mobile terminal from Web server;
Own resource is searched according to described resource acquisition request from mobile terminal, and to base station feedback lookup result;
Base station is according to described lookup result, send to master mobile terminal and when the resource obtained is not the requested full resource of master mobile terminal from mobile terminal and/or Web server obtain respective resources from corresponding, retransmit to master mobile terminal after the resource of acquisition is spliced into full resource.
Optionally, when there is multiple master mobile terminal and ask the same same resource from mobile terminal simultaneously, prevent resource deadlock or from mobile terminal by replicating the requested same resource of multiple master mobile terminals and the same resource replicated is sent to the mode of requested multiple master mobile terminals preventing resource deadlock from mobile terminal by semaphore or mutex mechanism.
Further, the present invention also provides for a kind of resource acquiring method, and described resource acquiring method includes:
Master mobile terminal sends resource acquisition request to some from mobile terminal, and wherein, described resource at least includes the described resource downloaded from mobile terminal from Web server;
The lookup result fed back after searching own resource from mobile terminal according to described resource acquisition request described in the reception of described master mobile terminal;
Described master mobile terminal is according to described lookup result, from corresponding described from acquisition respective resources mobile terminal and/or Web server.
Further, the present invention also provides for a kind of resource acquiring method, and described resource acquiring method includes:
Receiving, from mobile terminal, the resource acquisition request that master mobile terminal sends, wherein, described resource at least includes the described resource downloaded from mobile terminal from Web server;
Described ask according to described resource acquisition from mobile terminal, search own resource, obtain lookup result;
Described from mobile terminal, described lookup result is sent to described master mobile terminal, from mobile terminal and/or Web server, obtain respective resources from corresponding described according to described lookup result for described master mobile terminal.
The present invention is applicable to the resource-sharing between mobile terminal. In the present invention, master mobile terminal and can mutually changing between mobile terminal. Master mobile terminal can to connected multiple from mobile terminal send resource acquisition request, then respectively search own resource from mobile terminal according to the resource acquisition request received, and to master mobile terminal feedback search result to inform master mobile terminal, master mobile terminal is then according to feedback result, from mobile terminal and/or Web server, requested resource is obtained, thus completing the acquisition of resource requirement from corresponding. In the present invention, owing to mobile terminal can realize acquisition resource from other mobile terminals, therefore being obviously improved of resource transmission speed can be realized, simultaneously without limiting specific transmission environment requirement, such as movable signal, Web server performance, mobile terminal use scene (geographical position, time) etc., thus the mode of acquisition for mobile terminal resource is also more flexible, thus promoting user to use the experience of acquisition for mobile terminal resource.
Accompanying drawing explanation
Fig. 1 is the hardware architecture diagram realizing each one optional mobile terminal of embodiment of the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is master mobile terminal and some connection diagrams from mobile terminal in resource acquisition system one application scenarios embodiment of the present invention;
Fig. 4 is master mobile terminal and some connection diagrams from mobile terminal in resource acquisition system Another Application scene embodiment of the present invention;
Fig. 5 is master mobile terminal and some connection diagrams from mobile terminal in resource acquisition system of the present invention another application scenarios embodiment;
Fig. 6 is the high-level schematic functional block diagram of resource acquisition system first embodiment of the present invention;
Fig. 7 is the high-level schematic functional block diagram of resource acquisition system the second embodiment of the present invention;
Fig. 8 is the high-level schematic functional block diagram of master mobile terminal one embodiment of the present invention;
Fig. 9 is the present invention high-level schematic functional block diagram from mobile terminal one embodiment;
Figure 10 is the schematic flow sheet of resource acquiring method first embodiment of the present invention;
Figure 11 is the schematic flow sheet of resource acquiring method the second embodiment of the present invention;
Figure 12 is the schematic flow sheet of resource acquiring method the 3rd embodiment of the present invention;
Figure 13 is the schematic flow sheet of resource acquiring method the 4th embodiment of the present invention;
Figure 14 is the schematic flow sheet of resource acquiring method the 5th embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
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, 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 architecture diagram realizing each one optional mobile terminal of embodiment of the present invention.
Mobile terminal 100 can include wireless communication unit 110, user input unit 120, output unit 130, memorizer 140, controller 150 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 wireless communication system or network. Such as, wireless communication unit can include at least one in mobile communication module 111, wireless Internet module 112.
Mobile communication module 111 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.
Wireless Internet module 112 supports the Wi-Fi (Wireless Internet Access) of mobile terminal. This module can internally or externally be couple to terminal. Wi-Fi (Wireless Internet Access) technology involved by this module can include WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave access), HSDPA (high-speed downlink packet access) etc.
User input unit 120 can generate key input data to control the various operations of mobile terminal according to the order of user's input. User input unit 120 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 131 as a layer, it is possible to form touch screen.
Output unit 130 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 130 can include display unit 131 etc.
Display unit 131 may be displayed on the information processed in mobile terminal 100. Such as, when mobile terminal 100 is in telephone calling model, display unit 131 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 131 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 131 and touch pad as a layer superposed on one another to form touch screen time, display unit 131 can serve as input equipment and output device. Display unit 131 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.
Memorizer 140 can store the process performed by controller 150 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 140 can store the vibration about the various modes exported when touching and being applied to touch screen and the data of audio signal.
Memorizer 140 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 140 with by network.
Controller 150 generally controls the overall operation of mobile terminal. Such as, controller 150 performs the control relevant to voice call, data communication, video calling etc. and process. Controller 150 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 150. 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 140 and be performed by controller 150.
Mobile terminal 100 as shown in Figure 1 may be constructed such that utilization operates via such as wired and wireless communication system and the satellite-based communication system of frame or packet transmission data.
The communication system being wherein operable to according to the mobile terminal of the present invention is described referring now to Fig. 2.
Such communication system can use different air interfaces and/or physical layer. Such as, the air interface used by communication system includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and UMTS (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc. As non-limiting example, as explained below relates to cdma communication system, but such instruction is equally applicable to other type of system.
With reference to Fig. 2, cdma wireless communication system 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 system 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 base station transceiver subsystem (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.
In fig. 2 it is shown that several global positioning systems (GPS) satellite 300. Satellite 300 helps to position at least one in multiple mobile terminals 100.
In fig. 2, depict multiple satellite 300, it is understood that be, it is possible to use any number of satellite obtains useful location information. 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 wireless communication system, 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.
Based on above-mentioned mobile terminal hardware configuration and communication system, it is proposed to each embodiment of resource acquisition system of the present invention and method.
It should be noted that in the present invention, resource acquisition essence is to obtain to share resource, namely master mobile terminal obtains the resource shared from mobile terminal. Additionally, heretofore described resource at least includes from mobile terminal from the resource of Web server (referring generally to Website server, it is possible to provide resource to Web client such as browsers) upper download, such as multimedia file, or other resource type files. In addition, need further illustrate be, master mobile terminal be all mobile terminal from mobile terminal, therebetween can mutually change, namely master mobile terminal can be converted to from mobile terminal, and master mobile terminal can also be converted to from mobile terminal, the two is distinctive in that: master mobile terminal refers to the mobile terminal of request resource, then refers to the mobile terminal providing resource from mobile terminal.
In the present invention, master mobile terminal is not limit with the connected mode from mobile terminal, namely the data sharing framework mode of correspondence do not limit, master mobile terminal and some connection diagrams from mobile terminal in respectively three the application scenarios embodiments of resource acquisition system of the present invention of Fig. 3,4,5.
As it is shown on figure 3, master mobile terminal adopts star-like connection with multiple from mobile terminal, master mobile terminal is as a side of request resource data, it is necessary to carry out shaking hands thus setting up and being connected from mobile terminal with multiple in advance.In this star-like networking mode, the radio connection such as bluetooth can be utilized other adjacent mobile terminals are searched due to mobile terminal self, and then by carrying out networking connection between adjacent mobile terminal and carrying out transmission and the reception of resource, hence in so that the star-like networking mode in the present embodiment is more flexible.
As shown in Figure 4, master mobile terminal belongs to same community or WLAN with some from mobile terminal, and receive service (the mobile communications network service of such as base station of same server, the wireless Wi-Fi hotspot service of wireless router) carry out data interaction, including the data interaction between mobile terminal and Web server and the data interaction between each mobile terminal. In this networking mode, owing to the position of server (such as base station, wireless router) is fixing, mobile terminal (include master mobile terminal with from mobile terminal) then can be followed the movement of user and be converted its affiliated subdistrict or WLAN, therefore mobile terminal is random with the relation of server, namely the mobile terminal in same base station cell or wireless router WLAN is that real-time change updates, thus the resource in the mobile terminal of this server institute subordinate is also real-time change renewal. In this application scene, server is only for realizing master mobile terminal and forwarding from data when carrying out data interaction between mobile terminal, Web server.
As shown in Figure 5, Fig. 5 and Fig. 4 is essentially identical, simply in this application scene, server is applied not only to realize master mobile terminal and forward from data when carrying out data interaction between mobile terminal, Web server, it is additionally operable to realize the splicing to the part resource sent from mobile terminal and/or Web server, thus full resource splicing obtained sends to master mobile terminal simultaneously.
For ease of illustrating, the present invention is specifically illustrated with the master mobile terminal corresponding to Fig. 3,4,5 and some connected modes from mobile terminal.
With reference to the high-level schematic functional block diagram that Fig. 6, Fig. 6 are resource acquisition system first embodiment of the present invention. In the present embodiment, specifically illustrate with master mobile terminal as shown in Figure 3 and some connected modes from mobile terminal. As shown in Figure 6, described resource acquisition system include some master mobile terminals 510, some from mobile terminal 520; Wherein, master mobile terminal 510 adopts star-like connection with multiple from mobile terminal 520, and master mobile terminal 510 is as a side of request resource data, it is necessary to carry out shaking hands thus setting up and being connected from mobile terminal 520 with multiple in advance. In this star-like networking mode, owing to mobile terminal self can utilize bluetooth to search other adjacent mobile terminals, and then by carrying out networking connection between adjacent mobile terminal and carrying out transmission and the reception of resource, hence in so that the star-like networking mode in the present embodiment is more flexible.
In the present embodiment, described master mobile terminal 510, for sending resource acquisition request from mobile terminal 520 described in some, wherein, described resource at least includes the described resource downloaded from mobile terminal 520 from Web server;
Master mobile terminal 510 to some send resource acquisition request from mobile terminal 520 before, master mobile terminal 510 and respectively carry out shaking hands so that setting up communication connection between mobile terminal 520. Wherein, master mobile terminal 510 and the mode realizing shaking hands between mobile terminal 520 can adopt the three-way handshake protocol of TCP/IP, or other handshake methods can also be taked, but 510 need of master mobile terminal get the MAC Address from mobile terminal 520 and IP address uniquely to determine that this is from mobile terminal 520, and then realize master mobile terminal 510 and each from the data interaction between mobile terminal 520.
Need further illustrate be, resource described in the present embodiment at least includes the resource downloaded from mobile terminal 520 from Web server, such as multimedia file or other resource type files, prior art is generally all full resource is divided into multiple resource data bag be transmitted for the download of such resource, and completes the assembling of resource data bag to form full resource at receiving terminal. The present invention is specific to the type resource illustrate, but does not limit above-mentioned resource, it is also possible to be from other data mobile terminal 520.
Resource acquisition that master mobile terminal 510 sends request at least includes from the address of mobile terminal 520, Self address and requested resource information, such as resource ID title etc., then, be assembled into the message of specific format with other related datas after, it be sent to successively and set up each from mobile terminal 520 of connection of shaking hands.
Described from mobile terminal 520, for searching own resource according to described resource acquisition request, and to described master mobile terminal 510 feedback search result;
In the present embodiment, resource information corresponding asking from mobile terminal 520 according to resource acquisition, search own resource, and to master mobile terminal 510 feedback search result. For from mobile terminal 520 self, lookup result includes: has whole resource, have part resource, have resource, and for master mobile terminal 510, lookup result includes: has one to have whole resource from terminal, have one to have part resource from terminal, have and multiple have whole resource from terminal, have and multiple have part resource, neither one to have resource from terminal from terminal, wherein, have multiple have part resource to include again from terminal all part resource sum to whole full resource, all part resource add up and are not equal to whole full resource.
It should be noted that, in the present embodiment, the form of expression of lookup result for feeding back from from mobile terminal 520 to master mobile terminal 510 is not limit, it is configured with specific reference to being actually needed, can be such as message, can also be from the stored respective resources data of mobile terminal 520 etc., resource data can be obtained selectively, it is thus preferred to send a notification message from mobile terminal 520 and inform the lookup result of master mobile terminal 510 correspondence for ease of master mobile terminal 510.
Described master mobile terminal 510, is additionally operable to according to described lookup result, from corresponding described from acquisition respective resources mobile terminal 520 and/or Web server.
In the present embodiment, master mobile terminal 510 is also different according to the processing mode of the different corresponding acquisition resource of lookup result, such as multiple all have complete resource from mobile terminal 520, then master mobile terminal 510 can arbitrarily select from which one from mobile terminal 520, obtain this complete resource; Such as currently be connected with master mobile terminal 510 all from mobile terminal 520 all without master mobile terminal 510 requested resource, then master mobile terminal 510 will obtain resource requirement from Web server.
Obtain from Web server it should be noted that obtain mode from stored resource mobile terminal 520 mainly by existing resources such as P2P, naturally it is also possible to be that the resource acquisition mode adopting the present invention obtains from other from mobile terminal 520. The present invention is especially suitable for the acquisition of hot point resource (namely downloading the resource that user is many and download time is very high, such as hot broadcast TV play).
Such as, party B-subscriber around party A-subscriber, C user, D user, E user passes through mobile terminal when downloading same resource from Web server, party A-subscriber can pass through to party B-subscriber, C user, D user, E user sends resource acquisition request respectively, thus indirectly obtaining the resource that surrounding user is downloaded from Web server by mobile terminal, this is for party A-subscriber, owing to adopting WiFi or bluetooth approach transmission data between mobile terminals, thus relatively improve resource transmission speed, and for Web server, owing to asking the number of users of resource to decrease, thus correspondence decreases the repetition traffic volume of resource, thus relatively improve resource transmission speed, therefore, improve the transmission speed of resource on the whole.
In the present embodiment, owing to master mobile terminal can realize acquisition resource from other mobile terminals, therefore being obviously improved of resource transmission speed can be realized, simultaneously without limiting specific transmission environment requirement, such as movable signal, Web server performance, mobile terminal use scene (geographical position, time) etc., thus the mode of acquisition for mobile terminal resource is also more flexible, thus promoting user to use the experience of acquisition for mobile terminal resource.
Further alternative, based on above-described embodiment, in another embodiment of resource acquisition system of the present invention, the processing mode of the above-mentioned master mobile terminal 510 lookup result to feeding back from mobile terminal 520 specifically includes four class situations:
The first kind: when described lookup result is at least there is full resource that one has master mobile terminal 510 requested from mobile terminal 520 storage, master mobile terminal 510 obtains this full resource from what a storage had a requested full resource of master mobile terminal 510 from mobile terminal 520;
As shown in Figure 3, if store the full resource having master mobile terminal requested from mobile terminal 1, or all store, from mobile terminal 1,2,3, the full resource that master mobile terminal is requested, then master mobile terminal only need to from obtaining its this full resource stored from mobile terminal from mobile terminal 1 or from one randomly choosed from mobile terminal 1,2,3.
Equations of The Second Kind: when described lookup result is at least there is full resource that one group has master mobile terminal 510 requested from mobile terminal 520 storage, master mobile terminal 510 has the multiple of the requested full resource of master mobile terminal 510 obtain appropriate section resource from mobile terminal 520 respectively and undertaken splicing to obtain requested full resource by the multiple part resource obtained from one group of storage;
Assume that master mobile terminal and 12 carry out star-like connection as shown in Figure 3 from mobile terminal, and from mobile terminal 1-2, store the full resource having master mobile terminal requested, from mobile terminal 3-5, storage has the full resource that master mobile terminal is requested, from mobile terminal 6-10, storage has the full resource that master mobile terminal is requested, master mobile terminal requested resource is not stored from mobile 11-12, namely there are 3 groups of full resource having master mobile terminal requested from mobile terminal storage, now master mobile terminal only need to arbitrarily select one group from 3 groups, and from being selected acquisition full resource this group.
It should be noted that, owing to full resource dispersion is stored in one group of multiple from mobile terminal from mobile terminal, such as, from mobile terminal 3, storage has the Part I resource that master mobile terminal is requested, and from mobile terminal 4, have master mobile terminal requested second is stored respectively on 5, three part resource, and first, two, three part resource just constitute whole full resource that master mobile terminal is requested, then master mobile terminal obtains first from from mobile terminal 3-5 respectively, two, three part resource and will obtain first, two, three part resource carry out splicing to obtain the full resource that master mobile terminal is requested.Such as, master mobile terminal from when obtaining first, second and third part resource from mobile terminal 3-5, may call for from mobile terminal 3-5, respective sent resource being numbered, then master mobile terminal can carry out splicing according to the resource number resource to receiving, thus obtaining full resource.
3rd class: when described lookup result be all from mobile terminal 520, only store the part resource having master mobile terminal 510 requested time, master mobile terminal 510 is from obtaining accordingly this part resource from mobile terminal 520 and from obtaining remainder resource Web server and being undertaken splicing to obtain requested full resource by the remainder resource of the part resource from mobile terminal 520 obtained with Web server;
As shown in Figure 3, assume from mobile terminal 1, store the Part I resource having master mobile terminal requested, from mobile terminal 2, storage has the Part II resource that master mobile terminal is requested, from mobile terminal 3, master mobile terminal requested resource is not stored in 4, Part I resource and Part II resource are also only merely the part in the full resource that master mobile terminal is requested simultaneously, namely master mobile terminal can only obtain first from from mobile terminal 1-4, two part resource, remaining Part III resource then needs to obtain from Web server, first finally will obtained again, two, three part resource splice, thus obtaining complete resource.
4th class: when described lookup result be all from mobile terminal 520, be absent from master mobile terminal 510 requested resource time, master mobile terminal 510 obtains requested full resource from Web server.
This class situation is the extreme case in resource acquiring method of the present invention, if it is all when being all absent from master mobile terminal requested resource from mobile terminal, master mobile terminal then obtains requested full resource from Web server, concrete to obtain mode same as the prior art, full resource needed for obtaining on the webpage of browser as by http protocol or File Transfer Protocol or P2P mode.
The present embodiment be to master mobile terminal from each obtain resource from mobile terminal wound time the explanation of various situations that occurs, except the 4th class extreme case, under other three classes situations, the speed of acquisition for mobile terminal resource will faster than the resource transmission speed corresponding to conventional resource acquisition mode.
Further alternative, in resource acquisition system one embodiment of the present invention, application scenarios as shown in Figure 4, described master mobile terminal 510 described is connected with base station from mobile terminal 520 respectively with some; Described master mobile terminal 510 and described carry out data interaction from mobile terminal 520 by described base station and Web server; Described master mobile terminal 510 and some described data interactions being carried out resource acquisition between mobile terminal 520 by described base station, wherein, diverse geographic location region is correspondingly arranged on different described base station and described base station real-time update and records the described master mobile terminal 510 of access and/or described from mobile terminal 520.
In the diagram, server is specifically illustrated with base station. Master mobile terminal belongs to same community or WLAN with some from mobile terminal, and receive service (the such as mobile communications network of same base station, wireless Wi-Fi hotspot network) carry out data interaction, including the data interaction between mobile terminal and Web server and the data interaction between each mobile terminal. In this networking mode, owing to the position of base station is fixing, mobile terminal (include master mobile terminal with from mobile terminal) then can be followed the movement of user and be converted its affiliated subdistrict or WLAN, therefore mobile terminal is random with the relation of base station, namely the mobile terminal in same base station cell or wireless Wi-Fi hotspot network is that real-time change updates, thus the resource in the mobile terminal under this base station is also real-time change renewal.
Further alternative, in resource acquisition system one embodiment of the present invention, application scenarios as shown in Figure 4, described master mobile terminal 510 is additionally operable to send resource acquisition to described base station is asked and is forwarded to by described base station some described from mobile terminal 520, wherein, described resource at least includes the described resource downloaded from mobile terminal 520 from Web server; Described it is additionally operable to search own resource according to described resource acquisition request and be forwarded to described master mobile terminal 510 to described base station feedback lookup result and by described base station from mobile terminal 520; Described master mobile terminal 510 is additionally operable to according to described lookup result, from corresponding described from acquisition respective resources mobile terminal 520 and/or Web server.
Master mobile terminal 510 and some carried out master mobile terminal 510 resource acquisition and above-described embodiment between mobile terminal 520 by base station and some processing modes carrying out resource acquisition between mobile terminal 520 are essentially identical in the present embodiment, is not therefore done and too much repeats.
With reference to the high-level schematic functional block diagram that Fig. 7, Fig. 7 are resource acquisition system the second embodiment of the present invention. Application scenarios as shown in Figure 5, in the present embodiment, described resource acquisition system includes base station 530; Described master mobile terminal 510 is additionally operable to send resource acquisition to described base station 530 asks and passes through described base station 530 to be forwarded to some described from mobile terminal 520, wherein, described resource at least includes the described resource downloaded from mobile terminal 520 from Web server; Described from mobile terminal 520 be additionally operable to according to described resource acquisition request search own resource, to described base station 530 feedback search result; Described base station 530, for according to described lookup result, send to described master mobile terminal 510 and when the resource obtained is not the requested full resource of described master mobile terminal 510 from mobile terminal 520 and/or Web server obtain respective resources from corresponding described, retransmit after the resource of acquisition is spliced into full resource to described master mobile terminal 510.
Master mobile terminal 510 and some carry out master mobile terminal 510 resource acquisition and above-described embodiment by base station 530 between mobile terminal 520 and some processing modes carrying out resource acquisition between mobile terminal 520 are essentially identical in the present embodiment, does not therefore do and too much repeats.
In the present embodiment, when master mobile terminal 510 sends resource acquisition request to base station 530, if the resource of base station 530 self not this request, then base station 530 is collected in this community each from the resource mobile terminal 520, and after completing resource splicing, full resource requested for master mobile terminal 510 is fed back to master mobile terminal 510. The network architecture in the present embodiment is similar to content distributing network CDN framework, but with CDN framework the difference is that, the data that the network architecture in the present embodiment obtains not are provided by Edge Server (such as Web server), but are provided by the affiliated mobile terminal of this base station 530.
In the present embodiment, although the memory data output of mobile terminal and transfer rate are all unable to catch up with Edge Server, but the motility of mobile terminal to be significantly better than Edge Server (Edge Server is fixedly installed often), therefore, the access of the 530 times different mobile terminals in same base station picks out the real-time update that ensure that these 530 times corresponding resources in base station, and for master mobile terminal 510, if desired a certain resource, especially hot point resource, first can search the adjacent resource from mobile terminal 520 from home base stations 530, if this locality has requested resource from mobile terminal 520, then directly respectively from mobile terminal 520, can directly obtain full resource again from home base stations 530 by resource aggregation to home base stations 530 and after completing the splicing of resource from this locality, thus resource acquisition efficiency is significantly better than and accesses the Internet (such as Web server) and obtain the efficiency of resource in the present embodiment, and due to master mobile terminal 510 with from mobile terminal 520 all in same community/WLAN, therefore resource transmission speed will be greatly improved.Additionally, data transmission can also select multiple transmission means according to practical situation, such as take the modes such as WIFI access, Bluetooth transmission, such that it is able to save flow cost.
Further, in resource acquisition system one embodiment of the present invention, when there is multiple master mobile terminal 510 and ask the same same resource from mobile terminal 520 simultaneously, prevent resource deadlock or from mobile terminal 520 by replicating the requested same resource of multiple master mobile terminals 510 and the same resource replicated is sent to the mode of requested multiple master mobile terminals 510 preventing resource deadlock by semaphore or mutex mechanism.
Resource deadlock described in the present embodiment specifically refers to current thread and calls a resource, and next thread or multiple thread ask this resource simultaneously, and the condition that current thread discharges this resource is to wait other threads to terminate, and the condition that other threads terminate such as is at the current thread discharges this resource, thus result in multiple thread to wait mutually, namely create resource deadlock, thus resource is caused to ask or it is also possible to cause program crashing, it is therefore desirable to resource deadlock is prevented.
For process resource access in the present invention would be likely to occur the problem that multiple master mobile terminal 510 asks the same same resource from mobile terminal 520 resource deadlock easily occur simultaneously, in the present embodiment, can pass through adding PV Semaphore Mechanism from mobile terminal 520, to remain that same resource of same time can only by a thread dispatching. Such as, current queuing Thread Count is P, if queuing thread increases, then and P=P+1, Current resource number is V, if Current resource release, then V=V+1; Just allow when V is more than 0 resource to be called, otherwise forbid. Therefore, for for the single resource of mobile terminal 520, V=1, when a master mobile terminal 510 asks this resource, then P+1, V-1, and and if only if when this resource has been transmitted to this master mobile terminal 510, the request of this main whole mobile terminal is complete, then P-1, V+1, hence allows to this resource is carried out next step operation, namely this resource can be allowed to be sent to next master mobile terminal 510. Therefore, on the basis of PV Semaphore Mechanism, can queue up and distribute same same resource from mobile terminal 520 for multiple master mobile terminals 510.
In addition, for process resource access in the present invention would be likely to occur the problem that multiple master mobile terminal 510 asks the same same resource from mobile terminal 520 resource deadlock easily occur simultaneously, in the present embodiment, a new resource memory area can opened up from mobile terminal 520 internal memory, and the requested resource of duplication is saved in this memory area, thus ask this requested resource when there is multiple master mobile terminal 510 simultaneously, or currently from mobile terminal 520 when using this requested resource, if there is multiple master mobile terminal 510 all to ask to use this resource, the requested resource replicated in this memory area is then read from mobile terminal 520, and wirelessly this requested resource is sent to corresponding master mobile terminal 510, self call from mobile terminal 520 or other master mobile terminals 510 call thus not affecting.
With reference to the high-level schematic functional block diagram that Fig. 8, Fig. 8 are master mobile terminal one embodiment of the present invention. In the present embodiment, as it is shown on figure 3, described master mobile terminal is with some from mobile terminal wireless connections, it is attached as by the mode such as bluetooth or WiFi.Described master mobile terminal includes:
Resource request sending module 101, for some described from mobile terminal transmission resource acquisition request, wherein, described resource at least includes the described resource downloaded from mobile terminal from Web server;
Master mobile terminal to some send resource acquisition request from mobile terminal before, master mobile terminal and respectively carry out shaking hands so that setting up communication connection between mobile terminal. Wherein, master mobile terminal and the mode realizing shaking hands between mobile terminal can adopt the three-way handshake protocol of TCP/IP, or other handshake methods can also be taked, but master mobile terminal only need to get the MAC Address from mobile terminal and IP address uniquely to determine that this is from mobile terminal, and then realize master mobile terminal and each from the data interaction between mobile terminal.
Need further illustrate be, resource described in the present embodiment at least includes the resource downloaded from mobile terminal from Web server, such as multimedia file or other resource type files, prior art is generally all full resource is divided into multiple resource data bag be transmitted for the download of such resource, and completes the assembling of resource data bag to form full resource at receiving terminal. The present invention is specific to the type resource illustrate, but does not limit above-mentioned resource, it is also possible to be from other data mobile terminal.
Resource acquisition that resource request sending module 101 sends request at least includes from the address of mobile terminal, Self address and requested resource information, such as resource ID title etc., then, be assembled into the message of specific format with other related datas after, it be sent to successively and set up each from mobile terminal of connection of shaking hands.
Lookup result receiver module 102, is used for the lookup result fed back after searching own resource from mobile terminal according to described resource acquisition request described in receiving;
In the present embodiment, resource information corresponding asking from mobile terminal according to resource acquisition, search own resource, and to master mobile terminal feedback search result. For from mobile terminal self, lookup result includes: has whole resource, have part resource, have resource, and for master mobile terminal, lookup result includes: has one to have whole resource from terminal, have one to have part resource from terminal, have and multiple have whole resource from terminal, have and multiple have part resource, neither one to have resource from terminal from terminal, wherein, have multiple have part resource to include again from terminal all part resource sum to whole full resource, all part resource add up and are not equal to whole full resource.
It should be noted that, in the present embodiment, the form of expression of lookup result for feeding back from from mobile terminal to master mobile terminal is not limit, it is configured with specific reference to being actually needed, can be such as message, can also be from the stored respective resources data of mobile terminal etc., resource data can be obtained selectively, it is thus preferred to send a notification message from mobile terminal and inform the lookup result that master mobile terminal is corresponding for ease of master mobile terminal.
Source obtaining module 103, for according to described lookup result, from corresponding described from acquisition respective resources mobile terminal and/or Web server.
In the present embodiment, master mobile terminal is also different according to the processing mode of the different corresponding acquisition resource of lookup result, such as multiple all have complete resource from mobile terminal, then master mobile terminal can arbitrarily select from which one from mobile terminal, obtain this complete resource;Such as currently be connected with master mobile terminal all from mobile terminal all without master mobile terminal requested resource, then master mobile terminal will obtain resource requirement from Web server.
Obtain from Web server it should be noted that obtain mode from resource stored mobile terminal mainly by existing resources such as P2P, naturally it is also possible to be that the resource acquisition mode adopting the present invention obtains from other from mobile terminal. The present invention is especially suitable for the acquisition of hot point resource (namely downloading the resource that user is many and download time is very high, such as hot broadcast TV play).
Such as, party B-subscriber around party A-subscriber, C user, D user, E user passes through mobile terminal when downloading same resource from Web server, party A-subscriber can pass through to party B-subscriber, C user, D user, E user sends resource acquisition request respectively, thus indirectly obtaining the resource that surrounding user is downloaded from Web server by mobile terminal, this is for party A-subscriber, owing to adopting the wireless transmission data such as WiFi or bluetooth approach between mobile terminals, thus relatively improve resource transmission speed, and for Web server, owing to asking the number of users of resource to decrease, thus correspondence decreases the repetition traffic volume of resource, thus relatively improve resource transmission speed, therefore, improve the transmission speed of resource on the whole.
In the present embodiment, owing to master mobile terminal can realize acquisition resource from other mobile terminals, therefore being obviously improved of resource transmission speed can be realized, simultaneously without limiting specific transmission environment requirement, such as movable signal, Web server performance, mobile terminal use scene (geographical position, time) etc., thus the mode of acquisition for mobile terminal resource is also more flexible, thus promoting user to use the experience of acquisition for mobile terminal resource.
Further alternative, based on above-described embodiment, in another embodiment of master mobile terminal of the present invention, the processing mode of the above-mentioned master mobile terminal lookup result to feeding back from mobile terminal specifically includes four class situations:
The first kind: when described lookup result is at least there is a full resource having master mobile terminal requested from mobile terminal storage, master mobile terminal obtains this full resource from what a storage had a requested full resource of master mobile terminal from mobile terminal;
Equations of The Second Kind: when described lookup result is at least there is full resource that one group has master mobile terminal requested from mobile terminal storage, the multiple of full resource that master mobile terminal has master mobile terminal requested from one group of storage obtain appropriate section resource from mobile terminal respectively and are undertaken splicing to obtain requested full resource by the multiple part resource obtained;
3rd class: when described lookup result be all from mobile terminal, only store the part resource having master mobile terminal requested time, master mobile terminal is from obtaining accordingly this part resource from mobile terminal and from obtaining remainder resource Web server and being undertaken splicing to obtain requested full resource by the remainder resource from the part resource of mobile terminal Yu Web server obtained;
4th class: when described lookup result be all from mobile terminal, be absent from master mobile terminal requested resource time, master mobile terminal obtains requested full resource from Web server.
The present embodiment be to master mobile terminal from each obtain resource from mobile terminal wound time the explanation of various situations that occurs, except the 4th class extreme case, under other three classes situations, the speed of acquisition for mobile terminal resource will faster than the resource transmission speed corresponding to conventional resource acquisition mode.
Further alternative, in master mobile terminal one embodiment of the present invention, application scenarios as shown in Figure 4, described master mobile terminal described is connected with base station from mobile terminal respectively with some; Described master mobile terminal and described carry out data interaction from mobile terminal by described base station and Web server; Described master mobile terminal and some described data interactions being carried out resource acquisition between mobile terminal by described base station, wherein, diverse geographic location region is correspondingly arranged on different described base station and described base station real-time update and records the described master mobile terminal of access and/or described from mobile terminal.
In the diagram, server is specifically illustrated with base station. Master mobile terminal belongs to same community or WLAN with some from mobile terminal, and receive service (the such as mobile communications network of same base station, wireless Wi-Fi hotspot network) carry out data interaction, including the data interaction between mobile terminal and Web server and the data interaction between each mobile terminal. In this networking mode, owing to the position of base station is fixing, mobile terminal (include master mobile terminal with from mobile terminal) then can be followed the movement of user and be converted its affiliated subdistrict or WLAN, therefore mobile terminal is random with the relation of base station, namely the mobile terminal in same base station cell or wireless Wi-Fi hotspot network is that real-time change updates, thus the resource in the mobile terminal under this base station is also real-time change renewal.
Further alternative, application scenarios as shown in Figure 4, described master mobile terminal is additionally operable to send resource acquisition to described base station is asked and is forwarded to by described base station some described from mobile terminal, and wherein, described resource at least includes the described resource downloaded from mobile terminal from Web server; Described it is additionally operable to search own resource and to described base station feedback lookup result and be forwarded to described master mobile terminal by described base station according to described resource acquisition request from mobile terminal; Described master mobile terminal is additionally operable to according to described lookup result, from corresponding described from acquisition respective resources mobile terminal and/or Web server.
Application scenarios as shown in Figure 5, described resource acquisition system includes base station; Described master mobile terminal is additionally operable to send resource acquisition to described base station is asked and is forwarded to by described base station some described from mobile terminal, and wherein, described resource at least includes the described resource downloaded from mobile terminal from Web server; Described from mobile terminal be additionally operable to according to described resource acquisition request search own resource, to described base station feedback lookup result; Described base station, for according to described lookup result, send to described master mobile terminal and when the resource obtained is not the requested full resource of described master mobile terminal from mobile terminal and/or Web server obtain respective resources from corresponding described, retransmit after the resource of acquisition is spliced into full resource to described master mobile terminal.
Master mobile terminal and some carried out master mobile terminal resource acquisition and above-described embodiment between mobile terminal by base station and some processing modes carrying out resource acquisition between mobile terminal are essentially identical in the present embodiment, is not therefore done and too much repeats.
It is the present invention high-level schematic functional block diagram from mobile terminal one embodiment with reference to Fig. 9, Fig. 9. In the present embodiment, as it is shown on figure 3, described from mobile terminal and master mobile terminal wireless connections, it is attached as by the mode such as bluetooth or WiFi.Described include from mobile terminal:
Resource request receiver module 201, for receiving the resource acquisition request that described master mobile terminal sends, wherein, described resource at least includes the described resource downloaded from mobile terminal from Web server;
Master mobile terminal to some send resource acquisition request from mobile terminal before, master mobile terminal and respectively carry out shaking hands so that setting up communication connection between mobile terminal. Wherein, master mobile terminal and the mode realizing shaking hands between mobile terminal can adopt the three-way handshake protocol of TCP/IP, or other handshake methods can also be taked, but master mobile terminal only need to get the MAC Address from mobile terminal and IP address uniquely to determine that this is from mobile terminal, and then realize master mobile terminal and each from the data interaction between mobile terminal.
Need further illustrate be, resource described in the present embodiment at least includes the resource downloaded from mobile terminal from Web server, such as multimedia file or other resource type files, prior art is generally all full resource is divided into multiple resource data bag be transmitted for the download of such resource, and completes the assembling of resource data bag to form full resource at receiving terminal. The present invention is specific to the type resource illustrate, but does not limit above-mentioned resource, it is also possible to be from other data mobile terminal.
Resource lookup module 202, for asking according to described resource acquisition, searches own resource, obtains lookup result;
In the present embodiment, the resource information that resource lookup module 202 is corresponding in asking according to resource acquisition, search own resource, and to master mobile terminal feedback search result. For from mobile terminal self, lookup result includes: has whole resource, have part resource, have resource, and for master mobile terminal, lookup result includes: has one to have whole resource from terminal, have one to have part resource from terminal, have and multiple have whole resource from terminal, have and multiple have part resource, neither one to have resource from terminal from terminal, wherein, have multiple have part resource to include again from terminal all part resource sum to whole full resource, all part resource add up and are not equal to whole full resource.
It should be noted that, in the present embodiment, the form of expression of lookup result for feeding back from from mobile terminal to master mobile terminal is not limit, it is configured with specific reference to being actually needed, can be such as message, can also be from the stored respective resources data of mobile terminal etc., resource data can be obtained selectively, it is thus preferred to send a notification message from mobile terminal and inform the lookup result that master mobile terminal is corresponding for ease of master mobile terminal.
Lookup result sending module 203, for sending described lookup result to described master mobile terminal, obtains respective resources according to described lookup result for described master mobile terminal described in corresponding from mobile terminal and/or Web server.
In the present embodiment, described lookup result is sent to described master mobile terminal by lookup result sending module 203, master mobile terminal is also different according to the processing mode of the different corresponding acquisition resource of lookup result, such as multiple all have complete resource from mobile terminal, then master mobile terminal can arbitrarily select from which one from mobile terminal, obtain this complete resource; Such as currently be connected with master mobile terminal all from mobile terminal all without master mobile terminal requested resource, then master mobile terminal will obtain resource requirement from Web server.
Obtain from Web server it should be noted that obtain mode from resource stored mobile terminal mainly by existing resources such as P2P, naturally it is also possible to be that the resource acquisition mode adopting the present invention obtains from other from mobile terminal. The present invention is especially suitable for the acquisition of hot point resource (namely downloading the resource that user is many and download time is very high, such as hot broadcast TV play).
Such as, party B-subscriber around party A-subscriber, C user, D user, E user passes through mobile terminal when downloading same resource from Web server, party A-subscriber can pass through to party B-subscriber, C user, D user, E user sends resource acquisition request respectively, thus indirectly obtaining the resource that surrounding user is downloaded from Web server by mobile terminal, this is for party A-subscriber, owing to adopting WiFi or bluetooth approach transmission data between mobile terminals, thus relatively improve resource transmission speed, and for Web server, owing to asking the number of users of resource to decrease, thus correspondence decreases the repetition traffic volume of resource, thus relatively improve resource transmission speed, therefore, improve the transmission speed of resource on the whole.
In the present embodiment, owing to master mobile terminal can realize acquisition resource from other mobile terminals, therefore being obviously improved of resource transmission speed can be realized, simultaneously without limiting specific transmission environment requirement, such as movable signal, Web server performance, mobile terminal use scene (geographical position, time) etc., thus the mode of acquisition for mobile terminal resource is also more flexible, thus promoting user to use the experience of acquisition for mobile terminal resource.
Further alternative, based on above-described embodiment, in the present invention from another embodiment of mobile terminal, the processing mode of the above-mentioned master mobile terminal lookup result to feeding back from mobile terminal specifically includes four class situations:
The first kind: when described lookup result is at least there is a full resource having master mobile terminal requested from mobile terminal storage, master mobile terminal obtains this full resource from what a storage had a requested full resource of master mobile terminal from mobile terminal;
Equations of The Second Kind: when described lookup result is at least there is full resource that one group has master mobile terminal requested from mobile terminal storage, the multiple of full resource that master mobile terminal has master mobile terminal requested from one group of storage obtain appropriate section resource from mobile terminal respectively and are undertaken splicing to obtain requested full resource by the multiple part resource obtained;
3rd class: when described lookup result be all from mobile terminal, only store the part resource having master mobile terminal requested time, master mobile terminal is from obtaining accordingly this part resource from mobile terminal and from obtaining remainder resource Web server and being undertaken splicing to obtain requested full resource by the remainder resource from the part resource of mobile terminal Yu Web server obtained;
4th class: when described lookup result be all from mobile terminal, be absent from master mobile terminal requested resource time, master mobile terminal obtains requested full resource from Web server.
The present embodiment be to master mobile terminal from each obtain resource from mobile terminal wound time the explanation of various situations that occurs, except the 4th class extreme case, under other three classes situations, the speed of acquisition for mobile terminal resource will faster than the resource transmission speed corresponding to conventional resource acquisition mode.
Further alternative, in the present invention from mobile terminal one embodiment, application scenarios as shown in Figure 4, described master mobile terminal described is connected with base station from mobile terminal respectively with some; Described master mobile terminal and described carry out data interaction from mobile terminal by described base station and Web server; Described master mobile terminal and some described data interactions being carried out resource acquisition between mobile terminal by described base station, wherein, diverse geographic location region is correspondingly arranged on different described base station and described base station real-time update and records the described master mobile terminal of access and/or described from mobile terminal.
In the diagram, server is specifically illustrated with base station. Master mobile terminal belongs to same community or WLAN with some from mobile terminal, and receive service (the such as mobile communications network of same base station, wireless Wi-Fi hotspot network) carry out data interaction, including the data interaction between mobile terminal and Web server and the data interaction between each mobile terminal. In this networking mode, owing to the position of base station is fixing, mobile terminal (include master mobile terminal with from mobile terminal) then can be followed the movement of user and be converted its affiliated subdistrict or WLAN, therefore mobile terminal is random with the relation of base station, namely the mobile terminal in same base station cell or wireless Wi-Fi hotspot network is that real-time change updates, thus the resource in the mobile terminal under this base station is also real-time change renewal.
Further alternative, application scenarios as shown in Figure 4, described master mobile terminal is additionally operable to send resource acquisition to described base station is asked and is forwarded to by described base station some described from mobile terminal, and wherein, described resource at least includes the described resource downloaded from mobile terminal from Web server; Described it is additionally operable to search own resource and to described base station feedback lookup result and be forwarded to described master mobile terminal by described base station according to described resource acquisition request from mobile terminal; Described master mobile terminal is additionally operable to according to described lookup result, from corresponding described from acquisition respective resources mobile terminal and/or Web server.
Application scenarios as shown in Figure 5, described resource acquisition system includes base station; Described master mobile terminal is additionally operable to send resource acquisition to described base station is asked and is forwarded to by described base station some described from mobile terminal, and wherein, described resource at least includes the described resource downloaded from mobile terminal from Web server; Described from mobile terminal be additionally operable to according to described resource acquisition request search own resource, to described base station feedback lookup result; Described base station, for according to described lookup result, send to described master mobile terminal and when the resource obtained is not the requested full resource of described master mobile terminal from mobile terminal and/or Web server obtain respective resources from corresponding described, retransmit after the resource of acquisition is spliced into full resource to described master mobile terminal.
Master mobile terminal and some carried out master mobile terminal resource acquisition and above-described embodiment between mobile terminal by base station and some processing modes carrying out resource acquisition between mobile terminal are essentially identical in the present embodiment, is not therefore done and too much repeats.
With reference to the schematic flow sheet that Figure 10, Figure 10 are resource acquiring method first embodiment of the present invention. In the present embodiment, specifically illustrate with master mobile terminal as shown in Figure 3 and some connected modes from mobile terminal. The described resource acquiring method of the present embodiment includes:
Step S110, master mobile terminal sends resource acquisition request to some from mobile terminal, and wherein, described resource at least includes the resource downloaded from mobile terminal from Web server;
In the present embodiment, master mobile terminal to some send resource acquisition request from mobile terminal before, master mobile terminal and respectively carry out shaking hands so that setting up communication connection between mobile terminal. Wherein, master mobile terminal and the mode realizing shaking hands between mobile terminal can adopt the three-way handshake protocol of TCP/IP, or other handshake methods can also be taked, but master mobile terminal only need to get the MAC Address from mobile terminal and IP address uniquely to determine that this is from mobile terminal, and then realize master mobile terminal and each from the data interaction between mobile terminal.
Need further illustrate be, resource described in the present embodiment at least includes the resource downloaded from mobile terminal from Web server, such as multimedia file or other resource type files, prior art is generally all full resource is divided into multiple resource data bag be transmitted for the download of such resource, and completes the assembling of resource data bag to form full resource at receiving terminal. The present invention is specific to the type resource illustrate, but does not limit above-mentioned resource, it is also possible to be from other data mobile terminal.
Resource acquisition that master mobile terminal sends request at least includes from the address of mobile terminal, Self address and requested resource information, such as resource ID title etc., then, be assembled into the message of specific format with other related datas after, it be sent to successively and set up each from mobile terminal of connection of shaking hands.
Step S120, searches own resource from mobile terminal according to described resource acquisition request, and to master mobile terminal feedback search result;
In the present embodiment, resource information corresponding asking from mobile terminal according to resource acquisition, search own resource, and to master mobile terminal feedback search result. For from mobile terminal self, lookup result includes: has whole resource, have part resource, have resource, and for master mobile terminal, lookup result includes: has one to have whole resource from terminal, have one to have part resource from terminal, have and multiple have whole resource from terminal, have and multiple have part resource, neither one to have resource from terminal from terminal, wherein, have multiple have part resource to include again from terminal all part resource sum to whole full resource, all part resource add up and are not equal to whole full resource.
It should be noted that, in the present embodiment, the form of expression of lookup result for feeding back from from mobile terminal to master mobile terminal is not limit, it is configured with specific reference to being actually needed, can be such as message, can also be from the stored respective resources data of mobile terminal etc., resource data can be obtained selectively, it is thus preferred to send a notification message from mobile terminal and inform the lookup result that master mobile terminal is corresponding for ease of master mobile terminal.
Step S130, master mobile terminal, according to described lookup result, obtains respective resources from corresponding from mobile terminal and/or Web server.
In the present embodiment, master mobile terminal is also different according to the processing mode of the different corresponding acquisition resource of lookup result, such as multiple all have complete resource from mobile terminal, then master mobile terminal can arbitrarily select from which one from mobile terminal, obtain this complete resource; Such as currently be connected with master mobile terminal all from mobile terminal all without master mobile terminal requested resource, then master mobile terminal will obtain resource requirement from Web server.
Obtain from Web server it should be noted that obtain mode from resource stored mobile terminal mainly by existing resources such as P2P, naturally it is also possible to be that the resource acquisition mode adopting the present invention obtains from other from mobile terminal. The present invention is especially suitable for the acquisition of hot point resource (namely downloading the resource that user is many and download time is very high, such as hot broadcast TV play).
Such as, party B-subscriber around party A-subscriber, C user, D user, E user passes through mobile terminal when downloading same resource from Web server, party A-subscriber can pass through to party B-subscriber, C user, D user, E user sends resource acquisition request respectively, thus indirectly obtaining the resource that surrounding user is downloaded from Web server by mobile terminal, this is for party A-subscriber, owing to adopting WiFi or bluetooth approach transmission data between mobile terminals, thus relatively improve resource transmission speed, and for Web server, owing to asking the number of users of resource to decrease, thus correspondence decreases the repetition traffic volume of resource, thus relatively improve resource transmission speed, therefore, improve the transmission speed of resource on the whole.
In the present embodiment, owing to master mobile terminal can realize acquisition resource from other mobile terminals, therefore being obviously improved of resource transmission speed can be realized, simultaneously without limiting specific transmission environment requirement, such as movable signal, Web server performance, mobile terminal use scene (geographical position, time) etc., thus the mode of acquisition for mobile terminal resource is also more flexible, thus promoting user to use the experience of acquisition for mobile terminal resource.
Further alternative, based on above-described embodiment, in another embodiment of resource acquiring method of the present invention, above-mentioned steps S130 specifically includes four class situations:
The first kind: when described lookup result is at least there is a full resource having master mobile terminal requested from mobile terminal storage, master mobile terminal obtains this full resource from what a storage had a requested full resource of master mobile terminal from mobile terminal;
As shown in Figure 3, if store the full resource having master mobile terminal requested from mobile terminal 1, or all store, from mobile terminal 1,2,3, the full resource that master mobile terminal is requested, then master mobile terminal only need to from obtaining its this full resource stored from mobile terminal from mobile terminal 1 or from one randomly choosed from mobile terminal 1,2,3.
Equations of The Second Kind: when described lookup result is at least there is full resource that one group has master mobile terminal requested from mobile terminal storage, the multiple of full resource that master mobile terminal has master mobile terminal requested from one group of storage obtain appropriate section resource from mobile terminal respectively and are undertaken splicing to obtain requested full resource by the multiple part resource obtained;
Assume that master mobile terminal and 12 carry out star-like connection as shown in Figure 3 from mobile terminal, and from mobile terminal 1-2, store the full resource having master mobile terminal requested, from mobile terminal 3-5, storage has the full resource that master mobile terminal is requested, from mobile terminal 6-10, storage has the full resource that master mobile terminal is requested, master mobile terminal requested resource is not stored from mobile 11-12, namely there are 3 groups of full resource having master mobile terminal requested from mobile terminal storage, now master mobile terminal only need to arbitrarily select one group from 3 groups, and from being selected acquisition full resource this group.
It should be noted that, owing to full resource dispersion is stored in one group of multiple from mobile terminal from mobile terminal, such as, from mobile terminal 3, storage has the Part I resource that master mobile terminal is requested, and from mobile terminal 4, have master mobile terminal requested second is stored respectively on 5, three part resource, and first, two, three part resource just constitute whole full resource that master mobile terminal is requested, then master mobile terminal obtains first from from mobile terminal 3-5 respectively, two, three part resource and will obtain first, two, three part resource carry out splicing to obtain the full resource that master mobile terminal is requested.Such as, master mobile terminal from when obtaining first, second and third part resource from mobile terminal 3-5, may call for from mobile terminal 3-5, respective sent resource being numbered, then master mobile terminal can carry out splicing according to the resource number resource to receiving, thus obtaining full resource.
3rd class: when described lookup result be all from mobile terminal, only store the part resource having master mobile terminal requested time, master mobile terminal is from obtaining accordingly this part resource from mobile terminal and from obtaining remainder resource Web server and being undertaken splicing to obtain requested full resource by the remainder resource from the part resource of mobile terminal Yu Web server obtained;
As shown in Figure 3, assume from mobile terminal 1, store the Part I resource having master mobile terminal requested, from mobile terminal 2, storage has the Part II resource that master mobile terminal is requested, from mobile terminal 3, master mobile terminal requested resource is not stored in 4, Part I resource and Part II resource are also only merely the part in the full resource that master mobile terminal is requested simultaneously, namely master mobile terminal can only obtain first from from mobile terminal 1-4, two part resource, remaining Part III resource then needs to obtain from Web server, first finally will obtained again, two, three part resource splice, thus obtaining complete resource.
4th class: when described lookup result be all from mobile terminal, be absent from master mobile terminal requested resource time, master mobile terminal obtains requested full resource from Web server.
This class situation is the extreme case in resource acquiring method of the present invention, if it is all when being all absent from master mobile terminal requested resource from mobile terminal, master mobile terminal then obtains requested full resource from Web server, concrete to obtain mode same as the prior art, full resource needed for obtaining on the webpage of browser as by http protocol or File Transfer Protocol or P2P mode.
The present embodiment be to master mobile terminal from each obtain resource from mobile terminal wound time the explanation of various situations that occurs, except the 4th class extreme case, under other three classes situations, the speed of acquisition for mobile terminal resource will faster than the resource transmission speed corresponding to conventional resource acquisition mode.
With reference to the schematic flow sheet that Figure 11, Figure 11 are resource acquiring method the second embodiment of the present invention. In the present embodiment, specifically illustrate for base station with master mobile terminal as shown in Figure 4 with some connected modes from mobile terminal and server. In the present embodiment, master mobile terminal and some carry out the data interaction of resource acquisition by base station between mobile terminal and include:
Step S210, master mobile terminal is sent resource acquisition and asks and be forwarded to by base station some from mobile terminal to base station, and wherein, described resource at least includes the resource downloaded from mobile terminal from Web server;
Step S220, searches own resource from mobile terminal according to described resource acquisition request and is forwarded to described master mobile terminal to base station feedback lookup result and by described base station;
Step S230, master mobile terminal, according to described lookup result, obtains respective resources from corresponding from mobile terminal and/or Web server.
Master mobile terminal and some carried out master mobile terminal resource acquisition and above-described embodiment between mobile terminal by base station and some processing modes carrying out resource acquisition between mobile terminal are essentially identical in the present embodiment, is not therefore done and too much repeats.
In the present embodiment, it is significantly better than access the Internet (such as Web server) by the efficiency of base station acquisition resource and obtains the efficiency of resource, and due to master mobile terminal with from mobile terminal all in same community/WLAN, therefore resource transmission speed will be greatly improved.Additionally, data transmission can also select multiple transmission means according to practical situation, such as take the modes such as WIFI access, Bluetooth transmission, such that it is able to save flow cost.
With reference to the schematic flow sheet that Figure 12, Figure 12 are resource acquiring method the 3rd embodiment of the present invention. In the present embodiment, specifically illustrate for base station with master mobile terminal as shown in Figure 5 with some connected modes from mobile terminal and server. In the present embodiment, master mobile terminal and some carry out the data interaction of resource acquisition by base station between mobile terminal and include:
Step S310, master mobile terminal is sent resource acquisition and asks and be forwarded to by base station some from mobile terminal to base station, and wherein, described resource at least includes the resource downloaded from mobile terminal from Web server;
Step S320, searches own resource from mobile terminal according to described resource acquisition request, and to base station feedback lookup result;
Step S330, base station is according to described lookup result, send to master mobile terminal and when the resource obtained is not the requested full resource of master mobile terminal from mobile terminal and/or Web server obtain respective resources from corresponding, retransmit to master mobile terminal after the resource of acquisition is spliced into full resource.
Master mobile terminal and some carried out master mobile terminal resource acquisition and above-described embodiment between mobile terminal by base station and some processing modes carrying out resource acquisition between mobile terminal are essentially identical in the present embodiment, is not therefore done and too much repeats.
In the present embodiment, when master mobile terminal sends resource acquisition request to base station, if the resource of base station self not this request, then base station is collected in this community each from the resource mobile terminal, and after completing resource splicing, full resource requested for master mobile terminal is fed back to master mobile terminal. The network architecture in the present embodiment is similar to content distributing network CDN framework, but with CDN framework the difference is that, the data that the network architecture in the present embodiment obtains not are provided by Edge Server (such as Web server), but are provided by the affiliated mobile terminal of this base station.
In the present embodiment, although the memory data output of mobile terminal and transfer rate are all unable to catch up with Edge Server, but the motility of mobile terminal to be significantly better than Edge Server (Edge Server is fixedly installed often), therefore, the access of mobile terminals different under same base station picks out and ensure that the real-time update of corresponding resource under this base station, and for master mobile terminal, if desired a certain resource, especially hot point resource, first can search the adjacent resource from mobile terminal from home base stations, if this locality has requested resource from mobile terminal, then directly respectively from mobile terminal, can directly obtain full resource again from home base stations by resource aggregation to home base stations and after completing the splicing of resource from this locality, thus resource acquisition efficiency is significantly better than and accesses the Internet (such as Web server) and obtain the efficiency of resource in the present embodiment, and due to master mobile terminal with from mobile terminal all in same community/WLAN, therefore resource transmission speed will be greatly improved. additionally, data transmission can also select multiple transmission means according to practical situation, such as take the modes such as WIFI access, Bluetooth transmission, such that it is able to save flow cost.
Further, in resource acquiring method one embodiment of the present invention, when there is multiple master mobile terminal and ask the same same resource from mobile terminal simultaneously, prevent resource deadlock or from mobile terminal by replicating the requested same resource of multiple master mobile terminals and the same resource replicated is sent to the mode of requested multiple master mobile terminals preventing resource deadlock by semaphore or mutex mechanism.
Resource deadlock described in the present embodiment specifically refers to current thread and calls a resource, and next thread or multiple thread ask this resource simultaneously, and the condition that current thread discharges this resource is to wait other threads to terminate, and the condition that other threads terminate such as is at the current thread discharges this resource, thus result in multiple thread to wait mutually, namely create resource deadlock, thus resource is caused to ask or it is also possible to cause program crashing, it is therefore desirable to resource deadlock is prevented.
For process resource access in the present invention would be likely to occur the problem that multiple master mobile terminal asks the same same resource from mobile terminal resource deadlock easily occur simultaneously, in the present embodiment, can pass through adding PV Semaphore Mechanism from mobile terminal, to remain that same resource of same time can only by a thread dispatching. Such as, current queuing Thread Count is P, if queuing thread increases, then and P=P+1, Current resource number is V, if Current resource release, then V=V+1; Just allow when V is more than 0 resource to be called, otherwise forbid. Therefore, for for the single resource of mobile terminal, V=1, when a master mobile terminal asks this resource, then P+1, V-1, and and if only if when this resource has been transmitted to this master mobile terminal, the request of this main whole mobile terminal is complete, then P-1, V+1, hence allows to this resource is carried out next step operation, namely this resource can be allowed to be sent to next master mobile terminal. Therefore, on the basis of PV Semaphore Mechanism, can queue up and distribute same same resource from mobile terminal into multiple master mobile terminals.
In addition, for process resource access in the present invention would be likely to occur the problem that multiple master mobile terminal asks the same same resource from mobile terminal resource deadlock easily occur simultaneously, in the present embodiment, a new resource memory area can opened up from mobile terminal internal memory, and the requested resource of duplication is saved in this memory area, thus ask this requested resource when there is multiple master mobile terminal simultaneously, or currently from mobile terminal when using this requested resource, if there is multiple master mobile terminal all to ask to use this resource, the requested resource replicated in this memory area is then read from mobile terminal, and wirelessly this requested resource is sent to corresponding master mobile terminal, call from mobile terminal self or other master mobile terminals call thus not affecting.
Schematic flow sheet with reference to Figure 13, Figure 13 resource acquiring method the 4th of the present invention embodiment. In the present embodiment, described resource acquiring method includes:
Step S101, master mobile terminal sends resource acquisition request to some from mobile terminal, and wherein, described resource at least includes the described resource downloaded from mobile terminal from Web server;
Master mobile terminal to some send resource acquisition request from mobile terminal before, master mobile terminal and respectively carry out shaking hands so that setting up communication connection between mobile terminal. Wherein, master mobile terminal and the mode realizing shaking hands between mobile terminal can adopt the three-way handshake protocol of TCP/IP, or other handshake methods can also be taked, but master mobile terminal only need to get the MAC Address from mobile terminal and IP address uniquely to determine that this is from mobile terminal, and then realize master mobile terminal and each from the data interaction between mobile terminal.
Need further illustrate be, resource described in the present embodiment at least includes the resource downloaded from mobile terminal from Web server, such as multimedia file or other resource type files, prior art is generally all full resource is divided into multiple resource data bag be transmitted for the download of such resource, and completes the assembling of resource data bag to form full resource at receiving terminal. The present invention is specific to the type resource illustrate, but does not limit above-mentioned resource, it is also possible to be from other data mobile terminal.
Resource acquisition that master mobile terminal sends request at least includes from the address of mobile terminal, Self address and requested resource information, such as resource ID title etc., then, be assembled into the message of specific format with other related datas after, it be sent to successively and set up each from mobile terminal of connection of shaking hands.
Step S102, the lookup result fed back after searching own resource from mobile terminal according to described resource acquisition request described in the reception of described master mobile terminal;
In the present embodiment, resource information corresponding asking from mobile terminal according to resource acquisition, search own resource, and to master mobile terminal feedback search result. For from mobile terminal self, lookup result includes: has whole resource, have part resource, have resource, and for master mobile terminal, lookup result includes: has one to have whole resource from terminal, have one to have part resource from terminal, have and multiple have whole resource from terminal, have and multiple have part resource, neither one to have resource from terminal from terminal, wherein, have multiple have part resource to include again from terminal all part resource sum to whole full resource, all part resource add up and are not equal to whole full resource.
It should be noted that, in the present embodiment, the form of expression of lookup result for feeding back from from mobile terminal to master mobile terminal is not limit, it is configured with specific reference to being actually needed, can be such as message, can also be from the stored respective resources data of mobile terminal etc., resource data can be obtained selectively, it is thus preferred to send a notification message from mobile terminal and inform the lookup result that master mobile terminal is corresponding for ease of master mobile terminal.
Step S103, described master mobile terminal is according to described lookup result, from corresponding described from acquisition respective resources mobile terminal and/or Web server.
In the present embodiment, master mobile terminal is also different according to the processing mode of the different corresponding acquisition resource of lookup result, such as multiple all have complete resource from mobile terminal, then master mobile terminal can arbitrarily select from which one from mobile terminal, obtain this complete resource; Such as currently be connected with master mobile terminal all from mobile terminal all without master mobile terminal requested resource, then master mobile terminal will obtain resource requirement from Web server.
Obtain from Web server it should be noted that obtain mode from resource stored mobile terminal mainly by existing resources such as P2P, naturally it is also possible to be that the resource acquisition mode adopting the present invention obtains from other from mobile terminal. The present invention is especially suitable for the acquisition of hot point resource (namely downloading the resource that user is many and download time is very high, such as hot broadcast TV play).
Such as, party B-subscriber around party A-subscriber, C user, D user, E user passes through mobile terminal when downloading same resource from Web server, party A-subscriber can pass through to party B-subscriber, C user, D user, E user sends resource acquisition request respectively, thus indirectly obtaining the resource that surrounding user is downloaded from Web server by mobile terminal, this is for party A-subscriber, owing to adopting WiFi or bluetooth approach transmission data between mobile terminals, thus relatively improve resource transmission speed, and for Web server, owing to asking the number of users of resource to decrease, thus correspondence decreases the repetition traffic volume of resource, thus relatively improve resource transmission speed, therefore, improve the transmission speed of resource on the whole.
In the present embodiment, owing to master mobile terminal can realize acquisition resource from other mobile terminals, therefore being obviously improved of resource transmission speed can be realized, simultaneously without limiting specific transmission environment requirement, such as movable signal, Web server performance, mobile terminal use scene (geographical position, time) etc., thus the mode of acquisition for mobile terminal resource is also more flexible, thus promoting user to use the experience of acquisition for mobile terminal resource.
Further alternative, based on above-described embodiment, in another embodiment of resource acquiring method of the present invention, the processing mode of the above-mentioned master mobile terminal lookup result to feeding back from mobile terminal specifically includes four class situations:
The first kind: when described lookup result is at least there is a full resource having master mobile terminal requested from mobile terminal storage, master mobile terminal obtains this full resource from what a storage had a requested full resource of master mobile terminal from mobile terminal;
Equations of The Second Kind: when described lookup result is at least there is full resource that one group has master mobile terminal requested from mobile terminal storage, the multiple of full resource that master mobile terminal has master mobile terminal requested from one group of storage obtain appropriate section resource from mobile terminal respectively and are undertaken splicing to obtain requested full resource by the multiple part resource obtained;
3rd class: when described lookup result be all from mobile terminal, only store the part resource having master mobile terminal requested time, master mobile terminal is from obtaining accordingly this part resource from mobile terminal and from obtaining remainder resource Web server and being undertaken splicing to obtain requested full resource by the remainder resource from the part resource of mobile terminal Yu Web server obtained;
4th class: when described lookup result be all from mobile terminal, be absent from master mobile terminal requested resource time, master mobile terminal obtains requested full resource from Web server.
The present embodiment be to master mobile terminal from each obtain resource from mobile terminal wound time the explanation of various situations that occurs, except the 4th class extreme case, under other three classes situations, the speed of acquisition for mobile terminal resource will faster than the resource transmission speed corresponding to conventional resource acquisition mode.
Further alternative, in resource acquiring method one embodiment of the present invention, application scenarios as shown in Figure 4, described master mobile terminal described is connected with base station from mobile terminal respectively with some; Described master mobile terminal and described carry out data interaction from mobile terminal by described base station and Web server; Described master mobile terminal and some described data interactions being carried out resource acquisition between mobile terminal by described base station, wherein, diverse geographic location region is correspondingly arranged on different described base station and described base station real-time update and records the described master mobile terminal of access and/or described from mobile terminal.
In the diagram, server is specifically illustrated with base station. Master mobile terminal belongs to same community or WLAN with some from mobile terminal, and receive service (the such as mobile communications network of same base station, wireless Wi-Fi hotspot network) carry out data interaction, including the data interaction between mobile terminal and Web server and the data interaction between each mobile terminal. In this networking mode, owing to the position of base station is fixing, mobile terminal (include master mobile terminal with from mobile terminal) then can be followed the movement of user and be converted its affiliated subdistrict or WLAN, therefore mobile terminal is random with the relation of base station, namely the mobile terminal in same base station cell or wireless Wi-Fi hotspot network is that real-time change updates, thus the resource in the mobile terminal under this base station is also real-time change renewal.
Further alternative, application scenarios as shown in Figure 4, described master mobile terminal is additionally operable to send resource acquisition to described base station is asked and is forwarded to by described base station some described from mobile terminal, and wherein, described resource at least includes the described resource downloaded from mobile terminal from Web server; Described it is additionally operable to search own resource and to described base station feedback lookup result and be forwarded to described master mobile terminal by described base station according to described resource acquisition request from mobile terminal; Described master mobile terminal is additionally operable to according to described lookup result, from corresponding described from acquisition respective resources mobile terminal and/or Web server.
Application scenarios as shown in Figure 5, described resource acquisition system includes base station; Described master mobile terminal is additionally operable to send resource acquisition to described base station is asked and is forwarded to by described base station some described from mobile terminal, and wherein, described resource at least includes the described resource downloaded from mobile terminal from Web server; Described from mobile terminal be additionally operable to according to described resource acquisition request search own resource, to described base station feedback lookup result; Described base station, for according to described lookup result, send to described master mobile terminal and when the resource obtained is not the requested full resource of described master mobile terminal from mobile terminal and/or Web server obtain respective resources from corresponding described, retransmit after the resource of acquisition is spliced into full resource to described master mobile terminal.
Master mobile terminal and some carried out master mobile terminal resource acquisition and above-described embodiment between mobile terminal by base station and some processing modes carrying out resource acquisition between mobile terminal are essentially identical in the present embodiment, is not therefore done and too much repeats.
Schematic flow sheet with reference to Figure 14, Figure 14 resource acquiring method the 5th of the present invention embodiment. In the present embodiment, described resource acquiring method includes:
Step S201, receives, from mobile terminal, the resource acquisition request that master mobile terminal sends, and wherein, described resource at least includes the described resource downloaded from mobile terminal from Web server;
Master mobile terminal to some send resource acquisition request from mobile terminal before, master mobile terminal and respectively carry out shaking hands so that setting up communication connection between mobile terminal. Wherein, master mobile terminal and the mode realizing shaking hands between mobile terminal can adopt the three-way handshake protocol of TCP/IP, or other handshake methods can also be taked, but master mobile terminal only need to get the MAC Address from mobile terminal and IP address uniquely to determine that this is from mobile terminal, and then realize master mobile terminal and each from the data interaction between mobile terminal.
Need further illustrate be, resource described in the present embodiment at least includes the resource downloaded from mobile terminal from Web server, such as multimedia file or other resource type files, prior art is generally all full resource is divided into multiple resource data bag be transmitted for the download of such resource, and completes the assembling of resource data bag to form full resource at receiving terminal. The present invention is specific to the type resource illustrate, but does not limit above-mentioned resource, it is also possible to be from other data mobile terminal.
Step S202, described asks from mobile terminal according to described resource acquisition, searches own resource, obtains lookup result;
In the present embodiment, the resource information that resource lookup module 202 is corresponding in asking according to resource acquisition, search own resource, and to master mobile terminal feedback search result.For from mobile terminal self, lookup result includes: has whole resource, have part resource, have resource, and for master mobile terminal, lookup result includes: has one to have whole resource from terminal, have one to have part resource from terminal, have and multiple have whole resource from terminal, have and multiple have part resource, neither one to have resource from terminal from terminal, wherein, have multiple have part resource to include again from terminal all part resource sum to whole full resource, all part resource add up and are not equal to whole full resource.
It should be noted that, in the present embodiment, the form of expression of lookup result for feeding back from from mobile terminal to master mobile terminal is not limit, it is configured with specific reference to being actually needed, can be such as message, can also be from the stored respective resources data of mobile terminal etc., resource data can be obtained selectively, it is thus preferred to send a notification message from mobile terminal and inform the lookup result that master mobile terminal is corresponding for ease of master mobile terminal.
Step S203, described sends described lookup result to described master mobile terminal from mobile terminal, obtains respective resources from corresponding described according to described lookup result for described master mobile terminal from mobile terminal and/or Web server.
In the present embodiment, described lookup result is sent to described master mobile terminal by lookup result sending module 203, master mobile terminal is also different according to the processing mode of the different corresponding acquisition resource of lookup result, such as multiple all have complete resource from mobile terminal, then master mobile terminal can arbitrarily select from which one from mobile terminal, obtain this complete resource; Such as currently be connected with master mobile terminal all from mobile terminal all without master mobile terminal requested resource, then master mobile terminal will obtain resource requirement from Web server.
Obtain from Web server it should be noted that obtain mode from resource stored mobile terminal mainly by existing resources such as P2P, naturally it is also possible to be that the resource acquisition mode adopting the present invention obtains from other from mobile terminal. The present invention is especially suitable for the acquisition of hot point resource (namely downloading the resource that user is many and download time is very high, such as hot broadcast TV play).
Such as, party B-subscriber around party A-subscriber, C user, D user, E user passes through mobile terminal when downloading same resource from Web server, party A-subscriber can pass through to party B-subscriber, C user, D user, E user sends resource acquisition request respectively, thus indirectly obtaining the resource that surrounding user is downloaded from Web server by mobile terminal, this is for party A-subscriber, owing to adopting WiFi or bluetooth approach transmission data between mobile terminals, thus relatively improve resource transmission speed, and for Web server, owing to asking the number of users of resource to decrease, thus correspondence decreases the repetition traffic volume of resource, thus relatively improve resource transmission speed, therefore, improve the transmission speed of resource on the whole.
In the present embodiment, owing to master mobile terminal can realize acquisition resource from other mobile terminals, therefore being obviously improved of resource transmission speed can be realized, simultaneously without limiting specific transmission environment requirement, such as movable signal, Web server performance, mobile terminal use scene (geographical position, time) etc., thus the mode of acquisition for mobile terminal resource is also more flexible, thus promoting user to use the experience of acquisition for mobile terminal resource.
Further alternative, based on above-described embodiment, in another embodiment of resource acquiring method of the present invention, the processing mode of the above-mentioned master mobile terminal lookup result to feeding back from mobile terminal specifically includes four class situations:
The first kind: when described lookup result is at least there is a full resource having master mobile terminal requested from mobile terminal storage, master mobile terminal obtains this full resource from what a storage had a requested full resource of master mobile terminal from mobile terminal;
Equations of The Second Kind: when described lookup result is at least there is full resource that one group has master mobile terminal requested from mobile terminal storage, the multiple of full resource that master mobile terminal has master mobile terminal requested from one group of storage obtain appropriate section resource from mobile terminal respectively and are undertaken splicing to obtain requested full resource by the multiple part resource obtained;
3rd class: when described lookup result be all from mobile terminal, only store the part resource having master mobile terminal requested time, master mobile terminal is from obtaining accordingly this part resource from mobile terminal and from obtaining remainder resource Web server and being undertaken splicing to obtain requested full resource by the remainder resource from the part resource of mobile terminal Yu Web server obtained;
4th class: when described lookup result be all from mobile terminal, be absent from master mobile terminal requested resource time, master mobile terminal obtains requested full resource from Web server.
The present embodiment be to master mobile terminal from each obtain resource from mobile terminal wound time the explanation of various situations that occurs, except the 4th class extreme case, under other three classes situations, the speed of acquisition for mobile terminal resource will faster than the resource transmission speed corresponding to conventional resource acquisition mode.
Further alternative, in resource acquiring method one embodiment of the present invention, application scenarios as shown in Figure 4, described master mobile terminal described is connected with base station from mobile terminal respectively with some; Described master mobile terminal and described carry out data interaction from mobile terminal by described base station and Web server; Described master mobile terminal and some described data interactions being carried out resource acquisition between mobile terminal by described base station, wherein, diverse geographic location region is correspondingly arranged on different described base station and described base station real-time update and records the described master mobile terminal of access and/or described from mobile terminal.
In the diagram, server is specifically illustrated with base station. Master mobile terminal belongs to same community or WLAN with some from mobile terminal, and receive service (the such as mobile communications network of same base station, wireless Wi-Fi hotspot network) carry out data interaction, including the data interaction between mobile terminal and Web server and the data interaction between each mobile terminal. In this networking mode, owing to the position of base station is fixing, mobile terminal (include master mobile terminal with from mobile terminal) then can be followed the movement of user and be converted its affiliated subdistrict or WLAN, therefore mobile terminal is random with the relation of base station, namely the mobile terminal in same base station cell or wireless Wi-Fi hotspot network is that real-time change updates, thus the resource in the mobile terminal under this base station is also real-time change renewal.
Further alternative, application scenarios as shown in Figure 4, described master mobile terminal is additionally operable to send resource acquisition to described base station is asked and is forwarded to by described base station some described from mobile terminal, and wherein, described resource at least includes the described resource downloaded from mobile terminal from Web server; Described it is additionally operable to search own resource and to described base station feedback lookup result and be forwarded to described master mobile terminal by described base station according to described resource acquisition request from mobile terminal; Described master mobile terminal is additionally operable to according to described lookup result, from corresponding described from acquisition respective resources mobile terminal and/or Web server.
Application scenarios as shown in Figure 5, described resource acquisition system includes base station; Described master mobile terminal is additionally operable to send resource acquisition to described base station is asked and is forwarded to by described base station some described from mobile terminal, and wherein, described resource at least includes the described resource downloaded from mobile terminal from Web server; Described from mobile terminal be additionally operable to according to described resource acquisition request search own resource, to described base station feedback lookup result; Described base station, for according to described lookup result, send to described master mobile terminal and when the resource obtained is not the requested full resource of described master mobile terminal from mobile terminal and/or Web server obtain respective resources from corresponding described, retransmit after the resource of acquisition is spliced into full resource to described master mobile terminal.
Master mobile terminal and some carried out master mobile terminal resource acquisition and above-described embodiment between mobile terminal by base station and some processing modes carrying out resource acquisition between mobile terminal are essentially identical in the present embodiment, is not therefore done and too much repeats.
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 station terminal equipment (can be mobile phone, computer, server, air-conditioner, or the network equipment etc.) perform the method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every equivalent structure utilizing description of the present invention and accompanying drawing content to make or equivalence flow process conversion; or directly or indirectly it is used in other relevant technical fields, all in like manner include in the scope of patent protection of the present invention.

Claims (14)

1. a resource acquisition system, it is characterised in that described resource acquisition system includes some master mobile terminals, some from mobile terminal;
Described master mobile terminal, for some described from mobile terminal transmission resource acquisition request, wherein, described resource at least includes the described resource downloaded from mobile terminal from Web server;
Described from mobile terminal, for searching own resource according to described resource acquisition request, and to described master mobile terminal feedback search result;
Described master mobile terminal, is additionally operable to according to described lookup result, from corresponding described from acquisition respective resources mobile terminal and/or Web server.
2. resource acquisition system as claimed in claim 1, it is characterised in that described master mobile terminal specifically for:
When described lookup result is at least there is the full resource having described master mobile terminal requested from mobile terminal storage described in, described in a storage has the requested full resource of described master mobile terminal, from mobile terminal, obtain this full resource; Or
When described lookup result is at least there is the full resource having described master mobile terminal requested from mobile terminal storage described in a group, the multiple described of full resource having described master mobile terminal requested from one group of storage obtains appropriate section resource from mobile terminal respectively and is undertaken splicing to obtain requested full resource by the multiple part resource obtained; Or
When described lookup result be all described from mobile terminal, only store the part resource having described master mobile terminal requested time, described from mobile terminal, obtain this part resource and from Web server obtaining remainder resource and carrying out splicing to obtain requested full resource from the remainder resource of the part resource of mobile terminal Yu Web server described in obtaining from corresponding;Or
When described lookup result be all described from mobile terminal, be absent from described master mobile terminal requested resource time, from Web server, obtain requested full resource.
3. resource acquisition system as claimed in claim 1, it is characterised in that described master mobile terminal with some described in be connected with base station respectively from mobile terminal; Described master mobile terminal and described carry out data interaction from mobile terminal by described base station and Web server; Described master mobile terminal and some described data interactions being carried out resource acquisition between mobile terminal by described base station, wherein, diverse geographic location region is correspondingly arranged on different described base station and described base station real-time update and records the described master mobile terminal of access and/or described from mobile terminal.
4. resource acquisition system as claimed in claim 3, it is characterised in that described resource acquisition system also includes described base station;
Described master mobile terminal, is additionally operable to send resource acquisition to described base station and asks and be forwarded to by described base station some described from mobile terminal, and wherein, described resource at least includes the described resource downloaded from mobile terminal from Web server;
Described from mobile terminal, it is additionally operable to search own resource according to described resource acquisition request, to described base station feedback lookup result;
Described base station, for according to described lookup result, send to described master mobile terminal and when the resource obtained is not the requested full resource of described master mobile terminal from mobile terminal and/or Web server obtain respective resources from corresponding described, retransmit after the resource of acquisition is spliced into full resource to described master mobile terminal.
5. the resource acquisition system as described in claim 1-4 any one, it is characterized in that, when there is multiple described master mobile terminal and ask same described same resource from mobile terminal simultaneously, described prevent resource deadlock from mobile terminal by semaphore or mutex mechanism; Or
Described it is additionally operable to by replicating the requested same resource of multiple described master mobile terminal and the same resource replicated is sent to the mode of requested multiple described master mobile terminal preventing resource deadlock from mobile terminal.
6. a master mobile terminal, it is characterised in that described master mobile terminal is connected from mobile terminal with some, wherein, described master mobile terminal includes:
Resource request sending module, for some described from mobile terminal transmission resource acquisition request, wherein, described resource at least includes the described resource downloaded from mobile terminal from Web server;
Lookup result receiver module, is used for the lookup result fed back after searching own resource from mobile terminal according to described resource acquisition request described in receiving;
Source obtaining module, for according to described lookup result, from corresponding described from acquisition respective resources mobile terminal and/or Web server.
7. one kind from mobile terminal, it is characterised in that described be connected from mobile terminal with master mobile terminal, wherein, described includes from mobile terminal:
Resource request receiver module, for receiving the resource acquisition request that described master mobile terminal sends, wherein, described resource at least includes the described resource downloaded from mobile terminal from Web server;
Resource lookup module, for asking according to described resource acquisition, searches own resource, obtains lookup result;
Lookup result sending module, for sending described lookup result to described master mobile terminal, obtains respective resources according to described lookup result for described master mobile terminal described in corresponding from mobile terminal and/or Web server.
8. a resource acquiring method, it is characterised in that described resource acquiring method includes:
Master mobile terminal sends resource acquisition request to some from mobile terminal, and wherein, described resource at least includes the resource downloaded from mobile terminal from Web server;
Own resource is searched according to described resource acquisition request from mobile terminal, and to master mobile terminal feedback search result;
Master mobile terminal, according to described lookup result, obtains respective resources from corresponding from mobile terminal and/or Web server.
9. resource acquiring method as claimed in claim 8, it is characterised in that described master mobile terminal, according to described lookup result, includes from corresponding from acquisition respective resources mobile terminal and/or Web server:
When described lookup result is at least there is a full resource having master mobile terminal requested from mobile terminal storage, master mobile terminal obtains this full resource from what a storage had a requested full resource of master mobile terminal from mobile terminal; Or
When described lookup result is at least there is full resource that one group has master mobile terminal requested from mobile terminal storage, the multiple of full resource that master mobile terminal has master mobile terminal requested from one group of storage obtain appropriate section resource from mobile terminal respectively and are undertaken splicing to obtain requested full resource by the multiple part resource obtained; Or
When described lookup result be all from mobile terminal, only store the part resource having master mobile terminal requested time, master mobile terminal is from obtaining accordingly this part resource from mobile terminal and from obtaining remainder resource Web server and being undertaken splicing to obtain requested full resource by the remainder resource from the part resource of mobile terminal Yu Web server obtained; Or
When described lookup result be all from mobile terminal, be absent from master mobile terminal requested resource time, master mobile terminal obtains requested full resource from Web server.
10. resource acquiring method as claimed in claim 8, it is characterised in that master mobile terminal is connected with base station from mobile terminal respectively with some; Master mobile terminal and carry out data interaction by base station and Web server from mobile terminal; Master mobile terminal and some data interactions being carried out resource acquisition between mobile terminal by base station, wherein, diverse geographic location region is correspondingly arranged on different base station and base station real-time update and records the master mobile terminal of access and/or from mobile terminal.
11. resource acquiring method as claimed in claim 10, it is characterised in that described master mobile terminal and some carry out the data interaction of resource acquisition by base station between mobile terminal and include:
Master mobile terminal is sent resource acquisition and asks and be forwarded to by base station some from mobile terminal to base station, and wherein, described resource at least includes the resource downloaded from mobile terminal from Web server;
Own resource is searched according to described resource acquisition request from mobile terminal, and to base station feedback lookup result;
Base station is according to described lookup result, send to master mobile terminal and when the resource obtained is not the requested full resource of master mobile terminal from mobile terminal and/or Web server obtain respective resources from corresponding, retransmit to master mobile terminal after the resource of acquisition is spliced into full resource.
12. the resource acquiring method as described in claim 8-11 any one, it is characterized in that, when there is multiple master mobile terminal and ask the same same resource from mobile terminal simultaneously, prevent resource deadlock or from mobile terminal by replicating the requested same resource of multiple master mobile terminals and the same resource replicated is sent to the mode of requested multiple master mobile terminals preventing resource deadlock from mobile terminal by semaphore or mutex mechanism.
13. a resource acquiring method, it is characterised in that described resource acquiring method includes:
Master mobile terminal sends resource acquisition request to some from mobile terminal, and wherein, described resource at least includes the described resource downloaded from mobile terminal from Web server;
The lookup result fed back after searching own resource from mobile terminal according to described resource acquisition request described in the reception of described master mobile terminal;
Described master mobile terminal is according to described lookup result, from corresponding described from acquisition respective resources mobile terminal and/or Web server.
14. a resource acquiring method, it is characterised in that described resource acquiring method includes:
Receiving, from mobile terminal, the resource acquisition request that master mobile terminal sends, wherein, described resource at least includes the described resource downloaded from mobile terminal from Web server;
Described ask according to described resource acquisition from mobile terminal, search own resource, obtain lookup result;
Described from mobile terminal, described lookup result is sent to described master mobile terminal, from mobile terminal and/or Web server, obtain respective resources from corresponding described according to described lookup result for described master mobile terminal.
CN201511000806.1A 2015-12-28 2015-12-28 Resources obtaining system, master mobile terminal, slave mobile terminal and resources obtaining method Pending CN105681390A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511000806.1A CN105681390A (en) 2015-12-28 2015-12-28 Resources obtaining system, master mobile terminal, slave mobile terminal and resources obtaining method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511000806.1A CN105681390A (en) 2015-12-28 2015-12-28 Resources obtaining system, master mobile terminal, slave mobile terminal and resources obtaining method

Publications (1)

Publication Number Publication Date
CN105681390A true CN105681390A (en) 2016-06-15

Family

ID=56189580

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511000806.1A Pending CN105681390A (en) 2015-12-28 2015-12-28 Resources obtaining system, master mobile terminal, slave mobile terminal and resources obtaining method

Country Status (1)

Country Link
CN (1) CN105681390A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106850810A (en) * 2017-02-10 2017-06-13 四川民工加网络科技有限公司 A kind of moveable building site electronic bits of data inquiry system and method
CN109587260A (en) * 2018-12-18 2019-04-05 维沃移动通信有限公司 A kind of resource acquiring method, device and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571863A (en) * 2010-12-30 2012-07-11 国际商业机器公司 Method and device for realizing content sharing between mobile terminals
CN103957215A (en) * 2014-05-08 2014-07-30 深圳市中兴移动通信有限公司 Method, terminals and system for achieving network data sharing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571863A (en) * 2010-12-30 2012-07-11 国际商业机器公司 Method and device for realizing content sharing between mobile terminals
US20150358422A1 (en) * 2010-12-30 2015-12-10 International Business Machines Corporation Content sharing among mobile terminals
CN103957215A (en) * 2014-05-08 2014-07-30 深圳市中兴移动通信有限公司 Method, terminals and system for achieving network data sharing

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106850810A (en) * 2017-02-10 2017-06-13 四川民工加网络科技有限公司 A kind of moveable building site electronic bits of data inquiry system and method
CN109587260A (en) * 2018-12-18 2019-04-05 维沃移动通信有限公司 A kind of resource acquiring method, device and system
CN109587260B (en) * 2018-12-18 2022-03-04 维沃移动通信有限公司 Resource acquisition method, device and system

Similar Documents

Publication Publication Date Title
US8296375B1 (en) Parallel management of load servers, cache servers, and feed servers
KR101806951B1 (en) Method and apparatus for receiving contents on mobile communication system
US8498657B1 (en) User interface update signaling
CN106648369A (en) Switching device and method for application program
CN104965848A (en) Front-end resource loading method and apparatus
CN105978788A (en) Message pushing device and method thereof
JP2023535892A (en) Discontinuous reception configuration parameters for communications
CN105813148A (en) Network switching apparatus and method
CN105471988B (en) Contact information pushing method, server and terminal
CN107995245B (en) A kind of method and terminal of resource-sharing
CN102265275A (en) Method, apparatus and computer program product for providing unrestricted content on a user terminal
CN105956104A (en) Business view framework and development method thereof
CN106657611A (en) Device and method for changing application theme
CN105681561A (en) Advertisement blocking device and method
CN105792327A (en) Wireless access method, mobile terminal and server
US20130311984A1 (en) Design and Deployment of Mobile Enterprise Application Platform
JP2024504313A (en) Data transmission method, terminal and network equipment
WO2012019391A1 (en) System and method for obtaining detail information of number
CN106569899A (en) Ajax communication system and method
CN105681390A (en) Resources obtaining system, master mobile terminal, slave mobile terminal and resources obtaining method
CN106547565A (en) A kind of browser exception report method and system
US9508090B1 (en) End user participation in mobile advertisement
CN105722142A (en) Mobile terminal and multilink-based data streaming method
CN104247471A (en) Optimizing backhaul and wireless link capacity in mobile telecommunication systems
KR100650351B1 (en) Contents update system for potable device and method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160615

RJ01 Rejection of invention patent application after publication