CN112230831A - Image processing method and device - Google Patents

Image processing method and device Download PDF

Info

Publication number
CN112230831A
CN112230831A CN202011079776.9A CN202011079776A CN112230831A CN 112230831 A CN112230831 A CN 112230831A CN 202011079776 A CN202011079776 A CN 202011079776A CN 112230831 A CN112230831 A CN 112230831A
Authority
CN
China
Prior art keywords
application program
attribute information
target image
target
information
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
CN202011079776.9A
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011079776.9A priority Critical patent/CN112230831A/en
Publication of CN112230831A publication Critical patent/CN112230831A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses an image processing method and device, which belong to the technical field of communication, wherein the method comprises the following steps: under the condition of receiving a screen capturing instruction, performing screen capturing operation on a current application program interface to generate a target image; acquiring attribute information of an application program operated in a foreground; and carrying the attribute information in the target image so as to enable the attribute information to be shared with a target object. According to the image processing method, the target image carries the attribute information of the application program, the target object, namely the receiver device, automatically accesses the target application program according to the attribute information carried in the target image, the receiver device knows the detailed information of the object contained in the target image after starting the target application program, and after the target image is shared between the sender user and the receiver user of the target image, the relevant information of the target image can be obtained, so that the operation is convenient and fast.

Description

