WO2020125014A1 - 一种信息处理方法、服务器、终端及计算机存储介质 - Google Patents

一种信息处理方法、服务器、终端及计算机存储介质 Download PDF

Info

Publication number
WO2020125014A1
WO2020125014A1 PCT/CN2019/097578 CN2019097578W WO2020125014A1 WO 2020125014 A1 WO2020125014 A1 WO 2020125014A1 CN 2019097578 W CN2019097578 W CN 2019097578W WO 2020125014 A1 WO2020125014 A1 WO 2020125014A1
Authority
WO
WIPO (PCT)
Prior art keywords
image area
image
displayed
terminal
pixels
Prior art date
Application number
PCT/CN2019/097578
Other languages
English (en)
French (fr)
Inventor
李格非
Original Assignee
北京京东尚科信息技术有限公司
北京京东世纪贸易有限公司
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 北京京东尚科信息技术有限公司, 北京京东世纪贸易有限公司 filed Critical 北京京东尚科信息技术有限公司
Priority to US17/415,954 priority Critical patent/US11782850B2/en
Publication of WO2020125014A1 publication Critical patent/WO2020125014A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/1605Handling requests for interconnection or transfer for access to memory bus based on arbitration
    • G06F13/161Handling requests for interconnection or transfer for access to memory bus based on arbitration with latency improvement
    • G06F13/1621Handling requests for interconnection or transfer for access to memory bus based on arbitration with latency improvement by maintaining request order
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2310/00Command of the display device
    • G09G2310/04Partial updating of the display screen
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/0252Improving the response speed
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2350/00Solving problems of bandwidth in display systems
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2370/00Aspects of data communication
    • G09G2370/02Networking aspects
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/14Display of multiple viewports

