CN108011836A - Transmission method, device, terminal device and storage medium based on L2 cache - Google Patents

Transmission method, device, terminal device and storage medium based on L2 cache Download PDF

Info

Publication number
CN108011836A
CN108011836A CN201711172590.6A CN201711172590A CN108011836A CN 108011836 A CN108011836 A CN 108011836A CN 201711172590 A CN201711172590 A CN 201711172590A CN 108011836 A CN108011836 A CN 108011836A
Authority
CN
China
Prior art keywords
file
request
cache
class
relay station
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
CN201711172590.6A
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.)
Guangzhou University
Original Assignee
Guangzhou University
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 Guangzhou University filed Critical Guangzhou University
Priority to CN201711172590.6A priority Critical patent/CN108011836A/en
Publication of CN108011836A publication Critical patent/CN108011836A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/29Flow control; Congestion control using a combination of thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/60Queue scheduling implementing hierarchical scheduling
    • 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

Landscapes

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

Abstract

The invention discloses a kind of transmission method based on L2 cache, comprise the following steps:Receive the file request instruction that user sends;The file for obtaining pre-request is instructed according to the file request;When the file of the pre-request is the first class file, the file of the pre-request is transmitted to the user by relay station;Wherein, first class file is that the request frequency being stored in all relay stations is higher than the popular file of frequency threshold;When the file of the pre-request is the second class file, the relay station there are the pre-request file is obtained, and transmits the file of the pre-request to user by the relay station of the file there are pre-request;Wherein, second class file is time popular file that the request frequency being stored in the relay station of part is less than frequency threshold.The invention also discloses a kind of transmitting device based on L2 cache, terminal device and storage medium, strengthens overall data throughout, optimization system performance.

Description

