CN111104528A - Picture obtaining method and device and client - Google Patents

Picture obtaining method and device and client Download PDF

Info

Publication number
CN111104528A
CN111104528A CN201811265597.7A CN201811265597A CN111104528A CN 111104528 A CN111104528 A CN 111104528A CN 201811265597 A CN201811265597 A CN 201811265597A CN 111104528 A CN111104528 A CN 111104528A
Authority
CN
China
Prior art keywords
count
picture
identification information
field
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811265597.7A
Other languages
Chinese (zh)
Other versions
CN111104528B (en
Inventor
张志林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN201811265597.7A priority Critical patent/CN111104528B/en
Publication of CN111104528A publication Critical patent/CN111104528A/en
Application granted granted Critical
Publication of CN111104528B publication Critical patent/CN111104528B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention provides a picture acquisition method, a picture acquisition device and a client, and relates to the field of image data, wherein the method comprises the following steps: after identification information and field positions of a plurality of fields are respectively determined from a URL (uniform resource locator) of a target picture, a count value and a count threshold corresponding to the count value are respectively determined from a preset database according to each identification information and each field position, wherein the count value and the count threshold are respectively used for representing the number of times that the identification information is located at the field position and the relative average number of times that all the identification information corresponding to the field position appears in the database, and when each count value in the plurality of count values is respectively greater than the corresponding plurality of count thresholds, a picture acquisition request is sent to a server, so that the server searches corresponding picture data in a cache queue of the server. According to the picture obtaining method, the picture obtaining device and the client, the cache hit rate of the server in reading the cache queue is improved.

Description

Picture obtaining method and device and client
Technical Field
The invention relates to the field of image data, in particular to a picture obtaining method, a picture obtaining device and a client.
Background
In the field of video monitoring, when a CDV server (Cloud Direct Virtual, storage node management server) receives picture data sent by a front-end IPC (IP CAMERA), a written resource is selected, the picture data is placed in a write queue of the CDV server, and the picture data is placed in a cache queue, so as to wait for a thread to write the picture data in the cache queue into a disk.
Disclosure of Invention
The invention aims to provide a picture obtaining method, a picture obtaining device and a client, which improve the cache hit rate of a server when a cache queue is read.
In order to achieve the above purpose, the embodiment of the present invention adopts the following technical solutions:
in a first aspect, an embodiment of the present invention provides a picture obtaining method, which is applied to a client that establishes communication with both a server and a disk, where the method includes: determining identification information for identifying a plurality of fields from the URL of the target picture, and determining field positions of the plurality of fields; determining a count value and a count threshold corresponding to the count value from a preset database according to each piece of identification information and each field position, wherein the count value is used for representing the number of times of occurrence in the preset database when the identification information is located at the field position, and the count threshold is used for representing the relative average number of times of occurrence of all pieces of identification information corresponding to the field position in the preset database; when each count value in the plurality of count values is respectively larger than the corresponding count threshold value, sending a picture acquisition request to the server, so that the server searches picture data corresponding to the picture acquisition request in a cache queue of the server.
In a second aspect, an embodiment of the present invention provides an image obtaining apparatus, which is applied to a client that establishes communication with a server, where the apparatus includes: the URL processing module is used for determining identification information for identifying a plurality of fields from the URL of the target picture and determining field positions of the fields; a counting information determining module, configured to determine a counting value and a counting threshold corresponding to the counting value from a preset database according to each piece of identification information and each piece of field position, where the counting value is used to represent the number of times that the identification information appears in the preset database when located at the field position, and the counting threshold is used to represent a relative average number of times that all pieces of identification information corresponding to the field position appear in the preset database; the first judging module is used for judging whether each count value in the plurality of count values is respectively larger than the corresponding count threshold value; and the picture request sending module is used for sending a picture obtaining request to the server when each count value in the plurality of count values is respectively larger than the corresponding count threshold value, so that the server searches the picture data corresponding to the picture obtaining request in a cache queue of the server.
In a third aspect, an embodiment of the present invention provides a client, where the client includes a memory for storing one or more programs; a processor. When the one or more programs are executed by the processor, the image acquisition method is realized.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the above-mentioned picture acquiring method.
Compared with the prior art, the picture acquiring method, the device and the client provided by the embodiment of the invention determine the identification information of a plurality of fields and the respective field positions of the plurality of fields in the URL of the target picture, further determine the counting value and the counting threshold value corresponding to the counting value from the preset database according to each identification information and each corresponding field position, and send the picture acquiring request to the server when the obtained plurality of counting values are judged to be larger than the respective corresponding counting threshold values, so that the server searches the picture data corresponding to the picture acquiring request in the cache queue of the server, and predict whether the target picture is positioned in the cache queue of the server according to the URL of the target picture, the counting value stored in the preset database and the counting threshold value corresponding to the counting value before the client requests the picture data, and then when the predicted target picture is located in the cache queue, the client sends a picture obtaining request to the server, so that the server searches the picture data corresponding to the picture obtaining request in the cache queue of the server, and further the cache hit rate of the server when reading the cache queue is improved.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 shows a schematic application scenario diagram of a picture obtaining method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a client according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart of a picture taking method according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart of the substeps of step S100 in FIG. 3;
FIG. 5 is a schematic flow diagram of sub-steps of substep S120 of FIG. 4;
FIG. 6 is a diagram illustrating distribution of statistical data of URLs in a predetermined database;
FIG. 7 is a schematic flow chart of the substeps of step S200 in FIG. 3;
FIG. 8 is a schematic flow diagram of sub-steps of substep S230 of FIG. 7;
FIG. 9 is a schematic block diagram of a picture taking apparatus according to an embodiment of the present invention;
FIG. 10 is a schematic block diagram of a URL processing module of a picture taking apparatus according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram showing an identification information generating unit of a picture taking apparatus according to an embodiment of the present invention;
FIG. 12 is a schematic block diagram of a count information determination module of a picture taking apparatus according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram illustrating a count threshold calculation unit of a picture taking apparatus according to an embodiment of the present invention.
In the figure: 10-a client; 20-a server; 30-a magnetic disk; 110-a memory; 120-a processor; 130-a memory controller; 140-peripheral interfaces; 150-a radio frequency unit; 160-communication bus/signal line; 200-picture taking means; 210-a URL processing module; 211-URL splitting unit; 212-an identification information generating unit; 2121-a hash calculation subunit; 2122-identification information assignment subunit; 220-a count information determination module; 221-distributed coordinate combination unit; 222-a count value lookup unit; 223-a count threshold calculation unit; 2231-count value traversal subunit; 2232-a count threshold generation subunit; 230-a first judgment module; 240-picture request sending module; 250-a second judgment module; 260-database update module; 270-field update module.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Some embodiments of the invention are described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
According to the scheme of the prior art, before the server writes the picture data into the disk, the server firstly puts the picture data line into the cache queue, in the prior art, when a user sends a request to the server through the client to acquire the picture data, the picture data may still be in the cache queue of the server and is not yet written into the disk, so that when the server receives the picture acquisition request of the client, the server searches the picture data corresponding to the picture acquisition request in the cache queue before, and if the picture data corresponding to the picture acquisition request exists in the cache queue, the server directly acquires the corresponding picture data in the cache queue and feeds the corresponding picture data back to the client; and when the server does not find the picture data corresponding to the picture acquisition request in the cache queue, the server searches the picture data corresponding to the picture acquisition request in the disk, and then feeds back the found picture data to the client.
In the above-mentioned scheme provided by the prior art, the server needs to first read the cache queue when searching for the picture data each time, that is, the picture data is first searched for in the cache queue, and if the picture data itself is already stored in the disk from the cache queue, the server first reads the operation in the cache queue and inevitably cannot search for the picture data corresponding to the picture acquisition request, and then reads the disk, so that the cache hit rate of the server when reading the cache queue is reduced.
Based on the above-mentioned defects in the prior art, an improvement method provided by the embodiment of the present invention is as follows: the identification information of a plurality of fields and the respective field positions of the plurality of fields are determined in the URL of the target picture, a count value and a count threshold corresponding to the count value are determined from a preset database according to each identification information and each corresponding field position, and when the plurality of count values are judged to be larger than the respective corresponding count threshold, a picture acquisition request is sent to the server, so that the server searches picture data corresponding to the picture acquisition request in a cache queue of the server.
Referring to fig. 1, fig. 1 is a schematic application scene diagram illustrating a picture obtaining method according to an embodiment of the present invention, in which a client 10, a server 20, and a disk 30 establish communication with each other, so that the client 10, the server 20, and the disk 30 can perform data interaction with each other.
In the embodiment of the present invention, when the server 20 stores the picture data, the server 20 temporarily stores the received picture data in the cache queue of the server 20, and further stores the picture data in the cache queue to the magnetic disk 30.
In addition, in the embodiment of the present invention, the client 10 can send a picture obtaining request to both the server 20 and the disk 30, so that the server 20 or the disk 30 feeds back picture data corresponding to the picture obtaining request to the client 10.
In the embodiment of the present invention, the client 10 is preferably a mobile terminal device, and may include, for example, a smart phone, a tablet computer, a Personal Computer (PC), an e-book reader, a laptop portable computer, a vehicle-mounted computer, a wearable mobile terminal, and the like.
The embodiment of the invention provides a picture obtaining method which can be suitable for a client 10 with an Android operating system, an IOS operating system, a Windows Phone operating system or other platforms. In the embodiment of the present invention, the client 10 is installed with an application program, and corresponds to the server 20 and the disk 30 to provide services for the user, and the image obtaining method can be implemented by the application program installed in the client 10.
Referring to fig. 2, fig. 2 shows a schematic structural diagram of a client 10 according to an embodiment of the present invention, in which the client 10 includes a memory 110, a storage controller 130, one or more processors (only one is shown in the figure) 120, a peripheral interface 140, a radio frequency unit 150, and the like. These components communicate with each other via one or more communication buses/signal lines 160.
The memory 110 may be used to store software programs and modules, such as program instructions/modules corresponding to the image capturing apparatus 200 provided in the embodiment of the present invention, and the processor 120 executes various functional applications and image processing by running the software programs and modules stored in the memory 110, such as the image capturing method provided in the embodiment of the present invention.
The Memory 110 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like.
The processor 120 may be an integrated circuit chip having signal processing capabilities. The processor 120 may be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), a voice processor, a video processor, and the like; but may also be a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor 120 may be any conventional processor or the like.
The peripheral interface 140 couples various input/output devices to the processor 120 as well as to the memory 110. In some embodiments, peripheral interface 140, processor 120, and memory controller 130 may be implemented in a single chip. In other embodiments of the present invention, they may be implemented by separate chips.
The rf unit 150 is used for receiving and transmitting electromagnetic waves, and implementing interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices.
It will be appreciated that the configuration shown in fig. 2 is merely illustrative and that the client 10 may include more or fewer components than shown in fig. 2 or have a different configuration than shown in fig. 2. The components shown in fig. 2 may be implemented in hardware, software, or a combination thereof.
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating a picture obtaining method according to an embodiment of the present invention, where the picture obtaining method is applied to the client 10 shown in fig. 1, and in an embodiment of the present invention, the picture obtaining method includes the following steps:
step S100, determining identification information for identifying a plurality of fields from the URL of the target picture, and determining field positions of the plurality of fields.
Before sending the picture obtaining request, the client 10 first predicts whether the target picture is currently located in the cache queue of the server 20 according to a Uniform Resource Locator (URL) of the target picture, where the URL of the target picture is fed back to the client 10 when the server 20 writes the target picture into the magnetic disk 30, and the URL of the target picture represents a storage address allocated to the target picture by the server 20.
The client 10 performs the prediction by first determining, from the URL of the target picture, identification information for identifying a plurality of fields by a user, and determining field positions of the plurality of fields, where each identification information is used to identify information included in a corresponding field, and each field position represents a position of a corresponding field in the URL of the target picture.
Optionally, as an implementation manner, please refer to fig. 4, fig. 4 is a schematic flowchart of the sub-steps of step S100 in fig. 3, in an embodiment of the present invention, step S100 includes the following sub-steps:
and a substep S110, splitting the URL of the target picture into a plurality of fields according to a preset rule, and obtaining the field position of each field in the URL in the plurality of fields.
When determining the plurality of identification information and the plurality of field positions, the client 10 splits the URL of the target picture into the plurality of fields according to a preset rule, and then obtains the field position of each field in the plurality of fields in the URL after the split result.
For example, assume that the URL of the target picture is: records $722468870_51791/2018/06/25/09/H131@00023959. jpg? Assuming that the preset rule is splitting according to "/" in the URL, dev cdv _224& fid 77184-19-72C180028-0-6631E, a plurality of fields obtained after splitting the URL sequentially include: "records $722468870_ 51791", "2018", "06", "25", "09", "H131 @00023959. jpg? dev cdv _224& fid 77184-19-72C180028-0-6631E ", wherein the field positions of the obtained fields in the URL are 1, 2, 3, 4, 5 and 6 in sequence.
And a substep S120, obtaining identification information corresponding to each of the plurality of fields according to the information contained in each of the plurality of fields.
As for the above example of splitting the URL, after the URL is split, a plurality of fields each including partial information are obtained, for example, the information included in the field with the field position 2 is "2018", the information included in the field with the field position 3 is "06", and identification information corresponding to each field in the plurality of fields is obtained according to the information included in each field in the plurality of fields, where each identification information is used to uniquely identify the information included in the field.
Optionally, as an implementation manner, please refer to fig. 5, fig. 5 is a schematic flowchart of the sub-steps of sub-step S120 in fig. 4, and in an embodiment of the present invention, the sub-step S120 includes the following sub-steps:
in substep S121, hash values of information included in each of the plurality of fields are calculated.
In the embodiment of the invention, the hash value of the information contained in each of the fields is respectively calculated by using a hash algorithm, and then the hash value of the information contained in each field is used as the identification information of each field.
For example, in the above URL example, the hash algorithm is used to calculate that the hash value corresponding to the field "records $722468870_ 51791" is 101, the hash value corresponding to the field "2018" is 24, the hash value corresponding to the field "06" is 54, the hash value corresponding to the field "25" is 117, the hash value corresponding to the field "09" is 57, and the hash value corresponding to the field "H131 @00023959. jpg? The hash value corresponding to dev cdv _224& fid 77184-19-72C180028-0-6631E "is 76.
In the substep S122, the plurality of hash values obtained by the calculation are respectively used as a plurality of identification information.
Referring to fig. 3, in step S200, a count value and a count threshold corresponding to the count value are determined from a preset database according to each identification information and each field position.
A database is preset in the client 10, where the preset database stores URLs of all picture data obtained by the client 10 in all picture obtaining requests that have been requested from the server 20 in the past, and the client 10 performs statistical sorting on the URLs of all picture data found by the cache queue of the server 20 and stores the URLs in the preset database to summarize the characteristics of the URLs of all picture data found by the cache queue of the server 20, so as to provide a basis for subsequently predicting whether the picture data requested by the client 10 exists in the cache queue of the server 20.
The URLs of all the picture data found by the cache queue of the server 20 may be stored in the preset database in the form of two-dimensional coordinates, for example, after the URLs are split in the manner described above, two-dimensional coordinates are formed in a manner that the identification information and the field position of each field are combined, and the value of each formed two-dimensional coordinate is recorded as 1, and then all the two-dimensional coordinate values are superimposed in a two-dimensional coordinate system formed by the identification information and the field position, so as to obtain a count value of each two-dimensional coordinate, where the count value of each two-dimensional coordinate represents the number of times that the identification information appears in the preset database when the identification information is located at the field position, and the count value means the number of times that a certain piece of identification information appears in a certain field position. For example, as shown in fig. 6, a histogram of a three-dimensional space is used to represent the statistical URL data in a preset database, in the histogram, a coordinate axis URL _ POS is used to represent a field position, and a coordinate axis hash is used to represent identification information, so that the coordinate axis URL _ POS and the coordinate axis hash together form a two-dimensional coordinate system, and then the respective count value of each two-dimensional coordinate point is used as the height of the histogram, for example, the coordinate axis hash _ cnt in fig. 6 represents the count value of each two-dimensional coordinate point. Alternatively, the count value of each two-dimensional coordinate point may be represented by two-dimensional coordinate positioning, for example, only using the two-dimensional coordinate system, and using the count value of each two-dimensional coordinate point as the corresponding value of each two-dimensional coordinate.
Optionally, as an implementation manner, please refer to fig. 7, fig. 7 is a schematic flowchart of the sub-steps of step S200 in fig. 3, in an embodiment of the present invention, step S200 includes the following sub-steps:
and a substep S210, combining each field position with each corresponding identification information to obtain a plurality of distribution coordinates.
When the count value of each identification information and each field position in the preset database is determined, since the field positions of each field are different when the URL is split, a plurality of identification information obtained by splitting the same URL are necessarily located at different field positions, and therefore, in the embodiment of the present invention, each field position is combined with each corresponding identification information when the count value is determined, and a plurality of distribution coordinates are obtained.
For example, in the above URL example, a hash algorithm is used to obtain a hash value of each field as identification information of each field, the field position of each field is combined with the respective hash value of each corresponding field to obtain a plurality of distribution coordinates, and the distribution coordinates are represented by a two-dimensional statistical array a [ i ] [ j ], for example, the distribution coordinate of the first field is a [0] [101], the distribution coordinate of the second field is a [1] [24], the distribution coordinate of the third field is a [2] [54], the distribution coordinate of the fourth field is a [3] [117], the distribution coordinate of the fifth field is a [4] [57], and the distribution coordinate of the sixth field is a [5] [76 ].
In the sub-step S220, a count value corresponding to each distribution coordinate in the plurality of distribution coordinates is determined in a preset database.
After the plurality of distribution coordinates are obtained, according to the position of each distribution coordinate in the preset database, the count value corresponding to each distribution coordinate in the preset database is further obtained.
For example, in the histogram shown in FIG. 6, corresponding hash _ cnt values are determined in FIG. 6 based on the plurality of distribution coordinates a [0] [101], a [1] [24], a [2] [54], a [3] [117], a [4] [57] and a [5] [76] obtained as described above, and the determined hash _ cnt values are used as count values.
In sub-step S230, a counting threshold corresponding to the counting value is determined in a preset database according to each field position.
Optionally, as an implementation manner, please refer to fig. 8, fig. 8 is a schematic flowchart of the sub-steps of sub-step S230 in fig. 7, and in an embodiment of the present invention, the sub-step S230 includes the following sub-steps:
and a substep S231 of counting all count values corresponding to the field positions in the preset database.
When calculating the count threshold, first, all count values corresponding to field positions in a preset database are counted, for example, in the schematic diagram shown in fig. 6, there are a plurality of count values corresponding to field 0, two count values corresponding to field 1, 1 count value corresponding to field 2, 1 count value corresponding to field 3, 1 count value corresponding to field 4, and 1 count value corresponding to field 5.
And a substep S232 of generating a corresponding counting threshold value according to the average value of all the counting values.
After all the count values corresponding to each field position are obtained through statistics, the average value of all the count values corresponding to each field position in the preset database is calculated, and then the count threshold corresponding to each field position is generated according to the calculated average value, wherein the count threshold is used for representing the relative average times of all the identification information corresponding to the field position in the preset database, namely the count threshold is used for representing the relative level of the times of all the identification information in each field position.
Alternatively, as an embodiment, the counting threshold may be calculated by processing an average value of all counting values according to a preset scaling factor, for example, assuming that the average value of all counting values of all identification information corresponding to a certain field position is a and the preset scaling factor is p, the counting threshold k is a × p.
Optionally, as an implementation manner, please continue to refer to fig. 3, in an embodiment of the present invention, before the step S200 is executed, the image obtaining method further includes the following steps:
step S600, at least one field in the plurality of fields is removed.
As shown in fig. 6, in all URLs counted by the preset database, since each URL is divided according to the same preset rule (for example, in the above specific actual operation, the URL is divided into a plurality of fields according to "/"), after a specific URL is divided, a plurality of obtained fields are combined one by one according to the field position of each field and the corresponding identification information, so as to obtain a plurality of distribution coordinates, and the plurality of distribution coordinates obtained by the plurality of URLs are counted and accumulated, so as to obtain the histogram shown in fig. 6.
In the schematic diagram shown in fig. 6, in a specific field position, for example, in the field position of URL _ POS ═ 2, since the content information of the field position is not changed in the URLs of all the picture data fed back from the cache queue of the server 20, the identification information of the field position is not changed, that is, the content information included in the field position of URL _ POS ═ 2 is the same in the URLs of all the picture data fed back from the cache queue of the server 20, the identification information corresponding to the field position is sensitive to whether the prediction target picture is located in the cache queue of the server 20, because there is only one content information possible in the field position; on the contrary, if the URL _ POS is 0, the content information of the field position exists in plural URLs of all the picture data fed back from the cache queue of the server 20, so that the count value corresponding to the field position of URL _ POS is also plural, that is, the identification information corresponding to the field position of URL _ POS 0 is not sensitive to whether the prediction target picture is located in the cache queue of the server 20 according to the URL of all the picture data fed back from the cache queue of the server 20, because the content information possible at the field position includes plural numbers.
Therefore, as an implementation manner, in the embodiment of the present invention, at least one field of the plurality of fields, for example, the field corresponding to URL _ POS ═ 0 in the above specific example, is removed, so that the remaining fields of the plurality of fields are used for determining the count value and the count threshold corresponding to the count value in the preset database in step S200, thereby reducing the amount of data operated by the client 10.
Optionally, as an implementation manner, in a plurality of fields obtained by the client 10, each field corresponds to state identification information in a preset database, where the state identification information includes an aggregation identifier and a disorder identifier, where the aggregation identifier is used to represent that the number of count values included in the corresponding field in the preset database is less than the average number of count values included in each field in the preset database, and the disorder identifier is used to represent that the number of count values included in the corresponding field in the preset database is greater than or equal to the average number of count values included in each field in the preset database.
In the embodiment of the present invention, the manner of removing at least one of the fields is as follows: and eliminating all fields of which the corresponding state identifications are out-of-order identifications in the plurality of fields.
For example, in the schematic diagram shown in fig. 6, it is assumed that the number of count values (i.e., the number of columns) m included in the field represented by URL _ POS ═ 0 is m0114, the number of count values included in the field represented by URL _ POS ═ 1 is m1The number of count values included in the field denoted by URL _ POS ═ 2 is m2The number of count values included in a field denoted by URL _ POS ═ 3 is m3The number of count values included in the field represented by URL _ POS ═ 4 is m4The number of count values included in the field denoted by URL _ POS ═ 5 is m 51, then in the preset database, each field contains the average number of count values
Figure BDA0001844830510000151
In the preset database, the status identification information corresponding to the field represented by URL _ POS ═ 0 is a disorder identifier, and the status identification information corresponding to the fields represented by URL _ POS ═ 1, URL _ POS ═ 2, URL _ POS ═ 3, URL _ POS ═ 4, and URL _ POS ═ 5 are aggregation identifiers. Therefore, when step S600 is executed, the field represented by URL _ POS being 0 is removed so that the field does not contribute to the determination of the count value and the count threshold, thereby reducing the amount of data calculation.
Continuing to refer to fig. 3, in step S300, it is determined whether each of the plurality of count values is greater than the corresponding count threshold value; if yes, sending a picture acquisition request to the server 20; when no, a picture acquisition request is sent to the disk 30.
After obtaining a corresponding count value from each field position and each corresponding identification information and obtaining a respective corresponding count threshold value of each field position, comparing the obtained multiple count values with the respective corresponding count threshold values, and determining whether the multiple count values are all greater than the respective corresponding multiple count threshold values, when the obtained multiple count values are all greater than the respective corresponding multiple count threshold values, representing that the target picture corresponding to the URL has a higher probability of being located in the cache queue of the server 20, at this time, the client 10 directly sends a picture acquisition request to the server 20, so that the server 20 searches for picture data corresponding to the picture acquisition request in the cache queue of the server 20; on the contrary, when there is a count value smaller than or equal to the corresponding count threshold value in the plurality of count values, that is, not all count values are greater than the respective corresponding count threshold value, at this time, the client 10 predicts that the target picture is not located in the cache queue of the server 20 but already located in the disk 30, at this time, the client 10 sends a picture obtaining request to the disk 30, so as to represent that the client 10 predicts that the target picture is located in the disk 30, so that the disk 30 searches for picture data corresponding to the picture obtaining request.
It should be noted that, when the server 20 first searches the cache queue for the picture data corresponding to the picture obtaining request, if the server 20 does not find the corresponding picture data in the cache queue, the picture obtaining request is forwarded to the disk 30, so that the disk 30 searches the picture data corresponding to the picture obtaining request; similarly, when the disk 30 searches for the picture data corresponding to the picture obtaining request first, if the corresponding picture data is not found in the disk 30, the picture obtaining request is forwarded to the server 20, so that the server 20 searches for the picture data corresponding to the picture obtaining request in the cache queue.
Based on the above design, the picture obtaining method provided in the embodiment of the present invention determines the identification information of the obtained fields and the respective field positions of the fields in the URL of the target picture, further determines the count value and the count threshold corresponding to the count value from the preset database according to each identification information and each corresponding field position, and sends the picture obtaining request to the server 20 when determining that the obtained count values are all greater than the respective count threshold corresponding to each identification information and each corresponding field position, so that the server 20 searches the cache queue of the server 20 for the picture data corresponding to the picture obtaining request, compared to the prior art, before the client 10 requests the picture data, it is predicted whether the target picture is located in the cache queue of the server 20 according to the URL of the target picture, the count value stored in the preset database and the count threshold corresponding to the count value, further, when the predicted target picture is located in the cache queue, the client 10 sends a picture obtaining request to the server 20, so that the server 20 searches for picture data corresponding to the picture obtaining request in the cache queue of the server 20, and further, the cache hit rate of the server 20 when reading the cache queue is improved; by also sending the picture acquisition request to the disk 30 when it is determined that there is a count value smaller than or equal to the corresponding count threshold value among the plurality of count values, so that the disk 30 searches for picture data corresponding to the picture acquisition request, unnecessary actions of the server 20 to read the cache queue are reduced.
Optionally, after the client 10 sends the image obtaining request to the server 20, two results are necessarily generated, one is that the target image is found by the disk 30, and the other is that the target image is found by the cache queue of the server 20, because the client 10 predicts that the image data corresponding to the image obtaining request sent to the server 20 each time is located in the disk 30 or the cache queue of the server 20, the client 10 further needs to determine whether the target image fed back by the server 20 is found by the cache queue of the server 20, so as to be used for predicting the position of the other image located in the server 20 when the other image is obtained next time.
Therefore, as an implementation manner, please continue to refer to fig. 3, in an embodiment of the present invention, the method further includes the following steps:
step S400, judging whether the picture data is searched and obtained in a cache queue of a server; if yes, executing step S500; when no, it ends.
Although the client 10 has predicted whether the requested picture data is located in the cache queue of the server 20 or the disk 30 when sending the picture taking request, the picture data is specifically located there, and may be different from the result predicted by the client 10. For example, if the client 10 predicts that the picture data is located in the cache queue of the server 20, the client 10 sends a picture obtaining request to the server 20, but the server 20 may not find the corresponding picture data in the cache queue, and at this time, the server 20 forwards the picture obtaining request to the disk 30, so that the disk 30 finds the picture data corresponding to the picture obtaining request.
Therefore, after the client 10 sends the picture obtaining request, regardless of whether the picture obtaining request is sent to the server 20 or the disk 30, the client 10 determines the source of the picture data when receiving the picture data. When the client 10 receives the image data fed back by the server 20 instead of the image data fed back by the disk 30, step S500 is executed; on the contrary, when the client 10 receives the picture data fed back by the disk 30 instead of the picture data fed back by the server 20, the client 10 ends the process.
And step S500, updating a preset database according to the determined identification information and the determined field positions.
As described above, when the client 10 receives the image data fed back by the server 20, it indicates that the image data is not found in the disk 30, and the client 10 updates the preset database according to the plurality of identification information determined by the URL of the target image and the plurality of field positions determined, for example, in the above URL example, count values in two-dimensional coordinates of a [0] [101], a [1] [24], a [2] [54], a [3] [117], a [4] [57] and a [5] [76] are respectively added by one in the preset database, so that when the image data is next acquired from the server 20, whether the image data acquired according to the updated database prediction request is located in the cache queue, and the cache hit rate when the server 20 reads the cache is further increased.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a picture taking apparatus 200 according to an embodiment of the present invention, where the picture taking apparatus 200 is applied to the client 10 shown in fig. 1, and in the embodiment of the present invention, the picture taking apparatus 200 includes a URL processing module 210, a counting information determining module 220, a first determining module 230, and a picture request sending module 240.
The URL processing module 210 is configured to determine identification information for identifying a plurality of fields from the URL of the target picture, and determine field positions of the plurality of fields.
Optionally, as an implementation manner, please refer to fig. 10, where fig. 10 shows a schematic structural diagram of a URL processing module 210 of a picture taking apparatus 200 according to an embodiment of the present invention, in the embodiment of the present invention, the URL processing module 210 includes a URL splitting unit 211 and an identification information generating unit 212.
The URL splitting unit 211 is configured to split the URL of the target picture into a plurality of fields according to a preset rule, and obtain a field position of each field in the URL in the plurality of fields.
The identification information generating unit 212 is configured to obtain identification information corresponding to each of the plurality of fields according to information included in each of the plurality of fields.
Optionally, as an implementation manner, please refer to fig. 11, where fig. 11 shows a schematic structural diagram of an identification information generating unit 212 of a picture obtaining apparatus 200 according to an embodiment of the present invention, in the embodiment of the present invention, the identification information generating unit 212 includes a hash calculating subunit 2121 and an identification information assigning subunit 2122.
The hash calculation subunit 2121 is configured to calculate hash values of information included in each of the plurality of fields.
The identification information assigning subunit 2122 is configured to use the calculated multiple hash values as the multiple pieces of identification information, respectively.
Referring to fig. 9, the counting information determining module 220 is configured to determine a counting value and a counting threshold corresponding to the counting value from a preset database according to each of the identification information and each of the field positions, where the counting value is used to represent the number of times that the identification information appears in the preset database when the identification information is located in the field position, and the counting threshold is used to represent a relative average number of times that all the identification information corresponding to the field position appears in the preset database.
Optionally, as an implementation manner, please refer to fig. 12, where fig. 12 shows a schematic structural diagram of a count information determining module 220 of a picture obtaining apparatus 200 according to an embodiment of the present invention, in the embodiment of the present invention, the count information determining module 220 includes a distribution coordinate combining unit 221, a count value searching unit 222, and a count threshold calculating unit 223.
The distribution coordinate combining unit 221 is configured to combine each of the field positions with each of the corresponding identification information to obtain a plurality of distribution coordinates.
The count value searching unit 222 is configured to determine, in the preset database, the count value corresponding to each of the distribution coordinates.
The counting threshold calculation unit 223 is configured to determine a counting threshold corresponding to the counting value in the preset database according to each field position.
Optionally, as an implementation manner, referring to fig. 13, fig. 13 is a schematic structural diagram illustrating a counting threshold value calculating unit 223 of a picture obtaining apparatus 200 according to an embodiment of the present invention, where in the embodiment of the present invention, the counting threshold value calculating unit 223 includes a counting value traversing sub-unit 2231 and a counting threshold value generating sub-unit 2232.
The count value traversing subunit 2231 is configured to count all count values in the preset database corresponding to the field positions.
The count threshold generation subunit 2232 is configured to generate the corresponding count threshold according to an average value of all the count values.
Referring to fig. 9, the first determining module 230 is configured to determine whether each of the plurality of count values is greater than the corresponding count threshold.
The picture request sending module 240 is configured to send a picture obtaining request to the server 20 when the first determining module 230 determines that each of the plurality of count values is greater than the corresponding count threshold, so that the server 20 searches the cache queue of the server 20 for picture data corresponding to the picture obtaining request.
Optionally, as an implementation manner, please continue to refer to fig. 9, in an embodiment of the present invention, the image capturing apparatus 200 further includes a second determining module 250 and a database updating module 260.
The second determining module 250 is configured to determine whether the image data fed back by the server 20 is received and searched in a cache queue.
The database updating module 260 is configured to update the preset database according to the determined multiple pieces of identification information and the determined multiple pieces of field positions when the second determining module 250 determines that the image data fed back by the server 20 is found and obtained in the cache queue.
Optionally, as an implementation manner, the picture request sending module 240 is further configured to send a picture obtaining request to the magnetic disk 30 when the first determining module 230 determines that the count value smaller than or equal to the corresponding count threshold exists in the plurality of count values, so that the magnetic disk 30 searches for picture data corresponding to the picture obtaining request.
Optionally, as an implementation manner, please continue to refer to fig. 9, in an embodiment of the present invention, the image obtaining apparatus 200 further includes a field updating module 270, where the field updating module 270 is configured to remove at least one of the fields, so that the counting information determining module 220 uses the remaining fields in the fields to determine a count value and a counting threshold corresponding to the count value in the preset database.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The apparatus embodiments described above are merely illustrative and, for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, each functional module in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiment of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
To sum up, according to the picture obtaining method, apparatus and client provided by the embodiments of the present invention, the identification information of the plurality of fields and the respective field positions of the plurality of fields are determined in the URL of the target picture, and then the count value and the count threshold corresponding to the count value are determined from the preset database according to each identification information and each corresponding field position, and when it is determined that the plurality of count values obtained are greater than the respective count threshold, the picture obtaining request is sent to the server 20, so that the server 20 searches the cache queue of the server 20 for the picture data corresponding to the picture obtaining request, compared with the prior art, before the client 10 requests the picture data, it is predicted whether the target picture is located in the cache queue of the server 20 according to the URL of the target picture, the count value stored in the preset database and the count threshold corresponding to the count value, further, when the predicted target picture is located in the cache queue, the client 10 sends a picture obtaining request to the server 20, so that the server 20 searches for picture data corresponding to the picture obtaining request in the cache queue of the server 20, and further, the cache hit rate of the server 20 when reading the cache queue is improved; when the counting value smaller than or equal to the corresponding counting threshold value is judged to exist in the plurality of counting values, the picture acquisition request is sent to the disk 30, so that the disk 30 searches the picture data corresponding to the picture acquisition request, and unnecessary actions of reading the cache queue by the server 20 are reduced; when the server 20 receives the feedback picture data to search and obtain in the cache queue, the preset database is updated according to the multiple identification information determined by the URL of the target picture and the multiple field positions determined, so that when the client 10 acquires the picture data next time, the cache hit rate when the server 20 reads the cache is further increased according to whether the picture data acquired by the updated database prediction request is located in the cache queue of the server 20.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.

