CN111601035B - Image processing method and electronic equipment - Google Patents

Image processing method and electronic equipment Download PDF

Info

Publication number
CN111601035B
CN111601035B CN202010382169.3A CN202010382169A CN111601035B CN 111601035 B CN111601035 B CN 111601035B CN 202010382169 A CN202010382169 A CN 202010382169A CN 111601035 B CN111601035 B CN 111601035B
Authority
CN
China
Prior art keywords
image
electronic device
module
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.)
Active
Application number
CN202010382169.3A
Other languages
Chinese (zh)
Other versions
CN111601035A (en
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 CN202010382169.3A priority Critical patent/CN111601035B/en
Publication of CN111601035A publication Critical patent/CN111601035A/en
Application granted granted Critical
Publication of CN111601035B publication Critical patent/CN111601035B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/66Remote control of cameras or camera parts, e.g. by remote control devices
    • H04N23/663Remote control of cameras or camera parts, e.g. by remote control devices for controlling interchangeable camera parts based on electronic image sensor signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00127Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
    • H04N1/00249Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a photographic apparatus, e.g. a photographic printer or a projector
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/633Control of cameras or camera modules by using electronic viewfinders for displaying additional information relating to control or operation of the camera

Abstract

The embodiment of the invention discloses an image processing method and electronic equipment, relates to the technical field of communication, and aims to solve the problem that files cannot be cooperatively processed among different electronic equipment under the condition that the electronic equipment is in abnormal network connection or the login of an application program in the electronic equipment is abnormal. The method is applied to a first electronic device and comprises the following steps: under the condition that the separable module is inserted into and connected with the first electronic equipment, target content is obtained from the separable module, and the target content comprises first image editing information; obtaining a target image according to the first image editing information and a first image in the first electronic equipment; the first image editing information is information for editing the image of the second image in the second electronic device, and the second electronic device is the electronic device connected with the separable module before the separable module is inserted into and connected with the first electronic device. The method can be applied to scenes of cooperatively processing images among different electronic devices.

Description

Image processing method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to an image processing method and electronic equipment.
Background
With the development of communication technology, a user can edit the same file on different electronic devices, that is, the different electronic devices cooperate to process the same file. For example, a user may perform a cropping operation on the same picture on different electronic devices.
Generally, a user first needs to register an account of the picture application Q and log in the account in the electronic device a. Then, the user can perform editing operations (e.g., picture cropping, adjustment of picture exposure, adjustment of picture color saturation, etc.) on the target picture by using the application program Q in the electronic device a. Subsequently, the user can trigger the electronic device a to upload the edited target picture to the server for saving. Then, the user can log in the account of the application program Q in the electronic device B, and trigger the electronic device B to download the target picture edited by the electronic device a. Further, the user can perform editing operation (e.g., face beautifying, sticker adding, etc.) again on the edited target picture in the electronic device B through the application Q.
However, when the electronic device is in an abnormal network connection state or an abnormal login of an application program in the electronic device, the data synchronization process between different electronic devices may be affected, so that the edited files cannot be synchronized in time, and further, the files cannot be processed cooperatively between different electronic devices.
Disclosure of Invention
The embodiment of the invention provides an image processing method and electronic equipment, and aims to solve the problem that files cannot be cooperatively processed among different electronic equipment under the condition that the electronic equipment is in abnormal network connection or the login of an application program in the electronic equipment is abnormal.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides an image processing method, which is applied to a first electronic device. The method can comprise the following steps: under the condition that the separable module is inserted into and connected with the first electronic equipment, target content is obtained from the separable module, and the target content comprises first image editing information; obtaining a target image according to the first image editing information and a first image in the first electronic equipment; the first image editing information is information for editing the image of the second image in the second electronic device, and the second electronic device is the electronic device connected with the separable module before the separable module is inserted into and connected with the first electronic device.
In a second aspect, an embodiment of the present invention provides an electronic device, which is a first electronic device and may include an obtaining module and a processing module. The acquisition module is used for acquiring target content from the separable module under the condition that the separable module is inserted into and connected with the first electronic equipment, wherein the target content comprises first image editing information; the processing module is used for obtaining a target image according to the first image editing information and a first image in the first electronic equipment; the first image editing information is information for editing the image of the second image in the second electronic device, and the second electronic device is the electronic device connected with the separable module before the separable module is inserted into and connected with the first electronic device.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the image processing method provided in the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the image processing method provided in the first aspect.
In the embodiment of the present invention, in a case where the detachable module is inserted into and connected to the first electronic device, the first electronic device may acquire the target content including the first image editing information from the detachable module. The first image editing information is the information for editing the image of the second image in the second electronic device, and the second electronic device is the electronic device connected with the separable module before the separable module is inserted into and connected with the first electronic device. Subsequently, the first electronic device may obtain the target image according to the first image editing information and the first image in the first electronic device, that is, the first electronic device may obtain an image (that is, the target image) edited by the second electronic device before the first electronic device is inserted into and connected to the first electronic device when the separation module is inserted into and connected to the first electronic device, and then, the user may continue to edit the target image on the basis of editing the target image by the second electronic device using the first electronic device, thereby achieving cooperative processing of the target image by the first electronic device and the second electronic device. In the above process, the physical connection that the detachable module is inserted into the first electronic device is not affected by the network environment, that is, the detachable module and the first electronic device can realize the communication connection for data interaction (such as interaction target content) without establishing a wireless connection based on the network. Therefore, even if the network is abnormal, the first electronic device can acquire the target image by inserting and connecting the separable module into the first electronic device, and the first electronic device and the second electronic device can collaboratively edit the target image. In other words, the cooperation processing between different electronic devices can still be realized under the condition of network abnormality, and the reliability of cooperation processing files between different electronic devices can be further improved.
Drawings
Fig. 1 is a schematic diagram of an architecture of an android operating system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an image processing method according to an embodiment of the present invention;
fig. 3 is a second schematic diagram of an image processing method according to an embodiment of the present invention;
fig. 4 is a third schematic diagram of an image processing method according to an embodiment of the present invention;
fig. 5 is an operation diagram of an electronic device displaying target content according to an embodiment of the present invention;
FIG. 6 is a fourth schematic diagram illustrating an image processing method according to an embodiment of the present invention;
FIG. 7 is a fifth schematic diagram illustrating an image processing method according to an embodiment of the present invention;
fig. 8 is a second schematic view illustrating an operation of the electronic device to display target content according to the embodiment of the present invention;
FIG. 9 is a sixth schematic view illustrating an image processing method according to an embodiment of the present invention;
fig. 10 is a third schematic view illustrating an operation of the electronic device to display a target content according to the embodiment of the present invention;
fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 12 is a second schematic structural diagram of an electronic device according to an embodiment of the invention;
fig. 13 is a hardware schematic diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of protection of the present invention.
The term "and/or" herein is an association relationship describing an associated object, and means that there may be three relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The symbol "/" herein denotes a relationship in which the associated object is or, for example, a/B denotes a or B.
The terms "first" and "second," and the like, in the description and in the claims of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first electronic device and the second electronic device, etc. are for distinguishing different electronic devices, and are not for describing a specific order of the electronic devices.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the embodiments of the present invention, unless otherwise specified, "a plurality" means two or more, for example, a plurality of elements means two or more elements, and the like.
The embodiment of the invention provides an image processing method and electronic equipment. The first image editing information is the information for editing the image of the second image in the second electronic device, and the second electronic device is the electronic device connected with the separable module before the separable module is inserted into and connected with the first electronic device. Subsequently, the first electronic device may obtain the target image according to the first image editing information and the first image in the first electronic device, that is, the first electronic device may obtain an image (that is, the target image) edited by the second electronic device before the first electronic device is inserted into and connected to the first electronic device when the separation module is inserted into and connected to the first electronic device, and then, the user may continue to edit the target image on the basis of editing the target image by the second electronic device using the first electronic device, thereby achieving cooperative processing of the target image by the first electronic device and the second electronic device. In the above process, the physical connection that the detachable module is inserted into the first electronic device is not affected by the network environment, that is, the detachable module and the first electronic device can realize the communication connection for data interaction (such as interaction target content) without establishing a wireless connection based on the network. Therefore, even if the network is abnormal, the first electronic device can acquire the target image by inserting and connecting the separable module into the first electronic device, and the first electronic device and the second electronic device can collaboratively edit the target image. In other words, the cooperation processing between different electronic devices can still be realized under the condition of network abnormality, and the reliability of cooperation processing files between different electronic devices can be further improved.
The electronic device in the embodiment of the present invention may be an electronic device having an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which is not limited in the embodiments of the present invention.
The following describes a software environment to which the image processing method provided by the embodiment of the present invention is applied, by taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of an android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the image processing method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the image processing method may operate based on the android operating system shown in fig. 1. Namely, the processor or the electronic device can implement the image processing method provided by the embodiment of the invention by running the software program in the android operating system.
The electronic device in the embodiment of the invention can be a mobile electronic device or a non-mobile electronic device. For 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 Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiment of the present invention is not particularly limited.
An execution main body of the image processing method provided in the embodiment of the present invention may be the electronic device, or may also be a functional module and/or a functional entity that can implement the image processing method in the electronic device, and may be specifically determined according to actual use requirements, which is not limited in the embodiment of the present invention. The following takes an electronic device as an example to exemplarily explain an image processing method provided by an embodiment of the present invention.
Example 1
As shown in fig. 2, an embodiment of the present invention provides an image processing method applied to a first electronic device, and the method may include steps 101 and 102 described below.
Step 101, in the case that the detachable module is inserted into and connected with the first electronic device, the first electronic device obtains the target content from the detachable module.
The target content includes first image editing information, the first image editing information is information for editing an image of a second image in the second electronic device, and the second electronic device is an electronic device connected with the detachable module before the detachable module is inserted into and connected with the first electronic device.
Optionally, in an embodiment of the present invention, the detachable module is a device that can be detached from the electronic device and has a storage function. The separable module can be integrated with a certain function module of the electronic device, for example, a separable camera module with a storage function, a separable volume control key module with a storage function, and the like. The detachable module may also be a separate removable memory device that may be connected to the electronic device through an interface of the electronic device. For example, a usb disk or the like that can be connected to the electronic device through an interface of the electronic device. The specific characteristics can be determined according to actual use conditions, and the embodiment of the present invention is not particularly limited.
It should be noted that, in the following embodiments, the camera module that is separable from the separable module is taken as an example for description. Specifically, the detachable camera module may include: camera unit, interface unit, memory cell, transmitting unit, etc. The camera unit can realize all functions of the camera in the related technology under the condition that the separable camera module is connected with the electronic equipment through the interface unit. The interface unit may include at least one contact, and the separable camera module may establish electrical connection with the electronic device when all the contacts are in contact with corresponding contacts on the electronic device (for example, a user may insert the separable camera module into a reserved interface of the electronic device, and the separable camera module may establish electrical connection with the electronic device when the contacts on the separable camera module are in contact with the contacts in the reserved interface of the electronic device). And the electronic equipment can write data into the storage unit or read data from the storage unit under the condition that the separable camera module and the electronic equipment are successfully connected. And the sending unit can send information or a request to the electronic equipment under the condition that the separable camera module and the electronic equipment are successfully connected. The detachable camera module may further include other functional units or connection structures (e.g., a guide rail, a card slot, etc.), which may be determined according to actual usage requirements, and embodiments of the present invention are not limited in particular.
Optionally, in an embodiment of the present invention, the first electronic device has an interface into which the detachable module is inserted, and the detachable module may be inserted into the interface and establish an electrical connection with the first electronic device (that is, establish a physical connection that is not affected by a network environment, and the detachable module and the first electronic device may implement data interaction based on the physical connection). In the case that the detachable module is connected to the first electronic device, the first electronic device can read the data stored in the detachable module, or the first electronic device can write a new input into the detachable module. It should be noted that, besides the first electronic device, other electronic devices may also have the same interface (e.g., a second electronic device) as the first electronic device. When the separable module is inserted into an interface of another electronic device, the separable module can also establish electrical connection with the electronic device corresponding to the interface, that is, the electronic device which has established connection with the separable module can read and write data in the separable module, and can also receive information sent by the separable module.
It should be noted that, in the embodiment of the present invention, the detachable module is detachably and movably connected to the electronic device, and specifically, the detachable module may be clamped, magnetically connected, and connected to a rail in the prior art. The embodiments of the present invention are not particularly limited.
For example, when the detachable camera module (i.e., the detachable module) is inserted into the interface of the electronic device a, the detachable camera module is electrically connected to the electronic device a, and the user can write the data D1 into the detachable camera module through the electronic device a. Then, the user can pull out the detachable camera module from the electronic device a and insert the detachable camera module into the interface of the electronic device B, and the user can control the electronic device B to read the data D1 stored in the detachable camera module and write the data D2 into the detachable camera module. Then, the user can pull out the detachable camera module from the electronic device B and insert the detachable camera module into the interface of the electronic device C, and the user can control the electronic device C to read the data D1 and the data D2 in the detachable camera module. When the data D2 contains preset data (e.g., data in a preset file format), the detachable camera module can send information to the electronic device C to indicate that the detachable camera module stores the preset data.
It should be noted that, in the embodiment of the present invention, the second electronic device may be an electronic device different from the first electronic device, that is, one scenario used in the embodiment of the present invention is to transmit and edit a file between at least two electronic devices through a detachable module. The second electronic device may also be the first electronic device, that is, another scenario used in the embodiment of the present invention is to transmit a file between one electronic device and the detachable module, and the user edits the file through the electronic device.
Optionally, in an embodiment of the present invention, the image may be any one of the following images: pictures, video, motion pictures, etc. The method and the device can be determined according to actual use requirements, and the embodiment of the invention is not particularly limited. For example, if the second image is a picture, the first image and the target image may also be pictures.
And 102, the first electronic equipment obtains a target image according to the first image editing information and the first image in the first electronic equipment.
Optionally, in this embodiment of the present invention, the first image may be an image stored in the first electronic device, and the second image and the first image are the same image at this time. Specifically, when the second electronic device and the first electronic device both store one identical image (the image is referred to as a second image in the second electronic device and as a first image in the first electronic device), the second electronic device edits the second image, and then stores the edited information of the edited first image in the detachable module. When the separable module is inserted into and connected with the first electronic device, the first electronic device acquires editing information of the first image from the separable module and acquires the first image from a storage space of the first electronic device, and then the first electronic device acquires a target image according to the editing information of the first image and the first image.
Optionally, in this embodiment of the present invention, the first image may also be an image stored in the separable module. Specifically, when the second electronic device stores the second image, the second electronic device edits the second image, and then stores the edited information of the edited first image and the first image (i.e., the image obtained by editing the second image) together in the separable module. When the separable module is inserted into and connected with the first electronic device, the first electronic device acquires the editing information of the first image and the first image from the separable module, and then the first electronic device obtains the target image according to the editing information of the first image and the first image.
Optionally, with reference to fig. 2, as shown in fig. 3, in an embodiment of the present invention, the target content may further include a second image, and the step 102 may be specifically implemented by the following step 102 a.
And 102a, after the first electronic device receives the second image, the first electronic device obtains a target image according to the first image editing information and the second image.
It should be noted that, in the embodiment of the present invention, a user may edit the second image on the second electronic device to obtain the first image (i.e., the second image after editing) and the editing information of the first image, and the user may store the editing information of the first image in the detachable module, or the user may store the first image and the editing information of the first image together in the detachable module. The first electronic device can acquire the editing information of the first image from the separation module, and can obtain the target image according to the first image editing information and the first image or the first image editing information and the second image.
Optionally, in an embodiment of the present invention, the editing information of the first image may include at least one of the following: target controls, historical operating records; the target control is used for editing a function control of a second image, and the historical operation record is an operation record of the second electronic equipment for editing the second image.
Specifically, the editing information of the first image may include a history of operations performed by the user on the second image through the second electronic device (for example, a history of operations performed by the user on the picture using a certain application program) and information of usage of a target control performed by the user through the second electronic device (for example, when the user uses a cropping function control to crop the picture when processing the picture in a certain application program, the target control may be displayed in the forms of "filter 1" and "operation 1" shown in (b) in fig. 5). The target control may be a control of the second electronic device system itself (for example, a picture cropping control of the second electronic device system itself), or a control in an application program in the second electronic device (for example, a sticker adding control, a beauty control, and the like in a paint trimming application program in the second electronic device). The target control may be used to edit the second image.
It can be understood that, in the embodiment of the present invention, the first electronic device may obtain the target image according to the received editing information of the second image and the first image. Therefore, the user can use the first electronic device to continue to edit the target image on the basis of the second electronic device editing the target image, and the first electronic device and the second electronic device can cooperatively process the target image.
Optionally, in the embodiment of the present invention, after the step 102, the image processing method provided in the embodiment of the present invention may further include: the first electronic device displays a target image.
Specifically, the first electronic device may display a target image, specifically, a target interface may be displayed for the first electronic device, and the target interface may include the target image. The target interface may be a desktop of the electronic device, or may be an interface of an application installed in the first electronic device (for example, a picture editing interface of a picture application). The method can be determined according to actual use requirements, and the embodiment of the invention is not particularly limited.
It should be noted that, in the embodiment of the present invention, after the first electronic device obtains the target image (i.e., after step 102), the user may perform viewing and editing operations on the target content through the first electronic device, so that the first electronic device and the second electronic device may collaboratively edit the target image. After the first electronic device finishes operating the target image, the first electronic device may also store the operated target image or the editing information of the target image into the detachable module (i.e., the process of storing the operated target image into the detachable module by the first electronic device is similar to the process of storing the target image into the detachable module by the second electronic device), so that the target image operated by the first electronic device may be read from the detachable module by the other electronic devices when the detachable module establishes a connection with the other electronic devices.
Optionally, with reference to fig. 2, as shown in fig. 4, in the embodiment of the present invention, before the step 101, the following step 103 may be further included, and accordingly, the step 101 may be specifically implemented by the following step 101 a.
Step 103, the first electronic device receives a first preset input.
The first preset input is used for controlling the separable module to be inserted into and connected with the first electronic device.
Optionally, in an embodiment of the present invention, the first preset input is an input for controlling the detachable module to be inserted into and connected to the first electronic device. Specifically, the first preset input may be an input for moving and inserting the separable module into the first electronic device, and the separable module automatically establishes a connection after being inserted into the first electronic device according to a preset manner; the first preset input may also be an input that inserts the separable module into the first electronic device and rotates to a preset position according to a preset direction, where the separable module is not connected after being inserted into the first electronic device, and the separable module is connected to the first electronic device when the separable module is inserted into the first electronic device and rotates to the preset position according to the preset direction (i.e., when the separable module rotates to the preset position, the contact on the separable module may be completely contacted with the contact of the first electronic device). The first preset input may be specifically determined according to actual use requirements, and the embodiment of the present invention is not specifically limited.
Step 101a, in response to the first preset input, the first electronic device obtains the target content from the detachable module when the detachable module is inserted into and connected with the first electronic device.
Optionally, in this embodiment of the present invention, the first electronic device may obtain the target content in any one of the following manners. In a first manner, the first electronic device may traverse all data stored in the separable module, and find data in a preset format from all data. For example, the first electronic device may traverse through all the data stored in the detachable module and find stored data in the picture format therefrom. In a second mode, the first electronic device may directly search for data with a specific identifier from the detachable module, and search for the target content from the data with the specific identifier, where the specific identifier is used to indicate that the data with the specific identifier is the data written by the second electronic device. In a third way, the first electronic device may directly search for data with a target identifier from the detachable module, where the target identifier is an identifier added to the target content when the data is written. The method and the device can be determined according to actual use requirements, and the embodiment of the invention is not particularly limited.
It can be understood that, in the embodiment of the present invention, a user may control the detachable module to insert and connect to a first electronic device through a first preset input, and the first electronic device may obtain the target content from the detachable module in response to the first preset input. Namely, the user can control the first electronic device to acquire the target content by controlling the input according to the self requirement, and then control the first electronic device to display the target content. Therefore, the first electronic device can acquire and display the target content according to the use requirements of the user, so that the user can conveniently check and edit the target content, and the use experience of the user is improved.
Illustratively, fig. 5 is one of operation diagrams of the first electronic device displaying the target content. As shown in fig. 5 (a), in a case where the first electronic device 001 displays the first interface 002, the receiving user inserts the detachable camera module 003 (i.e., detachable module) into the first electronic device 001 in the direction F1. The first electronic device 001 may respond to the insertion input (i.e., the first preset input), and in a case where the separated camera module 003 is connected to the first electronic device 001, the first electronic device 001 may obtain the editing information of the first image from the storage unit of the separated camera module 003. As shown in fig. 5 (b), the electronic device 001 may obtain a target picture from the editing information of the first image and the first image, and display the target picture 005 (i.e., the target image) and the editing information 006 (i.e., the editing information of the first image) on the second interface 004.
The embodiment of the invention provides an image processing method, and first electronic equipment can acquire target content comprising first image editing information from a separable module. The first image editing information is the information for editing the image of the second image in the second electronic device, and the second electronic device is the electronic device connected with the separable module before the separable module is inserted into and connected with the first electronic device. Subsequently, the first electronic device may obtain the target image according to the first image editing information and the first image in the first electronic device, that is, the first electronic device may obtain an image (that is, the target image) edited by the second electronic device before the first electronic device is inserted into and connected to the first electronic device when the separation module is inserted into and connected to the first electronic device, and then, the user may continue to edit the target image on the basis of editing the target image by the second electronic device using the first electronic device, thereby achieving cooperative processing of the target image by the first electronic device and the second electronic device. In the above process, the physical connection that the detachable module is inserted into the first electronic device is not affected by the network environment, that is, the detachable module and the first electronic device can realize the communication connection for data interaction (such as interaction target content) without establishing a wireless connection based on the network. Therefore, even if the network is abnormal, the first electronic device can acquire the target image by inserting and connecting the separable module into the first electronic device, and the first electronic device and the second electronic device can collaboratively edit the target image. In other words, the cooperation processing between different electronic devices can still be realized under the condition of network abnormality, and the reliability of cooperation processing files between different electronic devices can be further improved.
Optionally, with reference to fig. 2, as shown in fig. 6, before the step 101, the image processing method provided in the embodiment of the present invention may further include the following step 104.
And 104, the first electronic device receives the first information sent by the separable module.
The first information may be used to indicate that the second image included in the detachable module is in an editing state.
In an embodiment of the present invention, the second image in the edited state refers to a file that includes a history record of operation in the target content, or the second image has a first identifier, where the first identifier may be used to indicate that the second image is in the edited state, and the first identifier may be added after the second electronic device finishes editing the second image through an application program, and is stored in the detachable module together with the second image.
Optionally, in an embodiment of the present invention, the detachable module may send, to the first electronic device, first information indicating that the second image included in the detachable module is in an edited state through a sending unit in the detachable module. Specifically, the first information may include information of the second image and an identifier of the second image, where the information of the second image may include at least one of: the file type of the second image, the size of the second image, and the name and edit time at which the second image was last edited, among others. The indication of the second image may include an indication that the second image is in an edited state and an indication that the second image was last edited (e.g., an indication of an electronic device that last edited the second image, an indication of an application that last edited the second image, etc.). The method and the device can be determined according to actual use requirements, and the embodiment of the invention is not particularly limited.
It should be noted that, in this embodiment of the present invention, after the first electronic device receives the first information sent by the detachable module, the first electronic device may directly obtain the target content including the second image from the detachable module, or the first electronic device displays a prompt message (for example, the first prompt message in step 105 described below), and a user may trigger the electronic device to obtain the target content including the second image by operating the prompt message, and display the target content. The specific implementation manner may be determined according to actual use requirements, and the embodiment of the present invention is not limited in particular.
It can be understood that, in the embodiment of the present invention, because the first electronic device receives the first information, which is sent by the detachable module and used for indicating that the second image that may be included in the detachable module is in the editing state, the first electronic device may trigger the first electronic device to acquire the target content including the second image according to the first information, so that it is not necessary for the first electronic device to traverse all data stored in the detachable module to find the second image that is in the editing state, and thus the image that is in the editing state is conveniently and quickly found, and time of a user is saved.
Optionally, with reference to fig. 2, as shown in fig. 7, before step 102, the image processing method provided in the embodiment of the present invention may further include the following step 105 and step 106, and accordingly, step 102 may be specifically implemented by the following step 102 b.
And 105, displaying the first prompt message by the first electronic equipment.
The first prompt message is used for prompting a user whether to edit the first image.
It should be noted that, in the embodiment of the present invention, the execution sequence of step 105, step 106 and step 101 is not specifically limited, that is, the electronic device may execute step 105 and step 106 first and then execute step 101 (which is denoted as a first execution sequence, and optionally, when the first execution sequence is used, step 104 may also be executed before step 105). The electronic device may also perform step 101 first, and then perform step 105 and step 106 (denoted as a second execution order). Wherein, in the case that the first execution order is yes, the following first input may be used to trigger the first electronic device to acquire and display the target content; in the case of the second execution sequence, a first input described below may be used to trigger the first electronic device to display the target content. The method and the device can be determined according to actual use requirements, and the embodiment of the invention is not particularly limited.
In addition, in the embodiment of the present invention, the first electronic device performs step 101, then performs step 105 and step 106 (i.e. the second execution sequence) for an exemplary illustration in fig. 7 and the following embodiments, which do not limit the present invention.
Optionally, in this embodiment of the present invention, the first prompt information is prompt information displayed in an interface of the electronic device. The first electronic device may also be accompanied by special prompt information while the first electronic device displays the first prompt information, wherein the special prompt information may be at least one of: sound prompt information, vibration prompt information, prompt information that an indicator light flickers according to preset frequency and the like. The method and the device can be determined according to actual use requirements, and the embodiment of the invention is not particularly limited.
Optionally, in the embodiment of the present invention, a display manner of the first prompt message is not specifically limited in the embodiment of the present invention, and reference may be made to a display manner of the prompt message in the prior art, which is not repeated herein.
Optionally, in this embodiment of the present invention, the first prompt information may include at least two selectable items, specifically, one selectable item is a determination option, that is, the determination option may be used to instruct the user to confirm to edit the first image; another selectable item is a cancel option, i.e. the cancel option may be used to instruct the user to cancel editing the first image. In addition, the functions of other selectable items include, but are not limited to, editing the first image later, editing the first image under preset conditions, and the like. The determination may be specifically performed according to actual use requirements, and the embodiment of the present invention is not particularly limited.
Step 106, the first electronic device receives a first input of the first prompt message.
Optionally, in this embodiment of the present invention, the first input is an input for confirming that the user edits the first image. Specifically, in a case that the first prompt information includes a target selection item, the first input may be a touch input to the target selection item, where the target selection item may be used to instruct a user to confirm editing of the first image, and the touch input may be any of: single click input to a target selection, double click input to a target selection, long press input to a target selection, etc. The first input may also be a pressing input of a preset key of the first electronic device, where the preset key may be used to instruct the user to confirm editing of the first image. The first input may also be a voice input to the first electronic device, wherein the voice input may be used to instruct the user to confirm editing the first image. The method and the device can be determined according to actual use requirements, and embodiments of the invention are not particularly limited.
It should be noted that, the following embodiments take the first input as an example of the touch input to the target selection item in the first prompt information, which is not limited to the embodiments of the present invention.
And 102b, under the condition that the first input meets the preset input condition, responding to the first input by the first electronic equipment, and obtaining a target image according to the first image editing information and the first image.
It should be noted that, in the embodiment of the present invention, the preset condition is used to determine that the user edits the first image. For example, if the first input is a touch input for confirming editing of the first image control, the first input satisfies a preset input condition.
In addition, in the embodiment of the present invention, the first electronic device may display the target content according to a trigger (e.g., the first input) of the user. The display manner of the target content may refer to the related description in step 102, and is not described herein again.
Exemplarily, fig. 8 is a second operation diagram of the first electronic device displaying the target content. As shown in fig. 8 (a), in a case where the first electronic device 001 displays the first interface 002, the receiving user inserts the detachable camera module 003 (i.e., detachable module) into the first electronic device 001 in the direction F1. The first electronic device 001 may respond to the insertion input, and in a case where the separated camera module 003 establishes a connection with the first electronic device 001, the first electronic device 001 may edit information of the first image from the storage unit of the separated camera module 003. As shown in fig. 8 (b), a first prompt message 007 is displayed on the first interface 002, the first prompt message 007 includes two sub-options of "confirm edit" 008 and "cancel edit", respectively, and the user can double-click on the "confirm edit" 008, and the electronic device 001 responds to the double-click input (i.e., the first input). As shown in (c) of fig. 8, the electronic device 001 displays a second interface 004, and a target picture 005 (i.e., a target image) and editing information 006 (i.e., editing information corresponding to the first image) can be displayed in the second interface 004.
It can be understood that, in the embodiment of the present invention, the first electronic device may display first prompt information for prompting the user whether to edit the first image, and the user may trigger the first electronic device to display the target content by inputting the first prompt information, so that the user may operate the first prompt information according to actual requirements, thereby triggering the first electronic device to display the target content, further facilitating the user to check and edit the target content, and improving the man-machine interaction performance of the electronic device.
Optionally, with reference to fig. 2, as shown in fig. 9, after step 101, the image processing method provided in the embodiment of the present invention may further include step 107 and step 108, and correspondingly, after step 102, may further include step 109.
Step 107, the first electronic device displays at least one logo.
Each of the at least one identifier is used for indicating at least one application program in first application programs according to a preset indication condition, and the first application programs are a plurality of application programs in first electronic equipment.
It should be noted that, in the embodiment of the present invention, the execution sequence of step 107 and step 102 is not specifically limited in the embodiment of the present invention. In the first case, step 101 is followed by step 107 and step 108, and then step 102; in the second case, step 101 is followed by step 102, and then step 107 and step 108. As shown in fig. 9, the following embodiment exemplifies the second case.
Optionally, in this embodiment of the present invention, the preset indication condition specifically refers to that at least one application is determined according to a file type of an image (for example, a file type of a first image, or a file type of a second image), or is an application indicated by target content (for example, an application indicated by editing information of a first image), and may be specifically determined according to an actual use requirement, which is not specifically limited in this embodiment of the present invention.
Optionally, in this embodiment of the present invention, the first electronic device may determine at least one application from a plurality of applications installed on the first electronic device, and each application in the at least one application may edit the first image. The specific determination method may be any one of the following methods: in a first manner, the first electronic device may find, according to a file type of the first image (the file type of the first image may be obtained by the first electronic device, or included in the first information sent by the detachable module to the first electronic device), at least one application program that can edit the first image from all application programs installed in the first electronic device, and may display, in the first electronic device, at least one identifier corresponding to the at least one application program. In a second manner, the first electronic device may search for the first application program from all the application programs installed in the first electronic device or at least one application program of the same type as the first application program according to the identifier of the first application program in the target content, which is used for instructing the second electronic device to edit the first image. And may display the identities of all found applications in the first electronic device (i.e., display at least one identity corresponding to the at least one application). The method and the device can be determined according to actual use requirements, and embodiments of the invention are not particularly limited.
For example, assuming that the first image is a target picture (i.e. belongs to a picture file type), in the case that the first information sent by the separable module to the first electronic device includes a file type of the target picture, the first electronic device may find three applications capable of editing the target picture from all applications installed in the first electronic device, which are: application a, application B and application C, the first electronic device may display on the desktop of the first electronic device an identifier including application a, application B and application C (i.e. at least one identifier in step 107 above).
For example, assuming that the second electronic device has edited the target picture (i.e., the second image) by using the picture-class application a, the first electronic device may obtain a first target identifier from the received first information (i.e., the first information sent by the detachable module to the first electronic device), where the first target identifier may be used to indicate the application a, and the first electronic device searches for the application a from all applications installed on the first electronic device according to the first target identifier, or searches for other applications of the same type as the application a (e.g., the application B and the application C capable of editing the target picture) from all applications installed on the first electronic device. Subsequently, the first electronic device can display a desktop including the identification of application a, the identification of application B, and the identification of application C on the first electronic device.
Step 108, the first electronic device receives a second input of the target application identifier in the at least one identifier.
Optionally, in this embodiment of the present invention, the second input may be used to select the target application identifier. Specifically, the second input may be any one of the following: click input to the target application identification, slide input to the target application identification, double click input to the target application identification, or long press input to the target application identification, etc. The method may be determined according to actual use requirements, and the embodiment of the present invention is not limited in particular.
And step 109, responding to the second input, and displaying the target content through the target application program corresponding to the target application identification by the first electronic equipment.
Optionally, in this embodiment of the present invention, the first electronic device may display the target image and the editing information corresponding to the target image (i.e., the editing information of the first image) on an editing interface of the target application. For example, if the target image is the target picture, the first electronic device may display the target picture and the editing information corresponding to the target picture (i.e., the editing information of the first image) using the target application selected by the user (i.e., selected by the second input).
Exemplarily, fig. 10 is a third operation diagram of the first electronic device displaying the target content. Under the condition that the separated camera module 003 is connected to the first electronic device 001, the first electronic device 001 may find, according to the file type (i.e., the picture type) of the target picture (i.e., the first image), two applications that can edit the target picture from all the applications installed in the first electronic device 001, that are application 1 and application 2, respectively. As shown in fig. 10 (a), the first electronic device 001 may display a control 009 including an identification 010 of the application 1 and an identification of the application 2 in the first interface 002. The user can click on the identity 010 of the application 1. In response to the single click input (i.e., the second input), as shown in (b) of fig. 10, the electronic device 001 displays a second interface 004 in which the application 1 identifies the indicated application 1, and displays a target picture 005 (i.e., a target image) and edit information 006 (i.e., edit information of the first image) in the second interface 004.
It is understood that, in the embodiment of the present invention, the first electronic device may display at least one identifier capable of editing the target image, and the user may select the target application identifier from the at least one identifier by inputting, so as to trigger the electronic device to display the target content through the target application program. Therefore, the application program for editing the target image can be selected according to the actual use requirements of the user, so that the method for editing the target image by the user can be enriched, and the use experience of the user is improved.
Example 2
An embodiment of the present invention provides an image processing method applied to a second electronic device, where the second electronic device has a detachable module, and the method may include steps 301 and 302 described below.
Step 301, the second electronic device receives a first target input under the condition that the second electronic device displays an editing interface of the second image.
It should be noted that, in the embodiment of the present invention, the description of the separable module specifically refers to the description of the separable module in step 101 of embodiment 1, and is not repeated herein.
In addition, in the embodiment of the present invention, the detachable module of the second electronic device is inserted into and connected to the second electronic device.
It should be noted that, in the embodiment of the present invention, the second electronic device may be an electronic device different from the first electronic device, that is, one scenario used in the embodiment of the present invention is to transmit and edit a file between at least two electronic devices through a detachable module. The second electronic device may also be the first electronic device, that is, another scenario used in the embodiment of the present invention is to transmit a file between one electronic device and the detachable module, and the user edits the file through the electronic device.
Optionally, in this embodiment of the present invention, the first target input may be used to trigger the second electronic device to store the target content in the separable module. Specifically, the first target input is a touch input to a first control, and the first control may be used to instruct to store target content including the second image in the separable module, where the touch input may be any one of: click input, slide input, double-click input, long-press input, or the like. The first target input may also be an input that drags an identification of target content comprising the second image to a detachable module, wherein the identification of target content comprising the second image may be used to indicate the target content, and the detachable module is a storage unit that the identification may be used to indicate the detachable module. The first target input may be specifically determined according to actual use requirements, and the embodiment of the present invention is not limited in particular.
Step 302, the second electronic device stores the target content to the separable module in response to the first target input.
The target content comprises a second image and editing information of the first image (namely information of image editing of the second image by the second electronic equipment); the editing information of the first image may include at least one of: target control, historical operating record; the target control is used for editing a function control of a second image, and the historical operation record is an operation record of the second electronic equipment for editing the second image.
It should be noted that, in the embodiment of the present invention, for the description of the target content, the first image, and the second image, reference may be specifically made to the related description in embodiment 1, and details are not repeated here.
It can be understood that, in the embodiment of the present invention, the user may trigger the second electronic device to store the target content in the detachable module through the first target input. Therefore, when the user establishes the connection between the separable module and other electronic equipment, the user can continue to edit the target image through the other electronic equipment, so that even if the network is abnormal, the cooperation processing between different electronic equipment can be realized by inserting and connecting the separable module with the other electronic equipment, and the reliability of the cooperation processing file between different electronic equipment can be further improved. Therefore, under the condition of abnormal network connection, the cooperative processing among different electronic devices can still be realized, and the cooperative processing effect among different electronic devices can be further improved.
In the embodiment of the present invention, the image processing methods shown in the above drawings are all exemplarily described with reference to one drawing in the embodiment of the present invention. In specific implementation, the image processing method shown in each of the above figures may also be implemented by combining with any other combinable figure shown in the above embodiments, and details are not described here again.
As shown in fig. 11, an embodiment of the invention provides a first electronic device 1100. The electronic device may include an acquisition module 1101 and a processing module 1102. The obtaining module 1101 may be configured to obtain target content from the detachable module when the detachable module is inserted into and connected to the first electronic device, where the target content includes the first image editing information. The processing module 1102 may be configured to obtain a target image according to the first image editing information and the first image in the first electronic device. The first image editing information is information for editing the image of the second image in the second electronic device, and the second electronic device is the electronic device connected with the separable module before the separable module is inserted into and connected with the first electronic device.
Optionally, in this embodiment of the present invention, the target content further includes a second image. The processing module 1102 may be specifically configured to, after the first electronic device receives the second image, obtain a target image according to the first image editing information and the second image.
Referring to fig. 11, as shown in fig. 12, the electronic device 1100 according to the embodiment of the present invention further includes a receiving module 1103. The receiving module 1103 may be configured to receive first information sent by the separable module, where the first information may be used to indicate that a second image included in the separable module is in an editing state.
As shown in fig. 12, the electronic device 1100 provided by the embodiment of the present invention further includes a display module 1104 and a receiving module 1103. The display module 1104 may be configured to display a first prompt message, which may be used to prompt a user whether to edit the first image. The receiving module 1103 may be configured to receive a first input of the first prompt message. The processing module 1102 may be further configured to, in response to the first input received by the receiving module 1103, obtain the target image according to the first image editing information and the first image, where the first input meets a preset input condition.
Optionally, in this embodiment of the present invention, the display module 1104 may be configured to display at least one identifier, where each identifier in the at least one identifier is used to indicate at least one application program in a first application program according to a preset indication condition, where the first application program is multiple application programs in a first electronic device. The receiving module 1103 may be configured to receive a second input of a target application identifier of the at least one identifier. The display module 1104 may be further configured to display the target content through the target application corresponding to the target application identifier in response to the second input received by the receiving module 1103.
The electronic device provided by the embodiment of the present invention can implement each process implemented by the electronic device in the above method embodiments, and is not described herein again to avoid repetition.
Embodiments of the present invention provide an electronic device, wherein when a detachable module is inserted into and connected to a first electronic device, the first electronic device may obtain a target content including first image editing information from the detachable module. The first image editing information is the information for editing the image of the second image in the second electronic device, and the second electronic device is the electronic device connected with the separable module before the separable module is inserted into and connected with the first electronic device. Subsequently, the first electronic device may obtain the target image according to the first image editing information and the first image in the first electronic device, that is, the first electronic device may obtain an image (that is, the target image) edited by the second electronic device before the first electronic device is inserted into and connected to the first electronic device when the separation module is inserted into and connected to the first electronic device, and then, the user may continue to edit the target image on the basis of editing the target image by the second electronic device using the first electronic device, thereby achieving cooperative processing of the target image by the first electronic device and the second electronic device. In the above process, the physical connection that the detachable module is inserted into the first electronic device is not affected by the network environment, that is, the detachable module and the first electronic device can realize the communication connection for data interaction (such as interaction target content) without establishing a wireless connection based on the network. Therefore, even if the network is abnormal, the first electronic device can acquire the target image by inserting and connecting the separable module into the first electronic device, and the first electronic device and the second electronic device can collaboratively edit the target image. In other words, the cooperation processing between different electronic devices can still be realized under the condition of network abnormality, and the reliability of cooperation processing files between different electronic devices can be further improved.
Fig. 13 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention. As shown in fig. 13, the electronic device 200 includes, but is not limited to: radio frequency unit 201, network module 202, audio output unit 203, input unit 204, sensor 205, display unit 206, user input unit 207, interface unit 208, memory 209, processor 210, and power supply 211. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 13 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, a pedometer, and the like.
The input unit 204 may be configured to obtain target content from the detachable module when the detachable module is inserted into and connected to the first electronic device, where the target content includes the first image editing information. The processor 210 may be configured to obtain a target image according to the first image editing information and the first image in the first electronic device. The first image editing information is information for editing the image of the second image in the second electronic device, and the second electronic device is the electronic device connected with the separable module before the separable module is inserted into and connected with the first electronic device.
Embodiments of the present invention provide an electronic device, wherein when a detachable module is inserted into and connected to a first electronic device, the first electronic device may obtain a target content including first image editing information from the detachable module. The first image editing information is the information for editing the image of the second image in the second electronic device, and the second electronic device is the electronic device connected with the separable module before the separable module is inserted into and connected with the first electronic device. Subsequently, the first electronic device may obtain the target image according to the first image editing information and the first image in the first electronic device, that is, the first electronic device may obtain an image (that is, the target image) edited by the second electronic device before the first electronic device is inserted into and connected to the first electronic device when the separation module is inserted into and connected to the first electronic device, and then, the user may continue to edit the target image on the basis of editing the target image by the second electronic device using the first electronic device, thereby achieving cooperative processing of the target image by the first electronic device and the second electronic device. In the above process, the physical connection that the detachable module is inserted into the first electronic device is not affected by the network environment, that is, the detachable module and the first electronic device can realize the communication connection for data interaction (such as interaction target content) without establishing a wireless connection based on the network. Therefore, even if the network is abnormal, the first electronic device can acquire the target image by inserting and connecting the separable module into the first electronic device, and the first electronic device and the second electronic device can collaboratively edit the target image. In other words, the cooperation processing between different electronic devices can still be realized under the condition of network abnormality, and the reliability of cooperation processing files between different electronic devices can be further improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 201 may be used for receiving and sending signals during information transceiving or a call, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 210; in addition, uplink data is transmitted to the base station. Generally, the radio frequency unit 201 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 201 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 202, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 203 may convert audio data received by the radio frequency unit 201 or the network module 202 or stored in the memory 209 into an audio signal and output as sound. Also, the audio output unit 203 may also provide audio output related to a specific function performed by the electronic apparatus 200 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 203 includes a speaker, a buzzer, a receiver, and the like.
The input unit 204 is used to receive an audio or video signal. The input unit 204 may include a Graphics Processing Unit (GPU) 2041, a microphone 2042, and a camera module 2043, and the graphics processor 2041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 206. The image frames processed by the graphic processor 2041 may be stored in the memory 209 (or other storage medium) or transmitted via the radio frequency unit 201 or the network module 202. The microphone 2042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 201 in case of a phone call mode. The camera module 2043 collects images and transmits the collected images to the graphic processor 2041.
The electronic device 200 also includes at least one sensor 205, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 2061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 2061 and/or the backlight when the electronic device 200 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 205 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 206 is used to display information input by the user or information provided to the user. The display unit 206 may include a display panel 2061, and the display panel 2061 may be configured in the form of a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), or the like.
The user input unit 207 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 207 includes a touch panel 2071 and other input devices 2072. Touch panel 2071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 2071 (e.g., user operation on or near the touch panel 2071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 2071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 210, and receives and executes commands sent by the processor 210. In addition, the touch panel 2071 may be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 207 may include other input devices 2072 in addition to the touch panel 2071. In particular, the other input devices 2072 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 further described herein.
Further, the touch panel 2071 may be overlaid on the display panel 2061, and when the touch panel 2071 detects a touch operation on or near the touch panel 2071, the touch panel is transmitted to the processor 210 to determine the type of the touch event, and then the processor 210 provides a corresponding visual output on the display panel 2061 according to the type of the touch event. Although the touch panel 2071 and the display panel 2061 are shown as two separate components in fig. 13 to implement the input and output functions of the electronic device, in some embodiments, the touch panel 2071 and the display panel 2061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 208 is an interface for connecting an external device to the electronic apparatus 200. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 208 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 200 or may be used to transmit data between the electronic apparatus 200 and an external device.
The memory 209 may be used to store software programs as well as various data. The memory 209 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, etc. Further, the memory 209 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 210 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 209 and calling data stored in the memory 209, thereby performing overall monitoring of the electronic device. Processor 210 may include one or more processing units; optionally, the processor 210 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 210.
The electronic device 200 may further include a power source 211 (such as a battery) for supplying power to various components, and optionally, the power source 211 may be logically connected to the processor 210 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 200 includes some functional modules that are not shown, and are not described in detail here.
Optionally, an embodiment of the present invention further provides an electronic device, which includes a processor 210 as shown in fig. 13, a memory 209, and a computer program that is stored in the memory 209 and is executable on the processor 210, and when the computer program is executed by the processor 210, the processes of the foregoing method embodiment are implemented, and the same technical effect can be achieved, and details are not described here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the processes of the method embodiments, and can achieve the same technical effects, and in order to avoid repetition, the details are not repeated here. Examples of the computer-readable storage medium include a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk and an optical disk.
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.
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 invention 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 an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method described in the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (8)

1. An image processing method applied to a first electronic device, the method comprising:
under the condition that the separable module is inserted into and connected with the first electronic equipment, target content is obtained from the separable module, and the target content comprises first image editing information;
obtaining a target image according to the first image editing information and a first image in the first electronic device;
editing the target image according to the editing operation of the user on the target image;
the first image editing information is information for editing an image of a second image in second electronic equipment, the second electronic equipment is the electronic equipment connected with the separable module before the separable module is inserted into and connected with the first electronic equipment, and the first image and the second image are the same image;
After obtaining the target content from the separable module, the method further includes:
displaying at least one identifier, wherein each identifier is used for indicating at least one application program in first application programs according to a preset indication condition, and the first application programs are a plurality of application programs in the first electronic equipment;
receiving a second input of a target application identification in the at least one identification;
after obtaining a target image according to the first image editing information and the first image in the first electronic device, the method further includes:
and responding to the second input, and displaying the target content through a target application program corresponding to the target application identification.
2. The method of claim 1, wherein the target content further comprises a second image;
obtaining a target image according to the first image editing information and the first image in the first electronic device, including:
and after the first electronic equipment receives the second image, obtaining a target image according to the first image editing information and the second image.
3. The method of claim 2, wherein prior to obtaining the target content from the separable module, the method further comprises:
And receiving first information sent by the separable module, wherein the first information is used for indicating that the second image included in the separable module is in an editing state.
4. The method according to claim 1, wherein before obtaining the target image according to the first image editing information and the first image in the first electronic device, the method further comprises:
displaying first prompt information, wherein the first prompt information is used for prompting a user whether to edit the first image;
receiving a first input of the first prompt message;
obtaining a target image according to the first image editing information and the first image in the first electronic device, including:
and under the condition that the first input meets a preset input condition, responding to the first input, and obtaining a target image according to the first image editing information and the first image.
5. An electronic device is a first electronic device and is characterized by comprising an acquisition module, an image editing module, a display module, a receiving module and a processing module;
the acquisition module is used for acquiring target content from the separable module under the condition that the separable module is inserted into and connected with the first electronic equipment, wherein the target content comprises first image editing information;
The processing module is used for obtaining a target image according to the first image editing information and the first image in the first electronic device;
the image editing module is used for editing the target image according to the editing operation of the user on the target image;
the first image editing information is information for editing an image of a second image in second electronic equipment, the second electronic equipment is the electronic equipment connected with the separable module before the separable module is inserted into and connected with the first electronic equipment, and the first image and the second image are the same image;
the display module is configured to display at least one identifier, where each identifier in the at least one identifier is used to indicate at least one application program in a first application program according to a preset indication condition, where the first application program is multiple application programs in the first electronic device;
the receiving module is used for receiving a second input of a target application identifier in the at least one identifier;
the display module is further configured to display the target content through a target application program corresponding to the target application identifier in response to the second input received by the receiving module.
6. The electronic device of claim 5, wherein the target content further comprises a second image;
the processing module is specifically configured to, after the first electronic device receives the second image, obtain a target image according to the first image editing information and the second image.
7. The electronic device of claim 6, further comprising a receiving module;
the receiving module is configured to receive first information sent by the separable module, where the first information is used to indicate that the second image included in the separable module is in an editing state.
8. The electronic device of claim 5, further comprising a display module and a receiving module;
the display module is used for displaying first prompt information, and the first prompt information is used for prompting a user whether to edit the first image;
the receiving module is used for receiving a first input of the first prompt message;
the processing module is further configured to respond to the first input received by the receiving module when the first input meets a preset input condition, and obtain a target image according to the first image editing information and the first image.
CN202010382169.3A 2020-05-08 2020-05-08 Image processing method and electronic equipment Active CN111601035B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010382169.3A CN111601035B (en) 2020-05-08 2020-05-08 Image processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010382169.3A CN111601035B (en) 2020-05-08 2020-05-08 Image processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111601035A CN111601035A (en) 2020-08-28
CN111601035B true CN111601035B (en) 2022-05-24

Family

ID=72191055

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010382169.3A Active CN111601035B (en) 2020-05-08 2020-05-08 Image processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111601035B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113691729B (en) * 2021-08-27 2023-08-22 维沃移动通信有限公司 Image processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1723694A (en) * 2002-12-10 2006-01-18 索尼爱立信移动通讯有限公司 Creating effects for images
CN103559150A (en) * 2013-11-08 2014-02-05 深圳市道通科技有限公司 Realizing method and device for external camera of host, and mobile terminal
CN204967987U (en) * 2015-09-28 2016-01-13 徐文波 Externally mounted camera
CN108076282A (en) * 2016-11-14 2018-05-25 发那科株式会社 Communication system and portable terminal device
CN108205406A (en) * 2016-12-19 2018-06-26 三星电子株式会社 Electronic equipment and its image synchronization method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5477264A (en) * 1994-03-29 1995-12-19 Eastman Kodak Company Electronic imaging system using a removable software-enhanced storage device
JP2001306342A (en) * 2000-04-20 2001-11-02 Victor Co Of Japan Ltd Method, system for processing effect of digital data in network, effect server, user terminal, recording medium in which effect processing program of digital data is recorded and recording medium in which processing program in effect server and user terminal is recorded
US9203834B2 (en) * 2013-03-14 2015-12-01 Samsung Electronics Co., Ltd. Computing system with identification mechanism and method of operation thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1723694A (en) * 2002-12-10 2006-01-18 索尼爱立信移动通讯有限公司 Creating effects for images
CN103559150A (en) * 2013-11-08 2014-02-05 深圳市道通科技有限公司 Realizing method and device for external camera of host, and mobile terminal
CN204967987U (en) * 2015-09-28 2016-01-13 徐文波 Externally mounted camera
CN108076282A (en) * 2016-11-14 2018-05-25 发那科株式会社 Communication system and portable terminal device
CN108205406A (en) * 2016-12-19 2018-06-26 三星电子株式会社 Electronic equipment and its image synchronization method

Also Published As

Publication number Publication date
CN111601035A (en) 2020-08-28

Similar Documents

Publication Publication Date Title
CN110891144B (en) Image display method and electronic equipment
CN109240577B (en) Screen capturing method and terminal
CN109710349B (en) Screen capturing method and mobile terminal
CN108536509B (en) Application body-splitting method and mobile terminal
US11250046B2 (en) Image viewing method and mobile terminal
CN109343788B (en) Operation control method of mobile terminal and mobile terminal
CN109522278B (en) File storage method and terminal equipment
CN109407948B (en) Interface display method and mobile terminal
CN110602386B (en) Video recording method and electronic equipment
CN110703972B (en) File control method and electronic equipment
CN110308834B (en) Setting method of application icon display mode and terminal
CN110865745A (en) Screen capturing method and terminal equipment
CN109618218B (en) Video processing method and mobile terminal
CN109523253B (en) Payment method and device
CN111124706A (en) Application program sharing method and electronic equipment
CN111090529B (en) Information sharing method and electronic equipment
CN110096203B (en) Screenshot method and mobile terminal
CN110012151B (en) Information display method and terminal equipment
CN108762641B (en) Text editing method and terminal equipment
CN111061446A (en) Display method and electronic equipment
CN111061404A (en) Control method and first electronic device
CN109166164B (en) Expression picture generation method and terminal
WO2021197260A1 (en) Note creating method and electronic device
WO2021036504A1 (en) Picture deletion method and terminal device
CN111163227B (en) Sharing method 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
GR01 Patent grant
GR01 Patent grant