CN111104528B - Picture acquisition method and device and client - Google Patents

Picture acquisition method and device and client Download PDF

Info

Publication number
CN111104528B
CN111104528B CN201811265597.7A CN201811265597A CN111104528B CN 111104528 B CN111104528 B CN 111104528B CN 201811265597 A CN201811265597 A CN 201811265597A CN 111104528 B CN111104528 B CN 111104528B
Authority
CN
China
Prior art keywords
count
field
identification information
picture
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.)
Active
Application number
CN201811265597.7A
Other languages
Chinese (zh)
Other versions
CN111104528A (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 URLs 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 occurrence times of the identification information in the database and the relative average occurrence times of all the identification information corresponding to the field positions in the database when the identification information is positioned in the field positions, and when each count value in the plurality of count values is respectively larger 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. The image acquisition method, the image acquisition device and the client side provided by the invention have the advantage that the cache hit rate of the server when the cache queue is read is improved.

Description

Picture acquisition method and device and client
Technical Field
The present invention relates to the field of image data, and in particular, to a method, an apparatus, and a client for acquiring a picture.
Background
In the video monitoring field, when receiving picture data sent by a front-end IPC (IP CAMERA), a CDV server (Cloud Direct Virtual, storage node management server) selects a written resource, then places the picture data in a write queue of the CDV server, and places the picture data in a buffer queue, so as to wait for a thread to write the picture data in the buffer queue into a disk.
Disclosure of Invention
The invention aims to provide a picture acquisition method, a picture acquisition device and a client, which improve the cache hit rate of a server when reading a cache queue.
In order to achieve the above object, the technical scheme adopted by the embodiment of the invention is as follows:
in a first aspect, an embodiment of the present invention provides a method for obtaining a picture, 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 a URL of a 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 piece of 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 positioned at the field position, and the count threshold is used for representing the relative average number 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, 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 a picture obtaining apparatus applied to a client establishing communication with a server, the apparatus including: 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 plurality of fields; a counting information determining module, configured to determine a 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 occurrences in the preset database when the piece of identification information is located at the field position, and a counting threshold corresponding to the counting value, and the counting threshold is used to represent the relative average number of occurrences of all pieces of identification information corresponding to the field position 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 acquisition 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 acquisition request in a cache queue of the server.
In a third aspect, embodiments of the present invention provide a client, the client including a memory for storing one or more programs; a processor. The above-described picture taking method is implemented when the one or more programs are executed by the processor.
In a fourth aspect, an embodiment of the present invention provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the above-described picture taking method.
Compared with the prior art, before the client requests the picture data, according to the identification information of the fields and the respective field positions of the fields, 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 the obtained count values are judged to be larger than the corresponding count threshold, the picture acquisition request is sent to the server, so that the server searches the picture data corresponding to the picture acquisition request in the cache queue of the server.
In order to make the above objects, features and advantages of the present invention more 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 needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 shows a schematic application scenario diagram of a picture acquisition method according to an embodiment of the present invention;
FIG. 2 shows a schematic block diagram of a client provided by an embodiment of the present invention;
FIG. 3 is a schematic flow chart of a method for obtaining a picture according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart of a sub-step of step S100 in FIG. 3;
FIG. 5 is a schematic flow chart of a sub-step of sub-step S120 of FIG. 4;
FIG. 6 is a schematic diagram showing the distribution of URL statistics in a predetermined database;
FIG. 7 is a schematic flow chart of a sub-step of step S200 in FIG. 3;
FIG. 8 is a schematic flow chart of sub-steps of sub-step S230 of FIG. 7;
fig. 9 is a schematic structural view showing a picture obtaining apparatus according to an embodiment of the present invention;
fig. 10 is a schematic block diagram of a URL processing module of a picture acquisition apparatus according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram showing an identification information generation unit of a picture acquisition apparatus provided by an embodiment of the present invention;
fig. 12 is a schematic block diagram showing a count information determining module of a picture obtaining apparatus according to an embodiment of the present invention;
fig. 13 is a schematic block diagram showing a count threshold calculation unit of a picture taking apparatus according to an embodiment of the present invention.
In the figure: 10-client; 20-a server; 30-magnetic disk; 110-memory; a 120-processor; 130-a storage controller; 140-peripheral interfaces; 150-a radio frequency unit; 160-communication bus/signal lines; 200-picture acquisition device; 210-a URL processing module; 211-URL splitting unit; 212-an identification information generation unit; 2121-a hash computation subunit; 2122-an identification information assignment subunit; 220-a count information determination module; 221-a distributed coordinate combination unit; 222-a count value lookup unit; 223-a count threshold calculation unit; 2231-count value traversal subunit; 2232-count threshold generation subunit; 230-a first judging module; 240-a picture request sending module; 250-a second judging module; 260-database update module; 270-field update module.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. The components of the 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 invention, as 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 made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance.
It is noted that relational terms such as first and second, and the like are 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. Moreover, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Some embodiments of the present invention are described in detail below with reference to the accompanying drawings. The following embodiments and features of the embodiments may be combined with each other without conflict.
In the prior art, when a user sends a request to the server through a client to acquire the picture data, the picture data may not be written into the disk yet in the cache queue of the server, so when the server receives the picture acquisition request of the client, the server searches the cache queue for the picture data corresponding to the picture acquisition request, 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 back the corresponding picture data to the client; 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 the found picture data back to the client.
In the solution provided in the above prior art, since the server needs to first read the cache queue when searching the picture data each time, that is, first search the picture data in the cache queue, if the picture data is already stored in the disk from the cache queue, the operation of first reading the cache queue by the server will not necessarily find the picture data corresponding to the picture acquisition request, and then read the disk, so that the cache hit rate of the server when reading the cache queue is reduced.
Based on the defects in the prior art, the embodiment of the invention provides an improvement mode that: the identification information of the obtained multiple fields and the respective field positions of the multiple fields are determined in the URL of the target picture, the count value and the count threshold corresponding to the count value are further determined from a preset database according to each identification information and each corresponding field position, and when the obtained multiple count values are judged to be larger than the count threshold corresponding to each count threshold, a picture acquisition request is sent to the server, so that the server searches the picture data corresponding to the picture acquisition request in a cache queue of the server.
Referring to fig. 1, fig. 1 shows a schematic application scenario diagram of a picture obtaining method provided by an embodiment of the present invention, in the embodiment of the present invention, a client 10, a server 20 and a disk 30 establish communication with each other, so that data interaction can be performed between the client 10 and each of the server 20 and the disk 30.
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 a buffer queue of the server 20, and then stores the picture data in the buffer queue on the disk 30.
In addition, in the embodiment of the present invention, the client 10 can send a picture acquisition 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 acquisition request to the client 10.
In an 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 (personal computer, PC), an electronic book reader, a laptop portable computer, a car-mounted computer, a wearable mobile terminal, and so on.
The embodiment of the invention provides a picture acquisition method which can be applied to 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 corresponding to the server 20 and the disk 30, and provides services for the user, and the picture obtaining method can be implemented by the application program installed in the client 10.
Referring to fig. 2, fig. 2 shows a schematic block diagram of a client 10 according to an embodiment of the present invention, where the client 10 includes a memory 110, a storage controller 130, one or more (only one is shown in the figure) processors 120, a peripheral interface 140, a radio frequency unit 150, and so on. These components communicate with each other via one or more communication buses/signal lines 160.
The memory 110 may be used for storing software programs and modules, such as program instructions/modules corresponding to the image capturing apparatus 200 according to the embodiment of the present invention, and the processor 120 executes the software programs and modules stored in the memory 110 to perform various functional applications and image processing, such as the image capturing method according to the embodiment of the present invention.
The Memory 110 may be, but is not limited to, a random access Memory (Random Access Memory, RAM), a Read Only Memory (ROM), a programmable Read Only Memory (Programmable Read-Only Memory, PROM), an erasable Read Only Memory (Erasable Programmable Read-Only Memory, EPROM), an electrically erasable Read Only Memory (Electric Erasable Programmable Read-Only Memory, EEPROM), etc.
The processor 120 may be an integrated circuit chip with signal processing capabilities. The processor 120 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), a voice processor, and a video processor; but also digital signal processors, application specific integrated circuits, field programmable gate arrays or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The disclosed methods, steps, and logic blocks 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 and the memory 110. In some embodiments, the peripheral interface 140, the processor 120, and the memory controller 130 may be implemented in a single chip. In other embodiments of the invention they may also be implemented as separate chips.
The radio frequency unit 150 is configured to receive and transmit electromagnetic waves, and to implement mutual conversion between the electromagnetic waves and the electrical signals, so as to communicate with a communication network or other devices.
It is understood that the structure 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 of a picture obtaining method according to an embodiment of the present invention, the picture obtaining method is applied to the client 10 shown in fig. 1, and in the 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 URLs of the target pictures, and determining field positions of the plurality of fields.
Before sending the request for obtaining the picture, the client 10 first predicts whether the target picture is currently located in the buffer queue of the server 20 according to the URL (Uniform Resource Locator ) 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 in the location of the disk 30, and the URL of the target picture characterizes a storage address allocated by the server 20 for the target picture.
The client 10 predicts by first determining identification information for identifying a plurality of fields by a user from the URL of the target picture, and determining field positions of the plurality of fields, wherein each identification information is used to identify information contained in a corresponding field, and each field position characterizes a position of the corresponding field in the URL of the target picture.
Optionally, referring to fig. 4 as an implementation manner, fig. 4 is a schematic flowchart of a sub-step of step S100 in fig. 3, and in an embodiment of the present invention, step S100 includes the following sub-steps:
and 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.
When determining the plurality of identification information and the plurality of field positions, the client 10 splits the URL of the target picture into a plurality of fields according to a preset rule, and then obtains the field position of each field in the URL after the splitting result.
For example, assume that the URL of the target picture is: records $722468870_51791/2018/06/25/09/H131@00023959.jpgdev = cdv _224& fid= 77184-19-72C180028-0-6631E, assuming that the preset rule is splitting according to "/" in the URL, the multiple fields obtained after splitting the URL sequentially include: "records $722468870_51791", "2018", "06", "25", "09", "H131@00023959.jpgdev = cdv _224& fid= 77184-19-72C180028-0-6631E", wherein the obtained fields have field positions of 1, 2, 3, 4, 5, 6 in the URL in sequence.
And step S120, obtaining the identification information corresponding to each of the fields according to the information contained in each of the fields.
In the splitting example of the URL, after splitting the URL, a plurality of fields are obtained to respectively include part of information, for example, the information included in the field with the field position of 2 is "2018", the information included in the field with the field position of 3 is "06", and according to the obtained information included in each field in the plurality of fields, the identification information corresponding to each field in the plurality of fields is obtained, and each identification information is used for uniquely identifying the information included in the field.
Optionally, referring to fig. 5 as an implementation, fig. 5 is a schematic flowchart of a sub-step of the sub-step S120 in fig. 4, and in an embodiment of the present invention, the sub-step S120 includes the following sub-steps:
substep S121, a hash value of the information contained in each of the plurality of fields is calculated.
In the embodiment of the invention, hash values of information contained in a plurality of fields are respectively calculated by utilizing 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 URL example described above, 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.jpgdev = cdv _224& fid= 77184-19-72C180028-0-6631E" is 76.
In sub-step S122, the calculated hash values are used as the 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, and the preset database stores URLs of all picture data which are searched by the client 10 in a cache queue of the server 20 in all picture acquisition requests which are requested by the server 20 in the past, and the client 10 performs statistics and arrangement on the URLs of all picture data which are searched by the cache queue of the server 20 and stores the URLs in the preset database so as to summarize the characteristics of URLs of all picture data which are searched by the cache queue of the server 20, thereby providing a basis for predicting whether the picture data requested by the client 10 exist in the cache queue of the server 20 in the following.
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 splitting in the manner of splitting the URLs, two-dimensional coordinates are formed in the manner of combining the identification information and the field position of each field, each formed two-dimensional coordinate is recorded to be assigned to 1, and then all the two-dimensional coordinate values are superimposed under the 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 of occurrence in the preset database when the identification information is located at the field position, and the count value means that the number of times of occurrence of certain determined identification information occurs in a certain determined field position. For example, as shown in fig. 6, the URL data counted in the preset database is represented by using a histogram of the three-dimensional space, 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, a count value of each two-dimensional coordinate point is used as a height of the histogram, for example, a hash_cnt coordinate axis in fig. 6 represents a count value of each two-dimensional coordinate point. Alternatively, the count value representing each two-dimensional coordinate point may be performed in a two-dimensional coordinate positioning manner, for example, only the two-dimensional coordinate system is utilized, and the count value of each two-dimensional coordinate point is utilized as the value corresponding to each two-dimensional coordinate.
Optionally, referring to fig. 7 as an implementation, fig. 7 is a schematic flowchart of the substeps of step S200 in fig. 3, and in an embodiment of the present invention, step S200 includes the substeps of:
in the substep S210, each field location is combined with each corresponding identification information to obtain a plurality of distribution coordinates.
When determining the count value of each piece of identification information and each piece of field position in a preset database, because the field position of each field is different when splitting the URL, the plurality of pieces of identification information obtained by splitting the same URL are necessarily located at different field positions, therefore, in the embodiment of the invention, each piece of field position is combined with each piece of corresponding piece of identification information when determining the count value, and a plurality of distribution coordinates are obtained.
For example, in the URL example, the hash value of each field is obtained by using a hash algorithm as the identification information of each field, the field position of each field is combined with the hash value of each field to obtain a plurality of distribution coordinates, and the two-dimensional statistics array a [ i ] [ j ] is used to represent, 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].
And step S220, determining the count value corresponding to each distribution coordinate in the plurality of distribution coordinates in a preset database.
After the plurality of distribution coordinates are obtained, the respective corresponding count value of each distribution coordinate in the preset database is obtained according to the position of each distribution coordinate in the preset database.
For example, in the histogram shown 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, corresponding hash_cnt values are determined in fig. 6, and the determined hash_cnt values are used as count values.
In the substep S230, according to each field position, a count threshold corresponding to the count value is determined in a preset database.
Optionally, referring to fig. 8 as an implementation, fig. 8 is a schematic flowchart of the substeps of the substep S230 in fig. 7, and in an embodiment of the present invention, the substep S230 includes the following substeps:
in sub-step S231, all count values corresponding to the field positions in the preset database are counted.
When calculating the count threshold, firstly, counting all count values corresponding to the field positions in a preset database, for example, in a schematic diagram shown in fig. 6, the number of count values corresponding to the field 0 is multiple, the number of count values corresponding to the field 1 is two, the number of count values corresponding to the field 2 is 1, the number of count values corresponding to the field 3 is 1, the number of count values corresponding to the field 4 is 1, and the number of count values corresponding to the field 5 is 1.
In sub-step S232, a corresponding count threshold is generated according to the average value of all count values.
After counting all count values corresponding to each field position, calculating an average value of all count values corresponding to each field position in a preset database, and generating a count threshold corresponding to each field according to the calculated average value, wherein the count threshold is used for representing the relative average number of occurrence of all identification information corresponding to the field position in the preset database, that is, the count threshold is used for representing the relative level of occurrence number of each identification information in each field position.
Alternatively, as an implementation manner of the counting threshold, the average value of all count values may be processed according to a preset scaling factor, for example, assuming that the average value of all count values of all identification information corresponding to a certain field position is a, and the preset scaling factor is p, the counting threshold k=a×p.
Optionally, as an implementation manner, please continue to refer to fig. 3, in an embodiment of the present invention, before executing step S200, the method for obtaining a picture further includes the following steps:
Step S600, at least one field in the plurality of fields is eliminated.
As shown in fig. 6, among all URLs counted by the preset database, since each URL is divided according to the same preset rule (for example, in the specific practice, the URL is divided into a plurality of fields according to "/"), after a specific URL is divided, the obtained plurality of fields are respectively 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 respectively counted and accumulated, so that the histogram shown in fig. 6 can be obtained.
In the schematic diagram shown in fig. 6, in a specific field location, for example, a field location of url_pos=2, since the content information of the field location is unchanged in URLs of all the picture data fed back by the cache queues of the server 20, the identification information of the field location is unchanged, that is, in URLs of all the picture data fed back by the cache queues of the server 20, the content information included in the field location of url_pos=2 is the same, and the identification information corresponding to the field location is more sensitive to whether the prediction target picture is located in the cache queues of the server 20, because there is only one possible content information in the field location; on the contrary, if in the field position of url_pos=0, since there are a plurality of content information in the field position among URLs of all the picture data fed back by the cache queue of the server 20, there are also a plurality of count values corresponding to the field position of url_pos=0, that is, according to the URLs of all the picture data fed back by the cache queue of the server 20, the identification information corresponding to the field position of url_pos=0 is insensitive to whether the prediction target picture is located in the cache queue of the server 20 or not, because the possible content information in the field position includes a plurality of content information.
Therefore, as an embodiment of the present invention, at least one field of the plurality of fields, for example, the field corresponding to the specific example url_pos=0 is removed, so that the other remaining fields of the plurality of fields are used to determine the count value and the count threshold corresponding to the count value in the preset database in step S200, thereby reducing the data size of the operation of the client 10.
Optionally, as an implementation manner, each field of the plurality of fields obtained by the client 10 corresponds to state identification information in a preset database, where the state identification information includes an aggregation identifier and an disorder identifier, the aggregation identifier is used for indicating that the number of count values included in the preset database by the corresponding field is smaller than the average number of count values included in each field in the preset database, and the disorder identifier is used for indicating that the number of count values included in the preset database by the corresponding field 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 eliminating at least one field of the plurality of fields is as follows: and eliminating all fields with the corresponding state identifiers of the fields as out-of-order identifiers.
For example, in the schematic diagram shown in fig. 6, assume that url_pos=0 is substituted forThe field of the table contains the number of count values (i.e. the number of columns) m 0 The field represented by url_pos=1 contains m count values 1 The field represented by url_pos=2 contains m count values 2 The field represented by url_pos=3 contains m count values 3 The field represented by =1, url_pos=4 contains m count values 4 The field represented by url_pos=5 contains m count values 5 =1, then in the preset database, the average number of count values contained in each field
Figure BDA0001844830510000151
In the preset database, the status identification information corresponding to the field represented by url_pos=0 is the out-of-order identification, 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 the aggregation identifications. Therefore, when step S600 is executed, the field represented by url_pos=0 is removed so that the field does not participate in the determination of the count value and the count threshold, thereby reducing the amount of data calculation.
With continued reference to fig. 3, step S300 is performed to determine whether each of the plurality of count values is greater than a corresponding count threshold; when 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 count threshold value of each field position, comparing the obtained count values with the respective count threshold values, judging whether the count values are larger than the respective count threshold values, and when the count values are larger than the count threshold values, characterizing that the target picture corresponding to the URL is located in a 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 the cache queue of the server 20 for picture data corresponding to the picture acquisition request; in contrast, when there is a count value less than or equal to the corresponding count threshold in the plurality of count values, that is, not all count values are greater than the respective count threshold, the client 10 predicts that the target picture is not located in the cache queue of the server 20, but is already located in the disk 30, and the client 10 sends a picture acquisition request to the disk 30 to indicate that the client 10 predicts that the target picture is located in the disk 30, so that the disk 30 searches for the picture data corresponding to the picture acquisition request.
It should be noted that, when the server 20 searches the image data corresponding to the image obtaining request in the buffer queue, if the server 20 does not find the image data corresponding to the image obtaining request in the buffer queue, the image obtaining request is forwarded to the disk 30, so that the disk 30 searches the image data corresponding to the image obtaining request; similarly, when the disk 30 searches for the picture data corresponding to the picture acquisition request, if the disk 30 does not find the picture data corresponding to the picture acquisition request, the picture acquisition request is forwarded to the server 20, so that the server 20 searches for the picture data corresponding to the picture acquisition request in the cache queue.
Based on the above design, according to the image acquisition method provided by the embodiment of the 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 image, 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 the obtained plurality of count values are determined to be greater than the respective corresponding count threshold, an image acquisition request is sent to the server 20, so that the server 20 searches the cache queue of the server 20 for the image data corresponding to the image acquisition request, and compared with the prior art, before the client 10 requests the image data, whether the target image is located in the cache queue of the server 20 is predicted according to the URL of the target image, the count value stored in the preset database and the count threshold corresponding to the count value, and then the client 10 sends the image acquisition request to the server 20 when predicting that the target image is located in the cache queue, and further the cache hit rate of the server 20 is improved when the server 20 reads the cache queue is searched; by also sending a picture acquisition request to the disk 30 when it is determined that there is a count value less 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 request for obtaining the picture to the server 20, two results will necessarily occur, one is that the target picture is found by the disk 30, and the other is found by the cache queue of the server 20, and since the client 10 predicts that the picture data corresponding to the request for obtaining the picture sent to the server 20 each time is located in the disk 30 or the cache queue of the server 20, the client 10 needs to determine whether the target picture received by the feedback of the server 20 is found by the cache queue of the server 20, so as to be used for predicting the position of other pictures located in the server 20 when other pictures are obtained next time.
Therefore, as an implementation manner, please continue to refer to fig. 3, in an embodiment of the present invention, the method for obtaining a picture further includes the following steps:
step S400, judging whether the picture data is obtained by searching in a cache queue of a server; when yes, step S500 is performed; and when not, ending.
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 at the time of sending the picture acquisition request, the picture data is located there in particular, and may be different from the result predicted by the client 10. If the client 10 predicts that the picture data is located in the buffer queue of the server 20, the client 10 sends a picture acquisition request to the server 20, but the server 20 may not find the corresponding picture data in the buffer queue, and the server 20 forwards the picture acquisition request to the disk 30, so that the disk 30 searches for the picture data corresponding to the picture acquisition request.
Therefore, after the client 10 issues the picture acquisition request, the client 10 determines the source of the picture data when receiving the picture data, regardless of whether the picture acquisition request is sent to the server 20 or the disk 30. When the client 10 receives the feedback of the picture data from the server 20 instead of the feedback of the picture data from the disk 30, step S500 is performed; conversely, when the client 10 receives the feedback picture data from the disk 30 instead of the feedback picture data from the server 20, the client 10 ends the process.
Step S500, updating a preset database according to the determined multiple pieces of identification information and the determined multiple field positions.
As described above, when the client 10 receives the picture data fed back from the server 20, it characterizes that the picture data is not obtained by searching in the disk 30, and the client 10 updates a preset database according to a plurality of identification information and a plurality of field positions determined by the URL of the target picture, for example, in the URL example, in the preset database, the count values of a [0] [101], a [1] [24], a [2] [54], a [3] [117], a [4] [57] and a [5] [76] are respectively increased by one, so that when the picture data is obtained from the server 20 next time, it is predicted whether the picture data obtained according to the updated database is in the cache queue, and the cache hit rate when the server 20 reads the cache is further improved.
Referring to fig. 9, fig. 9 shows a schematic block diagram of a picture obtaining apparatus 200 according to an embodiment of the present invention, where the picture obtaining apparatus 200 is applied to a client 10 shown in fig. 1, and in the embodiment of the present invention, the picture obtaining apparatus 200 includes a URL processing module 210, a count information determining module 220, a first judging 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 URLs of the target pictures, and determine field positions of the plurality of fields.
Alternatively, as an implementation manner, referring to fig. 10, fig. 10 shows a schematic block diagram of a URL processing module 210 of a picture obtaining apparatus 200 according to an embodiment of the present invention, where 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 of the plurality of fields in the URL.
The identification information generating unit 212 is configured to obtain identification information corresponding to each of the fields according to information included in each of the fields.
Optionally, referring to fig. 11 as an implementation manner, fig. 11 shows a schematic block diagram of an identification information generating unit 212 of a picture obtaining apparatus 200 according to an embodiment of the present invention, where the identification information generating unit 212 includes a hash calculating subunit 2121 and an identification information assigning subunit 2122.
The hash computation subunit 2121 is configured to compute hash values of information contained in each of the plurality of fields, respectively.
The identification information assignment subunit 2122 is configured to take the calculated hash values as the identification information.
With continued reference to fig. 9, the count information determining module 220 is configured to determine, from a preset database, a count value and a count threshold corresponding to the count value according to each of the identification information and each of the field positions, where the count value is used to represent a number of occurrences in the preset database when the identification information is located at the field position, and the count threshold is used to represent a relative average number of occurrences of all the identification information corresponding to the field position in the preset database.
Optionally, referring to fig. 12 as an implementation manner, fig. 12 shows a schematic block diagram of a count information determining module 220 of a picture obtaining apparatus 200 according to an embodiment of the present invention, where 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 distributed coordinate combining unit 221 is configured to combine each field location with each corresponding identification information to obtain a plurality of distributed coordinates.
The count value searching unit 222 is configured to determine, in the preset database, the count value corresponding to each of the plurality of distribution coordinates.
The count threshold calculating unit 223 is configured to determine a count threshold corresponding to the count value in the preset database according to each field position.
Optionally, referring to fig. 13 as an implementation manner, fig. 13 shows a schematic block diagram of a count threshold calculation unit 223 of a picture acquisition device 200 according to an embodiment of the present invention, where the count threshold calculation unit 223 includes a count value traversing subunit 2231 and a count threshold generating subunit 2232.
The count value traversing subunit 2231 is configured to count all count values corresponding to the field positions in the preset database.
The count threshold generation subunit 2232 is configured to generate the corresponding count threshold according to the average value of all count values.
With continued reference 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 judging module 230 judges that each count value of the plurality of count values is greater than the corresponding count threshold, so that the server 20 searches a buffer 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 this embodiment of the present invention, the image obtaining 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 is received and fed back by the server 20 to be obtained by searching in a cache queue.
The database updating module 260 is configured to update the preset database according to the determined plurality of identification information and the determined plurality of field positions when the second judging module 250 judges that the image data fed back by the server 20 is obtained by searching in the cache queue.
Optionally, as an embodiment, the picture request sending module 240 is further configured to send a picture obtaining request to the magnetic disk 30 when the first judging module 230 judges that the count value less than or equal to the corresponding count threshold exists in the 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 this embodiment of the present invention, the picture obtaining apparatus 200 further includes a field updating module 270, where the field updating module 270 is configured to reject at least one field of the plurality of fields, so that the count information determining module 220 uses other remaining fields of the plurality of fields to determine a count value and a count 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 manners as well. The apparatus embodiments described above are merely illustrative, for example, of the flowcharts and block diagrams in the figures that 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 embodiment of the present invention may be integrated together to form a separate part, or each module may exist alone, or two or more modules may be integrated to form a separate 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 this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform 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, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In summary, according to the method, the device and the client for obtaining the picture 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, so as to determine 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 when the plurality of count values obtained are determined to be 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, and compared with the prior art, before the client 10 requests the picture data, whether the target picture is located in the cache queue of the server 20 is predicted 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, so that the client 10 sends the picture obtaining request to the server 20 when the predicted target picture is located in the cache queue, so that the server 20 searches the picture data corresponding to the picture obtaining request in the cache queue of the server 20, and further improves the hit rate of the server 20 when the cache queue is read; when the count value smaller than or equal to the corresponding count threshold exists in the count values, sending a picture acquisition request to the disk 30, so that the disk 30 searches the picture data corresponding to the picture acquisition request, and unnecessary actions of the server 20 for reading the cache queue are reduced; when the feedback picture data of the server 20 is received and found in the cache queue, the preset database is updated according to the plurality of identification information determined by the URL of the target picture and the plurality of field positions determined, so that when the client 10 acquires the picture data next time, whether the picture data acquired according to the updated database prediction request is located in the cache queue of the server 20 or not is further improved, and the cache hit rate when the server 20 reads the cache is further improved.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. 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 characteristics 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, applied to a client that establishes communication with both a server and a disk, the method comprising:
determining identification information for identifying a plurality of fields from a URL of a 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 piece of 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 positioned at the field position, and the count threshold is obtained by processing the average value of all count values corresponding to the field position by using a preset scaling factor;
when each count value in the plurality of count values is respectively larger than the corresponding count threshold, 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 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, comprises:
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 of each field in the plurality of fields;
obtaining identification information corresponding to each of the fields according to the information contained in each of the fields;
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 each of the plurality of fields;
and respectively taking the calculated hash values as the identification information.
3. The method of claim 1, wherein the step of determining a count value and a count threshold corresponding to the count value from a preset 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 of the plurality of distribution coordinates in the preset database;
and determining a counting threshold corresponding to the counting value in the preset database according to each field position.
4. A method according to 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 locations comprises:
counting all count values corresponding to the field positions in the preset database;
And generating the corresponding counting threshold according to the average value of all counting values.
5. The method of claim 1, wherein the method further comprises:
and when the count values smaller than or equal to the corresponding count threshold exist in the count values, sending a picture acquisition request to the disk so that the disk searches the picture data corresponding to the picture acquisition request.
6. The method of claim 1, wherein the method further comprises:
when the server is received to feed back the picture data to be obtained by searching in a cache queue, updating the preset database according to the determined multiple pieces of identification information and the determined multiple field positions.
7. The method of claim 1, wherein before the step of determining a count value and a count threshold corresponding to the count value from a preset database according to each of the identification information and each of the field positions, the method further comprises:
and eliminating at least one field in the plurality of fields to enable other remaining fields in the plurality of fields to be used for determining a count value and a count threshold corresponding to the count value in the preset database.
8. The method of claim 7, wherein each of the plurality of fields corresponds to status identification information in the preset database, the status identification information including an aggregate identification for characterizing that a number of count values contained in the preset database by the corresponding field is less than an average number of count values contained in each field in the preset database, and an out-of-order identification for characterizing that a number of count values contained in the preset database by the corresponding field is greater than or equal to an average number of count values contained in each field in the preset database;
the step of rejecting at least one field of the plurality of fields includes:
and eliminating all fields with the corresponding state identifiers of the fields as out-of-order identifiers.
9. A picture taking apparatus for use with a client that establishes communication with both a server and a disk, the apparatus 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 plurality of fields;
The counting information determining module is used for determining a counting value and a counting threshold value corresponding to the counting value from a preset database according to each piece of identification information and each piece of field position, wherein the counting value is used for representing the number of times of occurrence in the preset database when the identification information is positioned at the field position, and the counting threshold value is obtained by processing the average value of all counting values corresponding to the field position by utilizing a preset scaling factor; 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 acquisition 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 acquisition request in a cache queue of the server.
10. A client, comprising:
a memory for storing one or more programs;
a processor;
the method of any of claims 1-8 is implemented when the one or more programs are executed by the processor.
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 CN111104528A (en) 2020-05-05
CN111104528B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11355216B1 (en) * 2021-04-06 2022-06-07 Beijing Tenafe Electronic Technology Co., Ltd. Adaptive DSP generation of read thresholds for gaussian and non-gaussian distributions in solid state storage using cumulative observed counts

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
牛利杰.面向移动终端的图片存取机制的研究与实现.《中国优秀硕士学位论文全文数据库-信息科技辑》.2017,全文. *
钟俊杰.移动终端图片传输与加载优化方法的研究与实现.《中国优秀硕士学位论文全文数据库-信息科技辑》.2018,全文. *

