CN115474241A - Automatic caching method for machine - Google Patents

Automatic caching method for machine Download PDF

Info

Publication number
CN115474241A
CN115474241A CN202211008995.7A CN202211008995A CN115474241A CN 115474241 A CN115474241 A CN 115474241A CN 202211008995 A CN202211008995 A CN 202211008995A CN 115474241 A CN115474241 A CN 115474241A
Authority
CN
China
Prior art keywords
content
machine
base station
forwarded
requirement
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211008995.7A
Other languages
Chinese (zh)
Inventor
董辰
赵培伊
刘凯俊
周虹媛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
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 Beijing University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN202211008995.7A priority Critical patent/CN115474241A/en
Publication of CN115474241A publication Critical patent/CN115474241A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/90Buffering arrangements
    • H04L49/9063Intermediate storage in different physical parts of a node or terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0289Congestion control

Abstract

The invention discloses a method for automatically caching a machine, belonging to the technical field of wireless communication. In the method, a machine stores initial version content in advance, monitors whether the machine enters a base station forwarding range, judges whether the self-stored content is consistent with the content to be forwarded by the base station after the machine enters the base station forwarding range, and does not download the self-stored content if the self-stored content is consistent with the content to be forwarded by the base station; otherwise, the machine judges whether the content to be forwarded by the base station is needed or not according to the current requirement, if so, the content is automatically cached to the local without a request, otherwise, the content is not downloaded. The method of the invention does not need to download all the contents to be forwarded of the base station on the premise of ensuring the self requirements of the machine, thereby reducing the consumption of network resources and the waste of storage space, and also does not need manual intervention for downloading, so that the machine cache is more intelligent and convenient.

Description

