CN111241438A - Cartoon picture display method and device, computer readable storage medium and computer equipment - Google Patents

Cartoon picture display method and device, computer readable storage medium and computer equipment Download PDF

Info

Publication number
CN111241438A
CN111241438A CN202010016562.0A CN202010016562A CN111241438A CN 111241438 A CN111241438 A CN 111241438A CN 202010016562 A CN202010016562 A CN 202010016562A CN 111241438 A CN111241438 A CN 111241438A
Authority
CN
China
Prior art keywords
cartoon
cartoon picture
current
picture
quality type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010016562.0A
Other languages
Chinese (zh)
Other versions
CN111241438B (en
Inventor
刘冲
刘爽
明细龙
蒋健
李甜甜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010016562.0A priority Critical patent/CN111241438B/en
Publication of CN111241438A publication Critical patent/CN111241438A/en
Application granted granted Critical
Publication of CN111241438B publication Critical patent/CN111241438B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application relates to a cartoon picture display method, a cartoon picture display device, a computer readable storage medium and computer equipment, wherein the method comprises the following steps: searching the cartoon picture quality type; when the cartoon image quality type is not found, acquiring the current network state and equipment information; sending a cartoon picture acquisition request to a server, wherein the cartoon picture acquisition request carries a cartoon content identifier to be displayed, a current network state and equipment information, so that the server acquires a corresponding current cartoon picture quality type according to the current network state and the equipment information, and searches a corresponding current cartoon picture address according to the cartoon content identifier to be displayed and the current cartoon picture quality type; and acquiring the current cartoon image quality type and the current cartoon picture address returned by the server, storing the current cartoon image quality type and the current cartoon picture address in a correlation manner, acquiring a corresponding current cartoon picture according to the current cartoon picture address, and displaying the current cartoon picture. The scheme provided by the application can realize the adaptive display of the cartoon picture.

Description

Cartoon picture display method and device, computer readable storage medium and computer equipment
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method and an apparatus for displaying a cartoon picture, a computer-readable storage medium, and a computer device.
Background
With the development of internet technology, people begin to use cartoons APP (mobile phone software) to read cartoons. At present, when displaying cartoon pictures, a mobile phone only provides a picture source with a default size. In some cases, the default size of the map source may not be adapted to the mobile phone, for example, when the low-end mobile phone or the network state is not good, the default size of the map source may not be adapted to the mobile phone, which may result in poor reading experience, and may result in a downtime of the mobile phone in a serious case. For another example, when the high-end mobile phone or the network status is very good, the map source with the default size cannot completely match the mobile phone or the network status, so that the display effect cannot reach the expectation of the user.
Disclosure of Invention
Based on this, it is necessary to provide a cartoon picture presentation method, apparatus, computer-readable storage medium and computer device for solving the technical problem that a default size of a picture source cannot be adapted to a mobile phone.
A cartoon picture display method comprises the following steps:
receiving a cartoon picture display instruction, wherein the cartoon picture display instruction carries an identifier of cartoon content to be displayed, and searching the picture quality type of the cartoon according to the cartoon picture display instruction;
when the cartoon image quality type is not found, acquiring the current network state and equipment information;
sending a cartoon picture acquisition request to a server, wherein the cartoon picture acquisition request carries a cartoon content identifier to be displayed, a current network state and equipment information, so that the server acquires a corresponding current cartoon picture quality type according to the current network state and the equipment information, and searches a corresponding current cartoon picture address according to the cartoon content identifier to be displayed and the current cartoon picture quality type;
and acquiring the current cartoon image quality type and the current cartoon picture address returned by the server, storing the current cartoon image quality type and the current cartoon picture address in a correlation manner, acquiring a corresponding current cartoon picture according to the current cartoon picture address, and displaying the current cartoon picture.
A comic picture display apparatus comprising:
the searching module is used for receiving a cartoon picture displaying instruction, carrying a cartoon content identifier to be displayed and searching the cartoon picture quality type according to the cartoon picture displaying instruction;
the obtaining module is used for obtaining the current network state and equipment information when the cartoon image quality type is not found;
the request sending module is used for sending a cartoon picture obtaining request to the server, wherein the cartoon picture obtaining request carries a cartoon content identifier to be displayed, a current network state and equipment information, so that the server obtains a corresponding current cartoon picture quality type according to the current network state and the equipment information, and searches a corresponding current cartoon picture address according to the cartoon content identifier to be displayed and the current cartoon picture quality type;
and the picture display module is used for acquiring the current cartoon picture quality type and the current cartoon picture address returned by the server, storing the current cartoon picture quality type and the current cartoon picture address in a correlation manner, acquiring a corresponding current cartoon picture according to the current cartoon picture address, and displaying the current cartoon picture.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the program:
receiving a cartoon picture display instruction, wherein the cartoon picture display instruction carries an identifier of cartoon content to be displayed, and searching the picture quality type of the cartoon according to the cartoon picture display instruction;
when the cartoon image quality type is not found, acquiring the current network state and equipment information;
sending a cartoon picture acquisition request to a server, wherein the cartoon picture acquisition request carries a cartoon content identifier to be displayed, a current network state and equipment information, so that the server acquires a corresponding current cartoon picture quality type according to the current network state and the equipment information, and searches a corresponding current cartoon picture address according to the cartoon content identifier to be displayed and the current cartoon picture quality type;
and acquiring the current cartoon image quality type and the current cartoon picture address returned by the server, storing the current cartoon image quality type and the current cartoon picture address in a correlation manner, acquiring a corresponding current cartoon picture according to the current cartoon picture address, and displaying the current cartoon picture.
A computer-readable storage medium having stored thereon a computer program which, when executed by a processor, causes the processor to perform the steps of:
receiving a cartoon picture display instruction, wherein the cartoon picture display instruction carries an identifier of cartoon content to be displayed, and searching the picture quality type of the cartoon according to the cartoon picture display instruction;
when the cartoon image quality type is not found, acquiring the current network state and equipment information;
sending a cartoon picture acquisition request to a server, wherein the cartoon picture acquisition request carries a cartoon content identifier to be displayed, a current network state and equipment information, so that the server acquires a corresponding current cartoon picture quality type according to the current network state and the equipment information, and searches a corresponding current cartoon picture address according to the cartoon content identifier to be displayed and the current cartoon picture quality type;
and acquiring the current cartoon image quality type and the current cartoon picture address returned by the server, storing the current cartoon image quality type and the current cartoon picture address in a correlation manner, acquiring a corresponding current cartoon picture according to the current cartoon picture address, and displaying the current cartoon picture.
According to the cartoon picture display method, the cartoon picture display device, the computer readable storage medium and the computer equipment, the cartoon picture quality type is searched when a cartoon picture display instruction is received, when the cartoon picture quality type is not searched, the current cartoon picture quality type and the corresponding current cartoon picture address are obtained from the server through the current network state and the equipment information, the corresponding current cartoon picture is obtained according to the current cartoon picture address, the current cartoon picture is displayed, the obtained current cartoon picture can be matched with the current network state and the equipment information, and the problem that the picture source with the default size cannot be matched is avoided. And the current cartoon picture quality type and the current cartoon picture address are stored in a correlated mode, so that when a cartoon is searched subsequently, the current cartoon picture quality type and the current cartoon picture address are directly used for displaying the current cartoon picture, and the display efficiency is improved.
Drawings
FIG. 1 is a diagram of an application environment of a method for displaying caricatures in an embodiment;
FIG. 2 is a flowchart illustrating a method for displaying caricature images according to an embodiment;
FIG. 3 is a flow diagram illustrating monitoring of current network conditions in one embodiment;
FIG. 4 is a flowchart illustrating a process for displaying an update prompt page in one embodiment;
FIG. 5 is a diagram illustrating update prompts, according to an exemplary embodiment;
FIG. 6 is a flowchart illustrating selecting a caricature image quality type according to an embodiment;
FIG. 7 is a diagram illustrating selecting high definition image quality in one embodiment;
FIG. 8 is a block diagram showing the construction of a comic picture display apparatus according to an embodiment;
FIG. 9 is a block diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Cloud technology refers to a hosting technology for unifying serial resources such as hardware, software, network and the like in a wide area network or a local area network to realize calculation, storage, processing and sharing of data.
Cloud technology (Cloud technology) is based on a general term of network technology, information technology, integration technology, management platform technology, application technology and the like applied in a Cloud computing business model, can form a resource pool, is used as required, and is flexible and convenient. Cloud computing technology will become an important support. Background services of the technical network system require a large amount of computing and storage resources, such as video websites, picture-like websites and more web portals. With the high development and application of the internet industry, each article may have its own identification mark and needs to be transmitted to a background system for logic processing, data in different levels are processed separately, and various industrial data need strong system background support and can only be realized through cloud computing.
Cloud computing (cloud computing) is a computing model that distributes computing tasks over a pool of resources formed by a large number of computers, enabling various application systems to obtain computing power, storage space, and information services as needed. The network that provides the resources is referred to as the "cloud". Resources in the "cloud" appear to the user as being infinitely expandable and available at any time, available on demand, expandable at any time, and paid for on-demand. As a basic capability provider of cloud computing, a cloud computing resource pool (called as a cloud Platform in general, an Infrastructure as a Service) Platform is established, and multiple types of virtual resources are deployed in the resource pool for selective use by external clients, the cloud computing resource pool mainly includes a computing device (including an operating system, for a virtualized machine), a storage device, and a network device, and is divided according to logical functions, a PaaS (Platform as a Service) layer may be deployed on an IaaS (Infrastructure as a Service) layer, a SaaS (Software as a Service) layer may be deployed on the PaaS layer, or the SaaS may be directly deployed on the IaaS layer, the PaaS is a Platform, such as a database, a container, and the like, which are various Service Software of a website, such as a web portal, a short message Service, and the like, SaaS and PaaS are upper layers relative to IaaS.
Fig. 1 is an application environment diagram of the cartoon picture presentation method in one embodiment. Referring to fig. 1, the cartoon picture display method is applied to a cartoon picture display system. The comic picture presentation system includes a terminal 110 and a server 120. The terminal 110 and the server 120 are connected through a network. The server 120 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a network service, cloud communication, middleware service, a domain name service, a security service, a CDN, a big data and artificial intelligence platform, and the like. The terminal 110 may be, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart reader, and the like. The terminal and the server may be directly or indirectly connected through wired or wireless communication, and the application is not limited herein.
Specifically, the terminal 110 receives a cartoon picture display instruction, the cartoon picture display instruction carries a cartoon content identifier to be displayed, and the cartoon picture quality type is searched according to the cartoon picture display instruction; when the cartoon image quality type is not found, acquiring the current network state and equipment information; the terminal 110 sends a cartoon picture acquisition request to the server 120, wherein the cartoon picture acquisition request carries a cartoon content identifier to be displayed, a current network state and equipment information, so that the server 120 acquires a corresponding current cartoon picture quality type according to the current network state and the equipment information, and searches a corresponding current cartoon picture address according to the cartoon content identifier to be displayed and the current cartoon picture quality type; the terminal 110 obtains the current cartoon image quality type and the current cartoon picture address returned by the server 120, stores the current cartoon image quality type and the current cartoon picture address in a correlated manner, obtains a corresponding current cartoon picture according to the current cartoon picture address, and displays the current cartoon picture.
As shown in fig. 2, in one embodiment, a cartoon picture presentation method is provided. The embodiment is mainly illustrated by applying the method to the terminal 110 in fig. 1. Referring to fig. 2, the cartoon picture display method specifically includes the following steps:
s202, receiving a cartoon picture display instruction, wherein the cartoon picture display instruction carries an identifier of cartoon content to be displayed, and searching the picture quality type of the cartoon according to the cartoon picture display instruction.
The cartoon content to be displayed is used for uniquely identifying the cartoon content to be displayed, and the cartoon content can be a specific cartoon or a chapter in the cartoon. For example, the user needs to search for a cartoon picture of the fourth chapter in a cartoon. The caricature image quality type is used to represent the image quality type of the caricature image, and the image quality type may include, but is not limited to, normal definition, standard definition, high definition, super definition, and the like.
Specifically, the terminal receives a cartoon picture display instruction, the cartoon picture display instruction carries a cartoon content identifier to be displayed, and the terminal searches a cartoon image quality type corresponding to the terminal in a local memory according to the received cartoon picture display instruction.
And S204, when the cartoon image quality type is not found, acquiring the current network state and equipment information.
The current network state refers to a network state when the terminal receives a cartoon picture display instruction, and the network state refers to a state of a network connected with the terminal, including a network flow trend and a flow speed. The network to which the terminal is connected may be a 3G (3rd-Generation, third Generation mobile communication technology) network, a 4G (the 4th Generation mobile communication technology, fourth Generation mobile communication technology) network, a 5G (5th Generation mobile communication technology) network, a WIFI (Wireless-Fidelity, Wireless network communication technology) network, and the like. The current network state may be that the terminal is connected to a 4G network, the network traffic speed may be 2MB/s, etc. The device information refers to specific information of the terminal device, and includes a device model, a device manufacturer, device hardware information, device system information, a device IMEI (international mobile equipment identity), a device UUID (universally unique identity), and the like.
Specifically, when the terminal does not find the saved cartoon image quality type in the local memory, the terminal acquires the current network state and the equipment information. In one embodiment, when the terminal is not connected to the network and the terminal does not find the saved cartoon image quality type, the terminal displays the prompt information of the unconnected network.
And S206, sending a cartoon picture acquisition request to the server, wherein the cartoon picture acquisition request carries the cartoon content identification to be displayed, the current network state and the equipment information, so that the server acquires the corresponding current cartoon picture quality type according to the current network state and the equipment information, and searches the corresponding current cartoon picture address according to the cartoon content identification to be displayed and the current cartoon picture quality type.
The current cartoon picture address is a storage address URL (Uniform Resource Locator) of a cartoon picture that needs to be displayed currently. Each caricature picture has a uniform and unique address on the network. For example, the cartoon image may be stored in a CDN (Content Delivery Network), and downloaded from the CDN through a URL of the cartoon image. Each cartoon image quality type is provided with a corresponding set of cartoon images, namely image sources.
Specifically, the terminal sends a cartoon picture acquisition request to the server, wherein the cartoon picture acquisition request carries a cartoon content identifier to be displayed, a current network state and equipment information. And the server receives a cartoon picture acquisition request sent by the terminal, and analyzes the cartoon picture acquisition request to obtain a cartoon content identifier to be displayed, a current network state and equipment information. And the server searches the corresponding current cartoon image quality type in a preset corresponding relation data table according to the current network state and the equipment information. Different network states and different device information correspond to different cartoon image quality types. For example, if the network status of the mobile phone is 5G and the mobile phone is hua zhi 30, the corresponding cartoon image quality type is super-definition type. And then, the server searches the corresponding current cartoon picture address according to the cartoon content identifier to be displayed and the current cartoon picture quality type. The current cartoon picture address may be a cartoon picture address of a chapter or a cartoon picture address of a cartoon. And the terminal sends the current cartoon picture address and the current cartoon picture quality type.
And S208, acquiring the current cartoon image quality type and the current cartoon picture address returned by the server, storing the current cartoon image quality type and the current cartoon picture address in a correlation manner, acquiring a corresponding current cartoon picture according to the current cartoon picture address, and displaying the current cartoon picture.
Specifically, the terminal acquires the current cartoon image quality type and the current cartoon picture address returned by the server, and stores the current cartoon image quality type and the current cartoon picture address in a correlated manner. When the user views the cartoon picture, the terminal acquires the corresponding current cartoon picture according to the stored current cartoon picture address, and displays the current cartoon picture.
In one embodiment, the terminal may sequentially obtain corresponding current cartoon picture addresses according to a current cartoon picture display sequence, and then obtain corresponding current cartoon pictures from the cloud server according to the current cartoon picture addresses for sequential display.
According to the cartoon picture display method, when a cartoon picture display instruction is received, a cartoon picture quality type is searched, when the cartoon picture quality type is not searched, the current cartoon picture quality type and the corresponding current cartoon picture address are obtained from a server through the current network state and equipment information, the corresponding current cartoon picture is obtained according to the current cartoon picture address, the current cartoon picture is displayed, the obtained current cartoon picture can be matched with the current network state and the equipment information, and the problem that the picture source with the default size cannot be matched is avoided. And the current cartoon picture quality type and the current cartoon picture address are stored in a correlated mode, so that when a cartoon is searched subsequently, the current cartoon picture quality type and the current cartoon picture address are directly used for displaying the current cartoon picture, and the display efficiency is improved.
In an embodiment, after the step S202, that is, after receiving the comic picture display instruction and searching the comic picture quality type according to the comic picture display instruction, the method further includes the steps of:
and when the cartoon image quality type is found, searching a corresponding cartoon picture address according to the cartoon image quality type, acquiring a corresponding cartoon picture according to the cartoon picture address, and displaying the cartoon picture.
Specifically, when the terminal finds the cartoon image quality type in the memory, it is indicated that the terminal has prestored the cartoon image quality type adapted to the terminal device information and the network information. At the moment, the cartoon picture address associated with the cartoon picture quality type is directly searched according to the association relation, then the corresponding cartoon picture can be downloaded from the cloud server according to the cartoon picture address, and then the cartoon picture is displayed.
In the embodiment, when the terminal finds the cartoon image quality type, the corresponding cartoon picture address can be directly found according to the found cartoon image quality type, the corresponding cartoon picture is obtained according to the cartoon picture address, the cartoon picture is displayed, and the cartoon image quality type and the cartoon picture address are stored in the local memory of the terminal, so that the cartoon picture is ensured to be adaptive to the terminal equipment, and the cartoon picture display efficiency is improved.
In one embodiment, as shown in fig. 3, after step S208, that is, after obtaining a corresponding current cartoon picture according to a current cartoon picture address and displaying the current cartoon picture, the method further includes the steps of:
s302, monitoring the current network state, when the current network state is changed into the target network state, sending a cartoon picture adaptation request to a server according to the target network state so that the server can obtain the corresponding target cartoon picture quality type according to the target network state, and finding the corresponding target cartoon picture address according to the target cartoon picture quality type and the cartoon content identification to be displayed.
The target network state is a network state inconsistent with the current network state, for example, the current network state is a 4G network, and the target network state may be a 5G network. The target cartoon picture quality type is a cartoon picture quality type corresponding to the target network status and the device information. The target cartoon picture address is the address of the cartoon picture corresponding to the target cartoon picture quality type.
Specifically, when a user browses a cartoon picture, the terminal monitors the current network state in real time, and when the current network state is changed into a target network state, the terminal sends a cartoon picture adaptation request to the server, wherein the cartoon picture adaptation request can carry the target network state and equipment information. And when the server receives the cartoon picture adaptation request, analyzing the cartoon picture adaptation request to obtain a target network state and equipment information, and searching a corresponding target cartoon picture quality type in a preset corresponding relation table according to the target network state and the equipment information. The preset corresponding relation table stores the corresponding relation between the network state and the equipment information and the cartoon picture quality type. And acquiring a corresponding target cartoon picture address according to the searched target cartoon picture quality type. And the server returns the searched target cartoon image quality type and target cartoon image address to the terminal.
S304, obtaining the target cartoon image quality type and the target cartoon picture address returned by the server, and replacing the current cartoon image quality type and the current cartoon picture address with the target cartoon image quality type and the target cartoon picture address.
And S306, acquiring a corresponding target cartoon picture according to the target cartoon picture address, and displaying the target cartoon picture.
Specifically, the terminal acquires a target cartoon image quality type and a target cartoon picture address returned by the server, and replaces the current cartoon image quality type and the current cartoon picture address stored in the memory with the target cartoon image quality type and the target cartoon picture address, namely, the current cartoon image quality type and the current cartoon picture address stored in the memory are covered as the target cartoon image quality type and the target cartoon picture address. And then the terminal acquires a corresponding target cartoon picture according to the target cartoon picture address and displays the target cartoon picture. For example, when the network of the terminal is switched from WIFI to 4G, the corresponding caricature image quality is obtained according to the network state of 4G, and if the WIFI is a high-definition image quality, the network state of 4G is a standard definition image quality. At the moment, the terminal acquires and displays the cartoon picture with standard definition.
In the embodiment, the current network state is monitored in real time, after the current network state is transformed, the corresponding target cartoon image quality type and the target cartoon image address are obtained according to the transformed network state, the stored cartoon image quality type and the stored cartoon image address are covered, then the target cartoon image is obtained by using the target cartoon image address for displaying, the image quality type of the displayed target cartoon image can be adjusted in time according to the network state of the terminal, the image quality type of the displayed target cartoon image is matched with the network state, and the user experience is improved.
In one embodiment, as shown in fig. 4, after step S304, that is, after the target caricature picture quality type and the target caricature picture address returned by the server are acquired, the method further includes the steps of:
s402, displaying a cartoon picture quality updating prompt page according to the target network state and the target cartoon picture quality type.
The cartoon image quality updating prompt page is used for displaying cartoon image quality updating prompt information.
Specifically, the server displays a cartoon image quality update prompt page on the cartoon browsing page according to the target network state and the target cartoon image quality type, for example, the server can jump from the cartoon browsing page to the cartoon image quality update prompt page. For example, the cartoon image quality update prompt page is displayed on the cartoon view page in a popup window format.
S404, receiving a cartoon picture quality updating instruction through the cartoon picture quality updating prompt page, and replacing the current cartoon picture quality type and the current cartoon picture address with a target cartoon picture quality type and a target cartoon picture address according to the cartoon picture quality updating instruction.
Specifically, the terminal receives the cartoon image quality updating command through the cartoon image quality updating prompt page, for example, the user may update the cartoon image quality updating prompt page through a switching button on the cartoon image quality updating prompt page. And at the moment, the terminal replaces the current cartoon image quality type and the current cartoon picture address with the target cartoon image quality type and the target cartoon picture address according to the cartoon image quality updating instruction. Namely, deleting the current cartoon picture quality type and the current cartoon picture address from the memory, and then writing the target cartoon picture quality type and the target cartoon picture address into the memory for storage.
S406, acquiring a corresponding target cartoon picture according to the target cartoon picture address, and displaying the target cartoon picture.
Specifically, when the user continues to browse subsequent cartoons, the terminal acquires the corresponding target cartoons according to the target cartoons address, for example, the target cartoons can be downloaded from the CDN, or the target cartoons can be downloaded from the cloud server.
As shown in fig. 5, a schematic diagram of an update prompt displayed when a user browses a cartoon on a cartoon browsing page in a specific embodiment is shown, where a target network state is that a downlink bandwidth of a network is smaller than a preset threshold, that is, the network is relatively blocked, and a target cartoon image quality type is adapted to a standard definition image quality. At the moment, cartoon picture quality updating prompt information 'you are comparing cards in the current network and switching to standard definition picture quality' is displayed on a cartoon browsing page through a popup window. The user can select to switch to standard definition image quality, then click and no longer remind, follow-up prompt is not carried out, and image quality switching is directly carried out.
In the embodiment, the cartoon picture quality updating prompt page is displayed to prompt picture quality updating, so that the user can be reminded of switching adaptive picture quality in time, and the cartoon reading experience of the user is improved.
In one embodiment, as shown in fig. 6, after step S208, that is, after obtaining a corresponding current cartoon picture according to a current cartoon picture address and displaying the current cartoon picture, the method further includes the steps of:
and S602, receiving a cartoon picture quality type selection instruction, wherein the cartoon picture quality type selection instruction carries a selected cartoon picture quality type, and sending a cartoon picture acquisition request to a server according to the selected cartoon picture quality type so that the server can search a corresponding selected cartoon picture address according to the selected cartoon picture quality type and a cartoon content identifier to be displayed.
Specifically, when a user browses a cartoon through a terminal, a cartoon image quality type selection instruction can be received through a cartoon browsing page, and the cartoon browsing page is used for displaying a current cartoon picture. The cartoon picture quality type selection instruction carries the selected cartoon picture quality type, at the moment, the terminal acquires the cartoon content identification to be displayed, and sends a cartoon picture acquisition request to the server according to the selected cartoon picture quality type and the cartoon content identification to be displayed. And when the server receives the cartoon picture acquisition request, analyzing to obtain the selected cartoon picture quality type and the cartoon content identification to be displayed, and searching the corresponding selected cartoon picture address according to the selected cartoon picture quality type and the cartoon content identification to be displayed.
S604, obtaining the address of the selected cartoon picture returned by the server, and replacing the current cartoon picture quality type and the current cartoon picture address with the selected cartoon picture quality type and the selected cartoon picture address.
And S606, obtaining the selected cartoon picture according to the address of the selected cartoon picture, and displaying the selected cartoon picture.
Specifically, the terminal acquires the address of the selected cartoon picture returned to the server, replaces the original current cartoon picture quality type and the current cartoon picture address stored in the memory with the selected cartoon picture quality type and the selected cartoon picture address, acquires the selected cartoon picture by using the selected cartoon picture address, and displays the selected cartoon picture. Fig. 7 is a schematic diagram illustrating a user selecting switching to high definition image quality according to an embodiment.
In the embodiment, the user actively switches the cartoon image quality, so that the terminal replaces the current cartoon image quality type and the current cartoon image address stored in the memory with the selected cartoon image quality type and the selected cartoon image address, obtains the selected cartoon image by using the selected cartoon image address, and displays the selected cartoon image, so that the user can independently select the cartoon image quality to display, and the user experience is further improved.
In one embodiment, the server may count the number of user-selected picture quality types per picture quality type. For example, the user who selects the normal definition image quality is only 0.5%, the user who selects the standard definition image quality is 10%, the user who selects the high definition image quality is 30%, and the user who selects the super definition image quality is 55.5%. In this case, the server may delete the picture source of the normal definition picture quality, that is, may not provide the comic of the normal definition picture quality type. In this case, the server can acquire a cartoon source having an image quality better than the image quality of the past date and provide the cartoon source to the user. The image quality can be upgraded according to the image quality selection condition of the user, and the upgrading of the image quality can be more stable and smooth.
It should be understood that although the various steps in the flowcharts of fig. 2-4, 6 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-4, 6 may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternatively with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 8, there is provided a comic picture presentation apparatus 800 including: a searching module 802, an obtaining module 804, a request sending module 806 and a picture displaying module 808, wherein:
the searching module 802 is configured to receive a cartoon picture displaying instruction, where the cartoon picture displaying instruction carries an identifier of cartoon content to be displayed, and search for a cartoon image quality type according to the cartoon picture displaying instruction;
the obtaining module 804 is configured to obtain a current network state and device information when the caricature image quality type is not found;
a request sending module 806, configured to send a comic picture obtaining request to a server, where the comic picture obtaining request carries an identifier of comic content to be displayed, a current network state, and device information, so that the server obtains a corresponding current comic picture quality type according to the current network state and the device information, and finds a corresponding current comic picture address according to the identifier of the comic content to be displayed and the current comic picture quality type;
the picture display module 808 is configured to acquire the current cartoon picture quality type and the current cartoon picture address returned by the server, store the current cartoon picture quality type and the current cartoon picture address in an associated manner, acquire a corresponding current cartoon picture according to the current cartoon picture address, and display the current cartoon picture.
In an embodiment, the searching module 802 is further configured to search, when the cartoon image quality type is found, a corresponding cartoon image address according to the cartoon image quality type, obtain a corresponding cartoon image according to the cartoon image address, and display the cartoon image.
In one embodiment, the cartoon picture display apparatus 800 further comprises:
the system comprises a monitoring unit, a target network state and a target cartoon picture matching unit, wherein the monitoring unit is used for monitoring the current network state, sending a cartoon picture matching request to a server according to the target network state when the current network state is changed into the target network state, so that the server obtains a corresponding target cartoon picture quality type according to the target network state, and searching a corresponding target cartoon picture address according to the target cartoon picture quality type and a cartoon content identifier to be displayed;
the replacing unit is used for acquiring a target cartoon image quality type and a target cartoon picture address returned by the server and replacing the current cartoon image quality type and the current cartoon picture address with the target cartoon image quality type and the target cartoon picture address;
and the target picture display unit is used for acquiring a corresponding target cartoon picture according to the target cartoon picture address and displaying the target cartoon picture.
In one embodiment, the replacing unit is further used for displaying a cartoon picture quality updating prompt page according to the target network state and the target cartoon picture quality type; receiving a cartoon picture quality updating instruction through a cartoon picture quality updating prompt page, and replacing the current cartoon picture quality type and the current cartoon picture address with a target cartoon picture quality type and a target cartoon picture address according to the cartoon picture quality updating instruction; and acquiring a corresponding target cartoon picture according to the target cartoon picture address, and displaying the target cartoon picture.
In one embodiment, the cartoon picture display apparatus 800 further comprises:
the selection instruction receiving module is used for receiving a cartoon image quality type selection instruction, the cartoon image quality type selection instruction carries a selected cartoon image quality type, and sending a cartoon image acquisition request to the server according to the selected cartoon image quality type so that the server can search a corresponding selected cartoon image address according to the selected cartoon image quality type and a cartoon content identifier to be displayed;
the information replacement module is used for acquiring the address of the selected cartoon picture returned by the server and replacing the current cartoon picture quality type and the current cartoon picture address with the selected cartoon picture quality type and the selected cartoon picture address;
and the selected picture display module is used for acquiring the selected cartoon picture according to the address of the selected cartoon picture and displaying the selected cartoon picture.
FIG. 9 is a diagram illustrating an internal structure of a computer device in one embodiment. The computer device may specifically be the terminal 110 in fig. 1. As shown in fig. 9, the computer apparatus includes a processor, a memory, a network interface, an input device, and a display screen connected through a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and also stores a computer program, and when the computer program is executed by a processor, the computer program can enable the processor to realize the cartoon picture display method. The internal memory may also store a computer program, and the computer program, when executed by the processor, may cause the processor to perform a method for displaying caricatures. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 9 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the cartoon picture display apparatus provided by the present application may be implemented in the form of a computer program, and the computer program may be run on a computer device as shown in fig. 9. The memory of the computer device can store various program modules constituting the cartoon picture presentation apparatus, such as the search module 802, the obtaining module 804, the request sending module 806 and the picture presentation module 808 shown in fig. 8. The computer program constituted by the program modules causes the processor to execute the steps of the comic picture presentation method according to the embodiments of the present application described in the present specification.
For example, the computer device shown in fig. 9 may execute step S202 through the lookup module 802 in the comic picture presentation apparatus shown in fig. 8. The obtaining module 804 performs step S204. The request transmission module 806 performs step S206. And the picture presentation module 808 performs step S208.
In one embodiment, a computer device is provided, which includes a memory and a processor, the memory storing a computer program, the computer program, when executed by the processor, causing the processor to perform the steps of the cartoon picture presentation method described above. The steps of the cartoon picture displaying method may be steps in the cartoon picture displaying methods of the above embodiments.
In one embodiment, a computer-readable storage medium is provided, which stores a computer program that, when executed by a processor, causes the processor to perform the steps of the caricature image presentation method described above. The steps of the cartoon picture displaying method may be steps in the cartoon picture displaying methods of the above embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by instructing the relevant hardware through a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A cartoon picture display method comprises the following steps:
receiving a cartoon picture display instruction, wherein the cartoon picture display instruction carries an identifier of cartoon content to be displayed, and searching the picture quality type of a cartoon according to the cartoon picture display instruction;
when the cartoon image quality type is not found, acquiring the current network state and equipment information;
sending a cartoon picture acquisition request to a server, wherein the cartoon picture acquisition request carries the cartoon content identification to be displayed, the current network state and the equipment information, so that the server acquires the corresponding current cartoon picture quality type according to the current network state and the equipment information, and finds the corresponding current cartoon picture address according to the cartoon content identification to be displayed and the current cartoon picture quality type;
and acquiring the current cartoon image quality type and the current cartoon picture address returned by the server, storing the current cartoon image quality type and the current cartoon picture address in a correlation manner, acquiring a corresponding current cartoon picture according to the current cartoon picture address, and displaying the current cartoon picture.
2. The method according to claim 1, wherein after receiving the cartoon picture displaying instruction and searching for the cartoon picture quality type according to the cartoon picture displaying instruction, the method further comprises:
and when the cartoon picture quality type is found, searching a corresponding cartoon picture address according to the cartoon picture quality type, acquiring a corresponding cartoon picture according to the cartoon picture address, and displaying the cartoon picture.
3. The method according to claim 1, wherein after the obtaining a corresponding current cartoon picture according to the current cartoon picture address and displaying the current cartoon picture, the method further comprises:
monitoring a current network state, and when the current network state is changed into a target network state, sending a cartoon picture adaptation request to the server according to the target network state so that the server can obtain a corresponding target cartoon picture quality type according to the target network state and find a corresponding target cartoon picture address according to the target cartoon picture quality type and the cartoon content identification to be displayed;
obtaining the target cartoon image quality type and the target cartoon picture address returned by the server, and replacing the current cartoon image quality type and the current cartoon picture address with the target cartoon image quality type and the target cartoon picture address;
and acquiring a corresponding target cartoon picture according to the target cartoon picture address, and displaying the target cartoon picture.
4. The method according to claim 3, further comprising, after the obtaining the target cartoon picture quality type and the target cartoon picture address returned by the server:
displaying a cartoon picture quality updating prompt page according to the target network state and the target cartoon picture quality type;
receiving a cartoon picture quality updating instruction through the cartoon picture quality updating prompt page, and replacing the current cartoon picture quality type and the current cartoon picture address with the target cartoon picture quality type and the target cartoon picture address according to the cartoon picture quality updating instruction;
and acquiring a corresponding target cartoon picture according to the target cartoon picture address, and displaying the target cartoon picture.
5. The method according to claim 1, wherein after the obtaining a corresponding current cartoon picture according to the current cartoon picture address and displaying the current cartoon picture, the method further comprises:
receiving a cartoon picture quality type selection instruction, wherein the cartoon picture quality type selection instruction carries a selected cartoon picture quality type, and sending a cartoon picture acquisition request to a server according to the selected cartoon picture quality type so that the server searches for a corresponding selected cartoon picture address according to the selected cartoon picture quality type and the cartoon content identifier to be displayed;
the selected cartoon picture address returned by the server is obtained, and the current cartoon picture quality type and the current cartoon picture address are replaced by the selected cartoon picture quality type and the selected cartoon picture address;
and acquiring the selected cartoon picture according to the selected cartoon picture address, and displaying the selected cartoon picture.
6. A cartoon picture presentation apparatus, said apparatus comprising:
the searching module is used for receiving a cartoon picture displaying instruction, wherein the cartoon picture displaying instruction carries a cartoon content identifier to be displayed, and searching the cartoon picture quality type according to the cartoon picture displaying instruction;
the acquisition module is used for acquiring the current network state and equipment information when the cartoon image quality type is not found;
a request sending module, configured to send a cartoon picture obtaining request to a server, where the cartoon picture obtaining request carries the cartoon content identifier to be displayed, the current network state, and the device information, so that the server obtains a corresponding current cartoon picture quality type according to the current network state and the device information, and finds a corresponding current cartoon picture address according to the cartoon content identifier to be displayed and the current cartoon picture quality type;
and the picture display module is used for acquiring the current cartoon picture quality type and the current cartoon picture address returned by the server, storing the current cartoon picture quality type and the current cartoon picture address in a correlation manner, acquiring a corresponding current cartoon picture according to the current cartoon picture address, and displaying the current cartoon picture.
7. The apparatus according to claim 6, wherein the search module is further configured to search a corresponding caricature picture address according to the caricature picture quality type when the caricature picture quality type is found, obtain a corresponding caricature picture according to the caricature picture address, and display the caricature picture.
8. The apparatus of claim 6, wherein the picture display module further comprises:
the monitoring unit is used for monitoring the current network state, when the current network state is changed into a target network state, sending a cartoon picture adaptation request to the server according to the target network state so that the server can obtain a corresponding target cartoon picture quality type according to the target network state, and finding a corresponding target cartoon picture address according to the target cartoon picture quality type and the cartoon content identification to be displayed;
the replacing unit is used for acquiring the target cartoon image quality type and the target cartoon picture address returned by the server and replacing the current cartoon image quality type and the current cartoon picture address with the target cartoon image quality type and the target cartoon picture address;
and the target picture display unit is used for acquiring a corresponding target cartoon picture according to the target cartoon picture address and displaying the target cartoon picture.
9. A computer-readable storage medium, storing a computer program which, when executed by a processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 5.
10. A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method according to any one of claims 1 to 5.
CN202010016562.0A 2020-01-08 2020-01-08 Cartoon picture display method, cartoon picture display device, cartoon picture display computer readable storage medium and cartoon picture display computer equipment Active CN111241438B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010016562.0A CN111241438B (en) 2020-01-08 2020-01-08 Cartoon picture display method, cartoon picture display device, cartoon picture display computer readable storage medium and cartoon picture display computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010016562.0A CN111241438B (en) 2020-01-08 2020-01-08 Cartoon picture display method, cartoon picture display device, cartoon picture display computer readable storage medium and cartoon picture display computer equipment

Publications (2)

Publication Number Publication Date
CN111241438A true CN111241438A (en) 2020-06-05
CN111241438B CN111241438B (en) 2023-04-25

Family

ID=70879946

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010016562.0A Active CN111241438B (en) 2020-01-08 2020-01-08 Cartoon picture display method, cartoon picture display device, cartoon picture display computer readable storage medium and cartoon picture display computer equipment

Country Status (1)

Country Link
CN (1) CN111241438B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111984278A (en) * 2020-08-28 2020-11-24 北京达佳互联信息技术有限公司 Method and device for acquiring animation image
CN114765700A (en) * 2021-01-13 2022-07-19 腾讯科技(深圳)有限公司 Information interaction method and device, storage medium and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794159A (en) * 2004-12-23 2006-06-28 微软公司 Personalization of user accessibility options
CN101030296A (en) * 2007-01-26 2007-09-05 无敌科技(西安)有限公司 Method for adjusting JPEG image resolution
CN102572204A (en) * 2010-12-20 2012-07-11 中国移动通信集团浙江有限公司 Method and device for obtaining comics adaptive to terminal screen resolution
CN102946418A (en) * 2012-10-26 2013-02-27 北京奇虎科技有限公司 Terminal equipment, picture providing system and picture transmission method
CN103747056A (en) * 2013-12-26 2014-04-23 方正国际软件有限公司 Server and cartoon pushing method
JP2016005043A (en) * 2014-06-13 2016-01-12 株式会社リコー Information processing device and program
CN107071518A (en) * 2016-09-05 2017-08-18 北京奥鹏远程教育中心有限公司 The video broadcasting method and system of adaptive mobile terminal study
CN108320319A (en) * 2018-02-02 2018-07-24 广东蜂助手网络技术股份有限公司 A kind of caricature synthetic method, device, equipment and computer readable storage medium
CN109558501A (en) * 2018-11-28 2019-04-02 中国工商银行股份有限公司 A kind of response type image processing method, mobile terminal, server and system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794159A (en) * 2004-12-23 2006-06-28 微软公司 Personalization of user accessibility options
US20060139312A1 (en) * 2004-12-23 2006-06-29 Microsoft Corporation Personalization of user accessibility options
CN101030296A (en) * 2007-01-26 2007-09-05 无敌科技(西安)有限公司 Method for adjusting JPEG image resolution
CN102572204A (en) * 2010-12-20 2012-07-11 中国移动通信集团浙江有限公司 Method and device for obtaining comics adaptive to terminal screen resolution
CN102946418A (en) * 2012-10-26 2013-02-27 北京奇虎科技有限公司 Terminal equipment, picture providing system and picture transmission method
CN103747056A (en) * 2013-12-26 2014-04-23 方正国际软件有限公司 Server and cartoon pushing method
JP2016005043A (en) * 2014-06-13 2016-01-12 株式会社リコー Information processing device and program
CN107071518A (en) * 2016-09-05 2017-08-18 北京奥鹏远程教育中心有限公司 The video broadcasting method and system of adaptive mobile terminal study
CN108320319A (en) * 2018-02-02 2018-07-24 广东蜂助手网络技术股份有限公司 A kind of caricature synthetic method, device, equipment and computer readable storage medium
CN109558501A (en) * 2018-11-28 2019-04-02 中国工商银行股份有限公司 A kind of response type image processing method, mobile terminal, server and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
高辉 等: "泛在学习资源在移动终端上的自适应呈现模型设计" *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111984278A (en) * 2020-08-28 2020-11-24 北京达佳互联信息技术有限公司 Method and device for acquiring animation image
CN114765700A (en) * 2021-01-13 2022-07-19 腾讯科技(深圳)有限公司 Information interaction method and device, storage medium and electronic equipment
CN114765700B (en) * 2021-01-13 2023-07-14 腾讯科技(深圳)有限公司 Information interaction method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN111241438B (en) 2023-04-25

Similar Documents

Publication Publication Date Title
US11164278B2 (en) Screen capture method, terminal, and storage medium employing both parent application program and sub-application program
US20190347146A1 (en) Message processing method and apparatus, storage medium, and computer device
CN110096660B (en) Method and device for loading page pictures and electronic equipment
CN112114913B (en) Application program interface updating method and device, computer equipment and storage medium
CN110765379B (en) Method, device, computer equipment and storage medium for loading resource file
CN110177039B (en) Message sharing method and device, computer equipment and storage medium
CN113568699B (en) Content display method, device, equipment and storage medium
CN108959384B (en) Webpage data acquisition method and device, computer equipment and storage medium
CN113940037B (en) Resource subscription method, device, computer equipment and storage medium
CN111241438B (en) Cartoon picture display method, cartoon picture display device, cartoon picture display computer readable storage medium and cartoon picture display computer equipment
CN112423281B (en) Wireless module upgrading method, device, computer equipment and storage medium
US10445412B1 (en) Dynamic browsing displays
CN105487640A (en) Image pre-loading and caching method of Android watch
CN110780939B (en) Method, device, computer equipment and storage medium for loading resource file
CN109587040B (en) Mail processing method, system, computer device and storage medium
CN111897602B (en) Method, device, equipment and medium for loading and updating H5 page
CN112083852B (en) Recommendation bit layout method, device, equipment and medium for video application
CN112256370A (en) Information display method and device and electronic equipment
CN112187887A (en) Webpage real-time communication method and device for multiple pages and electronic equipment
CN108959393B (en) Dynamic picture processing method, device and storage medium
CN111817944A (en) Picture sharing method and device and electronic equipment
CN116127219A (en) Method and device for displaying pages in applet and computer equipment
CN107959824A (en) A kind of monitor video processing method, physical server and storage medium
CN112257000A (en) Picture generation method and device, computer equipment and storage medium
CN111444448A (en) Data processing method, server and system

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40024314

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant