CN110659372A - Picture input and access method, device and equipment - Google Patents

Picture input and access method, device and equipment Download PDF

Info

Publication number
CN110659372A
CN110659372A CN201910902498.3A CN201910902498A CN110659372A CN 110659372 A CN110659372 A CN 110659372A CN 201910902498 A CN201910902498 A CN 201910902498A CN 110659372 A CN110659372 A CN 110659372A
Authority
CN
China
Prior art keywords
picture
interest
region
area
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910902498.3A
Other languages
Chinese (zh)
Inventor
易元建
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced Nova Technology Singapore Holdings Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201910902498.3A priority Critical patent/CN110659372A/en
Publication of CN110659372A publication Critical patent/CN110659372A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/53Querying
    • G06F16/532Query formulation, e.g. graphical querying

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The embodiment of the specification discloses a method, a device and equipment for inputting and accessing pictures. Wherein, the scheme includes: after the picture to be recorded is obtained, the interest region in the picture to be recorded is detected, the region information of the interest region in the picture is further determined, and mapping data corresponding to the picture to be recorded is generated according to the region information, so that the picture to be recorded can be recorded into a storage system according to the mapping data, and the interest region in the recorded picture can be accessed according to the mapping data.

Description

Picture input and access method, device and equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method, an apparatus, and a device for inputting and accessing pictures.
Background
The client often needs to take pictures from the content server in order to load and present the pictures to the user.
At present, in the field of computers, because files of pictures are often large, a large amount of byte data is needed to represent the pictures, for example, a large amount of binary data is needed to represent the pictures, and thus when a client acquires the pictures, for example, during network transmission, a large amount of traffic needs to be occupied, which easily causes long transmission time, network congestion, and low network transmission efficiency and experience.
In the prior art, a picture format with a low data occupation amount, such as a WebP (picture format for accelerating the picture loading speed), is often used to improve the network transmission efficiency and experience of pictures.
Disclosure of Invention
In view of this, embodiments of the present disclosure provide a method, an apparatus, and a device for picture entry and access, which are used for enabling a client of a user to effectively obtain picture content (i.e., an interest area) that the user pays attention to, so as to expand applicability of a picture in different application scenes, support application of the picture in more devices, and also support the picture to have more display forms, thereby improving application efficiency and application experience of the picture.
The embodiment of the specification adopts the following technical scheme:
an embodiment of the present specification provides a picture entry method, including:
acquiring a picture to be input;
detecting an interest area in the picture to be recorded;
determining the area information of the interest area in the picture to be recorded;
generating mapping data corresponding to the picture to be input according to the region information according to a preset generation strategy, wherein the mapping data comprises path information for accessing an interest region in the picture to be input after the picture to be input is input;
and inputting the picture to be input into a storage system according to the mapping data.
An embodiment of the present specification further provides a picture access method, including:
obtaining layout parameters, wherein the layout parameters comprise parameters of exhibition positions for displaying target pictures;
acquiring mapping data corresponding to the target picture, wherein the mapping data comprises path information which is generated according to the region information of the region of interest in the target picture and a preset generation strategy and is used for accessing the region of interest in the target picture;
acquiring the region information of the interest region from the mapping data;
calculating an adjustment parameter corresponding to the interest region according to the acquired region information and the layout parameter;
adding the adjustment parameters into an access request, and sending the access request to a server to request the server to acquire the interest area;
and receiving result information returned by the server end in response to the access request, wherein the result information comprises result data corresponding to the interest area in the target picture generated by the server end according to the adjustment parameter and the interest area in the target picture.
An embodiment of the present specification further provides a picture access method, including:
receiving an access request of a client, wherein the access request is used for requesting to acquire an interest region in a target picture, the access request comprises an adjustment parameter, and the adjustment parameter is a parameter which is calculated and determined by the client according to a layout parameter and region information of the interest region and is used for adjusting the interest region;
acquiring the interest area and the adjustment parameter according to the access request;
adjusting the interest area according to the adjusting parameters;
and returning the adjusted interest area as result information to the client to respond to the access request.
The embodiment of the specification further provides a picture input device which comprises an acquisition module, a detection module, a determination module, a generation module and an input module;
the acquisition module is used for acquiring a picture to be input;
the detection module is used for detecting an interest area in the picture to be recorded;
the determining module is used for determining the area information of the interest area in the picture to be input;
the generation module is used for generating mapping data corresponding to the picture to be input according to the region information according to a preset generation strategy, wherein the mapping data comprises path information used for accessing an interest region in the picture to be input after the picture to be input is input;
the input module is used for inputting the picture to be input into a storage system according to the mapping data.
The embodiment of the present specification further provides an image access device, which includes an obtaining module, a calculating module, a requesting module and a receiving module;
the acquisition module is used for acquiring layout parameters, and the layout parameters comprise parameters of exhibition positions for displaying the target picture;
the obtaining module is further configured to obtain mapping data corresponding to the target picture, where the mapping data includes path information, generated according to a preset generation policy and used for accessing an interest region in the target picture, according to region information of the interest region in the target picture;
the obtaining module is further configured to obtain region information of the region of interest from the mapping data;
the calculation module is used for calculating an adjustment parameter corresponding to the interest region according to the acquired region information and the layout parameter;
the request module is used for adding the adjustment parameters into an access request and sending the access request to a server so as to request the server to acquire the interest area;
the receiving module is used for receiving result information returned by the server end in response to the access request, wherein the result information comprises result data corresponding to the interest area in the target picture generated by the server end according to the adjustment parameter and the interest area in the target picture.
The embodiment of the present specification further provides an image access device, which includes a receiving module, an obtaining module, an adjusting module and a response module;
the receiving module is used for receiving an access request of a client, wherein the access request is used for requesting to acquire an interest region in a target picture, the access request comprises an adjusting parameter, and the adjusting parameter is a parameter which is calculated and determined by the client according to a layout parameter and region information of the interest region and is used for adjusting the interest region;
the obtaining module is used for obtaining the interest area and the adjusting parameter according to the access request;
the adjusting module is used for adjusting the interest area according to the adjusting parameters;
the response module is used for returning the adjusted interest area serving as result information to the client so as to respond to the access request.
An embodiment of the present specification further provides an electronic device for entering a picture, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
acquiring a picture to be input;
detecting an interest area in the picture to be recorded;
determining the area information of the interest area in the picture to be recorded;
generating mapping data corresponding to the picture to be input according to the region information according to a preset generation strategy, wherein the mapping data comprises path information for accessing an interest region in the picture to be input after the picture to be input is input;
and inputting the picture to be input into a storage system according to the mapping data.
An embodiment of the present specification further provides an electronic device for accessing a picture, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
obtaining layout parameters, wherein the layout parameters comprise parameters of exhibition positions for displaying target pictures;
acquiring mapping data corresponding to the target picture, wherein the mapping data comprises path information which is generated according to the region information of the region of interest in the target picture and a preset generation strategy and is used for accessing the region of interest in the target picture;
acquiring the region information of the interest region from the mapping data;
calculating an adjustment parameter corresponding to the interest region according to the acquired region information and the layout parameter;
adding the adjustment parameters into an access request, and sending the access request to a server to request the server to acquire the interest area;
and receiving result information returned by the server end in response to the access request, wherein the result information comprises result data corresponding to the interest area in the target picture generated by the server end according to the adjustment parameter and the interest area in the target picture.
An embodiment of the present specification further provides an electronic device for accessing a picture, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
receiving an access request of a client, wherein the access request is used for requesting to acquire an interest region in a target picture, the access request comprises an adjustment parameter, and the adjustment parameter is a parameter which is calculated and determined by the client according to a layout parameter and region information of the interest region and is used for adjusting the interest region;
acquiring the interest area and the adjustment parameter according to the access request;
adjusting the interest area according to the adjusting parameters;
and returning the adjusted interest area as result information to the client to respond to the access request.
The embodiment of the specification adopts at least one technical scheme which can achieve the following beneficial effects: after the picture to be recorded is obtained, detecting and identifying the interest region in the picture to be recorded, further determining the region information of the interest region in the picture, generating mapping data corresponding to the picture to be recorded according to the region information, and recording the picture to be recorded into a storage system according to the mapping data. Therefore, in the subsequent access of the picture, the interest region in the picture can be directly accessed according to the mapping data, and the non-interest region in the picture is ignored, so that the subsequent processing of the interest region is facilitated, the application efficiency and the user experience of the picture can be improved, the applicability of the picture in different application scenes can be expanded, the picture can be applied to more devices, the picture can be displayed in more display forms, and the application efficiency and the application experience of the picture can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present specification, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative effort.
Fig. 1 is an overall idea schematic diagram of a picture entry method provided in an embodiment of the present specification.
Fig. 2 is a flowchart of a picture entry method provided in an embodiment of the present specification.
Fig. 3 is a flowchart of a picture entry method provided in an embodiment of the present specification.
Fig. 4 is a schematic structural diagram of a picture recording device provided in an embodiment of the present specification.
Fig. 5 is a flowchart of a picture access method provided in an embodiment of the present specification.
Fig. 6 is a schematic structural diagram of a picture access device according to an embodiment of the present disclosure.
Fig. 7 is a flowchart of a picture access method provided in an embodiment of the present specification.
Fig. 8 is a schematic structural diagram of a picture access device according to an embodiment of the present disclosure.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any inventive step based on the embodiments of the present disclosure, shall fall within the scope of protection of the present application.
In the prior art, the efficiency and experience of the client side when acquiring the pictures from the content server side can be improved by adopting a new picture format to transmit and process the pictures.
However, the inventor finds in practical application that, on one hand, in a client, many picture application scenes often only need a key area (i.e., an interest area) that a user focuses on in a picture, rather than all pictures, for example, in a live broadcast application, fan pays more attention to a face part in the picture, on the other hand, the client also has many layout restrictions when displaying the picture, and layout restrictions of different clients are different, and at this time, adjustment (for example, clipping and zooming) operations need to be performed on the obtained picture before displaying, but after the adjustment operations, the picture display effect is often not ideal, for example, the picture is deformed after zooming, and for example, part of the content is lost due to improper clipping of the picture. Therefore, how to enable the client of the user to effectively obtain the picture content focused by the user is an urgent problem to be solved in the picture application.
Based on the above, the inventor provides a method, a device and equipment for inputting and accessing pictures. In the picture inputting scheme, the overall thought shown in fig. 1 can be adopted, after the picture to be input is obtained, the key area, namely the interest area, concerned by the user in the picture to be input is identified, so that the area information of the interest area in the picture is determined, and the mapping data corresponding to the picture to be input is generated, so that the picture to be input can be stored (i.e. input) into the storage system according to the mapping data. Therefore, in the subsequent access of the picture, the interest region in the picture can be directly accessed according to the mapping data, and the non-interest region in the picture is ignored, so that the subsequent processing of the interest region is facilitated, and the application efficiency and the user experience of the picture can be improved.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
An embodiment of the present specification provides a picture entry method, as shown in fig. 2, which may include:
and S102, acquiring a picture to be recorded.
The picture to be recorded is a picture related to an application scene, for example, in a live scene, the picture to be recorded may be a picture in live broadcasting.
In a specific implementation, the picture to be recorded can be obtained from a picture library, a video stream, and other resources containing the picture to be recorded, and a description thereof is omitted here.
In an embodiment, in order to obtain the picture to be input, the picture to be input may be further uploaded to a pre-specified file library to be processed in advance, where the file library to be processed may include a database for storing files, and the database may be a distributed database or a centralized database, which is not limited specifically here. Therefore, the picture to be recorded can be obtained from the file library to be processed.
And S104, detecting the interest area in the picture to be recorded.
The interest area includes a part of the picture to be entered, which is focused by the user, and the value of the part is often regarded as the largest part in the picture in a picture application scene, for example, in a picture application that needs to highlight the facial expression of a person in the picture, a face part belongs to the interest area in the picture.
In a specific implementation, detecting the interest region may be performed by detecting whether the image includes the interest region, and then one or more of a square, a circle, an ellipse, an irregular polygon, and the like may be adopted to outline the interest region, so as to facilitate subsequent processing of the interest region.
In a specific implementation, the method for detecting the interest region may be selected according to an actual application scenario, for example, the position of the interest region in the picture is known, and at this time, the interest region may be directly detected according to known position information, and for example, the position of the interest region in the picture is unknown, and at this time, the detection needs to be performed according to the feature of an interest target, for example, the interest target is a human face, and at this time, the interest regions in the picture may be detected one by using a human face model, which is not described herein.
And S106, determining the area information of the interest area in the picture to be recorded.
The region information is used to represent information of a region to which the region of interest belongs in the picture to be recorded, and at this time, the region information may include one or more of position information of the region of interest in the picture to be recorded, a shape and a size of the region of interest, and a number of the region of interest.
And S108, generating mapping data of the interest region in the picture to be recorded according to the region information according to a preset generation strategy.
The mapping data comprises path information used for accessing the interest area in the picture to be recorded after the picture to be recorded is recorded, for example, the mapping data is a file name (namely the path name of the position where the picture to be recorded is located) corresponding to the recorded picture, and the file name comprises the area information of the interest area, so that the interest area can be directly accessed according to the file name; the generation policy may be preset according to an access path required for accessing the picture to be recorded, which is recorded in the storage system in practical application, for example, in the foregoing example, the access path information is a file name, and the generation rule is a generation rule of the file name, which is not described here one by one.
And S110, inputting the picture to be input into a storage system according to the mapping data.
The storage system may include a database, and the form of the database is not limited in the present application.
Through the steps S102 to S110, after the interest region in the picture to be recorded is detected, the region information of the interest region in the picture to be recorded is further determined, so that mapping data of the interest region in the picture to be recorded is generated according to the region information, and the picture to be recorded is recorded into the storage system according to the mapping data. Therefore, in the subsequent processing, the interest region in the picture to be recorded can be accessed directly according to the mapping data, the non-interest region in the picture can be ignored, and further, in the subsequent processing, the interest region can be effectively processed, so that the application efficiency and the user experience of the picture can be improved.
In one embodiment, the object (i.e. the object of interest) focused by the user may be predetermined according to the actual application scene, so as to quickly detect the interest region corresponding to the object of interest in the picture to be recorded according to the characteristics of the object of interest.
In one embodiment, the importance degrees of different interest objects in the picture can be divided according to the attention degree of the user to the interest objects, and then the interest region corresponding to the interest object with the highest importance degree is preferentially detected according to the importance degrees, so that the most concerned part of the user is preferentially processed, and other interest objects with low importance degrees can be ignored; and when the object of interest with the highest importance degree does not exist, detecting the interest area of the object of interest with the lower importance degree. Therefore, the interest areas with different attention degrees in the picture can be processed in a targeted manner, and the pertinence and the efficiency of processing can be improved.
Specifically, the step S104, namely, the detecting the region of interest in the picture to be recorded may include:
detecting whether a face area exists in the picture to be input;
when the face area exists in the picture to be recorded, taking the face area as an interest area;
when the face area does not exist in the picture to be recorded, detecting whether a preset target area exists in the picture to be recorded;
when the preset target area exists in the picture to be recorded, taking the preset target area as an interest area;
and when the preset target area does not exist in the picture to be recorded, taking the whole area of the picture to be recorded as an interest area.
For example, in an application scenario, the interest region may include a face region and a predetermined other important region (i.e., a predetermined target region), where the attention level of the face region is the highest, and the predetermined other target region is the next, at this time, the face region corresponding to the face may be detected first, and when the face does not exist in the picture, the other important region in the picture may be detected, and if the predetermined other important region does not exist in the picture, the whole picture is determined as the interest region by default.
In one embodiment, in order to facilitate accessing the region of interest in the picture to be recorded according to the mapping data, a file name may be used as the mapping data, that is, a file name used when the picture to be recorded is stored in the system is generated according to the region information of the region of interest. Specifically, the generating a policy includes a file name generating policy, and generating mapping data between the region information and the picture to be input according to a preset generating policy includes: generating a strategy according to a preset file name, and adding the region information into the file name of the picture to be recorded; and taking the file name of the picture to be input added with the area information as mapping data corresponding to the picture to be input.
In a specific implementation, the file name generation policy may be preset according to actual needs.
An application example is given here, and specifically, when information of a picture to be entered is added to a file name and a new file name is generated, an example of an encoding rule that can be adopted is as follows: type _ value, where type is used to identify the type (i.e., category) represented by the information, and can be predefined or extensible, and value is used to identify the value represented by the information.
For example, the original file name of the picture to be recorded is abcdefg.
When detecting related information (such as an interest region) in a picture to be input, and determining region information of the interest region, wherein the interest region is a face region, the region information includes position information of the face region and the number of faces, at this time, the region information of the face region is in a file name, type can identify the face, value can identify the region information, the position information of the face region is a long and wide region (length is 300, width is 80) starting from coordinates (200 ) at the upper left corner of the picture, and the number of faces is 2, at this time, a new file name generated by adopting the above coding method is adopted, and the result can be as follows:
abcdefg_r_1600x900_s_122098_f_x200y200w300h80c2.jpg。
wherein r _1600x900 represents that type is r (resolution), value is 1600x900, and represents that the resolution of the picture to be recorded is 1600x 900; similarly, s _122098 indicates that the file size (size) of the picture to be recorded is 122098 bytes, f identifies a face (face), x200y200w300h80c2 identifies a face region, which is a region with the start coordinate (x being 200 and y being 200) and the length and width being 300 × 80, wherein c2 identifies that the count value of the face is 2.
By encoding the related information of the picture to be input, such as the region information, into the file name in the subsequent input system, the picture to be input and the interest region in the picture to be input can be accessed according to the file name, and the general view of the region information corresponding to the interest region can be obtained from the file name.
In one embodiment, a uniform resource locator may also be employed as a representation of the mapping data. Specifically, the generating a policy includes a uniform resource locator generating policy, and generating mapping data corresponding to the to-be-input picture according to the region information according to a preset generating policy includes: generating a strategy according to a preset uniform resource locator, and adding the region information into the uniform resource locator corresponding to the picture to be input; and taking the uniform resource locator corresponding to the picture to be input added with the area information as mapping data corresponding to the picture to be input.
In specific implementation, the uniform resource locator generation policy may be preset according to actual application, and the specific encoding manner and encoding process may also be preset according to application.
It should be noted that, in the specific process of using the representation form of the uniform resource locator, except that the name of the uniform resource locator after encoding needs to meet the relevant requirements of the uniform resource locator, other encoding processes may refer to the above-mentioned relevant description of using the representation form of the file name, and are not described herein again.
In an embodiment, the mapping data may be further stored in an access information stream of the picture, so that the client acquires region information of a region of interest in the picture from the information stream, and further determines the display layout according to the region information. For example, the aforementioned file name and/or uniform resource locator is put into the access information stream corresponding to the picture, where the access information stream includes information for accessing the picture.
For ease of understanding, an example illustration of a picture entry method incorporating a filename and a uniform resource locator as representations of the mapping data is given herein.
In an assumed example, the attention degree of a face region is the highest in an interest region in a picture to be recorded, the preset target region is the second order, the attention degree of the whole picture to be recorded is the lowest, a file name containing region information is used as the file name of the picture to be recorded in a storage system, and after recording, a uniform resource locator for accessing the picture to be recorded is generated, so that the picture to be recorded can be accessed by directly using the uniform resource locator during accessing.
As shown in fig. 3, a flowchart of a picture entry method corresponding to the example provided in the embodiment of the present specification may include:
and S202, acquiring a picture to be recorded.
And step S204, detecting the interest area.
Step S206, determining whether the interest area includes a face area, that is, determining whether the face area exists in the picture to be input, if yes, executing step S208, and if not, executing step S210.
And step S208, merging the area information of the detected face areas.
Step S210, determining whether the interest region includes a predetermined target region, that is, determining whether the predetermined target region exists in the to-be-recorded picture, if so, executing step S212, and if not, executing step S214.
Step S212, merging the detected area information of the predetermined target area.
And S214, taking the whole picture to be recorded as a default interest area, and further combining the area information of the whole picture.
And S216, generating a file name corresponding to the picture to be recorded according to the region information according to a preset generation strategy.
And S218, inputting the picture to be input into the storage system by using the generated file name.
And S220, after the input, generating a uniform resource locator for accessing the picture to be input.
Step S222, storing the uniform resource locator in the access information stream of the picture.
The steps S202 to S222 refer to the related descriptions of the foregoing embodiments, and are not expanded here.
Based on the same inventive concept, the embodiment of the specification further provides a device for inputting the picture, an electronic device and a nonvolatile computer storage medium.
In view of the detailed description of the image entry method in the foregoing embodiments, the corresponding contents related to the apparatus, the device, and the non-volatile computer storage medium in the following embodiments will not be described in detail.
As shown in fig. 4, in which the dashed square represents an optional module, the picture recording apparatus 10 includes an acquisition module 11, a detection module 12, a determination module 13, a generation module 14, and a recording module 15. The acquisition module 11 is used for acquiring a picture to be input; the detection module 12 is configured to detect an interest region in the picture to be input; the determining module 13 is configured to determine area information of the interest area in the picture to be entered; the generating module 14 is configured to generate mapping data corresponding to the to-be-input picture according to the region information according to a preset generating policy, where the mapping data includes path information used for accessing an interest region in the to-be-input picture after the to-be-input picture is input; the input module 15 is configured to input the picture to be input into the storage system according to the mapping data.
Optionally, the generating policy includes a file name generating policy, where the generating module 14 is configured to: generating a strategy according to a preset file name, and adding the region information into the file name of the picture to be recorded; and taking the file name of the picture to be input added with the area information as mapping data corresponding to the picture to be input.
Optionally, the generation policy includes a uniform resource locator generation policy, where the generation module 14 is configured to: generating a strategy according to a preset uniform resource locator, and adding the region information into the uniform resource locator corresponding to the picture to be input; and taking the uniform resource locator corresponding to the picture to be input added with the area information as mapping data corresponding to the picture to be input.
Optionally, the picture entering device 10 further includes a saving module 16, and the saving module 16 is configured to save the mapping data in the access information stream corresponding to the picture to be entered.
Optionally, the detection module 12 is configured to:
detecting whether a face area exists in the picture to be input;
when the face area exists in the picture to be recorded, taking the face area as an interest area;
when the face area does not exist in the picture to be recorded, detecting whether a preset target area exists in the picture to be recorded;
when the preset target area exists in the picture to be recorded, taking the preset target area as an interest area;
and when the preset target area does not exist in the picture to be recorded, taking the whole area of the picture to be recorded as an interest area.
Optionally, the image entry device 10 further includes an uploading module 17, where the uploading module is configured to upload the image to be entered to a document library to be processed, and the obtaining module 11 is configured to obtain the image to be entered from the document library to be processed.
An electronic device for inputting pictures provided in an embodiment of the present specification includes:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
acquiring a picture to be input;
detecting an interest area in the picture to be recorded;
determining the area information of the interest area in the picture to be recorded;
generating mapping data corresponding to the picture to be input according to the region information according to a preset generation strategy, wherein the mapping data comprises path information for accessing an interest region in the picture to be input after the picture to be input is input;
and inputting the picture to be input into a storage system according to the mapping data.
The non-volatile computer storage medium for inputting pictures provided by the embodiments of the present specification stores computer-executable instructions, and the computer-executable instructions are configured to:
acquiring a picture to be input;
detecting an interest area in the picture to be recorded;
determining the area information of the interest area in the picture to be recorded;
generating mapping data corresponding to the picture to be input according to the region information according to a preset generation strategy, wherein the mapping data comprises path information for accessing an interest region in the picture to be input after the picture to be input is input;
and inputting the picture to be input into a storage system according to the mapping data.
Based on the same inventive concept, the embodiment of the specification further provides a picture access method, a picture access device, picture access equipment and a non-volatile computer storage medium.
The embodiment of the specification provides a picture access method which is used for a client side to access and acquire an interest area in a target picture from a server side with the target picture recorded.
As shown in fig. 5, the method may include:
step S302, obtaining layout parameters, wherein the layout parameters comprise parameters of exhibition positions for displaying target pictures;
the layout parameters can be preset according to actual conditions of equipment, pages and the like of the client; the parameters of the booth may include various parameters of the booth area, such as the shape, size (e.g., length, width), etc. of the area; here, the form of the booth may also include a form of a list page, so that the picture is shown through the list page form.
Step S304, obtaining mapping data corresponding to the target picture, wherein the mapping data comprises path information which is generated according to the region information of the region of interest in the target picture and a preset generation strategy and is used for accessing the region of interest in the target picture;
in a specific implementation, the mapping data may be mapping data generated in any embodiment of the image entry method provided in the foregoing description, and may be obtained by analyzing from an information stream, which is not described herein again.
Step S306, acquiring the region information of the interest region from the mapping data;
step S308, calculating an adjusting parameter corresponding to the interest region according to the acquired region information and the layout parameter;
in specific implementation, the adjustment parameter is used for adjusting the interest region to meet layout requirements of the exhibition booth, such as the size and proportion required by the display region, and the displayed interest region is ensured to be complete and clear. At this time, according to the layout requirement of the booth, the adjustment parameter may include a scaling parameter and/or a clipping parameter, where the scaling parameter is used to scale the interest region, and the clipping parameter is used to clip the interest region.
Step S310, adding the adjustment parameters into an access request, and sending the access request to a server to request the server to acquire the interest area;
step S312, receiving result information returned by the server in response to the access request, where the result information includes result data corresponding to the interest region in the target picture generated by the server according to the adjustment parameter and the interest region in the target picture.
Through the steps S302 to S312, when the client needs to display the interest region of the picture, the adjustment parameter corresponding to the exhibition position of the interest region of the picture in the client can be dynamically calculated according to the limitation of the layout parameter in the client and the region information of the interest region in the picture, and then the adjustment parameter is transmitted to the server along with the access request of the picture, and the server obtains the interest region from the picture, and returns to the client after adjusting the interest region according to the adjustment parameter, so that the client can display the most important part (i.e., the interest region) in the picture, thereby improving the user experience and the application efficiency of the picture.
The dynamic calculation of the adjustment parameters is carried out at the client, so that the application of the picture has more universal applicability, the picture can be supported to be applied in different devices, the picture can be supported to have more display forms, and the application efficiency of the picture is effectively improved.
It should be noted that, in view of the detailed description of the image entry method in the foregoing description, in this embodiment, the mapping data generated in the image entry method is used to directly find the region of interest in the image, so that reference may be made to each embodiment of the image entry method for description of the entered image (i.e., the target image), and details are not repeated here.
In one embodiment, the result information can be displayed in the exhibition booth after the result information is obtained, so that the user can obtain the interest area in time, and the user experience can be improved.
The picture access device 20 provided by the embodiment of the present specification is used for a client to access and acquire an interest region in a target picture to a content server side inputting the target picture.
As shown in fig. 6, the picture accessing apparatus 20 may include an obtaining module 21, a calculating module 22, a requesting module 23, and a receiving module 24. The obtaining module 21 is configured to obtain layout parameters, where the layout parameters include a parameter for showing a booth of a target picture, and also obtain mapping data corresponding to the target picture, where the mapping data includes path information, which is generated according to area information of an interest area in the target picture and according to a preset generation policy, and is used to access the interest area in the target picture, and obtain area information of the interest area from the mapping data; the calculation module 22 is configured to calculate an adjustment parameter corresponding to the interest region according to the acquired region information and the layout parameter; the request module 23 is configured to add the adjustment parameter to an access request, and send the access request to a server, so as to request the server to acquire the interest area; the receiving module 24 is configured to receive result information returned by the server in response to the access request, where the result information includes result data corresponding to the interest region in the target picture, and the result data is generated by the server according to the adjustment parameter and the interest region in the target picture.
Optionally, the picture accessing apparatus 20 may further include a display module 25, and the display module 25 is configured to display the result information in the exhibition position.
An embodiment of the present specification further provides an electronic device for accessing a picture, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
obtaining layout parameters, wherein the layout parameters comprise parameters of exhibition positions for displaying target pictures;
acquiring mapping data corresponding to the target picture, wherein the mapping data comprises path information which is generated according to the region information of the region of interest in the target picture and a preset generation strategy and is used for accessing the region of interest in the target picture;
acquiring the region information of the interest region from the mapping data;
calculating an adjustment parameter corresponding to the interest region according to the acquired region information and the layout parameter;
adding the adjustment parameters into an access request, and sending the access request to a server to request the server to acquire the interest area;
and receiving result information returned by the server end in response to the access request, wherein the result information comprises result data corresponding to the interest area in the target picture generated by the server end according to the adjustment parameter and the interest area in the target picture.
Embodiments of the present specification further provide a non-volatile computer storage medium for accessing pictures, which stores computer-executable instructions configured to:
obtaining layout parameters, wherein the layout parameters comprise parameters of exhibition positions for displaying target pictures;
acquiring mapping data corresponding to the target picture, wherein the mapping data comprises path information which is generated according to the region information of the region of interest in the target picture and a preset generation strategy and is used for accessing the region of interest in the target picture;
acquiring the region information of the interest region from the mapping data;
calculating an adjustment parameter corresponding to the interest region according to the acquired region information and the layout parameter;
adding the adjustment parameters into an access request, and sending the access request to a server to request the server to acquire the interest area;
and receiving result information returned by the server end in response to the access request, wherein the result information comprises result data corresponding to the interest area in the target picture generated by the server end according to the adjustment parameter and the interest area in the target picture.
Based on the same inventive concept, the embodiment of the present specification further provides a picture access method, an apparatus, a device, and a non-volatile computer storage medium, which are used by a server to return an interest area, in which a target picture is recorded, to a client.
As shown in fig. 7, the picture access method may include:
step S402, receiving an access request of a client;
the access request is used for requesting to acquire an interest region in a target picture, and the access request comprises an adjustment parameter, wherein the adjustment parameter is a parameter which is calculated and determined by the client according to a layout parameter and region information of the interest region and is used for adjusting the interest region.
It should be noted that, for the content of the access request, the layout parameter, the adjustment parameter, and the like, reference may be made to the foregoing description of the embodiment of the picture access method used in the client, and details are not repeated here.
Step S404, obtaining the interest area and the adjusting parameter according to the access request;
step S406, adjusting the interest area according to the adjusting parameters;
step S408, returning the adjusted interest region as result information to the client to respond to the access request.
Through the steps S402-S408, the server can conveniently provide the client with the interest area suitable for the client to display so as to improve the picture application efficiency and the user experience, and further, the applicability of the picture in different application scenes can be expanded, the picture can be supported to be applied in more devices, and the picture can be supported to have more display forms, so that the picture application efficiency and the application experience are improved.
In one embodiment, the result information can also be stored in a content distribution network (CND), which further facilitates the client to obtain the result information of the interest area, and can improve the picture application efficiency and the user experience.
The picture access device 30 provided by the embodiment of the present specification is used for a server to return an interest area of a picture input to a client.
As shown in fig. 8, the picture accessing apparatus 30 may include a receiving module 31, an obtaining module 32, an adjusting module 33, and a responding module 34. The receiving module 31 is configured to receive an access request of a client, where the access request is used to request to acquire an interest region in a target picture, the access request includes an adjustment parameter, and the adjustment parameter is a parameter that is calculated and determined by the client according to a layout parameter and region information of the interest region and is used to adjust the interest region; the obtaining module 32 is configured to obtain the interest region and the adjustment parameter according to the access request; the adjusting module 33 is configured to adjust the interest region according to the adjusting parameter; the response module 34 is configured to return the adjusted region of interest as result information to the client to respond to the access request.
Optionally, the picture accessing apparatus 30 may include a saving module 35, and the saving module 35 is configured to save the result information to the content distribution network.
An embodiment of the present specification further provides an electronic device for accessing a picture, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
receiving an access request of a client, wherein the access request is used for requesting to acquire an interest region in a target picture, the access request comprises an adjustment parameter, and the adjustment parameter is a parameter which is calculated and determined by the client according to a layout parameter and region information of the interest region and is used for adjusting the interest region;
acquiring the interest area and the adjustment parameter according to the access request;
adjusting the interest area according to the adjusting parameters;
and returning the adjusted interest area as result information to the client to respond to the access request.
Embodiments of the present specification further provide a non-volatile computer storage medium for accessing pictures, which stores computer-executable instructions configured to:
receiving an access request of a client, wherein the access request is used for requesting to acquire an interest region in a target picture, the access request comprises an adjustment parameter, and the adjustment parameter is a parameter which is calculated and determined by the client according to a layout parameter and region information of the interest region and is used for adjusting the interest region;
acquiring the interest area and the adjustment parameter according to the access request;
adjusting the interest area according to the adjusting parameters;
and returning the adjusted interest area as result information to the client to respond to the access request.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the embodiments of the apparatus, the device, and the nonvolatile computer storage medium, since they are substantially similar to the embodiments of the method, the description is simple, and for the relevant points, reference may be made to the partial description of the embodiments of the method.
The apparatus, the device, the nonvolatile computer storage medium, and the method provided in the embodiments of the present specification correspond to each other, and therefore, the apparatus, the device, and the nonvolatile computer storage medium also have advantageous technical effects similar to those of the corresponding method.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Language Description Language), traffic, pl (core unified Programming Language), HDCal, JHDL (Java Hardware Description Language), langue, Lola, HDL, laspam, hardbylangue (Hardware Description Language), vhjhdul, and vhigh-Language, which are currently used in most general. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (20)