Definitions

  • the embodiment of the present invention is based on a Chinese patent application with an application number of 201811552592.2 and an application date of December 18, 2018, and claims the priority of the Chinese patent application.
  • the entire content of the Chinese patent application is hereby incorporated into this by way of introduction Invention Example.
  • the invention relates to the field of electronics and information technology, in particular to an information processing method, server, terminal and computer storage medium.
  • the terminal when the user needs to view the image to be displayed, the terminal mainly loads the display image for the user to view in the following ways: 1.
  • the image to be displayed is displayed after the entire image is loaded, in which the During the process, the user cannot see any image information; 2.
  • the terminal cannot display any image information to the user during the loading of the image.
  • the terminal In the second loading and displaying method, the terminal cannot first show the user an image including the object to be displayed. That is to say, in the related art, the terminal cannot display an image including the object to be displayed to the user first.
  • the embodiments of the present invention are expected to provide an information processing method, a server, a terminal, and a computer storage medium, to solve the problem that the terminal cannot display an image including the object to be displayed to the user first in the related art.
  • An information processing method includes:
  • 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; wherein, the first image area includes the first An object to be displayed; the second image area includes a second object to be displayed;
  • the acquiring the image to be displayed corresponding to the identifier based on the acquisition request, and identifying the image to be displayed to obtain the first image area and the second image area includes:
  • the determining the transmission order and sequentially transmitting the first image area and the second image area to the terminal according to the transmission order includes:
  • the first image area and the second image area are sequentially sent to the terminal.
  • the sequentially sending the first image area and the second image area to the terminal based on the sending sequence includes:
  • Each first sub-image area is transmitted to the terminal according to the first transmission priority, and after the transmission of the at least two first sub-image areas is completed, the second image area is transmitted to the terminal.
  • the 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, including:
  • each second sub-image area is sent to the terminal according to the second transmission priority.
  • the determining the first sending priority of each first sub-image area includes:
  • the determining the second sending priority of each second sub-image area includes:
  • the second transmission priority of each second sub-image area is determined based on the second analysis result.
  • the sequentially sending the first image area and the second image area to the terminal based on the sending sequence includes:
  • 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 according to the order of the second gray value from large to small.
  • the sequentially sending the first image area and the second image area to the terminal based on the sending sequence includes:
  • 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 line by line based on the second position parameter.
  • the sequentially sending the first image area and the second image area to the terminal based on the sending sequence includes:
  • the characteristic parameters of the first part of pixels in the first image area are sent, the characteristic parameters of the first part of pixels in the second image area are sent to the terminal;
  • the characteristic parameters of the first part of pixels in the second image area are sent, the characteristic parameters of the second part of pixels in the first image area are sent to the terminal;
  • the characteristic parameters of the second partial pixel in the first image area are sent, the characteristic parameters of the second partial pixel in the second image area are sent to the terminal;
  • the first partial pixel points in the first image area are used to form the low-resolution first image area; the first partial pixel points in the second image area are used to form the low-resolution second image Area; the second partial pixel point in the first image area is a pixel point other than the first partial pixel point in the first image area; the second partial pixel point in the second image area is the first Pixels in the second image area except for the pixels of the first part.
  • the sequentially sending the first image area and the second image area to the terminal based on the sending sequence includes:
  • the characteristic parameters of the first part of pixels in the first image area are sent, the characteristic parameters of the second part of pixels in the first image area are sent to the terminal;
  • the characteristic parameters of the second partial pixel in the first image area are sent, the characteristic parameters of the first partial pixel in the second image area are sent to the terminal;
  • the characteristic parameters of the first part of pixels in the second image area are sent, the characteristic parameters of the second part of pixels in the second image area are sent to the terminal;
  • the first partial pixel points in the first image area are used to form the low-resolution first image area; the first partial pixel points in the second image area are used to form the low-resolution second image Area; the second partial pixel point in the first image area is a pixel point other than the first partial pixel point in the first image area; the second partial pixel point in the second image area is the first Pixels in the second image area except for the pixels of the first part.
  • An information processing method includes:
  • Sequentially receiving and displaying the first image area and the second image area sequentially sent by the server according to the transmission order; wherein, the first image area and the second image area are Obtained by identifying the image to be displayed corresponding to the identifier of the image to be displayed; the sending order is determined by the server.
  • a server includes:
  • a first processor a first memory, and a first communication bus
  • the first communication bus is used to implement a 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:
  • 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; wherein, the first image area includes the first An object to be displayed; the second image area includes a second object to be displayed;
  • a terminal, the terminal includes:
  • a second processor a second memory, and a second communication bus
  • the second communication bus is used to implement a communication connection between the second processor and the second memory
  • the second processor is used to execute the program of the information processing method in the second memory to implement the following steps:
  • Sequentially receiving and displaying the first image area and the second image area sequentially sent by the server according to the transmission order; wherein, the first image area and the second image area are Obtained by identifying the image to be displayed corresponding to the identifier of the image to be displayed; the sending order is determined by the server.
  • 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 information processing method described above.
  • the server receives an acquisition request sent by a terminal to acquire an image to be displayed including a first object to be displayed and a second object to be displayed, based on the acquisition request Obtain an image to be displayed corresponding to the identifier, and identify 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 first Two objects to be displayed, and sequentially send the first image area and the second image area to the terminal in the order of transmission, so that the server can sequentially send the first image area and the second image area to the terminal in the order of transmission, so that the terminal can be based on the processor
  • the sending sequence receives the first image area and the second image area, so that the terminal can first show the user an image including the object to be displayed, thereby solving the problem that the terminal cannot first display an image including the object to be displayed to the user in the related art Problem;
  • FIG. 1 is a schematic flowchart of an information processing method according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of another information processing method according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of another information processing method according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of an information processing method according to another embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a server according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • An embodiment of the present invention provides an information processing method, which is applied to a server. As shown in FIG. 1, the method includes the following steps:
  • Step 101 Receive an acquisition request sent by a terminal for acquiring an image to be displayed.
  • the acquisition request carries the identifier of the image to be displayed; the image to be displayed includes the first object to be displayed and the second object to be displayed. In other embodiments, the acquisition request may also include terminal identification, terminal IP address, and 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 may include at least two objects. Among them, the object may be any object such as a portrait, an animal or a plant.
  • the terminal may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, 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.
  • the terminal may send an acquisition request for acquiring the image to be displayed to the server.
  • the acquisition request may be a request generated after the user operates on the image to be displayed. For example, when the user browses the webpage, the terminal does not load the image, but only displays the area corresponding to the image to be displayed on the terminal. The terminal may generate an acquisition request through the user's operation on the area.
  • the acquisition request may be a request generated by a terminal by a user inputting a target address on the terminal, where the target address may be a target IP address or a target domain name. For example, when a user inputs a target address on the terminal, the terminal sends an acquisition request to the server based on the target address, where the logo of the image to be displayed may correspond to the target address.
  • 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.
  • Step 102 Acquire an 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.
  • the first image area includes the first object to be displayed; the second image area includes the second object to be displayed.
  • the server may also perform the operation of extracting the logo of the image to be displayed from the acquisition request.
  • the server acquires an image to be displayed corresponding to the identification based on the acquisition request, and identifies the image to be displayed to obtain the first image area and the second image area . If the identifier obtained by the server needs to obtain at least two images to be displayed, the server obtains at least two images to be displayed corresponding to the identifier based on the acquisition request, and recognizes each image to be displayed among the at least two images to be displayed The first image area and the second image area of each image to be displayed.
  • the identification token obtained by the server needs to be obtained as an example for illustration. It should be understood that when the logo representation needs to obtain at least two images to be displayed, the logo representation needs to obtain one image to be displayed. Similarly, the present invention will not repeat them here.
  • the server acquiring the image to be displayed corresponding to the identification based on the acquisition request may include: the server acquiring the characteristic parameters of pixels in the image to be displayed corresponding to the identification from local storage or an external device based on the acquisition request.
  • 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 pixels in the image to be displayed to obtain the first image area and the second image area.
  • the characteristic parameters may include position parameters and pixel parameters, and the pixel parameters may include at least one of parameters such as grayscale parameters, depth parameters, and color parameters.
  • 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 using a method of saliency detection to obtain the first image area and the second image area; wherein, the first The saliency priority of the image area is higher than that of the second image area.
  • 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 using a face recognition method to obtain the first image area and the second image area, wherein An image area represents the face area in the image to be displayed, and the second image area is an area other than the face in the image to be displayed.
  • identifying the image to be displayed to obtain the first image area and the second image area may include: identifying the foreground portion of the image to be displayed to obtain the first image area and the second image area, wherein the first image area Characterizing the foreground area of the image to be displayed, the second image area is an area of the image to be displayed other than the foreground area.
  • At least three image regions can be obtained by identifying the image to be displayed, which is not limited in the present invention.
  • Step 103 Determine the transmission order, and sequentially send the first image area and the second image area to the terminal according to the transmission order.
  • the transmission order may be determined based on the identification method when the image to be displayed is identified. For example, when the image to be displayed is recognized by the method of saliency detection, the sending order may be determined based on the saliency priority; when the image to be displayed is recognized by the method of face recognition, the sending order may be sent first or sent later The area characterized by the face; when the foreground part of the image to be displayed is identified, the sending order may be that the foreground part is sent first or later.
  • sequentially transmitting the first image area and the second image area to the terminal according to the transmission order includes sequentially transmitting the first image area and the second image area to the terminal.
  • sequentially transmitting the first image area and the second image area to the terminal according to the transmission sequence includes sequentially transmitting the second image area and the first image area to the terminal. It should be understood that sending the first image area and the second image area to the terminal in sequence may be sending the second image area to the terminal after the first image area has been sent, or may first send part of the first image area to The terminal then sends a partial area in the second image area to the terminal, then sends another partial area in the first image area to the terminal, and finally sends another partial area in the second image area to the terminal.
  • the server may sequentially send the first image area and the second image area to the terminal 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 that the terminal cannot display an image including the object to be displayed to the user first in the related art; in addition, since the operation of identifying the image to be displayed is performed on the server , Which can reduce the energy consumption and calculation of the terminal.
  • an embodiment of the present invention provides an information processing method, which is applied to a server. As shown in FIG. 2, the method includes the following steps:
  • Step 201 Receive an acquisition request sent by a terminal for acquiring an image to be displayed.
  • the acquisition request carries the identifier of the image to be displayed, and the image to be displayed includes the first object to be displayed and the second object to be displayed.
  • Step 202 Acquire an image to be displayed corresponding to the identifier based on the acquisition request.
  • Step 203 Recognize the image to be displayed by using the saliency detection method to obtain the first image area and the first saliency priority corresponding to the first image area, and the second image area and the second image area corresponding to the second image area Significance priority.
  • the first saliency priority is higher than the second saliency priority.
  • the saliency detection method in the embodiment of the present invention may be a plane visual saliency detection method or a stereoscopic saliency detection method.
  • a specific implementation manner of step 203 may be: the server recognizes the image A to be displayed by using a saliency detection method to obtain two image regions B and C, and the saliency priority corresponding to the image region B and the corresponding image region C Saliency priority, compare the saliency priority corresponding to image area B with the saliency priority corresponding to image area C, and take the saliency priority with high saliency priority as the first saliency priority,
  • the image area corresponding to the saliency priority with a high saliency priority is regarded as the first image area
  • the saliency priority with a low saliency priority of the two is regarded as the second saliency priority
  • the saliency priority is taken
  • the image area corresponding to the low saliency priority is used as the second image area.
  • Step 204 Determine the sending order based on the first saliency priority and the second saliency priority.
  • determining the sending order may include: based on the first saliency priority and the second The significance priority determines the order in which the first image area and the second image area are sent to the terminal in sequence.
  • Step 205 Based on the transmission order, sequentially transmit the first image area and the second image area to the terminal.
  • sequentially transmitting the first image area and the second image area to the terminal may include sequentially transmitting the attribute information of the image to be displayed, the first image area, and the second image area to the terminal based on the transmission order.
  • the attribute information of the image to be displayed is used to characterize the overall parameters of the image to be displayed.
  • the attribute information of the image to be displayed may include: the data amount of the image to be displayed, the storage space occupied by the image to be displayed, the size of the image to be displayed, and the image to be displayed. At least one of the resolution of the displayed image, the bit depth of the image to be displayed, and the number of pixels of the image to be displayed.
  • sequentially transmitting the first image area and the second image area to the terminal based on the transmission order may include: determining a first transmission strategy for the first image area and a second transmission strategy for the second image area; based on the transmission In order, the first image area and the second image transmission area are sent to the terminal with the first transmission strategy.
  • the first transmission strategy may be obtained based on the characteristic parameters of pixels in the first image area; the second transmission strategy may be obtained based on the characteristic parameters of pixels in the second image area.
  • Step A1 Obtain the first gray value of the pixels in the first image area and the second gray value of the pixels in the second image area, respectively.
  • respectively obtaining the first gray value of the pixel in the first image area and the second gray value of the pixel in the second image area may include: obtaining the first gray value of the pixel in the first image area and the The first position parameter, the second gray value of the pixel in the second image area, and the second position parameter.
  • Step A2 Send the characteristic parameters of the pixels in the first image area to the terminal according to the order of the first gray value.
  • the characteristic parameters in this step should include at least position parameters and gray parameters.
  • the characteristic parameters may also include depth parameters and/or color parameters.
  • the server may sort the acquired first gray values in order from large to small, and send the pixels in the first image area according to the order of the first gray values from large to small Characteristic parameters to the terminal. For example, the server may first send the characteristic parameters of pixels in the first image area with a first gray value of 255, and then send the characteristic parameters of pixels in the first image area with a first gray value of 254, until The characteristic parameters of the pixels in the first image area with a first gray value of 0 are sent. In this way, when receiving the first image area, the terminal may first receive the characteristic parameter of the pixel with the highest first gray value, so that the user first obtains the information of the pixel with the highest gray value in the first image area.
  • the server may divide the acquired first gray value into at least two gray ranges with different gray levels, and send the pixels in the gray range in order from gray to low Characteristic parameters to the terminal.
  • the server may divide the first gray value into a first gray range (200, 255), a second gray range (150, 200), a third gray range (100, 150), and a fourth gray
  • the range (50, 100) and the fifth gray range [0, 50] and sequentially send the characteristic parameters of the pixels in the first gray range, the characteristic parameters of the pixels in the second gray range, and the third gray
  • the characteristic parameters of the pixels in the range of degrees, the characteristic parameters of the pixels in the fourth gray range, and the characteristic parameters of the pixels in the fifth gray range are to the terminal.
  • 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 the order of the second gray value from large to small.
  • Step B1 Obtain the first position parameters of the pixels in the first image area and the second position parameters of the pixels in the second image area, respectively.
  • obtaining the first position parameters of the pixels in the first image area and the second position parameters of the pixels in the second image area separately may include: obtaining the first position parameters and pixel parameters of the pixels in the first image area, The second position parameter and pixel parameter of the pixel in the second image area.
  • the pixel parameters may include at least one of parameters such as gray parameters, depth parameters, and color parameters.
  • Step B2 Send the characteristic parameters of the pixels in the first image area to the terminal line by line based on the first position parameters.
  • 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 line by line based on the second position parameter.
  • a specific implementation manner in which the first image area and the second transmission strategy are used to transmit the first image area to the terminal according to the first transmission strategy may include: sequentially transmitting the first image area at a low resolution 2. Send the second image area at a low resolution, send the first image area at the original resolution, and send the second image area to the terminal at the original resolution.
  • the specific sending method please refer to the description of steps C1 to C4.
  • Step C1 Send the characteristic parameters of the first part of pixels in the first image area to the terminal.
  • the first partial pixel points in the first image area are used to form a low-resolution first image area.
  • the server may send the characteristic parameters of the pixels of the preset proportion in the first image area to the terminal.
  • the preset ratio can be selected according to the user's needs, for example, the preset ratio is 1/2, 1/4, 1/9, etc.
  • Step C2 After the characteristic parameters of the first portion of pixels in the first image area are sent, the characteristic parameters of the first portion of pixels in the second image area are sent to the terminal.
  • the first part of pixels in the second image area is used to form a low-resolution second image area.
  • the density of the first portion of pixels in the second image area may be the same as or different from the density of the first portion of pixels in the first image area. That is to say, the resolution of the image in the low-resolution first image area formed by the first partial pixels in the second image area and the low-resolution first image area formed by the first partial pixels in the second image area can be The same or different.
  • Step C3 After the characteristic parameters of the pixels in the first part of the second image area are sent, the characteristic parameters of the pixels in the second part of the first image area are sent to the terminal.
  • the second partial pixel point in the first image area is a pixel point other than the first partial pixel point in the first image area.
  • Step C4 After the characteristic parameters of the second partial pixel in the first image area are sent, the characteristic parameters of the second partial pixel in the second image area are sent to the terminal.
  • the second partial pixel point in the second image area is a pixel point other than the first partial pixel point in the second image area.
  • a specific implementation manner in which the first image area and the second transmission strategy are used to transmit the first image area to the terminal according to the first transmission strategy may include: sequentially transmitting the first image area at a low resolution 1. Send the first image area at the original resolution, send the second image area at the low resolution, and send the second image area to the terminal at the original resolution.
  • the specific sending method please refer to the description of steps D1 to D4.
  • Step D1 Send the characteristic parameters of the first part of pixels in the first image area to the terminal.
  • Step D2 After the characteristic parameters of the first part of pixels in the first image area are sent, the characteristic parameters of the second part of pixels in the first image area are sent to the terminal.
  • Step D3 After the characteristic parameters of the second portion of pixels in the first image area are sent, the characteristic parameters of the first portion of pixels in the second image area are sent to the terminal.
  • Step D4 After the characteristic parameters of the first part of pixels in the second image area are sent, the characteristic parameters of the second part of pixels in the second image area are sent to the terminal.
  • the server may sequentially send the first image area and the second image area to the terminal 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 that the terminal cannot display an image including the object to be displayed to the user first in the related art; in addition, since the operation of identifying the image to be displayed is performed on the server , Which can reduce the energy consumption and calculation of the terminal.
  • an embodiment of the present invention provides an information processing method, which is applied to a server. As shown in FIG. 3, the method includes the following steps:
  • Step 301 Receive an acquisition request sent by a terminal for acquiring an image to be displayed.
  • the acquisition request carries the logo 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.
  • Step 302 Acquire an image to be displayed corresponding to the identifier based on the acquisition request.
  • Step 303 Recognize the image to be displayed by using the saliency detection method to obtain the first image area and the first saliency priority corresponding to the first image area, and the second image area and the second image area corresponding to the second image area Significance priority.
  • the first saliency priority is higher than the second saliency priority.
  • the first image area includes a first object to be displayed; the second image area includes a second object to be displayed.
  • identifying the image to be displayed using the method of saliency detection may include: acquiring the attribute information of the image to be displayed, and if the attribute information of the image to be displayed meets a preset condition, using the method of saliency detection to perform the image to be displayed Identify.
  • 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 amount of the image to be displayed is less than the preset data amount, to be displayed The storage space occupied by the image 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 size of the image to be displayed The number of pixels is less than at least one of the preset number.
  • using the method of saliency detection to identify the image to be displayed may include: acquiring the network transmission rate between the terminal and the server, if the network transmission rate is less than the preset transmission rate, using the method of saliency detection to display Image recognition.
  • using the method of saliency detection to identify the image to be displayed may include: obtaining the attribute information of the image to be displayed, and obtaining the network transmission rate between the terminal and the server, if the attribute information of the image to be displayed is consistent with The preset conditions and the network transmission rate are less than the preset transmission rate, and the method of significance detection is used to identify the image to be displayed.
  • Step 304 Determine the sending order based on the first saliency priority and the second saliency priority.
  • Step 305 Determine at least two first sub-image areas from the first image area.
  • determining at least two first sub-image regions from the first image region may include: identifying the first image region by using a saliency detection method to obtain at least two first sub-regions and obtaining at least two The significance priority of the first subregion.
  • determining at least two first sub-image areas from the first image area may include: identifying the first image area by using an edge detection method to obtain at least two first sub-image areas.
  • determining at least two first sub-image areas from the first image area may include: dividing the first image area by a preset rule to obtain at least two first sub-image areas, where at least two The number of pixels in a sub-image area may be equal or different.
  • Step 306 Determine the first transmission priority of each first sub-image area.
  • determining the first transmission priority of each first sub-image area may include: performing scene analysis on each first sub-image area to obtain a first analysis result; determining each first based on the first analysis result The first transmission priority of the sub-image area.
  • performing scene analysis on each first sub-image area to obtain a first analysis result may include: based on feature parameters of pixels in each first sub-image area in at least two first sub-image areas, for each first Perform scene analysis on the sub-image area to obtain the first analysis result.
  • the first analysis result may be a scene result.
  • the server may pre-store a list of relationships between preset scenes and preset sending priorities. The correspondence between preset scenes and preset sending priorities can be set by the user. For example, preset scenes can include people, animals, buildings, For plants and other scenes, the processor may set the character to the highest level of transmission priority, set other scenes to the lowest level of transmission priority, and so on.
  • determining the first transmission priority of each first sub-image area based on the first analysis result may include: determining the first transmission priority of each first sub-image area based on the first analysis result and the relationship list.
  • the processor determines three image areas from the first image area, and performs scene analysis on the first image area to obtain the first image area to represent the person; performs scene analysis on the second image area to obtain the second The image area represents the building; performing scene analysis on the third image area to obtain the third image area representation pipeline, the processor will sequentially send the first image area, the second image area, and the third image area to the terminal.
  • determining the first transmission priority of each first sub-image region may include: determining each first sub-region based on the significance priority of at least two first sub-regions and at least two first sub-regions The first transmission priority of a sub-picture area.
  • the saliency priority may correspond to the first transmission priority, and the higher the saliency priority, the higher the first transmission priority.
  • determining the first transmission priority of each first sub-image area may include: obtaining an average gray value of pixels in each sub-image area of at least two first sub-image areas, based on the average The gray value determines the first transmission priority of each first sub-image area.
  • the average gray value may correspond to the first transmission priority. When the average gray value is higher, the first transmission priority is higher.
  • Step 307 Send each first sub-image area to the terminal according to the first transmission priority, and send the second image area to the terminal after at least two first sub-image areas have been sent.
  • sending each first sub-image area to the terminal according to the first transmission priority may include: sending each first sub-image area to the terminal line by line according to the first transmission priority.
  • transmitting each first sub-image area to the terminal according to the first transmission priority may include: transmitting the characteristic parameters of the first partial pixels in each first sub-image area to the terminal according to the first transmission priority , After the characteristic parameters of the first part of pixels in each first sub-image area are sent, send the characteristic parameters of the second part of pixels in each first sub-image area to the terminal; wherein, the characteristic parameters of the first part of pixels Used to form a low-resolution first sub-image area.
  • step 307 can refer to the description of steps E1 to E4.
  • Step E1 Determine at least two second sub-image areas from the second image area.
  • the implementation manner of determining the at least two second sub-image areas from the second image area may be similar to the implementation method of determining the at least two first sub-image areas from the first image area, and the specific implementation manner may refer to step 305 The description will not be repeated here.
  • Step E2 Determine the second transmission priority of each second sub-image area.
  • Determining the second transmission priority of each second sub-image area may include: performing scene analysis on each second sub-image area to obtain a second analysis result; determining the second of each second sub-image area based on the second analysis result Send priority.
  • the implementation manner of determining the second transmission priority of each second sub-image area may be similar to the implementation manner of determining the first transmission priority of each first sub-image area. For a specific implementation manner, refer to step 306 The description will not be repeated here.
  • Step E3 Send each first sub-image area to the terminal according to the first sending priority.
  • Step E4 After the transmission of the at least two first sub-image areas is completed, each second sub-image area is sent to the terminal according to the second transmission priority.
  • sending each second sub-image area to the terminal may be sending each second sub-image area to the terminal line by line. It is also possible to send the characteristic parameters of the second partial pixels of each second sub-image area to the terminal after sending the characteristic parameters of the first partial pixels of each second sub-image area to the terminal.
  • the server may sequentially send the first image area and the second image area to the terminal 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 that the terminal cannot display an image including the object to be displayed to the user first in the related art; in addition, since the operation of identifying the image to be displayed is performed on the server , Which can reduce the energy consumption and calculation of the terminal.
  • an embodiment of the present invention provides an information processing method, which is applied to a terminal. As shown in FIG. 4, the method includes the following steps:
  • Step 401 Send an acquisition request for acquiring an image to be displayed to the server.
  • the acquisition request carries the logo of the image to be displayed.
  • Step 402 Receive the first image area and the second image area sequentially sent by the server according to the sending order, and display it.
  • the first image area and the second image area are obtained after the server recognizes the image to be displayed corresponding to the identifier of the image to be displayed; the sending order is determined by the server.
  • Sequentially receiving the first image area and the second image area sequentially sent by the server according to the sending order, and displaying 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 first image area sent by the server in order of sending The second image area is displayed.
  • the terminal sequentially receives the first image area and the second image area sequentially transmitted by the server according to the transmission order, so that the terminal can first display an image including the object to be displayed to the user, which solves the problem
  • the user first presents a problem including the image of the object to be displayed; in addition, since there is no need to do any processing on the image, it is only necessary to receive the image data sent by the server, which can reduce the energy consumption and calculation amount of the terminal.
  • the server 5 may include: A processor 51, a first memory 52 and a first communication bus 53, wherein:
  • the first communication bus 53 is used to implement the communication connection between the first processor 51 and the first memory 52.
  • 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:
  • An acquisition request for acquiring an image to be displayed sent by the receiving terminal; wherein the acquisition request carries an 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;
  • the first image area includes the first object to be displayed;
  • the second image area includes the first Two objects to be displayed;
  • the first processor 51 is used to execute the acquisition of the image to be displayed corresponding to the identifier based on the acquisition request stored in the first memory 52, and identify the image to be displayed to obtain the first image area and the second Image area to achieve the following steps:
  • the first processor 51 is used to execute the determination of the transmission order stored in the first memory 52, and sequentially transmit the first image area and the second image area to the terminal according to the transmission order, so as to implement the following steps:
  • the first image area and the second image area are sequentially transmitted to the terminal.
  • the first processor 51 is used to execute the transmission sequence stored in the first memory 52 to sequentially transmit the first image area and the second image area to the terminal to achieve the following steps:
  • Each first sub-image area is transmitted to the terminal according to the first transmission priority, and after the transmission of at least two first sub-image areas is completed, the second image area is transmitted to the terminal.
  • the first processor 51 is configured to execute the transmission of each first sub-image area to the terminal according to the first transmission priority stored in the first memory 52, and at least two first sub-images After the area is sent, the second image area is sent to the terminal to achieve the following steps:
  • each second sub-image area is transmitted to the terminal according to the second transmission priority.
  • the first processor 51 is used to execute the determination of the first transmission priority of each first sub-image area stored in the first memory 52 to achieve the following steps:
  • the first processor 51 is configured to execute the second transmission priority level determined for each second sub-image area stored in the first memory 52 to achieve the following steps:
  • the second transmission priority of each second sub-image area is determined based on the second analysis result.
  • the first processor 51 is used to execute the first image area and the second image area to be sequentially sent to the terminal based on the transmission order stored in the first memory 52, so as to implement the following steps:
  • 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 the order of the second gray value from large to small.
  • the first processor 51 is used to execute the first image area and the second image area to be sequentially sent to the terminal based on the transmission order stored in the first memory 52, so as to implement the following steps:
  • 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 line by line based on the second position parameter.
  • the first processor 51 is used to execute the first image area and the second image area to be sequentially sent to the terminal based on the transmission order stored in the first memory 52, so as to implement the following steps:
  • the characteristic parameters of the first part of pixels in the first image area are sent, the characteristic parameters of the first part of pixels in the second image area are sent to the terminal;
  • the characteristic parameters of the first part of pixels in the second image area are sent, the characteristic parameters of the second part of pixels in the first image area are sent to the terminal;
  • the characteristic parameters of the second partial pixels in the first image area are sent, the characteristic parameters of the second partial pixels in the second image area are sent to the terminal;
  • the first partial pixel points in the first image area are used to form a low-resolution first image area; the first partial pixel points in the second image area are used to form a low-resolution second image area;
  • the two partial pixels are pixels in the first image area except for the first partial pixels; the second partial pixels in the second image area are pixels other than the first partial pixels in the second image area.
  • the first processor 51 is used to execute the first image area and the second image area to be sequentially sent to the terminal based on the transmission order stored in the first memory 52, so as to implement the following steps:
  • the characteristic parameters of the first part of pixels in the first image area are sent, the characteristic parameters of the second part of pixels in the first image area are sent to the terminal;
  • the characteristic parameters of the second portion of pixels in the first image area are sent, the characteristic parameters of the first portion of pixels in the second image area are sent to the terminal;
  • the characteristic parameters of the first part of pixels in the second image area are sent, the characteristic parameters of the second part of pixels in the second image area are sent to the terminal;
  • the first partial pixels in the first image area are used to form a low-resolution first image area; the first partial pixels in the second image area are used to form a low-resolution second image area;
  • the two partial pixels are pixels in the first image area except for the first partial pixels; the second partial pixels in the second image area are pixels other than the first partial pixels in the second image area.
  • the server may sequentially send the first image area and the second image area to the terminal 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 that the terminal cannot display an image including the object to be displayed to the user first in the related art; in addition, since the operation of identifying the image to be displayed is performed on the server , Which can reduce the energy consumption and calculation of the terminal.
  • embodiments of the present invention provide a terminal, which can be applied to an information processing method provided in the embodiment corresponding to FIG. 4, as shown in FIG. 6, the terminal 6 may include: a second process 61, the second memory 62 and the second communication bus 63, wherein:
  • the second communication bus 63 is used to realize the communication connection between the second processor 61 and the second memory 62.
  • 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:
  • the sending order is determined by the server.
  • embodiments of the present invention provide a computer-readable storage medium that stores one or more programs, and the one or more programs may be executed by one or more processors to implement The following steps:
  • An acquisition request for acquiring an image to be displayed sent by the receiving terminal; wherein the acquisition request carries an 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;
  • the first image area includes the first object to be displayed;
  • the second image area includes the first Two objects to be displayed;
  • the one or more programs may be executed by one or more processors to acquire 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 to achieve the following steps:
  • the one or more programs can be executed by one or more processors to determine the transmission order, and sequentially send the first image area and the second image area to the terminal according to the transmission order, so as to implement the following steps:
  • the first image area and the second image area are sequentially transmitted to the terminal.
  • 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:
  • Each first sub-image area is transmitted to the terminal according to the first transmission priority, and after the transmission of at least two first sub-image areas is completed, the second image area is transmitted to the terminal.
  • 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 transmission priority, and at least two first sub-images After the area is sent, the second image area is sent to the terminal to achieve the following steps:
  • each second sub-image area is transmitted to the terminal according to the second transmission priority.
  • the one or more programs may be executed by one or more processors to determine the first transmission priority of each first sub-image area to achieve the following steps:
  • the one or more programs can be executed by one or more processors to determine the second transmission priority of each second sub-image area, so as to implement the following steps:
  • the second transmission priority of each second sub-image area is determined based on the second analysis result.
  • 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:
  • 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 the order of the second gray value from large to small.
  • 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:
  • 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 line by line based on the second position parameter.
  • 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:
  • the characteristic parameters of the first part of pixels in the first image area are sent, the characteristic parameters of the first part of pixels in the second image area are sent to the terminal;
  • the characteristic parameters of the first part of pixels in the second image area are sent, the characteristic parameters of the second part of pixels in the first image area are sent to the terminal;
  • the characteristic parameters of the second partial pixels in the first image area are sent, the characteristic parameters of the second partial pixels in the second image area are sent to the terminal;
  • the first partial pixels in the first image area are used to form a low-resolution first image area; the first partial pixels in the second image area are used to form a low-resolution second image area;
  • the two partial pixels are pixels in the first image area except for the first partial pixels; the second partial pixels in the second image area are pixels other than the first partial pixels in the second image area.
  • 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:
  • the characteristic parameters of the first part of pixels in the first image area are sent, the characteristic parameters of the second part of pixels in the first image area are sent to the terminal;
  • the characteristic parameters of the second portion of pixels in the first image area are sent, the characteristic parameters of the first portion of pixels in the second image area are sent to the terminal;
  • the characteristic parameters of the first part of pixels in the second image area are sent, the characteristic parameters of the second part of pixels in the second image area are sent to the terminal;
  • the first partial pixels in the first image area are used to form a low-resolution first image area; the first partial pixels in the second image area are used to form a low-resolution second image area;
  • the two partial pixels are pixels in the first image area except for the first partial pixels; the second partial pixels in the second image area are pixels other than the first partial pixels in the second image area.
  • embodiments of the present invention provide a computer-readable storage medium that stores one or more programs, and the one or more programs may be executed by one or more processors to implement The following steps:
  • the sending order is determined by the server.
  • the first processor or the second processor may be an application specific integrated circuit (ASIC, Application Integrated Circuit), a digital signal processor (DSP, Digital Signal Processor), a digital signal processing device (DSPD, Digital Signal, Processing Device), Programmable Logic Device (PLD, Programmable Logic Device), Field Programmable Gate Array (FPGA, Field Programmable Array), Central Processing Unit (CPU, Central Processing Unit), controller, microcontroller, microcontroller At least one of the processors. Understandably, there may be other electronic devices that implement the functions of the first processor or the second processor, and the embodiments of the present invention are not specifically limited.
  • ASIC Application specific integrated circuit
  • DSP Digital Signal Processor
  • DSPD Digital Signal, Processing Device
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • CPU Central Processing Unit
  • controller microcontroller
  • microcontroller microcontroller At least one of the processors. Understandably, there may be other electronic devices that implement the functions of the first processor or the second processor, and the embodiments of the present invention are not specifically limited
  • the computer storage medium/memory can be read-only memory (Read Only Memory, ROM), programmable read-only memory (Programmable Read-Only Memory, PROM), erasable programmable read-only memory (Erasable Programmable) Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (Electrically, Programmable Read-Only Memory, EEPROM), Magnetic Random Access Memory (Ferromagnetic Random Access Memory, FRAM), Flash Memory (Flash Memory) , Magnetic surface memory, compact disc, or read-only compact disc (Compact Disc Read-Only Memory, CD-ROM) and other memories; it can also be a variety of terminals including one or any combination of the above memories, such as servers, terminals, mobile phones, Computers, tablet devices, personal digital assistants, etc.
  • the methods in the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware, but in many cases the former is better Implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or part that contributes to the existing technology, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk,
  • the CD-ROM includes several instructions to enable a terminal device (which may be a server, terminal, mobile phone, computer, server, air conditioner, or network device, etc.) to perform the methods described in the embodiments of the present application.
  • These computer program instructions may also be stored in a computer readable memory that can guide a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, the instructions
  • the device implements the functions specified in one block or multiple blocks of the flowchart one flow or multiple flows and/or block diagrams.
  • 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 performed on the computer or other programmable device to produce computer-implemented processing, which is executed on the computer or other programmable device
  • the instructions provide steps for implementing the functions specified in one block or multiple blocks of the flowchart one flow or multiple flows and/or block diagrams.
  • the server receives an acquisition request sent by the terminal to acquire the image to be displayed including the first object to be displayed and the second object to be displayed, and then, based on the acquisition request, acquires the image to be displayed corresponding to the identifier, Recognize 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; the second image area includes a second object to be displayed, and then, send according to Send the first image area and the second image area to the terminal in sequence, so that the server can sequentially send the first image area and the second image area to the terminal in the order of transmission, so that the terminal can receive the first image area based on the processor's transmission order And the second image area, so that the terminal can first display an image including the object to be displayed to the user, thereby solving the problem that the terminal cannot first display an image including the object to be displayed to the user in the related art; in addition, due to the image to be displayed
  • the identification operation is performed on the server

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Information Transfer Between Computers (AREA)
  • Processing Or Creating Images (AREA)