Also Published As

Publication number Publication date
CN111104528A (en) 2020-05-05

Similar Documents

Publication Publication Date Title
CN110109953B (en) Data query method, device and equipment
CN109218133B (en) Network speed testing system, method, device and computer readable storage medium
CN107798135B (en) Paging query method and device and electronic equipment
EP3817333B1 (en) Method and system for processing requests in a consortium blockchain
CN110764688B (en) Method and device for processing data
CN109086158B (en) Abnormal cause analysis method and device and server
CN111163072A (en) Method and device for determining characteristic value in machine learning model and electronic equipment
US20200204688A1 (en) Picture book sharing method and apparatus and system using the same
CN112527843A (en) Data query method, device, terminal equipment and storage medium
CN111177513B (en) Determination method and device of abnormal access address, electronic equipment and storage medium
CN110245684B (en) Data processing method, electronic device, and medium
CN111104528B (en) Picture acquisition method and device and client
CN111262744A (en) Multimedia information transmitting method, backup server and medium
CN113672669B (en) Data query method and device based on distributed storage
CN111767481A (en) Access processing method, device, equipment and storage medium
CN116028696A (en) Resource information acquisition method and device, electronic equipment and storage medium
CN114285906B (en) Message processing method and device, electronic equipment and storage medium
CN113905252B (en) Data storage method and device for live broadcasting room, electronic equipment and storage medium
CN113411364B (en) Resource acquisition method and device and server
CN109088913B (en) Method for requesting data and load balancing server
CN113407339A (en) Resource request feedback method and device, readable storage medium and electronic equipment
CN113760876A (en) Data filtering method and device
CN111708997B (en) Method, device and storage medium for determining target object identity identifier
CN112804298B (en) Method, apparatus, computer device and readable storage medium for reducing cross-zone traffic
CN113094530B (en) Image data retrieval method and device, electronic equipment and storage medium

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