Image processing method and device
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to an image processing method and device.
Background
At present, in the process of chatting among users through a communication application program installed in electronic equipment, screenshot receiving and sending requirements are frequently required, such as: a chat content screenshot, a file browsing screenshot, a merchandise preview screenshot, or a video preview screenshot, etc.
After receiving the screenshot, the user at the receiving party can only preview each object displayed in the screenshot, and cannot know the detailed information of the object contained in the screenshot. Under the condition that a receiver wants to check the detailed information of the object contained in the screenshot, the receiver needs to further communicate with a sender user to determine a target application program corresponding to the screenshot, then the target application program is started, and interface information corresponding to the screenshot is checked in the target application program, so that the detailed information of the object contained in the screenshot is further checked, and the operation process is complicated.
Disclosure of Invention
The embodiment of the application aims to provide an image processing method and device, and the problem that in the prior art, when the detailed information of an object contained in a screenshot is checked, the operation process is complicated is solved.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an image processing method, where the method includes: under the condition of receiving a screen capturing instruction, performing screen capturing operation on a current application program interface to generate a target image; acquiring attribute information of an application program running in a foreground, wherein the attribute information comprises at least one of the following: the application program identification information, the application program version information and the process information; and carrying the attribute information in the target image so as to enable the attribute information to be shared with a target object.
In a second aspect, an embodiment of the present application provides an image processing method, where the method includes: receiving a target image, wherein the target image carries attribute information of an application program, and the attribute information includes at least one of the following: application program identification information, application program version information and process information; analyzing the attribute information and determining an application program to which the target image belongs; and displaying the target image and a preset control, wherein the preset control is used for starting the application program.
In a third aspect, an embodiment of the present application provides an image processing apparatus, where the apparatus includes: the first generation module is used for executing screen capture operation on the current application program interface under the condition of receiving a screen capture instruction to generate a target image; the acquisition module is used for acquiring attribute information of an application program running in a foreground, wherein the attribute information comprises at least one of the following: the application program identification information, the application program version information and the process information; and the sharing module is used for carrying the attribute information in the target image so as to enable the attribute information to be shared with a target object.
In a fourth aspect, an embodiment of the present application provides a screenshot processing apparatus, where the apparatus includes: a second receiving module, configured to receive a target image, where the target image carries attribute information of an application program, and the attribute information includes at least one of the following: application program identification information, application program version information and process information; the analysis module is used for analyzing the attribute information and determining an application program to which the target image belongs; and the display module is used for displaying the target image and a preset control, and the preset control is used for starting the application program.
In a fifth aspect, the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect or the second aspect.
In a sixth aspect, the present application provides a computer-readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first or second aspect.
In a seventh aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect or the second aspect.
In the embodiment of the application, a screen is captured on the current application program interface under the condition that a screen capturing instruction is received, and a target image is generated; acquiring attribute information of an application program operated in a foreground; the attribute information is carried in the target image and shared to the target object, so that the target object, namely the receiving party equipment, can access the target application program according to the attribute information carried in the target image, a receiving party user can know detailed information of the object contained in the target image after starting the target application program, and after the target image sharing is completed between a sending party user and a receiving party user of the target image, the related information of the target image can be obtained, and the operation is convenient and fast.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments of the present application will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
FIG. 1 is a flow chart illustrating the steps of an image processing method according to an embodiment of the present application;
FIG. 2 is a flow chart illustrating steps of yet another image processing method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an image display interface according to an embodiment of the present application;
fig. 4 is a block diagram showing a configuration of an image processing apparatus according to an embodiment of the present application;
FIG. 5 is a block diagram showing a configuration of still another image processing apparatus according to the embodiment of the present application;
fig. 6 is a block diagram showing a configuration of an electronic apparatus according to an embodiment of the present application;
fig. 7 is a schematic diagram illustrating a hardware configuration of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The image processing method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, a flowchart illustrating steps of an image processing method according to an embodiment of the present application is shown.
The image processing method of the embodiment of the application comprises the following steps:
step 101: and under the condition of receiving a screen capture instruction, executing screen capture operation on the current application program interface to generate a target image.
In the embodiment of the present application, an image processing method according to the present application will be described from the perspective of a sender device. In the process of chatting between the sender user and the receiver user, namely the target object, through the communication application program, the sender user can capture a browsed interface to generate a target image and send the target image to the receiver user.
The object contained in the target image can be a common text file, an engineering file, a multimedia file or a related interface of a certain commodity in an online shopping mall, and the like. Multimedia files may include, but are not limited to: video files, music files, etc. However, any type of object has characteristics, and the detailed content of the object can be viewed only after the application program corresponding to the object is entered. And only identification information or partial information of the object can be displayed in the target image.
For example, in the process that a user views commodity information by using an electronic mall application program, after finding that a commodity which is interested and wants to be shared with others is found, a screen capturing operation is triggered, a system responds to the screen capturing operation to capture a current screen to obtain a target image, and the obtained target image is used as basic data of the shared image.
Step 102: and acquiring the attribute information of the application program operated in the foreground.
Wherein the attribute information includes at least one of: application identification information, application version information, and process information. The source of the screenshot of the target image can be determined through the attribute information.
In an optional embodiment, the attribute information can be signed and then carried in the target image to be shared with the target object, so that the security of the attribute information can be ensured.
Step 103: and carrying the attribute information in the target image so as to enable the attribute information to be shared with the target object.
In a specific implementation process, the attribute information may be added to a preset storage space in the target image, for example: the attribute information may be added to the Exif information in the target image, where the Exif (Exchangeable image file format) is specially set for a picture, and may be a data format capable of recording the picture attribute information and the shot data, and correspondingly, the Exif information is information, such as attribute information of the target image and shot data, described based on the Exif format, and when the attribute information of the application program is added to the Exif information in the target image, the attribute information of the application program may be added after being converted into the Exif format.
After the target image carrying the application program attribute information is sent to the target object, the device corresponding to the target object can determine the application program to which the screenshot interface of the target image belongs through the carried application program attribute information.
According to the image processing method provided by the embodiment of the application, under the condition that a screen capturing instruction is received, screen capturing operation is performed on a current application program interface, and a target image is generated; acquiring attribute information of an application program operated in a foreground; the attribute information is carried in the target image and shared to the target object, so that equipment corresponding to the target object, namely receiver equipment, can access the target application program by itself according to the attribute information carried in the target image, a receiver user can know detailed information of the object contained in the target image after starting the target application program, and after the target image sharing is completed between the sender equipment and the receiver equipment of the target image, the related information of the target image can be obtained, and the operation is convenient and fast.
In an optional embodiment, after the step of acquiring the attribute information of the foreground-running application, the method further includes the following steps:
step one, screen capture notification information of a current application program interface is sent to an application program;
and step two, receiving the extension data sent by the application program.
Wherein the extension data includes at least one of: the identification information of the commodity contained in the target image and the account information of the user in the application program;
the step of carrying the attribute information in the target image to enable the attribute information to be shared with the target object includes: and carrying the attribute information and the extension data in the target image so as to share the attribute information to the target object.
The attribute information and the extension data of the application program can be combined and processed according to a specific rule, and then added to the target image for sharing. Specific rules may include, but are not limited to: and sequencing the attribute information before the extension data for splicing, or sequencing the attribute information after the extension data for splicing.
In the optional embodiment, the attribute information of the application program is shared to the target object, and the extension data is shared to the target object, so that the device corresponding to the target object is directly positioned to a specific target image screenshot interface under the application program according to the extension data, a user does not need to manually search the target image screenshot interface under the application program, the operation is convenient and fast, and the use experience of the user can be improved.
In an optional embodiment, the method for carrying the attribute information and the extension data of the application program in the target image so that the attribute information is shared with the target object includes:
firstly, combining attribute information and extension data and then coding to obtain a target coding character string;
the encoding mode used for encoding the data information may be implemented by referring to the existing related encoding mode, which is not specifically limited in the embodiment of the present application. The adopted coding mode is predetermined between the sender device and the receiver device.
Secondly, encrypting the target coding character string to obtain an encrypted coding character string;
encrypting the target code string is essentially signing the target code string, and the encryption can be performed by using a password agreed with a device of a receiving party or using a model number of an authorized device.
And finally, carrying the encrypted character string in the target image so as to enable the attribute information to be shared with the target object.
The method for encrypting the target code character string can ensure the safety of the attribute information of the application program and the extended data.
It should be noted that, in the image processing method provided in the embodiment of the present application, the execution subject may be an image processing apparatus, or a control module for executing the method of image processing in the image processing apparatus. In the embodiment of the present application, a method for executing image processing by an image processing apparatus is taken as an example, and the image processing method provided in the embodiment of the present application is described.
Referring to fig. 2, a flowchart illustrating steps of an image processing method according to an embodiment of the present application is shown.
The image processing method of the embodiment of the application comprises the following steps:
step 201: a target image is received.
In the embodiment of the present application, an image processing method according to the present application is described from the perspective of an image receiving apparatus. The target image carries attribute information of an application program, and the attribute information of the application program comprises at least one of the following items: application identification information, application version information, and process information.
Step 202: and analyzing the attribute information and determining the application program to which the target image belongs.
And after receiving the target image, the receiving party equipment acquires the attribute information of the application program carried in the target image. And if the obtained application program attribute information is not encrypted, decoding the encoded attribute information by adopting a decoding mode agreed with the receiver equipment to obtain the attribute information. And determining an application program corresponding to the attribute information obtained by decoding, and taking the application program as the application program to which the target image belongs.
It should be noted that, if the attribute information carried in the target image is encoded and encrypted by the sender device, the receiver device needs to first obtain the application attribute information carried in the target image, and if the obtained application attribute information is encrypted, the receiver device needs to perform a successful interface and then decode the encoded attribute information by using a decoding method agreed between the receiver device and the receiver device to obtain the attribute information.
Step 203: and displaying the target image and the preset control.
And the preset control is used for switching into the application program.
As shown in the image display interface diagram in fig. 3, a preset control 301 is displayed while the target image is displayed, and a user can start an application program determined based on the attribute information of the application program from the current interface by executing a first input to the preset control.
It should be noted that steps 204 to 205 are optional steps, and in an actual implementation process, if the user is not interested in the detailed information of the object included in the target image, the first input may not be performed on the preset control.
Step 204: receiving a first input of a user to a preset control.
The first input may be a single-click operation, a double-click operation, a long-press operation, a sliding operation, or the like on a preset control, and a specific operation indicated by the first input is not specifically limited in this embodiment.
Executing step 205 to step 206 under the condition that the target image carries the attribute information and the extension data of the application program; and cutting the main interface of the application program under the condition that the target image carries the attribute information of the application program and does not carry the extension data of the application program.
Step 205: in response to the first input, the extension data is sent to the application.
And after receiving the extension data sent by the receiver equipment system, the application program determines a corresponding target interface according to the extension data.
Step 206: and starting the application program, and jumping to a target interface determined by the application program according to the extension data.
According to the method for determining the target interface corresponding to the target image according to the extension data of the application program, a receiver user does not need to manually search the target interface in the application program after the application program is started, the operation is convenient and fast, the user time can be saved, and the use experience of the receiver user can be improved.
The image processing method provided by the embodiment of the application receives a target image; analyzing attribute information carried in the target image, and determining an application program to which the target image belongs; and displaying the target image and the preset control. The receiver user can trigger the system to start the application program by operating the preset control, so that the detailed information of the object contained in the target image is known, interaction with the sender user is not needed, and the operation is convenient and fast.
Fig. 4 is a block diagram of an image processing apparatus implementing an embodiment of the present application. The image processing apparatus shown in fig. 4 is used to implement the image processing method shown in fig. 1.
The image processing apparatus 400 of the embodiment of the present application includes:
the first generation module 401 is configured to, in a case that a screen capture instruction is received, perform a screen capture operation on a current application program interface to generate a target image;
an obtaining module 402, configured to obtain attribute information of an application running in a foreground, where the attribute information includes at least one of: the application program identification information, the application program version information and the process information;
a sharing module 403, configured to carry the attribute information in the target image, so that the attribute information is shared with a target object.
Optionally, the apparatus further comprises: the first sending module is used for sending screen capture notification information of the current application program interface to the application program after the acquisition module acquires the attribute information of the application program running in the foreground; a first receiving module, configured to receive extension data sent by the application program, where the extension data includes at least one of: the target image comprises identification information of commodities and account information of a user in the application program;
the sharing module is specifically configured to: and carrying the attribute information and the extension data in the target image so as to enable the attribute information to be shared to a target object.
Optionally, the sharing module includes:
the encoding submodule is used for encoding after combining the attribute information and the extended data to obtain a target encoding character string;
the encryption submodule is used for encrypting the target coding character string to obtain an encrypted coding character string;
and the sharing submodule is used for carrying the encrypted character string in the target image so as to enable the attribute information to be shared to a target object.
The image processing apparatus shown in fig. 4 in the embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The image processing apparatus shown in fig. 4 in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The image processing apparatus shown in fig. 4 provided in the embodiment of the present application can implement each process implemented by the image processing method in the embodiment of the method shown in fig. 1, and is not described here again to avoid repetition.
The image processing device provided by the embodiment of the application is used as a sender device, and performs screen capture operation on a current application program interface under the condition of receiving a screen capture instruction to generate a target image; acquiring attribute information of an application program operated in a foreground; the attribute information is carried in the target image and shared to the target object, so that the target object, namely the receiver device, can access the target application program according to the attribute information carried in the target image, a receiver user can know details of the object contained in the target image after starting the target application program, and after the target image sharing is completed between the target image sender device and the receiver device, the relevant information of the target image can be obtained, and the operation is convenient and fast.
Fig. 5 is a block diagram of an image processing apparatus implementing an embodiment of the present application. The image processing apparatus shown in fig. 5 is used to implement the image processing method shown in fig. 2.
The image processing apparatus 500 of the embodiment of the present application includes:
a second receiving module 501, configured to receive a target image, where the target image carries attribute information of an application program, and the attribute information includes at least one of the following: application program identification information, application program version information and process information;
an analyzing module 502, configured to analyze the attribute information and determine an application program to which the target image belongs;
a display module 503, configured to display the target image and a preset control, where the preset control is used to start the application program.
Optionally, the apparatus further comprises: the third receiving module is used for receiving a first input of a user to a preset control after the target image and the preset control are displayed by the display module under the condition that the target image carries the extension data of the application program; a second sending module, configured to send the extension data to the application program in response to the first input; and the starting module is used for starting the application program and jumping to a target interface determined by the application program according to the extension data.
The image processing apparatus shown in fig. 5 in the embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The image processing apparatus shown in fig. 5 in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The image processing apparatus shown in fig. 5 provided in the embodiment of the present application can implement each process implemented by the image processing method in the embodiment of the method shown in fig. 2, and is not described here again to avoid repetition.
The image processing device provided by the embodiment of the application is used as a receiving device and used for receiving a target image; analyzing attribute information carried in the target image, and determining an application program to which the target image belongs; and displaying the target image and the preset control. The receiver user can trigger the system to start the application program by operating the preset control, so that the detailed information of the object contained in the target image is known, interaction with the sender user is not needed, and the operation is convenient and fast.
Optionally, an embodiment of the present application further provides an electronic device, as shown in fig. 6, an electronic device 600 includes: the processor 601, the memory 602, and a program or an instruction stored in the memory 602 and capable of being executed on the processor 601, where the program or the instruction is executed by the processor 601 to implement each process of the above-mentioned image processing method embodiment, and can achieve the same technical effect, and are not described herein again to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710.
Those skilled in the art will appreciate that the electronic device 700 may also include a power supply (e.g., a battery) for powering the various components, and the power supply may be logically coupled to the processor 710 via a power management system, such that the functions of managing charging, discharging, and power consumption may be performed via the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
Wherein, in the case where the electronic device is an image sender device:
the processor 710 is configured to, in a case that a screen capture instruction is received, perform a screen capture operation on a current application program interface to generate a target image; acquiring attribute information of an application program running in a foreground, wherein the attribute information comprises at least one of the following: the application program identification information, the application program version information and the process information;
a radio frequency unit 701, configured to carry the attribute information in the target image, so that the attribute information is shared with a target object.
Optionally, the radio frequency unit 701 is further configured to send, after the processor 710 obtains attribute information of an application program running in a foreground, screen capture notification information of the current application program interface to the application program; receiving extension data sent by the application program, wherein the extension data comprises at least one of the following data: the target image comprises identification information of commodities and account information of a user in the application program;
the radio frequency unit 701 carries the attribute information in the target image, so that when the attribute information is shared with a target object, the radio frequency unit is specifically configured to: and carrying the attribute information and the extension data in the target image so as to enable the attribute information to be shared to a target object.
Optionally, the processor 710 is further configured to combine the attribute information and the extension data and then encode the combination to obtain a target encoded character string; encrypting the target coding character string to obtain an encrypted coding character string;
the radio frequency unit 701 is specifically configured to carry the encrypted character string in the target image, so that the attribute information is shared with a target object.
According to the image processing method provided by the embodiment of the application, under the condition that a screen capturing instruction is received, screen capturing operation is performed on a current application program interface, and a target image is generated; acquiring attribute information of an application program operated in a foreground; the attribute information is carried in the target image and shared to the target object, so that the target object, namely the receiver device, can access the target application program by itself according to the attribute information carried in the target image, the receiver user can know details of the object contained in the target image after starting the target application program, and after the target image sharing is completed between the target image sender device and the receiver device, the relevant information of the target image can be obtained, and the operation is convenient and fast.
In the case where the electronic device is an image recipient device:
a radio frequency unit 701, configured to receive a target image, where the target image carries attribute information of an application program, and the attribute information includes at least one of the following: application program identification information, application program version information and process information;
a processor 710, configured to analyze the attribute information, and determine an application program to which the target image belongs;
a display unit 706, configured to display the target image and a preset control, where the preset control is used to start the application program.
Optionally, the user input unit 707 is configured to receive a first input of the preset control from the user after the display unit 706 displays the target image and the preset control; a radio frequency unit 701, further configured to send the extension data to the application program in response to the first input; the processor 710 is further configured to start the application program, and jump to a target interface determined by the application program according to the extension data.
According to the image processing method provided by the embodiment of the application, the electronic equipment receives a target image; analyzing attribute information carried in the target image, and determining an application program to which the target image belongs; and displaying the target image and the preset control. The receiver user can trigger the system to start the application program by operating the preset control, so that the detailed information of the object contained in the target image is known, interaction with the sender user is not needed, and the operation is convenient and fast.
It should be understood that in the embodiment of the present application, the input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics Processing Unit 7041 processes image data of still pictures or videos obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071 is also referred to as a touch screen. The touch panel 7071 may include two parts of a touch detection device and a touch controller. Other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. Memory 709 may be used to store software programs as well as various data, including but not limited to applications and operating systems. The processor 710 may integrate an application processor that handles primarily the operating system, user interface, applications, etc., and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 710.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the embodiment of the image processing method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the embodiment of the image processing method, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, 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. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. An image processing method, characterized in that the method comprises:
under the condition of receiving a screen capturing instruction, performing screen capturing operation on a current application program interface to generate a target image;
acquiring attribute information of an application program running in a foreground, wherein the attribute information comprises at least one of the following: the application program identification information, the application program version information and the process information;
and carrying the attribute information in the target image so as to enable the attribute information to be shared with a target object.
2. The method of claim 1, wherein after the step of obtaining attribute information of the foreground-running application, the method further comprises:
sending screen capture notification information of the current application program interface to the application program;
receiving extension data sent by the application program, wherein the extension data comprises at least one of the following data: the target image comprises identification information of commodities and account information of a user in the application program;
the step of carrying the attribute information in the target image to enable the attribute information to be shared with a target object includes:
and carrying the attribute information and the extension data in the target image so as to enable the attribute information to be shared to a target object.
3. The method according to claim 2, wherein the step of carrying the attribute information and the extension data in the target image so that the attribute information is shared with a target object comprises:
combining the attribute information and the extended data and then coding to obtain a target coding character string;
encrypting the target coding character string to obtain an encrypted coding character string;
and carrying the encrypted character string in the target image so as to enable the attribute information to be shared to a target object.
4. An image processing method, characterized in that the method comprises:
receiving a target image, wherein the target image carries attribute information of an application program, and the attribute information includes at least one of the following: application program identification information, application program version information and process information;
analyzing the attribute information and determining an application program to which the target image belongs;
and displaying the target image and a preset control, wherein the preset control is used for starting the application program.
5. The method according to claim 4, wherein in a case that the target image carries extension data of an application program, after the step of displaying the target image and a preset control, the method further comprises:
receiving a first input of a user to the preset control;
in response to the first input, sending the extension data to the application;
and starting the application program, and jumping to a target interface determined by the application program according to the extension data.
6. An image processing apparatus, characterized in that the apparatus comprises:
the first generation module is used for executing screen capture operation on the current application program interface under the condition of receiving a screen capture instruction to generate a target image;
the acquisition module is used for acquiring attribute information of an application program running in a foreground, wherein the attribute information comprises at least one of the following: the application program identification information, the application program version information and the process information;
and the sharing module is used for carrying the attribute information in the target image so as to enable the attribute information to be shared with a target object.
7. The apparatus of claim 6, further comprising:
the first sending module is used for sending screen capture notification information of the current application program interface to the application program after the acquisition module acquires the attribute information of the application program running in the foreground;
a first receiving module, configured to receive extension data sent by the application program, where the extension data includes at least one of: the target image comprises identification information of commodities and account information of a user in the application program;
the sharing module is specifically configured to: and carrying the attribute information and the extension data in the target image so as to enable the attribute information to be shared to a target object.
8. The apparatus of claim 7, wherein the sharing module comprises:
the encoding submodule is used for encoding after combining the attribute information and the extended data to obtain a target encoding character string;
the encryption submodule is used for encrypting the target coding character string to obtain an encrypted coding character string;
and the sharing submodule is used for carrying the encrypted character string in the target image so as to enable the attribute information to be shared to a target object.
9. An image processing apparatus, characterized in that the apparatus comprises:
a second receiving module, configured to receive a target image, where the target image carries attribute information of an application program, and the attribute information includes at least one of the following: application program identification information, application program version information and process information;
the analysis module is used for analyzing the attribute information and determining an application program to which the target image belongs;
and the display module is used for displaying the target image and a preset control, and the preset control is used for starting the application program.
10. The apparatus of claim 9, further comprising:
the third receiving module is used for receiving a first input of a user to a preset control after the target image and the preset control are displayed by the display module under the condition that the target image carries the extension data of the application program;
a second sending module, configured to send the extension data to the application program in response to the first input;
and the starting module is used for starting the application program and jumping to a target interface determined by the application program according to the extension data.
CN202011079776.9A 2020-10-10 2020-10-10 Image processing method and device Pending CN112230831A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011079776.9A CN112230831A (en) 2020-10-10 2020-10-10 Image processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011079776.9A CN112230831A (en) 2020-10-10 2020-10-10 Image processing method and device

Publications (1)

Publication Number Publication Date
CN112230831A true CN112230831A (en) 2021-01-15

Family

ID=74111937

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011079776.9A Pending CN112230831A (en) 2020-10-10 2020-10-10 Image processing method and device

Country Status (1)

Country Link
CN (1) CN112230831A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461474A (en) * 2013-09-12 2015-03-25 北京三星通信技术研究有限公司 Mobile terminal and screen-shooting method and device therefor
CN107798075A (en) * 2017-09-29 2018-03-13 维沃移动通信有限公司 A kind of screenshotss method and mobile terminal
CN108604234A (en) * 2015-07-15 2018-09-28 查比公司 System and method for screenshot capture link
CN110222212A (en) * 2019-04-25 2019-09-10 南京维沃软件技术有限公司 A kind of display control method and terminal device
CN110543347A (en) * 2019-09-02 2019-12-06 联想(北京)有限公司 Method and device for generating screenshot image and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461474A (en) * 2013-09-12 2015-03-25 北京三星通信技术研究有限公司 Mobile terminal and screen-shooting method and device therefor
CN108604234A (en) * 2015-07-15 2018-09-28 查比公司 System and method for screenshot capture link
CN107798075A (en) * 2017-09-29 2018-03-13 维沃移动通信有限公司 A kind of screenshotss method and mobile terminal
CN110222212A (en) * 2019-04-25 2019-09-10 南京维沃软件技术有限公司 A kind of display control method and terminal device
CN110543347A (en) * 2019-09-02 2019-12-06 联想(北京)有限公司 Method and device for generating screenshot image and electronic equipment