Abstract

本发明实施例公开了一种信息处理方法,所述方法包括:接收终端发送的用于获取待显示图像的获取请求;其中,所述获取请求中携带有所述待显示图像的标识;所述待显示图像中包括第一待显示对象和第二待显示对象;基于所述获取请求获取与所述标识对应的所述待显示图像,并对所述待显示图像进行识别得到第一图像区域和第二图像区域;其中,所述第一图像区域中包括第一待显示对象;所述第二图像区域中包括第二待显示对象;确定发送顺序,并按照所述发送顺序依次发送所述第一图像区域和所述第二图像区域至所述终端。本发明实施例同时还公开了一种服务器、终端及计算机存储介质。

Description

一种信息处理方法、服务器、终端及计算机存储介质
相关申请的交叉引用
本发明实施例基于申请号为201811552592.2、申请日为2018年12月18日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此以引入方式并入本发明实施例。
技术领域
本发明涉及电子与信息技术领域,尤其是涉及一种信息处理方法、服务器、终端及计算机存储介质。
背景技术
相关技术中,当用户需要查看待显示的图像时,终端主要通过以下方式加载显示图像以供用户查看:1、在整张图像加载完成后再对待显示的图像进行显示,其中,在图像加载的过程中用户看不到任何的图像信息;2、逐行加载并显示待显示的图像,使得图像可以从上到下进行依次显示。
但是,在第一种加载显示方法中,终端在加载图像的过程中不能向用户显示任何图像信息,在第二种加载显示方法中,终端不能先向用户展示一个包括待显示对象的图像。也就是说,相关技术中终端是无法向用户最先展示一个包括待显示对象的图像的。
发明内容
为解决上述技术问题,本发明实施例期望提供一种信息处理方法、服务器、终端及计算机存储介质,解决相关技术中终端无法向用户最先展示一个包括待显示对象的图像的问题。
本发明的技术方案是这样实现的:
一种信息处理方法,所述方法包括:
接收终端发送的用于获取待显示图像的获取请求;其中,所述获取请求中携带有所述待显示图像的标识;所述待显示图像中包括第一待显示对象和第二待显示对象;
基于所述获取请求获取与所述标识对应的所述待显示图像,并对所述待显示图像进行识别得到第一图像区域和第二图像区域;其中,所述第一图像区域中包括第一待显示对象;所述第二图像区域中包括第二待显示对象;
确定发送顺序,并按照所述发送顺序依次发送所述第一图像区域和所述第二图像区域至所述终端。
可选地,所述基于所述获取请求获取与所述标识对应的所述待显示图像,并对所述待显示图像进行识别得到第一图像区域和第二图像区域,包括:
基于所述获取请求获取与所述标识对应的所述待显示图像;
采用显著性检测的方法对所述待显示图像进行识别,得到所述第一图像区域和与所述第一图像区域对应的第一显著性优先级,以及所述第二图像区域和与所述第二图像区域对应的第二显著性优先级;其中,所述第一显著性优先级高于所述第二显著性优先级;
相应地,所述确定发送顺序,并按照所述发送顺序依次发送所述第一图像区域和所述第二图像区域至所述终端,包括:
基于所述第一显著性优先级和所述第二显著性优先级,确定所述发送顺序;
基于所述发送顺序,依次发送所述第一图像区域和所述第二图像区域至所述终端。
可选地,所述基于所述发送顺序,依次发送所述第一图像区域和所述第二图像区域至所述终端,包括:
从所述第一图像区域中确定至少两个第一子图像区域;
确定每一第一子图像区域的第一发送优先级;
按照所述第一发送优先级发送每一第一子图像区域至所述终端,并在所述至少两个第一子图像区域发送完成后,发送所述第二图像区域至所述终端。
可选地,所述按照所述第一发送优先级发送每一第一子图像区域至所述终端,并在所述至少两个第一子图像区域发送完成后,发送所述第二图像区域至所述终端,包括:
从所述第二图像区域中确定至少两个第二子图像区域;
确定每一第二子图像区域的第二发送优先级;
按照所述第一发送优先级发送每一第一子图像区域至所述终端;
在所述至少两个第一子图像区域发送完成后,按照所述第二发送优先级发送每一第二子图像区域至所述终端。
可选地,所述确定每一第一子图像区域的第一发送优先级,包括:
对每一第一子图像区域进行场景分析得到第一分析结果;
基于所述第一分析结果确定每一第一子图像区域的第一发送优先级;
相应地,所述确定每一第二子图像区域的第二发送优先级,包括:
对每一第二子图像区域进行场景分析得到第二分析结果;
基于所述第二分析结果确定每一第二子图像区域的第二发送优先级。
可选地,所述基于所述发送顺序,依次发送所述第一图像区域和所述第二图像区域至所述终端,包括:
分别获取所述第一图像区域内像素点的第一灰度值和所述第二图像区域内像素点的第二灰度值;
按照所述第一灰度值的从大到小的顺序,发送所述第一图像区域内像素点的特征参数至所述终端;
在所述第一图像区域内像素点的特征参数发送完成后,按照所述第二 灰度值从大到小的顺序发送所述第二图像区域内像素点的特征参数至所述终端。
可选地,所述基于所述发送顺序,依次发送所述第一图像区域和所述第二图像区域至所述终端,包括:
分别获取所述第一图像区域内像素点的第一位置参数和所述第二图像区域内像素点的第二位置参数;
基于所述第一位置参数逐行发送所述第一图像区域内像素点的特征参数至所述终端;
在所述第一图像区域内像素点的特征参数发送完成后,基于所述第二位置参数逐行发送所述第二图像区域内像素点的特征参数至所述终端。
可选地,所述基于所述发送顺序,依次发送所述第一图像区域和所述第二图像区域至所述终端,包括:
发送所述第一图像区域内第一部分像素点的特征参数至所述终端;
在所述第一图像区域内第一部分像素点的特征参数发送完成后,发送所述第二图像区域内第一部分像素点的特征参数至所述终端;
在所述第二图像区域内第一部分像素点的特征参数发送完成后,发送所述第一图像区域内第二部分像素点的特征参数至所述终端;
在所述第一图像区域内第二部分像素点的特征参数发送完成后,发送所述第二图像区域内第二部分像素点的特征参数至所述终端;
其中,所述第一图像区域内第一部分像素点用于形成低分辨率的所述第一图像区域;所述第二图像区域内第一部分像素点用于形成低分辨率的所述第二图像区域;所述第一图像区域内第二部分像素点为所述第一图像区域内除所述第一部分像素点外的像素点;所述第二图像区域内第二部分像素点为所述第二图像区域内除所述第一部分像素点外的像素点。
可选地,所述基于所述发送顺序,依次发送所述第一图像区域和所述第二图像区域至所述终端,包括:
发送所述第一图像区域内第一部分像素点的特征参数至所述终端;
在所述第一图像区域内第一部分像素点的特征参数发送完成后,发送所述第一图像区域内第二部分像素点的特征参数至所述终端;
在所述第一图像区域内第二部分像素点的特征参数发送完成后,发送所述第二图像区域内第一部分像素点的特征参数至所述终端;
在所述第二图像区域内第一部分像素点的特征参数发送完成后,发送所述第二图像区域内第二部分像素点的特征参数至所述终端;
其中,所述第一图像区域内第一部分像素点用于形成低分辨率的所述第一图像区域;所述第二图像区域内第一部分像素点用于形成低分辨率的所述第二图像区域;所述第一图像区域内第二部分像素点为所述第一图像区域内除所述第一部分像素点外的像素点;所述第二图像区域内第二部分像素点为所述第二图像区域内除所述第一部分像素点外的像素点。
一种信息处理方法,所述方法包括:
发送用于获取待显示图像的获取请求至服务器;其中,所述获取请求中携带有所述待显示图像的标识;
依次接收所述服务器按照发送顺序依次发送的所述第一图像区域和所述第二图像区域,并显示;其中,所述第一图像区域和所述第二图像区域是所述服务器对所述待显示图像的标识对应的待显示图像进行识别后得到的;所述发送顺序是所述服务器确定的。
一种服务器,所述服务器包括:
第一处理器、第一存储器和第一通信总线;
所述第一通信总线用于实现第一处理器和第一存储器之间的通信连接;
所述第一处理器用于执行第一存储器中的信息处理方法的程序,以实现以下步骤:
接收终端发送的用于获取待显示图像的获取请求;其中,所述获取请求中携带有所述待显示图像的标识;所述待显示图像中包括第一待显示对 象和第二待显示对象;
基于所述获取请求获取与所述标识对应的所述待显示图像,并对所述待显示图像进行识别得到第一图像区域和第二图像区域;其中,所述第一图像区域中包括第一待显示对象;所述第二图像区域中包括第二待显示对象;
确定发送顺序,并按照所述发送顺序依次发送所述第一图像区域和所述第二图像区域至所述终端。
一种终端,所述终端包括:
第二处理器、第二存储器和第二通信总线;
所述第二通信总线用于实现第二处理器和第二存储器之间的通信连接;
所述第二处理器用于执行第二存储器中的信息处理方法的程序,以实现以下步骤:
发送用于获取待显示图像的获取请求至服务器;其中,所述获取请求中携带有所述待显示图像的标识;
依次接收所述服务器按照发送顺序依次发送的所述第一图像区域和所述第二图像区域,并显示;其中,所述第一图像区域和所述第二图像区域是所述服务器对所述待显示图像的标识对应的待显示图像进行识别后得到的;所述发送顺序是所述服务器确定的。
一种计算机存储介质,该计算机存储介质存储有一个或者多个程序,一个或者多个程序可被一个或者多个处理器执行,以实现上述的信息处理方法的步骤。
本发明实施例所提供的信息处理方法、服务器、终端及计算机存储介质,服务器接收终端发送的用于获取包括第一待显示对象和第二待显示对象的待显示图像的获取请求,基于获取请求获取与标识对应的待显示图像,对待显示图像进行识别得到第一图像区域和第二图像区域,其中,所述第一图像区域中包括第一待显示对象;所述第二图像区域中包括第二待显示 对象,并按照发送顺序依次发送第一图像区域和第二图像区域至终端,如此,服务器可以按照发送顺序依次发送第一图像区域和第二图像区域至终端,从而终端能够基于处理器的发送顺序接收第一图像区域和第二图像区域,使得终端可以先向用户展示一个包括待显示对象的图像,进而解决了相关技术中终端无法向用户最先展示一个包括待显示对象的图像的问题;另外,由于对待显示图像进行识别的操作是在服务器上进行的,从而能够降低终端的能耗和计算量。
附图说明
图1为本发明实施例提供的一种信息处理方法的流程示意图;
图2为本发明实施例提供的另一种信息处理方法的流程示意图;
图3为本发明实施例提供的又一种信息处理方法的流程示意图;
图4为本发明另一实施例提供的一种信息处理方法的流程示意图;
图5为本发明实施例提供的一种服务器的结构示意图;
图6为本发明实施例提供的一种终端的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。
应理解,说明书通篇中提到的“本发明实施例”或“前述实施例”意味着与实施例有关的特定特征、结构或特性包括在本发明的至少一个实施例中。因此,在整个说明书各处出现的“本发明实施例中”或“在前述实施例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中应。在本发明的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构 成任何限定。上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
本发明实施例提供一种信息处理方法,应用于服务器,如图1所示,该方法包括以下步骤:
步骤101:接收终端发送的用于获取待显示图像的获取请求。
其中,获取请求中携带有待显示图像的标识;待显示图像中包括第一待显示对象和第二待显示对象。在其它实施例中,获取请求还可以包括终端标识、终端IP地址以及目标地址等信息。应理解,第一待显示对象或者第二待显示对象可以仅包括一个对象,也可以包括至少两个对象。其中,对象可以为人像、动物或者植物等任意对象。
在本发明实施例中,终端可以为手机、平板电脑、笔记本电脑、掌上电脑、个人数字助理、便捷式媒体播放器、导航装置、可穿戴设备、智能手环、计步器、数字TV或者台式计算机等。
当终端需要对待显示的图像进行显示时,终端可以向服务器发送用于获取待显示图像的获取请求。在一实施例中,获取请求可以是用户针对待显示的图像进行操作后产生的请求,例如,当用户浏览网页时,终端并不加载图像,只是在终端上显示与待显示图像对应的区域,终端可以通过用户针对该区域的操作产生获取请求。在另一实施例中,获取请求可以是终端通过用户在终端上输入目标地址而产生的请求,其中,目标地址可以为目标IP地址或者目标域名。例如,当用户在终端上输入目标地址时,终端基于该目标地址向服务器发送获取请求,其中,待显示的图像的标识可以与目标地址相对应。
在本发明实施例中,获取请求中可以携带有一个待显示图像的标识,也可以携带有至少两个待显示图像的标识。
步骤102:基于获取请求获取与标识对应的待显示图像,并对待显示图像进行识别得到第一图像区域和第二图像区域。
其中,第一图像区域中包括第一待显示对象;第二图像区域中包括第 二待显示对象。
在步骤102之前,服务器还可以执行从获取请求中提取待显示图像的标识的操作。
若服务器获取的标识表征需获取一张待显示图像,则服务器基于获取请求获取与标识对应的一张待显示图像,并对该一张待显示图像进行识别得到第一图像区域和第二图像区域。若服务器获取的标识表征需获取至少两张待显示图像,则服务器基于获取请求获取与标识对应的至少两张待显示图像,并对该至少两张待显示图像中每一待显示图像进行识别得到每一待显示图像的第一图像区域和第二图像区域。本发明实施例以服务器获取的标识表征需获取一张待显示图像为例进行说明,应理解,当标识表征需获取至少两张待显示图像时,与标识表征需获取一张待显示图像时的类似,本发明对此不作赘述。
服务器基于获取请求获取与标识对应的待显示图像可以包括:服务器基于获取请求从本地存储或者外部设备中获取与标识对应的待显示图像内像素点的特征参数。相应地,对待显示图像进行识别得到第一图像区域和第二图像区域可以包括:基于待显示图像内像素点的特征参数对待显示图像进行识别得到第一图像区域和第二图像区域。其中,特征参数可以包括位置参数和像素参数,像素参数可以包括灰度参数、深度参数以及颜色参数等参数中的至少一种。
在一实施例中,对待显示图像进行识别得到第一图像区域和第二图像区域可以包括:采用显著性检测的方法对待显示图像进行识别得到第一图像区域和第二图像区域;其中,第一图像区域的显著性优先级高于第二图像区域的显著性优先级。在另一实施例中,对待显示图像进行识别得到第一图像区域和第二图像区域可以包括:采用人脸识别的方法对待显示图像进行识别得到第一图像区域和第二图像区域,其中,第一图像区域表征待显示图像中的人脸区域,第二图像区域为待显示图像中除人脸之外的区域。 在又一实施例中,对待显示图像进行识别得到第一图像区域和第二图像区域可以包括:对待显示图像的前景部分进行识别得到第一图像区域和第二图像区域,其中,第一图像区域表征待显示图像的前景区域,第二图像区域为待显示图像中除前景区域之外的区域。
在其它实施例中,对待显示的图像进行识别还可以得到至少三个图像区域,本发明对此不作限定。
步骤103:确定发送顺序,并按照发送顺序依次发送第一图像区域和第二图像区域至终端。
发送顺序可以是基于对待显示图像进行识别时的识别方法确定。例如当采用显著性检测的方法对待显示图像进行识别时,发送顺序可以是基于显著性优先级确定;当采用人脸识别的方法对待显示图像进行识时,发送顺序可以是先发送或者后发送人脸所表征的区域;当对待显示图像的前景部分进行识别时,发送顺序可以是先发送或者后发送前景部分。
在本实施例中,按照发送顺序依次发送第一图像区域和第二图像区域至终端包括:依次发送第一图像区域和第二图像区域至终端。在其它实施中,按照发送顺序依次发送第一图像区域和第二图像区域至终端包括:依次发送第二图像区域和第一图像区域至终端。应理解,依次发送第一图像区域和第二图像区域至终端可以为,在第一图像区域发送完成后,发送第二图像区域至终端,也可以为先发送第一图像区域中的部分区域至终端,然后发送第二图像区域中的部分区域至终端,接着发送第一图像区域中的另一部分区域至终端,最后发送第二图像区域中的另一部分区域至终端。
在本发明实施例中,服务器可以按照发送顺序依次发送第一图像区域和第二图像区域至终端,从而终端能够基于处理器的发送顺序接收第一图像区域和第二图像区域,使得终端可以先向用户展示一个包括待显示对象的图像,进而解决了相关技术中终端无法向用户最先展示一个包括待显示对象的图像的问题;另外,由于对待显示图像进行识别的操作是在服务器 上进行的,从而能够降低终端的能耗和计算量。
基于前述实施例,本发明实施例提供一种信息处理方法,应用于服务器,如图2所示,该方法包括以下步骤:
步骤201:接收终端发送的用于获取待显示图像的获取请求。
其中,获取请求中携带有待显示图像的标识,待显示图像中包括第一待显示对象和第二待显示对象。
步骤202:基于获取请求获取与标识对应的待显示图像。
步骤203:采用显著性检测的方法对待显示图像进行识别,得到第一图像区域和与第一图像区域对应的第一显著性优先级,以及第二图像区域和与第二图像区域对应的第二显著性优先级。
其中,第一显著性优先级高于第二显著性优先级。
本发明实施例中的显著性检测的方法可以为平面视觉显著性检测方法,也可以为立体视觉显著性检测方法。
步骤203的一个具体的实施方式可以为:服务器采用显著性检测的方法对待显示图像A进行识别,得到两个图像区域B和C,以及图像区域B对应的显著性优先级和图像区域C对应的显著性优先级,比较图像区域B对应的显著性优先级和图像区域C对应的显著性优先级的高低,并将两者显著性优先级高的显著性优先级作为第一显著性优先级,并将显著性优先级高的显著性优先级对应的图像区域作为第一图像区域,以及将两者显著性优先级低的显著性优先级作为第二显著性优先级,并将显著性优先级低的显著性优先级对应的图像区域作为第二图像区域。
步骤204:基于第一显著性优先级和第二显著性优先级,确定发送顺序。
在第一显著性优先级高于第二显著性优先级的情况下,基于第一显著性优先级和第二显著性优先级,确定发送顺序可以包括:基于第一显著性优先级和第二显著性优先级,确定依次发送第一图像区域和第二图像区域至终端的发送顺序。
步骤205:基于发送顺序,依次发送第一图像区域和第二图像区域至终端。
基于发送顺序,依次发送第一图像区域和第二图像区域至终端可以包括:基于发送顺序,依次发送待显示图像的属性信息、第一图像区域以及第二图像区域至终端。其中,待显示图像的属性信息用于表征待显示图像的整体参数,待显示图像的属性信息可以包括:待显示图像的数据量、待显示图像所占的存储空间、待显示图像的尺寸、待显示图像的分辨率、待显示图像的位深度以及待显示图像的像素点的数量等至少一者。
在本发明实施例中,基于发送顺序,依次发送第一图像区域和第二图像区域至终端可以包括:确定第一图像区域的第一发送策略和第二图像区域的第二发送策略;基于发送顺序,以第一发送策略发送第一图像区域和第二发送策略发送第二图像区域至终端。
其中,第一发送策略可以基于第一图像区域内像素点的特征参数获取;第二发送策略可以基于第二图像区域内像素点的特征参数获取。
在一实施例中,基于发送顺序,以第一发送策略发送第一图像区域和第二发送策略发送第二图像区域至终端的具体实施方式可以参照步骤A1~A3的描述。
步骤A1:分别获取第一图像区域内像素点的第一灰度值和第二图像区域内像素点的第二灰度值。
其中,分别获取第一图像区域内像素点的第一灰度值和第二图像区域内像素点的第二灰度值可以包括:分别获取第一图像区域内像素点的第一灰度值和第一位置参数、第二图像区域内像素点的第二灰度值和第二位置参数。
步骤A2:按照第一灰度值的从大到小的顺序,发送第一图像区域内像素点的特征参数至终端。
其中,本步骤中的特征参数应至少包括位置参数和灰度参数。在其它 实施例中,特征参数还可以包括深度参数和/或颜色参数等。
在一种实施方式中,服务器可以将获取的第一灰度值按照从大到小的顺序进行排序,并按照第一灰度值的从大到小的顺序,发送第一图像区域内像素点的特征参数至终端。例如,服务器可以先发送第一灰度值为255的第一图像区域内像素点的特征参数,再发送第一灰度值为254的第一图像区域内像素点的特征参数,……,直至发送第一灰度值为0的第一图像区域内像素点的特征参数。如此,终端在接收第一图像区域时,可以先接收第一灰度值最高的像素点的特征参数,以使用户先获取第一图像区域中灰度值高的像素点信息。
在另一种实施方式中,服务器可以将获取的第一灰度值划分至灰度层次不同的至少两个灰度范围,并按照灰度层次从高到低的顺序发送灰度范围内像素点的特征参数至终端。例如,服务器可以将第一灰度值分别划分至第一灰度范围(200,255]、第二灰度范围(150,200]、第三灰度范围(100,150]、第四灰度范围(50,100]以及第五灰度范围[0,50],并依次发送第一灰度范围内的像素点的特征参数、第二灰度范围内的像素点的特征参数、第三灰度范围内的像素点的特征参数、第四灰度范围内的像素点的特征参数以及第五灰度范围内的像素点的特征参数至终端。
步骤A3:在第一图像区域内像素点的特征参数发送完成后,按照第二灰度值从大到小的顺序发送第二图像区域内像素点的特征参数至终端。
其中,按照第二灰度值从大到小的顺序发送第二图像区域内像素点的特征参数至终端的具体实施方式,可以与步骤A2中的类似,具体的实施方式可以参阅步骤A2中的描述,此处不作赘述。
在另一实施例中,基于发送顺序,以第一发送策略发送第一图像区域和第二发送策略发送第二图像区域至终端的具体实施方式可以参照步骤B1~B3的描述。
步骤B1:分别获取第一图像区域内像素点的第一位置参数和第二图像 区域内像素点的第二位置参数。
其中,分别获取第一图像区域内像素点的第一位置参数和第二图像区域内像素点的第二位置参数可以包括:分别获取第一图像区域内像素点的第一位置参数和像素参数、第二图像区域内像素点的第二位置参数和像素参数。其中,像素参数可以包括灰度参数、深度参数以及颜色参数等参数中的至少一种。
步骤B2:基于第一位置参数逐行发送第一图像区域内像素点的特征参数至终端。
步骤B3:在第一图像区域内像素点的特征参数发送完成后,基于第二位置参数逐行发送第二图像区域内像素点的特征参数至终端。
在又一实施例中,基于发送顺序,以第一发送策略发送第一图像区域和第二发送策略发送第二图像区域至终端的具体实施方式可以包括:依次以低分辨率发送第一图像区域、以低分辨率发送第二图像区域、以原分辨率发送第一图像区域、以原分辨率发送第二图像区域至终端。其中,具体的发送方法的可以参照步骤C1~C4的描述。
步骤C1:发送第一图像区域内第一部分像素点的特征参数至终端。
其中,第一图像区域内第一部分像素点用于形成低分辨率的第一图像区域。例如,服务器可以发送第一图像区域内预设比例的像素点的特征参数至终端。其中,预设比例可以根据用户的需求自行选择,例如,预设比例为1/2、1/4、1/9的等。
步骤C2:在第一图像区域内第一部分像素点的特征参数发送完成后,发送第二图像区域内第一部分像素点的特征参数至终端。
其中,第二图像区域内第一部分像素点用于形成低分辨率的第二图像区域。
第二图像区域内第一部分像素点的密度可以与第一图像区域内第一部分像素点的密度可以相同,也可以不同。也就是说,第二图像区域内第一 部分像素点形成的低分辨率的第一图像区域,和第二图像区域内第一部分像素点形成的低分辨率的第一图像区域中图像的分辨率可以相同,也可以不同。
步骤C3:在第二图像区域内第一部分像素点的特征参数发送完成后,发送第一图像区域内第二部分像素点的特征参数至终端。
其中,第一图像区域内第二部分像素点为第一图像区域内除第一部分像素点外的像素点。
步骤C4:在第一图像区域内第二部分像素点的特征参数发送完成后,发送第二图像区域内第二部分像素点的特征参数至终端。
其中,第二图像区域内第二部分像素点为第二图像区域内除第一部分像素点外的像素点。
在又一实施例中,基于发送顺序,以第一发送策略发送第一图像区域和第二发送策略发送第二图像区域至终端的具体实施方式可以包括:依次以低分辨率发送第一图像区域、以原分辨率发送第一图像区域、以低分辨率发送第二图像区域、以原分辨率发送第二图像区域至终端。其中,具体的发送方法的可以参照步骤D1~D4的描述。
步骤D1:发送第一图像区域内第一部分像素点的特征参数至终端。
步骤D2:在第一图像区域内第一部分像素点的特征参数发送完成后,发送第一图像区域内第二部分像素点的特征参数至终端。
步骤D3:在第一图像区域内第二部分像素点的特征参数发送完成后,发送第二图像区域内第一部分像素点的特征参数至终端。
步骤D4:在第二图像区域内第一部分像素点的特征参数发送完成后,发送第二图像区域内第二部分像素点的特征参数至终端。
需要说明的是,本实施例中与其它实施例中相同步骤和相同内容的说明,可以参照其它实施例中的描述,此处不再赘述。
在本发明实施例中,服务器可以按照发送顺序依次发送第一图像区域 和第二图像区域至终端,从而终端能够基于处理器的发送顺序接收第一图像区域和第二图像区域,使得终端可以先向用户展示一个包括待显示对象的图像,进而解决了相关技术中终端无法向用户最先展示一个包括待显示对象的图像的问题;另外,由于对待显示图像进行识别的操作是在服务器上进行的,从而能够降低终端的能耗和计算量。
基于前述实施例,本发明实施例提供一种信息处理方法,应用于服务器,如图3所示,该方法包括以下步骤:
步骤301:接收终端发送的用于获取待显示图像的获取请求。
其中,获取请求中携带有待显示图像的标识。待显示图像中包括第一待显示对象和第二待显示对象。
步骤302:基于获取请求获取与标识对应的待显示图像。
步骤303:采用显著性检测的方法对待显示图像进行识别,得到第一图像区域和与第一图像区域对应的第一显著性优先级,以及第二图像区域和与第二图像区域对应的第二显著性优先级。
其中,第一显著性优先级高于第二显著性优先级。其中,第一图像区域中包括第一待显示对象;第二图像区域中包括第二待显示对象。
在一实施例中,采用显著性检测的方法对待显示图像进行识别可以包括:获取待显示图像的属性信息,若待显示图像的属性信息符合预设条件,采用显著性检测的方法对待显示图像进行识别。待显示图像的属性信息符合预设条件可以与待显示图像的属性信息相对应,例如,待显示图像的属性信息符合预设条件可以包括:待显示图像的数据量小于预设数据量、待显示图像所占的存储空间小于预设存储空间、待显示图像的尺寸小于预设尺寸、待显示图像的分辨率小于预设分辨率、待显示图像的位深度小于预设位深度以及待显示图像的像素点的数量少于预设数量等至少一者。
在另一实施例中,采用显著性检测的方法对待显示图像进行识别可以包括:获取终端与服务器之间的网络传输速率,若网络传输速率小于预设 传输速率,采用显著性检测的方法对待显示图像进行识别。
在又一实施例中,采用显著性检测的方法对待显示图像进行识别可以包括:获取待显示图像的属性信息,并获取终端与服务器之间的网络传输速率,若获取待显示图像的属性信息符合预设条件且网络传输速率小于预设传输速率,采用显著性检测的方法对待显示图像进行识别。
步骤304:基于第一显著性优先级和第二显著性优先级,确定发送顺序。
步骤305:从第一图像区域中确定至少两个第一子图像区域。
在一实施例中,从第一图像区域中确定至少两个第一子图像区域可以包括:采用显著性检测的方法对第一图像区域进行识别得到至少两个第一子区域并得到至少两个第一子区域的显著性优先级。
在另一实施例中,从第一图像区域中确定至少两个第一子图像区域可以包括:采用边缘检测的方法对第一图像区域进行识别得到至少两个第一子图像区域。
在又一实施例中,从第一图像区域中确定至少两个第一子图像区域可以包括:以预设规则划分第一图像区域得到至少两个第一子图像区域,其中,至少两个第一子图像区域内像素点的数量可以相等,也可以不等。
步骤306:确定每一第一子图像区域的第一发送优先级。
在一实施例中,确定每一第一子图像区域的第一发送优先级可以包括:对每一第一子图像区域进行场景分析得到第一分析结果;基于第一分析结果确定每一第一子图像区域的第一发送优先级。
其中,对每一第一子图像区域进行场景分析得到第一分析结果可以包括:基于至少两个第一子图像区域中每一第一子图像区域内像素点的特征参数,对每一第一子图像区域进行场景分析得到第一分析结果。其中,第一分析结果可以为场景结果。服务器中可以预存有预设场景和预设发送优先级的关系列表,预设场景和预设发送优先级之间的对应关系用户可以自行设定,例如预设场景可以包括人物、动物、建筑、植物以及其它场景等, 处理器可以将人物设置为最高级别的发送优先级,将其它场景设置为最低高级别的发送优先级等等。
相应地,基于第一分析结果确定每一第一子图像区域的第一发送优先级可以包括:基于第一分析结果和关系列表,确定每一第一子图像区域的第一发送优先级。
例如,处理器从第一图像区域中确定出了三个图像区域,并对第一个图像区域进行场景分析得到第一个图像区域表征人物;对第二个图像区域进行场景分析得到第二个图像区域表征建筑;对第三个图像区域进行场景分析得到第三个图像区域表征流水,则处理器将依次发送第一个图像区域、第二个图像区域以及第三个图像区域至终端。
在另一实施例中,确定每一第一子图像区域的第一发送优先级可以包括:基于至少两个第一子区域和至少两个第一子区域的显著性优先级,确定每一第一子图像区域的第一发送优先级。其中,显著性优先级可以对应于第一发送优先级,当显著性优先级越高,第一发送优先级越高。
在又一实施例中,确定每一第一子图像区域的第一发送优先级可以包括:获取至少两个第一子图像区域中每一子图像区域内像素点的平均灰度值,基于平均灰度值确定每一第一子图像区域的第一发送优先级。其中,平均灰度值可以对应于第一发送优先级,当平均灰度值越高,第一发送优先级越高。
步骤307:按照第一发送优先级发送每一第一子图像区域至终端,并在至少两个第一子图像区域发送完成后,发送第二图像区域至终端。
在一实施例中,按照第一发送优先级发送每一第一子图像区域至终端可以包括:按照第一发送优先级逐行发送每一第一子图像区域至终端。在另一实施例中,按照第一发送优先级发送每一第一子图像区域至终端可以包括:按照第一发送优先级发送每一第一子图像区域内第一部分像素点的特征参数至终端,在每一第一子图像区域内第一部分像素点的特征参数发 送完成后,发送每一第一子图像区域内第二部分像素点的特征参数至终端;其中,第一部分像素点的特征参数用于形成低分辨率的第一子图像区域。
步骤307的具体实现方式可以参照步骤E1~E4的描述。
步骤E1:从第二图像区域中确定至少两个第二子图像区域。
从第二图像区域中确定至少两个第二子图像区域的实现方式,可以与从第一图像区域中确定至少两个第一子图像区域的实现方法类似,具体的实现方式可以参照步骤305中的描述,此处不再赘述。
步骤E2:确定每一第二子图像区域的第二发送优先级。
确定每一第二子图像区域的第二发送优先级可以包括:对每一第二子图像区域进行场景分析得到第二分析结果;基于第二分析结果确定每一第二子图像区域的第二发送优先级。
其中,确定每一第二子图像区域的第二发送优先级的实现方式,可以与确定每一第一子图像区域的第一发送优先级的实现方式类似,具体的实现方式可以参照步骤306中的描述,此处不再赘述。
步骤E3:按照第一发送优先级发送每一第一子图像区域至终端。
步骤E4:在至少两个第一子图像区域发送完成后,按照第二发送优先级发送每一第二子图像区域至终端。
相应地,发送每一第二子图像区域至终端可以为逐行发送每一第二子图像区域至终端。也可以为发送每一第二子图像区域的第一部分像素点的特征参数至终端后,发送每一第二子图像区域的第二部分像素点的特征参数至终端。
需要说明的是,本实施例中与其它实施例中相同步骤和相同内容的说明,可以参照其它实施例中的描述,此处不再赘述。
在本发明实施例中,服务器可以按照发送顺序依次发送第一图像区域和第二图像区域至终端,从而终端能够基于处理器的发送顺序接收第一图像区域和第二图像区域,使得终端可以先向用户展示一个包括待显示对象 的图像,进而解决了相关技术中终端无法向用户最先展示一个包括待显示对象的图像的问题;另外,由于对待显示图像进行识别的操作是在服务器上进行的,从而能够降低终端的能耗和计算量。
基于前述实施例,本发明实施例提供一种信息处理方法,应用于终端,如图4所示,该方法包括以下步骤:
步骤401:发送用于获取待显示图像的获取请求至服务器。
其中,获取请求中携带有待显示图像的标识。
步骤402:依次接收服务器按照发送顺序依次发送的第一图像区域和第二图像区域,并显示。
其中,第一图像区域和第二图像区域是服务器对待显示图像的标识对应的待显示图像进行识别后得到的;发送顺序是服务器确定的。
依次接收服务器按照发送顺序依次发送的第一图像区域和第二图像区域,并显示可以包括:接收服务器发送的待显示图像的属性信息后,依次接收服务器按照发送顺序依次发送的第一图像区域和第二图像区域,并显示。
需要说明的是,本实施例中与其它实施例中相同步骤和相同内容的说明,可以参照其它实施例中的描述,此处不再赘述。
在本发明实施例中,终端依次接收服务器按照发送顺序依次发送的第一图像区域和第二图像区域,从而终端可以先向用户显示一个包括待显示对象的图像,解决了相关技术中终端无法向用户最先展示一个包括待显示对象的图像的问题;另外,由于无需对图像作任何处理,只需接收服务器发送的图像数据即可,从而能够降低终端的能耗和计算量。
基于前述实施例,本发明的实施例提供一种服务器,该服务器可以应用于图1~3对应的实施例提供的一种信息处理方法中,参照图5所示,该服务器5可以包括:第一处理器51、第一存储器52和第一通信总线53,其中:
第一通信总线53用于实现第一处理器51和第一存储器52之间的通信连接。
第一处理器51用于执行第一存储器52中存储的信息处理方法的程序,以实现以下步骤:
接收终端发送的用于获取待显示图像的获取请求;其中,获取请求中携带有待显示图像的标识;待显示图像中包括第一待显示对象和第二待显示对象;
基于获取请求获取与标识对应的待显示图像,并对待显示图像进行识别得到第一图像区域和第二图像区域;其中,第一图像区域中包括第一待显示对象;第二图像区域中包括第二待显示对象;
确定发送顺序,并按照发送顺序依次发送第一图像区域和第二图像区域至终端。
在本发明的其他实施例中,第一处理器51用于执行第一存储器52中存储的基于获取请求获取与标识对应的待显示图像,并对待显示图像进行识别得到第一图像区域和第二图像区域,以实现以下步骤:
基于获取请求获取与标识对应的待显示图像;
采用显著性检测的方法对待显示图像进行识别,得到第一图像区域和与第一图像区域对应的第一显著性优先级,以及第二图像区域和与第二图像区域对应的第二显著性优先级;其中,第一显著性优先级高于第二显著性优先级;
相应的,第一处理器51用于执行第一存储器52中存储的确定发送顺序,并按照发送顺序依次发送第一图像区域和第二图像区域至终端,以实现以下步骤:
基于第一显著性优先级和第二显著性优先级,确定发送顺序;
基于发送顺序,依次发送第一图像区域和第二图像区域至终端。
在本发明的其他实施例中,第一处理器51用于执行第一存储器52中 存储的基于发送顺序,依次发送第一图像区域和第二图像区域至终端,以实现以下步骤:
从第一图像区域中确定至少两个第一子图像区域;
确定每一第一子图像区域的第一发送优先级;
按照第一发送优先级发送每一第一子图像区域至终端,并在至少两个第一子图像区域发送完成后,发送第二图像区域至终端。
在本发明的其他实施例中,第一处理器51用于执行第一存储器52中存储的按照第一发送优先级发送每一第一子图像区域至终端,并在至少两个第一子图像区域发送完成后,发送第二图像区域至终端,以实现以下步骤:
从第二图像区域中确定至少两个第二子图像区域;
确定每一第二子图像区域的第二发送优先级;
按照第一发送优先级发送每一第一子图像区域至终端;
在至少两个第一子图像区域发送完成后,按照第二发送优先级发送每一第二子图像区域至终端。
在本发明的其他实施例中,第一处理器51用于执行第一存储器52中存储的确定每一第一子图像区域的第一发送优先级,以实现以下步骤:
对每一第一子图像区域进行场景分析得到第一分析结果;
基于第一分析结果确定每一第一子图像区域的第一发送优先级;
相应地,第一处理器51用于执行第一存储器52中存储的确定每一第二子图像区域的第二发送优先级,以实现以下步骤:
对每一第二子图像区域进行场景分析得到第二分析结果;
基于第二分析结果确定每一第二子图像区域的第二发送优先级。
在本发明的其他实施例中,第一处理器51用于执行第一存储器52中存储的基于发送顺序,依次发送第一图像区域和第二图像区域至终端,以实现以下步骤:
分别获取第一图像区域内像素点的第一灰度值和第二图像区域内像素点的第二灰度值;
按照第一灰度值的从大到小的顺序,发送第一图像区域内像素点的特征参数至终端;
在第一图像区域内像素点的特征参数发送完成后,按照第二灰度值从大到小的顺序发送第二图像区域内像素点的特征参数至终端。
在本发明的其他实施例中,第一处理器51用于执行第一存储器52中存储的基于发送顺序,依次发送第一图像区域和第二图像区域至终端,以实现以下步骤:
分别获取第一图像区域内像素点的第一位置参数和第二图像区域内像素点的第二位置参数;
基于第一位置参数逐行发送第一图像区域内像素点的特征参数至终端;
在第一图像区域内像素点的特征参数发送完成后,基于第二位置参数逐行发送第二图像区域内像素点的特征参数至终端。
在本发明的其他实施例中,第一处理器51用于执行第一存储器52中存储的基于发送顺序,依次发送第一图像区域和第二图像区域至终端,以实现以下步骤:
发送第一图像区域内第一部分像素点的特征参数至终端;
在第一图像区域内第一部分像素点的特征参数发送完成后,发送第二图像区域内第一部分像素点的特征参数至终端;
在第二图像区域内第一部分像素点的特征参数发送完成后,发送第一图像区域内第二部分像素点的特征参数至终端;
在第一图像区域内第二部分像素点的特征参数发送完成后,发送第二图像区域内第二部分像素点的特征参数至终端;
其中,第一图像区域内第一部分像素点用于形成低分辨率的第一图像区域;第二图像区域内第一部分像素点用于形成低分辨率的第二图像区域; 第一图像区域内第二部分像素点为第一图像区域内除第一部分像素点外的像素点;第二图像区域内第二部分像素点为第二图像区域内除第一部分像素点外的像素点。
在本发明的其他实施例中,第一处理器51用于执行第一存储器52中存储的基于发送顺序,依次发送第一图像区域和第二图像区域至终端,以实现以下步骤:
发送第一图像区域内第一部分像素点的特征参数至终端;
在第一图像区域内第一部分像素点的特征参数发送完成后,发送第一图像区域内第二部分像素点的特征参数至终端;
在第一图像区域内第二部分像素点的特征参数发送完成后,发送第二图像区域内第一部分像素点的特征参数至终端;
在第二图像区域内第一部分像素点的特征参数发送完成后,发送第二图像区域内第二部分像素点的特征参数至终端;
其中,第一图像区域内第一部分像素点用于形成低分辨率的第一图像区域;第二图像区域内第一部分像素点用于形成低分辨率的第二图像区域;第一图像区域内第二部分像素点为第一图像区域内除第一部分像素点外的像素点;第二图像区域内第二部分像素点为第二图像区域内除第一部分像素点外的像素点。
需要说明的是,本实施例中第一处理器所执行的步骤的具体实现过程,可以参照图1~3对应的实施例提供的信息处理方法中的实现过程,此处不再赘述。
在本发明实施例中,服务器可以按照发送顺序依次发送第一图像区域和第二图像区域至终端,从而终端能够基于处理器的发送顺序接收第一图像区域和第二图像区域,使得终端可以先向用户展示一个包括待显示对象的图像,进而解决了相关技术中终端无法向用户最先展示一个包括待显示对象的图像的问题;另外,由于对待显示图像进行识别的操作是在服务器 上进行的,从而能够降低终端的能耗和计算量。
基于前述实施例,本发明的实施例提供一种终端,该终端可以应用于图4对应的实施例提供的一种信息处理方法中,参照图6所示,该终端6可以包括:第二处理器61、第二存储器62和第二通信总线63,其中:
第二通信总线63用于实现第二处理器61和第二存储器62之间的通信连接。
第二处理器61用于执行第二存储器62中存储的信息处理方法的程序,以实现以下步骤:
发送用于获取待显示图像的获取请求至服务器;其中,获取请求中携带有待显示图像的标识;
依次接收服务器按照发送顺序依次发送的第一图像区域和第二图像区域,并显示;其中,第一图像区域和第二图像区域是服务器对待显示图像的标识对应的待显示图像进行识别后得到的;发送顺序是服务器确定的。
需要说明的是,本实施例中第二处理器所执行的步骤的具体实现过程,可以参照图4对应的实施例提供的信息处理方法中的实现过程,此处不再赘述。
基于前述实施例,本发明的实施例提供一种计算机可读存储介质,计算机可读存储介质存储有一个或者多个程序,该一个或者多个程序可被一个或者多个处理器执行,以实现以下步骤:
接收终端发送的用于获取待显示图像的获取请求;其中,获取请求中携带有待显示图像的标识;待显示图像中包括第一待显示对象和第二待显示对象;
基于获取请求获取与标识对应的待显示图像,并对待显示图像进行识别得到第一图像区域和第二图像区域;其中,第一图像区域中包括第一待显示对象;第二图像区域中包括第二待显示对象;
确定发送顺序,并按照发送顺序依次发送第一图像区域和第二图像区 域至终端。
在本发明的其他实施例中,该一个或者多个程序可被一个或者多个处理器执行基于获取请求获取与标识对应的待显示图像,并对待显示图像进行识别得到第一图像区域和第二图像区域,以实现以下步骤:
基于获取请求获取与标识对应的待显示图像;
采用显著性检测的方法对待显示图像进行识别,得到第一图像区域和与第一图像区域对应的第一显著性优先级,以及第二图像区域和与第二图像区域对应的第二显著性优先级;其中,第一显著性优先级高于第二显著性优先级;
相应地,该一个或者多个程序可被一个或者多个处理器执行确定发送顺序,并按照发送顺序依次发送第一图像区域和第二图像区域至终端,以实现以下步骤:
基于第一显著性优先级和第二显著性优先级,确定发送顺序;
基于发送顺序,依次发送第一图像区域和第二图像区域至终端。
在本发明的其他实施例中,该一个或者多个程序可被一个或者多个处理器执行基于发送顺序,依次发送第一图像区域和第二图像区域至终端,以实现以下步骤:
从第一图像区域中确定至少两个第一子图像区域;
确定每一第一子图像区域的第一发送优先级;
按照第一发送优先级发送每一第一子图像区域至终端,并在至少两个第一子图像区域发送完成后,发送第二图像区域至终端。
在本发明的其他实施例中,该一个或者多个程序可被一个或者多个处理器执行按照第一发送优先级发送每一第一子图像区域至终端,并在至少两个第一子图像区域发送完成后,发送第二图像区域至终端,以实现以下步骤:
从第二图像区域中确定至少两个第二子图像区域;
确定每一第二子图像区域的第二发送优先级;
按照第一发送优先级发送每一第一子图像区域至终端;
在至少两个第一子图像区域发送完成后,按照第二发送优先级发送每一第二子图像区域至终端。
在本发明的其他实施例中,该一个或者多个程序可被一个或者多个处理器执行确定每一第一子图像区域的第一发送优先级,以实现以下步骤:
对每一第一子图像区域进行场景分析得到第一分析结果;
基于第一分析结果确定每一第一子图像区域的第一发送优先级;
相应地,该一个或者多个程序可被一个或者多个处理器执行确定每一第二子图像区域的第二发送优先级,以实现以下步骤:
对每一第二子图像区域进行场景分析得到第二分析结果;
基于第二分析结果确定每一第二子图像区域的第二发送优先级。
在本发明的其他实施例中,该一个或者多个程序可被一个或者多个处理器执行基于发送顺序,依次发送第一图像区域和第二图像区域至终端,以实现以下步骤:
分别获取第一图像区域内像素点的第一灰度值和第二图像区域内像素点的第二灰度值;
按照第一灰度值的从大到小的顺序,发送第一图像区域内像素点的特征参数至终端;
在第一图像区域内像素点的特征参数发送完成后,按照第二灰度值从大到小的顺序发送第二图像区域内像素点的特征参数至终端。
在本发明的其他实施例中,该一个或者多个程序可被一个或者多个处理器执行基于发送顺序,依次发送第一图像区域和第二图像区域至终端,以实现以下步骤:
分别获取第一图像区域内像素点的第一位置参数和第二图像区域内像素点的第二位置参数;
基于第一位置参数逐行发送第一图像区域内像素点的特征参数至终端;
在第一图像区域内像素点的特征参数发送完成后,基于第二位置参数逐行发送第二图像区域内像素点的特征参数至终端。
在本发明的其他实施例中,该一个或者多个程序可被一个或者多个处理器执行基于发送顺序,依次发送第一图像区域和第二图像区域至终端,以实现以下步骤:
发送第一图像区域内第一部分像素点的特征参数至终端;
在第一图像区域内第一部分像素点的特征参数发送完成后,发送第二图像区域内第一部分像素点的特征参数至终端;
在第二图像区域内第一部分像素点的特征参数发送完成后,发送第一图像区域内第二部分像素点的特征参数至终端;
在第一图像区域内第二部分像素点的特征参数发送完成后,发送第二图像区域内第二部分像素点的特征参数至终端;
其中,第一图像区域内第一部分像素点用于形成低分辨率的第一图像区域;第二图像区域内第一部分像素点用于形成低分辨率的第二图像区域;第一图像区域内第二部分像素点为第一图像区域内除第一部分像素点外的像素点;第二图像区域内第二部分像素点为第二图像区域内除第一部分像素点外的像素点。
在本发明的其他实施例中,该一个或者多个程序可被一个或者多个处理器执行基于发送顺序,依次发送第一图像区域和第二图像区域至终端,以实现以下步骤:
发送第一图像区域内第一部分像素点的特征参数至终端;
在第一图像区域内第一部分像素点的特征参数发送完成后,发送第一图像区域内第二部分像素点的特征参数至终端;
在第一图像区域内第二部分像素点的特征参数发送完成后,发送第二图像区域内第一部分像素点的特征参数至终端;
在第二图像区域内第一部分像素点的特征参数发送完成后,发送第二图像区域内第二部分像素点的特征参数至终端;
其中,第一图像区域内第一部分像素点用于形成低分辨率的第一图像区域;第二图像区域内第一部分像素点用于形成低分辨率的第二图像区域;第一图像区域内第二部分像素点为第一图像区域内除第一部分像素点外的像素点;第二图像区域内第二部分像素点为第二图像区域内除第一部分像素点外的像素点。
基于前述实施例,本发明的实施例提供一种计算机可读存储介质,计算机可读存储介质存储有一个或者多个程序,该一个或者多个程序可被一个或者多个处理器执行,以实现以下步骤:
发送用于获取待显示图像的获取请求至服务器;其中,获取请求中携带有待显示图像的标识;
依次接收服务器按照发送顺序依次发送的第一图像区域和第二图像区域,并显示;其中,第一图像区域和第二图像区域是服务器对待显示图像的标识对应的待显示图像进行识别后得到的;发送顺序是服务器确定的。
需要说明的是,上述第一处理器或第二处理器可以为特定用途集成电路(ASIC,Application Specific Integrated Circuit)、数字信号处理器(DSP,Digital Signal Processor)、数字信号处理装置(DSPD,Digital Signal Processing Device)、可编程逻辑装置(PLD,Programmable Logic Device)、现场可编程门阵列(FPGA,Field Programmable Gate Array)、中央处理器(CPU,Central Processing Unit)、控制器、微控制器、微处理器中的至少一种。可以理解地,实现上述第一处理器或第二处理器功能的电子器件还可以为其它,本发明实施例不作具体限定。
需要说明的是,上述计算机存储介质/存储器可以是只读存储器(Read Only Memory,ROM)、可编程只读存储器(Programmable Read-Only Memory,PROM)、可擦除可编程只读存储器(Erasable Programmable Read-Only  Memory,EPROM)、电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、磁性随机存取存储器(Ferromagnetic Random Access Memory,FRAM)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(Compact Disc Read-Only Memory,CD-ROM)等存储器;也可以是包括上述存储器之一或任意组合的各种终端,如服务器、终端、移动电话、计算机、平板设备、个人数字助理等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,从语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的型式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是服务器,终端,手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所描述的方法。
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可从计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。
工业实用性
本发明实施例中,首先,服务器接收终端发送的用于获取包括第一待显示对象和第二待显示对象的待显示图像的获取请求,然后,基于获取请求获取与标识对应的待显示图像,对待显示图像进行识别得到第一图像区域和第二图像区域,其中,所述第一图像区域中包括第一待显示对象;所述第二图像区域中包括第二待显示对象,接着,按照发送顺序依次发送第一图像区域和第二图像区域至终端,如此,服务器可以按照发送顺序依次发送第一图像区域和第二图像区域至终端,从而终端能够基于处理器的发 送顺序接收第一图像区域和第二图像区域,使得终端可以先向用户展示一个包括待显示对象的图像,进而解决了相关技术中终端无法向用户最先展示一个包括待显示对象的图像的问题;另外,由于对待显示图像进行识别的操作是在服务器上进行的,从而能够降低终端的能耗和计算量。

Claims (13)

  1. 一种信息处理方法,所述方法包括:
    接收终端发送的用于获取待显示图像的获取请求;其中,所述获取请求中携带有所述待显示图像的标识;所述待显示图像中包括第一待显示对象和第二待显示对象;
    基于所述获取请求获取与所述标识对应的所述待显示图像,并对所述待显示图像进行识别得到第一图像区域和第二图像区域;其中,所述第一图像区域中包括第一待显示对象;所述第二图像区域中包括第二待显示对象;
    确定发送顺序,并按照所述发送顺序依次发送所述第一图像区域和所述第二图像区域至所述终端。
  2. 根据权利要求1所述的方法,所述基于所述获取请求获取与所述标识对应的所述待显示图像,并对所述待显示图像进行识别得到第一图像区域和第二图像区域,包括:
    基于所述获取请求获取与所述标识对应的所述待显示图像;
    采用显著性检测的方法对所述待显示图像进行识别,得到所述第一图像区域和与所述第一图像区域对应的第一显著性优先级,以及所述第二图像区域和与所述第二图像区域对应的第二显著性优先级;其中,所述第一显著性优先级高于所述第二显著性优先级;
    相应地,所述确定发送顺序,并按照所述发送顺序依次发送所述第一图像区域和所述第二图像区域至所述终端,包括:
    基于所述第一显著性优先级和所述第二显著性优先级,确定所述发送顺序;
    基于所述发送顺序,依次发送所述第一图像区域和所述第二图像区域至所述终端。
  3. 根据权利要求2所述的方法,所述基于所述发送顺序,依次发送所述第一图像区域和所述第二图像区域至所述终端,包括:
    从所述第一图像区域中确定至少两个第一子图像区域;
    确定每一第一子图像区域的第一发送优先级;
    按照所述第一发送优先级发送每一第一子图像区域至所述终端,并在所述至少两个第一子图像区域发送完成后,发送所述第二图像区域至所述终端。
  4. 根据权利要求3所述的方法,所述按照所述第一发送优先级发送每一第一子图像区域至所述终端,并在所述至少两个第一子图像区域发送完成后,发送所述第二图像区域至所述终端,包括:
    从所述第二图像区域中确定至少两个第二子图像区域;
    确定每一第二子图像区域的第二发送优先级;
    按照所述第一发送优先级发送每一第一子图像区域至所述终端;
    在所述至少两个第一子图像区域发送完成后,按照所述第二发送优先级发送每一第二子图像区域至所述终端。
  5. 根据权利要求4所述的方法,所述确定每一第一子图像区域的第一发送优先级,包括:
    对每一第一子图像区域进行场景分析得到第一分析结果;
    基于所述第一分析结果确定每一第一子图像区域的第一发送优先级;
    相应地,所述确定每一第二子图像区域的第二发送优先级,包括:
    对每一第二子图像区域进行场景分析得到第二分析结果;
    基于所述第二分析结果确定每一第二子图像区域的第二发送优先级。
  6. 根据权利要求2所述的方法,所述基于所述发送顺序,依次发送所述第一图像区域和所述第二图像区域至所述终端,包括:
    分别获取所述第一图像区域内像素点的第一灰度值和所述第二图像区域内像素点的第二灰度值;
    按照所述第一灰度值的从大到小的顺序,发送所述第一图像区域内像素点的特征参数至所述终端;
    在所述第一图像区域内像素点的特征参数发送完成后,按照所述第二灰度值从大到小的顺序发送所述第二图像区域内像素点的特征参数至所述终端。
  7. 根据权利要求2所述的方法,所述基于所述发送顺序,依次发送所述第一图像区域和所述第二图像区域至所述终端,包括:
    分别获取所述第一图像区域内像素点的第一位置参数和所述第二图像区域内像素点的第二位置参数;
    基于所述第一位置参数逐行发送所述第一图像区域内像素点的特征参数至所述终端;
    在所述第一图像区域内像素点的特征参数发送完成后,基于所述第二位置参数逐行发送所述第二图像区域内像素点的特征参数至所述终端。
  8. 根据权利要求2所述的方法,所述基于所述发送顺序,依次发送所述第一图像区域和所述第二图像区域至所述终端,包括:
    发送所述第一图像区域内第一部分像素点的特征参数至所述终端;
    在所述第一图像区域内第一部分像素点的特征参数发送完成后,发送所述第二图像区域内第一部分像素点的特征参数至所述终端;
    在所述第二图像区域内第一部分像素点的特征参数发送完成后,发送所述第一图像区域内第二部分像素点的特征参数至所述终端;
    在所述第一图像区域内第二部分像素点的特征参数发送完成后,发送所述第二图像区域内第二部分像素点的特征参数至所述终端;
    其中,所述第一图像区域内第一部分像素点用于形成低分辨率的所述第一图像区域;所述第二图像区域内第一部分像素点用于形成低分辨率的所述第二图像区域;所述第一图像区域内第二部分像素点为所述第一图像区域内除所述第一部分像素点外的像素点;所述第二图像区域内第二部分 像素点为所述第二图像区域内除所述第一部分像素点外的像素点。
  9. 根据权利要求2所述的方法,所述基于所述发送顺序,依次发送所述第一图像区域和所述第二图像区域至所述终端,包括:
    发送所述第一图像区域内第一部分像素点的特征参数至所述终端;
    在所述第一图像区域内第一部分像素点的特征参数发送完成后,发送所述第一图像区域内第二部分像素点的特征参数至所述终端;
    在所述第一图像区域内第二部分像素点的特征参数发送完成后,发送所述第二图像区域内第一部分像素点的特征参数至所述终端;
    在所述第二图像区域内第一部分像素点的特征参数发送完成后,发送所述第二图像区域内第二部分像素点的特征参数至所述终端;
    其中,所述第一图像区域内第一部分像素点用于形成低分辨率的所述第一图像区域;所述第二图像区域内第一部分像素点用于形成低分辨率的所述第二图像区域;所述第一图像区域内第二部分像素点为所述第一图像区域内除所述第一部分像素点外的像素点;所述第二图像区域内第二部分像素点为所述第二图像区域内除所述第一部分像素点外的像素点。
  10. 一种信息处理方法,所述方法包括:
    发送用于获取待显示图像的获取请求至服务器;其中,所述获取请求中携带有所述待显示图像的标识;
    依次接收所述服务器按照发送顺序依次发送的所述第一图像区域和所述第二图像区域,并显示;其中,所述第一图像区域和所述第二图像区域是所述服务器对所述待显示图像的标识对应的待显示图像进行识别后得到的;所述发送顺序是所述服务器确定的。
  11. 一种服务器,所述服务器包括:
    第一处理器、第一存储器和第一通信总线;
    所述第一通信总线用于实现第一处理器和第一存储器之间的通信连接;
    所述第一处理器用于执行第一存储器中的信息处理方法的程序,以实 现以下步骤:
    接收终端发送的用于获取待显示图像的获取请求;其中,所述获取请求中携带有所述待显示图像的标识;所述待显示图像中包括第一待显示对象和第二待显示对象;
    基于所述获取请求获取与所述标识对应的所述待显示图像,并对所述待显示图像进行识别得到第一图像区域和第二图像区域;其中,所述第一图像区域中包括第一待显示对象;所述第二图像区域中包括第二待显示对象;
    确定发送顺序,并按照所述发送顺序依次发送所述第一图像区域和所述第二图像区域至所述终端。
  12. 一种终端,所述终端包括:
    第二处理器、第二存储器和第二通信总线;
    所述第二通信总线用于实现第二处理器和第二存储器之间的通信连接;
    所述第二处理器用于执行第二存储器中的信息处理方法的程序,以实现以下步骤:
    发送用于获取待显示图像的获取请求至服务器;其中,所述获取请求中携带有所述待显示图像的标识;
    依次接收所述服务器按照发送顺序依次发送的所述第一图像区域和所述第二图像区域,并显示;其中,所述第一图像区域和所述第二图像区域是所述服务器对所述待显示图像的标识对应的待显示图像进行识别后得到的;所述发送顺序是所述服务器确定的。
  13. 一种计算机存储介质,所述计算机存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现如权利要求1至9任一项或10中所述的信息处理方法的步骤。