1. A picture entry method comprises the following steps:
acquiring a picture to be input;
detecting an interest area in the picture to be recorded;
determining the area information of the interest area in the picture to be recorded;
generating mapping data corresponding to the picture to be input according to the region information according to a preset generation strategy, wherein the mapping data comprises path information for accessing an interest region in the picture to be input after the picture to be input is input;
and inputting the picture to be input into a storage system according to the mapping data.
2. The method of claim 1, the generation policy comprising a filename generation policy;
the generating, according to a preset generation strategy, mapping data corresponding to the picture to be input according to the region information includes:
generating a strategy according to a preset file name, and adding the region information into the file name of the picture to be recorded;
and taking the file name of the picture to be input added with the area information as mapping data corresponding to the picture to be input.
3. The method of claim 1, the generation policy comprising a uniform resource locator generation policy;
the generating, according to a preset generation strategy, mapping data corresponding to the picture to be input according to the region information includes:
generating a strategy according to a preset uniform resource locator, and adding the region information into the uniform resource locator corresponding to the picture to be input;
and taking the uniform resource locator corresponding to the picture to be input added with the area information as mapping data corresponding to the picture to be input.
4. The method of claim 1, further comprising: and storing the mapping data in an access information stream corresponding to the picture to be recorded.
5. The method of claim 1, the detecting the region of interest in the picture to be entered comprising:
detecting whether a face area exists in the picture to be input;
when the face area exists in the picture to be recorded, taking the face area as an interest area;
when the face area does not exist in the picture to be recorded, detecting whether a preset target area exists in the picture to be recorded;
when the preset target area exists in the picture to be recorded, taking the preset target area as an interest area;
and when the preset target area does not exist in the picture to be recorded, taking the whole area of the picture to be recorded as an interest area.
6. The method of claim 1, further comprising: uploading the picture to be recorded to a document library to be processed;
the acquiring of the picture to be input comprises the following steps: and acquiring the picture to be recorded from the file library to be processed.
7. A picture access method, comprising:
obtaining layout parameters, wherein the layout parameters comprise parameters of exhibition positions for displaying target pictures;
acquiring mapping data corresponding to the target picture, wherein the mapping data comprises path information which is generated according to the region information of the region of interest in the target picture and a preset generation strategy and is used for accessing the region of interest in the target picture;
acquiring the region information of the interest region from the mapping data;
calculating an adjustment parameter corresponding to the interest region according to the acquired region information and the layout parameter;
adding the adjustment parameters into an access request, and sending the access request to a server to request the server to acquire the interest area;
and receiving result information returned by the server end in response to the access request, wherein the result information comprises result data corresponding to the interest area in the target picture generated by the server end according to the adjustment parameter and the interest area in the target picture.
8. The method of claim 7, further comprising: and displaying the result information in the exhibition position.
9. A picture access method, comprising:
receiving an access request of a client, wherein the access request is used for requesting to acquire an interest region in a target picture, the access request comprises an adjustment parameter, and the adjustment parameter is a parameter which is calculated and determined by the client according to a layout parameter and region information of the interest region and is used for adjusting the interest region;
acquiring the interest area and the adjustment parameter according to the access request;
adjusting the interest area according to the adjusting parameters;
and returning the adjusted interest area as result information to the client to respond to the access request.
10. The method of claim 9, the method further comprising: and storing the result information to a content distribution network.
11. A picture input device comprises an acquisition module, a detection module, a determination module, a generation module and an input module;
the acquisition module is used for acquiring a picture to be input;
the detection module is used for detecting an interest area in the picture to be recorded;
the determining module is used for determining the area information of the interest area in the picture to be input;
the generation module is used for generating mapping data corresponding to the picture to be input according to the region information according to a preset generation strategy, wherein the mapping data comprises path information used for accessing an interest region in the picture to be input after the picture to be input is input;
the input module is used for inputting the picture to be input into a storage system according to the mapping data.
12. The apparatus of claim 11, the generation policy comprising a filename generation policy;
the generation module is configured to:
generating a strategy according to a preset file name, and adding the region information into the file name of the picture to be recorded;
and taking the file name of the picture to be input added with the area information as mapping data corresponding to the picture to be input.
13. The apparatus of claim 11, the generation policy comprising a uniform resource locator generation policy;
the generation module is configured to:
generating a strategy according to a preset uniform resource locator, and adding the region information into the uniform resource locator corresponding to the picture to be input;
and taking the uniform resource locator corresponding to the picture to be input added with the area information as mapping data corresponding to the picture to be input.
14. The device according to claim 11, further comprising a saving module, configured to save the mapping data in an access information stream corresponding to the picture to be entered.
15. The apparatus of claim 11, the detection module to:
detecting whether a face area exists in the picture to be input;
when the face area exists in the picture to be recorded, taking the face area as an interest area;
when the face area does not exist in the picture to be recorded, detecting whether a preset target area exists in the picture to be recorded;
when the preset target area exists in the picture to be recorded, taking the preset target area as an interest area;
and when the preset target area does not exist in the picture to be recorded, taking the whole area of the picture to be recorded as an interest area.
16. The picture access device comprises an acquisition module, a calculation module, a request module and a receiving module;
the acquisition module is used for acquiring layout parameters, and the layout parameters comprise parameters of exhibition positions for displaying the target picture;
the obtaining module is further configured to obtain mapping data corresponding to the target picture, where the mapping data includes path information, generated according to a preset generation policy and used for accessing an interest region in the target picture, according to region information of the interest region in the target picture;
the obtaining module is further configured to obtain region information of the region of interest from the mapping data;
the calculation module is used for calculating an adjustment parameter corresponding to the interest region according to the acquired region information and the layout parameter;
the request module is used for adding the adjustment parameters into an access request and sending the access request to a server so as to request the server to acquire the interest area;
the receiving module is used for receiving result information returned by the server end in response to the access request, wherein the result information comprises result data corresponding to the interest area in the target picture generated by the server end according to the adjustment parameter and the interest area in the target picture.
17. The picture access device comprises a receiving module, an obtaining module, an adjusting module and a response module;
the receiving module is used for receiving an access request of a client, wherein the access request is used for requesting to acquire an interest region in a target picture, the access request comprises an adjusting parameter, and the adjusting parameter is a parameter which is calculated and determined by the client according to a layout parameter and region information of the interest region and is used for adjusting the interest region;
the obtaining module is used for obtaining the interest area and the adjusting parameter according to the access request;
the adjusting module is used for adjusting the interest area according to the adjusting parameters;
the response module is used for returning the adjusted interest area serving as result information to the client so as to respond to the access request.
18. An electronic device for entering pictures, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
acquiring a picture to be input;
detecting an interest area in the picture to be recorded;
determining the area information of the interest area in the picture to be recorded;
generating mapping data corresponding to the picture to be input according to the region information according to a preset generation strategy, wherein the mapping data comprises path information for accessing an interest region in the picture to be input after the picture to be input is input;
and inputting the picture to be input into a storage system according to the mapping data.
19. An electronic device for accessing pictures, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
obtaining layout parameters, wherein the layout parameters comprise parameters of exhibition positions for displaying target pictures;
acquiring mapping data corresponding to the target picture, wherein the mapping data comprises path information which is generated according to the region information of the region of interest in the target picture and a preset generation strategy and is used for accessing the region of interest in the target picture;
acquiring the region information of the interest region from the mapping data;
calculating an adjustment parameter corresponding to the interest region according to the acquired region information and the layout parameter;
adding the adjustment parameters into an access request, and sending the access request to a server to request the server to acquire the interest area;
and receiving result information returned by the server end in response to the access request, wherein the result information comprises result data corresponding to the interest area in the target picture generated by the server end according to the adjustment parameter and the interest area in the target picture.
20. An electronic device for accessing pictures, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
receiving an access request of a client, wherein the access request is used for requesting to acquire an interest region in a target picture, the access request comprises an adjustment parameter, and the adjustment parameter is a parameter which is calculated and determined by the client according to a layout parameter and region information of the interest region and is used for adjusting the interest region;
acquiring the interest area and the adjustment parameter according to the access request;
adjusting the interest area according to the adjusting parameters;
and returning the adjusted interest area as result information to the client to respond to the access request.
CN201910902498.3A 2019-09-24 2019-09-24 Picture input and access method, device and equipment Pending CN110659372A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910902498.3A CN110659372A (en) 2019-09-24 2019-09-24 Picture input and access method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910902498.3A CN110659372A (en) 2019-09-24 2019-09-24 Picture input and access method, device and equipment