Automatic caching method for machine
Technical Field
The invention relates to the field of wireless communication, in particular to a machine automatic caching method under a wireless communication environment.
Background
As intelligent terminals become more ubiquitous and mobile service demands increase greatly, wireless network caching also faces significant challenges. The Content Delivery Network (CDN) has the basic principle that various cache servers are widely used, and more cache servers are set in an area with higher user activity, so that when a user accesses the CDN, the Content is scheduled to a server closest to the CDN to make a response request, which aims to solve the problem of Network congestion and improve the access speed of the user. Due to the limited communication resources and buffer space, an invalid data buffer causes a waste of resources.
The hardware performance of the computer system is greatly different, and a plurality of cache strategies are established for solving the problem of non-uniform data transmission among the computer systems. The cache improves the hit rate of cache contents by designing algorithms such as data blocking, prefetching, sequential prefetching, cache replacement and the like. The main caching strategies of the storage system include a caching strategy based on access time, a caching strategy based on access frequency and the like. Conventional caching strategies include specifying which data needs to be cached, when cache-in operations are performed, and specifying which contents are discarded when the cache space is full.
The basic working principle of Web cache is as follows:
the basic caching processing steps of the HTTP GET message are as follows:
1. receiving-caching incoming request messages read from the network;
2. parsing-the cache parses the message, extracts the URL (uniform resource locator) and various headers;
3. checking and inquiring, namely checking whether a local copy is available or not, if not, acquiring a copy and storing the copy in the local;
4. freshness detection, namely checking whether the cached copy is fresh enough or not in the cache, and if not, inquiring whether a server has any update or not;
5. creating a response-the cache will construct a response message with the new header and the cached body;
6. send-cache sends response back to client over network;
7. log-cache optionally creates a log file entry to describe this transaction.
Every day, a large amount of content appears, if user equipment, namely a machine, enters a forwarding range of a base station, the content is cached, the content which can be cached is large, the machine is not needed, and the waste of network bandwidth and cache space is caused.
Disclosure of Invention
The invention provides a method for automatically caching a machine in a wireless communication environment, aiming at the problem that the network bandwidth and the cache space are wasted in the existing machine cache, solving the problem that the machine finds the content and needs to download the content to the local, and reducing the waste of network resources and cache space to a certain extent.
The invention provides a method for automatic machine caching, which is applied to a wireless communication environment, wherein the machine is downloaded with initial version content, and when the machine enters a forwarding range of a base station, the machine executes the method to automatically update the content caching.
The method comprises the following steps:
the method comprises the following steps: when the machine enters the forwarding range of the base station, the machine judges whether the stored content of the machine is consistent with the content to be forwarded by the base station, if so, the content to be forwarded by the base station is ignored, and downloading is not carried out; if not, entering the step two;
step two: the machine judges whether the content to be forwarded by the base station is needed or not according to the current requirement, if the content needs to be automatically cached to the local without a request, otherwise, the content to be forwarded by the base station is ignored, and downloading is not carried out.
In the first step, abstract information of contents to be forwarded by the base station is obtained, wherein the abstract information comprises unique codes of objects or areas, updating dates, content sizes and the like; and comparing the stored contents in the self according to the acquired summary information, and if the updating dates and the content sizes of the same objects or areas are consistent, judging that the stored contents are consistent with the contents to be forwarded by the base station.
In the second step, determining whether the content to be forwarded by the base station is needed includes: the unique code and the position of the object or the area related to the current user requirement are obtained, whether the position of the object or the area in the content to be forwarded by the base station is in the machine coverage area of the position related to the user requirement is judged, if yes, the requirement is indicated, and if not, the requirement is indicated.
Compared with the prior art, the invention has the advantages and positive effects that: the method of the invention realizes that the machine automatically judges whether the content is needed or not, automatically caches the content to the local after judging that the content is needed, and does not cache the content if the content is not needed.
Drawings
FIG. 1 is a general flow chart of a machine automatic caching method of the present invention;
FIG. 2 is a diagram of a machine not entering and entering the forwarding range of a base station, where (a) is a non-entering case and (b) is an entering case;
FIG. 3 is a schematic diagram of a case where a machine coverage area does not intersect target content;
FIG. 4 is a schematic diagram of a machine coverage area intersecting target content.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples.
The embodiment of the invention combines: the invention is further elaborated on the problem that whether cache updating is needed through the nearby navigation after the name of a certain street of a map is updated. The invention discloses a method for automatically caching a machine in a wireless communication environment, which mainly comprises the following steps: detecting the access to the base station forwarding range, and judging whether the content is not cached; and judging whether the content is needed or not, and if so, downloading the content to the local. As shown in FIG. 1, the embodiment of the present invention is described below in two steps.
The machine automatic caching method realized by the invention is characterized in that two components are installed on user equipment: the device comprises a content detection module and a content downloading module. The functions performed by the two modules are explained in the following steps.
Firstly, a content detection module detects whether a machine enters a base station forwarding range. As shown in fig. 2 (a), if the device does not enter the base station transfer range, it is not determined. As shown in fig. 2 (b), when the machine enters the forwarding range of the base station, the content detection module starts to determine, compare whether the existing content of the machine is consistent with the content to be forwarded by the base station, if so, ignore, and if not, enter step two.
In the prior art, a machine directly downloads content to be forwarded by a base station, and the downloaded content may not be needed by the machine or may exist on the machine but does not need to be updated, which wastes network traffic and a storage space of the machine. Different from the prior art, the first step of the invention is to perform a pre-judgment through the arranged content detection module before downloading, judge whether the machine has the content to be forwarded by the base station stored locally, and if so, do not perform downloading, thereby reducing the waste of network flow and storage space.
In the embodiment of the invention, the content detection module detects whether the updating exists or not aiming at the navigation application opened by the user equipment, judges whether the updating exists or not by judging whether the existing content of the content detection module is consistent with the content to be forwarded by the base station, if so, the updating does not exist and does not need to be downloaded, otherwise, the updating exists, and the content downloading module is triggered.
The content detection module of the machine needs to acquire the abstract of the content to be forwarded by the base station, wherein information such as the name, the code, the position, the update date, the content size and the like of an object involved in updating is recorded. The abstract of the content to be forwarded by the base station comprises a road name, a road number, an address, an updating date, an updating content size and the like; the embodiment of the invention acquires the existing contents of the machine, including the area, the road name, the number, the update date and the like. The embodiment of the invention can judge whether the data are consistent or not according to the area, the road number, the updating date, the updating content size and the like.
Step two: the content downloading module judges whether the content to be forwarded by the base station is needed or not according to the self requirement of the machine, if the content is needed, the content is useful information, the content does not need to be requested to be automatically cached to the local, and if the content is not needed, the content is useless information, and the content is directly ignored and not downloaded.
The content downloading module judges whether the content to be forwarded of the base station needs to be downloaded, and the judging process is as follows: and acquiring the current user requirement, judging the intersection of the requirement and the content to be forwarded, judging the requirement if an intersection exists, and judging the requirement if the intersection does not exist.
In the embodiment of the invention, the content downloading module judges whether intersection exists with the content to be forwarded according to the route traveled by the current user navigation. As shown in fig. 3, the current demand of the machine is a solid line trajectory, a circle in the figure represents an area covered by the machine, the area does not cover the updated road, that is, the content to be forwarded does not intersect with the demand, and it is determined that the content to be forwarded is not needed, and the content to be forwarded is ignored. As shown in fig. 4, the current demand of the machine is a solid line track, the circle represents a machine coverage area, the area covers the updated road, the content to be forwarded intersects with the demand, and at this time, it is determined to be needed, and at this time, the machine automatically downloads the content to be forwarded to the local without request confirmation.
In the prior art, because the user requirement range is wide, the technical scheme of judging whether the resource needs to be updated on the base station or not by analyzing the user requirement in the invention is not adopted. The invention analyzes the user requirement in advance, acquires the unique code and the position of the related object or area according to the resource information of the application related to the user requirement, compares the unique code and the position with the abstract of the content to be forwarded by the base station and judges whether the intersection exists. According to the embodiment of the invention, the position point closest to the navigation path of the machine is searched according to the road number (unique code) updated in the abstract, and whether the updated road is in the machine coverage range of the closest position point is judged. The machine coverage is set according to the user equipment, and a fixed value can also be set in advance.
Through tests, the scheme of the invention is found to greatly improve the cache performance and save the network performance although the judgment time is increased, and the method is more intelligent, convenient and rapid without human intervention.
Except for the technical features described in the specification, the method is known by the technical personnel in the field. Descriptions of well-known components and well-known technologies are omitted so as to avoid redundancy and unnecessary limitations of the present invention. The embodiments described in the above embodiments do not represent all embodiments consistent with the present application, and various modifications or variations which may be made by those skilled in the art without inventive efforts based on the technical solution of the present invention are still within the protective scope of the present invention.