PCT/CN2019/097578 2018-12-18 2019-07-24 一种信息处理方法、服务器、终端及计算机存储介质 WO2020125014A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/415,954 US11782850B2 (en) 2018-12-18 2019-07-24 Information processing method, server, terminal, and computer storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811552592.2 2018-12-18
CN201811552592.2A CN111339459A (zh) 2018-12-18 2018-12-18 一种信息处理方法、服务器、终端及计算机存储介质

Publications (1)

Publication Number Publication Date
WO2020125014A1 true WO2020125014A1 (zh) 2020-06-25

Family

ID=71102469

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/097578 WO2020125014A1 (zh) 2018-12-18 2019-07-24 一种信息处理方法、服务器、终端及计算机存储介质

Country Status (3)

Country Link
US (1) US11782850B2 (zh)
CN (1) CN111339459A (zh)
WO (1) WO2020125014A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115150390B (zh) * 2022-06-27 2024-04-09 山东信通电子股份有限公司 一种图像显示方法、装置、设备及介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080071877A1 (en) * 1998-10-28 2008-03-20 Beach Mark J Apparatus for priority transmission and display of key areas of image data
CN103514241A (zh) * 2012-12-07 2014-01-15 Tcl集团股份有限公司 图片加载方法及系统
CN104391890A (zh) * 2014-11-10 2015-03-04 广东欧珀移动通信有限公司 图片加载方法及系统

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9679075B1 (en) * 2014-04-30 2017-06-13 Instart Logic, Inc. Efficient delivery of animated image files
US9507806B1 (en) * 2014-04-30 2016-11-29 Instart Logic, Inc. Efficient delivery of image files
CN104899060B (zh) * 2015-05-20 2017-12-15 天脉聚源(北京)教育科技有限公司 一种图片加载处理方法和装置
EP3299811B1 (en) * 2015-05-22 2020-04-15 Konica Minolta, Inc. Image processing device, image processing method, and program for image processing
KR101701294B1 (ko) * 2015-05-29 2017-02-01 라인 가부시키가이샤 이미지 뷰 바인딩의 최적화를 위한 시스템 및 방법
US10325363B2 (en) * 2016-01-15 2019-06-18 Instrumental, Inc. Methods for automatically generating a common measurement across multiple assembly units
KR102499203B1 (ko) * 2017-11-06 2023-02-13 삼성전자 주식회사 신뢰도에 기반하여 객체를 인식하는 전자 장치 및 방법

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080071877A1 (en) * 1998-10-28 2008-03-20 Beach Mark J Apparatus for priority transmission and display of key areas of image data
CN103514241A (zh) * 2012-12-07 2014-01-15 Tcl集团股份有限公司 图片加载方法及系统
CN104391890A (zh) * 2014-11-10 2015-03-04 广东欧珀移动通信有限公司 图片加载方法及系统

