CN108696649A - Image processing method, device, equipment and computer readable storage medium - Google Patents

Image processing method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN108696649A
CN108696649A CN201710219620.8A CN201710219620A CN108696649A CN 108696649 A CN108696649 A CN 108696649A CN 201710219620 A CN201710219620 A CN 201710219620A CN 108696649 A CN108696649 A CN 108696649A
Authority
CN
China
Prior art keywords
image
terminal
compression
network state
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710219620.8A
Other languages
Chinese (zh)
Inventor
曹松
孟圣智
沈迦勒
高亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201710219620.8A priority Critical patent/CN108696649A/en
Publication of CN108696649A publication Critical patent/CN108696649A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00095Systems or arrangements for the transmission of the picture signal
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/41Bandwidth or redundancy reduction

Abstract

A kind of image processing method of present invention offer, device, equipment and computer readable storage medium.The network state parameters that the embodiment of the present invention passes through the image mark information and the terminal of the image to be visited of acquisition terminal,And then according to the network state parameters,Obtain compression of images grade,Make it possible to according to described image hierarchy compression and described image identification information,Obtain the adapting to image corresponding to the image to be visited,And the adapting to image is sent to the terminal,Due to considering the network state parameters of terminal,Make it possible to the network state of the terminal reflected according to network state parameters,To determine the compression of images grade of image to be visited that the terminal to be accessed,And then it is supplied to terminal to access the adapting to image for meeting the compression of images grade,It can avoid all being the technical issues of increasing the data interaction of application with the application handled between engine for the original image for needing to access high quality caused by unification first accesses low-quality compression image when application online access image in the prior art,To reduce the processing load for handling engine of application.

Description

Image processing method, device, equipment and computer readable storage medium
[Technical field]
The present invention relates to image processing techniques more particularly to a kind of image processing method, device, equipment and computer-readable Storage medium.
[Background technology]
With the development of the communication technology, terminal is integrated with more and more functions, so that the system function row of terminal More and more corresponding applications (Application, APP) are contained in table.It can be related to the online of some images in some applications Service is accessed, for example, browser application etc..
In general, when using online access image, low-quality compression image is first accessed, then, according further to user The high quality image access request triggered, accesses the original image of high quality.However, no matter whether user triggers further High quality image access is asked, and is all that unification first accesses low-quality compression image, is needed to access high quality in this way, will give The application of original image increases the data interaction between the processing engine of the application, so as to cause the processing of processing engine The increase of burden.
[Invention content]
A kind of image processing method of many aspects offer, device, equipment and the computer readable storage medium of the present invention, is used To reduce the processing load of the processing engine of application.
An aspect of of the present present invention provides a kind of image processing method, including:
Obtain the network state parameters of the image mark information and the terminal of the image to be visited of terminal;
According to the network state parameters, compression of images grade is obtained;
According to described image hierarchy compression and described image identification information, obtain adaptive corresponding to the image to be visited Answer image;
The adapting to image is sent to the terminal.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, the acquisition is eventually The network state parameters of the image mark information and the terminal of the image to be visited at end, including:
The image access request that the terminal is sent is received, described image identification information is carried in described image access request With the network state parameters;
Dissection process is carried out to described image access request, is joined with obtaining described image identification information and the network state Number.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, it is described according to institute Compression of images grade and described image identification information are stated, before obtaining the adapting to image, further includes:
Compression processing is carried out to the original image corresponding to the image to be visited according to described image hierarchy compression, with Obtain the adapting to image.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, it is described according to institute Compression of images grade is stated, to the original image corresponding to the image to be visited, carries out compression processing, it is described adaptive to obtain After image, further include:
To the adapting to image, storage processing is carried out.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, it is described network-like At least one of state parameter, including in following parameters:
Network quality;
Network type;
Network transmission bandwidth;And
Network transfer speeds.
Another aspect of the present invention provides a kind of image processing apparatus, including:
Parameter acquiring unit, the image mark information of the image to be visited for obtaining terminal and the terminal it is network-like State parameter;
Grade acquiring unit, for according to the network state parameters, obtaining compression of images grade;
Image matching unit, for according to described image hierarchy compression and described image identification information, waiting visiting described in acquisition Ask the adapting to image corresponding to image;
Image transmission unit, for the adapting to image to be sent to the terminal.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, the parameter obtain Unit is taken, is specifically used for
The image access request that the terminal is sent is received, described image identification information is carried in described image access request With the network state parameters;And
Dissection process is carried out to described image access request, is joined with obtaining described image identification information and the network state Number.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, described device is also Including image compression unit, it is used for
Compression processing is carried out to the original image corresponding to the image to be visited according to described image hierarchy compression, with Obtain the adapting to image.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, described image With unit, it is additionally operable to
To the adapting to image, storage processing is carried out.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, it is described network-like At least one of state parameter, including in following parameters:
Network quality;
Network type;
Network transmission bandwidth;And
Network transfer speeds.
Another aspect of the present invention, provides a kind of equipment, and the equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors so that one or more of processing Device realizes the image processing method provided such as above-mentioned one side.
Another aspect of the present invention provides a kind of computer readable storage medium, is stored thereon with computer program, the journey The image processing method provided such as above-mentioned one side is provided when sequence is executed by processor.
As shown from the above technical solution, the image mark information that the embodiment of the present invention passes through the image to be visited of acquisition terminal With the network state parameters of the terminal, and then according to the network state parameters, compression of images grade is obtained, enabling root According to described image hierarchy compression and described image identification information, the adapting to image corresponding to the image to be visited is obtained, and The adapting to image is sent to the terminal, due to considering the network state parameters of terminal, enabling according to network The network state for the terminal that state parameter is reflected, to determine the compression of images etc. of image to be visited that the terminal to be accessed Grade, and then it is supplied to terminal to access the adapting to image for meeting the compression of images grade, it can avoid in the prior art All it is to increase needs caused by unification first accesses low-quality compression image to access height when application online access image The technical issues of data interaction of the application of the original image of quality and the application handled between engine, to reduce application Processing engine processing load.
In addition, using technical solution provided by the present invention, image to be visited is accessed without repeatedly request, can effectively be carried The access efficiency of hi-vision, and save the network flow of terminal.
In addition, using technical solution provided by the present invention, user experience can be effectively promoted.
[Description of the drawings]
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description be the present invention some realities Example is applied, it for those of ordinary skill in the art, without having to pay creative labor, can also be attached according to these Figure obtains other attached drawings.
Fig. 1 is the flow diagram for the image processing method that one embodiment of the invention provides;
Fig. 2 is the structural schematic diagram for the image processing apparatus that another embodiment of the present invention provides;
Fig. 3 is the structural schematic diagram for the image processing apparatus that another embodiment of the present invention provides;
Fig. 4 is the block diagram suitable for the exemplary computer system/server 12 for realizing embodiment of the present invention.
[Specific implementation mode]
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art The whole other embodiments obtained without creative efforts, shall fall within the protection scope of the present invention.
It should be noted that terminal involved in the embodiment of the present invention can include but is not limited to mobile phone, individual digital Assistant (Personal Digital Assistant, PDA), radio hand-held equipment, tablet computer (Tablet Computer), PC (Personal Computer, PC), MP3 player, MP4 players, wearable device (for example, intelligent glasses, Smartwatch, Intelligent bracelet etc.) etc..
In addition, the terms "and/or", only a kind of incidence relation of description affiliated partner, indicates may exist Three kinds of relationships, for example, A and/or B, can indicate:Individualism A exists simultaneously A and B, these three situations of individualism B.Separately Outside, character "/" herein, it is a kind of relationship of "or" to typically represent forward-backward correlation object.
Fig. 1 is the flow diagram for the image processing method that one embodiment of the invention provides, as shown in Figure 1.
101, the network state parameters of the image mark information and the terminal of the image to be visited of terminal are obtained.
The network state parameters of so-called terminal are the good and bad instruction ginsengs for the Network status for referring to reflection present terminal Number, can include but is not limited at least one in network quality, network type, network transmission bandwidth and network transfer speeds , the present embodiment is to this without being particularly limited to.
102, according to the network state parameters, compression of images grade is obtained.
103, it according to described image hierarchy compression and described image identification information, obtains corresponding to the image to be visited Adapting to image.
104, the adapting to image is sent to the terminal.
It should be noted that some or all of 101~104 executive agent can be in network side server Engine is handled, or can also be the distributed system positioned at network side, the present embodiment is to this without being particularly limited to.
It is understood that the image to be visited of terminal, refers to the application of the terminal image to be accessed.The application The local program (nativeApp) that can be mounted in terminal, or can also be a webpage of the browser in terminal Program (webApp), the present embodiment is to this without being particularly limited to.
In this way, the network state parameters of the image mark information and the terminal by the image to be visited of acquisition terminal, And then according to the network state parameters, compression of images grade is obtained, enabling according to described image hierarchy compression and described Image mark information obtains the adapting to image corresponding to the image to be visited, and the adapting to image is sent to institute Terminal is stated, due to considering the network state parameters of terminal, enabling according to the net for the terminal that network state parameters are reflected Network state, to determine the compression of images grade of image to be visited that the terminal to be accessed, and then the compression of images will be met etc. The adapting to image of grade is supplied to terminal to access, and can avoid in the prior art due to being all when application online access image Unified first access increases the application of the original image for needing to access high quality caused by low-quality compression image and is answered with this The technical issues of handling the data interaction between engine, to reduce the processing load for handling engine of application.
Optionally, in a possible realization method of the present embodiment, in 101, the terminal can specifically be received The image access of transmission is asked, and described image identification information and the network state parameters are carried in described image access request, In turn, then dissection process can be carried out to described image access request, to obtain described image identification information and described network-like State parameter.
Specifically, the application of terminal acquires the network state parameters of the terminal in real time, which is added In being asked to image access, and image access request is sent to server-side.
Optionally, in a possible realization method of the present embodiment, before 102, can also be further set end Correspondence between the network state parameters and compression of images grade at end.Specifically, can by quality in image and Tradeoff processing is carried out between the loading velocity of image, is being ensured image certain mass, is being improved the load of image as far as possible Speed promotes the experience of user's image browsing.
Specifically, the Network status indicated by network state parameters is better, then the compression etc. corresponding to its set Grade is lower, if Network status is good enough, it can be 0 that the hierarchy compression corresponding to it, which can be arranged, i.e., need not be pressed Contracting is handled;Network status indicated by network state parameters is poorer, then the hierarchy compression corresponding to its set is higher.For The same compression algorithm, in general hierarchy compression are higher, and compression ratio is higher, just smaller after an equal amount of data compression.
It, then can be according to the network state of pre-set terminal after the network state parameters for obtaining terminal in 102 Correspondence between parameter and compression of images grade obtains the compression of images grade corresponding to the network state parameters.
Optionally, in a possible realization method of the present embodiment, before 102, it can also further be arranged and turn Rule is changed, for converting the network state parameters of terminal to compression of images grade.Specifically, the matter in image can be passed through Tradeoff processing is carried out between amount and the loading velocity of image, is ensureing image certain mass, is improving image as far as possible Loading velocity promotes the experience of user's image browsing.
Specifically, the Network status indicated by network state parameters is better, then converted its corresponding to compression etc. Grade is lower, if Network status is good enough, it can be 0 that the hierarchy compression corresponding to it, which can be arranged, i.e., need not be pressed Contracting is handled;Network status indicated by network state parameters is poorer, then converted its corresponding to hierarchy compression it is higher.For The same compression algorithm, in general hierarchy compression are higher, and compression ratio is higher, just smaller after an equal amount of data compression.
In 102, after the network state parameters for obtaining terminal, then it can be obtained according to pre-set transformation rule Compression of images grade corresponding to the network state parameters.
It optionally,, can also be further according to institute before 103 in a possible realization method of the present embodiment Compression of images grade is stated, to the original image corresponding to the image to be visited, carries out compression processing, it is described adaptive to obtain Image.
During a concrete implementation, after obtaining compression of images grade, can be compressed according to described image etc. Grade and described image identification information, carry out lookup processing in the storage device of terminal, if hit, executes 103, if not ordering In, then the original image corresponding to the image to be visited can be obtained, in turn, according to described image hierarchy compression, to described Original image corresponding to image to be visited carries out compression processing, to obtain the adapting to image.
In the realization method, after obtaining the adapting to image, described image mark can also be further recorded Correspondence between information, described image hierarchy compression and the adapting to image, the presence of the correspondence recorded Form can be database, or can also be file system, and the present embodiment is to this without being particularly limited to.
Wherein, relevant database may be used in the database, for example, oracle database, DB2 database, structure Change query language (Structured Query Language, SQL) server (Server) database, MySQL database etc., Or key assignments (Key-Value) type database can also be used, for example, non-SQL (Not Only SQL) NoSQL databases, Redis databases, the present embodiment is to this without being particularly limited to.
In the realization method, after obtaining the adapting to image, can also further to the adapting to image, Carry out storage processing.Specifically, the adapting to image can specifically be stored onto the storage device of terminal.
During a concrete implementation, the storage device of the terminal can be slow storage device, specifically can be with For the hard disk of computer system, or can also be inoperative memory, that is, physical memory of mobile phone, for example, read-only memory (Read-Only Memory, ROM) and RAM card etc., the present embodiment is to this without being particularly limited to.
During another concrete implementation, the storage device of the terminal can also be speedy storage equipment, specifically It can be the memory of computer system, or can also be running memory, that is, Installed System Memory of mobile phone, for example, random access memory (Random Access Memory, RAM) etc., the present embodiment is to this without being particularly limited to.
In this way, by the way that the adapting to image after compression processing is carried out storage processing, energy in the storage device of terminal The utilization rate of compression processing is enough improved, while the pressure of server-side can be mitigated, large-scale picture browsing can be supported.
Alternatively, can also be further by the adapting to image after obtaining the adapting to image, storage is arrived Server-side.
In this way, by the way that the adapting to image after compression processing is carried out storage processing in server-side, in other of user Equipment, or when other same adapting to image of user's access, it will be able to the caching for hitting server, so as to shorten sound Between seasonable, greatly the user experience is improved, at the same time it can also further save computing resource.
In the present invention, by according to the real-time network state parameters of terminal, to determine that the terminal to be accessed to be visited The compression of images grade of image, and the compression processing of original image is completed in server-side, and then the compression of images grade will be met Adapting to image be supplied to terminal to access, do not bring the burden that additional compression of images and image export to terminal. Meanwhile weighing between the quality of image and the loading velocity of image, ensureing image certain mass, as far as possible The loading velocity of image is improved, the experience of user's image browsing is promoted.
In the present embodiment, the network state of the image mark information and the terminal of the image to be visited by obtaining terminal Parameter, and then according to the network state parameters, obtain compression of images grade, enabling according to described image hierarchy compression and Described image identification information obtains the adapting to image corresponding to the image to be visited, and the adapting to image is sent To the terminal, due to considering the network state parameters of terminal, enabling the terminal reflected according to network state parameters Network state, to determine the compression of images grade of image to be visited that the terminal to be accessed, and then the image pressure will be met The adapting to image of contracting grade is supplied to terminal to access, when can avoid in the prior art due to application online access image All be it is unified first access increase caused by low-quality compression image the application of the original image for needing to access high quality with The technical issues of data interaction of the application handled between engine, to reduce the processing load for handling engine of application.
In addition, using technical solution provided by the present invention, image to be visited is accessed without repeatedly request, can effectively be carried The access efficiency of hi-vision, and save the network flow of terminal.
In addition, using technical solution provided by the present invention, user experience can be effectively promoted.
It should be noted that for each method embodiment above-mentioned, for simple description, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the described action sequence because According to the present invention, certain steps can be performed in other orders or simultaneously.Secondly, those skilled in the art should also know It knows, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiment.
Fig. 2 is the structural schematic diagram for the image processing apparatus that another embodiment of the present invention provides, as shown in Figure 2.This implementation The image processing apparatus of example may include parameter acquiring unit 21, grade acquiring unit 22, image matching unit 23 and image hair Send unit 24.Wherein, parameter acquiring unit 21, the image mark information and the terminal of the image to be visited for obtaining terminal Network state parameters;Grade acquiring unit 22, for according to the network state parameters, obtaining compression of images grade;Image Matching unit 23, for according to described image hierarchy compression and described image identification information, it is right to obtain the image institute to be visited The adapting to image answered;Image transmission unit 24, for the adapting to image to be sent to the terminal.
The network state parameters of so-called terminal are the good and bad instruction ginsengs for the Network status for referring to reflection present terminal Number, can include but is not limited at least one in network quality, network type, network transmission bandwidth and network transfer speeds , the present embodiment is to this without being particularly limited to.
It should be noted that some or all of image processing apparatus that the present embodiment is provided can be positioned at network side Processing engine in server, or can also be the distributed system positioned at network side, the present embodiment is to this without special It limits.
It is understood that the image to be visited of terminal, refers to the application of the terminal image to be accessed.The application The local program (nativeApp) that can be mounted in terminal, or can also be a webpage of the browser in terminal Program (webApp), the present embodiment is to this without being particularly limited to.
Optionally, in a possible realization method of the present embodiment, the parameter acquiring unit 21 can specifically be used Described image identification information and described is carried in the image access request for receiving the terminal and sending, described image access request Network state parameters;And dissection process is carried out to described image access request, to obtain described image identification information and described Network state parameters.
Optionally, in a possible realization method of the present embodiment, as shown in figure 3, the figure that the present embodiment is provided As processing unit can further include image compression unit 31, can be used for according to described image hierarchy compression, to described Original image corresponding to image to be visited carries out compression processing, to obtain the adapting to image.
In the realization method, described image matching unit 23 can also be further used for the adapting to image, into Row storage is handled.
It should be noted that method in the corresponding embodiments of Fig. 1, it can be by image processing apparatus provided in this embodiment reality It is existing.Detailed description may refer to the related content in the corresponding embodiments of Fig. 1, and details are not described herein again.
In the present embodiment, the image mark information of the image to be visited of terminal and the end are obtained by parameter acquiring unit The network state parameters at end, and then by grade acquiring unit compression of images grade is obtained according to the network state parameters so that Image matching unit it is right can to obtain the image institute to be visited according to described image hierarchy compression and described image identification information The adapting to image answered, and the adapting to image is sent to the terminal by image transmission unit, due to considering terminal Network state parameters, enabling according to the network state for the terminal that network state parameters are reflected, to determine the terminal institute The compression of images grade for the image to be visited to be accessed, and then the adapting to image for meeting the compression of images grade is supplied to end End accesses, and can avoid in the prior art due to being all that unification first accesses low-quality compression when application online access image The data between the processing engine of application with the application for the original image for needing to access high quality are increased caused by image Interactive technical problem, to reduce the processing load for handling engine of application.
In addition, using technical solution provided by the present invention, image to be visited is accessed without repeatedly request, can effectively be carried The access efficiency of hi-vision, and save the network flow of terminal.
In addition, using technical solution provided by the present invention, user experience can be effectively promoted.
Fig. 4 shows the block diagram of the exemplary computer system/server 12 suitable for being used for realizing embodiment of the present invention. The computer system/server 12 that Fig. 4 is shown is only an example, should not be to the function and use scope of the embodiment of the present invention Bring any restrictions.
As shown in figure 4, computer system/server 12 is showed in the form of universal computing device.Computer system/service The component of device 12 can include but is not limited to:One or more processor either 16 storage device of processing unit or system Memory 28, the bus 18 of connection different system component (including system storage 28 and processing unit 16).
Bus 18 indicates one or more in a few class bus structures, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using the arbitrary bus structures in a variety of bus structures.It lifts For example, these architectures include but not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC) Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Computer system/server 12 typically comprises a variety of computer system readable media.These media can be appointed What usable medium that can be accessed by computer system/server 12, including volatile and non-volatile media, it is moveable and Immovable medium.
System storage 28 may include the computer system readable media of form of volatile memory, such as arbitrary access Memory (RAM) 30 and/or cache memory 32.Computer system/server 12 may further include other removable Dynamic/immovable, volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for Read and write immovable, non-volatile magnetic media (Fig. 4 do not show, commonly referred to as " hard disk drive ").Although not showing in Fig. 4 Go out, can provide for the disc driver to moving non-volatile magnetic disk (such as " floppy disk ") read-write, and to removable The CD drive of anonvolatile optical disk (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, Each driver can be connected by one or more data media interfaces with bus 18.System storage 28 may include to There is one group of (for example, at least one) program module, these program modules to be configured to for a few program product, the program product Execute the function of various embodiments of the present invention.
Program/utility 40 with one group of (at least one) program module 42 can be stored in such as system storage In device 28, such program module 42 includes --- but being not limited to --- operating system, one or more application program, other Program module and program data may include the realization of network environment in each or certain combination in these examples.Journey Sequence module 42 usually executes function and/or method in embodiment described in the invention.
Computer system/server 12 can also be (such as keyboard, sensing equipment, aobvious with one or more external equipments 14 Show device 24 etc.) communication, it is logical that the equipment interacted with the computer system/server 12 can be also enabled a user to one or more Letter, and/or any set with so that the computer system/server 12 communicated with one or more of the other computing device Standby (such as network interface card, modem etc.) communicates.This communication can be carried out by input/output (I/O) interface 44.And And computer system/server 12 can also pass through network adapter 20 and one or more network (such as LAN (LAN), wide area network (WAN) and/or public network, such as internet) communication.As shown, network adapter 20 passes through bus 18 communicate with other modules of computer system/server 12.It should be understood that although not shown in the drawings, computer can be combined Systems/servers 12 use other hardware and/or software module, including but not limited to:Microcode, device driver, at redundancy Manage unit, external disk drive array, RAID system, tape drive and data backup storage system etc..
Processing unit 16 is stored in program in system storage 28 by operation, to perform various functions application and Data processing, such as realize the image processing method that the embodiment corresponding to Fig. 1 is provided.
Another embodiment of the present invention additionally provides a kind of computer readable storage medium, is stored thereon with computer program, The program realizes the image processing method that the embodiment corresponding to Fig. 1 is provided when being executed by processor.
Specifically, the arbitrary combination of one or more computer-readable media may be used.Computer-readable medium Can be computer-readable signal media or computer readable storage medium.Computer readable storage medium for example can be with System, device or the device of --- but being not limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or it is arbitrary more than Combination.The more specific example (non exhaustive list) of computer readable storage medium includes:With one or more conducting wires Electrical connection, portable computer diskette, hard disk, random access memory (RAM), read-only memory (ROM), erasable type can compile Journey read-only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic Memory device or above-mentioned any appropriate combination.In this document, can be any include computer readable storage medium Or the tangible medium of storage program, which can be commanded execution system, device, and either device uses or in connection makes With.
Computer-readable signal media may include in a base band or as the data-signal that a carrier wave part is propagated, Wherein carry computer-readable program code.Diversified forms may be used in the data-signal of this propagation, including --- but It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be Any computer-readable medium other than computer readable storage medium, which can send, propagate or Transmission for by instruction execution system, device either device use or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In --- wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
It can be write with one or more programming languages or combinations thereof for executing the computer that operates of the present invention Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, Further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion Divide and partly executes or executed on a remote computer or server completely on the remote computer on the user computer. Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including LAN (LAN) or Wide area network (WAN) --- it is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service Provider is connected by internet).
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of division of logic function, formula that in actual implementation, there may be another division manner, for example, multiple units or group Part can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown Or the mutual coupling, direct-coupling or communication connection discussed can be by some interfaces, device or unit it is indirect Coupling or communication connection can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of hardware adds SFU software functional unit.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, it will be understood by those of ordinary skill in the art that:It still may be used With technical scheme described in the above embodiments is modified or equivalent replacement of some of the technical features; And these modifications or replacements, various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (12)

1. a kind of image processing method, which is characterized in that including:
Obtain the network state parameters of the image mark information and the terminal of the image to be visited of terminal;
According to the network state parameters, compression of images grade is obtained;
According to described image hierarchy compression and described image identification information, the adaptive figure corresponding to the image to be visited is obtained Picture;
The adapting to image is sent to the terminal.
2. according to the method described in claim 1, it is characterized in that, the image identification letter of the image to be visited for obtaining terminal The network state parameters of breath and the terminal, including:
The image access request that the terminal is sent is received, described image identification information and institute are carried in described image access request State network state parameters;
Dissection process is carried out to described image access request, to obtain described image identification information and the network state parameters.
3. according to the method described in claim 1, it is characterized in that, described according to described image hierarchy compression and described image mark Know information further includes before obtaining the adapting to image:
Compression processing is carried out to the original image corresponding to the image to be visited according to described image hierarchy compression, to obtain The adapting to image.
4. according to the method described in claim 3, it is characterized in that, described according to described image hierarchy compression, wait visiting to described Ask the original image corresponding to image, carry out compression processing further includes after obtaining the adapting to image:
To the adapting to image, storage processing is carried out.
5. according to the method described in Claims 1 to 4 any claim, which is characterized in that the network state parameters, including At least one of in following parameters:
Network quality;
Network type;
Network transmission bandwidth;And
Network transfer speeds.
6. a kind of image processing apparatus, which is characterized in that including:
Parameter acquiring unit, the image mark information of the image to be visited for obtaining terminal and the network state ginseng of the terminal Number;
Grade acquiring unit, for according to the network state parameters, obtaining compression of images grade;
Image matching unit, for according to described image hierarchy compression and described image identification information, obtaining the figure to be visited As corresponding adapting to image;
Image transmission unit, for the adapting to image to be sent to the terminal.
7. device according to claim 6, which is characterized in that the parameter acquiring unit is specifically used for
The image access request that the terminal is sent is received, described image identification information and institute are carried in described image access request State network state parameters;And
Dissection process is carried out to described image access request, to obtain described image identification information and the network state parameters.
8. device according to claim 6, which is characterized in that described device further includes image compression unit, is used for
Compression processing is carried out to the original image corresponding to the image to be visited according to described image hierarchy compression, to obtain The adapting to image.
9. device according to claim 8, which is characterized in that described image matching unit is additionally operable to
To the adapting to image, storage processing is carried out.
10. according to the device described in claim 6~9 any claim, which is characterized in that the network state parameters, packet Include at least one in following parameters:
Network quality;
Network type;
Network transmission bandwidth;And
Network transfer speeds.
11. a kind of equipment, which is characterized in that the equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors so that one or more of processors are real The now method as described in any in Claims 1 to 5.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The method as described in any in Claims 1 to 5 is realized when execution.
CN201710219620.8A 2017-04-06 2017-04-06 Image processing method, device, equipment and computer readable storage medium Pending CN108696649A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710219620.8A CN108696649A (en) 2017-04-06 2017-04-06 Image processing method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710219620.8A CN108696649A (en) 2017-04-06 2017-04-06 Image processing method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN108696649A true CN108696649A (en) 2018-10-23

Family

ID=63842790

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710219620.8A Pending CN108696649A (en) 2017-04-06 2017-04-06 Image processing method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108696649A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110781150A (en) * 2019-10-10 2020-02-11 北京无限光场科技有限公司 Data transmission method and device and electronic equipment
CN111212156A (en) * 2020-01-15 2020-05-29 中国银联股份有限公司 Network connection method and device
CN112862073A (en) * 2021-02-03 2021-05-28 北京大学 Compressed data analysis method and device, storage medium and terminal
CN114629953A (en) * 2020-12-14 2022-06-14 电科云(北京)科技有限公司 Service cross-domain calling method and system based on proxy

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102970331A (en) * 2012-10-26 2013-03-13 北京奇虎科技有限公司 Image providing system
CN102984151A (en) * 2012-11-26 2013-03-20 北京奇虎科技有限公司 Method and server for providing picture data for computing terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102970331A (en) * 2012-10-26 2013-03-13 北京奇虎科技有限公司 Image providing system
CN102984151A (en) * 2012-11-26 2013-03-20 北京奇虎科技有限公司 Method and server for providing picture data for computing terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110781150A (en) * 2019-10-10 2020-02-11 北京无限光场科技有限公司 Data transmission method and device and electronic equipment
CN111212156A (en) * 2020-01-15 2020-05-29 中国银联股份有限公司 Network connection method and device
CN114629953A (en) * 2020-12-14 2022-06-14 电科云(北京)科技有限公司 Service cross-domain calling method and system based on proxy
CN112862073A (en) * 2021-02-03 2021-05-28 北京大学 Compressed data analysis method and device, storage medium and terminal

Similar Documents

Publication Publication Date Title
CN110008045B (en) Method, device and equipment for aggregating microservices and storage medium
CN111737127B (en) Method and apparatus for testing map services
CN108416744B (en) Image processing method, device, equipment and computer readable storage medium
CN108696649A (en) Image processing method, device, equipment and computer readable storage medium
CN110489440B (en) Data query method and device
CN108255614A (en) A kind of interface calling system and method based on micro services framework
CN109756568A (en) Processing method, equipment and the computer readable storage medium of file
CN111985831A (en) Scheduling method and device of cloud computing resources, computer equipment and storage medium
CN109614207A (en) Processing method, equipment and the computer readable storage medium of boarding application
CN107609958A (en) Behavioral guidance strategy determines method and device, storage medium and electronic equipment
CN110399231A (en) Based on cross-platform data processing method, device and computer equipment
CN107729570A (en) Data migration method and device for server
CN109471893A (en) Querying method, equipment and the computer readable storage medium of network data
CN111694866A (en) Data searching and storing method, data searching system, data searching device, data searching equipment and data searching medium
CN111104425A (en) Data processing method and device
CN107636655A (en) Data are provided in real time to service(DaaS)System and method
CN109710332A (en) Processing method, equipment and the computer readable storage medium of boarding application
CN109543154A (en) Method for converting types, device, storage medium and the electronic equipment of list data
CN107959932A (en) Processing method, equipment and the computer-readable recording medium of wireless access point information
CN107463929A (en) Processing method, device, equipment and the computer-readable recording medium of speech data
CN110222017A (en) Processing method, device, equipment and the computer readable storage medium of real time data
CN110377273A (en) A kind of method, apparatus of data processing, medium and electronic equipment
CN110174946A (en) Mouse action analogy method, simulation system, storage medium and electronic equipment
CN115222500A (en) Capital monitoring method, device, storage medium and computer equipment
CN115022328A (en) Server cluster, server cluster testing method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181023