Information processing method, server, terminal and computer storage medium
The server recognizes and segments the images to be displayed, and sends the image area to the terminal in a certain order, solving the problem that the terminal cannot first display the image including the object to be displayed to the user, and realizes an image loading process with lower energy consumption and calculation amount.
Patent Information
- Application Number
- CN201811552592.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-12-18
- Publication Date
- 2025-03-21
- Estimated Expiration
- 2038-12-18
AI Technical Summary
In the prior art, the terminal cannot first display an image including the object to be displayed to the user, resulting in the user not seeing any image information during the image loading process.
By receiving the request to obtain the image to be displayed sent by the receiving terminal, the server recognizes the image to be displayed, divides it into a first image area and a second image area, and sends these areas to the terminal in a certain transmission order.
It is realized that the terminal can first display an image including the object to be displayed to the user, which solves the problem that the user cannot see any image information during the image loading process, and at the same time reduces the energy consumption and calculation amount of the terminal.
Smart Images

Figure CN111339459B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronics and information technology, and in particular to an information processing method, a server, a terminal and a computer storage medium. Background Art
[0002] In the related art, when a user needs to view an image to be displayed, the terminal mainly loads and displays the image for the user to view in the following ways: 1. Displaying the image to be displayed after the entire image is loaded, wherein the user cannot see any image information during the image loading process; 2. Loading and displaying the image to be displayed line by line, so that the image can be displayed in sequence from top to bottom.
[0003] However, in the first loading and displaying method, the terminal cannot display any image information to the user during the image loading process, and in the second loading and displaying method, the terminal cannot first display an image including an object to be displayed to the user. In other words, in the related art, the terminal cannot first display an image including an object to be displayed to the user. Summary of the invention
[0004] To solve the above technical problems, the embodiments of the present invention hope to provide an information processing method, a server, a terminal and a computer storage medium to solve the problem in the related art that the terminal cannot first display an image including an object to be displayed to the user.
[0005] The technical solution of the present invention is achieved in this way:
[0006] An information processing method, the method comprising:
[0007] A receiving terminal sends an acquisition request for acquiring an image to be displayed; wherein the acquisition request carries an identifier of the image to be displayed; and the image to be displayed includes a first object to be displayed and a second object to be displayed;
[0008] Acquire the image to be displayed corresponding to the identifier based on the acquisition request, and identify the image to be displayed to obtain a first image area and a second image area; wherein the first image area includes a first object to be displayed; and the second image area includes a second object to be displayed;
[0009] Determine a sending order, and send the first image area and the second image area to the terminal in sequence according to the sending order.
[0010] Optionally, acquiring the image to be displayed corresponding to the identifier based on the acquisition request, and identifying the image to be displayed to obtain a first image area and a second image area includes:
[0011] Acquire the to-be-displayed image corresponding to the identifier based on the acquisition request;
[0012] Using a saliency detection method to identify the image to be displayed, obtaining the first image area and a first saliency priority corresponding to the first image area, and the second image area and a second saliency priority corresponding to the second image area; wherein the first saliency priority is higher than the second saliency priority;
[0013] Accordingly, the determining a sending order, and sending the first image area and the second image area to the terminal in sequence according to the sending order, includes:
[0014] Determining the sending order based on the first significance priority and the second significance priority;
[0015] Based on the sending order, the first image area and the second image area are sent to the terminal in sequence.
[0016] Optionally, the sending the first image area and the second image area to the terminal in sequence based on the sending order includes:
[0017] determining at least two first sub-image regions from the first image region;
[0018] determining a first sending priority for each first sub-image area;
[0019] Each first sub-image area is sent to the terminal according to the first sending priority, and after the at least two first sub-image areas are sent, the second image area is sent to the terminal.
[0020] Optionally, the sending each first sub-image area to the terminal according to the first sending priority, and sending the second image area to the terminal after the at least two first sub-image areas are sent, includes:
[0021] determining at least two second sub-image regions from the second image region;
[0022] determining a second sending priority for each second sub-image area;
[0023] sending each first sub-image area to the terminal according to the first sending priority;
[0024] After the at least two first sub-image regions are sent, each second sub-image region is sent to the terminal according to the second sending priority.
[0025] Optionally, determining a first sending priority of each first sub-image area includes:
[0026] Performing scene analysis on each first sub-image area to obtain a first analysis result;
[0027] determining a first sending priority for each first sub-image area based on the first analysis result;
[0028] Accordingly, determining the second sending priority of each second sub-image area includes:
[0029] Performing scene analysis on each second sub-image area to obtain a second analysis result;
[0030] A second sending priority level of each second sub-image region is determined based on the second analysis result.
[0031] Optionally, the sending the first image area and the second image area to the terminal in sequence based on the sending order includes:
[0032] Respectively obtain a first grayscale value of a pixel point in the first image area and a second grayscale value of a pixel point in the second image area;
[0033] Sending characteristic parameters of pixels in the first image area to the terminal in descending order of the first grayscale values;
[0034] After the characteristic parameters of the pixels in the first image area are sent, the characteristic parameters of the pixels in the second image area are sent to the terminal in descending order of the second grayscale values.
[0035] Optionally, the sending the first image area and the second image area to the terminal in sequence based on the sending order includes:
[0036] Respectively obtain first position parameters of pixels in the first image area and second position parameters of pixels in the second image area;
[0037] Sending characteristic parameters of pixels within the first image area to the terminal row by row based on the first position parameters;
[0038] After the characteristic parameters of the pixels in the first image area are sent, the characteristic parameters of the pixels in the second image area are sent to the terminal row by row based on the second position parameters.
[0039] Optionally, the sending the first image area and the second image area to the terminal in sequence based on the sending order includes:
[0040] Sending characteristic parameters of a first portion of pixels in the first image area to the terminal;
[0041] After the characteristic parameters of the first part of the pixels in the first image area are sent, the characteristic parameters of the first part of the pixels in the second image area are sent to the terminal;
[0042] After the characteristic parameters of the first part of the pixels in the second image area are sent, the characteristic parameters of the second part of the pixels in the first image area are sent to the terminal;
[0043] After the characteristic parameters of the second part of the pixels in the first image area are sent, the characteristic parameters of the second part of the pixels in the second image area are sent to the terminal;
[0044] Among them, the first part of pixels in the first image area is used to form the first image area with low resolution; the first part of pixels in the second image area is used to form the second image area with low resolution; the second part of pixels in the first image area is the pixels in the first image area except the first part of pixels; the second part of pixels in the second image area is the pixels in the second image area except the first part of pixels.
[0045] Optionally, the sending the first image area and the second image area to the terminal in sequence based on the sending order includes:
[0046] Sending characteristic parameters of a first portion of pixels in the first image area to the terminal;
[0047] After the characteristic parameters of the first part of the pixels in the first image area are sent, the characteristic parameters of the second part of the pixels in the first image area are sent to the terminal;
[0048] After the characteristic parameters of the second part of the pixels in the first image area are sent, the characteristic parameters of the first part of the pixels in the second image area are sent to the terminal;
[0049] After the characteristic parameters of the first part of the pixels in the second image area are sent, the characteristic parameters of the second part of the pixels in the second image area are sent to the terminal;
[0050] Among them, the first part of pixels in the first image area is used to form the first image area with low resolution; the first part of pixels in the second image area is used to form the second image area with low resolution; the second part of pixels in the first image area is the pixels in the first image area except the first part of pixels; the second part of pixels in the second image area is the pixels in the second image area except the first part of pixels.
[0051] An information processing method, the method comprising:
[0052] Sending a request for obtaining an image to be displayed to a server; wherein the request carries an identifier of the image to be displayed;
[0053] The first image area and the second image area sent by the server in sequence according to the sending order are received in sequence and displayed; wherein, the first image area and the second image area are obtained after the server identifies the image to be displayed corresponding to the identifier of the image to be displayed; the sending order is determined by the server.
[0054] A server, comprising:
[0055] a first processor, a first memory, and a first communication bus;
[0056] The first communication bus is used to realize the communication connection between the first processor and the first memory;
[0057] The first processor is used to execute the program of the information processing method in the first memory to implement the following steps:
[0058] A receiving terminal sends an acquisition request for acquiring an image to be displayed; wherein the acquisition request carries an identifier of the image to be displayed; and the image to be displayed includes a first object to be displayed and a second object to be displayed;
[0059] Acquire the image to be displayed corresponding to the identifier based on the acquisition request, and identify the image to be displayed to obtain a first image area and a second image area; wherein the first image area includes a first object to be displayed; and the second image area includes a second object to be displayed;
[0060] Determine a sending order, and send the first image area and the second image area to the terminal in sequence according to the sending order.
[0061] A terminal, comprising:
[0062] a second processor, a second memory, and a second communication bus;
[0063] The second communication bus is used to realize the communication connection between the second processor and the second memory;
[0064] The second processor is used to execute the program of the information processing method in the second memory to implement the following steps:
[0065] Sending a request for obtaining an image to be displayed to a server; wherein the request carries an identifier of the image to be displayed;
[0066] The first image area and the second image area sent by the server in sequence according to the sending order are received in sequence and displayed; wherein, the first image area and the second image area are obtained after the server identifies the image to be displayed corresponding to the identifier of the image to be displayed; the sending order is determined by the server.
[0067] A computer storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the above-mentioned information processing method.
[0068] The information processing method, server, terminal and computer storage medium provided by the embodiments of the present invention, the server receives an acquisition request sent by the terminal for acquiring an image to be displayed including a first object to be displayed and a second object to be displayed, acquires the image to be displayed corresponding to the identifier based on the acquisition request, identifies the image to be displayed to obtain a first image area and a second image area, wherein the first image area includes the first object to be displayed; the second image area includes the second object to be displayed, and sends the first image area and the second image area to the terminal in sequence according to the sending order, so that the server can send the first image area and the second image area to the terminal in sequence according to the sending order, so that the terminal can receive the first image area and the second image area based on the sending order of the processor, so that the terminal can first display an image including the object to be displayed to the user, thereby solving the problem in the related art that the terminal cannot first display an image including the object to be displayed to the user; in addition, since the operation of identifying the image to be displayed is performed on the server, the energy consumption and calculation amount of the terminal can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] Figure 1 A flowchart of an information processing method provided by an embodiment of the present invention;
[0070] Figure 2 A schematic diagram of a flow chart of another information processing method provided by an embodiment of the present invention;
[0071] Figure 3 A flowchart of another information processing method provided by an embodiment of the present invention;
[0072] Figure 4 A flowchart of an information processing method provided by another embodiment of the present invention;
[0073] Figure 5 A schematic diagram of the structure of a server provided in an embodiment of the present invention;
[0074] Figure 6A schematic diagram of the structure of a terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0075] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0076] It should be understood that the "embodiments of the present invention" or "the aforementioned embodiments" mentioned throughout the specification mean that specific features, structures or characteristics related to the embodiments are included in at least one embodiment of the present invention. Therefore, "in the embodiments of the present invention" or "in the aforementioned embodiments" appearing in various places throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. In various embodiments of the present invention, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention. The serial numbers of the above-mentioned embodiments of the present invention are for description only and do not represent the advantages and disadvantages of the embodiments.
[0077] The embodiment of the present invention provides an information processing method, which is applied to a server, such as Figure 1 As shown, the method comprises the following steps:
[0078] Step 101: receiving an acquisition request sent by a terminal for acquiring an image to be displayed.
[0079] The acquisition request carries the identifier of the image to be displayed; the image to be displayed includes a first object to be displayed and a second object to be displayed. In other embodiments, the acquisition request may also include information such as a terminal identifier, a terminal IP address, and a target address. It should be understood that the first object to be displayed or the second object to be displayed may include only one object or at least two objects. The object may be any object such as a human portrait, an animal, or a plant.
[0080] In the embodiment of the present invention, the terminal may be a mobile phone, a tablet computer, a laptop computer, a PDA, a personal digital assistant, a portable media player, a navigation device, a wearable device, a smart bracelet, a pedometer, a digital TV or a desktop computer, etc.
[0081] When the terminal needs to display the image to be displayed, the terminal can send an acquisition request to the server for acquiring the image to be displayed. In one embodiment, the acquisition request can be a request generated after the user operates on the image to be displayed. For example, when the user browses the web page, the terminal does not load the image, but only displays the area corresponding to the image to be displayed on the terminal. The terminal can generate an acquisition request through the user's operation on the area. In another embodiment, the acquisition request can be a request generated by the terminal through the user entering the target address on the terminal, wherein the target address can be a target IP address or a target domain name. For example, when the user enters the target address on the terminal, the terminal sends an acquisition request to the server based on the target address, wherein the identifier of the image to be displayed can correspond to the target address.
[0082] In the embodiment of the present invention, the acquisition request may carry an identifier of an image to be displayed, or may carry identifiers of at least two images to be displayed.
[0083] Step 102: acquiring an image to be displayed corresponding to the identifier based on the acquisition request, and identifying the image to be displayed to obtain a first image area and a second image area.
[0084] The first image area includes a first object to be displayed; and the second image area includes a second object to be displayed.
[0085] Before step 102, the server may also perform an operation of extracting the identifier of the image to be displayed from the acquisition request.
[0086] If the identification representation obtained by the server requires an image to be displayed, the server obtains an image to be displayed corresponding to the identification based on the acquisition request, and identifies the image to be displayed to obtain a first image area and a second image area. If the identification representation obtained by the server requires at least two images to be displayed, the server obtains at least two images to be displayed corresponding to the identification based on the acquisition request, and identifies each of the at least two images to be displayed to obtain a first image area and a second image area of each image to be displayed. The embodiment of the present invention is described by taking the example that the identification representation obtained by the server requires one image to be displayed. It should be understood that when the identification representation requires at least two images to be displayed, it is similar to the case where the identification representation requires one image to be displayed, and the present invention will not elaborate on this.
[0087] The server acquiring the image to be displayed corresponding to the identifier based on the acquisition request may include: the server acquiring the characteristic parameters of the pixel points in the image to be displayed corresponding to the identifier from the local storage or external device based on the acquisition request. Accordingly, identifying the image to be displayed to obtain the first image area and the second image area may include: identifying the image to be displayed based on the characteristic parameters of the pixel points in the image to be displayed to obtain the first image area and the second image area. Among them, the characteristic parameters may include position parameters and pixel parameters, and the pixel parameters may include at least one of grayscale parameters, depth parameters, and color parameters.
[0088] In one embodiment, identifying the image to be displayed to obtain the first image area and the second image area may include: using a saliency detection method to identify the image to be displayed to obtain the first image area and the second image area; wherein the saliency priority of the first image area is higher than the saliency priority of the second image area. In another embodiment, identifying the image to be displayed to obtain the first image area and the second image area may include: using a face recognition method to identify the image to be displayed to obtain the first image area and the second image area, wherein the first image area represents the face area in the image to be displayed, and the second image area is the area other than the face in the image to be displayed. In yet another embodiment, identifying the image to be displayed to obtain the first image area and the second image area may include: identifying the foreground part of the image to be displayed to obtain the first image area and the second image area, wherein the first image area represents the foreground area of the image to be displayed, and the second image area is the area other than the foreground area in the image to be displayed.
[0089] In other embodiments, at least three image regions may be obtained by identifying the image to be displayed, which is not limited in the present invention.
[0090] Step 103: Determine a sending order, and send the first image area and the second image area to the terminal in sequence according to the sending order.
[0091] The sending order may be determined based on the recognition method used when recognizing the image to be displayed. For example, when the image to be displayed is recognized by using a saliency detection method, the sending order may be determined based on saliency priority; when the image to be displayed is recognized by using a face recognition method, the sending order may be to send the area represented by the face first or later; when the foreground part of the image to be displayed is recognized, the sending order may be to send the foreground part first or later.
[0092] In this embodiment, sending the first image area and the second image area to the terminal in sequence according to the sending order includes: sending the first image area and the second image area to the terminal in sequence. In other implementations, sending the first image area and the second image area to the terminal in sequence according to the sending order includes: sending the second image area and the first image area to the terminal in sequence. It should be understood that sending the first image area and the second image area to the terminal in sequence can be, after the first image area is sent, sending the second image area to the terminal, or first sending a part of the first image area to the terminal, then sending a part of the second image area to the terminal, then sending another part of the first image area to the terminal, and finally sending another part of the second image area to the terminal.
[0093] In an embodiment of the present invention, the server can send the first image area and the second image area to the terminal in sequence according to the sending order, so that the terminal can receive the first image area and the second image area based on the sending order of the processor, so that the terminal can first display an image including an object to be displayed to the user, thereby solving the problem in the related art that the terminal cannot first display an image including an object to be displayed to the user; in addition, since the operation of identifying the image to be displayed is performed on the server, the energy consumption and computing power of the terminal can be reduced.
[0094] Based on the above embodiments, the present invention provides an information processing method, which is applied to a server, such as Figure 2 As shown, the method comprises the following steps:
[0095] Step 201: receiving an acquisition request sent by a terminal for acquiring an image to be displayed.
[0096] The acquisition request carries an identifier of an image to be displayed, and the image to be displayed includes a first object to be displayed and a second object to be displayed.
[0097] Step 202: Acquire an image to be displayed corresponding to the identifier based on the acquisition request.
[0098] Step 203: using a saliency detection method to identify the image to be displayed, and obtaining a first image region and a first saliency priority corresponding to the first image region, and a second image region and a second saliency priority corresponding to the second image region.
[0099] Among them, the first significance priority is higher than the second significance priority.
[0100] The saliency detection method in the embodiment of the present invention may be a planar vision saliency detection method or a stereoscopic vision saliency detection method.
[0101] A specific implementation of step 203 may be: the server uses a saliency detection method to identify the image A to be displayed, obtains two image areas B and C, and the saliency priority corresponding to the image area B and the saliency priority corresponding to the image area C, compares the saliency priority corresponding to the image area B and the saliency priority corresponding to the image area C, and takes the saliency priority with a higher saliency priority as the first saliency priority, and takes the image area corresponding to the saliency priority with a higher saliency priority as the first image area, and takes the saliency priority with a lower saliency priority as the second saliency priority, and takes the image area corresponding to the saliency priority with a lower saliency priority as the second image area.
[0102] Step 204: Determine a sending order based on the first significance priority and the second significance priority.
[0103] In a case where the first significance priority is higher than the second significance priority, determining the sending order based on the first significance priority and the second significance priority may include: determining the sending order of sending the first image area and the second image area to the terminal in sequence based on the first significance priority and the second significance priority.
[0104] Step 205: Based on the sending order, send the first image area and the second image area to the terminal in sequence.
[0105] Based on the sending order, sequentially sending the first image area and the second image area to the terminal may include: based on the sending order, sequentially sending the attribute information of the image to be displayed, the first image area, and the second image area to the terminal. The attribute information of the image to be displayed is used to characterize the overall parameters of the image to be displayed, and the attribute information of the image to be displayed may include: at least one of the data volume of the image to be displayed, the storage space occupied by the image to be displayed, the size of the image to be displayed, the resolution of the image to be displayed, the bit depth of the image to be displayed, and the number of pixels of the image to be displayed.
[0106] In an embodiment of the present invention, based on the sending order, sending the first image area and the second image area to the terminal in sequence may include: determining a first sending strategy for the first image area and a second sending strategy for the second image area; based on the sending order, sending the first image area with the first sending strategy and sending the second image area to the terminal with the second sending strategy.
[0107] The first sending strategy may be acquired based on characteristic parameters of pixels in the first image area; and the second sending strategy may be acquired based on characteristic parameters of pixels in the second image area.
[0108] In one embodiment, based on the sending order, the specific implementation of sending the first image area to the terminal using the first sending strategy and sending the second image area to the terminal using the second sending strategy can refer to the description of steps A1 to A3.
[0109] Step A1: respectively obtain a first grayscale value of a pixel in a first image area and a second grayscale value of a pixel in a second image area.
[0110] Among them, respectively obtaining the first grayscale value of the pixel points in the first image area and the second grayscale value of the pixel points in the second image area may include: respectively obtaining the first grayscale value and first position parameter of the pixel points in the first image area, and the second grayscale value and second position parameter of the pixel points in the second image area.
[0111] Step A2: sending characteristic parameters of the pixels in the first image area to the terminal in descending order of the first grayscale values.
[0112] The characteristic parameters in this step should at least include position parameters and grayscale parameters. In other embodiments, the characteristic parameters may also include depth parameters and / or color parameters.
[0113] In one embodiment, the server may sort the acquired first grayscale values in descending order, and send the characteristic parameters of the pixels in the first image area to the terminal in descending order of the first grayscale values. For example, the server may first send the characteristic parameters of the pixels in the first image area whose first grayscale value is 255, and then send the characteristic parameters of the pixels in the first image area whose first grayscale value is 254, ..., until the characteristic parameters of the pixels in the first image area whose first grayscale value is 0 are sent. In this way, when receiving the first image area, the terminal may first receive the characteristic parameters of the pixels with the highest first grayscale value, so that the user can first obtain the information of the pixels with high grayscale values in the first image area.
[0114] In another embodiment, the server may divide the acquired first grayscale value into at least two grayscale ranges with different grayscale levels, and send the characteristic parameters of the pixels in the grayscale range to the terminal in the order of grayscale levels from high to low. For example, the server may divide the first grayscale value into a first grayscale range (200, 255], a second grayscale range (150, 200], a third grayscale range (100, 150], a fourth grayscale range (50, 100], and a fifth grayscale range [0, 50], and send the characteristic parameters of the pixels in the first grayscale range, the characteristic parameters of the pixels in the second grayscale range, the characteristic parameters of the pixels in the third grayscale range, the characteristic parameters of the pixels in the fourth grayscale range, and the characteristic parameters of the pixels in the fifth grayscale range to the terminal in sequence.
[0115] Step A3: After the characteristic parameters of the pixels in the first image area are sent, the characteristic parameters of the pixels in the second image area are sent to the terminal in descending order of the second grayscale values.
[0116] Among them, the specific implementation method of sending the characteristic parameters of the pixel points in the second image area to the terminal in the order of the second grayscale values from large to small can be similar to that in step A2. The specific implementation method can refer to the description in step A2 and will not be repeated here.
[0117] In another embodiment, based on the sending order, the specific implementation of sending the first image area to the terminal using the first sending strategy and sending the second image area to the terminal using the second sending strategy can refer to the description of steps B1 to B3.
[0118] Step B1: respectively obtain first position parameters of pixels in the first image area and second position parameters of pixels in the second image area.
[0119] Wherein, respectively obtaining the first position parameter of the pixel point in the first image area and the second position parameter of the pixel point in the second image area may include: respectively obtaining the first position parameter and pixel parameter of the pixel point in the first image area, and the second position parameter and pixel parameter of the pixel point in the second image area. Wherein, the pixel parameter may include at least one of grayscale parameter, depth parameter and color parameter.
[0120] Step B2: sending characteristic parameters of pixel points in the first image area to the terminal row by row based on the first position parameter.
[0121] Step B3: After the characteristic parameters of the pixels in the first image area are sent, the characteristic parameters of the pixels in the second image area are sent to the terminal row by row based on the second position parameters.
[0122] In another embodiment, based on the sending order, the specific implementation of sending the first image area to the terminal with the first sending strategy and sending the second image area to the terminal with the second sending strategy may include: sending the first image area with low resolution, sending the second image area with low resolution, sending the first image area with original resolution, and sending the second image area to the terminal with original resolution in sequence. The specific sending method may refer to the description of steps C1 to C4.
[0123] Step C1: sending characteristic parameters of a first portion of pixels in a first image area to a terminal.
[0124] The first portion of pixels in the first image area is used to form a low-resolution first image area. For example, the server may send characteristic parameters of a preset ratio of pixels in the first image area to the terminal. The preset ratio may be selected according to user needs, for example, the preset ratio is 1 / 2, 1 / 4, 1 / 9, etc.
[0125] Step C2: After the characteristic parameters of the first part of the pixels in the first image area are sent, the characteristic parameters of the first part of the pixels in the second image area are sent to the terminal.
[0126] The first portion of pixels in the second image area is used to form a low-resolution second image area.
[0127] The density of the first part of pixels in the second image area may be the same as or different from the density of the first part of pixels in the first image area. In other words, the resolution of the image in the low-resolution first image area formed by the first part of pixels in the second image area and the low-resolution first image area formed by the first part of pixels in the second image area may be the same as or different from each other.
[0128] Step C3: After the characteristic parameters of the first part of the pixels in the second image area are sent, the characteristic parameters of the second part of the pixels in the first image area are sent to the terminal.
[0129] The second portion of pixel points in the first image area are pixel points other than the first portion of pixel points in the first image area.
[0130] Step C4: After the characteristic parameters of the second part of the pixels in the first image area are sent, the characteristic parameters of the second part of the pixels in the second image area are sent to the terminal.
[0131] The second part of pixel points in the second image area are pixel points other than the first part of pixel points in the second image area.
[0132] In another embodiment, based on the sending order, the specific implementation of sending the first image area to the terminal using the first sending strategy and sending the second image area to the terminal using the second sending strategy may include: sending the first image area at a low resolution, sending the first image area at an original resolution, sending the second image area at a low resolution, and sending the second image area to the terminal at an original resolution in sequence. The specific sending method may refer to the description of steps D1 to D4.
[0133] Step D1: sending characteristic parameters of a first portion of pixels in a first image area to a terminal.
[0134] Step D2: After the characteristic parameters of the first part of the pixels in the first image area are sent, the characteristic parameters of the second part of the pixels in the first image area are sent to the terminal.
[0135] Step D3: After the characteristic parameters of the second part of the pixels in the first image area are sent, the characteristic parameters of the first part of the pixels in the second image area are sent to the terminal.
[0136] Step D4: After the characteristic parameters of the first part of the pixels in the second image area are sent, the characteristic parameters of the second part of the pixels in the second image area are sent to the terminal.
[0137] It should be noted that, for the description of the same steps and the same contents in this embodiment as those in other embodiments, reference can be made to the description in other embodiments and will not be repeated here.
[0138] In an embodiment of the present invention, the server can send the first image area and the second image area to the terminal in sequence according to the sending order, so that the terminal can receive the first image area and the second image area based on the sending order of the processor, so that the terminal can first display an image including an object to be displayed to the user, thereby solving the problem in the related art that the terminal cannot first display an image including an object to be displayed to the user; in addition, since the operation of identifying the image to be displayed is performed on the server, the energy consumption and computing power of the terminal can be reduced.
[0139] Based on the above embodiments, the present invention provides an information processing method, which is applied to a server, such as Figure 3 As shown, the method comprises the following steps:
[0140] Step 301: receiving an acquisition request sent by a terminal for acquiring an image to be displayed.
[0141] The acquisition request carries the identifier of the image to be displayed. The image to be displayed includes a first object to be displayed and a second object to be displayed.
[0142] Step 302: Acquire an image to be displayed corresponding to the identifier based on the acquisition request.
[0143] Step 303: using a saliency detection method to identify the image to be displayed, and obtaining a first image region and a first saliency priority corresponding to the first image region, and a second image region and a second saliency priority corresponding to the second image region.
[0144] The first saliency priority is higher than the second saliency priority. The first image region includes a first object to be displayed, and the second image region includes a second object to be displayed.
[0145] In one embodiment, using a saliency detection method to identify an image to be displayed may include: obtaining attribute information of the image to be displayed, and if the attribute information of the image to be displayed meets a preset condition, using a saliency detection method to identify the image to be displayed. The attribute information of the image to be displayed meeting the preset condition may correspond to the attribute information of the image to be displayed. For example, the attribute information of the image to be displayed meeting the preset condition may include: the data volume of the image to be displayed is less than the preset data volume, the storage space occupied by the image to be displayed is less than the preset storage space, the size of the image to be displayed is less than the preset size, the resolution of the image to be displayed is less than the preset resolution, the bit depth of the image to be displayed is less than the preset bit depth, and the number of pixels of the image to be displayed is less than the preset number.
[0146] In another embodiment, using a saliency detection method to identify the image to be displayed may include: obtaining a network transmission rate between the terminal and the server, and if the network transmission rate is less than a preset transmission rate, using a saliency detection method to identify the image to be displayed.
[0147] In another embodiment, using a saliency detection method to identify an image to be displayed may include: obtaining attribute information of the image to be displayed, and obtaining a network transmission rate between a terminal and a server; if the acquired attribute information of the image to be displayed meets a preset condition and the network transmission rate is less than a preset transmission rate, using a saliency detection method to identify the image to be displayed.
[0148] Step 304: Determine a sending order based on the first significance priority and the second significance priority.
[0149] Step 305: Determine at least two first sub-image regions from the first image region.
[0150] In one embodiment, determining at least two first sub-image regions from the first image region may include: using a saliency detection method to identify the first image region to obtain at least two first sub-regions and obtaining saliency priorities of the at least two first sub-regions.
[0151] In another embodiment, determining at least two first sub-image regions from the first image region may include: using an edge detection method to identify the first image region to obtain the at least two first sub-image regions.
[0152] In another embodiment, determining at least two first sub-image areas from the first image area may include: dividing the first image area according to a preset rule to obtain at least two first sub-image areas, wherein the number of pixel points in the at least two first sub-image areas may be equal or unequal.
[0153] Step 306: Determine a first sending priority of each first sub-image region.
[0154] In one embodiment, determining the first sending priority of each first sub-image region may include: performing scene analysis on each first sub-image region to obtain a first analysis result; and determining the first sending priority of each first sub-image region based on the first analysis result.
[0155] Wherein, performing scene analysis on each first sub-image area to obtain a first analysis result may include: performing scene analysis on each first sub-image area to obtain a first analysis result based on characteristic parameters of pixel points in each first sub-image area of at least two first sub-image areas. Wherein, the first analysis result may be a scene result. A relationship list of preset scenes and preset sending priorities may be pre-stored in the server, and the corresponding relationship between the preset scenes and the preset sending priorities may be set by the user. For example, the preset scenes may include people, animals, buildings, plants, and other scenes, and the processor may set people to the highest level of sending priority, and other scenes to the lowest high level of sending priority, and so on.
[0156] Accordingly, determining the first sending priority of each first sub-image region based on the first analysis result may include: determining the first sending priority of each first sub-image region based on the first analysis result and the relationship list.
[0157] For example, the processor determines three image areas from the first image area, and performs scene analysis on the first image area to obtain that the first image area represents a person; performs scene analysis on the second image area to obtain that the second image area represents a building; and performs scene analysis on the third image area to obtain that the third image area represents water. The processor will send the first image area, the second image area, and the third image area to the terminal in sequence.
[0158] In another embodiment, determining the first sending priority of each first sub-image region may include: determining the first sending priority of each first sub-image region based on at least two first sub-regions and the significance priority of at least two first sub-regions, wherein the significance priority may correspond to the first sending priority, and the higher the significance priority, the higher the first sending priority.
[0159] In another embodiment, determining the first sending priority of each first sub-image area may include: obtaining an average grayscale value of pixels in each of the at least two first sub-image areas, and determining the first sending priority of each first sub-image area based on the average grayscale value. The average grayscale value may correspond to the first sending priority, and the higher the average grayscale value, the higher the first sending priority.
[0160] Step 307: Send each first sub-image area to the terminal according to the first sending priority, and after at least two first sub-image areas are sent, send the second image area to the terminal.
[0161] In one embodiment, sending each first sub-image area to the terminal according to the first sending priority may include: sending each first sub-image area to the terminal line by line according to the first sending priority. In another embodiment, sending each first sub-image area to the terminal according to the first sending priority may include: sending characteristic parameters of a first portion of pixels in each first sub-image area to the terminal according to the first sending priority, and after the characteristic parameters of the first portion of pixels in each first sub-image area are sent, sending characteristic parameters of a second portion of pixels in each first sub-image area to the terminal; wherein the characteristic parameters of the first portion of pixels are used to form a low-resolution first sub-image area.
[0162] The specific implementation of step 307 may refer to the description of steps E1 to E4.
[0163] Step E1: determining at least two second sub-image regions from the second image region.
[0164] The implementation method of determining at least two second sub-image areas from the second image area may be similar to the implementation method of determining at least two first sub-image areas from the first image area. The specific implementation method may refer to the description in step 305 and will not be repeated here.
[0165] Step E2: Determine the second sending priority of each second sub-image area.
[0166] Determining the second sending priority of each second sub-image region may include: performing scene analysis on each second sub-image region to obtain a second analysis result; and determining the second sending priority of each second sub-image region based on the second analysis result.
[0167] Among them, the implementation method of determining the second sending priority of each second sub-image area can be similar to the implementation method of determining the first sending priority of each first sub-image area. The specific implementation method can refer to the description in step 306 and will not be repeated here.
[0168] Step E3: Send each first sub-image area to the terminal according to the first sending priority.
[0169] Step E4: After at least two first sub-image regions are sent, each second sub-image region is sent to the terminal according to a second sending priority.
[0170] Accordingly, sending each second sub-image area to the terminal may be sending each second sub-image area to the terminal line by line, or may be sending the characteristic parameters of the first part of the pixels of each second sub-image area to the terminal and then sending the characteristic parameters of the second part of the pixels of each second sub-image area to the terminal.
[0171] It should be noted that, for the description of the same steps and the same contents in this embodiment as those in other embodiments, reference can be made to the description in other embodiments and will not be repeated here.
[0172] In an embodiment of the present invention, the server can send the first image area and the second image area to the terminal in sequence according to the sending order, so that the terminal can receive the first image area and the second image area based on the sending order of the processor, so that the terminal can first display an image including an object to be displayed to the user, thereby solving the problem in the related art that the terminal cannot first display an image including an object to be displayed to the user; in addition, since the operation of identifying the image to be displayed is performed on the server, the energy consumption and computing power of the terminal can be reduced.
[0173] Based on the above embodiments, the present invention provides an information processing method, which is applied to a terminal, such as Figure 4 As shown, the method comprises the following steps:
[0174] Step 401: Sending a request for acquiring an image to be displayed to a server.
[0175] The acquisition request carries the identifier of the image to be displayed.
[0176] Step 402: receiving the first image area and the second image area sent by the server in the order of sending, and displaying them.
[0177] The first image area and the second image area are obtained after the server identifies the image to be displayed corresponding to the identifier of the image to be displayed; the sending order is determined by the server.
[0178] Sequentially receiving the first image area and the second image area sent by the server in the order of sending, and displaying them may include: after receiving the attribute information of the image to be displayed sent by the server, sequentially receiving the first image area and the second image area sent by the server in the order of sending, and displaying them.
[0179] It should be noted that, for the description of the same steps and the same contents in this embodiment as those in other embodiments, reference can be made to the description in other embodiments and will not be repeated here.
[0180] In an embodiment of the present invention, the terminal sequentially receives the first image area and the second image area sent by the server in the order of sending, so that the terminal can first display an image including an object to be displayed to the user, which solves the problem in the related art that the terminal cannot first display an image including an object to be displayed to the user; in addition, since there is no need to process the image in any way, it is only necessary to receive the image data sent by the server, thereby reducing the energy consumption and computing power of the terminal.
[0181] Based on the above embodiments, an embodiment of the present invention provides a server, which can be applied to Figures 1 to 3 In an information processing method provided by a corresponding embodiment, referring to Figure 5 As shown, the server 5 may include: a first processor 51, a first memory 52 and a first communication bus 53, wherein:
[0182] The first communication bus 53 is used to implement communication connection between the first processor 51 and the first memory 52 .
[0183] The first processor 51 is used to execute the program of the information processing method stored in the first memory 52 to implement the following steps:
[0184] A request for obtaining an image to be displayed sent by a receiving terminal; wherein the request for obtaining carries an identifier of the image to be displayed; and the image to be displayed includes a first object to be displayed and a second object to be displayed;
[0185] Acquire the image to be displayed corresponding to the identifier based on the acquisition request, and identify the image to be displayed to obtain a first image area and a second image area; wherein the first image area includes a first object to be displayed; and the second image area includes a second object to be displayed;
[0186] A sending order is determined, and the first image area and the second image area are sent to the terminal in sequence according to the sending order.
[0187] In other embodiments of the present invention, the first processor 51 is used to execute the acquisition request stored in the first memory 52 to obtain the image to be displayed corresponding to the identifier, and identify the image to be displayed to obtain the first image area and the second image area, so as to implement the following steps:
[0188] Acquire an image to be displayed corresponding to the identifier based on the acquisition request;
[0189] Using a saliency detection method to identify the image to be displayed, obtaining a first image region and a first saliency priority corresponding to the first image region, and a second image region and a second saliency priority corresponding to the second image region; wherein the first saliency priority is higher than the second saliency priority;
[0190] Accordingly, the first processor 51 is used to execute the determined sending order stored in the first memory 52, and send the first image area and the second image area to the terminal in sequence according to the sending order, so as to implement the following steps:
[0191] Determining a sending order based on the first significance priority and the second significance priority;
[0192] Based on the sending order, the first image area and the second image area are sent to the terminal in sequence.
[0193] In other embodiments of the present invention, the first processor 51 is used to execute the first image area and the second image area to the terminal in sequence based on the sending order stored in the first memory 52, so as to implement the following steps:
[0194] determining at least two first sub-image regions from the first image region;
[0195] determining a first sending priority for each first sub-image area;
[0196] Each first sub-image region is sent to the terminal according to a first sending priority, and after at least two first sub-image regions are sent, the second image region is sent to the terminal.
[0197] In other embodiments of the present invention, the first processor 51 is used to execute the steps stored in the first memory 52 to send each first sub-image area to the terminal according to the first sending priority, and after at least two first sub-image areas are sent, send the second image area to the terminal, so as to implement the following steps:
[0198] determining at least two second sub-image regions from the second image region;
[0199] determining a second sending priority for each second sub-image area;
[0200] Sending each first sub-image area to the terminal according to a first sending priority;
[0201] After at least two first sub-image regions are sent, each second sub-image region is sent to the terminal according to a second sending priority.
[0202] In other embodiments of the present invention, the first processor 51 is used to execute the first sending priority of each first sub-image area stored in the first memory 52 to implement the following steps:
[0203] Performing scene analysis on each first sub-image area to obtain a first analysis result;
[0204] determining a first sending priority for each first sub-image area based on the first analysis result;
[0205] Accordingly, the first processor 51 is used to execute the second sending priority of each second sub-image area stored in the first memory 52 to implement the following steps:
[0206] Performing scene analysis on each second sub-image area to obtain a second analysis result;
[0207] A second sending priority level for each second sub-image region is determined based on the second analysis result.
[0208] In other embodiments of the present invention, the first processor 51 is used to execute the first image area and the second image area to the terminal in sequence based on the sending order stored in the first memory 52, so as to implement the following steps:
[0209] Acquire a first grayscale value of a pixel in the first image area and a second grayscale value of a pixel in the second image area respectively;
[0210] Sending characteristic parameters of the pixels in the first image area to the terminal in descending order of the first grayscale values;
[0211] After the characteristic parameters of the pixels in the first image area are sent, the characteristic parameters of the pixels in the second image area are sent to the terminal in descending order of the second grayscale values.
[0212] In other embodiments of the present invention, the first processor 51 is used to execute the first image area and the second image area to the terminal in sequence based on the sending order stored in the first memory 52, so as to implement the following steps:
[0213] Respectively obtain first position parameters of pixels in the first image area and second position parameters of pixels in the second image area;
[0214] Sending characteristic parameters of pixel points in the first image area to the terminal row by row based on the first position parameter;
[0215] After the characteristic parameters of the pixels in the first image area are sent, the characteristic parameters of the pixels in the second image area are sent to the terminal row by row based on the second position parameters.
[0216] In other embodiments of the present invention, the first processor 51 is used to execute the first image area and the second image area to the terminal in sequence based on the sending order stored in the first memory 52, so as to implement the following steps:
[0217] Sending characteristic parameters of a first portion of pixels in a first image area to a terminal;
[0218] After the characteristic parameters of the first part of the pixels in the first image area are sent, the characteristic parameters of the first part of the pixels in the second image area are sent to the terminal;
[0219] After the characteristic parameters of the first part of the pixels in the second image area are sent, the characteristic parameters of the second part of the pixels in the first image area are sent to the terminal;
[0220] After the characteristic parameters of the second part of the pixels in the first image area are sent, the characteristic parameters of the second part of the pixels in the second image area are sent to the terminal;
[0221] Among them, the first part of pixels in the first image area is used to form a low-resolution first image area; the first part of pixels in the second image area is used to form a low-resolution second image area; the second part of pixels in the first image area is the pixels in the first image area except the first part of pixels; the second part of pixels in the second image area is the pixels in the second image area except the first part of pixels.
[0222] In other embodiments of the present invention, the first processor 51 is used to execute the first image area and the second image area to the terminal in sequence based on the sending order stored in the first memory 52, so as to implement the following steps:
[0223] Sending characteristic parameters of a first portion of pixels in a first image area to a terminal;
[0224] After the characteristic parameters of the first part of the pixels in the first image area are sent, the characteristic parameters of the second part of the pixels in the first image area are sent to the terminal;
[0225] After the characteristic parameters of the second part of the pixels in the first image area are sent, the characteristic parameters of the first part of the pixels in the second image area are sent to the terminal;
[0226] After the characteristic parameters of the first part of the pixels in the second image area are sent, the characteristic parameters of the second part of the pixels in the second image area are sent to the terminal;
[0227] Among them, the first part of pixels in the first image area is used to form a low-resolution first image area; the first part of pixels in the second image area is used to form a low-resolution second image area; the second part of pixels in the first image area is the pixels in the first image area except the first part of pixels; the second part of pixels in the second image area is the pixels in the second image area except the first part of pixels.
[0228] It should be noted that the specific implementation process of the steps executed by the first processor in this embodiment can refer to Figures 1 to 3 The implementation process of the information processing method provided in the corresponding embodiment will not be repeated here.
[0229] In an embodiment of the present invention, the server can send the first image area and the second image area to the terminal in sequence according to the sending order, so that the terminal can receive the first image area and the second image area based on the sending order of the processor, so that the terminal can first display an image including an object to be displayed to the user, thereby solving the problem in the related art that the terminal cannot first display an image including an object to be displayed to the user; in addition, since the operation of identifying the image to be displayed is performed on the server, the energy consumption and computing power of the terminal can be reduced.
[0230] Based on the foregoing embodiments, an embodiment of the present invention provides a terminal, which can be applied to Figure 4 In an information processing method provided by a corresponding embodiment, referring to Figure 6 As shown, the terminal 6 may include: a second processor 61, a second memory 62, and a second communication bus 63, wherein:
[0231] The second communication bus 63 is used to realize the communication connection between the second processor 61 and the second memory 62 .
[0232] The second processor 61 is used to execute the program of the information processing method stored in the second memory 62 to implement the following steps:
[0233] Sending a request for obtaining an image to be displayed to a server; wherein the request carries an identifier of the image to be displayed;
[0234] The first image area and the second image area sent by the server in the order of sending are received in sequence and displayed; wherein the first image area and the second image area are obtained after the server identifies the image to be displayed corresponding to the identifier of the image to be displayed; the sending order is determined by the server.
[0235] It should be noted that the specific implementation process of the steps executed by the second processor in this embodiment can refer to Figure 4 The implementation process of the information processing method provided in the corresponding embodiment will not be repeated here.
[0236] Based on the foregoing embodiments, an embodiment of the present invention provides a computer-readable storage medium, which stores one or more programs. The one or more programs can be executed by one or more processors to implement the following steps:
[0237] A request for obtaining an image to be displayed sent by a receiving terminal; wherein the request for obtaining carries an identifier of the image to be displayed; and the image to be displayed includes a first object to be displayed and a second object to be displayed;
[0238] Acquire the image to be displayed corresponding to the identifier based on the acquisition request, and identify the image to be displayed to obtain a first image area and a second image area; wherein the first image area includes a first object to be displayed; and the second image area includes a second object to be displayed;
[0239] A sending order is determined, and the first image area and the second image area are sent to the terminal in sequence according to the sending order.
[0240] In other embodiments of the present invention, the one or more programs may be executed by one or more processors to obtain the image to be displayed corresponding to the identifier based on the acquisition request, and identify the image to be displayed to obtain the first image area and the second image area, so as to implement the following steps:
[0241] Acquire an image to be displayed corresponding to the identifier based on the acquisition request;
[0242] Using a saliency detection method to identify the image to be displayed, obtaining a first image region and a first saliency priority corresponding to the first image region, and a second image region and a second saliency priority corresponding to the second image region; wherein the first saliency priority is higher than the second saliency priority;
[0243] Accordingly, the one or more programs may be executed by one or more processors to determine the sending order, and send the first image area and the second image area to the terminal in sequence according to the sending order, so as to implement the following steps:
[0244] Determining a sending order based on the first significance priority and the second significance priority;
[0245] Based on the sending order, the first image area and the second image area are sent to the terminal in sequence.
[0246] In other embodiments of the present invention, the one or more programs may be executed by one or more processors to sequentially send the first image area and the second image area to the terminal based on the sending order, so as to implement the following steps:
[0247] determining at least two first sub-image regions from the first image region;
[0248] determining a first sending priority for each first sub-image area;
[0249] Each first sub-image region is sent to the terminal according to a first sending priority, and after at least two first sub-image regions are sent, the second image region is sent to the terminal.
[0250] In other embodiments of the present invention, the one or more programs may be executed by one or more processors to send each first sub-image area to the terminal according to the first sending priority, and after at least two first sub-image areas are sent, send the second image area to the terminal, so as to implement the following steps:
[0251] determining at least two second sub-image regions from the second image region;
[0252] determining a second sending priority for each second sub-image area;
[0253] Sending each first sub-image area to the terminal according to a first sending priority;
[0254] After at least two first sub-image regions are sent, each second sub-image region is sent to the terminal according to a second sending priority.
[0255] In other embodiments of the present invention, the one or more programs may be executed by one or more processors to determine the first sending priority of each first sub-image area to implement the following steps:
[0256] Performing scene analysis on each first sub-image area to obtain a first analysis result;
[0257] determining a first sending priority for each first sub-image area based on the first analysis result;
[0258] Accordingly, the one or more programs may be executed by one or more processors to determine the second sending priority of each second sub-image area, so as to implement the following steps:
[0259] Performing scene analysis on each second sub-image area to obtain a second analysis result;
[0260] A second sending priority level for each second sub-image region is determined based on the second analysis result.
[0261] In other embodiments of the present invention, the one or more programs may be executed by one or more processors to sequentially send the first image area and the second image area to the terminal based on the sending order, so as to implement the following steps:
[0262] Acquire a first grayscale value of a pixel in the first image area and a second grayscale value of a pixel in the second image area respectively;
[0263] Sending characteristic parameters of the pixels in the first image area to the terminal in descending order of the first grayscale values;
[0264] After the characteristic parameters of the pixels in the first image area are sent, the characteristic parameters of the pixels in the second image area are sent to the terminal in descending order of the second grayscale values.
[0265] In other embodiments of the present invention, the one or more programs may be executed by one or more processors to sequentially send the first image area and the second image area to the terminal based on the sending order, so as to implement the following steps:
[0266] Respectively obtain first position parameters of pixels in the first image area and second position parameters of pixels in the second image area;
[0267] Sending characteristic parameters of pixel points in the first image area to the terminal row by row based on the first position parameter;
[0268] After the characteristic parameters of the pixels in the first image area are sent, the characteristic parameters of the pixels in the second image area are sent to the terminal row by row based on the second position parameters.
[0269] In other embodiments of the present invention, the one or more programs may be executed by one or more processors to sequentially send the first image area and the second image area to the terminal based on the sending order, so as to implement the following steps:
[0270] Sending characteristic parameters of a first portion of pixels in a first image area to a terminal;
[0271] After the characteristic parameters of the first part of the pixels in the first image area are sent, the characteristic parameters of the first part of the pixels in the second image area are sent to the terminal;
[0272] After the characteristic parameters of the first part of the pixels in the second image area are sent, the characteristic parameters of the second part of the pixels in the first image area are sent to the terminal;
[0273] After the characteristic parameters of the second part of the pixels in the first image area are sent, the characteristic parameters of the second part of the pixels in the second image area are sent to the terminal;
[0274] Among them, the first part of pixels in the first image area is used to form a low-resolution first image area; the first part of pixels in the second image area is used to form a low-resolution second image area; the second part of pixels in the first image area is the pixels in the first image area except the first part of pixels; the second part of pixels in the second image area is the pixels in the second image area except the first part of pixels.
[0275] In other embodiments of the present invention, the one or more programs may be executed by one or more processors to sequentially send the first image area and the second image area to the terminal based on the sending order, so as to implement the following steps:
[0276] Sending characteristic parameters of a first portion of pixels in a first image area to a terminal;
[0277] After the characteristic parameters of the first part of the pixels in the first image area are sent, the characteristic parameters of the second part of the pixels in the first image area are sent to the terminal;
[0278] After the characteristic parameters of the second part of the pixels in the first image area are sent, the characteristic parameters of the first part of the pixels in the second image area are sent to the terminal;
[0279] After the characteristic parameters of the first part of the pixels in the second image area are sent, the characteristic parameters of the second part of the pixels in the second image area are sent to the terminal;
[0280] Among them, the first part of pixels in the first image area is used to form a low-resolution first image area; the first part of pixels in the second image area is used to form a low-resolution second image area; the second part of pixels in the first image area is the pixels in the first image area except the first part of pixels; the second part of pixels in the second image area is the pixels in the second image area except the first part of pixels.
[0281] Based on the foregoing embodiments, an embodiment of the present invention provides a computer-readable storage medium, which stores one or more programs. The one or more programs can be executed by one or more processors to implement the following steps:
[0282] Sending a request for obtaining an image to be displayed to a server; wherein the request carries an identifier of the image to be displayed;
[0283] The first image area and the second image area sent by the server in the order of sending are received in sequence and displayed; wherein the first image area and the second image area are obtained after the server identifies the image to be displayed corresponding to the identifier of the image to be displayed; the sending order is determined by the server.
[0284] It should be noted that the first processor or the second processor may be at least one of an application specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a central processing unit (CPU), a controller, a microcontroller, and a microprocessor. It is understandable that the electronic device that implements the functions of the first processor or the second processor may also be other, and the embodiments of the present invention do not specifically limit it.
[0285] It should be noted that the above-mentioned computer storage medium / memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory (Flash Memory), a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM) and other memories; it can also be various terminals including one or any combination of the above-mentioned memories, such as servers, terminals, mobile phones, computers, tablet devices, personal digital assistants, etc.
[0286] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0287] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0288] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a server, terminal, mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0289] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented from computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0290] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0291] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0292] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. An information processing method, characterized in that: The method comprises: A receiving terminal sends an acquisition request for acquiring an image to be displayed; wherein the acquisition request carries an identifier of the image to be displayed; and the image to be displayed includes a first object to be displayed and a second object to be displayed; Acquire characteristic parameters of a pixel point in the to-be-displayed image corresponding to the identifier based on the acquisition request; the characteristic parameters include position parameters and pixel parameters; The image to be displayed is identified by a saliency detection method based on characteristic parameters of pixels in the image to be displayed, and a first image region and a first saliency priority corresponding to the first image region, and a second image region and a second saliency priority corresponding to the second image region are obtained; wherein the first saliency priority is higher than the second saliency priority; wherein the first image region includes a first object to be displayed; and the second image region includes a second object to be displayed; and the saliency detection method is a planar vision saliency detection method or a stereoscopic vision saliency detection method; Determining a sending order based on the first significance priority and the second significance priority; Determine a first sending strategy for the first image area and a second sending strategy for the second image area; Based on the sending order, the first image area is sent to the terminal in accordance with the first sending strategy and the second image area is sent to the terminal in accordance with the second sending strategy.
2. The method according to claim 1, characterized in that The sending of the first image area to the terminal in a first sending strategy and a second image area to the terminal in a second sending strategy based on the sending order includes: determining at least two first sub-image regions from the first image region; determining a first sending priority for each first sub-image area; Each first sub-image area is sent to the terminal according to the first sending priority and the first sending strategy, and after the at least two first sub-image areas are sent, the second image area is sent to the terminal according to the second sending strategy.
3. The method according to claim 2, characterized in that The step of sending each first sub-image area to the terminal according to the first sending priority and the first sending strategy, and sending the second image area to the terminal according to the second sending strategy after the at least two first sub-image areas are sent, includes: determining at least two second sub-image regions from the second image region; determining a second sending priority for each second sub-image area; Sending each first sub-image area to the terminal according to the first sending priority and the first sending strategy; After the at least two first sub-image regions are sent, each second sub-image region is sent to the terminal according to the second sending priority and the second sending strategy.
4. The method according to claim 3, characterized in that The determining of the first sending priority of each first sub-image area includes: Performing scene analysis on each first sub-image area to obtain a first analysis result; determining a first sending priority for each first sub-image area based on the first analysis result; Accordingly, determining the second sending priority of each second sub-image area includes: Performing scene analysis on each second sub-image area to obtain a second analysis result; A second sending priority level of each second sub-image region is determined based on the second analysis result.
5. The method according to claim 1, characterized in that The sending of the first image area to the terminal in a first sending strategy and a second image area to the terminal in a second sending strategy based on the sending order includes: Respectively obtain a first grayscale value of a pixel point in the first image area and a second grayscale value of a pixel point in the second image area; Sending characteristic parameters of pixels in the first image area to the terminal in descending order of the first grayscale values; After the characteristic parameters of the pixels in the first image area are sent, the characteristic parameters of the pixels in the second image area are sent to the terminal in descending order of the second grayscale values.
6. The method according to claim 1, characterized in that The sending of the first image area to the terminal in a first sending strategy and a second image area to the terminal in a second sending strategy based on the sending order includes: Respectively obtain first position parameters of pixels in the first image area and second position parameters of pixels in the second image area; Sending characteristic parameters of pixels within the first image area to the terminal row by row based on the first position parameters; After the characteristic parameters of the pixels in the first image area are sent, the characteristic parameters of the pixels in the second image area are sent to the terminal row by row based on the second position parameters.
7. The method according to claim 1, characterized in that The sending of the first image area to the terminal in a first sending strategy and a second image area to the terminal in a second sending strategy based on the sending order includes: Sending characteristic parameters of a first portion of pixels in the first image area to the terminal; After the characteristic parameters of the first part of the pixels in the first image area are sent, the characteristic parameters of the first part of the pixels in the second image area are sent to the terminal; After the characteristic parameters of the first part of the pixels in the second image area are sent, the characteristic parameters of the second part of the pixels in the first image area are sent to the terminal; After the characteristic parameters of the second part of the pixels in the first image area are sent, the characteristic parameters of the second part of the pixels in the second image area are sent to the terminal; Among them, the first part of pixels in the first image area is used to form the first image area with low resolution; the first part of pixels in the second image area is used to form the second image area with low resolution; the second part of pixels in the first image area is the pixels in the first image area except the first part of pixels; the second part of pixels in the second image area is the pixels in the second image area except the first part of pixels.
8. The method according to claim 1, characterized in that The sending of the first image area to the terminal in a first sending strategy and a second image area to the terminal in a second sending strategy based on the sending order includes: Sending characteristic parameters of a first portion of pixels in the first image area to the terminal; After the characteristic parameters of the first part of the pixels in the first image area are sent, the characteristic parameters of the second part of the pixels in the first image area are sent to the terminal; After the characteristic parameters of the second part of the pixels in the first image area are sent, the characteristic parameters of the first part of the pixels in the second image area are sent to the terminal; After the characteristic parameters of the first part of the pixels in the second image area are sent, the characteristic parameters of the second part of the pixels in the second image area are sent to the terminal; Among them, the first part of pixels in the first image area is used to form the first image area with low resolution; the first part of pixels in the second image area is used to form the second image area with low resolution; the second part of pixels in the first image area is the pixels in the first image area except the first part of pixels; the second part of pixels in the second image area is the pixels in the second image area except the first part of pixels.
9. A server, characterized in that: The server comprises: a first processor, a first memory, and a first communication bus; The first communication bus is used to realize the communication connection between the first processor and the first memory; The first processor is used to execute the program of the information processing method in the first memory to implement the following steps: A receiving terminal sends an acquisition request for acquiring an image to be displayed; wherein the acquisition request carries an identifier of the image to be displayed; and the image to be displayed includes a first object to be displayed and a second object to be displayed; Acquire characteristic parameters of a pixel point in the to-be-displayed image corresponding to the identifier based on the acquisition request; the characteristic parameters include position parameters and pixel parameters; The image to be displayed is identified by a saliency detection method based on characteristic parameters of pixels in the image to be displayed, and a first image region and a first saliency priority corresponding to the first image region, and a second image region and a second saliency priority corresponding to the second image region are obtained; wherein the first saliency priority is higher than the second saliency priority; wherein the first image region includes a first object to be displayed; and the second image region includes a second object to be displayed; and the saliency detection method is a planar vision saliency detection method or a stereoscopic vision saliency detection method; Determining a sending order based on the first significance priority and the second significance priority; Determine a first sending strategy for the first image area and a second sending strategy for the second image area; Based on the sending order, the first image area is sent to the terminal in accordance with the first sending strategy and the second image area is sent to the terminal in accordance with the second sending strategy.
10. A computer storage medium, characterized in that: The computer storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the information processing method as claimed in any one of claims 1 to 8.
Citation Information
Patent Citations
Image loading method and system
CN104391890A
Picture loading processing method and apparatus
CN104899060A