Claims (1)

1. A method for automatic caching by a machine, wherein under a wireless communication environment, the machine executes the following steps:
step 1: when the machine enters the forwarding range of the base station, the machine judges whether the stored content of the machine is consistent with the content to be forwarded by the base station, if so, the content to be forwarded by the base station is ignored, and downloading is not carried out; if not, entering step 2;
the machine acquires abstract information of contents to be forwarded by the base station, wherein the abstract information comprises a unique code, an update date and a content size of an object or an area; comparing the obtained summary information in the stored contents per se, and judging whether consistent contents are stored or not;
and 2, step: the machine judges whether the content to be forwarded of the base station is needed or not according to the current requirement, and if the content to be forwarded is needed, the content to be forwarded does not need to be requested to be automatically cached to the local machine; otherwise, neglecting the contents to be forwarded by the base station and not downloading;
the machine judges whether the content to be forwarded by the base station is needed, and the method comprises the following steps: the unique code and the position of the object or the area related to the current user requirement are obtained, whether the position of the object or the area in the content to be forwarded by the base station is in the machine coverage area of the position related to the user requirement is judged, if yes, the requirement is indicated, and if not, the requirement is indicated.
CN202211008995.7A 2022-08-22 2022-08-22 Automatic caching method for machine Pending CN115474241A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211008995.7A CN115474241A (en) 2022-08-22 2022-08-22 Automatic caching method for machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211008995.7A CN115474241A (en) 2022-08-22 2022-08-22 Automatic caching method for machine

Publications (1)

Publication Number Publication Date
CN115474241A true CN115474241A (en) 2022-12-13

Family

ID=84366517

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211008995.7A Pending CN115474241A (en) 2022-08-22 2022-08-22 Automatic caching method for machine

Country Status (1)

Country Link
CN (1) CN115474241A (en)

Similar Documents

Publication Publication Date Title
KR100757765B1 (en) Distributed cache for a wireless communication system
CA2303001C (en) Scheme for information delivery to mobile computers using cache servers
CN103023768B (en) Edge routing node and its method from multi-source prefetching content
KR101177224B1 (en) Method and apparatus for pre-fetching data in a mobile network environment using edge data storage
EP2503473B1 (en) Pre-caching web content for a mobile device
US6907429B2 (en) Satellite-based internet access system with remote prefetching of inline objects of web pages
US5930472A (en) Method and apparatus in a wireless communication system for splitting a browser functionality between a wireless client and an infrastructure portion
US20080235326A1 (en) Methods and Apparatus for Accelerating Web Browser Caching
US6868453B1 (en) Internet home page data acquisition method
US20070124309A1 (en) Content retrieval system
CN102025595A (en) Flow optimization method and system
JP2007506296A (en) How to provide content to mobile web browsing devices
CN101535992A (en) Adaptable caching architecture and data transfer for portable devices
KR20030059801A (en) A business to business engine and system for facilitating information interexchange using realtime data
CN100337460C (en) Content transmitting system
CN109040153B (en) Caching method for caching content, related device and computer-readable storage medium
CN115474241A (en) Automatic caching method for machine
KR20040019103A (en) Method, system and terminal for data networks with distributed caches
WO2008120164A2 (en) Data transmission
JP2002259197A (en) Active contents cache control system, active contents cache controller, its controlling method, program for control and processing active contents cache and recording medium for its program
CN105827579A (en) Early warning method and system for online broadcasting driving safety prompts
KR20110061929A (en) Telematics system and method for controlling the same
JP3225792B2 (en) Mobile database cache control method
Flinn Data Staging

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination