CN105049452A - Resource download mode switching method and device, and intelligent terminal - Google Patents

Resource download mode switching method and device, and intelligent terminal Download PDF

Info

Publication number
CN105049452A
CN105049452A CN201510527392.1A CN201510527392A CN105049452A CN 105049452 A CN105049452 A CN 105049452A CN 201510527392 A CN201510527392 A CN 201510527392A CN 105049452 A CN105049452 A CN 105049452A
Authority
CN
China
Prior art keywords
network
type
resource
downloading mode
download
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510527392.1A
Other languages
Chinese (zh)
Other versions
CN105049452B (en
Inventor
陈启安
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510527392.1A priority Critical patent/CN105049452B/en
Publication of CN105049452A publication Critical patent/CN105049452A/en
Application granted granted Critical
Publication of CN105049452B publication Critical patent/CN105049452B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/168Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP] specially adapted for link layer protocols, e.g. asynchronous transfer mode [ATM], synchronous optical network [SONET] or point-to-point protocol [PPP]

Abstract

This invention is applicable to the field of communication, and provides a resource download mode switching method and device, and an intelligent terminal. The method includes the following steps: obtaining the type of a current access network after receiving a resource download request, wherein the classification of the type of the network is related to download safety; searching for a corresponding download mode for the obtained network type in a preset relationship table of network types and download modes; and downloading corresponding resources according to the searched download mode. According to the embodiment of this invention, the safety of the downloaded resource is higher.

Description

The changing method of resource downloading mode, device and intelligent terminal
Technical field
The embodiment of the present invention belongs to the communications field, particularly relates to a kind of changing method of resource downloading mode, device and intelligent terminal.
Background technology
At present, the configuration of intelligent terminal is more and more higher, as 8 core 64 has appearred in cpu, network configuration aspect is also upgraded to 4G by 2G, along with increasing of intelligent terminal configuration, from strength to strength, information processing rate (speed as resource downloading) is also more and more faster for its function had.
Existing resource downloading method has 2 kinds: one is that common server is downloaded, and namely directly downloads from server; Another kind is that point-to-point (pointtopoint, P2P) downloads.Wherein, when adopting common server to download, speed of download is comparatively slow but fail safe is higher; When adopting the P2P that there is seed to download, quickly, but fail safe is lower for speed of download.
To sum up, the download adopting above-mentioned resource downloading method to carry out resource if random, then may cause resource downloading fail safe lower.
Summary of the invention
Embodiments provide a kind of changing method of resource downloading mode, device and intelligent terminal, be intended to solve existing method when downloaded resources, the problem that resource downloading fail safe is lower may be caused.
First aspect, provide a kind of changing method of resource downloading mode, described method comprises:
After receiving resource download request, obtain the type of the network of current access, the division of the type of described network is relevant with download fail safe;
At the downloading mode that the network type preset is corresponding with the type of searching the network of acquisition in downloading mode relation table;
Corresponding resource is downloaded according to the downloading mode found.
In conjunction with first aspect, in the first possible implementation of first aspect, the downloading mode that described basis finds downloads corresponding resource, specifically comprises:
When the downloading mode found is greater than a kind, detect the operating state of securing software;
When the operating state of securing software meets the requirement of level of security, adopt fail safe poor but speed of download downloading mode downloaded resources faster;
When the operating state of securing software does not meet the requirement of level of security, adopt the downloading mode downloaded resources that fail safe is higher.
In conjunction with the first possible implementation of first aspect, in the implementation that the second is possible, the poor but speed of download downloading mode downloaded resources faster of described employing fail safe, specifically comprises:
By the seed of P2P protocol search resource;
When searching the seed of resource, download corresponding resource by the seed searched;
When not searching the seed of resource, the downloading mode of common server is adopted to download corresponding resource.
In conjunction with first aspect, in the third possible implementation of first aspect, described receive resource download request after, before obtaining the information of the network of current access, comprising:
Obtain the title of the network of current access;
The title of the network of acquisition is compared with the type information preset, and when the title of the network obtained is identical with the type information preset, is the type of the network that described default type information is corresponding by the type identification of the network of current access.
In conjunction with the third possible implementation of first aspect, in the 4th kind of possible implementation, when the title of the network obtained is different from the type information preset, the title of the network of the current access that display obtains, so that the type of the network of the current access of user ID.
Second aspect, provide a kind of switching device shifter of resource downloading mode, described device comprises:
Network type acquiring unit, after receiving resource download request, obtains the type of the network of current access, and the division of the type of described network is relevant with download fail safe;
Downloading mode searches unit, for the network type downloading mode corresponding with the type of searching the network of acquisition in downloading mode relation table preset;
Resource downloading unit, for downloading corresponding resource according to the downloading mode found.
In conjunction with second aspect, in the first possible implementation of second aspect, described resource downloading unit comprises:
Securing software operating state detection module, during for being greater than a kind at the downloading mode found, detects the operating state of securing software;
First resource download module, for when the operating state of securing software meets the requirement of level of security, adopts fail safe poor but speed of download downloading mode downloaded resources faster;
Secondary resource download module, for when the operating state of securing software does not meet the requirement of level of security, adopts the downloading mode downloaded resources that fail safe is higher.
In conjunction with the first possible implementation of second aspect, in the implementation that the second is possible, described first resource download module comprises:
Feed search module, for the seed by point-to-point P2P protocol search resource;
Point-to-point download module, for when searching the seed of resource, downloads corresponding resource by the seed searched;
Common server download module, for when not searching the seed of resource, adopts the downloading mode of common server to download corresponding resource.
In conjunction with second aspect, in the third possible implementation of second aspect, described device comprises:
Network name acquiring unit, for obtaining the title of the network of current access;
The automatic division unit of network type, title for the network by acquisition compares with the type information preset, and when the title of the network obtained is identical with the type information preset, be the type of the network that described default type information is corresponding by the type identification of the network of current access.
In conjunction with the third possible implementation of second aspect, in the 4th kind of possible implementation, described device comprises:
The manual division unit of network type, for when the title of the network obtained is different from the type information preset, the title of the network of the current access that display obtains, so that the type of the network of the current access of user ID.
The third aspect, provides a kind of intelligent terminal, and described intelligent terminal comprises the switching device shifter of the resource downloading mode according to any one of the claims 6 to 10.
In embodiments of the present invention, because the division of the type of network is relevant with download fail safe, therefore, when adopting the downloading mode downloaded resources arrived according to the type search of network, fail safe is higher, also more realistic demand.
Accompanying drawing explanation
Fig. 1 is the flow chart of the changing method of a kind of resource downloading mode that first embodiment of the invention provides;
Fig. 2 is the structure chart of the switching device shifter of a kind of resource downloading mode that second embodiment of the invention provides.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
In the embodiment of the present invention, after receiving resource download request, obtain the type of the network of current access, the division of the type of described network is relevant with download fail safe, at the downloading mode that the network type preset is corresponding with the type of searching the network of acquisition in downloading mode relation table, and download corresponding resource according to the downloading mode found.
In order to technical solutions according to the invention are described, be described below by specific embodiment.
embodiment one:
Fig. 1 shows the flow chart of the changing method of a kind of resource downloading mode that first embodiment of the invention provides, and details are as follows:
Step S11, after receiving resource download request, obtains the type of the network of current access, and the division of the type of described network is relevant with download fail safe.
Wherein, resource here comprises text message, audio-frequency information, video information etc.In this step, after receiving resource download request, obtain the type of the network of current access, the information such as title, the division of the type of this network is relevant with download fail safe, the type of network divided can comprise: public place type, such as, and the type that the network in coffee-house, restaurant, library etc. is corresponding; Enterprise network, such as, the type that certain in-company network is corresponding; Home network.Certainly, the concrete type that network is corresponding can divide according to user's actual need, such as, the type being only divided into the type of secure network and unsecured network also can, be not construed as limiting herein.
Alternatively, because the type of network is divided according to actual demand by user, therefore, described receive resource download request after, before obtaining the information of the network of current access, comprising:
A1, obtain the title of the network of current access.Search for the ease of user, the entity that the title of network is usually corresponding with this network is relevant, and such as, the title of the network of coffee-house can comprise the printed words such as " coffee " or " coffee " usually.
A2, the title of the network of acquisition to be compared with the type information preset, and when the title of the network obtained is identical with default type information, be the type of the network that described default type information is corresponding by the type identification of the network of current access.Wherein, the type information preset has 1 at least, and can the type information preset be added, deleted, the operation such as revision.Particularly, by the title of the network of acquisition and all kinds of network corresponding preset type information compare, if in the type information preset corresponding to all kinds of network, to there is certain type information identical with the title of the network of acquisition, be then type corresponding to the type information by the type identification of the network of this current access.Such as, suppose that the type of network is public place, the type information preset that then the type is corresponding can comprise: the content such as " coffee ", " coffee ", " restaurant ", " library ", supposing that the title of the network obtained comprises " coffee ", is " public place " by the type identification of this network; Suppose that the type of network is enterprise network, then the type information preset that the type is corresponding can comprise: the content such as " company ", " enterprise ", and supposing that the title of the network obtained comprises " company ", is " enterprise network " by the type identification of this network.
In above-mentioned A1 and A2, when the title of the network obtained is identical with certain type information in the type information preset, be the type of the network that this certain type information is corresponding by the type identification of this network.Certainly, because the type information preset is difficult to enumerate the type information of the title comprising various network, therefore, when the title of the network obtained is different from the type information preset, the title of the network of the current access that display obtains, so that the type of the network of the current access of user ID.Particularly, when there is not the type information identical with the title of the network obtained in the type information preset, the title of the network of the current access that display obtains, receive the identification information that the type of user to the network of this current access identifies again, to complete the mark of the type of the network to this current access.
Step S12, at the downloading mode that the network type preset is corresponding with the type of searching the network of acquisition in downloading mode relation table.
The corresponding relation of network type and downloading mode is stored in the network type preset and downloading mode relation table.Such as, in the network type preset and downloading mode relation table, being designated downloading mode corresponding to the type of safe network predeterminable is P2P, such as, network due to a company has unified network management usually (as installed fire compartment wall, senior antivirus software etc.), therefore, all when in-company PC or mobile phone need to connect outer net can be processed data by corporate server and identify, when the type decision of network is enterprise network, think that this network is safe, now, the downloading mode of this network is predeterminable is P2P; Being designated downloading mode corresponding to the type of non-secure network predeterminable is that common server is downloaded, such as, due to network in public places, usually by directly invading the terminal of user without the WAP (wireless access point) (AccessPoint, AP) of encryption, therefore, when the type decision of the network accessed is public place type, think that the network accessed is non-secure network, now, the downloading mode of the network of access is predeterminable is P2P.Certainly, the type of same network can be downloaded and common server download by corresponding P2P simultaneously, when corresponding 2 kinds of downloading modes, can arrange preferred downloading mode.
Step S13, downloads corresponding resource according to the downloading mode found.
When after the downloading mode that the network type preset is corresponding with the type finding a certain network in downloading mode relation table, adopt the resource that this downloading mode downloaded resources download request is corresponding.Such as, suppose that the downloading mode searched is that P2P downloads, then select P2P downloaded resources; Suppose that the downloading mode searched is for download by common server, then select common server downloaded resources.
Alternatively, the downloading mode that described basis finds downloads corresponding resource, specifically comprises:
B1, when the downloading mode found is greater than a kind, detect the operating state of securing software.Wherein the operating state of securing software comprises: whether fire compartment wall and/or antivirus software are enabled, the level of security facilities of fire compartment wall, and/or the ruuning situation etc. of antivirus software.
B2, when the operating state of securing software meets the requirement of level of security, adopt the poor but speed of download downloading mode downloaded resources faster of fail safe.Particularly, when fire compartment wall and/or antivirus software are enabled, and the level of security of fire compartment wall reaches requirement, and/or during the operational excellence of antivirus software, adopts fail safe poor but speed of download downloading mode downloaded resources faster, to improve speed of download.Such as adopt the downloading mode downloaded resources of P2P.
B3, when the operating state of securing software does not meet the requirement of level of security, adopt the higher downloading mode downloaded resources of fail safe.Particularly, if fire compartment wall and/or antivirus software are not enabled; Or, fire compartment wall and/or antivirus software are enabled, but the level of security of fire compartment wall does not reach requirement, or, the operation conditions of antivirus software is not good, then adopt the downloading mode downloaded resources that fail safe is higher, to ensure the safety of resource downloading, such as, the downloading mode downloaded resources of common server is adopted.
In above-mentioned B1 ~ B3, when the downloading mode found has multiple, detect the operating state of the securing software of access network, and select corresponding downloading mode according to testing result, safer to ensure the downloading mode that downloaded resources is selected.
Alternatively, the poor but speed of download downloading mode downloaded resources faster of described employing fail safe, specifically comprises:
B21, seed by P2P protocol search resource.
B22, when searching the seed of resource, download corresponding resource by the seed searched.
B23, when not searching the seed of resource, the downloading mode of common server is adopted to download corresponding resource.
In above-mentioned B21 ~ B23, when searching seed, download corresponding resource by the seed searched, otherwise, download corresponding resource by common server, to ensure the normal download of resource.Certainly, during owing to being downloaded by P2P, speed of download relevant with the quantity of seed (seed is more, and speed of download is faster), therefore, in order to ensure speed of download, when searching seed, add up the seed amount searched, if when the seed amount searched is less than default seed number threshold value, employing common server is downloaded, if when the seed amount searched is more than or equal to default seed number threshold value, adopts P2P to download.
In first embodiment of the invention, after receiving resource download request, obtain the type of the network of current access, the division of the type of described network is relevant with download fail safe, at the downloading mode that the network type preset is corresponding with the type of searching the network of acquisition in downloading mode relation table, and download corresponding resource according to the downloading mode found.Because the division of the type of network is relevant with download fail safe, therefore, when adopting the downloading mode downloaded resources arrived according to the type search of network, fail safe is higher, also more realistic demand.
Should be understood that in embodiments of the present invention, the size of the sequence number of above-mentioned each process does not also mean that the priority of execution sequence, and the execution sequence of each process should be determined with its function and internal logic, and should not form any restriction to the implementation process of the embodiment of the present invention.
embodiment two:
Fig. 2 shows the structure chart of the switching device shifter of a kind of resource downloading mode that second embodiment of the invention provides, the switching device shifter of this resource downloading mode can be applicable in various intelligent terminal, and this intelligent terminal comprises mobile phone, smart phone, laptop computer, digital broadcast terminal, PDA (personal digital assistant), PMP (portable media player), navigation system etc.Except when when being only applied to mobile terminal, the embodiment described in the disclosure can be applied to the such as fixed terminal such as Digital Television, desktop computer.For convenience of explanation, illustrate only the part relevant to the embodiment of the present invention.
The switching device shifter of this resource downloading mode comprises: network type acquiring unit 21, downloading mode search unit 22, resource downloading unit 23.Wherein:
Network type acquiring unit 21, after receiving resource download request, obtains the type of the network of current access, and the division of the type of described network is relevant with download fail safe.
Wherein, resource here comprises text message, audio-frequency information, video information etc.The type of network divided can comprise: public place type, such as, and the type that the network in coffee-house, restaurant, library etc. is corresponding; Enterprise network, such as, the type that certain in-company network is corresponding; Home network.Certainly, the concrete type that network is corresponding can divide according to user's actual need, such as, the type being only divided into the type of secure network and unsecured network also can, be not construed as limiting herein.
Because the type of network is divided according to actual demand by user, therefore, alternatively, the switching device shifter of described resource downloading mode comprises:
Network name acquiring unit, for obtaining the title of the network of current access.
The automatic division unit of network type, title for the network by acquisition compares with the type information preset, and when the title of the network obtained is identical with the type information preset, be the type of the network that described default type information is corresponding by the type identification of the network of current access.Wherein, the type information preset has 1 at least, and can the type information preset be added, deleted, the operation such as revision.Particularly, by the title of the network of acquisition and all kinds of network corresponding preset type information compare, if in the type information preset corresponding to all kinds of network, to there is certain type information identical with the title of the network of acquisition, be then type corresponding to the type information by the type identification of the network of this current access.
Because the type information preset is difficult to enumerate the type information of the title comprising various network, therefore, alternatively, the switching device shifter of described resource downloading mode comprises:
The manual division unit of network type, for when the title of the network obtained is different from the type information preset, the title of the network of the current access that display obtains, so that the type of the network of the current access of user ID.Particularly, when there is not the type information identical with the title of the network obtained in the type information preset, the title of the network of the current access that display obtains, receive the identification information that the type of user to the network of this current access identifies again, to complete the mark of the type of the network to this current access.
Downloading mode searches unit 22, for the network type downloading mode corresponding with the type of searching the network of acquisition in downloading mode relation table preset.
The corresponding relation of network type and downloading mode is stored in the network type preset and downloading mode relation table.Such as, in network type and the downloading mode relation table preset, being designated downloading mode corresponding to the type of safe network predeterminable is P2P, and being designated downloading mode corresponding to the type of non-secure network predeterminable is common server download.Certainly, the type of same network can be downloaded and common server download by corresponding P2P simultaneously, when corresponding 2 kinds of downloading modes, can arrange preferred downloading mode.
Resource downloading unit 23, for downloading corresponding resource according to the downloading mode found.
Alternatively, described resource downloading unit 23 comprises:
Securing software operating state detection module, during for being greater than a kind at the downloading mode searched, detects the operating state of securing software.Wherein the operating state of securing software comprises: whether fire compartment wall and/or antivirus software are enabled, the level of security facilities of fire compartment wall, and/or the ruuning situation etc. of antivirus software.
First resource download module, for when the operating state of securing software meets the requirement of level of security, adopts fail safe poor but speed of download downloading mode downloaded resources faster.Particularly, when fire compartment wall and/or antivirus software are enabled, and the level of security of fire compartment wall reaches requirement, and/or during the operational excellence of antivirus software, adopt fail safe poor but speed of download downloading mode downloaded resources faster, such as adopt the downloading mode downloaded resources of P2P.
Secondary resource download module, for when the operating state of securing software does not meet the requirement of level of security, adopts the downloading mode downloaded resources that fail safe is higher.Particularly, if fire compartment wall and/or antivirus software are not enabled; Or fire compartment wall and/or antivirus software are enabled, but the level of security of fire compartment wall does not reach requirement, or, the operation conditions of antivirus software is not good, then adopt the downloading mode downloaded resources that fail safe is higher, such as adopt the downloading mode downloaded resources of common server.
Alternatively, described first resource download module comprises:
Feed search module, for the seed by P2P protocol search resource.
Point-to-point download module, for when searching the seed of resource, downloads corresponding resource by the seed searched.
Common server download module, for when not searching the seed of resource, adopts the downloading mode of common server to download corresponding resource.
In above-mentioned feed search module, point-to-point download module, common server download module, when searching seed, download corresponding resource by the seed searched, otherwise, download corresponding resource by common server, to ensure the normal download of resource.Certainly, during owing to being downloaded by P2P, speed of download is relevant with the quantity of seed, therefore, in order to ensure speed of download, when searching seed, add up the seed amount searched, if when the seed amount searched is less than default seed number threshold value, adopt common server to download, if when the seed amount searched is more than or equal to default seed number threshold value, P2P is adopted to download.
In second embodiment of the invention, because the division of the type of network is relevant with download fail safe, therefore, when adopting the downloading mode downloaded resources arrived according to the type search of network, fail safe is higher, also more realistic demand.
Those of ordinary skill in the art can recognize, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with the combination of electronic hardware or computer software and electronic hardware.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the specific works process of the system of foregoing description, device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that disclosed system, apparatus and method can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.
If described function using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection range of claim.