Publications (1)

Publication Number Publication Date
CN110659372A true CN110659372A (en) 2020-01-07

Family

ID=69038377

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910902498.3A Pending CN110659372A (en) 2019-09-24 2019-09-24 Picture input and access method, device and equipment

Country Status (1)

Country Link
CN (1) CN110659372A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113516468A (en) * 2020-04-09 2021-10-19 北京意锐新创科技有限公司 Two-dimensional code entry method and device
CN115080531A (en) * 2022-05-16 2022-09-20 重庆紫光华山智安科技有限公司 Distributed storage based image processing method, system, device and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104794230A (en) * 2015-04-30 2015-07-22 努比亚技术有限公司 Picture display method and device
CN107123084A (en) * 2016-02-24 2017-09-01 奥多比公司 Optimize image cropping
CN109960742A (en) * 2019-02-18 2019-07-02 苏州科达科技股份有限公司 The searching method and device of local message

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104794230A (en) * 2015-04-30 2015-07-22 努比亚技术有限公司 Picture display method and device
CN107123084A (en) * 2016-02-24 2017-09-01 奥多比公司 Optimize image cropping
CN109960742A (en) * 2019-02-18 2019-07-02 苏州科达科技股份有限公司 The searching method and device of local message

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113516468A (en) * 2020-04-09 2021-10-19 北京意锐新创科技有限公司 Two-dimensional code entry method and device
CN115080531A (en) * 2022-05-16 2022-09-20 重庆紫光华山智安科技有限公司 Distributed storage based image processing method, system, device and medium

