WO2011131048A1 - Method and system for network data acquisition - Google Patents

Method and system for network data acquisition Download PDF

Info

Publication number
WO2011131048A1
WO2011131048A1 PCT/CN2011/070932 CN2011070932W WO2011131048A1 WO 2011131048 A1 WO2011131048 A1 WO 2011131048A1 CN 2011070932 W CN2011070932 W CN 2011070932W WO 2011131048 A1 WO2011131048 A1 WO 2011131048A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
network
network connection
connection status
unit
Prior art date
Application number
PCT/CN2011/070932
Other languages
French (fr)
Chinese (zh)
Inventor
郑志昊
田宇红
郭伟
周路明
石玉磊
高宇鹏
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2011131048A1 publication Critical patent/WO2011131048A1/en

Links

Images

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/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5681Pre-fetching or pre-delivering data based on network characteristics
    • 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/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/61Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/289Intermediate processing functionally located close to the data consumer application, e.g. in same machine, in same home or in same sub-network

Definitions

  • the present invention relates to information technology, and in particular, to a method and system for acquiring network data.
  • ADSL Asymmetric Digital Subscriber Line
  • GPRS General Packet Radio Service
  • 3G The third generation mobile communication technology
  • a portable mobile terminal user accesses the network under a good network connection condition (such as a wireless local area network environment)
  • the data acquisition depends on the operation performed by the user, and what data is acquired in real time by the user operating the function. These data are completed very quickly at faster network speeds, while the rest of the time is idle.
  • the better network environment may be converted to a slower network environment (such as the GPRS environment).
  • the time for obtaining data is lengthened due to the slower speed, and the user needs to take a long time. Wait for the data to be obtained.
  • a good network connection condition such as a wireless local area network environment
  • a method for obtaining network data comprising the steps of: establishing a network connection; detecting a network connection status; determining whether the network connection status satisfies a predetermined condition; if the network connection status satisfies a predetermined condition, the background automatically downloads data required by the current application association level and Save to local.
  • a network data acquisition system includes a network connection module for establishing a network connection, a processing module, and a storage module for storing local data, the processing module including a detection unit for detecting a network connection status connected to the network connection module, and a storage unit
  • the detecting unit is connected to determine whether the network connection status satisfies a predetermined condition according to the detection result of the detecting unit, and is connected to the determining unit. If the network connection status satisfies a predetermined condition, the background automatically downloads data required by the current application association level. Save to the download unit of the storage module.
  • a method for obtaining network data includes the following steps: establishing a network connection; detecting a network connection status; Determine whether the network connection status meets the predetermined condition; if the network connection status satisfies the predetermined condition, the background automatically downloads the data required by the program and saves it to the local.
  • a network data acquisition system includes a network connection module for establishing a network connection, a processing module, and a storage module for storing local data, the processing module including a detection unit for detecting a network connection status connected to the network connection module, and a storage unit
  • the detecting unit is connected to the determining unit that determines whether the network connection status satisfies the predetermined condition according to the detection result of the detecting unit, and is connected to the determining unit. If the network connection status satisfies the predetermined condition, the data required for the subsequent automatic downloading of the program is saved and saved to a download unit of the storage module.
  • the method and system for acquiring the network data by determining whether the network connection status satisfies a predetermined condition, if the predetermined condition is met, the data required for the current application association level is downloaded and saved to the local, and the idle or remaining network resources are fully utilized, which is obviously accelerated.
  • the speed of network access improves the user experience.
  • FIG. 1 is a flowchart of a method for acquiring network data according to an embodiment
  • FIG. 2 is a flowchart of a method for acquiring network data in an embodiment when a user accesses a network
  • FIG. 3 is an illustration of an acquisition system of network data of an embodiment.
  • a method for obtaining network data includes the following steps:
  • Step S110 establish a network connection.
  • the connection is established with the host on the corresponding network by wire or wirelessly, for example, when the webpage is accessed, and the page server is established; when the online game is played, the connection is established with the corresponding game server.
  • the network connection status may include one or more of the following information: network connection type, connection bandwidth, free bandwidth, and whether the network connection is occupied.
  • the network connection type can be GPRS, 3G, wired LAN, wireless LAN.
  • the detection of the mobile phone network connection type can request the IP segment corresponding to the corresponding IP address through the mobile phone, from GPRS Or the corresponding relationship of the network segment mapping table of the network such as the wireless local area network to the corresponding network environment, and also through the mobile phone platform (for example, symbian, windows mobile, android System (API) (Application Programming Interface) Get the network environment you are currently using.
  • API android System
  • connection bandwidth can be the theoretical maximum bandwidth, such as 10Mbps, 100Mbps It can also be the actual connection speed, such as the actual test speed connected to a server.
  • the idle bandwidth refers to the connection bandwidth minus the bandwidth that has been occupied. Whether the network connection is occupied means whether an application uses a network connection.
  • Step S130 determine whether the network connection condition satisfies a predetermined condition.
  • the predetermined condition may be set as needed, for example, the predetermined condition is set to one or more of the following conditions: the network connection type is a predetermined type, or the connection bandwidth is greater than a predetermined connection bandwidth, or the idle bandwidth is greater than a predetermined idle bandwidth, or a network The connection is not occupied.
  • Step S140 If the network connection status meets the predetermined condition, the background automatically downloads the data required by the current application association level and saves it to the local.
  • the predetermined type of network connection type can be limited to a wireless local area network or 3G, that is, automatic download is only available when the network connection type is wireless LAN or 3G, and when the network connection type is GPRS Automatic downloads are not performed.
  • the predetermined condition can also be set to an idle bandwidth greater than 50 kbps. The scheduled free bandwidth allows for automatic downloads, or the predetermined condition is set to allow automatic downloads only if the network connection is not occupied, ie, completely idle.
  • the data required for the current application association level may be the page data linked to the current web page page, or the data required to transfer from the current function to other functions, or the data required to enter other game scenes from the current game scene. For example, after the user opens the homepage of a website, if the network connection status satisfies the predetermined condition, the link in the homepage is obtained, and the page pointed to by the link in the homepage is downloaded; for example, in a game with multiple scenes, the user is in a certain one. When the scene is played, if the network connection condition satisfies the predetermined condition, the data required for other scenes that the current game scene can directly enter is automatically downloaded in the background.
  • the priority level of the data if there is a large amount of data required for the current application association level, it is preferable to preset the priority level of the data, and determine the order of automatic download according to the preset priority.
  • the priority can be determined based on the user's preferences, history, or the importance of each level in the current application association hierarchy. For example, if the user's personal settings have a favorite sport, when downloading the page pointed to by the link automatically, the link text is preferentially downloaded with 'sports', 'soccer' or ' The page pointed to by the link such as NBA ', or the page pointed to by the link with 'sports' in the URL.
  • step S120 The detection of the network connection status is performed periodically. If the network connection status no longer satisfies the predetermined condition during the automatic download process in the background, the method further includes the step of determining whether the background automatic download function is enabled, and if the background automatic download function is enabled, the system is turned off. After the background automatic download function returns to the step of detecting the network connection status; if the background automatic download function is turned off, the step of detecting the network connection status is returned. Turning off the automatic background download function when the predetermined conditions are not met can avoid overcrowding the network connection and affect the network speed required for normal use.
  • the method for acquiring network data by determining whether the network connection condition satisfies a predetermined condition, if a predetermined condition is met, for example, when accessing the Internet through a high-speed network such as a wireless local area network or 3G, the data required for the current application association level is downloaded and saved to Locally, since the downloaded data is associated with hierarchical data, the user is likely to use the data. For example, after the user opens a certain page, the page automatically points to the page pointed to by the link in the background, and the user can quickly click the link. Read the downloaded page data, make full use of idle or remaining network resources, significantly speed up the network access, and improve the user experience.
  • a predetermined condition for example, when accessing the Internet through a high-speed network such as a wireless local area network or 3G
  • the data required for the current application association level is downloaded and saved to Locally, since the downloaded data is associated with hierarchical data, the user is likely to use the data. For example, after the user opens a certain page, the page
  • FIG. 2 it is a flowchart of a method for acquiring network data in an embodiment when a user accesses a network:
  • Step S210 receiving network access requests.
  • step S220 it is determined whether the locally stored data is saved by the automatic download. Determine by query whether the local storage is performed by step S140 The downloaded user's data for this network access request.
  • Step S230 if there is requested data locally, the local data is read and the process proceeds to step S240. . If there is no requested data locally, go directly to step S250.
  • step S240 it is determined whether the local data is complete, and if complete, the operation is completed. If it is not complete, proceed to step S250 .
  • Step S250 downloading the requested data.
  • the step S140 is suspended when the requested data is downloaded.
  • the background is automatically downloaded, leaving enough bandwidth for the data requested for download. In other embodiments, if the bandwidth is sufficient, the background automatic download in step S140 may not be suspended.
  • Step S260 determining whether the data required for the current task is downloaded, and if the download is completed, the data may be displayed to the user, otherwise the step is returned. S250 continues to download the requested data.
  • the above method for acquiring network data is particularly suitable for portable mobile terminals, such as mobile phones, palmtop computers, notebook computers, and the like.
  • a good network connection condition such as a wireless local area network environment
  • the network connection condition easily satisfies the predetermined condition, and the data required for the current application association level can be automatically downloaded in the background, and the better network is fully utilized. surroundings.
  • the user's location changes its better network environment may be converted to a slower network environment (such as GPRS environment), when the user re-acquires data, because the required data has been downloaded, the speed of obtaining data can be greatly improved, and the content required by the user can be quickly presented.
  • the method for obtaining the network data further includes the step of turning off the automatic background download function when the current application is exited and deleting the data saved to the local by automatic downloading. Deleting data saved to the local by automatic download saves storage space and improves system performance.
  • the method for obtaining the network data further includes the step of highlighting a current application association level corresponding to the downloaded data. Highlighting allows the user to perceive the current application association hierarchy of downloaded and cached data. For most users who visit a webpage or play a game, there is no specific purpose of access, which can attract users to the highlighted current application association level. , reduce waiting time and increase access speed.
  • the method for acquiring the network data described above can automatically download data required by the current application association level, and can automatically download data required by other applications, as long as the data required by the program is required, and the subsequent requirements of the program are required.
  • Data refers to the data that is not required by the current task of the program, but the data that is needed for subsequent tasks that need to be performed or may be performed. For example, if the webpage is currently being browsed using a browser, the virus database update data of the antivirus software is automatically downloaded in the background when the network connection status satisfies the predetermined condition, and the automatic download is stopped when the predetermined condition is not satisfied.
  • the method for obtaining network data includes the following steps: establishing a network connection; detecting a network connection status; determining whether the network connection status satisfies a predetermined condition; and if the network connection status satisfies a predetermined condition, the background automatic downloading procedure is subsequently required.
  • the data is saved locally.
  • the predetermined condition is that the network connection type is a predetermined type or the connection bandwidth is greater than a predetermined connection bandwidth or the idle bandwidth is greater than a predetermined idle bandwidth or the network connection is not occupied.
  • the predetermined type is a wireless local area network or 3G.
  • the step of detecting a network connection status is performed periodically. If the network connection status does not satisfy the predetermined condition, the method further includes: determining whether the background automatic download function is enabled, and if the background automatic download function is enabled, Then, the process of detecting the network connection status is returned after the background automatic download function is turned off; if the background automatic download function is turned off, the step of detecting the network connection status is returned.
  • a network data acquisition system including a network connection module for establishing a network connection, a processing module, a storage module for storing local data, and an input module.
  • the processing module includes a detecting unit that detects a network connection status that is connected to the network connection module, and a determining unit that is connected to the detecting unit and determines whether the network connection status satisfies a predetermined condition according to the detection result of the detecting unit, and the determining unit Connected If the network connection status meets the predetermined condition, the background automatically downloads the data required by the current application association level and saves it to the download unit of the storage module.
  • the predetermined condition is that the network connection type is a predetermined type or the network speed is greater than a predetermined speed or the idle bandwidth is greater than a predetermined bandwidth or the network connection is not occupied.
  • the network connection module is a wireless network connection module
  • the predetermined type is a wireless local area network or 3G.
  • the data required by the current application association level is the page data linked by the current web page or the data required to transfer from the current function to other functions or the data required to enter other game scenes from the current game scene.
  • the input module is configured to input a network access request
  • the processing module further includes a control unit, the control unit is connected to the input module and the storage module, and determines, according to the network access request, whether the storage module is stored through an automatic Downloading the data of the saved request, if the storage module stores the requested data, reading the data of the request stored in the storage module; if the storage module does not store the requested data, instructing the download unit to download the request data.
  • control unit is further configured to determine whether the stored requested data is complete when the storage module stores the requested data, and if not, instruct the download unit to download the requested data.
  • control unit is further configured to delete data saved to the storage module by automatic download when exiting the current application. Deleting data saved to the local by automatic download saves storage space and improves system performance.
  • the detecting unit periodically detects the network connection status, and the determining unit is further configured to further determine whether the background automatic download function is enabled when the network connection status does not satisfy the predetermined condition, and if the background automatic download function is enabled, Then, the download unit is instructed to turn off the background automatic download function. Turning off the automatic background download function when the predetermined conditions are not met can avoid overcrowding the network connection and affect the network speed required for normal use.
  • the processing module further includes a configuration unit, and the downloading unit determines an order of automatic downloading according to a preset priority in the configuration unit, the priority according to a user's preference, a history, or a current The importance of each level in the application association hierarchy is determined.
  • the preset priority in the configuration unit may be input by the user to the control unit through the input module, and may be changed by the control unit; the configuration unit may be directly changed by the input module; or may be automatically performed by the control unit according to the user history record. Changes, such as the user frequently browsing the information of the car class, when downloading the page pointed to by the link, the page with the car information is preferentially downloaded.
  • the above-mentioned network data acquisition system can automatically download the data required by other applications in addition to the data required for the current application association level, as long as it is the data required by the program, and the subsequent requirements of the program are required.
  • Data refers to the data that is not required by the current task of the program, but the data that is needed for subsequent tasks that need to be performed or may be performed. For example, if the webpage is currently being browsed using a browser, the virus database update data of the antivirus software is automatically downloaded in the background when the network connection status satisfies the predetermined condition, and the automatic download is stopped when the predetermined condition is not satisfied.
  • the system corresponding to the network data acquisition system includes a network connection module for establishing a network connection, a processing module, and a storage module for storing local data.
  • the processing module includes a detecting unit that detects a network connection status connected to the network connection module, and a determining unit that is connected to the detecting unit and determines whether the network connection status satisfies a predetermined condition according to the detection result of the detecting unit, and the The judging unit is connected to the background automatically downloading the data required by the program and saving to the download unit of the storage module if the network connection status satisfies the predetermined condition.
  • the predetermined condition is that the network connection type is a predetermined type or the connection bandwidth is greater than a predetermined connection bandwidth or the idle bandwidth is greater than a predetermined idle bandwidth or the network connection is not occupied.
  • the detecting unit periodically detects the network connection status, and the determining unit is further configured to further determine whether the background automatic download function is enabled when the network connection status does not satisfy the predetermined condition, and if the background automatic download function is enabled, Then, the download unit is instructed to turn off the background automatic download function.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Disclosed is a network data acquisition method, which includes the following steps of: establishing a network connection (S110); detecting the network connection status (S120); judging whether the network connection status satisfies the pre-determined condition (S130); if the network connection status satisfies the pre-determined condition, downloading the data needed by the current application-associated layer automatically by the background and storing it locally. In the network data acquisition method, by judging whether the network connection status satisfies the pre-determined condition and if yes, downloading automatically and storing locally the data needed by the current application-associated layer, the spare or remaining network resources are fully used, the network access speed is obviously accelerated and the experience of users is improved. Moreover, a network data acquisition system is provided.

Description

网络数据的获取方法和系统 Method and system for acquiring network data
【技术领域】 [Technical Field]
本发明涉及信息技术,特别是涉及一种网络数据的获取方法和系统。  The present invention relates to information technology, and in particular, to a method and system for acquiring network data.
【背景技术】 【Background technique】
互联网技术的发展极大的提高了人们获取信息的便利性。互联网的接入有多种形式,例如 ADSL 、光纤、 GPRS 、 3G 等。其中, ADSL ( Asymmetric Digital Subscriber Line ,非对称数字用户环路)是目前一般用户普遍使用的一种接入方式,特点是价格适中,速度能够满足一般用户的需求,但是接入位置移动不便。光纤接入的速度快,但是价格高昂,同样不便于移动接入位置。 GPRS ( General Packet Radio Service ,通用分组无线服务技术)和 3G (第三代移动通信技术)采用的是移动通信网络,因此,互联网的接入受地理位置的限制小,在接入的过程可以随时移动。 The development of Internet technology has greatly improved the convenience of people's access to information. Internet access can take many forms, such as ADSL, fiber, GPRS , 3G, etc. Among them, ADSL (Asymmetric Digital Subscriber Line) An asymmetric digital subscriber loop is an access method commonly used by general users. It is characterized by moderate price and speed to meet the needs of general users, but the access location is inconvenient to move. Fiber access is fast, but the price is high, and it is also inconvenient to move the access location. GPRS (General Packet Radio Service) and 3G (The third generation mobile communication technology) adopts a mobile communication network. Therefore, the access of the Internet is limited by the geographical location, and the access process can be moved at any time.
对于便携式移动终端,例如手机、掌上电脑、笔记本电脑来说,能够随时随地访问互联网是一个非常重要的需求。便携式移动终端大多可以通过多种方式访问互联网,例如 GPRS 、 3G 或者无线局域网(例如 WiFi 或者 WAPI )等。其中,无线局域网通过共享 ADSL 或光纤接入而速度一般远远优于 GPRS 、 3G 。 For portable mobile terminals, such as mobile phones, PDAs, and laptops, access to the Internet anytime, anywhere is a very important requirement. Most portable mobile terminals can access the Internet in a variety of ways, such as GPRS, 3G or wireless LAN (such as WiFi or WAPI). Among them, the wireless LAN is generally much faster than GPRS, 3G by sharing ADSL or fiber access. .
当便携式移动终端用户在较好的网络连接状况下(如无线局域网环境)访问网络时,数据获取取决于用户所作的操作,及用户操作什么功能就实时获取什么数据。这些数据在较快的网速下很快完成,而其余大部分时间是空闲的。当用户位置变动时,其较好的网络环境可能转换为较慢的网络环境(如GPRS环境),此时用户再获取数据时,由于速度较慢,导致获取数据的时间加长,用户需要长时间等待才能获取完数据。相对于前面在较好网络下的系统长时间空闲和后面在较慢网络下的用户长时间等待,系统数据在资源配置分配上存在较大的不均衡性。 When a portable mobile terminal user accesses the network under a good network connection condition (such as a wireless local area network environment), the data acquisition depends on the operation performed by the user, and what data is acquired in real time by the user operating the function. These data are completed very quickly at faster network speeds, while the rest of the time is idle. When the user's location changes, the better network environment may be converted to a slower network environment (such as the GPRS environment). At this time, when the user re-acquires data, the time for obtaining data is lengthened due to the slower speed, and the user needs to take a long time. Wait for the data to be obtained. Compared with the long-term idleness of the system under the better network and the long-term waiting of the user under the slower network, there is a large imbalance in the allocation of system data in the resource allocation.
【发明内容】  [Summary of the Invention]
基于此,有必要提供一种充分利用网络资源的网络数据的获取方法。 Based on this, it is necessary to provide a method of acquiring network data that fully utilizes network resources.
一种网络数据的获取方法,包括以下步骤:建立网络连接;检测网络连接状况;判断网络连接状况是否满足预定条件;如果网络连接状况满足预定条件则后台自动下载当前应用关联层级所需的数据并保存到本地。 A method for obtaining network data, comprising the steps of: establishing a network connection; detecting a network connection status; determining whether the network connection status satisfies a predetermined condition; if the network connection status satisfies a predetermined condition, the background automatically downloads data required by the current application association level and Save to local.
一种网络数据的获取系统,包括建立网络连接的网络连接模块、处理模块和存储本地数据的存储模块,所述处理模块包括与所述网络连接模块连接的检测网络连接状况的检测单元、与所述检测单元相连根据所述检测单元的检测结果判断网络连接状况是否满足预定条件的判断单元及与所述判断单元相连如果网络连接状况满足预定条件则后台自动下载当前应用关联层级所需的数据并保存到所述存储模块的下载单元。 A network data acquisition system includes a network connection module for establishing a network connection, a processing module, and a storage module for storing local data, the processing module including a detection unit for detecting a network connection status connected to the network connection module, and a storage unit The detecting unit is connected to determine whether the network connection status satisfies a predetermined condition according to the detection result of the detecting unit, and is connected to the determining unit. If the network connection status satisfies a predetermined condition, the background automatically downloads data required by the current application association level. Save to the download unit of the storage module.
一种网络数据的获取方法,包括以下步骤:建立网络连接;检测网络连接状况; 判断网络连接状况是否满足预定条件;如果网络连接状况满足预定条件则后台自动下载程序后续所需的数据并保存到本地。 A method for obtaining network data includes the following steps: establishing a network connection; detecting a network connection status; Determine whether the network connection status meets the predetermined condition; if the network connection status satisfies the predetermined condition, the background automatically downloads the data required by the program and saves it to the local.
一种网络数据的获取系统,包括建立网络连接的网络连接模块、处理模块和存储本地数据的存储模块,所述处理模块包括与所述网络连接模块连接的检测网络连接状况的检测单元、与所述检测单元相连根据所述检测单元的检测结果判断网络连接状况是否满足预定条件的判断单元及与所述判断单元相连如果网络连接状况满足预定条件则后台自动下载程序后续所需的数据并保存到所述存储模块的下载单元。 A network data acquisition system includes a network connection module for establishing a network connection, a processing module, and a storage module for storing local data, the processing module including a detection unit for detecting a network connection status connected to the network connection module, and a storage unit The detecting unit is connected to the determining unit that determines whether the network connection status satisfies the predetermined condition according to the detection result of the detecting unit, and is connected to the determining unit. If the network connection status satisfies the predetermined condition, the data required for the subsequent automatic downloading of the program is saved and saved to a download unit of the storage module.
上述网络数据的获取方法和系统中,通过判断网络连接状况是否满足预定条件,如果满足预定条件,下载当前应用关联层级所需的数据并保存到本地,充分利用空闲或剩余的网络资源,明显加快网络访问的速度,改善用户的使用体验。 In the method and system for acquiring the network data, by determining whether the network connection status satisfies a predetermined condition, if the predetermined condition is met, the data required for the current application association level is downloaded and saved to the local, and the idle or remaining network resources are fully utilized, which is obviously accelerated. The speed of network access improves the user experience.
【附图说明】 [Description of the Drawings]
图 1 为一实施例的网络数据的获取方法的流程图; 1 is a flowchart of a method for acquiring network data according to an embodiment;
图 2 为一实施例中网络数据的获取方法在用户访问网络时的流程图; 2 is a flowchart of a method for acquiring network data in an embodiment when a user accesses a network;
图 3 为一实施例的网络数据的获取系统的意图。 FIG. 3 is an illustration of an acquisition system of network data of an embodiment.
【具体实施方式】 【detailed description】
为了充分利用网络资源,通过在连接空闲或者有较多剩余带宽时下载数据并存储在本地,在用户使用的过程中需要用到这些数据时,可以快速读取这些数据,充分利用空闲或剩余的网络资源,明显加快网络访问的速度,改善用户的使用体验。 In order to make full use of network resources, by downloading data and storing it locally when the connection is idle or there is more remaining bandwidth, when the user needs to use the data in the process of using it, the data can be quickly read to make full use of the idle or remaining Network resources significantly speed up network access and improve the user experience.
如图 1 所示,一种网络数据的获取方法,包括以下步骤: As shown in FIG. 1 , a method for obtaining network data includes the following steps:
步骤 S110 ,建立网络连接。通过有线或无线的方式与相应的网络上的主机建立连接,例如,在进行网页访问时,与页面服务器建立连接;在进行在线游戏时,与相应的游戏服务器建立连接。 Step S110 , establish a network connection. The connection is established with the host on the corresponding network by wire or wirelessly, for example, when the webpage is accessed, and the page server is established; when the online game is played, the connection is established with the corresponding game server.
步骤 S120 ,检测网络连接状况。网络连接状况可以包括以下信息中的一种或多种:网络连接类型、连接带宽、空闲带宽、网络连接是否被占用。其中,网络连接类型可以是 GPRS 、 3G 、有线局域网、无线局域网。例如,手机网络连接类型的检测可以通过手机请求对应的 IP 地址对应的 IP 段,从 GPRS 或无线局域网等网络的网段映射表的对应关系查询到对应的网络环境,还可以通过手机平台(例如 symbian 、 windows mobile 、 android 等系统) API ( Application Programming Interface ,应用程序编程接口 ) 获取当前使用的网络环境。连接带宽可以是理论最高带宽,如 10Mbps 、 100Mbps ,也可以是实际连接速度,如与某服务器连接的实际测试速度。空闲带宽是指连接带宽减去已经被占用的带宽。网络连接是否被占用是指是否有应用使用网络连接。 Step S120 , to detect the network connection status. The network connection status may include one or more of the following information: network connection type, connection bandwidth, free bandwidth, and whether the network connection is occupied. Among them, the network connection type can be GPRS, 3G, wired LAN, wireless LAN. For example, the detection of the mobile phone network connection type can request the IP segment corresponding to the corresponding IP address through the mobile phone, from GPRS Or the corresponding relationship of the network segment mapping table of the network such as the wireless local area network to the corresponding network environment, and also through the mobile phone platform (for example, symbian, windows mobile, android System (API) (Application Programming Interface) Get the network environment you are currently using. The connection bandwidth can be the theoretical maximum bandwidth, such as 10Mbps, 100Mbps It can also be the actual connection speed, such as the actual test speed connected to a server. The idle bandwidth refers to the connection bandwidth minus the bandwidth that has been occupied. Whether the network connection is occupied means whether an application uses a network connection.
步骤 S130 ,判断网络连接状况是否满足预定条件。预定条件可以根据需要设定,例如,将预定条件设为以下条件中的一种或多种:网络连接类型为预定类型、或连接带宽大于预定连接带宽、或空闲带宽大于预定空闲带宽、或网络连接未被占用。 Step S130 And determine whether the network connection condition satisfies a predetermined condition. The predetermined condition may be set as needed, for example, the predetermined condition is set to one or more of the following conditions: the network connection type is a predetermined type, or the connection bandwidth is greater than a predetermined connection bandwidth, or the idle bandwidth is greater than a predetermined idle bandwidth, or a network The connection is not occupied.
步骤 S140 ,如果网络连接状况满足预定条件则后台自动下载当前应用关联层级所需的数据并保存到本地。对于便携式移动终端来说,可以将网络连接类型的预定类型限定为无线局域网或 3G ,也就是说,只有当网络连接类型是无线局域网或 3G 才进行自动下载,而当网络连接类型是 GPRS 时不进行自动下载。在其他实施例中,也可以将预定条件设为空闲带宽大于 50kbps 的预定空闲带宽才允许进行自动下载,或者将预定条件设为仅在网络连接未被占用,即完全空闲下来才允许进行自动下载。当前应用关联层级所需的数据可以为当前网页页面链接的页面数据、或从当前功能转入其他功能所需的数据、或从当前游戏场景进入其他游戏场景所需的数据。例如,用户打开某网站的首页后,如果网络连接状况满足预定条件,则获取首页中的链接,并下载首页中链接指向的页面;又如,在有多个场景的游戏中,用户在某一个场景进行游戏时,如果网络连接状况满足预定条件,则在后台自动下载当前游戏场景能直接进入的其他场景所需的数据。 Step S140 If the network connection status meets the predetermined condition, the background automatically downloads the data required by the current application association level and saves it to the local. For portable mobile terminals, the predetermined type of network connection type can be limited to a wireless local area network or 3G, that is, automatic download is only available when the network connection type is wireless LAN or 3G, and when the network connection type is GPRS Automatic downloads are not performed. In other embodiments, the predetermined condition can also be set to an idle bandwidth greater than 50 kbps. The scheduled free bandwidth allows for automatic downloads, or the predetermined condition is set to allow automatic downloads only if the network connection is not occupied, ie, completely idle. The data required for the current application association level may be the page data linked to the current web page page, or the data required to transfer from the current function to other functions, or the data required to enter other game scenes from the current game scene. For example, after the user opens the homepage of a website, if the network connection status satisfies the predetermined condition, the link in the homepage is obtained, and the page pointed to by the link in the homepage is downloaded; for example, in a game with multiple scenes, the user is in a certain one. When the scene is played, if the network connection condition satisfies the predetermined condition, the data required for other scenes that the current game scene can directly enter is automatically downloaded in the background.
在优选的实施例中,如果当前应用关联层级所需的数据很多,则最好预设数据的优先级别,根据预设的优先级确定自动下载的次序。优先级可以根据用户的喜好、历史记录或当前应用关联层级中各层级的重要性确定。例如用户的个人设置中设有喜好体育,则在自动下载链接指向的页面时,优先下载链接文字中带有'体育'、'足球'或' NBA '等字样的链接指向的页面,或优先下载 URL 中带有' sports '的链接指向的页面。 In a preferred embodiment, if there is a large amount of data required for the current application association level, it is preferable to preset the priority level of the data, and determine the order of automatic download according to the preset priority. The priority can be determined based on the user's preferences, history, or the importance of each level in the current application association hierarchy. For example, if the user's personal settings have a favorite sport, when downloading the page pointed to by the link automatically, the link text is preferentially downloaded with 'sports', 'soccer' or ' The page pointed to by the link such as NBA ', or the page pointed to by the link with 'sports' in the URL.
在优选的实施例中,步骤 S120 中检测网络连接状况是定时进行的,在后台自动下载的过程中如果网络连接状况不再满足预定条件,则进一步包括判断后台自动下载功能是否开启的步骤,如果后台自动下载功能已经开启,则关闭后台自动下载功能后返回检测网络连接状况的步骤;如果后台自动下载功能已经关闭,则返回检测网络连接状况的步骤。在不满足预定条件时关闭后台自动下载功能,可以避免网络连接过于拥挤,对正常使用时所需的网络速度造成影响。 In a preferred embodiment, step S120 The detection of the network connection status is performed periodically. If the network connection status no longer satisfies the predetermined condition during the automatic download process in the background, the method further includes the step of determining whether the background automatic download function is enabled, and if the background automatic download function is enabled, the system is turned off. After the background automatic download function returns to the step of detecting the network connection status; if the background automatic download function is turned off, the step of detecting the network connection status is returned. Turning off the automatic background download function when the predetermined conditions are not met can avoid overcrowding the network connection and affect the network speed required for normal use.
上述网络数据的获取方法中,通过判断网络连接状况是否满足预定条件,如果满足预定条件,例如是通过无线局域网或3G等高速网络接入互联网时,下载当前应用关联层级所需的数据并保存到本地,由于下载的这些数据是关联层级的数据,用户很可能会用到这些数据,例如,用户在打开某页面后,通过后台自动下载该页面中链接指向的页面,在用户点击链接时可以快速读取已经下载的页面数据,充分利用空闲或剩余的网络资源,明显加快网络访问的速度,改善用户的使用体验。 In the method for acquiring network data, by determining whether the network connection condition satisfies a predetermined condition, if a predetermined condition is met, for example, when accessing the Internet through a high-speed network such as a wireless local area network or 3G, the data required for the current application association level is downloaded and saved to Locally, since the downloaded data is associated with hierarchical data, the user is likely to use the data. For example, after the user opens a certain page, the page automatically points to the page pointed to by the link in the background, and the user can quickly click the link. Read the downloaded page data, make full use of idle or remaining network resources, significantly speed up the network access, and improve the user experience.
进一步地,如图 2 所示,其为一实施例中网络数据的获取方法在用户访问网络时的流程图: Further, as shown in FIG. 2, it is a flowchart of a method for acquiring network data in an embodiment when a user accesses a network:
步骤 S210 ,接收网络访问请求。接收用户通过键盘或触摸屏幕等输入的网络访问请求,例如键入网页地址、点击某链接、启动网络游戏的客户端、进入某网络软件的某个功能界面等。 Step S210 , receiving network access requests. Receiving a network access request input by a user through a keyboard or a touch screen, such as typing a webpage address, clicking a link, starting a client of a network game, entering a function interface of a network software, and the like.
步骤 S220 ,判断本地是否通过自动下载保存有请求的数据。通过查询判断本地是否存储有由步骤 S140 下载的用户此次网络访问请求的数据。 In step S220, it is determined whether the locally stored data is saved by the automatic download. Determine by query whether the local storage is performed by step S140 The downloaded user's data for this network access request.
步骤 S230 ,如果本地有请求的数据,则读取本地数据并进入步骤 S240 。如果本地没有请求的数据,则直接进入步骤 S250 。 Step S230, if there is requested data locally, the local data is read and the process proceeds to step S240. . If there is no requested data locally, go directly to step S250.
步骤 S240 ,判断本地数据是否完整,如果完整,则完成此次操作。如果不完整,则进入步骤 S250 。 In step S240, it is determined whether the local data is complete, and if complete, the operation is completed. If it is not complete, proceed to step S250 .
步骤 S250 ,下载请求的数据。在优选的实施方式中,下载请求的数据时暂停执行步骤 S140 中的后台自动下载,为下载请求的数据留足足够带宽。在其他实施方式中,如果带宽足够,也可以不暂停执行步骤 S140 中的后台自动下载。 Step S250, downloading the requested data. In a preferred embodiment, the step S140 is suspended when the requested data is downloaded. The background is automatically downloaded, leaving enough bandwidth for the data requested for download. In other embodiments, if the bandwidth is sufficient, the background automatic download in step S140 may not be suspended.
步骤 S260 ,判断当前任务所需的数据是否下载完成,如果下载完成,则可以将数据展示给用户,否则返回步骤 S250 继续下载请求的数据。 Step S260, determining whether the data required for the current task is downloaded, and if the download is completed, the data may be displayed to the user, otherwise the step is returned. S250 continues to download the requested data.
上述网络数据的获取方法特别适用于便携式移动终端,例如手机、掌上电脑、笔记本电脑等设备。当便携式移动终端用户在较好的网络连接状况下(如无线局域网环境)访问网络时,网络连接状况容易满足预定条件,可以后台自动下载当前应用关联层级所需的数据,充分利用较佳的网络环境。当用户位置变动时,其较好的网络环境可能转换为较慢的网络环境(如 GPRS 环境),此时用户再获取数据时,由于所需的数据已经下载,可以极大的提高获取数据的速度,将用户所需的内容快速呈现。 The above method for acquiring network data is particularly suitable for portable mobile terminals, such as mobile phones, palmtop computers, notebook computers, and the like. When the portable mobile terminal user accesses the network under a good network connection condition (such as a wireless local area network environment), the network connection condition easily satisfies the predetermined condition, and the data required for the current application association level can be automatically downloaded in the background, and the better network is fully utilized. surroundings. When the user's location changes, its better network environment may be converted to a slower network environment (such as GPRS environment), when the user re-acquires data, because the required data has been downloaded, the speed of obtaining data can be greatly improved, and the content required by the user can be quickly presented.
在进一步改进的实施例中,上述网络数据的获取方法还包括退出当前应用时关闭后台自动下载功能并删除通过自动下载保存到本地的数据的步骤。删除通过自动下载保存到本地的数据,可以节省存储空间,改善系统运行性能。 In a further improved embodiment, the method for obtaining the network data further includes the step of turning off the automatic background download function when the current application is exited and deleting the data saved to the local by automatic downloading. Deleting data saved to the local by automatic download saves storage space and improves system performance.
在进一步改进的实施例中,上述网络数据的获取方法还包括突出显示已下载数据对应的当前应用关联层级的步骤。突出显示可以让用户觉察到已经下载并缓存数据的当前应用关联层级,对于大多数访问网页或进行游戏的用户来说,并没有特定的访问目的,从而可以吸引用户进入突出显示的当前应用关联层级,减少等待时间,提高访问速度。 In a further improved embodiment, the method for obtaining the network data further includes the step of highlighting a current application association level corresponding to the downloaded data. Highlighting allows the user to perceive the current application association hierarchy of downloaded and cached data. For most users who visit a webpage or play a game, there is no specific purpose of access, which can attract users to the highlighted current application association level. , reduce waiting time and increase access speed.
另外,上述网络数据的获取方法除了可以自动下载当前应用关联层级所需的数据外,还可以自动下载其他应用所需的数据,只要是程序后续所需的数据即可,这里程序后续所需的数据是指并非程序当前任务所需要的数据,而是后续需要执行或者可能会执行的任务所需要的数据。例如,如果当前正在使用浏览器浏览网页,网络连接状况满足预定条件时后台自动下载杀毒软件的病毒库更新数据,在不满足预定条件时则停止自动下载。与图 1 所述的方法对应,这种网络数据的获取方法包括以下步骤:建立网络连接;检测网络连接状况;判断网络连接状况是否满足预定条件;如果网络连接状况满足预定条件则后台自动下载程序后续所需的数据并保存到本地。 In addition, the method for acquiring the network data described above can automatically download data required by the current application association level, and can automatically download data required by other applications, as long as the data required by the program is required, and the subsequent requirements of the program are required. Data refers to the data that is not required by the current task of the program, but the data that is needed for subsequent tasks that need to be performed or may be performed. For example, if the webpage is currently being browsed using a browser, the virus database update data of the antivirus software is automatically downloaded in the background when the network connection status satisfies the predetermined condition, and the automatic download is stopped when the predetermined condition is not satisfied. And figure 1 Corresponding to the method, the method for obtaining network data includes the following steps: establishing a network connection; detecting a network connection status; determining whether the network connection status satisfies a predetermined condition; and if the network connection status satisfies a predetermined condition, the background automatic downloading procedure is subsequently required. The data is saved locally.
在优选的实施例中,所述预定条件为网络连接类型为预定类型或连接带宽大于预定连接带宽或空闲带宽大于预定空闲带宽或网络连接未被占用。 In a preferred embodiment, the predetermined condition is that the network connection type is a predetermined type or the connection bandwidth is greater than a predetermined connection bandwidth or the idle bandwidth is greater than a predetermined idle bandwidth or the network connection is not occupied.
在优选的实施例中,所述预定类型为无线局域网或 3G 。 In a preferred embodiment, the predetermined type is a wireless local area network or 3G.
在优选的实施例中,所述检测网络连接状况的步骤是定时进行的,如果网络连接状况不满足预定条件,则进一步包括判断后台自动下载功能是否开启的步骤,如果后台自动下载功能已经开启,则关闭后台自动下载功能后返回检测网络连接状况的步骤;如果后台自动下载功能已经关闭,则返回检测网络连接状况的步骤。 In a preferred embodiment, the step of detecting a network connection status is performed periodically. If the network connection status does not satisfy the predetermined condition, the method further includes: determining whether the background automatic download function is enabled, and if the background automatic download function is enabled, Then, the process of detecting the network connection status is returned after the background automatic download function is turned off; if the background automatic download function is turned off, the step of detecting the network connection status is returned.
如图 3 所示,还提供了一种网络数据的获取系统,包括建立网络连接的网络连接模块、处理模块、存储本地数据的存储模块和输入模块。 Figure 3 As shown, a network data acquisition system is also provided, including a network connection module for establishing a network connection, a processing module, a storage module for storing local data, and an input module.
处理模块包括与所述网络连接模块连接的检测网络连接状况的检测单元、与所述检测单元相连根据所述检测单元的检测结果判断网络连接状况是否满足预定条件的判断单元及与所述判断单元相连如果网络连接状况满足预定条件则后台自动下载当前应用关联层级所需的数据并保存到所述存储模块的下载单元。所述预定条件为网络连接类型为预定类型或网络速度大于预定速度或空闲带宽大于预定带宽或网络连接未被占用。对于便携式移动终端,所述网络连接模块为无线网络连接模块,所述预定类型为无线局域网或3G。所述当前应用关联层级所需的数据为当前网页页面链接的页面数据或从当前功能转入其他功能所需的数据或从当前游戏场景进入其他游戏场景所需的数据。 The processing module includes a detecting unit that detects a network connection status that is connected to the network connection module, and a determining unit that is connected to the detecting unit and determines whether the network connection status satisfies a predetermined condition according to the detection result of the detecting unit, and the determining unit Connected If the network connection status meets the predetermined condition, the background automatically downloads the data required by the current application association level and saves it to the download unit of the storage module. The predetermined condition is that the network connection type is a predetermined type or the network speed is greater than a predetermined speed or the idle bandwidth is greater than a predetermined bandwidth or the network connection is not occupied. For a portable mobile terminal, the network connection module is a wireless network connection module, and the predetermined type is a wireless local area network or 3G. The data required by the current application association level is the page data linked by the current web page or the data required to transfer from the current function to other functions or the data required to enter other game scenes from the current game scene.
所述输入模块用于输入网络访问请求,所述处理模块还包括控制单元,所述控制单元与所述输入模块及存储模块相连,根据所述网络访问请求判断所述存储模块是否存储有通过自动下载保存的请求的数据,如果所述存储模块存储有请求的数据,则读取存储模块中存储的请求的数据;如果所述存储模块未存储请求的数据,则指令所述下载单元下载请求的数据。 The input module is configured to input a network access request, and the processing module further includes a control unit, the control unit is connected to the input module and the storage module, and determines, according to the network access request, whether the storage module is stored through an automatic Downloading the data of the saved request, if the storage module stores the requested data, reading the data of the request stored in the storage module; if the storage module does not store the requested data, instructing the download unit to download the request data.
在优选的实施例中,所述控制单元还用于在存储模块存储有请求的数据时判断存储的请求的数据是否完整,如果不完整,则指令所述下载单元下载请求的数据。 In a preferred embodiment, the control unit is further configured to determine whether the stored requested data is complete when the storage module stores the requested data, and if not, instruct the download unit to download the requested data.
在优选的实施例中,所述控制单元还用于退出当前应用时删除通过自动下载保存到存储模块的数据。删除通过自动下载保存到本地的数据,可以节省存储空间,改善系统运行性能。 In a preferred embodiment, the control unit is further configured to delete data saved to the storage module by automatic download when exiting the current application. Deleting data saved to the local by automatic download saves storage space and improves system performance.
在优选的实施例中,所述检测单元定时检测网络连接状况,所述判断单元还用于在网络连接状况不满足预定条件时进一步判断后台自动下载功能是否开启,如果后台自动下载功能已经开启,则指令所述下载单元关闭后台自动下载功能。在不满足预定条件时关闭后台自动下载功能,可以避免网络连接过于拥挤,对正常使用时所需的网络速度造成影响。 In a preferred embodiment, the detecting unit periodically detects the network connection status, and the determining unit is further configured to further determine whether the background automatic download function is enabled when the network connection status does not satisfy the predetermined condition, and if the background automatic download function is enabled, Then, the download unit is instructed to turn off the background automatic download function. Turning off the automatic background download function when the predetermined conditions are not met can avoid overcrowding the network connection and affect the network speed required for normal use.
在优选的实施例中,所述处理模块还包括配置单元,所述下载单元根据所述配置单元中预设的优先级确定自动下载的次序,所述优先级根据用户的喜好、历史记录或当前应用关联层级中各层级的重要性确定。配置单元中预设的优先级可以由用户通过输入模块输入指令到控制单元,由控制单元进行更改;也可以由输入模块直接对配置单元进行更改;还可以由控制单元根据用户的历史记录自动进行更改,例如用户经常浏览汽车类的资讯,则在自动下载链接指向的页面时,优先下载带有汽车类资讯的页面。 In a preferred embodiment, the processing module further includes a configuration unit, and the downloading unit determines an order of automatic downloading according to a preset priority in the configuration unit, the priority according to a user's preference, a history, or a current The importance of each level in the application association hierarchy is determined. The preset priority in the configuration unit may be input by the user to the control unit through the input module, and may be changed by the control unit; the configuration unit may be directly changed by the input module; or may be automatically performed by the control unit according to the user history record. Changes, such as the user frequently browsing the information of the car class, when downloading the page pointed to by the link, the page with the car information is preferentially downloaded.
另外,上述网络数据的获取系统除了可以自动下载当前应用关联层级所需的数据外,还可以自动下载其他应用所需的数据,只要是程序后续所需的数据即可,这里程序后续所需的数据是指并非程序当前任务所需要的数据,而是后续需要执行或者可能会执行的任务所需要的数据。例如,如果当前正在使用浏览器浏览网页,网络连接状况满足预定条件时后台自动下载杀毒软件的病毒库更新数据,在不满足预定条件时则停止自动下载。与图 3 所述的系统对应,这种网络数据的获取系统,包括建立网络连接的网络连接模块、处理模块和存储本地数据的存储模块。所述处理模块包括与所述网络连接模块连接的检测网络连接状况的检测单元、与所述检测单元相连根据所述检测单元的检测结果判断网络连接状况是否满足预定条件的判断单元及与所述判断单元相连如果网络连接状况满足预定条件则后台自动下载程序后续所需的数据并保存到所述存储模块的下载单元。 In addition, the above-mentioned network data acquisition system can automatically download the data required by other applications in addition to the data required for the current application association level, as long as it is the data required by the program, and the subsequent requirements of the program are required. Data refers to the data that is not required by the current task of the program, but the data that is needed for subsequent tasks that need to be performed or may be performed. For example, if the webpage is currently being browsed using a browser, the virus database update data of the antivirus software is automatically downloaded in the background when the network connection status satisfies the predetermined condition, and the automatic download is stopped when the predetermined condition is not satisfied. And figure 3 The system corresponding to the network data acquisition system includes a network connection module for establishing a network connection, a processing module, and a storage module for storing local data. The processing module includes a detecting unit that detects a network connection status connected to the network connection module, and a determining unit that is connected to the detecting unit and determines whether the network connection status satisfies a predetermined condition according to the detection result of the detecting unit, and the The judging unit is connected to the background automatically downloading the data required by the program and saving to the download unit of the storage module if the network connection status satisfies the predetermined condition.
在优选的实施例中,所述预定条件为网络连接类型为预定类型或连接带宽大于预定连接带宽或空闲带宽大于预定空闲带宽或网络连接未被占用。 In a preferred embodiment, the predetermined condition is that the network connection type is a predetermined type or the connection bandwidth is greater than a predetermined connection bandwidth or the idle bandwidth is greater than a predetermined idle bandwidth or the network connection is not occupied.
在优选的实施例中,所述检测单元定时检测网络连接状况,所述判断单元还用于在网络连接状况不满足预定条件时进一步判断后台自动下载功能是否开启,如果后台自动下载功能已经开启,则指令所述下载单元关闭后台自动下载功能。 In a preferred embodiment, the detecting unit periodically detects the network connection status, and the determining unit is further configured to further determine whether the background automatic download function is enabled when the network connection status does not satisfy the predetermined condition, and if the background automatic download function is enabled, Then, the download unit is instructed to turn off the background automatic download function.
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。 The above-mentioned embodiments are merely illustrative of several embodiments of the present invention, and the description thereof is more specific and detailed, but is not to be construed as limiting the scope of the invention. It should be noted that a number of variations and modifications may be made by those skilled in the art without departing from the spirit and scope of the invention. Therefore, the scope of the invention should be determined by the appended claims.

Claims (26)

  1. 一种网络数据的获取方法,其特征在于,包括以下步骤:A method for acquiring network data, comprising the steps of:
    建立网络连接;Establish a network connection;
    检测网络连接状况;Detect network connection status;
    判断网络连接状况是否满足预定条件;Determining whether the network connection status satisfies a predetermined condition;
    如果网络连接状况满足预定条件则后台自动下载当前应用关联层级所需的数据并保存到本地。 If the network connection status meets the predetermined condition, the background automatically downloads the data required by the current application association level and saves it locally.
  2. 根据权利要求1所述的网络数据的获取方法,其特征在于,所述预定条件为网络连接类型为预定类型或连接带宽大于预定连接带宽或空闲带宽大于预定空闲带宽或网络连接未被占用。 The method for acquiring network data according to claim 1, wherein the predetermined condition is that the network connection type is a predetermined type or the connection bandwidth is greater than a predetermined connection bandwidth or the idle bandwidth is greater than a predetermined idle bandwidth or the network connection is not occupied.
  3. 根据权利要求2所述的网络数据的获取方法,其特征在于,所述预定类型为无线局域网或3G。 The method for acquiring network data according to claim 2, wherein the predetermined type is a wireless local area network or 3G.
  4. 根据权利要求1至3中任意一项所述的网络数据的获取方法,其特征在于,所述当前应用关联层级所需的数据为当前网页页面链接的页面数据或从当前功能转入其他功能所需的数据或从当前游戏场景进入其他游戏场景所需的数据。 The method for acquiring network data according to any one of claims 1 to 3, wherein the data required by the current application association level is page data linked by the current webpage page or transferred from the current function to another function. The data needed or the data needed to enter other game scenarios from the current game scene.
  5. 根据权利要求 1 所述的网络数据的获取方法,其特征在于,还包括如下步骤:The method for acquiring network data according to claim 1, further comprising the following steps:
    接收网络访问请求;Receiving a network access request;
    判断本地是否通过自动下载保存有请求的数据;Determine whether the local data is saved by the automatic download;
    如果本地有请求的数据,则读取本地数据;If there is requested data locally, the local data is read;
    如果本地没有请求的数据,则下载请求的数据。If there is no requested data locally, the requested data is downloaded.
  6. 根据权利要求5所述的网络数据的获取方法,其特征在于,如果本地有请求的数据,还包括判断本地数据是否完整的步骤,如果不完整,则下载请求的数据。 The method for obtaining network data according to claim 5, wherein if there is requested data locally, the method further comprises the step of determining whether the local data is complete, and if not, downloading the requested data.
  7. 根据权利要求1或2或3或5或6所述的网络数据的获取方法,其特征在于,所述检测网络连接状况的步骤是定时进行的,如果网络连接状况不满足预定条件,则进一步包括判断后台自动下载功能是否开启的步骤,如果后台自动下载功能已经开启,则关闭后台自动下载功能后返回检测网络连接状况的步骤;如果后台自动下载功能已经关闭,则返回检测网络连接状况的步骤。 The method for acquiring network data according to claim 1 or 2 or 3 or 5 or 6, wherein the step of detecting a network connection status is performed periodically, and if the network connection status does not satisfy the predetermined condition, further comprising The step of determining whether the automatic download function in the background is enabled, if the automatic download function of the background is already enabled, the step of detecting the network connection status is returned after the automatic download function of the background is turned off; if the automatic download function of the background is closed, the step of detecting the network connection status is returned.
  8. 根据权利要求1或2或3或5或6所述的网络数据的获取方法,其特征在于,还包括退出当前应用时删除通过自动下载保存到本地的数据的步骤。 The method for acquiring network data according to claim 1 or 2 or 3 or 5 or 6, further comprising the step of deleting the data saved to the local by automatic download when exiting the current application.
  9. 根据权利要求 1 或 2 或 3 或 5 或 6 所述的网络数据的获取方法,其特征在于,根据预设的优先级确定自动下载的次序,所述优先级根据用户的喜好、历史记录或当前应用关联层级中各层级的重要性确定。According to claim 1 or 2 or 3 or 5 or 6 The method for acquiring network data is characterized in that an order of automatic downloading is determined according to a preset priority, and the priority is determined according to a user's preference, a history, or an importance of each level in a current application association level.
  10. 根据权利要求1或2或3或5或6所述的网络数据的获取方法,其特征在于,还包括突出显示已下载数据对应的当前应用关联层级的步骤。 The method for acquiring network data according to claim 1 or 2 or 3 or 5 or 6, further comprising the step of highlighting a current application association level corresponding to the downloaded data.
  11. 一种网络数据的获取系统,包括建立网络连接的网络连接模块、处理模块和存储本地数据的存储模块,其特征在于,所述处理模块包括与所述网络连接模块连接的检测网络连接状况的检测单元、与所述检测单元相连根据所述检测单元的检测结果判断网络连接状况是否满足预定条件的判断单元及与所述判断单元相连如果网络连接状况满足预定条件则后台自动下载当前应用关联层级所需的数据并保存到所述存储模块的下载单元。 A network data acquisition system includes a network connection module for establishing a network connection, a processing module, and a storage module for storing local data, wherein the processing module includes detection of a connection network connection status connected to the network connection module. a unit, connected to the detecting unit, determining, according to the detection result of the detecting unit, whether the network connection status satisfies a predetermined condition, and connecting to the determining unit, if the network connection status satisfies a predetermined condition, the background automatically downloads the current application association level The required data is saved to the download unit of the storage module.
  12. 根据权利要求11所述的网络数据的获取系统,其特征在于,所述预定条件为网络连接类型为预定类型或连接带宽大于预定连接带宽或空闲带宽大于预定空闲带宽或网络连接未被占用。 The network data acquiring system according to claim 11, wherein the predetermined condition is that the network connection type is a predetermined type or the connection bandwidth is greater than a predetermined connection bandwidth or the idle bandwidth is greater than a predetermined idle bandwidth or the network connection is not occupied.
  13. 根据权利要求12所述的网络数据的获取系统,其特征在于,所述网络连接模块为无线网络连接模块,所述预定类型为无线局域网或3G。 The system for acquiring network data according to claim 12, wherein the network connection module is a wireless network connection module, and the predetermined type is a wireless local area network or a 3G.
  14. 根据权利要求11至13中任意一项所述的网络数据的获取系统,其特征在于,所述当前应用关联层级所需的数据为当前网页页面链接的页面数据或从当前功能转入其他功能所需的数据或从当前游戏场景进入其他游戏场景所需的数据。 The network data obtaining system according to any one of claims 11 to 13, wherein the data required by the current application association level is page data linked by the current webpage page or transferred from the current function to another function. The data needed or the data needed to enter other game scenarios from the current game scene.
  15. 根据权利要求11所述的网络数据的获取系统,其特征在于,还包括用于输入网络访问请求的输入模块,所述处理模块还包括控制单元,所述控制单元与所述输入模块及存储模块相连,根据所述网络访问请求判断所述存储模块是否存储有通过自动下载保存的请求的数据,如果所述存储模块存储有请求的数据,则读取存储模块中存储的请求的数据;如果所述存储模块未存储请求的数据,则指令所述下载单元下载请求的数据。 The network data obtaining system according to claim 11, further comprising an input module for inputting a network access request, the processing module further comprising a control unit, the control unit and the input module and the storage module Connected, determining, according to the network access request, whether the storage module stores data of a request saved by automatic downloading, and if the storage module stores the requested data, reading the requested data stored in the storage module; If the storage module does not store the requested data, the download unit is instructed to download the requested data.
  16. 根据权利要求15所述的网络数据的获取系统,其特征在于,所述控制单元还用于在存储模块存储有请求的数据时判断存储的请求的数据是否完整,如果不完整,则指令所述下载单元下载请求的数据。 The system for acquiring network data according to claim 15, wherein the control unit is further configured to: determine, when the storage module stores the requested data, whether the stored data is complete, and if not, instruct the The download unit downloads the requested data.
  17. 根据权利要求15所述的网络数据的获取系统,其特征在于,所述控制单元还用于退出当前应用时删除通过自动下载保存到存储模块的数据。 The system for acquiring network data according to claim 15, wherein the control unit is further configured to delete data saved to the storage module by automatic downloading when exiting the current application.
  18. 根据权利要求11或12或13或15或16或17所述的网络数据的获取系统,其特征在于,所述检测单元定时检测网络连接状况,所述判断单元还用于在网络连接状况不满足预定条件时进一步判断后台自动下载功能是否开启,如果后台自动下载功能已经开启,则指令所述下载单元关闭后台自动下载功能。 The network data acquisition system according to claim 11 or 12 or 13 or 15 or 16 or 17, wherein the detecting unit periodically detects a network connection status, and the determining unit is further configured to not satisfy the network connection status. When the condition is predetermined, it is further determined whether the background automatic download function is enabled. If the background automatic download function is already enabled, the download unit is instructed to turn off the background automatic download function.
  19. 根据权利要求11或12或13或15或16或17所述的网络数据的获取系统,其特征在于,所述处理模块还包括配置单元,所述下载单元根据所述配置单元中预设的优先级确定自动下载的次序,所述优先级根据用户的喜好、历史记录或当前应用关联层级中各层级的重要性确定。 The system for acquiring network data according to claim 11 or 12 or 13 or 15 or 16 or 17, wherein the processing module further comprises a configuration unit, wherein the download unit is based on a preset priority in the configuration unit. The level determines the order of automatic downloads, which are determined based on the user's preferences, history, or the importance of each level in the current application association hierarchy.
  20. 一种网络数据的获取方法,其特征在于,包括以下步骤:A method for acquiring network data, comprising the steps of:
    建立网络连接;Establish a network connection;
    检测网络连接状况;Detect network connection status;
    判断网络连接状况是否满足预定条件;Determining whether the network connection status satisfies a predetermined condition;
    如果网络连接状况满足预定条件则后台自动下载程序后续所需的数据并保存到本地。 If the network connection status meets the predetermined condition, the background automatically downloads the data required by the program and saves it locally.
  21. 根据权利要求20所述的网络数据的获取方法,其特征在于,所述预定条件为网络连接类型为预定类型或连接带宽大于预定连接带宽或空闲带宽大于预定空闲带宽或网络连接未被占用。 The method for acquiring network data according to claim 20, wherein the predetermined condition is that the network connection type is a predetermined type or the connection bandwidth is greater than a predetermined connection bandwidth or the idle bandwidth is greater than a predetermined idle bandwidth or the network connection is not occupied.
  22. 根据权利要求20所述的网络数据的获取方法,其特征在于,所述预定类型为无线局域网或3G。 The method for acquiring network data according to claim 20, wherein the predetermined type is a wireless local area network or 3G.
  23. 根据权利要求20所述的网络数据的获取方法,其特征在于,所述检测网络连接状况的步骤是定时进行的,如果网络连接状况不满足预定条件,则进一步包括判断后台自动下载功能是否开启的步骤,如果后台自动下载功能已经开启,则关闭后台自动下载功能后返回检测网络连接状况的步骤;如果后台自动下载功能已经关闭,则返回检测网络连接状况的步骤。 The method for acquiring network data according to claim 20, wherein the step of detecting a network connection status is performed periodically, and if the network connection status does not satisfy the predetermined condition, further comprising determining whether the background automatic download function is enabled. Step: If the background automatic download function is enabled, the step of detecting the network connection status is returned after the background automatic download function is turned off; if the background automatic download function is turned off, the step of detecting the network connection status is returned.
  24. 一种网络数据的获取系统,包括建立网络连接的网络连接模块、处理模块和存储本地数据的存储模块,其特征在于,所述处理模块包括与所述网络连接模块连接的检测网络连接状况的检测单元、与所述检测单元相连根据所述检测单元的检测结果判断网络连接状况是否满足预定条件的判断单元及与所述判断单元相连如果网络连接状况满足预定条件则后台自动下载程序后续所需的数据并保存到所述存储模块的下载单元。 A network data acquisition system includes a network connection module for establishing a network connection, a processing module, and a storage module for storing local data, wherein the processing module includes detection of a connection network connection status connected to the network connection module. a unit, connected to the detecting unit, determining, according to the detection result of the detecting unit, whether the network connection status satisfies a predetermined condition, and the determining unit is connected to the determining unit, if the network connection status satisfies a predetermined condition, the background automatic downloading procedure is subsequently required. The data is saved to the download unit of the storage module.
  25. 根据权利要求 24 所述的网络数据的获取系统,其特征在于,所述预定条件为网络连接类型为预定类型或连接带宽大于预定连接带宽或空闲带宽大于预定空闲带宽或网络连接未被占用。According to claim 24 The system for acquiring network data is characterized in that the predetermined condition is that the network connection type is a predetermined type or the connection bandwidth is greater than a predetermined connection bandwidth or the idle bandwidth is greater than a predetermined idle bandwidth or the network connection is not occupied.
  26. 根据权利要求24所述的网络数据的获取系统,其特征在于,所述检测单元定时检测网络连接状况,所述判断单元还用于在网络连接状况不满足预定条件时进一步判断后台自动下载功能是否开启,如果后台自动下载功能已经开启,则指令所述下载单元关闭后台自动下载功能。The network data acquisition system according to claim 24, wherein the detecting unit periodically detects a network connection status, and the determining unit is further configured to further determine whether the background automatic download function is determined when the network connection status does not satisfy the predetermined condition. If the background automatic download function is enabled, the download unit is instructed to disable the background automatic download function.
PCT/CN2011/070932 2010-04-23 2011-02-11 Method and system for network data acquisition WO2011131048A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010157951.1 2010-04-23
CN2010101579511A CN102238204A (en) 2010-04-23 2010-04-23 Network data acquisition method and system

Publications (1)

Publication Number Publication Date
WO2011131048A1 true WO2011131048A1 (en) 2011-10-27

Family

ID=44833685

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/070932 WO2011131048A1 (en) 2010-04-23 2011-02-11 Method and system for network data acquisition

Country Status (2)

Country Link
CN (1) CN102238204A (en)
WO (1) WO2011131048A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103428334A (en) * 2012-05-15 2013-12-04 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for browsing website

Families Citing this family (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102779068A (en) * 2012-07-10 2012-11-14 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and application program networking control method
CN103685330A (en) * 2012-08-31 2014-03-26 腾讯科技(深圳)有限公司 Data transmission method and data transmission device
CN103795848B (en) * 2012-11-02 2016-03-30 中兴通讯股份有限公司 A kind of method and apparatus by mobile terminal browsing page
CN103873499B (en) * 2012-12-12 2017-11-07 腾讯科技(深圳)有限公司 Data capture method and device
CN103067908A (en) * 2012-12-27 2013-04-24 北京小米科技有限责任公司 Data processing method, device and terminal
CN103096385B (en) * 2013-01-25 2016-03-23 小米科技有限责任公司 A kind of method of flow control, device and terminal
CN104023409B (en) * 2013-02-28 2018-03-27 腾讯科技(深圳)有限公司 Method for connecting network and system
CN103825938A (en) * 2014-01-26 2014-05-28 北京卓易讯畅科技有限公司 Method of downloading resources and device
WO2015164999A1 (en) * 2014-04-28 2015-11-05 华为技术有限公司 Virtual card downloading method, terminal and intermediate device
CN104486297A (en) * 2014-11-27 2015-04-01 上海斐讯数据通信技术有限公司 Network access method and mobile terminal
CN104580361A (en) * 2014-11-28 2015-04-29 北京奇虎科技有限公司 Method, device and system for downloading data
CN104601658A (en) * 2014-12-15 2015-05-06 北京奇虎科技有限公司 Data download method, device and system
CN108062352B (en) * 2014-12-31 2022-01-14 Oppo广东移动通信有限公司 Webpage page caching processing method, mobile terminal equipment and medium product
CN105279267A (en) * 2015-10-23 2016-01-27 广州视睿电子科技有限公司 Data caching method and device
CN105554131A (en) * 2015-12-18 2016-05-04 魅族科技(中国)有限公司 Data processing method and mobile terminal
CN105610935A (en) * 2015-12-25 2016-05-25 北京奇虎科技有限公司 Data download system and data download method
CN107147924A (en) * 2016-03-01 2017-09-08 腾讯科技(深圳)有限公司 Method for processing video frequency, device and system and data processing method and device
CN108111553B (en) * 2016-11-24 2020-12-25 腾讯科技(深圳)有限公司 Method and device for providing service
CN108132950A (en) * 2016-12-01 2018-06-08 阿里巴巴集团控股有限公司 Information displaying method, information providing method, apparatus and system
CN106792815A (en) * 2016-12-20 2017-05-31 深圳市万普拉斯科技有限公司 Data load method and device
CN108668148A (en) * 2017-03-28 2018-10-16 北京雷石天地电子技术有限公司 A kind of method and apparatus that KTV plays film
CN106932800A (en) * 2017-04-28 2017-07-07 惠州市博实结科技有限公司 A kind of localization method and device for car-mounted terminal
CN107908730B (en) * 2017-11-14 2021-02-02 网宿科技股份有限公司 Method and device for downloading data
CN112217605B (en) * 2020-09-07 2023-10-20 网宿科技股份有限公司 Transmission policy selection method, device and storage medium
CN114500665A (en) * 2021-12-28 2022-05-13 炫彩互动网络科技有限公司 File fragmentation downloading method, equipment and storage medium adaptive to network environment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003044510A (en) * 2001-07-26 2003-02-14 Matsushita Electric Ind Co Ltd Gateway system
US20030187957A1 (en) * 2002-03-29 2003-10-02 Tong Huang Automatic data download system and method
CN1452095A (en) * 2002-04-13 2003-10-29 鸿富锦精密工业(深圳)有限公司 Automatic document down-load system and method
CN1522418A (en) * 2001-03-08 2004-08-18 �Ҵ���˾ Predictive caching and highlighting of web pages
CN1933621A (en) * 2005-09-16 2007-03-21 鸿富锦精密工业(深圳)有限公司 Mobile communication system, mobile communication device and configuration set file downloading method thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1605073A (en) * 2001-12-13 2005-04-06 汤姆森许可公司 Apparatus and methods for information transfer using a cached server
CN1203403C (en) * 2003-01-17 2005-05-25 天图信息技术(上海)有限公司 Background downloading device and method in net video network advertiing system
CN101494768A (en) * 2009-01-23 2009-07-29 华为技术有限公司 Method and apparatus for sending and downloading multimedia data, and multimedia order programme system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1522418A (en) * 2001-03-08 2004-08-18 �Ҵ���˾ Predictive caching and highlighting of web pages
JP2003044510A (en) * 2001-07-26 2003-02-14 Matsushita Electric Ind Co Ltd Gateway system
US20030187957A1 (en) * 2002-03-29 2003-10-02 Tong Huang Automatic data download system and method
CN1452095A (en) * 2002-04-13 2003-10-29 鸿富锦精密工业(深圳)有限公司 Automatic document down-load system and method
CN1933621A (en) * 2005-09-16 2007-03-21 鸿富锦精密工业(深圳)有限公司 Mobile communication system, mobile communication device and configuration set file downloading method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103428334A (en) * 2012-05-15 2013-12-04 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for browsing website

Also Published As

Publication number Publication date
CN102238204A (en) 2011-11-09

Similar Documents

Publication Publication Date Title
WO2011131048A1 (en) Method and system for network data acquisition
US7840685B2 (en) Handheld computer having dynamic network transport selection according to a media type of a request
WO2013007147A1 (en) Webpage browsing method and device
US7159186B2 (en) User interface for transferring data with a communications terminal
WO2019157880A1 (en) Method and device for generating link for application page, storage medium, and electronic apparatus
US20080227440A1 (en) Methods and apparatus for discovering and updating a mobile device via user behavior
WO2021243884A1 (en) Network element determination method and device
WO2015024390A1 (en) Image management method, apparatus, and terminal device
RU2597468C2 (en) Method and device for browsing web pages at weak illumination by browser for mobile terminal
WO2012062151A1 (en) Method and system for processing network data
WO2014206143A1 (en) Method, apparatus and device for displaying number of unread messages
US20130212220A1 (en) Terminal device, data receiving method, data receiving program, and recording medium
CN109948090B (en) Webpage loading method and device
TWI446748B (en) A method of providing a network map through a gateway device to assist a user in managing a peripheral network device
WO2018194353A1 (en) Selectively transferring one or more services in multi-subscriber identity module (sim)-multi-standby electronic device
WO2012155698A1 (en) Browser engine based method for dynamically loading widget and mobile terminal
WO2013039301A1 (en) Integrated operation method for social network service function and system supporting the same
JP2003044510A (en) Gateway system
WO2015062234A1 (en) Mobile terminal resource processing method, device and apparatus
CN101901256B (en) Method and system for automatically synchronizing set information of user on various social network sites
WO2017076279A1 (en) Method of updating forward information base item, and device and system utilizing same
CN111367996A (en) KV index-based thermal data increment synchronization method and device
WO2020113591A1 (en) Method and terminal device for dynamically adjusting version of avrcp
CN114157916B (en) Smart television content pushing method, smart television and computer readable storage medium
KR20080051679A (en) Method for acquiring real time concern information and system the same

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11771501

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC OF 220313

122 Ep: pct application non-entry in european phase

Ref document number: 11771501

Country of ref document: EP

Kind code of ref document: A1