Claims (11)

1. a changing method for resource downloading mode, is characterized in that, described method comprises:
After receiving resource download request, obtain the type of the network of current access, the division of the type of described network is relevant with download fail safe;
At the downloading mode that the network type preset is corresponding with the type of searching the network of acquisition in downloading mode relation table;
Corresponding resource is downloaded according to the downloading mode found.
2. method according to claim 1, is characterized in that, the downloading mode that described basis finds downloads corresponding resource, specifically comprises:
When the downloading mode found is greater than a kind, detect the operating state of securing software;
When the operating state of securing software meets the requirement of level of security, adopt fail safe poor but speed of download downloading mode downloaded resources faster;
When the operating state of securing software does not meet the requirement of level of security, adopt the downloading mode downloaded resources that fail safe is higher.
3. method according to claim 2, is characterized in that, the poor but speed of download downloading mode downloaded resources faster of described employing fail safe, specifically comprises:
By the seed of point-to-point P2P protocol search resource;
When searching the seed of resource, download corresponding resource by the seed searched;
When not searching the seed of resource, the downloading mode of common server is adopted to download corresponding resource.
4. method according to claim 1, is characterized in that, described receive resource download request after, before obtaining the information of the network of current access, comprising:
Obtain the title of the network of current access;
The title of the network of acquisition is compared with the type information preset, and when the title of the network obtained is identical with the type information preset, is the type of the network that described default type information is corresponding by the type identification of the network of current access.
5. method according to claim 4, is characterized in that, when the title of the network obtained is different from the type information preset, the title of the network of the current access that display obtains, so that the type of the network of the current access of user ID.
6. a switching device shifter for resource downloading mode, is characterized in that, described device comprises:
Network type acquiring unit, after receiving resource download request, obtains the type of the network of current access, and the division of the type of described network is relevant with download fail safe;
Downloading mode searches unit, for the network type downloading mode corresponding with the type of searching the network of acquisition in downloading mode relation table preset;
Resource downloading unit, for downloading corresponding resource according to the downloading mode found.
7. device according to claim 6, is characterized in that, described resource downloading unit comprises:
Securing software operating state detection module, during for being greater than a kind at the downloading mode found, detects the operating state of securing software;
First resource download module, for when the operating state of securing software meets the requirement of level of security, adopts fail safe poor but speed of download downloading mode downloaded resources faster;
Secondary resource download module, for when the operating state of securing software does not meet the requirement of level of security, adopts the downloading mode downloaded resources that fail safe is higher.
8. device according to claim 7, is characterized in that, described first resource download module comprises:
Feed search module, for the seed by point-to-point P2P protocol search resource;
Point-to-point download module, for when searching the seed of resource, downloads corresponding resource by the seed searched;
Common server download module, for when not searching the seed of resource, adopts the downloading mode of common server to download corresponding resource.
9. device according to claim 6, is characterized in that, described device comprises:
Network name acquiring unit, for obtaining the title of the network of current access;
The automatic division unit of network type, title for the network by acquisition compares with the type information preset, and when the title of the network obtained is identical with the type information preset, be the type of the network that described default type information is corresponding by the type identification of the network of current access.
10. device according to claim 9, is characterized in that, described device comprises:
The manual division unit of network type, for when the title of the network obtained is different from the type information preset, the title of the network of the current access that display obtains, so that the type of the network of the current access of user ID.
11. 1 kinds of intelligent terminals, is characterized in that, described intelligent terminal comprises the switching device shifter of the resource downloading mode according to any one of the claims 6 to 10.
CN201510527392.1A 2015-08-25 2015-08-25 Switching method, device and the intelligent terminal of resource downloading mode Active CN105049452B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510527392.1A CN105049452B (en) 2015-08-25 2015-08-25 Switching method, device and the intelligent terminal of resource downloading mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510527392.1A CN105049452B (en) 2015-08-25 2015-08-25 Switching method, device and the intelligent terminal of resource downloading mode

Publications (2)

Publication Number Publication Date
CN105049452A true CN105049452A (en) 2015-11-11
CN105049452B CN105049452B (en) 2018-04-20

Family

ID=54455662

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510527392.1A Active CN105049452B (en) 2015-08-25 2015-08-25 Switching method, device and the intelligent terminal of resource downloading mode

Country Status (1)

Country Link
CN (1) CN105049452B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106789222A (en) * 2016-12-13 2017-05-31 飞狐信息技术(天津)有限公司 P2P bandwidth conservations are than on-line control method, device and video website
WO2020103585A1 (en) * 2018-11-19 2020-05-28 Oppo广东移动通信有限公司 File downloading method and related products
CN111970320A (en) * 2020-06-30 2020-11-20 百度在线网络技术(北京)有限公司 Control method and device for OTA data packet issuing flow
CN113364877A (en) * 2021-06-11 2021-09-07 北京百度网讯科技有限公司 Data processing method, device, electronic equipment and medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1630236A (en) * 2004-05-14 2005-06-22 吴晓蓉 Non-real time LAN broadcasting communication method
CN101150410A (en) * 2006-09-21 2008-03-26 腾讯科技(深圳)有限公司 A method and system for sharing resources in network TV direct broadcasting room
CN101247582A (en) * 2007-02-16 2008-08-20 乐金电子(中国)研究开发中心有限公司 Mobile phone downloading method based on WAP protocol and mobile phone adopting the same
CN101764829A (en) * 2008-11-13 2010-06-30 北京搜狗科技发展有限公司 Network resource acquisition method for browser and browser
CN102065118A (en) * 2010-09-16 2011-05-18 深圳市九洲电器有限公司 Method for updating network equipment and device for implementing method
CN103200247A (en) * 2013-03-26 2013-07-10 深圳市网信联动技术有限公司 Data downloading method and personal computer (PC) downloading client side
CN103248962A (en) * 2013-04-23 2013-08-14 华为技术有限公司 Method, equipment and system for obtaining streaming media data
EP2675110A4 (en) * 2011-05-04 2014-04-23 Huawei Device Co Ltd Method, system and terminal for system update between mobile communication terminals
CN103825938A (en) * 2014-01-26 2014-05-28 北京卓易讯畅科技有限公司 Method of downloading resources and device
US20140237117A1 (en) * 2012-02-13 2014-08-21 Ideaware Inc. Method for dynamic network pattern analysis of mobile application, system and recording medium thereof

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1630236A (en) * 2004-05-14 2005-06-22 吴晓蓉 Non-real time LAN broadcasting communication method
CN101150410A (en) * 2006-09-21 2008-03-26 腾讯科技(深圳)有限公司 A method and system for sharing resources in network TV direct broadcasting room
CN101247582A (en) * 2007-02-16 2008-08-20 乐金电子(中国)研究开发中心有限公司 Mobile phone downloading method based on WAP protocol and mobile phone adopting the same
CN101764829A (en) * 2008-11-13 2010-06-30 北京搜狗科技发展有限公司 Network resource acquisition method for browser and browser
CN102065118A (en) * 2010-09-16 2011-05-18 深圳市九洲电器有限公司 Method for updating network equipment and device for implementing method
EP2675110A4 (en) * 2011-05-04 2014-04-23 Huawei Device Co Ltd Method, system and terminal for system update between mobile communication terminals
US20140237117A1 (en) * 2012-02-13 2014-08-21 Ideaware Inc. Method for dynamic network pattern analysis of mobile application, system and recording medium thereof
CN103200247A (en) * 2013-03-26 2013-07-10 深圳市网信联动技术有限公司 Data downloading method and personal computer (PC) downloading client side
CN103248962A (en) * 2013-04-23 2013-08-14 华为技术有限公司 Method, equipment and system for obtaining streaming media data
CN103825938A (en) * 2014-01-26 2014-05-28 北京卓易讯畅科技有限公司 Method of downloading resources and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106789222A (en) * 2016-12-13 2017-05-31 飞狐信息技术(天津)有限公司 P2P bandwidth conservations are than on-line control method, device and video website
WO2020103585A1 (en) * 2018-11-19 2020-05-28 Oppo广东移动通信有限公司 File downloading method and related products
CN111970320A (en) * 2020-06-30 2020-11-20 百度在线网络技术(北京)有限公司 Control method and device for OTA data packet issuing flow
CN111970320B (en) * 2020-06-30 2022-10-14 百度在线网络技术(北京)有限公司 Control method and device for OTA data packet issuing flow
CN113364877A (en) * 2021-06-11 2021-09-07 北京百度网讯科技有限公司 Data processing method, device, electronic equipment and medium
CN113364877B (en) * 2021-06-11 2022-10-11 北京百度网讯科技有限公司 Data processing method, device, electronic equipment and medium