Similar Documents

Publication Publication Date Title
CN107391526B (en) Data processing method and device based on block chain
CN105824830B (en) Method, client and equipment for displaying page
CN112364277B (en) Webpage loading method and device
CN110263502B (en) Picture processing method and device based on block chain
CN110020353B (en) Method and device for constructing webpage form
CN103702032A (en) Image processing method, device and terminal equipment
CN110659372A (en) Picture input and access method, device and equipment
CN113538502A (en) Picture clipping method and device, electronic equipment and storage medium
CN110968314A (en) Page generation method and device
US11495021B2 (en) Picture annotation method, apparatus, processing device, and system
CN108280135B (en) Method and device for realizing visualization of data structure and electronic equipment
CN106648567B (en) Data acquisition method and device
CN109857964B (en) Thermodynamic diagram drawing method and device for page operation, storage medium and processor
CN110968385A (en) Proportion display method and device
CN113938750A (en) Video processing method and device, electronic equipment and storage medium
CN108769152B (en) Service refresh policy registration method, service refresh request method, device and equipment
CN116149773A (en) Oblique photography model display method and device and electronic equipment
CN115935909A (en) File generation method and device and electronic equipment
CN112560530B (en) Two-dimensional code processing method, device, medium and electronic device
CN110968811A (en) Display control method and device
CN105808543B (en) Information display method and device
CN108428189B (en) Social resource processing method and device and readable medium
CN113987242A (en) File picture visualization method, device, equipment and medium
CN112698882A (en) Page component loading method and device
CN110020285B (en) Histogram processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20201012

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20201012

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20240228

Address after: 128 Meizhi Road, Guohao Times City # 20-01, Singapore 189773

Applicant after: Advanced Nova Technology (Singapore) Holdings Ltd.

Country or region after: Singapore

Address before: 27 Hospital Road, George Town, Grand Cayman ky1-9008

Applicant before: Innovative advanced technology Co.,Ltd.

Country or region before: Cayman Islands

TA01 Transfer of patent application right