Claims (10)

1. A picture acquisition method is applied to a client end which establishes communication with a server and a disk, and comprises the following steps:
determining identification information for identifying a plurality of fields from the URL of the target picture, and determining field positions of the plurality of fields;
determining a count value and a count threshold corresponding to the count value from a preset database according to each piece of identification information and each field position, wherein the count value is used for representing the number of times of occurrence in the preset database when the identification information is located at the field position, and the count threshold is used for representing the relative average number of times of occurrence of all pieces of identification information corresponding to the field position in the preset database;
when each count value in the plurality of count values is respectively larger than the corresponding count threshold value, sending a picture acquisition request to the server, so that the server searches picture data corresponding to the picture acquisition request in a cache queue of the server.
2. The method of claim 1, wherein the steps of determining identification information for identifying a plurality of fields from the URL of the target picture, and determining field positions of the plurality of fields, comprise:
splitting the URL of the target picture into a plurality of fields according to a preset rule, and obtaining the field position of each field in the URL;
obtaining identification information corresponding to the fields according to the information contained in the fields;
wherein, the step of obtaining the plurality of identification information according to the information contained in each of the plurality of fields includes:
respectively calculating hash values of information contained in the fields;
and respectively taking the plurality of hash values obtained by calculation as the plurality of identification information.
3. The method of claim 1, wherein said step of determining a count value and a count threshold corresponding to the count value from a predetermined database according to each of the identification information and each of the field positions comprises:
combining each field position with each corresponding identification information to obtain a plurality of distribution coordinates;
determining the count value corresponding to each distribution coordinate in the plurality of distribution coordinates in the preset database;
and determining a counting threshold value corresponding to the counting value in the preset database according to each field position.
4. The method of claim 3, wherein said step of determining a count threshold corresponding to said count value in said predetermined database based on each of said field positions comprises:
counting all count values corresponding to the field positions in the preset database;
generating the corresponding counting threshold value according to the average value of all the counting values;
wherein the step of generating the corresponding count threshold value according to the average value of all the count values comprises:
and processing the average value of all the count values according to a preset scaling coefficient to obtain the corresponding count threshold.
5. The method of claim 1, wherein the method further comprises:
when the count value which is smaller than or equal to the corresponding count threshold value exists in the plurality of count values, sending a picture acquisition request to the disk so that the disk searches for picture data corresponding to the picture acquisition request.
6. The method of claim 1, wherein the method further comprises:
and when the picture data fed back by the server is searched and obtained in a cache queue, updating the preset database according to the determined identification information and the determined field positions.
7. The method of claim 1, wherein prior to the step of determining a count value and a count threshold corresponding to the count value from a predetermined database in accordance with each of the identification information and each of the field positions, the method further comprises:
and eliminating at least one field in the fields, so that other remaining fields in the fields are used for determining a count value and a count threshold corresponding to the count value in the preset database.
8. The method according to claim 7, wherein each of the plurality of fields respectively corresponds to state identification information in the preset database, and the state identification information includes an aggregation identifier and an out-of-order identifier, the aggregation identifier is used for representing that the number of count values contained in the preset database by the corresponding field is smaller than the average number of count values contained in each field in the preset database, and the out-of-order identifier is used for representing that the number of count values contained in the preset database by the corresponding field is greater than or equal to the average number of count values contained in each field in the preset database;
the step of culling at least one of the plurality of fields comprises:
and eliminating all fields of which the corresponding state identifications are out-of-order identifications in the fields.
9. An image acquisition device, applied to a client that establishes communication with both a server and a disk, the device comprising:
the URL processing module is used for determining identification information for identifying a plurality of fields from the URL of the target picture and determining field positions of the fields;
a counting information determining module, configured to determine a counting value and a counting threshold corresponding to the counting value from a preset database according to each piece of identification information and each piece of field position, where the counting value is used to represent the number of times that the identification information appears in the preset database when located at the field position, and the counting threshold is used to represent a relative average number of times that all pieces of identification information corresponding to the field position appear in the preset database;
the first judging module is used for judging whether each count value in the plurality of count values is respectively larger than the corresponding count threshold value;
and the picture request sending module is used for sending a picture obtaining request to the server when each count value in the plurality of count values is respectively larger than the corresponding count threshold value, so that the server searches the picture data corresponding to the picture obtaining request in a cache queue of the server.
10. A client, comprising:
a memory for storing one or more programs;
a processor;
the one or more programs, when executed by the processor, implement the method of any of claims 1-8.
CN201811265597.7A 2018-10-29 2018-10-29 Picture acquisition method and device and client Active CN111104528B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811265597.7A CN111104528B (en) 2018-10-29 2018-10-29 Picture acquisition method and device and client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811265597.7A CN111104528B (en) 2018-10-29 2018-10-29 Picture acquisition method and device and client

Publications (2)

Publication Number Publication Date
CN111104528A true CN111104528A (en) 2020-05-05
CN111104528B CN111104528B (en) 2023-05-16

Family

ID=70419542

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811265597.7A Active CN111104528B (en) 2018-10-29 2018-10-29 Picture acquisition method and device and client

Country Status (1)

Country Link
CN (1) CN111104528B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115206381A (en) * 2021-04-06 2022-10-18 北京特纳飞电子技术有限公司 Adaptive DSP generation of read thresholds for solid state storage devices

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5778436A (en) * 1995-03-06 1998-07-07 Duke University Predictive caching system and method based on memory access which previously followed a cache miss
JP2004164144A (en) * 2002-11-12 2004-06-10 Hitachi Ltd Disk device
CN104965877A (en) * 2015-06-12 2015-10-07 郑州悉知信息技术有限公司 Webpage picture acquisition method, picture cache server, coordination server and system
WO2017025052A1 (en) * 2015-08-12 2017-02-16 中兴通讯股份有限公司 Resource caching method and device
CN106657196A (en) * 2015-11-02 2017-05-10 华为技术有限公司 Caching content elimination method and caching apparatus
WO2017080459A1 (en) * 2015-11-10 2017-05-18 中兴通讯股份有限公司 Method, device and system for caching and providing service contents and storage medium
CN106844740A (en) * 2017-02-14 2017-06-13 华南师范大学 Data pre-head method based on memory object caching system
CN107094179A (en) * 2017-05-24 2017-08-25 浙江度衍信息技术有限公司 A kind of website visiting request processing method
CN107909108A (en) * 2017-11-15 2018-04-13 东南大学 Edge cache system and method based on content popularit prediction
CN108055302A (en) * 2017-12-05 2018-05-18 竞技世界(北京)网络技术有限公司 A kind of image cache processing method, system and server
CN108259198A (en) * 2016-12-28 2018-07-06 中国移动通信集团辽宁有限公司 A kind of pre-judging method, device and the equipment of domain name cache hit rate

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5778436A (en) * 1995-03-06 1998-07-07 Duke University Predictive caching system and method based on memory access which previously followed a cache miss
JP2004164144A (en) * 2002-11-12 2004-06-10 Hitachi Ltd Disk device
CN104965877A (en) * 2015-06-12 2015-10-07 郑州悉知信息技术有限公司 Webpage picture acquisition method, picture cache server, coordination server and system
WO2017025052A1 (en) * 2015-08-12 2017-02-16 中兴通讯股份有限公司 Resource caching method and device
CN106657196A (en) * 2015-11-02 2017-05-10 华为技术有限公司 Caching content elimination method and caching apparatus
WO2017080459A1 (en) * 2015-11-10 2017-05-18 中兴通讯股份有限公司 Method, device and system for caching and providing service contents and storage medium
CN108259198A (en) * 2016-12-28 2018-07-06 中国移动通信集团辽宁有限公司 A kind of pre-judging method, device and the equipment of domain name cache hit rate
CN106844740A (en) * 2017-02-14 2017-06-13 华南师范大学 Data pre-head method based on memory object caching system
CN107094179A (en) * 2017-05-24 2017-08-25 浙江度衍信息技术有限公司 A kind of website visiting request processing method
CN107909108A (en) * 2017-11-15 2018-04-13 东南大学 Edge cache system and method based on content popularit prediction
CN108055302A (en) * 2017-12-05 2018-05-18 竞技世界(北京)网络技术有限公司 A kind of image cache processing method, system and server

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
牛利杰: "面向移动终端的图片存取机制的研究与实现" *
钟俊杰: "移动终端图片传输与加载优化方法的研究与实现" *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115206381A (en) * 2021-04-06 2022-10-18 北京特纳飞电子技术有限公司 Adaptive DSP generation of read thresholds for solid state storage devices

