Method, apparatus, device and storage medium for picture publishing
By obtaining the visual feature representation of the image and determining the access path, the problem of not being able to automatically jump to the corresponding interface when sharing screenshots is solved, achieving accurate backtracking without additional operations and improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- JINGDONG TECH HLDG CO LTD
- Filing Date
- 2026-04-13
- Publication Date
- 2026-07-10
Smart Images

Figure CN122364573A_ABST
Abstract
Description
Technical Field
[0001] The exemplary embodiments disclosed herein generally relate to the field of computer technology, and more specifically, to methods, apparatus, devices, and storage media for image publishing. Background Technology
[0002] Normally, users can share application content using screenshots. However, most platforms only support image uploads and lack the ability to recognize screenshot content and automatically redirect to the corresponding interface. Summary of the Invention
[0003] In a first aspect of this disclosure, a method for publishing an image is provided. The method includes: in response to detecting a selection operation for a first image in a first application, obtaining a first visual feature representation of the first image; in response to detecting that a target visual feature representation matching the first visual feature representation exists among a plurality of candidate visual feature representations, determining an access path for a first interface associated with the target visual feature representation, wherein the visual feature representations among the plurality of candidate visual feature representations are associated with access paths for corresponding interfaces; and in response to receiving an application request associated with the first image, providing the first image and an access point for the first interface, the access point being determined based on the access path.
[0004] In a second aspect of this disclosure, an apparatus for publishing an image is provided. The apparatus includes: an acquisition module configured to acquire a first visual feature representation of the first image in response to detecting a selection operation for a first image in a first application; a determination module configured to determine an access path associated with the target visual feature representation and for a first interface in response to detecting that a target visual feature representation matching the first visual feature representation exists among a plurality of candidate visual feature representations, wherein the visual feature representations among the plurality of candidate visual feature representations are associated with access paths for corresponding interfaces; and a providing module configured to provide the first image and an access point for the first interface in response to receiving an application request associated with the first image, the access point being determined based on the access path.
[0005] In a third aspect of this disclosure, an electronic device is provided. The electronic device includes at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method of the first aspect of this disclosure when executed by the at least one processing unit.
[0006] In a fourth aspect of this disclosure, a computer-readable storage medium is provided. This computer-readable storage medium stores a computer program that can be executed by a processor to perform the method according to a first aspect of this disclosure.
[0007] In a fifth aspect of this disclosure, a computer program product is provided. The computer program product includes computer-executable instructions, wherein the computer-executable instructions, when executed by a processor, implement the method according to a first aspect of this disclosure.
[0008] It should be understood that the content described in this summary section is not intended to limit the key or essential features of the embodiments of this disclosure, nor is it intended to restrict the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0009] The above and other features, advantages, and aspects of various implementations of this disclosure will become more apparent in the following detailed description, taken in conjunction with the accompanying drawings. In the drawings, the same or similar reference numerals denote the same or similar elements, wherein: Figure 1 A schematic diagram of an example environment in which embodiments of the present disclosure can be implemented is shown; Figure 2 A flowchart of a process for publishing an image is shown according to some embodiments of the present disclosure; Figure 3 It shows Figure 1 A block diagram of an example architecture for the application; Figure 4 A flowchart illustrating a process for determining image similarity according to some embodiments of the present disclosure is shown; Figure 5 A flowchart of a process for publishing images according to some embodiments of the present disclosure is shown; Figure 6 A block diagram of an apparatus for image publishing according to some embodiments of the present disclosure is shown; and Figure 7 A block diagram of an electronic device in which one or more embodiments of the present disclosure may be implemented is shown. Detailed Implementation
[0010] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0011] It should be noted that the acquisition, storage, and application of user personal information involved in the technical solution disclosed herein comply with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0012] In the description of embodiments of this disclosure, the term "comprising" and similar terms should be understood as open-ended inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below.
[0013] For ease of description, several concepts and terms are first defined here.
[0014] Visual feature fingerprint (VFF) refers to the data (e.g., vectors, descriptors, hash values, etc.) output after an image has been processed by computer vision algorithms. It is used to represent the visual features of the image and is also often used to measure the visual similarity between two images.
[0015] A system security image picker is a component provided by the operating system that allows users to select specific images without granting the application full access to the photo album. Examples include iOS Photo Picker and Android Photo Picker.
[0016] As mentioned earlier, users can share application content using screenshots. However, most platforms only support image uploads and lack the ability to recognize screenshot content and automatically redirect to the corresponding interface.
[0017] In view of this, an embodiment of this disclosure provides a method for image publishing. In response to detecting a selection operation for a first image in a first application, a first visual feature representation of the first image is obtained; in response to detecting a target visual feature representation among multiple candidate visual feature representations that matches the first visual feature representation, an access path associated with the target visual feature representation and for a first interface is determined, wherein the visual feature representations among the multiple candidate visual feature representations are associated with access paths for corresponding interfaces; and in response to receiving an application request associated with the first image, the first image and an access entry point for the first interface are provided, the access entry point being determined based on the access path. In this way, after a user shares a screenshot, the recipient can easily and accurately return to the original page without additional operation, improving the user experience.
[0018] The following description will focus on exemplary embodiments of the present disclosure with reference to the accompanying drawings.
[0019] Figure 1A schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented is shown. In this example environment 100, server 130 is capable of establishing a communication connection with one or more electronic devices (collectively or individually referred to as electronic device 110). At least one application 120 may be installed on electronic device 110. Users can interact with application 120 via electronic device 110 and / or attached devices of electronic device 110. Application 120 may be a content presentation application, an online shopping application, or any other suitable application.
[0020] exist Figure 1 In environment 100, if application 120 is active, electronic device 110 can display the interface of application 120. The interface can include various interfaces that application 120 can provide, such as content presentation interface, content creation interface, service request submission interface, request processing result interface, message interface, personal homepage, etc.
[0021] In some embodiments, electronic device 110 communicates with server 130 to provide services to application 120. Electronic device 110 can be any type of mobile terminal, fixed terminal, or portable terminal, including mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, personal communication system (PCS) devices, personal navigation devices, personal digital assistants (PDAs), audio / video players, digital cameras / camcorders, positioning devices, television receivers, radio receivers, e-book devices, gaming devices, or any combination thereof, including accessories and peripherals of these devices or any combination thereof. In some embodiments, electronic device 110 can also support any type of user-facing interface (such as "wearable" circuitry). Server 130 can be various types of computing systems / servers capable of providing computing power, including but not limited to mainframes, edge computing nodes, computing devices in cloud environments, etc.
[0022] It should be understood that the structure and function of environment 100 are described for illustrative purposes only and do not imply any limitation on the scope of this disclosure.
[0023] Figure 2 A flowchart of a process 200 for image publishing according to some embodiments of the present disclosure is shown. Figure 3 It shows Figure 1 The block diagram of example architecture 200 for application 120 is shown. Figure 3As shown, application 120 may include an event listening module 321, a memory rendering module 322, an image selection module 323, a visual computing module 324, a fingerprint database 325, a matching decision module 326, and a business routing module 327, and also involves external dependent components 310. External dependent components 310 may include a system screenshot service 312, an artificial intelligence framework 314, and local storage 316. In some embodiments, external dependent components 310 may be wholly or partially implemented in electronic device 110 or server 130.
[0024] It should be understood that the distinction between different modules or components here is for discussion purposes only. Different modules or components can be implemented as software, hardware, firmware, or any combination thereof. In practical applications, these components can also be divided in any other appropriate manner. It should also be understood that the visual computing engine 324 can also be implemented in the server 130 or other devices.
[0025] exist Figure 2 In this context, process 200 can be implemented at electronic device 110. For ease of description, the following explanation will use the execution of process 200 by electronic device 110 as an example. The following will combine... Figure 1 and Figure 3 A detailed description of process 200 is provided.
[0026] In box 211, electronic device 110 detects a screenshot operation on the current interface of application 120. For example, electronic device 110 can enable event listening module 321 in application 120 to listen for screenshot completion events triggered by the operating system of electronic device 110, thereby sensing the screenshot operation performed by the user on electronic device 110. The image generated by the screenshot operation can be stored in the system album by the operating system of electronic device 110. In this document, the system album can also be referred to as the "first application", and application 120 can also be referred to as the "second application".
[0027] In some embodiments, the event listening module 321 can listen for the screenshot completion event triggered by the operating system of the electronic device 110 by receiving notification messages sent by the system screenshot service 312 in the external dependent component 310. Taking the system screenshot service 312 implemented in the electronic device 110 as an example, when the electronic device 110 is a device running the iOS system, the event listening module 321 can detect the screenshot operation performed by the user on the electronic device 110 by receiving UserDidTakeScreenshot from the iOS operating system; when the electronic device is a device running the Android system, the event listening module 321 can detect the screenshot operation performed by the user on the electronic device 110 by using FileObserver or ContentObserver in the Android system.
[0028] In box 212, electronic device 110 generates a memory snapshot of the current interface in response to receiving a system screenshot notification. For example, application 120 in electronic device 110 can generate an interface snapshot (Bitmap) associated with the current interface in response to detecting a screenshot operation on the current interface of application 120. This interface snapshot can also be referred to as a "memory snapshot". For example, event listening module 321 can send the received system screenshot notification to memory rendering module 322. Memory rendering module 322 can capture the rendering layer of the window or view of the current interface of application 120 and generate an interface snapshot associated with the current interface in the memory of application 120.
[0029] In box 213, electronic device 110 invokes visual computing engine 324 to extract visual feature representations from the interface snapshot. For example, memory rendering module 322 can send the interface snapshot to visual computing engine 324, which then extracts visual feature representations from the snapshot, such as feature fingerprints. It should be understood that visual computing engine 324 can be implemented in different ways depending on the operating platform. For example, in an iOS operating system environment, the functionality of visual computing engine 324 can be implemented based on the iOS Vision framework. Similarly, in an Android operating system environment, the functionality of visual computing engine 324 can be implemented based on Android ML Kit or OpenCV. Furthermore, in a HarmonyOS operating system environment, the functionality of visual computing engine 324 can be implemented based on AI Engine. It should be understood that the artificial intelligence framework 314 in external dependency component 310 can provide algorithmic capabilities to visual computing engine 324. In some embodiments, the visual feature representation can indicate at least one of the following: texture features of an image, structural features of an image, or semantic features of an image. This visual feature representation means that even after images are compressed, slightly cropped, or filtered, the visual feature representations still maintain a high degree of similarity, effectively solving the problem that hash matching fails due to slight image modifications.
[0030] It should be understood that during the above process, the electronic device 110 does not directly read data from its system photo album. Instead, it can call application-layer rendering interfaces (e.g., iOS layer.render or Android View.draw) to generate a snapshot of the current interface (i.e., Bitmap data) in memory, and then call the visual computing engine 324 to extract the visual feature representation of the interface snapshot. In this way, reliance on sensitive permissions of the system photo album can be avoided.
[0031] In some embodiments, in response to detecting a screenshot operation on the current interface of application 120, electronic device 110 may also obtain the access path of the current interface, such as the Uniform Resource Locator (URL) or routing parameters of the current interface.
[0032] In box 214, electronic device 110 associates the visual feature representation of the current interface with the access path of the current interface (e.g., Uniform Resource Locator and / or routing parameters) to determine the mapping relationship between them. As an example, such a mapping relationship can be represented as {visual feature fingerprint, URL / routing parameters}.
[0033] In box 215, electronic device 110 stores the associated visual feature representations and access paths. For example, electronic device 110 can store the associated visual feature representations and access paths, i.e., the mapping relationship described above, in fingerprint database 225. It should be understood that local storage 316 in external dependent component 310 can provide persistence capabilities for fingerprint database 325. In some embodiments, an expiration period can be set for the stored visual feature representations and access paths. In other words, the stored visual feature representations and access paths can be deleted after their storage time expires. This frees up storage resources, improves data retrieval efficiency, and avoids interference from invalid data.
[0034] In box 221, in response to a user's image selection, electronic device 110 invokes the system image picker to select an image from its system photo album. For example, when a user selects an image from the system photo album via image selection module 323 in application 120, electronic device 110 can invoke the system image picker to perform the image selection. As an example, when electronic device 110 is a device running iOS, the system image picker can be implemented based on iOSPHPicker; when electronic device 110 is a device running Android, the system image picker can be implemented based on AndroidPhoto Picker. Because the system image picker is used when selecting an image, application 120 only obtains access rights to the selected image, rather than full permissions, further avoiding reliance on sensitive permissions of the system photo album.
[0035] In box 222, electronic device 110 invokes visual computing engine 324 to extract visual feature representations of the selected image. The process of extracting visual feature representations of the selected image can be the same as or similar to the process of extracting visual feature representations associated with the current interface targeted by the screenshot operation described above.
[0036] In box 230, electronic device 110 determines whether the similarity between two visual feature representations (i.e., the visual feature representation associated with the current interface of application 120 and the visual feature representation of the selected image) is greater than a threshold. If the similarity is less than or equal to the threshold, in box 250, electronic device 110 uploads the selected image as a regular image to server 130. If the similarity is greater than the threshold, in box 240, electronic device 110 obtains the access path associated with the visual feature representation associated with the current interface of application 120. In box 260, electronic device 110 uploads the selected image and the obtained access path to server 130.
[0037] It should be understood that the processes described in boxes 230 to 240 above can be implemented in the matching decision module 326. Specifically, see [link to relevant documentation]. Figure 4 , Figure 4 A flowchart of a process 400 for determining image similarity according to some embodiments of the present disclosure is shown.
[0038] like Figure 4 As shown, the matching decision module 326 can call the visual computing engine 324 to determine the visual representations of the interface snapshot 414 and the selected image 424: feature vector V1 418 and feature vector V2 428, respectively, and determine (box 430) the similarity between these two feature vectors (e.g., cosine similarity, Euclidean distance, etc.). The matching decision module 326 also determines (box 440) whether the similarity is greater than a threshold. If the similarity is greater than the threshold, the two images are determined to be the same image. If the similarity is less than or equal to the threshold, the two images are determined to be different images.
[0039] Return to reference Figure 3 After the electronic device 110 uploads the selected image as a regular image to the server 130, the server 130 can publish the selected image in the application 120. After the electronic device 110 uploads the selected image and the obtained access path to the server 130, the server 130 can publish the selected image and the access entry point for the current interface of the application 120 determined by the access path in the application 120. In some embodiments, the access entry point can be independent of the first image, or the first image itself can serve as the access entry point. In response to another user clicking the access entry point in the application 120, the service routing module 327 can redirect the electronic device 110 to the target interface 330 corresponding to the access path associated with the access entry point.
[0040] In summary, according to the embodiments of this disclosure, after a user shares a screenshot, the recipient can easily and accurately return to the original page without requiring system album scanning permissions, thus improving the user experience.
[0041] Figure 5 A flowchart of a process 500 for image publishing according to some embodiments of the present disclosure is shown. Figure 5 In this context, process 500 can be implemented at electronic device 110. For ease of description, the following explanation will use electronic device 110 executing process 500 as an example.
[0042] In box 510, electronic device 110, in response to detecting a selection operation for a first image in a first application, acquires a first visual feature representation of the first image.
[0043] In box 520, in response to detecting that a target visual feature representation among a plurality of candidate visual feature representations matches a first visual feature representation, the electronic device 110 determines an access path for a first interface associated with the target visual feature representation, wherein the visual feature representation among the plurality of candidate visual feature representations is associated with an access path for a corresponding interface.
[0044] In box 530, in response to receiving an application request associated with the first image, electronic device 110 provides the first image and an access point for the first interface, the access point being determined based on the access path.
[0045] In some embodiments, the access point is independent of the first image, or the first image itself serves as the access point.
[0046] In some embodiments, the first visual feature represents at least one of the following: texture features of the image, structural features of the image, or semantic features of the image.
[0047] In some embodiments, the target visual feature representation is determined by: determining the similarity between a second visual feature and a first visual feature representation among a plurality of candidate visual feature representations; and determining the second visual feature representation as the target visual feature representation in response to a similarity greater than a similarity threshold.
[0048] In some embodiments, the plurality of candidate visual feature representations are determined by: generating an interface snapshot associated with the second interface in response to detecting a screenshot operation on a second interface in a second application; determining a visual feature representation of the interface snapshot; and determining the visual feature representation of the interface snapshot as one of the plurality of candidate visual feature representations.
[0049] In some embodiments, process 500 further includes: in response to detecting a screenshot operation on the second interface, obtaining an access path for the second interface; and associating a second visual feature representation with the access path of the second interface.
[0050] In some embodiments, process 500 further includes: providing the first image in response to receiving an application request associated with the first image and finding that no visual feature representation among a plurality of candidate visual feature representations matches the first visual feature representation.
[0051] Figure 6 A block diagram of an apparatus 600 for image publishing according to some embodiments of the present disclosure is shown. The apparatus 600 may be implemented in an electronic device 110. Various modules / components in the apparatus 600 may be implemented by hardware, software, firmware, or any combination thereof.
[0052] The apparatus 600 includes an acquisition module 610 configured to acquire a first visual feature representation of the first image in response to detecting a selection operation for a first image in a first application. The apparatus 600 also includes a determination module 620 configured to determine an access path associated with the target visual feature representation for a first interface in response to detecting a target visual feature representation among a plurality of candidate visual feature representations that matches the first visual feature representation, wherein the visual feature representations among the plurality of candidate visual feature representations are associated with access paths for corresponding interfaces. The apparatus 600 also includes a providing module 630 configured to provide the first image and an access entry point for the first interface in response to receiving an application request associated with the first image, the access entry point being determined based on the access path.
[0053] In some embodiments, the access point is independent of the first image, or the first image itself serves as the access point.
[0054] In some embodiments, the first visual feature represents at least one of the following: texture features of the image, structural features of the image, or semantic features of the image.
[0055] In some embodiments, the target visual feature representation is determined by: determining the similarity between a second visual feature and a first visual feature representation among a plurality of candidate visual feature representations; and determining the second visual feature representation as the target visual feature representation in response to a similarity greater than a similarity threshold.
[0056] In some embodiments, the plurality of candidate visual feature representations are determined by: generating an interface snapshot associated with the second interface in response to detecting a screenshot operation on a second interface in a second application; determining a visual feature representation of the interface snapshot; and determining the visual feature representation of the interface snapshot as one of the plurality of candidate visual feature representations.
[0057] In some embodiments, the acquisition module is further configured to acquire the access path of the second interface in response to detecting a screenshot operation on the second interface; and to associate the second visual feature representation with the access path of the second interface.
[0058] In some embodiments, the providing module 630 is further configured to provide the first image in response to receiving the application request associated with the first image and finding that no visual feature representation among the plurality of candidate visual feature representations matches the first visual feature representation.
[0059] The units included in device 600 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more units may be implemented using software and / or firmware, such as machine-executable instructions stored on a storage medium. In addition to or as an alternative to machine-executable instructions, some or all of the units in device 600 may be implemented at least partially by one or more hardware logic components. By way of example and not limitation, exemplary types of hardware logic components that may be used include field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-chips (SoCs), complex programmable logic devices (CPLDs), and so on.
[0060] Figure 7 A block diagram of an electronic device 700 in which one or more embodiments of the present disclosure may be implemented is shown. It should be understood that... Figure 7 The electronic device 700 shown is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. Figure 7 The electronic device 700 shown can be used to achieve Figure 1 Electronic devices 110.
[0061] like Figure 7 As shown, electronic device 700 is in the form of a general-purpose electronic device. Components of electronic device 700 may include, but are not limited to, one or more processors or processing units 710, memory 720, storage device 730, one or more communication units 740, one or more input devices 750, and one or more output devices 760. Processing unit 710 may be a physical or virtual processor and is capable of performing various processes according to programs stored in memory 720. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing capability of electronic device 700.
[0062] Electronic device 700 typically includes multiple computer storage media. Such media can be any available media accessible to electronic device 700, including but not limited to volatile and non-volatile media, removable and non-removable media. Memory 720 can be volatile memory (e.g., registers, cache, random access memory (RAM)), non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. Storage device 730 can be a removable or non-removable medium and can include machine-readable media, such as flash drives, disks, or any other media that can be used to store information and / or data (e.g., training data for training) and can be accessed within electronic device 700.
[0063] Electronic device 700 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not explicitly stated... Figure 7 As shown, disk drives for reading from or writing to removable, non-volatile disks (e.g., "floppy disks") and optical disk drives for reading from or writing to removable, non-volatile optical disks can be provided. In these cases, each drive can be connected to a bus (not shown) via one or more data media interfaces. Memory 720 may include computer program product 725 having one or more program modules configured to perform various methods or actions of various embodiments of this disclosure.
[0064] The communication unit 740 enables communication with other electronic devices via a communication medium. Additionally, the functionality of the components of the electronic device 700 can be implemented using a single computing cluster or multiple computing machines capable of communicating via communication connections. Therefore, the electronic device 700 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network node.
[0065] Input device 750 can be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 760 can be one or more output devices, such as a monitor, speaker, printer, etc. Electronic device 700 can also communicate with one or more external devices (not shown) via communication unit 740 as needed. These external devices include storage devices, display devices, etc., and can communicate with one or more devices that enable user interaction with electronic device 700, or with any device that enables electronic device 700 to communicate with one or more other electronic devices (e.g., network card, modem, etc.). Such communication can be performed via input / output (I / O) interface (not shown).
[0066] According to an exemplary implementation of this disclosure, a computer-readable storage medium is provided that stores one or more computer instructions, wherein the one or more computer instructions are executed by a processor to implement the methods described above. According to an exemplary implementation of this disclosure, a computer program product is also provided, which is tangibly stored on a non-transient computer-readable medium and includes computer-executable instructions that are executed by a processor to implement the methods described above.
[0067] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products implemented according to this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0068] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processing unit of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0069] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions that execute on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.
[0070] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0071] Various implementations of this disclosure have been described above. The foregoing description is exemplary and not exhaustive, nor is it limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is chosen to best explain the principles, practical applications, or improvements to technology in the market, or to enable others skilled in the art to understand the implementations disclosed herein.
Claims
1. A method for publishing images, comprising: In response to detecting a selection operation for a first image in a first application, a first visual feature representation of the first image is obtained; In response to detecting that a target visual feature representation that matches the first visual feature representation exists among a plurality of candidate visual feature representations, an access path for a first interface associated with the target visual feature representation is determined, wherein the visual feature representations among the plurality of candidate visual feature representations are associated with access paths for corresponding interfaces. as well as In response to receiving an application request associated with the first image, the first image and an access point for the first interface are provided, the access point being determined based on the access path.
2. The method according to claim 1, wherein the access point is independent of the first image, or the first image itself serves as the access point.
3. The method of claim 1, wherein the first visual feature indicates at least one of the following: The texture features of the image The structural features of the image, or Semantic features of images.
4. The method according to claim 1, wherein the target visual feature representation is determined in the following manner: Determine the similarity between the second visual feature and the first visual feature representation among the plurality of candidate visual feature representations; and In response to the similarity being greater than a similarity threshold, the second visual feature representation is determined as the target visual feature representation.
5. The method according to claim 1, wherein the plurality of candidate visual feature representations are determined in the following manner: In response to detecting a screenshot operation targeting a second interface in a second application, a snapshot of the interface associated with the second interface is generated; Determine the visual feature representation of the interface snapshot; and The visual feature representation of the interface snapshot is determined as one of the plurality of candidate visual feature representations.
6. The method of claim 5, further comprising: In response to detecting the screenshot operation targeting the second interface, the access path of the second interface is obtained; as well as The second visual feature representation is associated with the access path of the second interface.
7. The method according to claim 1, further comprising: In response to receiving the application request associated with the first image, and if none of the plurality of candidate visual feature representations matches the first visual feature representation, the first image is provided.
8. An apparatus for publishing images, comprising: The acquisition module is configured to acquire a first visual feature representation of the first image in response to detecting a selection operation for a first image in a first application. The determination module is configured to, in response to detecting that there is a target visual feature representation among a plurality of candidate visual feature representations that matches the first visual feature representation, determine an access path for a first interface associated with the target visual feature representation, wherein the visual feature representations among the plurality of candidate visual feature representations are associated with access paths for corresponding interfaces. as well as A module is configured to provide the first image and an access point for the first interface in response to receiving an application request associated with the first image, the access point being determined based on the access path.
9. An electronic device, comprising: At least one processing unit; as well as At least one memory, coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, which, when executed by the at least one processing unit, cause the electronic device to perform the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, the computer program being executable by a processor to implement the method according to any one of claims 1 to 7.
11. A computer program product comprising computer-executable instructions, wherein the computer-executable instructions, when executed by a processor, implement the method according to any one of claims 1 to 7.