Transmission method, device, terminal device and storage medium based on L2 cache
Technical field
The present invention relates to the communications field, more particularly to a kind of transmission method based on L2 cache, device, terminal device and Storage medium.
Background technology
With the rapid growth of multimedia service demand, it is foreseen that wireless communication industry will in following several years It is doubled and redoubled.It is estimated that wireless data transmission rate can increase by seven times from 2016 to 2021.Meanwhile not far future, wirelessly Communication will mainly provide service centered on content rather than centered on connection.It means that in most cases, clothes Business will no longer be by between transmitter and user it is point-to-point connection provide, but according to user ask content point-to-point services or By broadcasting point-to-point services.These services centered on content include video on demand, Streaming Media, advertisement etc..
In order to meet the needs of wireless data service and the service centered on content, the advanced technology of associated support is wide General research.A kind of very promising method is to be combined cooperation with caching subsidiary communications.Because by such method, can Realize and improve handling capacity, multiple-access, the performance gain of wireless broadcast communication.Under normal conditions, for caching subsidiary communications Say, file can be classified by their popularity.File can make choice and then be buffered according to their popularity Repeater so that overall throughput performance is strengthened.
In the implementation of the present invention, inventor has found that at least there are the following problems in the prior art:
The first implementation method of the prior art is to access at most, namely the highest file storage of file popularity exists In caching, it is known as maximum popular content storage, or MPC mechanism, this scheme make the file of user's frequent requests obtain quickly Provide, be conducive to improve the high file transfer rate of popularity, it is done so that can cause to transmit during time popular file speed compared with The low or bit error rate is high.
Second of implementation method of the prior art is that buffer memory capacity is divided half-and-half, and will most popular and time popular file difference It is stored on the half space of caching, is known as the storage of maximum diversity content, or LDC mechanism, this mechanism can ensures to use at random The transmission rate and the reduction bit error rate when most popular or secondary popular file are asked in family, or in other words, pass through LDC mechanism systems The speed and the bit error rate of the most popular and secondary popular file of transmission are equal, so can meet request of the user to different files, Because referred to herein as maximum diversity content stores.But because the request probability of secondary prevalence file is less than most popular file, LDC is this The method that directly space is divided into two is too simple directly, so does the system performance that can not have been obtained.
The content of the invention
In view of the above-mentioned problems, it is an object of the invention to provide a kind of transmission method based on L2 cache, device, terminal Equipment and storage medium, strengthen overall data throughout, optimization system performance.
The present invention provides a kind of transmission method based on L2 cache, comprise the following steps:
Receive the file request instruction that user sends;
The file for obtaining pre-request is instructed according to the file request;
When the file of the pre-request is the first class file, the pre-request is transmitted to the user by relay station File;Wherein, first class file is that the request frequency being stored in all relay stations is higher than the popular file of frequency threshold;
When the file of the pre-request is the second class file, the relay station there are the pre-request file is obtained, and lead to The relay station for crossing the file there are pre-request transmits the file of the pre-request to user;Wherein, second class file Request frequency to be stored in the relay station of part is less than time popular file of frequency threshold.
Preferably, on each repeater, first class file is stored in the repeater caching and is less than optimal caching In the space of threshold value.
Preferably, all repeaters are divided into different cells;
Second class file is allocated corresponding cell and is stored in each repeater caching of the cell more than optimal In the space of cache threshold.
Preferably, described when the file of the pre-request is the second class file, there are the pre-request file for acquisition Relay station, and the file of the pre-request is transmitted by the relay station of the file there are pre-request to user, it is specially:
When the pre-request file is the second class file, all relayings of the second class file affiliated subdistrict are obtained Stand;
Detecting to whether there is in the first class file waiting for transmission or request queue in the transmission queue of the relay station is The no request that there is the first class file of request;
If so, the first kind file request after the first class file end of transmission in queue to be transmitted or in request queue The file of the pre-request is transmitted after being disposed;
If it is not, transmit the file of the pre-request;Wherein, the transmission success rate of second class file meets
Preferably, further include:
When the pre-request file is three class file, the pre-request file is obtained from source station and is transferred to use Family;Wherein, the 3rd class file is the file for being not stored in relay station.
Preferably, the optimal cache threshold Wherein, the K={ 1,2 ..., K } represents the database for the K file that user will ask, and 0<α<1.
Present invention also offers a kind of transmitting device based on L2 cache, including:
Request reception unit, for receiving the file request instruction of user's transmission;
File obtaining unit, the file for obtaining pre-request is instructed according to the file request;
First transmission unit, for when the file of the pre-request is the first class file, by relay station to the use Transmit the file of the pre-request in family;Wherein, first class file is that the request frequency being stored in all relay stations is higher than The popular file of frequency threshold;
Second transmission unit, for when the file of the pre-request is the second class file, obtaining, there are the pre-request The relay station of file, and the file of the pre-request is transmitted by the relay station of the file there are pre-request to user;Its In, second class file is time popular file that the request frequency being stored in the relay station of part is less than frequency threshold.
Preferably, on each repeater, first class file is stored in the repeater caching and is less than optimal caching In the space of threshold value.
Preferably, all repeaters are divided into different cells;
Second class file is allocated corresponding cell and is stored in each repeater caching of the cell more than optimal In the space of cache threshold.
Preferably, second transmission unit specifically includes:
Acquisition module is small belonging to second class file for when the pre-request file is the second class file, obtaining All relay stations in area;
Detection module, in the transmission queue for detecting the relay station with the presence or absence of the first class file waiting for transmission or With the presence or absence of the request of the first class file of request in request queue;
First transport module, for if so, after the first class file end of transmission in queue to be transmitted or request queue In first kind file request be disposed after transmit the file of the pre-request;
Second transport module, for if it is not, transmitting the file of the pre-request;Wherein, the transmission of second class file Success rate meets
Preferably, further include:
3rd transmission unit, for when the pre-request file is three class file, obtained from source station it is described it is pre- please Seek file and be transferred to user;Wherein, the 3rd class file is the file for being not stored in relay station.
Preferably, the optimal cache thresholdIts In, the K={ 1,2 ..., K } represents the database for the K file that user will ask, and 0<α<1.
Present invention also offers a kind of transmission terminal equipment based on L2 cache, including processor, memory and deposit Storage is in the memory and is configured as the computer program performed by the processor, and the processor performs the calculating The transmission method based on L2 cache described in above-mentioned middle any one is realized during machine program.
Present invention also offers a kind of computer-readable recording medium, the computer-readable recording medium includes storage Computer program, wherein, equipment where controlling the computer-readable recording medium when the computer program is run performs The transmission method based on L2 cache described in above-mentioned middle any one.
An embodiment of the present invention provides a kind of transmission method based on L2 cache, device, terminal device and storage medium, And have the advantages that:
The present invention is instructed by receiving the file request that user sends, and is instructed according to the file request and obtained pre-request File, when the file for judging the pre-request is the first class file, by relay station to the user transmit it is described it is pre- please The file asked, first class file are that the request frequency being stored in all relay stations is higher than the popular file of frequency threshold, When the file for judging the pre-request is the second class file, the relay station there are the pre-request file is obtained, and pass through institute The relay station for stating the file there are pre-request transmits the file of the pre-request to user, and second class file is to be stored in portion Divide the request frequency in relay station less than time popular file of frequency threshold.The embodiment of the present invention disclosure satisfy that user to not identical text The request of part, the popularity of comprehensive each file access enable each file to obtain the highest transmission in its file transmission range Speed and lowest bit error rate, strengthen overall data throughout, optimization system transmission performance so that system obtains preferably transmission Terminal rate.
Brief description of the drawings
In order to illustrate more clearly of technical scheme, attached drawing needed in embodiment will be made below Simply introduce, it should be apparent that, drawings in the following description are only some embodiments of the present invention, general for this area For logical technical staff, without creative efforts, other attached drawings can also be obtained according to these attached drawings.
Fig. 1 is the flow diagram that first embodiment of the invention provides the transmission method based on L2 cache.
Fig. 2 be the first class file, the second class file and the 3rd class file that first embodiment of the invention provides storage with Transmit schematic diagram.
Fig. 3 is first kind text when the optimal cache threshold M that first embodiment of the invention provides changes with outage probability The schematic diagram of the efficiency of transmission of part and the second class file change.
Fig. 4 is the signal that the α values that the optimal cache threshold M that first embodiment of the invention provides is distributed with Zipf change Figure.
Fig. 5 is the structure diagram that third embodiment of the invention provides the transmitting device based on L2 cache.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without making creative work Embodiment, belongs to the scope of protection of the invention.
Referring to Fig. 1, first embodiment of the invention provides a kind of transmission method based on L2 cache, it can be by terminal Equipment performs, and comprises the following steps:
S11, receives the file request instruction that user sends.
In embodiments of the present invention, the terminal device can be the meter such as cloud server, desktop PC, notebook Calculate equipment.
In embodiments of the present invention, the terminal device receives user and is referred to by the file request that its user terminal is sent Order, the terminal device parse the file request instruction to obtain the solicited message of client.If K=1,2 ..., and K } represent to use The database for the K file that family will ask, the probability that each file is requested by a user meet that Zipf is distributed, and Zipf laws can be with It is expressed as in the corpus of natural language, the number that word occurs is inversely proportional with its ranking in frequency meter, note c The probability that a file is requested by a user is fc, thenWherein, 0<α<1 is a parameter of Zipf distributions.α is bigger, Then show that more multifile request is concentrated on the first class file., can be with assuming that each relay station has one capacity is locally stored Cache C file.Content is divided into two groups, and first group includes most popular M the first class files, and second group includes time K- of prevalence M the second class files.M is the optimal cache threshold of cache flow style of writing part.Once we increase the placement caching of M prevalence files, So as to which unwelcome K-M files will be reduced, vice versa.Since first group of M file is the first popular class file, so I Cache them on all repeaters.In order to cache more first class files, we only cache K-M times popular the Two class files are on the repeater of part.Therefore, in order to adapt to capacity of the K file in each repeater, it is necessary to by repeater Subregion, according to its geographical location, isArea.If it is stored in all repeaters in l areas and is stored in kth area File set on all repeaters is respectively (K-M)l(K-M)k, wherein 1≤l≤K, 1≤k≤K, as l ≠ k, (K-M)lWith (K-M)kThe second class file in file set may be different.As shown in Fig. 2, repeater R1With repeater R2Belong to 1st area, repeater R3With repeater R4Belong to 2nd area, the first popular class file M file caches are on all repeaters, secondary the second popular class file (K-M)1(K-M)21st area and 2nd area of repeater are buffered in respectively.
S12, the file for obtaining pre-request is instructed according to the file request.
In embodiments of the present invention, the terminal device passes through parsing after the file request instruction that user sends is received To obtain the solicited message of client, the terminal device reads the solicited message to obtain the use for the file request instruction The information of the file of family pre-request, judges the type of the file to be asked of user to take different biographies respectively according to file type Defeated mode.
S13, when the file of the pre-request is the first class file, by relay station to the user transmit it is described it is pre- please The file asked;Wherein, first class file is that the request frequency being stored in all relay stations is higher than the prevalence of frequency threshold File.
In embodiments of the present invention, first class file is that the request frequency being stored in all relay stations is higher than frequency The popular file of threshold value, and on each repeater, memory space, the first kind text are divided according to the optimal cache threshold Part is stored in the repeater caching and is less than in the space of optimal cache threshold, wherein, the frequency threshold is arranged to 85%, when So, the frequency threshold may be alternatively provided as 80%, 88% or 90% etc., and the present invention does not do the value range of the frequency threshold Any restriction.
When the terminal device judges the file of the pre-request for the first class file, the terminal device passes through relaying Device transmits the file of the pre-request to the user, referring to Fig. 2, since the first class file stores in all repeaters, Then as user UE1When the file of request is the first class file, all repeaters, which can cooperate with, is transferred to same demand file Ask user, if merged in transmitting terminal using maximum than sending, signal-to-noise ratio be all repeater signal-to-noise ratio and, pass at this time Defeated performance is optimal, and interruption rate is minimum.
S14, when the file of the pre-request is the second class file, obtains the relay station there are the pre-request file, And the file of the pre-request is transmitted to user by the relay station of the file there are pre-request;Wherein, second class File is time popular file that the request frequency being stored in the relay station of part is less than frequency threshold.
In embodiments of the present invention, second class file is that the request frequency being stored in the relay station of part is less than frequency Time popular file of threshold value, and all repeaters are divided into different cells, referring to Fig. 2, repeater R1With repeater R2 Belong to a cell, repeater R3With repeater R4Belong to another cell, each cell stores different the second class texts Part, second class file be allocated corresponding cell and be stored in the cell each repeater caching be more than optimal caching threshold In the space of value.
In embodiments of the present invention, because the user of the first class file of request is by all repeater cooperation with service, and ask The user of second class file is only serviced by partial interruption station.Since all relay station cooperation with service are than part relay station cooperation with service Interrupt rate it is good, remember P1 eFor the Transmission rate of all relay station cooperation with service, P is remembered2 eFor part relay station cooperation with service Transmission rate, then P1 e< P2 e, i.e. the Transmission probability of the second class file of Transmission likelihood ratio of the first class file is more It is good.On this basis, in order to obtain minimum average B configuration Transmission rate, we will preferentially ensure to transmit asking for first kind file user Ask, i.e., when user asks the first popular class file, the request is always successful.On the contrary, when user asks the second class file, If not having the current request of the first class file in request queue, its request could succeed, and otherwise need to wait until first The request of class file and the end of transmission, second class file can be just transmitted.Referring to Fig. 3, work as optimal cache threshold M values During increase, the outage probability increase of first group of file transmission, this is because, with the increase of M, the number of files phase of the first class file Ground is answered to become larger, so that cause the transmission probability higher of the first class file, in contrast, the outage probability meeting of second group of file transmission Reduced because transmission opportunity is few.When M increases to maximum 500, the file that all relay stations are cached and transmitted all is first kind text Part, equally, when M is reduced to zero, the file that all relay stations are cached and transmitted all is the second class file.
In embodiments of the present invention, when the terminal device judges the pre-request file for the second class file, obtain All relay stations of the second class file affiliated subdistrict, then in the transmission queue of the terminal device detection relay station With the presence or absence of the request that whether there is the first class file of request in the first class file waiting for transmission or request queue, if in the presence of, Institute after first kind file request after the first class file end of transmission in queue to be transmitted or in request queue is disposed State the file that terminal device transmits the pre-request again;If being not present, the terminal device directly transmits the text of the pre-request Part;Wherein, the transmission success rate of second class file meets
In embodiments of the present invention, the optimal cache thresholdIts In, the K={ 1,2 ..., K } represents the database for the K file that user will ask, and 0<α<1;Referring to Fig. 4, Fig. 4 is P1 e=0.1, P2 eThe schematic diagram that the optimal cache threshold M changes with Zipf profile parameters in the case of=0.11, with ginseng The increase of number α, the optimal cache threshold M values reduce, and weigh the transmission probability between popular and secondary popular two file sets;When During α increases, the request probability increase of the first popular class file, then time stream can be made by reducing the value of the optimal cache threshold M The second capable class file obtains more multi-request and the chance of transmission;Conversely, when α is smaller, to secondary the second popular class file Probability increase is asked, so the optimal cache threshold M must be improved, to reduce the conveyer of unwelcome second class file Meeting, so as to avoid worse performance output caused by excessive unwelcome second class file transmission.
In embodiments of the present invention, an embodiment of the present invention provides a kind of transmission method based on L2 cache, device, lead to Cross and receive the file request instruction that user sends, and the file for obtaining pre-request is instructed according to the file request, when judging When the file for stating pre-request is the first class file, the file of the pre-request is transmitted to the user by relay station, described the One class file is the popular file that the request frequency that is stored in all relay stations is higher than frequency threshold, when judging the pre-request File when being the second class file, obtain the relay station there are the pre-request file, and pass through the text there are pre-request The relay station of part transmits the file of the pre-request to user, and second class file is the request being stored in the relay station of part Time popular file of the frequency less than frequency threshold.The embodiment of the present invention disclosure satisfy that request of the user to different files, comprehensive every The popularity of a file access enables each file to obtain highest transmission speed and minimum error code in its file transmission range Rate, strengthens overall data throughout, optimization system transmission performance so that system obtains more preferable transmission terminal rate.
For the ease of the understanding of the present invention, some currently preferred embodiments of the present invention will be done further retouch below State.
Second embodiment of the invention:
On the basis of first embodiment of the invention, further include:
When the pre-request file is three class file, the pre-request file is obtained from source station and is transferred to use Family;Wherein, the 3rd class file is the file for being not stored in relay station.
In embodiments of the present invention, the limited storage space of each repeater, therefore when the terminal device is in all When the file of the pre-request is not all detected on device, the terminal device obtains the pre-request file from source station and passes User is defeated by, referring to Fig. 2, the source station passes through repeater R43rd class file is transferred to user UE4
Referring to Fig. 5, third embodiment of the invention provides a kind of transmitting device based on L2 cache, including:
Request reception unit 11, for receiving the file request instruction of user's transmission.
File obtaining unit 12, the file for obtaining pre-request is instructed according to the file request.
First transmission unit 13, for when the file of the pre-request is the first class file, by relay station to described User transmits the file of the pre-request;Wherein, first class file is that the request frequency being stored in all relay stations is high In the popular file of frequency threshold.
Second transmission unit 14, for when the file of the pre-request is the second class file, obtain there are it is described it is pre- please Seek the relay station of file, and transmit the file of the pre-request to user by the relay station of the file there are pre-request; Wherein, second class file is time popular file that the request frequency being stored in the relay station of part is less than frequency threshold.
Preferably, on each repeater, first class file is stored in the repeater caching and is less than optimal caching In the space of threshold value.
Preferably, all repeaters are divided into different cells.
Second class file is allocated corresponding cell and is stored in each repeater caching of the cell more than optimal In the space of cache threshold.
Preferably, second transmission unit specifically includes:
Acquisition module is small belonging to second class file for when the pre-request file is the second class file, obtaining All relay stations in area.
Detection module, in the transmission queue for detecting the relay station with the presence or absence of the first class file waiting for transmission or With the presence or absence of the request of the first class file of request in request queue.
First transport module, for if so, after the first class file end of transmission in queue to be transmitted or request queue In first kind file request be disposed after transmit the file of the pre-request.
Second transport module, for if it is not, transmitting the file of the pre-request;Wherein, the transmission of second class file Success rate meets
Preferably, further include:
3rd transmission unit, for when the pre-request file is three class file, obtained from source station it is described it is pre- please Seek file and be transferred to user;Wherein, the 3rd class file is the file for being not stored in relay station.
Preferably, the optimal cache threshold Wherein, the K={ 1,2 ..., K } represents the K file that user will ask, and 0<α<1.
The transmission terminal equipment based on L2 cache that fourth embodiment of the invention provides.The embodiment is delayed based on two level The transmission terminal equipment deposited includes:Processor, memory and it is stored in the memory and can transports on the processor Capable computer program, such as the transmission program based on L2 cache.The processor is realized when performing the computer program Step in above-mentioned each transmission method embodiment based on L2 cache, such as the step S11 shown in Fig. 1.Alternatively, the place Reason device realizes the function of each module/unit in above-mentioned each device embodiment, such as the first transmission when performing the computer program Unit.
Exemplary, the computer program can be divided into one or more module/units, one or more A module/unit is stored in the memory, and is performed by the processor, to complete the present invention.It is one or more A module/unit can be the series of computation machine programmed instruction section that can complete specific function, which is used to describe institute State implementation procedure of the computer program in the transmission terminal equipment based on L2 cache.
The transmission terminal equipment based on L2 cache can be desktop PC, notebook, palm PC and cloud Hold the computing devices such as server.The transmission terminal equipment based on L2 cache may include, but be not limited only to, and processor, deposit Reservoir.It will be understood by those skilled in the art that it can include more some than more or fewer components mentioned above, or combination Component, or different components, for example, the transmission terminal equipment based on L2 cache can also include input-output equipment, Network access equipment, bus etc..
Alleged processor can be central processing unit (Central Processing Unit, CPU), can also be it His general processor, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng the processor is the control centre of the transmission terminal equipment based on L2 cache, utilizes various interfaces and circuit to connect Connect the various pieces of the entirely transmission terminal equipment based on L2 cache.
The memory can be used for storing the computer program and/or module, and the processor is by running or performing The computer program and/or module being stored in the memory, and the data being stored in memory are called, described in realization The various functions of transmission terminal equipment based on L2 cache.The memory can mainly include storing program area and storage data Area, wherein, storing program area can storage program area, needed at least one function application program (such as sound-playing function, Image player function etc.) etc.;Storage data field can be stored uses created data (such as voice data, electricity according to mobile phone Script for story-telling etc.) etc..In addition, memory can include high-speed random access memory, nonvolatile memory can also be included, such as Hard disk, memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card), at least one disk memory, flush memory device or other volatibility are consolidated State memory device.
Wherein, if module/unit of the transmission terminal integration of equipments based on L2 cache is with SFU software functional unit Form realize and be used as independent production marketing or in use, can be stored in a computer read/write memory medium. Based on such understanding, the present invention realizes all or part of flow in above-described embodiment method, can also pass through computer journey Sequence instructs relevant hardware to complete, and the computer program can be stored in a computer-readable recording medium, the meter Calculation machine program is when being executed by processor, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer program bag Include computer program code, the computer program code can be source code form, object identification code form, executable file or Some intermediate forms etc..The computer-readable medium can include:Any reality of the computer program code can be carried Body or device, recording medium, USB flash disk, mobile hard disk, magnetic disc, CD, computer storage, read-only storage (ROM, Read- Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and Software distribution medium etc..It should be noted that the content that the computer-readable medium includes can be according in jurisdiction Legislation and the requirement of patent practice carry out appropriate increase and decrease, such as in some jurisdictions, according to legislation and patent practice, meter Calculation machine computer-readable recording medium does not include electric carrier signal and telecommunication signal.
It should be noted that device embodiment described above is only schematical, wherein described be used as separating component The unit of explanation may or may not be physically separate, can be as the component that unit is shown or can also It is not physical location, you can with positioned at a place, or can also be distributed in multiple network unit.Can be according to reality Need to select some or all of module therein to realize the purpose of this embodiment scheme.In addition, device provided by the invention In embodiment attached drawing, the connection relation between module represents there is communication connection between them, specifically can be implemented as one or A plurality of communication bus or signal wire.Those of ordinary skill in the art are without creative efforts, you can to understand And implement.
The above is the preferred embodiment of the present invention, it is noted that for those skilled in the art For, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also considered as Protection scope of the present invention.

Claims (10)

1. a kind of transmission method based on L2 cache, it is characterised in that comprise the following steps:
Receive the file request instruction that user sends;
The file for obtaining pre-request is instructed according to the file request;
When the file of the pre-request is the first class file, the text of the pre-request is transmitted to the user by relay station Part;Wherein, first class file is that the request frequency being stored in all relay stations is higher than the popular file of frequency threshold;
When the file of the pre-request is the second class file, the relay station there are the pre-request file is obtained, and pass through institute The relay station for stating the file there are pre-request transmits the file of the pre-request to user;Wherein, second class file is to deposit Store up time popular file of the request frequency in the relay station of part less than frequency threshold.
2. the transmission method according to claim 1 based on L2 cache, it is characterised in that on each repeater, institute State the first class file and be stored in the repeater caching less than in the space of optimal cache threshold.
3. the transmission method according to claim 1 based on L2 cache, it is characterised in that all repeaters are divided For different cells;
Second class file be allocated corresponding cell and be stored in the cell each repeater caching be more than optimal caching In the space of threshold value.
4. the transmission method according to claim 3 based on L2 cache, it is characterised in that described when the pre-request When file is the second class file, the relay station there are the pre-request file is obtained, and pass through the file there are pre-request Relay station the file of the pre-request is transmitted to user, be specially:
When the pre-request file is the second class file, all relay stations of the second class file affiliated subdistrict are obtained;
Detect to whether there is in the transmission queue of the relay station and whether deposited in the first class file waiting for transmission or request queue Asking the request of the first class file;
If so, the first kind file request processing after the first class file end of transmission in queue to be transmitted or in request queue After transmit the file of the pre-request;
If it is not, transmit the file of the pre-request;Wherein, the transmission success rate of second class file meets
5. the transmission method according to claim 1 based on L2 cache, it is characterised in that further include:
When the pre-request file is three class file, the pre-request file is obtained from source station and is transferred to user;Its In, the 3rd class file is the file for being not stored in relay station.
6. the transmission method according to claim 4 based on L2 cache, it is characterised in that the optimal cache thresholdWherein, the K={ 1,2 ..., K } represents The database for the K file that user will ask, and 0<α<1.
A kind of 7. transmitting device based on L2 cache, it is characterised in that including:
Request reception unit, for receiving the file request instruction of user's transmission;
File obtaining unit, the file for obtaining pre-request is instructed according to the file request;
First transmission unit, for when the file of the pre-request is the first class file, being passed by relay station to the user The file of the defeated pre-request;Wherein, first class file is that the request frequency being stored in all relay stations is higher than frequency The popular file of threshold value;
Second transmission unit, for when the file of the pre-request is the second class file, obtaining, there are the pre-request file Relay station, and the file of the pre-request is transmitted by the relay station of the file there are pre-request to user;Wherein, institute It is time popular file that the request frequency being stored in the relay station of part is less than frequency threshold to state the second class file.
8. the transmitting device according to claim 7 based on L2 cache, it is characterised in that on each repeater, institute State the first class file and be stored in the repeater caching less than in the space of optimal cache threshold.
9. a kind of transmission terminal equipment based on L2 cache, including processor, memory and it is stored in the memory And the computer program performed by the processor is configured as, the processor is realized as weighed when performing the computer program Profit requires the transmission method based on L2 cache described in any one in 1 to 6.
10. a kind of computer-readable recording medium, it is characterised in that the computer-readable recording medium includes the calculating of storage Machine program, wherein, equipment where controlling the computer-readable recording medium when the computer program is run is performed as weighed Profit requires the transmission method based on L2 cache described in any one in 1 to 6.
CN201711172590.6A 2017-11-21 2017-11-21 Transmission method, device, terminal device and storage medium based on L2 cache Pending CN108011836A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711172590.6A CN108011836A (en) 2017-11-21 2017-11-21 Transmission method, device, terminal device and storage medium based on L2 cache

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711172590.6A CN108011836A (en) 2017-11-21 2017-11-21 Transmission method, device, terminal device and storage medium based on L2 cache

Publications (1)

Publication Number Publication Date
CN108011836A true CN108011836A (en) 2018-05-08

Family

ID=62053428

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711172590.6A Pending CN108011836A (en) 2017-11-21 2017-11-21 Transmission method, device, terminal device and storage medium based on L2 cache

Country Status (1)

Country Link
CN (1) CN108011836A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110896526A (en) * 2019-12-04 2020-03-20 南方科技大学 Cache resource scheduling method, device, server and storage medium
CN113504986A (en) * 2021-06-30 2021-10-15 广州大学 Cache-based edge computing system unloading method, device, equipment and medium
CN117135154A (en) * 2023-09-28 2023-11-28 深圳英驰供应链管理有限公司 Financial settlement file transmission method and system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106998353A (en) * 2017-02-27 2017-08-01 上海大学 A kind of optimal cached configuration method of file in content center network

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106998353A (en) * 2017-02-27 2017-08-01 上海大学 A kind of optimal cached configuration method of file in content center network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
FANG SHI 等: "Hybrid Cache Placement for Improving Physical Layer Security in Cooperative Networks", 《2017 9TH INTERNATIONAL CONFERENCE ON WIRELESS COMMUNICATIONS AND SIGNAL PROCESSING(WCSP)》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110896526A (en) * 2019-12-04 2020-03-20 南方科技大学 Cache resource scheduling method, device, server and storage medium
CN113504986A (en) * 2021-06-30 2021-10-15 广州大学 Cache-based edge computing system unloading method, device, equipment and medium
CN117135154A (en) * 2023-09-28 2023-11-28 深圳英驰供应链管理有限公司 Financial settlement file transmission method and system

Similar Documents

Publication Publication Date Title
CN107404530B (en) Social network cooperation caching method and device based on user interest similarity
CN101800731B (en) Network transmission management server, network transmission management method and network transmission system
CN108011836A (en) Transmission method, device, terminal device and storage medium based on L2 cache
CN102573064A (en) Idle mode notification
CN101931999B (en) Service access method, portal switching server and service access system
CN101911590A (en) Mechanism for wireless multicast
US8688156B2 (en) Method and apparatus for controlling link margin
CN104105137B (en) The methods, devices and systems of load balancing between a kind of wireless network
CN107295619A (en) A kind of base station dormancy method based on user&#39;s connection matrix in edge cache network
CN103262075A (en) Resource profile adjustment for pre-fetching of assets to user equipment
CN107426050A (en) Data relay transmission system and its construction method and wireless relay apparatus
CN102137138B (en) Method, device and system for cache collaboration
CN111181873A (en) Data transmission method, data transmission device, storage medium and electronic equipment
KR20200126822A (en) Quality-Aware Deep Reinforcement Learning for Proactive Caching in Millimeter-Wave Vehicular Networks And System using the same
CN109088944B (en) Cache content optimization method based on sub-gradient descent method
CN115633380A (en) Multi-edge service cache scheduling method and system considering dynamic topology
CN108337302B (en) Wireless network caching method, device, equipment and medium based on communication scheduling
CN105376155B (en) A kind of Intelligent routing system and method based on distributed type assemblies framework
KR20170108767A (en) Distributed storage method and apparatus based on cache memory in the wireless communication
CN116806043A (en) Routing method, device, electronic equipment and mobile edge network
CN110620807B (en) File transmission method, server, system, device and storage medium
CN110324389B (en) Data transmission method and device based on Internet of vehicles and computer readable storage medium
CN106714235B (en) A kind of content request responses method based on D2D communications
CN105191251A (en) Site-based server selection
CN102065511B (en) Cross-mesh network communication method and mesh point device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180508

RJ01 Rejection of invention patent application after publication