CN106254469A - A kind of picture pushes and display packing, server and communication terminal - Google Patents

A kind of picture pushes and display packing, server and communication terminal Download PDF

Info

Publication number
CN106254469A
CN106254469A CN201610642843.0A CN201610642843A CN106254469A CN 106254469 A CN106254469 A CN 106254469A CN 201610642843 A CN201610642843 A CN 201610642843A CN 106254469 A CN106254469 A CN 106254469A
Authority
CN
China
Prior art keywords
screen locking
picture
terminal
screen
locking picture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610642843.0A
Other languages
Chinese (zh)
Inventor
陈德银
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610642843.0A priority Critical patent/CN106254469A/en
Publication of CN106254469A publication Critical patent/CN106254469A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0251Targeted advertisements
    • G06Q30/0267Wireless devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Business, Economics & Management (AREA)
  • Signal Processing (AREA)
  • Strategic Management (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Finance (AREA)
  • Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Telephonic Communication Services (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention discloses a kind of picture to push and display packing, server and communication terminal, described method includes: server receives the screen locking picture of terminal transmission and downloads request;Obtain the current network state of described terminal;Current network state according to described terminal returns the second screen locking picture of the resolution corresponding with described current network state and compression factor and downloads request to respond described screen locking picture, and described second screen locking picture is identical with described first screen locking image content but has the screen locking picture of different resolution and/or compression factor.The embodiment of the present invention arranged by the current network state according to terminal different resolution and compression ratio compared with screen locking picture be downloaded for different terminals and show, it is thus possible to meet the different terminal uses demand to screen locking picture, lifting Consumer's Experience.

Description

Picture pushing and displaying method, server and communication terminal
Technical Field
The invention relates to the field of communication, in particular to a picture pushing and displaying method, a server and a communication terminal.
Background
With the popularization of intelligent mobile terminals such as mobile phones and tablets and the rapid development of mobile internet, the usage amount of users of the intelligent mobile terminals is increasing. The screen locking function is one of the standard applications of the intelligent mobile terminal, and is the first impression that the intelligent mobile terminal presents to the user, and therefore, belongs to the application with extremely high use frequency of the user.
However, the screen locking method in the prior art can only provide some static functions, such as conventional locking and unlocking functions, for providing misoperation protection and security protection such as a coded lock; the basic information prompting function is used for prompting the incoming call information and the short message information of the user; and the entrances of the common setting and common functions are used for quickly setting the brightness, a data service switch or quick access of some applications such as photographing by a user. In the prior art, the screen locking mode is static, and after a user sets a screen locking background, an unlocking mode and an application entrance, the screen locking desktop basically has no change except for prompting a short message and a telephone, and particularly the background of the screen locking desktop is stiff and has no fresh feeling.
The scheme provides a screen-locking magazine application function, different pictures can be displayed in real time on a screen-locking display interface of the mobile phone according to sliding operation of a user, and the pictures can be preset local pictures or various types of pictures, advertisement pictures and the like pushed by a server. However, if the server pushes the screen locking pictures of the same specification to different terminals when pushing the screen locking pictures, the server cannot meet the requirements of the different terminals on the screen locking pictures.
Disclosure of Invention
The embodiment of the invention provides a picture pushing and displaying method, a server and a communication terminal, which aim to meet the requirements of different terminal users on screen locking pictures and improve user experience.
A first aspect of an embodiment of the present invention provides a method for pushing and displaying a picture, including:
the method comprises the steps that a server receives a screen locking picture downloading request sent by a terminal, wherein the screen locking picture downloading request is used for the terminal to request the server to download a first screen locking picture;
acquiring the current network state of the terminal;
and returning a second screen locking picture with the resolution and the compression ratio corresponding to the current network state according to the current network state of the terminal to respond to the screen locking picture downloading request, wherein the second screen locking picture is the screen locking picture which has the same content as the first screen locking picture but has different resolution and/or compression ratio.
A second aspect of the embodiments of the present invention provides a method for pushing and displaying a picture, including:
the method comprises the steps that a terminal sends a first screen locking picture downloading request to a server, wherein the screen locking picture downloading request is used for the terminal to request the server to download a first screen locking picture;
receiving a second screen locking picture which is returned by the server in response to the first screen locking picture downloading request and has a resolution and a compression ratio corresponding to the current network state of the terminal, wherein the second screen locking picture is a screen locking picture which has the same content as the first screen locking picture but has a different resolution and/or compression ratio;
and displaying the second screen locking picture on a display screen of the terminal.
A third aspect of an embodiment of the present invention provides a server, including:
the terminal comprises a receiving module, a display module and a processing module, wherein the receiving module is used for receiving a screen locking picture downloading request sent by the terminal, and the screen locking picture downloading request is used for the terminal to request the server to download a first screen locking picture;
the acquisition module is used for acquiring the current network state of the terminal;
and the response module is used for returning a second screen locking picture with the resolution and the compression ratio corresponding to the current network state according to the current network state of the terminal so as to respond to the screen locking picture downloading request, wherein the second screen locking picture is the screen locking picture which has the same content as the first screen locking picture but has different resolution and/or compression ratio.
A fourth aspect of the embodiments of the present invention provides a communication terminal, including:
the terminal comprises a sending module, a receiving module and a processing module, wherein the sending module is used for sending a first lock screen picture downloading request to a server by the terminal, and the lock screen picture downloading request is used for requesting the server to download a first lock screen picture by the terminal;
a receiving module, configured to receive a second lock screen picture with a resolution and a compression ratio corresponding to a current network state of the terminal, where the second lock screen picture is returned by the server in response to the first lock screen picture downloading request, and the second lock screen picture is a lock screen picture with the same content as the first lock screen picture but with a different resolution and/or compression ratio;
and the display module is used for displaying the second screen locking picture on a display screen of the terminal.
It can be seen that, in the technical solution provided by the embodiment of the present invention, a server receives a screen locking picture downloading request sent by a terminal, where the screen locking picture downloading request is used for the terminal to request the server to download a first screen locking picture; acquiring the current network state of the terminal; and returning a second screen locking picture with the resolution and the compression ratio corresponding to the current network state according to the current network state of the terminal to respond to the screen locking picture downloading request, wherein the second screen locking picture is the screen locking picture which has the same content as the first screen locking picture but has different resolution and/or compression ratio. Different screen locking pictures with different resolutions and compression comparisons are set according to the current network state of the terminal, so that different terminals can download and display the screen locking pictures, the requirements of different terminal users on the screen locking pictures can be met, and the user experience is improved.
Furthermore, as the server configures the terminal with the screen locking pictures with different resolutions and compression ratios according to the network state of the terminal, the server can actively perform strict strategy control on the screen locking pictures downloaded by the terminal, thereby preventing the picture information from being lost greatly and ensuring that the distortion degree of the responded pictures is within the allowable range.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a network architecture diagram of a picture push and display system according to an embodiment of the present invention;
fig. 2-a is a schematic view of a first playing of a lock screen picture of a terminal according to an embodiment of the present invention;
fig. 2-b is a schematic diagram of first playing of a terminal lock screen picture according to an embodiment of the present invention
Fig. 3 is a flowchart illustrating a first embodiment of a method for pushing and displaying pictures according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a second embodiment of a method for pushing and displaying pictures according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating a method for pushing and displaying a picture according to a third embodiment of the present invention;
fig. 6 is a schematic flowchart of a fourth embodiment of a method for pushing and displaying pictures according to the present invention;
fig. 7 is a schematic structural diagram of a server according to a first embodiment of the present invention;
fig. 8 is a schematic structural diagram of a server according to a second embodiment of the present invention;
fig. 9 is a schematic structural diagram of a server according to a third embodiment of the present invention;
fig. 10 is a schematic structural diagram of a communication terminal according to a first embodiment of the present invention;
fig. 11 is a schematic structural diagram of a communication terminal according to a second embodiment of the present invention;
fig. 12 is a schematic structural diagram of a server according to a third embodiment of the present invention;
fig. 13 is a schematic structural diagram of a server according to a fourth embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a picture pushing and displaying method, a server and a communication terminal, which aim to meet the requirements of different terminal users on screen locking pictures and improve user experience.
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," and "third," etc. in the description and claims of the present invention and the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "comprises" and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
The image pushing and displaying method of the embodiment of the invention comprises the following steps: the method comprises the steps that a server receives a screen locking picture downloading request sent by a terminal, wherein the screen locking picture downloading request is used for the terminal to request the server to download a first screen locking picture; acquiring the current network state of the terminal; and returning a second screen locking picture with the resolution and the compression ratio corresponding to the current network state according to the current network state of the terminal to respond to the screen locking picture downloading request, wherein the second screen locking picture is the screen locking picture which has the same content as the first screen locking picture but has different resolution and/or compression ratio.
Referring to fig. 1, fig. 1 is a network architecture diagram of a picture pushing and displaying system according to an embodiment of the present invention, where the picture updating system includes a terminal 100 and a server 200, and a communication connection is established between the terminal 100 and the server 200 in a wired or wireless manner, so that data can be uploaded or downloaded between the terminal 100 and the server 200, in an embodiment of the present invention, the server 200 may push a screen-locked magazine picture to the terminal 100, and the terminal 100 may send a request for obtaining the screen-locked magazine picture to the server. The terminal 100 is an intelligent terminal such as a mobile phone and a tablet computer, the terminal 100 supports playing of lock screen pictures in a lock screen interface, the terminal 100 can display different pictures in real time in the lock screen display interface according to sliding operation of a user, and the pictures can be preset local pictures or various types of pictures, advertisement pictures and the like pushed by a server. Referring to fig. 2-a and fig. 2-b, fig. 2-a shows a first playing schematic diagram of a terminal lock screen picture provided by an embodiment of the present invention, and fig. 2-b shows a second playing schematic diagram of the terminal lock screen picture provided by the embodiment of the present invention. The terminal 100 playing server 200 is a server capable of providing a lock screen picture for the terminal 100, the server 200 may provide lock screen picture data to be pushed to the terminal 100, and the server 200 may also push lock screen pictures with different resolutions and compression comparisons for different terminals according to the network state of the terminal.
The image updating method provided by the embodiment of the invention is realized based on the network architecture diagram, and the image updating method provided by the embodiment of the invention is realized based on the scene that the terminal 100 supports the playing of the screen locking image and receives the screen locking image pushed by the server 200.
Referring to fig. 3, fig. 3 is a flowchart illustrating a first embodiment of a method for pushing and displaying a picture according to an embodiment of the present invention. As shown in fig. 3, the method for pushing and displaying pictures may include the following steps:
s301, a server receives a screen locking picture downloading request sent by a terminal, wherein the screen locking picture downloading request is used for the terminal to request the server to download a first screen locking picture.
The screen locking picture refers to a picture of a screen locking magazine pushed by a server and displayed on a screen locking interface by a terminal.
In the embodiment of the invention, after the server pushes the screen locking magazine, the terminal firstly acquires a screen locking picture list of the screen locking magazine, and then sends a screen locking picture downloading request to the server to request to download the first screen locking picture on the screen locking picture list when the terminal browses the screen locking picture.
S302, obtaining the current network state of the terminal.
The current network state of the terminal refers to a state of the current network environment of the terminal.
In the embodiment of the present invention, the network state of the terminal includes parameters such as a network type and a network rate.
S301, according to the current network state of the terminal, returning a second screen locking picture with a resolution and a compression ratio corresponding to the current network state to respond to the screen locking picture downloading request, wherein the second screen locking picture is the screen locking picture which has the same content as the first screen locking picture but has a different resolution and/or compression ratio.
The resolution is a parameter for indicating how many pixels are in each inch of an image, and it can be understood that the higher the resolution is, the greater the definition of the image display will be, but the larger the size of the image at the same time will be, so that when the server returns the image to the terminal, the size of the download when the terminal receives the image will be larger, whereas, the lower the resolution is, the smaller the definition of the image display will be, but the smaller the size of the image at the same time will be, so that when the server returns the image to the terminal, the size of the download when the terminal receives the image will be smaller.
The compression ratio is a ratio value when the server compresses the picture, and the ratio value is a numerical value smaller than 1, so that the smaller the compression ratio of the image is, the smaller the size of the image is, so that when the server returns the picture to the terminal, the size of the download of the terminal when receiving the picture is larger, and conversely, the larger the size of the image is, so that when the server returns the picture to the terminal, the size of the download of the terminal when receiving the picture is smaller.
In the embodiment of the invention, because the first screen locking picture and the second screen locking picture are screen locking pictures with different resolutions and compression ratios generated after processing the same screen locking picture when the server uploads the pictures, the contents of the images represented by the first screen locking picture and the second screen locking picture are the same, and the images are represented with different definitions only if displayed on the terminal side.
It can be seen that, in the scheme of this embodiment, a server receives a screen locking picture downloading request sent by a terminal, where the screen locking picture downloading request is used for the terminal to request the server to download a first screen locking picture; acquiring the current network state of the terminal; and returning a second screen locking picture with the resolution and the compression ratio corresponding to the current network state according to the current network state of the terminal to respond to the screen locking picture downloading request, wherein the second screen locking picture is the screen locking picture which has the same content as the first screen locking picture but has different resolution and/or compression ratio. Different screen locking pictures with different resolutions and compression comparisons are set according to the current network state of the terminal, so that different terminals can download and display the screen locking pictures, the requirements of different users on the screen locking pictures can be met, and the user experience is improved.
Furthermore, as the server configures the terminal with the screen locking pictures with different resolutions and compression ratios according to the network state of the terminal, the server can actively perform strict strategy control on the screen locking pictures downloaded by the terminal, thereby preventing the picture information from being lost greatly and ensuring that the distortion degree of the responded pictures is within the allowable range.
Optionally, in some possible embodiments of the present invention, before the server receives a lock screen picture download request sent by a terminal, the method further includes:
performing resolution processing on the screen locking picture to obtain M screen locking pictures with different resolutions of the screen locking picture;
and compressing each of the M screen locking pictures at N compression ratios to obtain M x N screen locking pictures.
Wherein M is a positive integer, and N is a positive integer.
For example, in an example of the present invention, after the server receives a screen locking picture to be published and uploads the screen locking picture to the server, the server performs processing of different resolutions and different compression comparisons on the screen locking picture, so as to generate screen locking pictures with different resolutions and different compression ratios, and then the server stores the screen locking picture in the server.
Furthermore, the server corresponds different screen locking pictures to different network states of the terminal, so that the server can send the screen locking picture corresponding to the network state to the terminal according to the corresponding relation after detecting the screen locking state of the terminal.
It can be understood that the locked screen pictures uploaded to the server are processed in different resolutions and different compression ratios, so that the locked screen pictures with different resolutions and compression ratios can be generated, and the content of the locked screen pictures is the same as the original uploaded pictures, but the content is different in size, so that the definition is different.
Referring to fig. 4, fig. 4 is a flowchart illustrating a second embodiment of a method for pushing and displaying a picture according to an embodiment of the present invention. As shown in fig. 4, the method for pushing and displaying pictures may include the following steps:
s401, the terminal sends a first screen locking picture downloading request to the server, wherein the screen locking picture downloading request is used for the terminal to request the server to download the first screen locking picture.
S402, receiving a second screen locking picture which is returned by the server in response to the first screen locking picture downloading request and has a resolution and a compression ratio corresponding to the current network state of the terminal, wherein the second screen locking picture is the screen locking picture which has the same content as the first screen locking picture but has a different resolution and/or compression ratio.
In the embodiment of the invention, the server can return the lock screen pictures with different resolutions and compression ratios according to the network state of the terminal, so when the terminal requests the server for the first lock screen picture, the terminal receives the second lock screen picture with the same content returned by the server but different resolution and compression ratios.
And S403, displaying the second screen locking picture on a display screen of the terminal.
It can be seen that, in the scheme of this embodiment, a terminal sends a first lock screen picture downloading request to a server, where the lock screen picture downloading request is used for the terminal to request the server to download a first lock screen picture; receiving a second screen locking picture which is returned by the server in response to the first screen locking picture downloading request and has a resolution and a compression ratio corresponding to the current network state of the terminal, wherein the second screen locking picture is a screen locking picture which has the same content as the first screen locking picture but has a different resolution and/or compression ratio; and displaying the second screen locking picture on a display screen of the terminal. By receiving different screen locking pictures returned by the server according to the network state of the terminal, the terminal can receive and display clear screen locking pictures when the network state is good, and can receive relatively unclear screen locking pictures when the network state is not good, so that the receiving speed is ensured, and the screen locking pictures are not flickered when being displayed.
Furthermore, as the server configures the terminal with the screen locking pictures with different resolutions and compression ratios according to the network state of the terminal, the server can actively perform strict strategy control on the screen locking pictures downloaded by the terminal, thereby preventing the picture information from being lost greatly and ensuring that the distortion degree of the responded pictures is within the allowable range.
Optionally, in some possible embodiments of the present invention, the displaying the second lock screen picture on a display screen of the terminal includes:
in the downloading process of the second screen locking picture, if the terminal receives a preset operation instruction of a user, compressing the second screen locking picture according to a preset compression ratio to obtain a third screen locking picture;
and displaying the third screen locking picture on the display screen of the terminal.
The third screen locking picture has the same content as the second screen locking picture and different compression ratios, so that the third screen locking picture has different picture sizes.
Optionally, the preset operation instruction of the user is some quick operation instructions of the user, such as quick sliding, frequent switching, and a large number of loading operation instructions, so that when the terminal receives the operation instruction, due to a high requirement on the display speed, the picture needs to be loaded faster, and at this time, under the same network environment, the size of the downloaded picture can be selected to be reduced first, that is, the lock screen picture is compressed, so that the requested lock screen picture can be displayed on the terminal in time.
It can be understood that when the terminal loads the screen locking picture, the screen locking picture is further compressed, so that when the terminal receives quick operation of some users, the terminal can be ensured to display the screen locking picture in time.
Optionally, in some possible embodiments of the present invention, after the third lock screen picture is displayed on the display screen of the terminal, the method further includes:
and after the second screen locking picture is downloaded, displaying the second screen locking picture on the display screen of the terminal to replace the third screen locking picture.
It can be understood that, because the second lock screen picture is the lock screen picture obtained after the terminal receives some quick operation instructions so as to compress the picture in order to make the loaded lock screen picture be displayed rapidly in the process, the lock screen picture loses the image definition due to the compression, so after the second lock screen picture is downloaded, the loaded second lock screen picture can replace the original third lock screen picture, thereby the terminal can display the picture in time when receiving the quick operation instructions and can ensure the quality of the displayed lock screen picture.
Optionally, in some possible embodiments of the invention, the method further comprises:
if the current network state of the terminal changes, the terminal sends a second screen locking picture downloading request to the server, the second screen locking picture downloading request is used for the terminal to request the server to download a fourth screen locking picture, the fourth screen locking picture is a screen locking picture with resolution and compression ratio corresponding to the current network state of the terminal, and the fourth screen locking picture is a screen locking picture which has the same content as the first screen locking picture but has different resolution and/or compression ratio.
For example, after the terminal is converted from the outdoor mobile network environment to the wireless wifi network environment, because the terminal is in the outdoor mobile network environment, the network quality is not good, and in order to save the downloading cost, the server configures a screen locking picture with low resolution and high compression ratio for the terminal in the network state, and after the terminal is converted into the indoor wireless wifi, because the network rate is faster and the wireless wifi generally provides unlimited flow downloading, the terminal re-triggers the terminal to request a new fourth screen locking picture from the server again under the change of the network environment.
It can be understood that when the network state of the terminal changes, the screen locking picture is requested to be downloaded again, so that after the terminal is switched from a poor network environment to a good network environment, the screen locking picture which accords with the network state and has a clearer display effect can be requested again, and the user experience is improved.
In order to facilitate a better understanding and implementation of the above-described schemes of the embodiments of the present invention, some specific application scenarios are exemplified below.
Referring to fig. 5, fig. 4 is a flowchart illustrating a picture updating method according to a third embodiment of the present invention. In the method shown in fig. 5, the same or similar contents as those in the method shown in fig. 3 or fig. 4 may refer to the detailed description in fig. 3 or fig. 4, and are not repeated here. As shown in fig. 5, the method for pushing and displaying pictures may include the following steps:
s501, the terminal sends a first lock screen picture downloading request to the server. Wherein,
and the screen locking picture downloading request is used for the terminal to request the server to download a first screen locking picture.
In the embodiment of the invention, the server receives the first lock screen picture downloading request sent by the terminal.
The screen locking picture refers to a picture of a screen locking magazine pushed by a server and displayed on a screen locking interface by a terminal.
S502, the server acquires the current network state of the terminal.
The current network state of the terminal refers to a state of the current network environment of the terminal.
In the embodiment of the present invention, the network state of the terminal includes parameters such as a network type and a network rate.
S503, the server returns a second screen locking picture with resolution and compression ratio corresponding to the current network state according to the current network state of the terminal so as to respond to the screen locking picture downloading request.
And the second lock screen picture has the same content as the first lock screen picture but has different resolution and/or compression ratio.
In the embodiment of the present invention, the terminal receives a second lock screen picture with a resolution and a compression ratio corresponding to the current network state of the terminal, which is returned by the server in response to the first lock screen picture downloading request, where the second lock screen picture is a lock screen picture with the same content as the first lock screen picture but with a different resolution and/or compression ratio.
S504, in the downloading process of the second screen locking picture, if the terminal receives a preset operation instruction of a user, the second screen locking picture is compressed according to a preset compression ratio to obtain a third screen locking picture.
The third screen locking picture has the same content as the second screen locking picture and different compression ratios, so that the third screen locking picture has different picture sizes.
Optionally, the preset operation instruction of the user is some quick operation instructions of the user, such as quick sliding, frequent switching, and a large number of loading operation instructions, so that when the terminal receives the operation instruction, due to a high requirement on the display speed, the picture needs to be loaded faster, and at this time, under the same network environment, the size of the downloaded picture can be selected to be reduced first, that is, the lock screen picture is compressed, so that the requested lock screen picture can be displayed on the terminal in time.
And S505, displaying the third screen locking picture on the display screen of the terminal.
S506, after the second screen locking picture is downloaded, displaying the second screen locking picture on the display screen of the terminal to replace the third screen locking picture.
It can be understood that, because the second lock screen picture is the lock screen picture obtained after the terminal receives some quick operation instructions so as to compress the picture in order to make the loaded lock screen picture be displayed rapidly in the process, the lock screen picture loses the image definition due to the compression, so after the second lock screen picture is downloaded, the loaded second lock screen picture can replace the original third lock screen picture, thereby the terminal can display the picture in time when receiving the quick operation instructions and can ensure the quality of the displayed lock screen picture.
It can be seen that, in the scheme of this embodiment, a terminal sends a first lock screen picture downloading request to a server, where the lock screen picture downloading request is used for the terminal to request the server to download a first lock screen picture; receiving a second screen locking picture which is returned by the server in response to the first screen locking picture downloading request and has a resolution and a compression ratio corresponding to the current network state of the terminal, wherein the second screen locking picture is a screen locking picture which has the same content as the first screen locking picture but has a different resolution and/or compression ratio; and displaying the second screen locking picture on a display screen of the terminal. By receiving different screen locking pictures returned by the server according to the network state of the terminal, the terminal can receive and display clear screen locking pictures when the network state is good, and can receive relatively unclear screen locking pictures when the network state is not good, so that the receiving speed is ensured, and the screen locking pictures are not flickered when being displayed.
Furthermore, as the server configures the terminal with the screen locking pictures with different resolutions and compression ratios according to the network state of the terminal, the server can actively perform strict strategy control on the screen locking pictures downloaded by the terminal, thereby preventing the picture information from being lost greatly and ensuring that the distortion degree of the responded pictures is within the allowable range.
Referring to fig. 6, fig. 6 is a schematic flowchart of a fourth embodiment of a picture updating method according to an embodiment of the present invention. In the method shown in fig. 6, the same or similar contents as those in the method shown in fig. 3 or fig. 4 may refer to the detailed description in fig. 3 or fig. 4, and are not repeated here. As shown in fig. 6, the method for pushing and displaying pictures may include the following steps:
s601, the terminal sends a first screen locking picture downloading request to the server, and the screen locking picture downloading request is used for the terminal to request the server to download the first screen locking picture.
In the embodiment of the invention, the server receives the first lock screen picture downloading request sent by the terminal.
The screen locking picture refers to a picture of a screen locking magazine pushed by a server and displayed on a screen locking interface by a terminal.
S602, the server acquires the current network state of the terminal.
The current network state of the terminal refers to a state of the current network environment of the terminal.
In the embodiment of the present invention, the network state of the terminal includes parameters such as a network type and a network rate.
S603, the server returns a second screen locking picture with resolution and compression ratio corresponding to the current network state according to the current network state of the terminal so as to respond to the screen locking picture downloading request.
And the second lock screen picture has the same content as the first lock screen picture but has different resolution and/or compression ratio.
In the embodiment of the present invention, the terminal receives a second lock screen picture with a resolution and a compression ratio corresponding to the current network state of the terminal, which is returned by the server in response to the first lock screen picture downloading request, where the second lock screen picture is a lock screen picture with the same content as the first lock screen picture but with a different resolution and/or compression ratio.
And S604, displaying the second screen locking picture on a display screen of the terminal.
S605, if the current network state of the terminal changes, the terminal sends a second screen locking picture downloading request to the server, and the second screen locking picture downloading request is used for the terminal to request the server to download a fourth screen locking picture.
The fourth screen locking picture is a screen locking picture with resolution and compression ratio corresponding to the current network state of the terminal, and the fourth screen locking picture is a screen locking picture which has the same content as the first screen locking picture but has different resolution and/or compression ratio.
And S606, the terminal receives a fourth screen locking picture returned by the server in response to the second screen locking picture downloading request.
And S607, displaying the fourth screen locking picture on the terminal.
It can be seen that, in the scheme of this embodiment, a terminal sends a first lock screen picture downloading request to a server, where the lock screen picture downloading request is used for the terminal to request the server to download a first lock screen picture; receiving a second screen locking picture which is returned by the server in response to the first screen locking picture downloading request and has a resolution and a compression ratio corresponding to the current network state of the terminal, wherein the second screen locking picture is a screen locking picture which has the same content as the first screen locking picture but has a different resolution and/or compression ratio; and displaying the second screen locking picture on a display screen of the terminal. By receiving different screen locking pictures returned by the server according to the network state of the terminal, the terminal can receive and display clear screen locking pictures when the network state is good, and can receive relatively unclear screen locking pictures when the network state is not good, so that the receiving speed is ensured, and the screen locking pictures are not flickered when being displayed.
Furthermore, as the server configures the terminal with the screen locking pictures with different resolutions and compression ratios according to the network state of the terminal, the server can actively perform strict strategy control on the screen locking pictures downloaded by the terminal, thereby preventing the picture information from being lost greatly and ensuring that the distortion degree of the responded pictures is within the allowable range.
An embodiment of the present invention further provides a server, where the server includes:
the terminal comprises a receiving module, a display module and a processing module, wherein the receiving module is used for receiving a screen locking picture downloading request sent by the terminal, and the screen locking picture downloading request is used for the terminal to request the server to download a first screen locking picture;
the acquisition module is used for acquiring the current network state of the terminal;
and the response module is used for returning a second screen locking picture with the resolution and the compression ratio corresponding to the current network state according to the current network state of the terminal so as to respond to the screen locking picture downloading request, wherein the second screen locking picture is the screen locking picture which has the same content as the first screen locking picture but has different resolution and/or compression ratio.
Specifically, please refer to fig. 7, where fig. 7 is a schematic structural diagram of a server according to a first embodiment of the present invention, which is used to implement the image pushing and displaying method disclosed in the embodiment of the present invention. As shown in fig. 5, the server 700 may include:
a detection module 710, a transmission module 720, and a reception module 730.
The receiving module 710 is configured to receive a screen locking picture downloading request sent by a terminal, where the screen locking picture downloading request is used for the terminal to request the server to download a first screen locking picture.
The screen locking picture refers to a picture of a screen locking magazine pushed by a server and displayed on a screen locking interface by a terminal.
In the embodiment of the invention, after the server pushes the screen locking magazine, the terminal firstly acquires a screen locking picture list of the screen locking magazine, and then sends a screen locking picture downloading request to the server to request to download the first screen locking picture on the screen locking picture list when the terminal browses the screen locking picture.
An obtaining module 720, configured to obtain a current network state of the terminal.
The current network state of the terminal refers to a state of the current network environment of the terminal.
In the embodiment of the present invention, the network state of the terminal includes parameters such as a network type and a network rate.
A response module 730, configured to return a second lock screen picture with a resolution and a compression ratio corresponding to the current network state according to the current network state of the terminal to respond to the lock screen picture downloading request, where the second lock screen picture is a lock screen picture with the same content as the first lock screen picture but with a different resolution and/or compression ratio.
The resolution is a parameter for indicating how many pixels are in each inch of an image, and it can be understood that the higher the resolution is, the greater the definition of the image display will be, but the larger the size of the image at the same time will be, so that when the server returns the image to the terminal, the size of the download when the terminal receives the image will be larger, whereas, the lower the resolution is, the smaller the definition of the image display will be, but the smaller the size of the image at the same time will be, so that when the server returns the image to the terminal, the size of the download when the terminal receives the image will be smaller.
The compression ratio is a ratio value when the server compresses the picture, and the ratio value is a numerical value smaller than 1, so that the smaller the compression ratio of the image is, the smaller the size of the image is, so that when the server returns the picture to the terminal, the size of the download of the terminal when receiving the picture is larger, and conversely, the larger the size of the image is, so that when the server returns the picture to the terminal, the size of the download of the terminal when receiving the picture is smaller.
In the embodiment of the invention, because the first screen locking picture and the second screen locking picture are screen locking pictures with different resolutions and compression ratios generated after processing the same screen locking picture when the server uploads the pictures, the contents of the images represented by the first screen locking picture and the second screen locking picture are the same, and the images are represented with different definitions only if displayed on the terminal side.
It can be understood that the functions of the functional modules of the server 700 in this embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the relevant description of the foregoing method embodiment, which is not described herein again.
It can be seen that, in the scheme of this embodiment, the server 700 receives a screen-locked picture downloading request sent by a terminal, where the screen-locked picture downloading request is used for the terminal to request the server 700 to download a first screen-locked picture; acquiring the current network state of the terminal; and returning a second screen locking picture with the resolution and the compression ratio corresponding to the current network state according to the current network state of the terminal to respond to the screen locking picture downloading request, wherein the second screen locking picture is the screen locking picture which has the same content as the first screen locking picture but has different resolution and/or compression ratio. Different screen locking pictures with different resolutions and compression comparisons are set according to the current network state of the terminal, so that different terminals can download and display the screen locking pictures, the requirements of different users on the screen locking pictures can be met, and the user experience is improved.
Furthermore, as the server configures the terminal with the screen locking pictures with different resolutions and compression ratios according to the network state of the terminal, the server can actively perform strict strategy control on the screen locking pictures downloaded by the terminal, thereby preventing the picture information from being lost greatly and ensuring that the distortion degree of the responded pictures is within the allowable range.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a communication terminal according to a second embodiment of the present invention, for implementing the picture updating method disclosed in the embodiment of the present invention. The communication terminal shown in fig. 8 is optimized from the communication terminal shown in fig. 7. The communication terminal shown in fig. 8 may include, in addition to the modules of the communication terminal shown in fig. 7:
a processing module 840 to:
performing resolution processing on the screen locking picture to obtain M screen locking pictures with different resolutions of the screen locking picture, wherein M is a positive integer;
and compressing each of the M screen locking pictures at N compression ratios to obtain M x N screen locking pictures, wherein N is a positive integer.
Wherein M is a positive integer, and N is a positive integer.
For example, in an example of the present invention, after the server receives a screen locking picture to be published and uploads the screen locking picture to the server, the server performs processing of different resolutions and different compression comparisons on the screen locking picture, so as to generate screen locking pictures with different resolutions and different compression ratios, and then the server stores the screen locking picture in the server.
Furthermore, the server corresponds different screen locking pictures to different network states of the terminal, so that the server can send the screen locking picture corresponding to the network state to the terminal according to the corresponding relation after detecting the screen locking state of the terminal.
It can be understood that the locked screen pictures uploaded to the server are processed in different resolutions and different compression ratios, so that the locked screen pictures with different resolutions and compression ratios can be generated, and the content of the locked screen pictures is the same as the original uploaded pictures, but the content is different in size, so that the definition is different.
It can be seen that, in the scheme of this embodiment, a server 800 receives a screen locking picture downloading request sent by a terminal, where the screen locking picture downloading request is used for the terminal to request the server 800 to download a first screen locking picture; acquiring the current network state of the terminal; and returning a second screen locking picture with the resolution and the compression ratio corresponding to the current network state according to the current network state of the terminal to respond to the screen locking picture downloading request, wherein the second screen locking picture is the screen locking picture which has the same content as the first screen locking picture but has different resolution and/or compression ratio. Different screen locking pictures with different resolutions and compression comparisons are set according to the current network state of the terminal, so that different terminals can download and display the screen locking pictures, the requirements of different users on the screen locking pictures can be met, and the user experience is improved.
Furthermore, as the server configures the terminal with the screen locking pictures with different resolutions and compression ratios according to the network state of the terminal, the server can actively perform strict strategy control on the screen locking pictures downloaded by the terminal, thereby preventing the picture information from being lost greatly and ensuring that the distortion degree of the responded pictures is within the allowable range.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a third embodiment of a communication terminal according to an embodiment of the present invention. As shown in fig. 9, the communication terminal 900 may include: at least one input device 701; at least one output device 902; at least one processor 903, e.g., a CPU; and a memory 904, the input device 901, the output device 902, the processor 903, and the memory 904 being connected by a bus 905.
The memory 904 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). The memory 904 is used for storing a set of program codes, and the input device 901, the output device 902 and the processor 903 are used for calling the program codes stored in the memory 904 and executing the following operations:
the processor 903 is configured to receive, by a server, a screen-locking picture downloading request sent by a terminal, where the screen-locking picture downloading request is used for the terminal to request the server to download a first screen-locking picture;
the processor 903 is further configured to obtain a current network state of the terminal;
the processor 903 is further configured to return a second lock screen picture with a resolution and a compression ratio corresponding to the current network state according to the current network state of the terminal to respond to the lock screen picture downloading request, where the second lock screen picture is a lock screen picture with the same content as the first lock screen picture but with a different resolution and/or compression ratio.
Optionally, in another possible embodiment of the present invention, before the processor 903 receives a screen-locked picture downloading request sent by a terminal, the processor 902 is further configured to:
performing resolution processing on the screen locking picture to obtain M screen locking pictures with different resolutions of the screen locking picture;
and compressing each of the M screen locking pictures at N compression ratios to obtain M x N screen locking pictures.
It can be seen that, in the scheme of this embodiment, the server 900 receives a screen locking picture downloading request sent by a terminal, where the screen locking picture downloading request is used for the terminal to request the server 900 to download a first screen locking picture; acquiring the current network state of the terminal; and returning a second screen locking picture with the resolution and the compression ratio corresponding to the current network state according to the current network state of the terminal to respond to the screen locking picture downloading request, wherein the second screen locking picture is the screen locking picture which has the same content as the first screen locking picture but has different resolution and/or compression ratio. Different screen locking pictures with different resolutions and compression comparisons are set according to the current network state of the terminal, so that different terminals can download and display the screen locking pictures, the requirements of different users on the screen locking pictures can be met, and the user experience is improved.
Furthermore, as the server configures the terminal with the screen locking pictures with different resolutions and compression ratios according to the network state of the terminal, the server can actively perform strict strategy control on the screen locking pictures downloaded by the terminal, thereby preventing the picture information from being lost greatly and ensuring that the distortion degree of the responded pictures is within the allowable range.
An embodiment of the present invention further provides a communication terminal, where the communication terminal includes:
the terminal comprises a sending module, a receiving module and a processing module, wherein the sending module is used for sending a first lock screen picture downloading request to a server by the terminal, and the lock screen picture downloading request is used for requesting the server to download a first lock screen picture by the terminal;
a receiving module, configured to receive a second lock screen picture with a resolution and a compression ratio corresponding to a current network state of the terminal, where the second lock screen picture is returned by the server in response to the first lock screen picture downloading request, and the second lock screen picture is a lock screen picture with the same content as the first lock screen picture but with a different resolution and/or compression ratio;
and the display module is used for displaying the second screen locking picture on a display screen of the terminal.
Specifically, please refer to fig. 10, where fig. 10 is a schematic structural diagram of a communication terminal according to a first embodiment of the present invention, which is used to implement the image updating method disclosed in the embodiment of the present invention. As shown in fig. 10, the communication terminal 1000 may include:
a transmitting module 1010, a receiving module 1020, and a display module 1030.
The sending module 1010 is configured to send a first lock screen picture downloading request to a server by a terminal, where the lock screen picture downloading request is used for the terminal to request the server to download a first lock screen picture.
A receiving module 1020, configured to receive a second lock screen picture with a resolution and a compression ratio corresponding to the current network state of the terminal, where the second lock screen picture is returned by the server in response to the first lock screen picture downloading request, and the second lock screen picture is a lock screen picture with the same content as the first lock screen picture but with a different resolution and/or compression ratio.
In the embodiment of the invention, the server can return the lock screen pictures with different resolutions and compression ratios according to the network state of the terminal, so when the terminal requests the server for the first lock screen picture, the terminal receives the second lock screen picture with the same content returned by the server but different resolution and compression ratios.
And a display module 1030, configured to display the second lock screen picture on a display screen of the terminal.
It can be understood that the functions of the functional modules of the communication terminal 1000 in this embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the relevant description of the foregoing method embodiment, which is not described herein again.
It can be seen that, in the scheme of this embodiment, when the terminal is in the screen locking interface, after the terminal finishes downloading the screen locking picture data packet from the server 1000, it is detected whether the screen locking picture data packet in the server 1000 is updated; if the screen locking picture data packet in the server 1000 is detected to be updated, the terminal sends a screen locking picture data packet updating request to the server 1000; and the server returns a screen locking picture updating data packet to enable the terminal to update the screen locking picture data packet, wherein the screen locking picture updating data packet is a difference data packet between the screen locking picture data packet before updating and the screen locking picture data packet after updating. When the server updates the screen locking picture data packet, the screen locking picture updating data packet in the terminal is updated by generating the screen locking picture updating data packet, so that the downloading pressure of the terminal when the terminal updates the screen locking picture data packet is reduced, and the updating efficiency is improved.
Referring to fig. 11, fig. 11 is a schematic structural diagram of a communication terminal according to a second embodiment of the present invention, for implementing the picture updating method disclosed in the embodiment of the present invention. The communication terminal shown in fig. 11 is optimized from the communication terminal shown in fig. 10. The communication terminal 1100 shown in fig. 11 includes the following extensions in addition to the modules of the communication terminal shown in fig. 10:
optionally, in other possible embodiments of the present invention, the display module 1130 further includes:
a compression module 1131, configured to, in a downloading process of the second lock screen picture, compress the second lock screen picture according to a preset compression ratio to obtain a third lock screen picture if the terminal receives a preset operation instruction of a user;
the display module 1130 is further configured to display the third lock screen picture on the display screen of the terminal.
The third screen locking picture has the same content as the second screen locking picture and different compression ratios, so that the third screen locking picture has different picture sizes.
Optionally, the preset operation instruction of the user is some quick operation instructions of the user, such as quick sliding, frequent switching, and a large number of loading operation instructions, so that when the terminal receives the operation instruction, due to a high requirement on the display speed, the picture needs to be loaded faster, and at this time, under the same network environment, the size of the downloaded picture can be selected to be reduced first, that is, the lock screen picture is compressed, so that the requested lock screen picture can be displayed on the terminal in time.
It can be understood that when the terminal loads the screen locking picture, the screen locking picture is further compressed, so that when the terminal receives quick operation of some users, the terminal can be ensured to display the screen locking picture in time.
Optionally, in some possible embodiments of the present invention, the display module 1130 is further configured to:
and after the second screen locking picture is downloaded, displaying the second screen locking picture on the display screen of the terminal to replace the third screen locking picture.
It can be understood that, because the second lock screen picture is the lock screen picture obtained after the terminal receives some quick operation instructions so as to compress the picture in order to make the loaded lock screen picture be displayed rapidly in the process, the lock screen picture loses the image definition due to the compression, so after the second lock screen picture is downloaded, the loaded second lock screen picture can replace the original third lock screen picture, thereby the terminal can display the picture in time when receiving the quick operation instructions and can ensure the quality of the displayed lock screen picture.
Optionally, in some possible embodiments of the present invention, the sending module 1010 is further configured to:
if the current network state of the terminal changes, the terminal sends a second screen locking picture downloading request to the server, the second screen locking picture downloading request is used for the terminal to request the server to download a fourth screen locking picture, the fourth screen locking picture is a screen locking picture with resolution and compression ratio corresponding to the current network state of the terminal, and the fourth screen locking picture is a screen locking picture which has the same content as the first screen locking picture but has different resolution and/or compression ratio.
For example, after the terminal is converted from the outdoor mobile network environment to the wireless wifi network environment, because the terminal is in the outdoor mobile network environment, the network quality is not good, and in order to save the downloading cost, the server configures a screen locking picture with low resolution and high compression ratio for the terminal in the network state, and after the terminal is converted into the indoor wireless wifi, because the network rate is faster and the wireless wifi generally provides unlimited flow downloading, the terminal re-triggers the terminal to request a new fourth screen locking picture from the server again under the change of the network environment.
It can be understood that when the network state of the terminal changes, the screen locking picture is requested to be downloaded again, so that after the terminal is switched from a poor network environment to a good network environment, the screen locking picture which accords with the network state and has a clearer display effect can be requested again, and the user experience is improved.
It can be understood that the functions of the functional modules of the communication terminal 1100 in this embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the related description of the foregoing method embodiment, which is not described herein again.
It can be seen that, in the scheme of this embodiment, when the terminal is in the screen locking interface, after the terminal finishes downloading the screen locking picture data packet from the server 1100, it is detected whether the screen locking picture data packet in the server 1100 is updated; if the screen locking picture data packet in the server 1100 is detected to be updated, the terminal sends a screen locking picture data packet updating request to the server 1100; and the server returns a screen locking picture updating data packet to enable the terminal to update the screen locking picture data packet, wherein the screen locking picture updating data packet is a difference data packet between the screen locking picture data packet before updating and the screen locking picture data packet after updating. When the server updates the screen locking picture data packet, the screen locking picture updating data packet in the terminal is updated by generating the screen locking picture updating data packet, so that the downloading pressure of the terminal when the terminal updates the screen locking picture data packet is reduced, and the updating efficiency is improved.
Referring to fig. 12, fig. 12 is a schematic structural diagram of a third embodiment of a server according to an embodiment of the present invention. As shown in fig. 12, the server 1200 may include: at least one input device 901; at least one output device 1202; at least one processor 1203, e.g., CPU; and a memory 1204, the input device 1201, the output device 1202, the processor 1203, and the memory 1204 being connected by a bus 1205.
The memory 1204 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1204 is used for storing a set of program codes, and the input device 1201, the output device 1202 and the processor 1203 are used for calling the program codes stored in the memory 1204 to execute the following operations:
the processor 1203 is configured to send a first screen-locked picture downloading request to a server by a terminal, where the screen-locked picture downloading request is used for the terminal to request the server to download a first screen-locked picture;
the processor 1203 is further configured to receive a second lock screen picture, which is returned by the server in response to the first lock screen picture downloading request and has a resolution and a compression ratio corresponding to the current network state of the terminal, where the second lock screen picture is a lock screen picture that has the same content as the first lock screen picture but has a different resolution and/or compression ratio;
the processor 1203 is further configured to display the second lock screen picture on a display screen of the terminal.
Optionally, in another possible embodiment of the present invention, the displaying, by the processor 1203, the second lock screen picture on a display screen of a terminal includes:
in the downloading process of the second screen locking picture, if the terminal receives a preset operation instruction of a user, compressing the second screen locking picture according to a preset compression ratio to obtain a third screen locking picture;
and displaying the third screen locking picture on the display screen of the terminal.
Optionally, in another possible embodiment of the present invention, after the processor 1203 displays the third lock screen picture on the display screen of the terminal, the processor is further configured to:
and after the second screen locking picture is downloaded, displaying the second screen locking picture on the display screen of the terminal to replace the third screen locking picture.
Optionally, in other possible embodiments of the present invention, the processor 1203 is further configured to:
if the current network state of the terminal changes, the terminal sends a second screen locking picture downloading request to the server, the second screen locking picture downloading request is used for the terminal to request the server to download a fourth screen locking picture, the fourth screen locking picture is a screen locking picture with resolution and compression ratio corresponding to the current network state of the terminal, and the fourth screen locking picture is a screen locking picture which has the same content as the first screen locking picture but has different resolution and/or compression ratio.
It can be understood that the functions of the functional modules of the communication terminal 1200 in this embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the related description of the foregoing method embodiment, which is not described herein again.
It can be seen that, in the scheme of this embodiment, when the terminal is in the screen locking interface, after the terminal finishes downloading the screen locking picture data packet from the server 1200, it is detected whether the screen locking picture data packet in the server 1200 is updated; if the screen locking picture data packet in the server 1200 is detected to be updated, the terminal sends a screen locking picture data packet updating request to the server 1200; and the server returns a screen locking picture updating data packet to enable the terminal to update the screen locking picture data packet, wherein the screen locking picture updating data packet is a difference data packet between the screen locking picture data packet before updating and the screen locking picture data packet after updating. When the server updates the screen locking picture data packet, the screen locking picture updating data packet in the terminal is updated by generating the screen locking picture updating data packet, so that the downloading pressure of the terminal when the terminal updates the screen locking picture data packet is reduced, and the updating efficiency is improved.
The embodiment of the invention also provides a more specific application scenario, which is as follows: the above-mentioned terminal device is a mobile phone, and the following describes each component of the mobile phone specifically with reference to fig. 13:
RF circuit 1310 may be used for receiving and transmitting signals during a message transmission or call, and in particular, for processing received downlink information of a base station by processor 1380; in addition, the data for designing uplink is transmitted to the base station. In general, the RF circuit 1310 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuit 1310 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to global system for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 1320 may be used to store software programs and modules, and the processor 1380 executes various functional applications and data processing of the cellular phone by operating the software programs and modules stored in the memory 1320. The memory 1320 may mainly include a program storage area and a data storage area, where the program storage area may store an operating system, an application program (such as a lock screen image display method) required by at least one function, and the like; the storage data area can store data (lock screen pictures with different resolutions and compression ratios) created according to the use of the mobile phone, and the like. Further, the memory 1320 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 1330 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 1330 may include a touch panel 1331, other input devices 1332. Touch panel 1331, also referred to as a touch screen, can collect touch operations by a user (e.g., operations by a user on or near touch panel 1331 using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 1331 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 1380, where the touch controller can receive and execute commands sent by the processor 1380. In addition, the touch panel 1331 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 1330 may include other input devices 1332 in addition to the touch panel 1331. In particular, other input devices 1332 may include, but are not limited to, at least one of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 1340 may be used to display information input by a user or information provided to the user and various menus of the cellular phone. The Display unit 1340 may include a Display panel 1341, and optionally, the Display panel 1341 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, touch panel 1331 can overlay display panel 1341, and when touch panel 1331 detects a touch operation on or near touch panel 1331, processor 1380 can be configured to determine the type of touch event, and processor 1380 can then provide a corresponding visual output on display panel 1341 based on the type of touch event. Although in fig. 13, the touch panel 1331 and the display panel 1341 are two independent components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 1331 and the display panel 1341 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 1350, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 1341 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 1341 and/or the backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The audio circuit 1360, speaker 1361, microphone 1362 may provide an audio interface between the user and the handset. The audio circuit 1360 may transmit the electrical signal converted from the received audio data to the speaker 1361, and the electrical signal is converted into a sound signal by the speaker 1361 and output; on the other hand, the microphone 1362 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 1360, and then processes the audio data by the audio data output processor 1380, and then sends the audio data to, for example, another cellular phone via the RF circuit 1310, or outputs the audio data to the memory 1320 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 1370, and provides wireless broadband internet access for the user. Although fig. 13 shows the WiFi module 1370, it is understood that it does not belong to the essential constitution of the handset, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 1380 is a control center of the mobile phone, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 1320 and calling data stored in the memory 1320, thereby integrally monitoring the mobile phone. Optionally, processor 1380 may include one or more processing units; preferably, the processor 1380 may integrate an application processor, which handles primarily operating systems, user interfaces, application programs, etc., and a modem processor, which handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated within processor 1380.
The handset also includes a power supply 1390 (e.g., a battery) to supply power to the various components, which may preferably be logically coupled to the processor 1380 via a power management system to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In the foregoing embodiment, the method flow of each step may be implemented based on the structure of the terminal device shown in fig. 13.
An embodiment of the present invention further provides a computer storage medium, where the computer storage medium may store a program, and when the program is executed, the program includes some or all of the steps of any of the image pushing and displaying methods described in the foregoing method embodiments.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (12)

1. A picture pushing and displaying method is characterized by comprising the following steps:
the method comprises the steps that a server receives a screen locking picture downloading request sent by a terminal, wherein the screen locking picture downloading request is used for the terminal to request the server to download a first screen locking picture;
acquiring the current network state of the terminal;
and returning a second screen locking picture with the resolution and the compression ratio corresponding to the current network state according to the current network state to respond to the screen locking picture downloading request, wherein the second screen locking picture is the screen locking picture which has the same content as the first screen locking picture but has different resolution and/or compression ratio.
2. The method according to claim 1, wherein before the server receives the lock screen picture download request sent by the terminal, the method further comprises:
performing resolution processing on the screen locking picture to obtain M screen locking pictures with different resolutions of the screen locking picture;
and compressing each of the M screen locking pictures at N compression ratios to obtain M x N screen locking pictures.
3. A picture pushing and displaying method is characterized by comprising the following steps:
the method comprises the steps that a terminal sends a first screen locking picture downloading request to a server, wherein the screen locking picture downloading request is used for the terminal to request the server to download a first screen locking picture;
receiving a second screen locking picture which is returned by the server in response to the first screen locking picture downloading request and has a resolution and a compression ratio corresponding to the current network state of the terminal, wherein the second screen locking picture is a screen locking picture which has the same content as the first screen locking picture but has a different resolution and/or compression ratio;
and displaying the second screen locking picture on a display screen of the terminal.
4. The method according to claim 3, wherein the displaying the second lock screen picture on the display screen of the terminal comprises:
in the downloading process of the second screen locking picture, if the terminal receives a preset operation instruction of a user, compressing the second screen locking picture according to a preset compression ratio to obtain a third screen locking picture;
and displaying the third screen locking picture on the display screen of the terminal.
5. The method according to claim 4, wherein after the third lock screen picture is displayed on the display screen of the terminal, the method further comprises:
and after the second screen locking picture is downloaded, displaying the second screen locking picture on the display screen of the terminal to replace the third screen locking picture.
6. The method according to claim 4 or 5, characterized in that the method further comprises:
if the current network state of the terminal changes, the terminal sends a second screen locking picture downloading request to the server, the second screen locking picture downloading request is used for the terminal to request the server to download a fourth screen locking picture, the fourth screen locking picture is a screen locking picture with resolution and compression ratio corresponding to the current network state of the terminal, and the fourth screen locking picture is a screen locking picture which has the same content as the first screen locking picture but has different resolution and/or compression ratio.
7. A server, characterized in that the server comprises:
the terminal comprises a receiving module, a display module and a processing module, wherein the receiving module is used for receiving a screen locking picture downloading request sent by the terminal, and the screen locking picture downloading request is used for the terminal to request the server to download a first screen locking picture;
the acquisition module is used for acquiring the current network state of the terminal;
and the response module is used for returning a second screen locking picture with the resolution and the compression ratio corresponding to the current network state according to the current network state of the terminal so as to respond to the screen locking picture downloading request, wherein the second screen locking picture is the screen locking picture which has the same content as the first screen locking picture but has different resolution and/or compression ratio.
8. The server according to claim 7, wherein the server further comprises a processing module configured to:
performing resolution processing on the screen locking picture to obtain M screen locking pictures with different resolutions of the screen locking picture, wherein M is a positive integer;
and compressing each of the M screen locking pictures at N compression ratios to obtain M x N screen locking pictures, wherein N is a positive integer.
9. A communication terminal, characterized in that the communication terminal comprises:
the terminal comprises a sending module, a receiving module and a processing module, wherein the sending module is used for sending a first lock screen picture downloading request to a server by the terminal, and the lock screen picture downloading request is used for requesting the server to download a first lock screen picture by the terminal;
a receiving module, configured to receive a second lock screen picture with a resolution and a compression ratio corresponding to a current network state of the terminal, where the second lock screen picture is returned by the server in response to the first lock screen picture downloading request, and the second lock screen picture is a lock screen picture with the same content as the first lock screen picture but with a different resolution and/or compression ratio;
and the display module is used for displaying the second screen locking picture on a display screen of the terminal.
10. The communication terminal according to claim 9, wherein the display module further comprises:
the compression module is used for compressing the second screen locking picture according to a preset compression ratio to obtain a third screen locking picture if the terminal receives a preset operation instruction of a user in the downloading process of the second screen locking picture;
the display module is further configured to display the third screen locking picture on the display screen of the terminal.
11. The communication terminal of claim 10, wherein the display module is further configured to:
and after the second screen locking picture is downloaded, displaying the second screen locking picture on the display screen of the terminal to replace the third screen locking picture.
12. The communication terminal according to claim 10 or 11, wherein the sending module is further configured to:
if the current network state of the terminal changes, the terminal sends a second screen locking picture downloading request to the server, the second screen locking picture downloading request is used for the terminal to request the server to download a fourth screen locking picture, the fourth screen locking picture is a screen locking picture with resolution and compression ratio corresponding to the current network state of the terminal, and the fourth screen locking picture is a screen locking picture which has the same content as the first screen locking picture but has different resolution and/or compression ratio.
CN201610642843.0A 2016-08-08 2016-08-08 A kind of picture pushes and display packing, server and communication terminal Pending CN106254469A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610642843.0A CN106254469A (en) 2016-08-08 2016-08-08 A kind of picture pushes and display packing, server and communication terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610642843.0A CN106254469A (en) 2016-08-08 2016-08-08 A kind of picture pushes and display packing, server and communication terminal

Publications (1)

Publication Number Publication Date
CN106254469A true CN106254469A (en) 2016-12-21

Family

ID=58078297

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610642843.0A Pending CN106254469A (en) 2016-08-08 2016-08-08 A kind of picture pushes and display packing, server and communication terminal

Country Status (1)

Country Link
CN (1) CN106254469A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107517316A (en) * 2017-08-24 2017-12-26 广东欧珀移动通信有限公司 Image display method, image processing method and Related product
CN108347451A (en) * 2017-01-23 2018-07-31 北京京东尚科信息技术有限公司 Picture processing system, method and apparatus
CN110351312A (en) * 2018-04-02 2019-10-18 腾讯科技(深圳)有限公司 Picture sharing method, device, computer equipment and storage medium
CN111694972A (en) * 2019-03-11 2020-09-22 新疆丝路大道信息科技有限责任公司 Picture data management method and system for automobile leasing platform and electronic equipment
CN111970545A (en) * 2020-08-27 2020-11-20 成都新潮传媒集团有限公司 Method and device for downloading advertisement resources and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102905045A (en) * 2012-10-26 2013-01-30 北京奇虎科技有限公司 Method and server for providing picture data to computing terminal
CN102946418A (en) * 2012-10-26 2013-02-27 北京奇虎科技有限公司 Terminal equipment, picture providing system and picture transmission method
CN102946419A (en) * 2012-10-26 2013-02-27 北京奇虎科技有限公司 Picture server and picture data providing method
CN104636106A (en) * 2015-02-12 2015-05-20 小米科技有限责任公司 Picture displaying method and device and terminal device
US20150312183A1 (en) * 2014-04-23 2015-10-29 Cellco Partnership D/B/A Verizon Wireless Variable image acquisition and processing techniques based on image data type
CN105681336A (en) * 2012-10-26 2016-06-15 北京奇虎科技有限公司 Image providing system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102905045A (en) * 2012-10-26 2013-01-30 北京奇虎科技有限公司 Method and server for providing picture data to computing terminal
CN102946418A (en) * 2012-10-26 2013-02-27 北京奇虎科技有限公司 Terminal equipment, picture providing system and picture transmission method
CN102946419A (en) * 2012-10-26 2013-02-27 北京奇虎科技有限公司 Picture server and picture data providing method
CN105681336A (en) * 2012-10-26 2016-06-15 北京奇虎科技有限公司 Image providing system
US20150312183A1 (en) * 2014-04-23 2015-10-29 Cellco Partnership D/B/A Verizon Wireless Variable image acquisition and processing techniques based on image data type
CN104636106A (en) * 2015-02-12 2015-05-20 小米科技有限责任公司 Picture displaying method and device and terminal device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108347451A (en) * 2017-01-23 2018-07-31 北京京东尚科信息技术有限公司 Picture processing system, method and apparatus
CN107517316A (en) * 2017-08-24 2017-12-26 广东欧珀移动通信有限公司 Image display method, image processing method and Related product
CN110351312A (en) * 2018-04-02 2019-10-18 腾讯科技(深圳)有限公司 Picture sharing method, device, computer equipment and storage medium
CN110351312B (en) * 2018-04-02 2021-10-26 腾讯科技(深圳)有限公司 Picture sharing method and device, computer equipment and storage medium
US11483414B2 (en) 2018-04-02 2022-10-25 Tencent Technology (Shenzhen) Company Limited Picture sharing method, computer device, and storage medium
CN111694972A (en) * 2019-03-11 2020-09-22 新疆丝路大道信息科技有限责任公司 Picture data management method and system for automobile leasing platform and electronic equipment
CN111970545A (en) * 2020-08-27 2020-11-20 成都新潮传媒集团有限公司 Method and device for downloading advertisement resources and storage medium

Similar Documents

Publication Publication Date Title
US9697622B2 (en) Interface adjustment method, apparatus, and terminal
CN108460769B (en) image processing method and terminal equipment
CN106254469A (en) A kind of picture pushes and display packing, server and communication terminal
CN108834132B (en) Data transmission method and equipment and related medium product
CN104571979B (en) A kind of method and apparatus for realizing split view
CN105024984A (en) Permission setting method, apparatus and system
CN109327672B (en) Video call method and terminal
CN109697008B (en) Content sharing method, terminal and computer readable storage medium
CN105653220B (en) Screen data display method and device in remote control
EP3010262A1 (en) Method for realizing cellphone without card, cellphone and server
CN106293738B (en) Expression image updating method and device
CN107682540B (en) Picture processing method, terminal and computer readable storage medium
CN108122528A (en) Display control method and related product
CN103068016B (en) The method of mobile terminal and reduction power consumption thereof
CN112691363A (en) Cross-terminal switching method and related device for cloud games
CN108337533B (en) Video compression method and device
CN106445970B (en) Loading processing method and device for placeholder map
CN109495769B (en) Video communication method, terminal, smart television, server and storage medium
CN107018328A (en) A kind of image scan method method and image-scanning device
CN106484563B (en) Data migration method and terminal equipment
CN108877733B (en) Color temperature adjusting method and related device
CN106803863A (en) A kind of image sharing method and terminal
CN108121583B (en) Screen capturing method and related product
CN108038362B (en) Unread information display method and device and computer readable storage medium
CN111314900B (en) Wireless connection method, wireless connection device and mobile terminal

Legal Events

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

Application publication date: 20161221