Also Published As

Publication number Publication date
US20220075583A1 (en) 2022-03-10
US11782850B2 (en) 2023-10-10
CN111339459A (zh) 2020-06-26

Similar Documents

Publication Publication Date Title
CN109146892B (zh) 一种基于美学的图像裁剪方法及装置
CN108961303B (zh) 一种图像处理方法、装置、电子设备和计算机可读介质
CN110163076B (zh) 一种图像数据处理方法和相关装置
WO2022134584A1 (zh) 房产图片验证方法、装置、计算机设备及存储介质
US11461999B2 (en) Image object detection method, device, electronic device and computer readable medium
WO2021012382A1 (zh) 配置聊天机器人的方法、装置、计算机设备和存储介质
CN110675940A (zh) 病理图像标注方法、装置、计算机设备及存储介质
CN108961183B (zh) 图像处理方法、终端设备及计算机可读存储介质
CN112651953B (zh) 图片相似度计算方法、装置、计算机设备及存储介质
WO2019056503A1 (zh) 门店监控评价方法、装置及存储介质
CN110298785A (zh) 图像美化方法、装置及电子设备
WO2019148923A1 (zh) 一种以图搜图方法、装置、电子设备及存储介质
TWI711004B (zh) 圖片處理方法和裝置
CN114298902A (zh) 一种图像对齐方法、装置、电子设备和存储介质
WO2022002262A1 (zh) 基于计算机视觉的字符序列识别方法、装置、设备和介质
WO2022206729A1 (zh) 视频封面选择方法、装置、计算机设备和存储介质
CN112651333A (zh) 静默活体检测方法、装置、终端设备和存储介质
CN113222921A (zh) 一种图像处理方法及系统
WO2022063321A1 (zh) 图像处理方法、装置、设备及存储介质
EP3461138B1 (en) Processing method and terminal
CN110633733A (zh) 图像智能匹配方法、装置及计算机可读存储介质
WO2020125014A1 (zh) 一种信息处理方法、服务器、终端及计算机存储介质
WO2024139700A9 (zh) 建筑物识别方法、装置及设备
CN114170366B (zh) 基于点线特征融合的三维重建方法及电子设备
CN111292247A (zh) 图像处理方法和装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19898615

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 01/10/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19898615

Country of ref document: EP

Kind code of ref document: A1