CN111488536A - Picture display method, device and system - Google Patents

Picture display method, device and system Download PDF

Info

Publication number
CN111488536A
CN111488536A CN201910074478.1A CN201910074478A CN111488536A CN 111488536 A CN111488536 A CN 111488536A CN 201910074478 A CN201910074478 A CN 201910074478A CN 111488536 A CN111488536 A CN 111488536A
Authority
CN
China
Prior art keywords
sampling
data packet
target picture
sampling data
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.)
Granted
Application number
CN201910074478.1A
Other languages
Chinese (zh)
Other versions
CN111488536B (en
Inventor
王玉鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201910074478.1A priority Critical patent/CN111488536B/en
Publication of CN111488536A publication Critical patent/CN111488536A/en
Application granted granted Critical
Publication of CN111488536B publication Critical patent/CN111488536B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Abstract

The invention provides a picture display method, a device and a system, wherein the method comprises the following steps: after determining a target picture to be transmitted, the server samples the target picture according to a preset sampling rule and sends at least one obtained sampling data packet to the client in sequence; and after receiving at least one sampling data packet of the target picture sent by the server in sequence, the client gradually displays the target picture according to the received sequence and the sampling data packet. The technical scheme provided by the invention can improve the picture display speed, thereby improving the user experience.

Description

Picture display method, device and system
Technical Field
The present invention relates to the field of network technologies, and in particular, to a method, an apparatus, and a system for displaying pictures.
Background
With the development of network technology, the internet becomes an indispensable part of people's daily life, and people can obtain information that people want anytime and anywhere through the internet, which brings great convenience to people's life.
People often include picture information in addition to text information when using the internet to obtain information. At present, when a client displays a picture, a server generally transmits picture data of the whole picture to the client, and the client displays the picture after completely receiving all data of one picture transmitted by the server.
According to the picture display scheme, the picture display speed is low, a user needs to wait for a long time (especially under the condition of poor network) to see the picture, and the user experience is poor.
Disclosure of Invention
In view of this, the present invention provides a method, an apparatus and a system for displaying pictures, which are used to increase the speed of displaying pictures and further improve the user experience.
In order to achieve the above object, in a first aspect, an embodiment of the present invention provides a picture display method, including:
determining a target picture to be transmitted;
sampling the target picture according to a preset sampling rule, and sequentially sending at least one obtained sampling data packet to the client to instruct the client to gradually display the target picture according to the received sampling data packet, wherein the sampling rule is determined according to the total sampling times required by the predetermined target picture and the sampling sequence number when the target picture is sampled, and the total sampling times is more than 1.
In a second aspect, an embodiment of the present invention provides an image display method, including:
receiving at least one sampling data packet of a target picture sent by a server in sequence;
and gradually displaying the target picture according to the received sequence and the sampling data packet.
In a third aspect, an embodiment of the present invention provides an image display device, including:
the determining module is used for determining a target picture to be transmitted;
the processing module is used for sampling the target picture according to a preset sampling rule and sending the obtained at least one sampling data packet to the client in sequence to instruct the client to gradually display the target picture according to the received sampling data packet, wherein the sampling rule is determined according to the total sampling times required by the predetermined target picture and the sampling sequence number when the target picture is sampled, and the total sampling times is more than 1.
In a fourth aspect, an embodiment of the present invention provides an image display device, including:
the receiving module is used for receiving at least one sampling data packet of the target picture sent by the server in sequence;
and the display module is used for gradually displaying the target picture according to the received sequence and the sampling data packet.
In a fifth aspect, an embodiment of the present invention provides a server, including: a memory for storing a computer program and a processor; the processor is adapted to perform the method of the first aspect when the computer program is invoked.
In a sixth aspect, an embodiment of the present invention provides a client, including: a memory for storing a computer program and a processor; the processor is adapted to perform the method of the second aspect when the computer program is invoked.
In a seventh aspect, an embodiment of the present invention provides a picture display system, including: the server according to the fifth aspect and the client according to the sixth aspect.
In an eighth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program is implemented, when executed by a processor, to implement the method in the first aspect or the second aspect.
According to the picture display method, the device and the system, the server samples the target picture to be transmitted according to the preset sampling rule, the obtained at least one sampling data packet is sequentially sent to the client, and the client gradually displays the target picture according to the received sampling data packet when displaying the picture, so that the client can display the target picture while receiving the sampling data of the target picture and wrapping the edges, namely the client can display part of the target picture without completely receiving the picture data of the target picture, the picture display speed is effectively improved, and the user can see the picture without waiting for too long time, so that the user experience can be effectively improved; and the user can decide whether to continue watching or return to not watching the picture after seeing the picture outline, thereby saving server flow, user flow and user time.
Drawings
Fig. 1 is a schematic flow chart of a picture display method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a picture transmission method according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a display processing operation according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating a process of displaying a picture according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an image display device according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of another image display device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a server according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a client according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a picture display method, a device and a system aiming at the technical problems of low picture display speed and poor user experience of the current picture display scheme.
Embodiments of the present invention will be described below with reference to the accompanying drawings.
Fig. 1 is a schematic flow chart of a picture display method according to an embodiment of the present invention, and as shown in fig. 1, the method according to the embodiment may include the following steps:
s110, the server determines a target picture to be transmitted.
Specifically, when the user views the picture through the client, the client may send a picture transmission request for downloading the target picture to the server, and the server may determine the target picture to be transmitted after receiving the picture transmission request.
And S120, sampling the target picture according to a preset sampling rule, and sequentially sending at least one obtained sampling data packet to the client.
In order to increase the image display speed and enable the user to see the image as early as possible, in this embodiment, the server may transmit data of one image to the client in multiple times.
Specifically, the server may agree with the client about the number of times of image transmission in advance through a protocol, or may solidify the number of times of image transmission or a rule for determining the number of times of image transmission in advance in the server and the client. The number of picture transmission times is greater than 1, which may be a fixed value, that is, each picture adopts the same number of picture transmission times; it can also be determined according to certain determination rules, for example: the number of times of image transmission of the target image is determined according to the size of the target image, and may be selected according to needs in specific implementation, which is not particularly limited in this embodiment.
After the number of picture transmission times is determined, the total number of sampling times of the target picture can be determined according to the number of picture transmission times, then the target picture is sampled according to a preset sampling rule, and sampling data packets obtained through sampling are sequentially sent to the client. When the total sampling times are greater than the picture transmission times, the server can transmit one or more sampling data packets each time; when the total sampling number of times is equal to the number of times of picture transmission, the server may transmit one sampling data packet at a time, and a scheme in which the total sampling number of times is equal to the number of times of picture transmission is preferably adopted in this embodiment, so as to improve the processing efficiency.
In addition, in specific implementation, after all sampling data packets of the target picture are sampled, the sampling data packets may be sequentially transmitted one by one, or the sampling and the transmission may be performed simultaneously, so that the client may receive the sampling data packets as early as possible to display the target picture, and meanwhile, the server may not perform subsequent sampling when the client actively stops transmitting the picture, so as to save processing resources and network resources. For the way of sampling and transmitting, the method shown in fig. 2 may be used for specific implementation. Fig. 2 is a schematic flow chart of a picture transmission method according to an embodiment of the present invention, and as shown in fig. 2, the method may include the following steps:
s121, initializing stepIndex of the target picture to 0.
The total sampling number steplotel is equal to the picture transmission number, stepIndex represents a sampling number, namely a transmission number, which is a natural number greater than or equal to 0 and less than the total sampling number steplotel, and stepIndex is 0, namely the first sampling.
S122, determining whether the target picture is stepIndex or whether the target picture is determined to be actively stopped being received by the client, if yes, performing step S123, otherwise, performing step S124.
Specifically, in this embodiment, the server performs sampling and transmission on the target picture, that is, performs cyclic sampling operation on the target picture (including the following steps S124 and S125) until the sampling is finished, where the preset condition that needs to be satisfied when the sampling is finished is: the sampling frequency of the target picture reaches the total sampling frequency or the client is determined to actively stop receiving the target picture, wherein when the sampling frequency reaches the total sampling frequency, the target picture is sampled completely, and the sampling can be stopped at the moment; when the client actively stops receiving the target picture, the server does not need to continue sampling, and the sampling can also be stopped at the moment, for example: after seeing the picture displayed according to the sampling data packet transmitted for the first time, the user can decide to return to not see the picture, and at the moment, the server can stop sampling. In specific implementation, the server may determine that the client actively stops receiving the target picture when the network connection is disconnected (in a socket connection situation) or a picture transmission request of the client is not received (in an http connection situation, the server sends a sampling data packet according to the picture transmission request sent by the client, and transmits the sampling data packet once every time the picture transmission request is received).
And S123, finishing sampling the target picture.
Specifically, when the preset condition is satisfied, it indicates that sampling of the target picture is finished.
And S124, sampling the target picture according to the sampling rule corresponding to the sampling sequence number to obtain a sampling data packet corresponding to the sampling sequence number.
Specifically, the sampling rule may be determined according to a predetermined total sampling number required by the target picture and a sampling sequence number when the target picture is sampled, for example: the sampling rule may be: pixIndex/(stepIndex +1) < pixTotel/stepTotel, i.e. dividing the picture into several parts from top to bottom according to the total sampling times, each part corresponding to a sampling data packet, wherein pixTotel is the total number of pixel points of the target picture, pixIndex is the index position of the pixel points, which is a natural number, and pixIndex < pixTotel.
In order to enable the client to display the outline of the picture, so that the user can conveniently know the picture on the whole and obtain more picture information, the sampling rule may also be: the index position of the pixel point is equal to the sampling sequence number after the total sampling times are left, and the index position is expressed by a formula, namely pixIndex% steptop ═ stepIndex, namely the target picture is sampled by adopting an interval sampling mode. In specific implementation, all pixel points can be traversed, and the pixel points with index positions meeting the formula are extracted; the index position of the pixel point corresponding to each sampling sequence number can be determined according to the total number of the pixel points and the total sampling times, wherein the index position of the pixel point also meets the sampling rule, and then the pixel point corresponding to the index position is directly extracted to improve the sampling speed.
After the server performs sampling once, a sampling data packet can be packaged to be sent to the client. The sampling data packet may include: the method comprises the steps of sampling data of pixel points of a target picture, sampling serial numbers, total sampling times, picture identification, width mW and height mH of the target picture. mW mH is the total number pixTotel of the pixel points of the target picture.
In addition, other data may also be included in the sample packet, such as: the client side can check the sampling data packets according to the check data in the sampling data packets for each received sampling data packet after receiving the sampling data packets; when the check fails, a retransmission request message for requesting retransmission of the sampled data packet may be sent to the server. After receiving the retransmission request message sent by the client, the server can send a corresponding sampling data packet to the client according to the retransmission request message. In a specific implementation, the retransmission request message may carry a sampling sequence number and a picture identifier of the target picture, and the server may determine a sampling data packet to be retransmitted according to the sampling sequence number and the picture identifier.
And S125, sending the sampling data packet corresponding to the sampling sequence number to the client.
Specifically, after the server finishes sampling a sampling data packet, the sampling data packet can be sent to the client through a network (including but not limited to the internet and bluetooth).
S126, stepIndex + +, return to the step S122.
stepIndex performs a self-increment in preparation for the next sampling cycle.
S130, the client receives at least one sampling data packet of the target picture sent by the server in sequence, and displays the target picture step by step according to the sampling data packet according to the received sequence.
Specifically, after receiving a sampling data packet sent by the server, the client may analyze the sampling data packet to obtain sampling data in the sampling data packet, and then may gradually display the target picture according to the sampling data in the sampling data packets received successively.
In specific implementation, the client displays the target picture according to a sampling data packet every time the client receives the sampling data packet, namely the client side receives the sampling data and displays the target picture while covering the edge, and the receiving of the sampling data packet and the displaying of the target picture have no strict time sequence execution relationship and are executed circularly and alternately. For each sample data packet received in sequence, the following display processing operation may be performed to display the target picture. Fig. 3 is a schematic flowchart of a display processing operation according to an embodiment of the present invention, and as shown in fig. 3, the method may include the following steps:
s131, determining whether the sampling data packet of the target picture is received for the first time, if so, executing step S132, otherwise, executing step S133.
Specifically, after receiving a sampling data packet, the client may check whether there is sampling data related to a target picture corresponding to the sampling data packet in the memory, or after receiving the sampling data packet of a certain picture for the first time, the client may record a picture identifier of the picture at a preset position, and after receiving the sampling data packet, the client may check whether the picture identifier of the target picture is stored at the preset position, and if not, it indicates that the sampling data packet of the target picture is received for the first time, and if so, it indicates that the sampling data packet of the target picture is not received for the first time. Of course, the client may also determine whether the sample data packet of the target picture is received for the first time in other manners, and the specific implementation manner of this embodiment is not particularly limited.
And S132, displaying the target picture according to the sampling data packet.
Specifically, if a sampling data packet of the target picture is received for the first time, the target picture is directly displayed according to data in the sampling data packet.
During specific implementation, a target pixel point which has not received the sampling data can be determined according to the sampling data of the pixel points in the sampling data packet and the width and height of the target picture; then filling the pixel value of the target pixel point according to a preset filling strategy; and finally, displaying the target picture according to the pixel point sampling data in the sampling data packet and the pixel value of the target pixel point.
The filling strategy specifically may be to uniformly fill the target pixel points to white, that is, the pixel values of the target pixel points may be RGB (255, 255, 255); or filling the pixel value of the target pixel point according to a certain data calculation method, for example: the pixel value of the target pixel point can be calculated according to the pixel values of the surrounding pixel points of the target pixel point, and the specific filling strategy is not particularly limited in this embodiment.
After the filling is finished, the client can display the target picture in an automatic screen refreshing mode or an active refreshing mode.
And S133, refreshing the displayed target picture according to the sampling data packet.
Specifically, if the sampling data packet of the target picture is not received for the first time, the pixel point sampling data in the sampling data packet may be superimposed on the displayed target picture, that is, the pixel point sampling data is correspondingly filled in the memory on the target pixel point corresponding to the target picture, where the sampling data has not been received yet, and the target picture is displayed again.
In a specific implementation, the client may also define a count accumulator in a manner similar to the server-side definition stepIndex, to determine whether the loading of the picture is finished.
Fig. 4 is a schematic diagram of a picture display process according to an embodiment of the present invention, as shown in fig. 4, the number of picture transmission times of the target picture is 4, the client displays a blurred picture profile after receiving a sampling data packet of the target picture for the first time, and performs additional restoration on the displayed target picture every time the client receives a sampling data packet, until a clear and complete target picture is displayed. The progressive display mode from the fuzzy display to the gradual clear display can accelerate the picture display speed and enable a user to see the picture information as early as possible; moreover, when the user can see the picture outline, the user can decide whether to continue to watch the picture or return to not watch the picture, so that the server flow, the user flow and the user time can be saved.
It should be noted that there is no strict timing relationship between the steps S130 and S120, and the server transmits the primary sample packet, and the client receives the primary sample packet, and the two are executed cyclically and alternately.
According to the picture display method provided by the embodiment, the client can receive the sampling data of the target picture and display the target picture in a wrapping mode, namely the client can display part of the target picture without completely receiving the picture data of the target picture, so that the picture display speed is effectively improved, a user can see the picture without waiting for too long time, and the user experience can be effectively improved; and the user can decide whether to continue watching or return to not watching the picture after seeing the picture outline, thereby saving server flow, user flow and user time.
Based on the same inventive concept, as an implementation of the foregoing method, an embodiment of the present invention provides a picture display apparatus, where an embodiment of the apparatus corresponds to the foregoing method embodiment, and for convenience of reading, details in the foregoing method embodiment are not repeated in this apparatus embodiment one by one, but it should be clear that the apparatus in this embodiment can correspondingly implement all the contents in the foregoing method embodiment.
Fig. 5 is a schematic structural diagram of a picture display device according to an embodiment of the present invention, and as shown in fig. 5, a picture display device 110 according to the embodiment includes:
a determining module 111, configured to determine a target picture to be transmitted;
and the processing module 112 is configured to sample the target picture according to a preset sampling rule, and send the obtained at least one sampling data packet to the client in sequence to instruct the client to gradually display the target picture according to the received sampling data packet, where the sampling rule is determined according to a predetermined total sampling frequency required by the target picture and a sampling sequence number when the target picture is sampled, and the total sampling frequency is greater than 1.
Wherein, the sampling rule may be: and the value obtained by the index position of the pixel point after the total sampling times are left is equal to the sampling sequence number, wherein the sampling sequence number is a natural number which is more than or equal to 0 and less than the total sampling times.
The sampling data packet can include: sampling data of pixel points of the target picture, sampling serial numbers, total sampling times, picture identification and width and height of the target picture.
As an optional implementation manner of the embodiment of the present invention, the processing module 112 is specifically configured to:
executing a cyclic sampling operation until a preset condition is met, wherein the cyclic sampling operation comprises the following steps:
sampling the target picture according to a sampling rule corresponding to the sampling serial number to obtain a sampling data packet corresponding to the sampling serial number;
sending the sampling data packet corresponding to the sampling sequence number to the client;
the preset condition is that the number of times of sampling the target picture reaches the total sampling number or the client actively stops receiving the target picture.
As an optional implementation manner of the embodiment of the present invention, the sampling data packet includes check data, and the apparatus further includes: a receiving module 113, configured to receive a retransmission request message sent by a client, where the retransmission request message is sent by the client when a check fails after the client checks a sample data packet according to check data;
the processing module 112 is further configured to: and sending the corresponding sampling data packet to the client according to the retransmission request message.
The apparatus provided in this embodiment may perform the above method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 6 is a schematic structural diagram of another image display device according to an embodiment of the present invention, and as shown in fig. 5, an image display device 120 according to the embodiment includes:
a receiving module 121, configured to receive at least one sampling data packet of a target picture sent by a server in sequence;
and the display module 122 is configured to gradually display the target picture according to the received sequence and according to the sampling data packet.
The sampling data packet is obtained by the server according to a preset sampling rule, and the sampling rule can be as follows: the value obtained by adding the index position of the pixel point to the total sampling times required by the target picture is equal to the sampling sequence number, wherein the sampling sequence number is a natural number which is more than or equal to 0 and less than the total sampling times;
the sampling data packet can include: sampling data of pixel points of the target picture, sampling serial numbers, total sampling times, picture identification and width and height of the target picture.
As an optional implementation manner of the embodiment of the present invention, the display module 122 is specifically configured to:
and executing display processing operation on each successively received sampling data packet, wherein the display processing operation comprises the following steps:
judging whether a sampling data packet of a target picture is received for the first time;
if the sampling data packet of the target picture is received for the first time, displaying the target picture according to the sampling data packet;
and if the sampling data packet of the target picture is not received for the first time, refreshing the displayed target picture according to the sampling data packet.
As an optional implementation manner of the embodiment of the present invention, the display module 122 is specifically configured to:
determining target pixel points which do not receive the sampling data according to the sampling data of the pixel points in the sampling data packet and the width and height of the target picture;
filling the pixel value of the target pixel point according to a preset filling strategy;
displaying a target picture according to pixel point sampling data in the sampling data packet and the pixel value of a target pixel point;
the display module 122 may also be configured to: and overlapping the pixel point sampling data in the sampling data packet on the displayed target picture, and displaying the target picture again.
As an optional implementation manner of the embodiment of the present invention, the sampling data packet includes check data, and the apparatus further includes:
the checking module 123 is configured to, for each received sampling data packet, check the sampling data packet according to the checking data in the sampling data packet;
and a sending module 124, configured to send, to the server, a retransmission request message for requesting retransmission of the sampled data packet when the check fails.
The apparatus provided in this embodiment may perform the above method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
Based on the same inventive concept, the embodiment of the invention also provides a server. Fig. 7 is a schematic structural diagram of a server according to an embodiment of the present invention, and as shown in fig. 7, the server according to the embodiment includes: a memory 211 and a processor 212, the memory 211 being for storing computer programs; the processor 212 is adapted to perform the method according to the above-described method embodiment when the computer program is invoked.
The server provided in this embodiment may execute the above method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
Based on the same inventive concept, the embodiment of the invention also provides the client. Fig. 8 is a schematic structural diagram of a client according to an embodiment of the present invention, and as shown in fig. 8, the client according to the embodiment includes: a memory 221 and a processor 222, the memory 221 being for storing computer programs; the processor 222 is adapted to perform the method according to the above-described method embodiment when the computer program is called.
The client provided in this embodiment may execute the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
The embodiment of the invention also provides a picture display system which comprises the server and the client.
Embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method described in the above method embodiments.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media having computer-usable program code embodied in the medium.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer readable media include both permanent and non-permanent, removable and non-removable storage media. Storage media may implement information storage by any method or technology, and the information may be computer-readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the 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 (16)

1. A picture display method, comprising:
determining a target picture to be transmitted;
sampling the target picture according to a preset sampling rule, and sequentially sending at least one obtained sampling data packet to a client to instruct the client to gradually display the target picture according to the received sampling data packet, wherein the sampling rule is determined according to a predetermined total sampling frequency required by the target picture and a sampling sequence number when the target picture is sampled, and the total sampling frequency is more than 1.
2. The method according to claim 1, wherein the sampling the target picture according to a preset sampling rule and sequentially sending the obtained at least one sampled data packet to a client, comprises:
executing a cyclic sampling operation until a preset condition is met, wherein the cyclic sampling operation comprises the following steps:
sampling the target picture according to a sampling rule corresponding to a sampling serial number to obtain a sampling data packet corresponding to the sampling serial number;
sending the sampling data packet corresponding to the sampling sequence number to a client;
and the preset condition is that the number of times of sampling the target picture reaches the total sampling number or the client actively stops receiving the target picture.
3. The method of claim 1, wherein the sampling rule is: and the value obtained after the index position of the pixel point is used for balancing the total sampling times is equal to the sampling sequence number, wherein the sampling sequence number is a natural number which is more than or equal to 0 and less than the total sampling times.
4. The method of claim 3, wherein sampling the data packet comprises: the method comprises the steps of sampling data of pixel points of the target picture, sampling serial numbers, total sampling times, picture identification and the width and height of the target picture.
5. The method of any of claims 1-4, wherein the sampled data packet includes parity data, the method further comprising:
receiving a retransmission request message sent by the client, wherein the retransmission request message is sent by the client when the sampling data packet is not checked according to the check data;
and sending the corresponding sampling data packet to the client according to the retransmission request message.
6. A picture display method, comprising:
receiving at least one sampling data packet of a target picture sent by a server in sequence;
and gradually displaying the target picture according to the received sequence and the sampling data packet.
7. The method according to claim 6, wherein said step-by-step displaying the target picture according to the sampling data packet in the received sequence comprises:
executing display processing operation on each successively received sampling data packet, wherein the display processing operation comprises the following steps:
judging whether a sampling data packet of the target picture is received for the first time;
if the sampling data packet of the target picture is received for the first time, displaying the target picture according to the sampling data packet;
and if the sampling data packet of the target picture is not received for the first time, refreshing the displayed target picture according to the sampling data packet.
8. The method according to claim 7, wherein the sampling data packet includes sampling data of pixels of the target picture, a width and a height of the target picture; the displaying the target picture according to the sampling data packet includes:
determining target pixel points which do not receive the sampling data according to the sampling data of the pixel points in the sampling data packet and the width and height of the target picture;
filling the pixel value of the target pixel point according to a preset filling strategy;
displaying the target picture according to the pixel point sampling data in the sampling data packet and the pixel value of the target pixel point;
then, the refreshing the displayed target picture according to the sampling data packet includes:
and superposing the pixel point sampling data in the sampling data packet on the displayed target picture, and redisplaying the target picture.
9. The method according to claim 6, wherein the sampling data packet is obtained by the server according to a preset sampling rule: the value obtained by adding the index position of the pixel point to the total sampling times required by the target picture is equal to a sampling sequence number, wherein the sampling sequence number is a natural number which is more than or equal to 0 and less than the total sampling times;
the sampling data packet includes: the method comprises the steps of sampling data of pixel points of the target picture, sampling serial numbers, total sampling times, picture identification and the width and height of the target picture.
10. The method of any of claims 6-9, wherein the sampled data packet includes parity data, the method further comprising:
for each received sampling data packet, verifying the sampling data packet according to verification data in the sampling data packet;
and when the verification fails, sending a retransmission request message for requesting retransmission of the sampling data packet to the server.
11. A picture display device, comprising:
the determining module is used for determining a target picture to be transmitted;
the processing module is used for sampling the target picture according to a preset sampling rule and sending at least one obtained sampling data packet to a client in sequence to instruct the client to gradually display the target picture according to the received sampling data packet, wherein the sampling rule is determined according to a predetermined total sampling frequency required by the target picture and a sampling sequence number when the target picture is sampled, and the total sampling frequency is greater than 1.
12. A picture display device, comprising:
the receiving module is used for receiving at least one sampling data packet of the target picture sent by the server in sequence;
and the display module is used for gradually displaying the target picture according to the received sequence and the sampling data packet.
13. A server, comprising: a memory for storing a computer program and a processor; the processor is adapted to perform the method of any of claims 1-5 when the computer program is invoked.
14. A client, comprising: a memory for storing a computer program and a processor; the processor is adapted to perform the method of any of claims 6-10 when the computer program is invoked.
15. A picture display system, comprising: a server according to claim 13 and a client according to claim 14.
16. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-10.
CN201910074478.1A 2019-01-25 2019-01-25 Picture display method, device and system Active CN111488536B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910074478.1A CN111488536B (en) 2019-01-25 2019-01-25 Picture display method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910074478.1A CN111488536B (en) 2019-01-25 2019-01-25 Picture display method, device and system

Publications (2)

Publication Number Publication Date
CN111488536A true CN111488536A (en) 2020-08-04
CN111488536B CN111488536B (en) 2023-09-15

Family

ID=71796185

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910074478.1A Active CN111488536B (en) 2019-01-25 2019-01-25 Picture display method, device and system

Country Status (1)

Country Link
CN (1) CN111488536B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114115615A (en) * 2020-08-10 2022-03-01 深圳市万普拉斯科技有限公司 Interface display method and device, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102111515A (en) * 2009-12-24 2011-06-29 鸿富锦精密工业(深圳)有限公司 Picture sending server and method as well as network terminal and picture displaying method
CN103514241A (en) * 2012-12-07 2014-01-15 Tcl集团股份有限公司 Image loading method and system
CN103974146A (en) * 2014-05-30 2014-08-06 深圳市同洲电子股份有限公司 Video processing method, client and system
CN104391890A (en) * 2014-11-10 2015-03-04 广东欧珀移动通信有限公司 Image loading method and system
WO2016165379A1 (en) * 2015-09-29 2016-10-20 中兴通讯股份有限公司 Projection method, device, apparatus and computer storage medium
CN107402973A (en) * 2017-06-29 2017-11-28 努比亚技术有限公司 Picture upload, loading method, upper transmission terminal, server and storage medium
WO2018040964A1 (en) * 2016-08-30 2018-03-08 阿里巴巴集团控股有限公司 Network image loading method, device and system
WO2018223800A1 (en) * 2017-06-08 2018-12-13 腾讯科技(深圳)有限公司 Data processing method and device, storage medium, and electronic device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102111515A (en) * 2009-12-24 2011-06-29 鸿富锦精密工业(深圳)有限公司 Picture sending server and method as well as network terminal and picture displaying method
CN103514241A (en) * 2012-12-07 2014-01-15 Tcl集团股份有限公司 Image loading method and system
CN103974146A (en) * 2014-05-30 2014-08-06 深圳市同洲电子股份有限公司 Video processing method, client and system
CN104391890A (en) * 2014-11-10 2015-03-04 广东欧珀移动通信有限公司 Image loading method and system
WO2016165379A1 (en) * 2015-09-29 2016-10-20 中兴通讯股份有限公司 Projection method, device, apparatus and computer storage medium
WO2018040964A1 (en) * 2016-08-30 2018-03-08 阿里巴巴集团控股有限公司 Network image loading method, device and system
WO2018223800A1 (en) * 2017-06-08 2018-12-13 腾讯科技(深圳)有限公司 Data processing method and device, storage medium, and electronic device
CN107402973A (en) * 2017-06-29 2017-11-28 努比亚技术有限公司 Picture upload, loading method, upper transmission terminal, server and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114115615A (en) * 2020-08-10 2022-03-01 深圳市万普拉斯科技有限公司 Interface display method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111488536B (en) 2023-09-15

Similar Documents

Publication Publication Date Title
US9444711B1 (en) System and method of determining latency
US8909801B2 (en) Graphic sharing
EP3731518A1 (en) Video decoding method and camera
US20160142615A1 (en) Robust layered light-field rendering
US20110161408A1 (en) Method and network apparatus for requesting data based on content name
KR20150067165A (en) Graphic rendering
RU2016108020A (en) METHOD AND DEVICE FOR PRESENTING MULTIMEDIA INFORMATION
US20150110419A1 (en) Method and device for image processing
EP3142381A1 (en) Network video playing method and device
WO2014176919A1 (en) Method and system for displaying recommended pages by terminal device
EP3993428A1 (en) Time delay error correction method, terminal device, server, and storage medium
CN113434101A (en) Device control method, device, storage medium, and electronic apparatus
CN111488536A (en) Picture display method, device and system
CN108259742B (en) Image acquisition method and device
CN111013131A (en) Delayed data acquisition method, electronic device, and storage medium
CN109428682A (en) A kind of Message Processing confirmation method and device
CN113747063B (en) Video transmission method and device, electronic equipment and readable storage medium
CN102956208B (en) Method, device and system for counting image frame rates of terminal
CN113094618A (en) Method, apparatus, device and storage medium for performing asynchronous request response operation
CN113746665A (en) Log data processing method, apparatus, computer program product and storage medium
CN113268304A (en) Cross-platform application special effect production method
CN112988339A (en) Data management method and device
CN109309637A (en) Transmit date storage method, device and the storage medium of signal
US11336954B1 (en) Method to determine the FPS on a client without instrumenting rendering layer
CN113014990B (en) Quick playing method, playing box and playing system for program pictures

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant