WO2019024332A1 - 图片显示方法、服务器和计算机可读存储介质 - Google Patents
图片显示方法、服务器和计算机可读存储介质 Download PDFInfo
- Publication number
- WO2019024332A1 WO2019024332A1 PCT/CN2017/111935 CN2017111935W WO2019024332A1 WO 2019024332 A1 WO2019024332 A1 WO 2019024332A1 CN 2017111935 W CN2017111935 W CN 2017111935W WO 2019024332 A1 WO2019024332 A1 WO 2019024332A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- picture
- displayed
- original image
- picture display
- stored
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 81
- 230000006854 communication Effects 0.000 description 8
- 230000006835 compression Effects 0.000 description 6
- 238000007906 compression Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 239000000284 extract Substances 0.000 description 4
- 238000000605 extraction Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9574—Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
Definitions
- the present application relates to the field of picture display, and in particular, to a picture display method, a server, and a computer readable storage medium.
- the original image with high resolution is generally uploaded to the server system, and the original image is stored in the server system.
- the main purpose of the present application is to provide a picture display method, a server, and a computer readable storage medium, which are intended to solve the existing image display mode and require technical problems of consuming a large amount of server resources.
- the present application provides a picture display method, which is applied to a server, where the picture display method includes:
- the pre-stored picture is called from the disk
- the called pre-stored picture is transmitted to the terminal interface for display.
- the step of calling the pre-stored picture from the disk includes:
- the size of the placeholder to be displayed is smaller than the preset threshold, determine whether the picture type corresponding to the picture to be displayed is a preset type
- the compressed picture associated with the picture to be displayed is called from the disk.
- the step of calling the pre-stored picture from the disk further includes:
- the pre-stored universal picture is called from the disk.
- the step of determining a picture type corresponding to the picture to be displayed includes:
- the picture type corresponding to the picture to be displayed is considered to be a preset type.
- the step of determining that the picture type corresponding to the picture to be displayed is a preset type includes:
- the picture type corresponding to the picture to be displayed is considered to be a preset type.
- the step of determining whether the content of the graphic information in the picture to be displayed matches the content of the graphic information in the pre-stored picture of the system comprises:
- the text matching rate at the same position reaches the first preset value, and when the pattern similarity at the same position reaches the second preset value, the content of the graphic information is considered to match.
- the method before the step of determining, according to the picture display instruction, the size of the placeholder to be displayed, the method further includes:
- the original image is stored on the disk
- the original image is copied, and the copied original image is compressed to obtain a compressed image, and the original image and the compressed image are associated and saved.
- the method further includes:
- the original picture of the picture is called from the disk, and the called original picture is transmitted to the terminal interface for display.
- the present application further provides a server including a memory, a processor, and a picture display program stored on the memory and operable on the processor, the picture display program being The processor performs the steps of the picture display method as described above when executed.
- the present application further provides a computer readable storage medium having a picture display program stored thereon, the picture display program being executed by a processor to implement a picture as described above The steps to display the method.
- the technical solution proposed by the present application when receiving the picture display instruction sent by the terminal, first determines the size of the placeholder to be displayed for the picture to be displayed based on the picture display instruction, and if the size of the placeholder to be displayed is smaller than a preset threshold , the pre-stored picture is called from the disk, and the called pre-stored picture is transmitted to the terminal interface for display.
- the terminal interface displays a picture
- the size of the placeholder of the picture to be displayed is small, it is only necessary to obtain the previously stored picture from the disk for display, and it is not necessary to perform a compression operation on the picture, thereby reducing the consumption of the server resource.
- FIG. 1 is a schematic structural diagram of a server in a hardware operating environment according to an embodiment of the present application
- FIG. 2 is a schematic flow chart of a first embodiment of a picture display method according to the present application.
- step S20 in FIG. 2 is a schematic diagram of a first refinement process of step S20 in FIG. 2;
- FIG. 4 is a schematic diagram of a refinement process of step S21 in FIG. 3;
- FIG. 5 is a schematic diagram of a second refinement process of step S20 in FIG. 2.
- the solution of the embodiment of the present application is: when receiving the picture display instruction sent by the terminal, first determining, according to the picture display instruction, a placeholder size to be displayed on the picture to be displayed, if the size of the placeholder to be displayed is smaller than
- the preset threshold is used to call the pre-stored picture from the disk, and the called pre-stored picture is transmitted to the terminal interface for display.
- it requires a lot of server resources.
- FIG. 1 is a schematic structural diagram of a server in a hardware operating environment involved in an embodiment of the present application.
- the server of the embodiment of the present application includes but is not limited to a one-way server, a multi-way server, and a distributed server.
- the server may include a processor 1001, such as a CPU, a communication bus 1002, a network interface 1003, and a memory 1004.
- the communication bus 1002 is used to implement connection communication between these components.
- the network interface 1003 may optionally include a standard wired interface (for connecting to a wired network), a wireless interface (such as a WI-FI interface, a Bluetooth interface, an infrared interface, etc. for connecting to a wireless network).
- the memory 1004 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage.
- the memory 1004 can also optionally be a storage device independent of the aforementioned processor 1001.
- the server may also include RF (Radio) Frequency, RF) circuits, sensors, WiFi modules, and more.
- RF Radio
- RF Radio
- server structure illustrated in FIG. 1 does not constitute a limitation to the device, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements.
- an operating system As shown in FIG. 1, an operating system, a network communication module, and a picture display program may be included in the memory 1004 as a computer readable storage medium.
- the operating system is a program for managing and controlling server and software resources, and supports operation of a network communication module, a picture display program, and other programs or software; the network communication module is used to manage and control the network interface 1003.
- the network interface 1003 is mainly used to connect the terminal and perform data communication with the terminal;
- the server invokes the picture display program stored in the memory 1004 by the processor 1001 to implement the following steps:
- the pre-stored picture is called from the disk
- the called pre-stored picture is transmitted to the terminal interface for display.
- the server invokes the picture display program stored in the memory 1004 by the processor 1001 to implement the step of calling the pre-stored picture from the disk:
- the size of the placeholder to be displayed is smaller than the preset threshold, determine whether the picture type corresponding to the picture to be displayed is a preset type
- the compressed picture associated with the picture to be displayed is called from the disk.
- the server invokes the picture display program stored in the memory 1004 by the processor 1001 to implement the step of calling the pre-stored picture from the disk. :
- the pre-stored universal picture is called from the disk.
- the server invokes the picture display program stored in the memory 1004 by the processor 1001 to implement the step of determining the picture type corresponding to the picture to be displayed:
- the picture type corresponding to the picture to be displayed is considered to be a preset type.
- the server invokes the picture display program stored in the memory 1004 by the processor 1001 to implement the steps of determining that the picture type corresponding to the picture to be displayed is the preset type.
- the picture type corresponding to the picture to be displayed is considered to be a preset type.
- the server invokes the picture display program stored in the memory 1004 by the processor 1001 to implement a step of determining whether the content of the graphic information in the picture to be displayed matches the content of the graphic information in the system pre-stored picture:
- the text matching rate at the same position reaches the first preset value, and when the pattern similarity at the same position reaches the second preset value, the content of the graphic information is considered to match.
- the server determines to store in the memory 1004 by the processor 1001 before the step of determining the size of the placeholder to be displayed for the picture to be displayed based on the picture display instruction.
- the picture shows the program to implement the following steps:
- the original image is stored on the disk
- the original image is copied, and the copied original image is compressed to obtain a compressed image, and the original image and the compressed image are associated and saved.
- the server determines to store the size of the placeholder to be displayed according to the picture display instruction, and the server calls the memory 1004 to be stored by the processor 1001.
- the picture shows the program to implement the following steps:
- the original picture of the picture is called from the disk, and the called original picture is transmitted to the terminal interface for display.
- the technical solution proposed by the present application when receiving the picture display instruction sent by the terminal, first determines the size of the placeholder to be displayed for the picture to be displayed based on the picture display instruction, and if the size of the placeholder to be displayed is smaller than a preset threshold , the pre-stored picture is called from the disk, and the called pre-stored picture is transmitted to the terminal interface for display.
- the terminal interface displays a picture
- the size of the placeholder of the picture to be displayed is small, it is only necessary to obtain the previously stored picture from the disk for display, and it is not necessary to perform a compression operation on the picture, thereby reducing the consumption of the server resource.
- FIG. 2 is a schematic flowchart of a first embodiment of a picture display method according to the present application.
- the picture display method is applied to a server, and the picture display method includes:
- Step S10 when receiving the picture display instruction sent by the terminal, determining, according to the picture display instruction, a placeholder size that needs to be displayed on the picture to be displayed; in step S20, if the size of the placeholder to be displayed is smaller than a preset threshold, The pre-stored picture is called from the disk; in step S30, the called pre-stored picture is transmitted to the terminal interface for display.
- the picture display method is applied to a server, and the server is a server as shown in FIG. 1.
- the server is provided with a disk for storing pictures.
- Step S10 when receiving the picture display instruction sent by the terminal, determining, according to the picture display instruction, a placeholder size that needs to be displayed for the picture to be displayed;
- the triggering manner of the picture display instruction includes:
- the terminal front-end device
- the terminal needs to trigger a picture display instruction when the picture is loaded on the display interface, and send the picture display instruction to the server.
- the terminal When receiving the touch operation in the picture display control, the terminal triggers the picture display instruction, and sends the picture display instruction to the server, where the touch operation includes but is not limited to a click touch operation, a long press touch operation, or a sliding touch operation. .
- the server When the server receives the picture display instruction sent by the terminal, the server first determines the picture to be displayed corresponding to the picture display instruction. Specifically, the server extracts the picture identifier from the picture display instruction, and determines the picture to be displayed based on the extracted picture identifier.
- the picture identifier is 0021.jpg, which is set according to the actual situation, and is not limited herein.
- the server After determining the picture to be displayed, the server further determines the placeholder size that the picture needs to be displayed.
- the server determines the size of the placeholder that the picture needs to be displayed, and is also determined according to the picture display instruction. Specifically, the server checks whether the picture display instruction carries preset flag bit information, and the flag bit information It can be set according to the actual situation. If the preset flag is carried, the size of the placeholder that the picture needs to be displayed is large, and the preset threshold is reached. If the picture display instruction does not carry the preset flag, then The placeholder size that the picture needs to be displayed is small and smaller than the preset threshold. In this embodiment, the preset threshold is also not limited, and is set according to actual conditions.
- the size of the picture to be requested is determined first.
- the terminal requests the picture with the placeholder size larger than the preset size.
- the terminal sets the preset flag bit information. For example, when the location size requested by the terminal is less than or equal to the picture of the preset size, the terminal does not set the flag information.
- the terminal determines the size of the placeholder of the picture, which is determined according to the operation of the user in the display interface.
- the picture to be displayed by the terminal is preferably a small picture, if the user does not perform a touch operation (including clicking, Long press or slide operation) means that the terminal only needs to load a small picture for display; when the user double-clicks the area where the picture is located in the display interface, it means that the terminal wants to load a large picture. Therefore, when the terminal does not receive the touch operation, it indicates that the mini-picture is currently loaded, and the terminal does not need to add the preset flag bit information in the picture display instruction, and directly adds the picture identifier to be sent to the server.
- a touch operation including clicking, Long press or slide operation
- Step S20 if the size of the placeholder to be displayed is smaller than a preset threshold, the pre-stored picture is called from the disk;
- the server determines the size of the placeholder to be displayed for the picture to be displayed, if it is detected that the size of the placeholder to be displayed is smaller than a preset threshold, the server calls the pre-stored picture from the disk.
- the implementation manner of the step S20 includes:
- Step S20 includes:
- step S21 if the size of the placeholder to be displayed is smaller than the preset threshold, it is determined whether the picture type corresponding to the picture to be displayed is a preset type;
- step S22 when the picture type is not the preset type, the compressed picture associated with the picture to be displayed is called from the disk.
- the step S21 includes:
- Step S211 identifying the graphic information in the picture to be displayed to determine the location of the graphic information in the picture to be displayed;
- Step S212 acquiring a pre-stored picture of the system
- Step S213 comparing the picture to be displayed with the pre-stored picture of the system, to determine whether the location of the graphic information in the picture to be displayed is the same as the position of the graphic information in the pre-stored picture of the system;
- step S214 if the same, the picture type corresponding to the picture to be displayed is considered to be a preset type.
- the server after determining the picture to be displayed, the server first identifies the graphic information in the displayed picture to determine the location of the graphic information, and obtains the pre-stored picture after determining the location of the graphic information.
- the pre-stored picture is a picture stored in the server system in advance. After the pre-stored picture is obtained, the server compares the picture to be displayed with the pre-stored picture of the system to determine the picture to be displayed.
- the location of the text information is the same as the location of the graphic information in the pre-stored picture of the system.
- the pre-stored graphic information of the system has a specific graphic combination, and therefore, the preset type of image includes a picture of a specific graphic combination.
- the image type corresponding to the image to be displayed is considered to be a preset type, and then, when the image to be displayed is displayed
- the preset type is preferably: Card type.
- the server can call the compressed picture associated with the picture to be displayed from the disk. That is, in the embodiment, when it is determined that the picture type of the picture to be displayed is not the ID card picture type, at this time, the compressed picture is extracted from the system disk, and the compressed picture can be subsequently sent to the terminal for display.
- the server when the terminal views a small picture, the server extracts the pre-compressed picture from the disk for subsequent display. Since the image has been compressed beforehand, the subsequent extraction is directly extracted, which reduces the server resources required for the image display.
- Step S20 further includes:
- step S23 when the picture type is a preset type, the pre-stored general picture is called from the disk.
- the server may extract the pre-stored universal picture on the disk, so as to send the pre-stored general picture to the terminal for display, the pre-stored general picture and the preset type of picture. Consistent, that is, the pre-stored universal picture is also set as an ID picture.
- the server when the terminal views a small picture and the picture is an ID picture, the server loads the disk to pre-store the general picture for display, and does not need to perform compression beforehand, thereby saving the traffic consumed when the picture is stored.
- the compressed picture of the picture to be displayed is extracted, or the common picture is pre-stored, and the extracted compressed picture and the common picture are used as pre-stored pictures to facilitate subsequent display.
- step S30 the called pre-stored picture is transmitted to the terminal interface for display.
- the server After the server extracts the pre-stored picture, the extracted pre-stored picture can be transmitted to the terminal for display.
- the server receives the picture display instruction sent by the terminal, and transmits the extracted pre-stored picture to the terminal, preferably both.
- the message queue is used to receive the picture display instruction sent by the front end through the message queue, and then the extracted pre-stored picture is transmitted to the terminal through the message queue. Because the message queue has the characteristics of first-in-first-out, the display process of the picture is executed in order, ensuring that the picture display process is more orderly.
- the communication process between the server and the terminal is implemented through the message queue, and when multiple terminals are simultaneously sent to the picture display instruction, the server has to respond to multiple instructions, causing system resource overload.
- the technical solution provided by the embodiment when receiving the picture display instruction sent by the terminal, first determines, according to the picture display instruction, a placeholder size to be displayed for the picture to be displayed, if the size of the placeholder to be displayed is smaller than the preset Threshold, the pre-stored picture is called from the disk, and the called pre-stored picture is transmitted to the terminal interface for display.
- the terminal interface displays a picture
- the size of the placeholder of the picture to be displayed is small, it is only necessary to obtain the previously stored picture from the disk for display, and it is not necessary to perform a compression operation on the picture, thereby reducing the consumption of the server resource.
- the second embodiment of the picture display method differs from the first embodiment of the picture display method in that, in the embodiment, the step S214 includes:
- Step A If they are the same, determine whether the content of the graphic information in the picture to be displayed matches the content of the graphic information in the pre-stored picture of the system;
- step B if it matches, it is considered that the picture type corresponding to the picture to be displayed is a preset type.
- the server in the case that the location where the graphic information is located in the picture to be displayed is the same as the position of the graphic information in the pre-stored picture of the system, the server is used to improve the accuracy of the graphic information determination. Further determining whether the content of the graphic information in the picture to be displayed matches the content of the graphic information in the pre-stored picture of the system.
- the step A includes:
- Step A1 comparing the image to be displayed with the text at the same position in the pre-stored picture of the system, and comparing the patterns at the same position;
- step A2 the text matching rate at the same position reaches the first preset value, and when the pattern similarity at the same position reaches the second preset value, the content of the graphic information is considered to match.
- the image to be displayed is first compared with the text at the same position in the pre-stored picture of the system, and the picture to be displayed is compared with the pattern at the same position in the pre-stored picture of the system, and the matching rate of the text at the same position reaches the first preset.
- the value and the pattern similarity of the same position reach the second preset value, the content of the graphic information is considered to match.
- the first preset value and the second preset value may be different values, and may be the same value. The specific value is set according to actual conditions, and is not limited herein.
- the picture type corresponding to the picture to be displayed may be considered as a preset type.
- the content of the graphic information in the two pictures is further compared, and If the content of the graphic information is also matched, it is considered that the image type corresponding to the image to be displayed is a preset type, which improves the accuracy of the image type recognition in the image to be displayed.
- a third embodiment of the picture display method of the present application is proposed based on the first or second embodiment.
- the third embodiment of the picture display method differs from the first or second embodiment of the picture display method in that, before the step S10, the method further includes:
- Step C when receiving the original image uploaded by the terminal, storing the original image on the disk;
- Step D determining whether the type of the original image is the preset type
- Step E uploading a general picture to the disk when the original picture is the preset type, and storing the universal picture;
- step F when the original image is not the preset type, the original image is copied, and the copied original image is compressed to obtain a compressed image, and the original image and the compressed image are associated and saved.
- the original picture uploaded by the terminal is obtained first, and then the obtained original picture is stored in the disk. Then, the picture type of the original picture is analyzed. In this embodiment, the picture type of the original picture is analyzed in the first and second embodiments above, and details are not described herein again.
- the preset type is the ID picture picture type mentioned above.
- the server acquires a general picture, and stores the obtained general picture to a disk for storage. .
- the original image is copied at this time, and then the copied original image is compressed to obtain a compressed image, and finally the original image and the compressed image are associated and saved, so that the subsequent view is small.
- the compressed image associated with the original image is called for display.
- the server directly on the disk
- the corresponding picture is obtained for display, that is, when the subsequent terminal wants to view the picture, the server does not need to perform the compression operation, which saves the server resources and reduces the processing pressure of the server, thereby improving the processing speed of the server.
- a fourth embodiment of the picture display method of the present application is proposed based on the first to third embodiments.
- the fourth embodiment of the picture display method is different from the first to third embodiments of the picture display method in that after the step S10, the method further includes:
- Step G If the size of the placeholder to be displayed reaches the preset threshold, the original picture of the picture is called from the disk, and the called original picture is transmitted to the terminal interface for display.
- the server calls the original image corresponding to the picture to be displayed from the disk, and transmits the called original image to the terminal interface for display.
- the server when the terminal requests the original image, the server directly feeds back the original image, and stores various pictures through the disk to feed back the corresponding picture according to the actual request of the terminal, so that the picture viewing is more flexible.
- the embodiment of the present application further provides a computer readable storage medium, where the computer readable storage medium stores a picture display program, and when the picture display program is executed by the processor, the following operations are implemented:
- the pre-stored picture is called from the disk
- the called pre-stored picture is transmitted to the terminal interface for display.
- the operation of calling the pre-stored picture from the disk is also implemented:
- the size of the placeholder to be displayed is smaller than the preset threshold, determine whether the picture type corresponding to the picture to be displayed is a preset type
- the compressed picture associated with the picture to be displayed is called from the disk.
- the operation of calling the pre-stored picture from the disk is also implemented:
- the pre-stored universal picture is called from the disk.
- the picture type corresponding to the picture to be displayed is considered to be a preset type.
- the picture display program when executed by the processor, the same operation is performed, and the picture type corresponding to the picture to be displayed is considered to be a preset type operation:
- the picture type corresponding to the picture to be displayed is considered to be a preset type.
- the picture display program when executed by the processor, it is further implemented to determine whether the content of the graphic information in the picture to be displayed matches the content of the graphic information in the pre-stored picture of the system:
- the text matching rate at the same position reaches the first preset value, and when the pattern similarity at the same position reaches the second preset value, the content of the graphic information is considered to match.
- the original image is stored on the disk
- the original image is copied, and the copied original image is compressed to obtain a compressed image, and the original image and the compressed image are associated and saved.
- the original picture of the picture is called from the disk, and the called original picture is transmitted to the terminal interface for display.
- the technical solution proposed by the present application when receiving the picture display instruction sent by the terminal, first determines the size of the placeholder to be displayed for the picture to be displayed based on the picture display instruction, and if the size of the placeholder to be displayed is smaller than a preset threshold , the pre-stored picture is called from the disk, and the called pre-stored picture is transmitted to the terminal interface for display.
- the terminal interface displays a picture
- the size of the placeholder of the picture to be displayed is small, it is only necessary to obtain the previously stored picture from the disk for display, and it is not necessary to perform a compression operation on the picture, thereby reducing the consumption of the server resource.
- the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
- Implementation Based on such understanding, the technical solution of the present application, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
- the optical disc includes a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present application.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- User Interface Of Digital Computer (AREA)
- Processing Or Creating Images (AREA)
Abstract
Description
Claims (20)
- 一种图片显示方法,其特征在于,应用于服务器中,所述图片显示方法包括:在接收到终端发送的图片显示指令时,基于所述图片显示指令确定待显示的图片需要显示的占位符尺寸;若需要显示的占位符尺寸小于预设阈值,则从磁盘中调用预存图片;将调用的预存图片传输至终端界面进行显示。
- 如权利要求1所述的图片显示方法,其特征在于,所述若需要显示的占位符尺寸小于预设阈值,则从磁盘中调用预存图片的步骤包括:若需要显示的占位符尺寸小于预设阈值,则确定待显示的图片对应的图片类型是否为预设类型;在图片类型不为预设类型时,从磁盘中调用待显示图片关联的压缩图片。
- 如权利要求2所述的图片显示方法,其特征在于,所述确定待显示的图片对应的图片类型是否为预设类型的步骤之后,所述从磁盘中调用预存图片的步骤还包括:在图片类型为预设类型时,从磁盘中调用预存通用图片。
- 如权利要求2所述的图片显示方法,其特征在于,所述确定待显示的图片对应的图片类型的步骤包括:对待显示的图片中的图文信息进行识别,以确定待显示的图片中图文信息所在的位置;获取***预存图片;将待显示的图片与***预存图片进行比较,以判断待显示的图片中图文信息所在的位置与***预存图片中的图文信息所在位置是否相同;若相同,认为待显示的图片对应的图片类型为预设类型。
- 如权利要求4所述的图片显示方法,其特征在于,所述若相同,认为待显示的图片对应的图片类型为预设类型的步骤包括:若相同,判断待显示的图片中图文信息的内容与***预存图片中的图文信息的内容是否匹配;若匹配,认为待显示的图片对应的图片类型为预设类型。
- 如权利要求5所述的图片显示方法,其特征在于,所述判断待显示的图片中图文信息的内容与***预存图片中的图文信息的内容是否匹配的步骤包括:将待显示的图片与***预存图片中相同位置的文字进行比较,以及将相同位置的图案进行比较;在相同位置的文字匹配率达到第一预设值,在相同位置的图案相似度达到第二预设值时,认为图文信息的内容匹配。
- 如权利要求2所述的图片显示方法,其特征在于,所述在接收到终端发送的图片显示指令时,基于所述图片显示指令确定待显示的图片需要显示的占位符尺寸的步骤之前,所述方法还包括:在接收到终端上传的原图时,将原图存储到磁盘中;确定原图的类型是否为所述预设类型;在原图为所述预设类型时,上传通用图片至磁盘中,并存储所述通用图片;在原图不为所述预设类型时,复制原图,并对复制的原图进行压缩,以得到压缩图片,将所述原图和压缩图片进行关联保存。
- 如权利要求3所述的图片显示方法,其特征在于,所述在接收到终端发送的图片显示指令时,基于所述图片显示指令确定待显示的图片需要显示的占位符尺寸的步骤之前,所述方法还包括:在接收到终端上传的原图时,将原图存储到磁盘中;确定原图的类型是否为所述预设类型;在原图为所述预设类型时,上传通用图片至磁盘中,并存储所述通用图片;在原图不为所述预设类型时,复制原图,并对复制的原图进行压缩,以得到压缩图片,将所述原图和压缩图片进行关联保存。
- 如权利要求4所述的图片显示方法,其特征在于,所述在接收到终端发送的图片显示指令时,基于所述图片显示指令确定待显示的图片需要显示的占位符尺寸的步骤之前,所述方法还包括:在接收到终端上传的原图时,将原图存储到磁盘中;确定原图的类型是否为所述预设类型;在原图为所述预设类型时,上传通用图片至磁盘中,并存储所述通用图片;在原图不为所述预设类型时,复制原图,并对复制的原图进行压缩,以得到压缩图片,将所述原图和压缩图片进行关联保存。
- 如权利要求5所述的图片显示方法,其特征在于,所述在接收到终端发送的图片显示指令时,基于所述图片显示指令确定待显示的图片需要显示的占位符尺寸的步骤之前,所述方法还包括:在接收到终端上传的原图时,将原图存储到磁盘中;确定原图的类型是否为所述预设类型;在原图为所述预设类型时,上传通用图片至磁盘中,并存储所述通用图片;在原图不为所述预设类型时,复制原图,并对复制的原图进行压缩,以得到压缩图片,将所述原图和压缩图片进行关联保存。
- 如权利要求6所述的图片显示方法,其特征在于,所述在接收到终端发送的图片显示指令时,基于所述图片显示指令确定待显示的图片需要显示的占位符尺寸的步骤之前,所述方法还包括:在接收到终端上传的原图时,将原图存储到磁盘中;确定原图的类型是否为所述预设类型;在原图为所述预设类型时,上传通用图片至磁盘中,并存储所述通用图片;在原图不为所述预设类型时,复制原图,并对复制的原图进行压缩,以得到压缩图片,将所述原图和压缩图片进行关联保存。
- 如权利要求7所述的图片显示方法,其特征在于,所述在接收到终端发送的图片显示指令时,基于所述图片显示指令确定待显示的图片需要显示的占位符尺寸的步骤之后,所述方法还包括:若需要显示的占位符尺寸达到所述预设阈值,则从磁盘中调用所述图片的原图,并将调用的原图传输至终端界面进行显示。
- 如权利要求8所述的图片显示方法,其特征在于,所述在接收到终端发送的图片显示指令时,基于所述图片显示指令确定待显示的图片需要显示的占位符尺寸的步骤之后,所述方法还包括:若需要显示的占位符尺寸达到所述预设阈值,则从磁盘中调用所述图片的原图,并将调用的原图传输至终端界面进行显示。
- 如权利要求9所述的图片显示方法,其特征在于,所述在接收到终端发送的图片显示指令时,基于所述图片显示指令确定待显示的图片需要显示的占位符尺寸的步骤之后,所述方法还包括:若需要显示的占位符尺寸达到所述预设阈值,则从磁盘中调用所述图片的原图,并将调用的原图传输至终端界面进行显示。
- 如权利要求10所述的图片显示方法,其特征在于,所述在接收到终端发送的图片显示指令时,基于所述图片显示指令确定待显示的图片需要显示的占位符尺寸的步骤之后,所述方法还包括:若需要显示的占位符尺寸达到所述预设阈值,则从磁盘中调用所述图片的原图,并将调用的原图传输至终端界面进行显示。
- 如权利要求11所述的图片显示方法,其特征在于,所述在接收到终端发送的图片显示指令时,基于所述图片显示指令确定待显示的图片需要显示的占位符尺寸的步骤之后,所述方法还包括:若需要显示的占位符尺寸达到所述预设阈值,则从磁盘中调用所述图片的原图,并将调用的原图传输至终端界面进行显示。
- 一种服务器,其特征在于,所述服务器包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的图片显示程序,所述图片显示程序被所述处理器执行时实现如权利要求1所述的图片显示方法的步骤。
- 如权利要求17所述的服务器,其特征在于,所述图片显示程序被所述处理器执行时,还实现如权利要求16所述的图片显示方法的步骤。
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有图片显示程序,所述图片显示程序被处理器执行时实现如权利要求1所述的图片显示方法的步骤。
- 如权利要求19所述的计算机可读存储介质,其特征在于,所述图片显示程序被处理器执行时,还实现如权利要求16所述的图片显示方法的步骤。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710645023.1 | 2017-07-31 | ||
CN201710645023.1A CN107679063B (zh) | 2017-07-31 | 2017-07-31 | 图片显示方法、服务器和计算机可读存储介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019024332A1 true WO2019024332A1 (zh) | 2019-02-07 |
Family
ID=61134363
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/111935 WO2019024332A1 (zh) | 2017-07-31 | 2017-11-20 | 图片显示方法、服务器和计算机可读存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107679063B (zh) |
WO (1) | WO2019024332A1 (zh) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108549708B (zh) * | 2018-04-19 | 2021-08-31 | 聊城市中芯智能科技有限公司 | 一种图文匹配方法及*** |
CN111767492B (zh) * | 2020-06-30 | 2023-04-11 | 中国平安财产保险股份有限公司 | 图片加载方法、装置、计算机设备及存储介质 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100185987A1 (en) * | 2009-01-21 | 2010-07-22 | Samsung Electronics Co., Ltd. | Image management method and system using thumbnail in dlna system |
CN102043799A (zh) * | 2009-10-14 | 2011-05-04 | 上海通路快建网络服务外包有限公司 | 图片放大方法 |
CN102387125A (zh) * | 2010-09-02 | 2012-03-21 | 腾讯科技(深圳)有限公司 | 访问微博的方法和***及微博网站图片发送方法和*** |
CN102841896A (zh) * | 2011-06-22 | 2012-12-26 | 腾讯科技(深圳)有限公司 | 一种移动终端图文信息显示的方法、***及移动终端 |
CN103699566A (zh) * | 2013-11-01 | 2014-04-02 | 北京奇虎科技有限公司 | 一种图片实时切图装置及方法 |
CN104243923A (zh) * | 2014-09-09 | 2014-12-24 | 苏州科达科技股份有限公司 | 一种图片处理及图片预览的方法及*** |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103399802B (zh) * | 2013-07-30 | 2018-02-16 | Tcl集团股份有限公司 | 一种图片预加载方法以及装置 |
JP6507577B2 (ja) * | 2014-11-06 | 2019-05-08 | コニカミノルタ株式会社 | 画像形成装置及び画像データの転送方法 |
CN104462491A (zh) * | 2014-12-22 | 2015-03-25 | 上海斐讯数据通信技术有限公司 | 上传图片的方法、***及相应的服务器 |
CN106713689A (zh) * | 2015-11-13 | 2017-05-24 | 北京奇虎科技有限公司 | 一种图片上传方法和装置 |
CN106599023A (zh) * | 2016-11-01 | 2017-04-26 | 乐视控股(北京)有限公司 | 一种图片显示的优化方法及装置 |
-
2017
- 2017-07-31 CN CN201710645023.1A patent/CN107679063B/zh active Active
- 2017-11-20 WO PCT/CN2017/111935 patent/WO2019024332A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100185987A1 (en) * | 2009-01-21 | 2010-07-22 | Samsung Electronics Co., Ltd. | Image management method and system using thumbnail in dlna system |
CN102043799A (zh) * | 2009-10-14 | 2011-05-04 | 上海通路快建网络服务外包有限公司 | 图片放大方法 |
CN102387125A (zh) * | 2010-09-02 | 2012-03-21 | 腾讯科技(深圳)有限公司 | 访问微博的方法和***及微博网站图片发送方法和*** |
CN102841896A (zh) * | 2011-06-22 | 2012-12-26 | 腾讯科技(深圳)有限公司 | 一种移动终端图文信息显示的方法、***及移动终端 |
CN103699566A (zh) * | 2013-11-01 | 2014-04-02 | 北京奇虎科技有限公司 | 一种图片实时切图装置及方法 |
CN104243923A (zh) * | 2014-09-09 | 2014-12-24 | 苏州科达科技股份有限公司 | 一种图片处理及图片预览的方法及*** |
Also Published As
Publication number | Publication date |
---|---|
CN107679063A (zh) | 2018-02-09 |
CN107679063B (zh) | 2020-05-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019019374A1 (zh) | 智能语音设备控制家电的方法、装置及*** | |
WO2017201899A1 (zh) | 连接蓝牙设备的方法及装置 | |
WO2019019378A1 (zh) | 业务处理方法、装置、适配器及计算机可读存储介质 | |
WO2019051890A1 (zh) | 终端控制方法、装置及计算机可读存储介质 | |
WO2018227887A1 (zh) | 视频广告投放、生成方法、装置、服务器及可读存储介质 | |
WO2019114269A1 (zh) | 一种节目续播方法、电视设备及计算机可读存储介质 | |
WO2015139639A1 (en) | Method and apparatus for displaying application icons on terminal | |
WO2018233367A1 (zh) | 立案方法、装置、终端和计算机可读存储介质 | |
WO2018166236A1 (zh) | 理赔账单识别方法、装置、设备及计算机可读存储介质 | |
WO2017063369A1 (zh) | 无线直连连接方法及装置 | |
WO2019062194A1 (zh) | 家电设备及其控制方法、***及计算机可读存储介质 | |
WO2018000856A1 (zh) | 一种实现SDN Overlay网络报文转发的方法、终端、设备及计算机可读存储介质 | |
WO2018032688A1 (zh) | 一种终端设备播放开机视频的控制方法及装置 | |
WO2019024336A1 (zh) | 数据查询方法、装置及计算机可读存储介质 | |
WO2019051895A1 (zh) | 终端控制方法、装置及存储介质 | |
WO2019019351A1 (zh) | 用户行为数据处理方法、装置及计算机可读存储介质 | |
WO2018149191A1 (zh) | 保单核保的方法、装置、设备及计算机可读存储介质 | |
WO2019071762A1 (zh) | 楼层位置定位方法、***、服务器和计算机可读存储介质 | |
WO2019085323A1 (zh) | Epg信息扩充方法、装置及计算机可读存储介质 | |
WO2017088437A1 (zh) | 智能电视控制终端摄像头切换方法及装置 | |
WO2019051934A1 (zh) | 业务人员考核方法、考核平台和计算机可读存储介质 | |
WO2017148028A1 (zh) | 基于智能电视的远端网络连接方法和*** | |
WO2019024332A1 (zh) | 图片显示方法、服务器和计算机可读存储介质 | |
WO2019019329A1 (zh) | 一种网络性能优化方法、***及计算机可读存储介质 | |
WO2017113596A1 (zh) | 单独听控制方法及***、移动终端及智能电视 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 21/10/2020) |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17919830 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17919830 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17919830 Country of ref document: EP Kind code of ref document: A1 |