Also Published As

Publication number Publication date
CN111104528B (en) 2023-05-16

Similar Documents

Publication Publication Date Title
CN110109953B (en) Data query method, device and equipment
CN110874440B (en) Information pushing method and device, model training method and device, and electronic equipment
US11310559B2 (en) Method and apparatus for recommending video
CN111163072B (en) Method and device for determining characteristic value in machine learning model and electronic equipment
CN106951179B (en) Data migration method and device
CN110753112A (en) Elastic expansion method and device of cloud service
CN108228799B (en) Object index information storage method and device
US20170153909A1 (en) Methods and Devices for Acquiring Data Using Virtual Machine and Host Machine
CN111104825A (en) Face registry updating method, device, equipment and medium
CN111177513B (en) Determination method and device of abnormal access address, electronic equipment and storage medium
CN111104528B (en) Picture acquisition method and device and client
CN110019372B (en) Data monitoring method, device, server and storage medium
CN109407970B (en) Read-write request processing method and device and electronic equipment
CN109086220B (en) Method and device for recycling storage space
CN113411364B (en) Resource acquisition method and device and server
US11593014B2 (en) System and method for approximating replication completion time
CN113760876A (en) Data filtering method and device
CN113590322A (en) Data processing method and device
CN113849125A (en) Method, device and system for reading disk of CDN server
CN109214884B (en) Demand matching method and device and electronic equipment
CN112685371A (en) File storage space distribution method and device based on big data and storage medium
CN112714033B (en) Method and device for determining characteristic information of video set
CN116861455B (en) Event data processing method, system, electronic device and storage medium
CN112988391B (en) Data processing method, device, equipment and storage medium
US11687266B2 (en) Managing deduplication operations based on a likelihood of duplicability

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
GR01 Patent grant
GR01 Patent grant