Similar Documents

Publication Publication Date Title
US20200012701A1 (en) Method and apparatus for recommending associated user based on interactions with multimedia processes
CN112286887A (en) File sharing method and device and electronic equipment
CN112486444B (en) Screen projection method, device, equipment and readable storage medium
CN112764857A (en) Information processing method and device and electronic equipment
CN113177190A (en) Document content sharing method and electronic equipment
CN113676395B (en) Information processing method, related device and readable storage medium
CN112269504B (en) Information display method and device and electronic equipment
CN113869063A (en) Data recommendation method and device, electronic equipment and storage medium
CN111817944A (en) Picture sharing method and device and electronic equipment
CN112866092A (en) Group chat creating method and group chat creating device
WO2022253132A1 (en) Information display method and apparatus, and electronic device
CN113840035B (en) Information sharing method and device, electronic equipment and readable storage medium
CN113709300B (en) Display method and device
CN112230831A (en) Image processing method and device
CN112383666B (en) Content sending method and device and electronic equipment
CN113300944A (en) Friend adding method and device and electronic equipment
CN113965640A (en) Message processing method and device
CN113807831A (en) Payment method and device
CN113835820A (en) Graphic code display method and device
CN113868269A (en) Screenshot method and device, electronic equipment and readable storage medium
CN112084151A (en) File processing method and device and electronic equipment
CN112291412A (en) Application program control method and device and electronic equipment
CN112182673A (en) Information sharing method, device and equipment
CN113127653A (en) Information display method and device
CN113239212A (en) Information processing method and device and electronic equipment

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20210115

WD01 Invention patent application deemed withdrawn after publication