Also Published As

Publication number Publication date
CN105049452B (en) 2018-04-20

Similar Documents

Publication Publication Date Title
EP3270619B1 (en) Network connection control method and system for mobile terminal
CN105376107B (en) Terminal testing method and proxy server
US7299035B2 (en) Server device, mobile communications terminal, information transmitting system and information transmitting method
CN104471917A (en) Application information sharing method and device
CN105049452A (en) Resource download mode switching method and device, and intelligent terminal
EP1869924A1 (en) Method for providing contents for mobile communication terminal
WO2008115298A2 (en) System capability discovery for software defined radio
CN102799825B (en) Push the method for security application, device, terminal and server
CN106547615A (en) A kind of management method and management module of background application
CN105812018A (en) Transmission mode switching method and mobile terminal
CN104965630A (en) Method and system for layout of desktop application icons
CN103037476A (en) Control method for wireless network access and control device for wireless network access
CN103838799A (en) Method, terminal device, cloud server and system for recommending installing software
CN105516246A (en) Method for preventing application program downloading hijacking and server
CN104601262A (en) Information processing method and mobile equipment
US9351101B2 (en) Communication method and apparatus for NFC device and NFC device
CN103414765A (en) Method, device and system for shunting information in graphic code
CN105163135A (en) Method, device and system for downloading network resources and mobile terminal
CN104902526A (en) Method and device for switching network, and mobile terminal
US8832327B1 (en) Loading different device drivers for one device
CN102625290B (en) Method, device, system and terminal for downloading resources
CN105323748A (en) Testing error uploading method and device
CN105354195A (en) Information search method and apparatus
CN105763616A (en) Resource-downloading method and device
US8086778B2 (en) Filter driver to enumerate smartcard nodes for plug and play

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18

Patentee before: Guangdong Opel Mobile Communications Co., Ltd.