WO2023185750A1 - 一种能力调用方法、系统及电子设备 - Google Patents

一种能力调用方法、系统及电子设备 Download PDF

Info

Publication number
WO2023185750A1
WO2023185750A1 PCT/CN2023/084133 CN2023084133W WO2023185750A1 WO 2023185750 A1 WO2023185750 A1 WO 2023185750A1 CN 2023084133 W CN2023084133 W CN 2023084133W WO 2023185750 A1 WO2023185750 A1 WO 2023185750A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
function
user
processing result
capability information
Prior art date
Application number
PCT/CN2023/084133
Other languages
English (en)
French (fr)
Inventor
谢小灵
顾星刚
汪新建
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023185750A1 publication Critical patent/WO2023185750A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]

Definitions

  • the present application relates to the field of electronic technology, and in particular, to a capability calling method, system and electronic equipment.
  • the current editing capabilities of pictures, videos and other resources depend on many factors, including: strong CPU and NPU computing capabilities; software that supports the latest editing capabilities; good user interaction methods, etc. Therefore, some old or low-end devices with poor computing power or low software versions cannot provide users with the latest editing capabilities. Users need to forward the images, videos and other resources to be edited from devices that do not support editing capabilities to devices that support editing. edit. Since users need to operate multiple devices at the same time to forward images, videos and other resources to be edited multiple times, the operation is cumbersome and will bring inconvenience to users.
  • This application provides a capability calling method, system and electronic device. Based on the capability set of multiple electronic devices, the user can use any one or more capabilities in the capability set on any one of the multiple electronic devices. Expand It breaks the capability boundaries of electronic devices and improves the user experience.
  • the present application provides a system that includes a first electronic device, a second electronic device, and a third electronic device, wherein the first electronic device is used to establish a network with the second electronic device and the third electronic device. Connection, the network connection is used to transmit data; the first electronic device is used to send the first request information and the second request information to the second electronic device and the third electronic device respectively when detecting the user's first operation, the first The request information is used to request the first capability information from the second electronic device, the second request information is used to request the second capability information from the third electronic device; the second electronic device is used to request the first electronic device according to the first request information.
  • Send first capability information the first capability information includes one or more functions, and the one or more functions include the first function; the third electronic device is configured to send to the first electronic device according to the second request information.
  • second capability information the second capability information includes one or more functions, and the one or more functions include the second function;
  • the first electronic device is further configured to use the third function when detecting the user's second operation.
  • the second function processes the first content and obtains the first processing result; the first electronic device is also used to prompt the user with the first processing result. Since the user can use other electronic devices on the first electronic device, the capability boundary of the electronic device is expanded and the user experience is improved.
  • the above-mentioned first electronic device is also used to use the second function to process the first content when detecting the user's second operation to obtain the first processing result, which specifically includes:
  • the first electronic device is further configured to send the first content and third request information to the third electronic device when detecting the user's second operation.
  • the third request information is used to request the third electronic device to use the second function to perform the third request.
  • the third electronic device is further configured to use the second function to process the first content according to the third request information, obtain the first processing result, and send the first processing result to the first electronic device.
  • the above-mentioned first electronic device is also used to prompt the user with the first processing result, specifically including: first
  • the electronic device is also used to receive the first processing result and prompt the user with the first processing result. Since the user can use other electronic devices on the first electronic device, the capability boundary of the electronic device is expanded. The user does not need to operate the first electronic device and the third electronic device at the same time, which simplifies the user's operating steps and improves the user's operating efficiency. , improving the user experience.
  • the above-mentioned second electronic device is used to send first capability information to the first electronic device.
  • the first capability information includes one or more functions, and the one or more functions include a third function.
  • a function specifically including: a second electronic device, configured to send the first capability information to the first electronic device, where the first capability information includes any one of a software package or a program library file of one or more functions
  • One or more types of software packages or program library files for one or more functions include any one or more of the software packages or program library files for the first function.
  • the above-mentioned third electronic device is used to send second capability information to the first electronic device.
  • the second capability information includes one or more functions, and the one or more functions include the second function, specifically including: the third electronic device, For sending second capability information to the first electronic device, the second capability information includes any one or more of software packages or program library files with one or more functions, software packages or programs with one or more functions
  • the library file includes any one or more of the software packages or program library files of the second function.
  • the above-mentioned first electronic device is also configured to use the second function to process the first content when detecting the second operation of the user, and obtain the first processing result.
  • the first electronic device is further configured to: when detecting the second operation of the user, During the user's second operation, any one or more of the software packages or program library files of the second function are run to process the first content, and the first processing result is obtained. Since the user can directly use the second electronic device and the third electronic device on the first electronic device, the capability boundary of the electronic device is expanded, and the user does not need to send the first content to the third electronic device, saving the time of sending the first content. and return time.
  • the first electronic device is also configured to, after receiving the first processing result, when detecting the user's third operation, use the third function to process the first processing result to obtain the third
  • the third function comes from the first electronic device; the first electronic device is also used to use the third function to process the first processing result, and then send it to any of the second electronic device or the third electronic device.
  • One or more first electronic devices are configured to send the second processing result; the first electronic device is also configured to prompt the user with the second processing result. Since the first electronic device can continuously process the first processing result using the capability of the first electronic device, the user's flexibility in processing the first content is improved, and the user's experience is improved.
  • the above-mentioned first content comes from any one of the first electronic device, the second electronic device, or the third electronic device.
  • the first electronic device is also configured to use the first function to process the second content when detecting the user's fourth operation to obtain a third processing result; the first electronic device , is also used to prompt the user with the third processing result. Since the first electronic device can use the capability of the second electronic device to process the second content, the capability boundary of the electronic device is expanded and the user experience is improved.
  • the above-mentioned first electronic device is further configured to use the first function to process the second content to obtain a third processing result when detecting the user's fourth operation.
  • the first electronic device further includes: used to send the second content and fourth request information to the second electronic device when the user's fourth operation is detected, and the fourth request information is used to request the second electronic device to use the first function to process the second content;
  • the second electronic device is further configured to use the first function to process the second content according to the fourth request information, obtain a third processing result, and send the third processing result to the first electronic device;
  • the above-mentioned first electronic device is also configured to use
  • the method is configured to prompt the user with the third processing result, specifically including: a first electronic device, which is also configured to receive the third processing result, and prompt the user with the third processing result.
  • the capability boundary of the electronic device is expanded, and the user does not need to operate the first electronic device and the second electronic device at the same time, simplifying the user's operating steps and improving It improves the user's operating efficiency and improves the user experience.
  • the above-mentioned second electronic device is used to send first capability information to the first electronic device, the first capability information includes one or more functions, and the one or more functions include the first function, specifically including : second electronic device,
  • the first capability information includes any one or more of software packages or program library files with one or more functions, software packages or programs with one or more functions
  • the library file includes any one or more of the software packages or program library files of the first function; the first electronic device is also configured to use the first function to perform processing on the second content when detecting the user's fourth operation.
  • Processing to obtain a third processing result including: the first electronic device is also configured to run any one or more of the software packages or program library files of the first function for the second function when detecting the user's fourth operation.
  • the content is processed and the third processing result is obtained. Since the user can directly use the second electronic device on the first electronic device, the capability boundary of the electronic device is expanded, and the user does not need to send the second content to the second electronic device, saving the time of sending and returning the second content. .
  • the first electronic device is also configured to use a third function to process the second content to obtain a fourth processing result when detecting the user's fifth operation.
  • the third function comes from In the first electronic device; the first electronic device is also configured to use the third function to process the second content, and then send the fourth processing result to any one or more of the second electronic device or the third electronic device; The first electronic device is also used to prompt the user with the fourth processing result.
  • the second content comes from any one of the first electronic device, the second electronic device, or the third electronic device.
  • the above-mentioned first electronic device is configured to send the first request information and the second request information to the second electronic device and the third electronic device respectively when detecting the first operation of the user.
  • the request information specifically includes: a first electronic device configured to send the first request information to the second electronic device and the third electronic device respectively when detecting the user's operation of selecting any one of the first control or the first content.
  • the above-mentioned first electronic device is also configured to use the second function to process the first content when detecting the user's second operation and obtain the first processing result, specifically including: the first electronic device, It is also used to use the second function to process the first content to obtain the first processing result when the user's operation of selecting the second function is detected.
  • this application provides a capability calling method, which method is applied to a first electronic device.
  • the method specifically includes: the first electronic device establishes a network connection with a second electronic device and a third electronic device, and the network connection is used for transmission. data; when detecting the user's first operation, the first electronic device sends first request information and second request information to the second electronic device and the third electronic device respectively, and the information of the first request is used to send the information to the second electronic device.
  • the second request information is used to request second capability information from a third electronic device;
  • the first electronic device receives the first capability information sent by the second electronic device, and the first capability information includes one or more functions , one or more functions include the first function;
  • the first electronic device receives the second capability information sent by the third electronic device, the second capability information includes one or more functions, and the one or more functions include the second function ;
  • the first electronic device uses the second function to process the first content and obtains the first processing result; the first electronic device prompts the user with the first processing result. Since the user can use other electronic devices on the first electronic device, the capability boundary of the electronic device is expanded and the user experience is improved.
  • the first electronic device when detecting the second operation of the user, uses the second function to process the first content and obtains the first processing result, which specifically includes: the first electronic device
  • the first content and third request information are sent to the third electronic device, and the third request information is used to request the third electronic device to use the second function to process the first content; the above-mentioned first
  • the electronic device prompts the user for the first processing result, which specifically includes: the first electronic device receives the first processing result obtained after the third electronic device uses the second function to process the first content, and prompts the user for the first processing result. Since the user can use other electronic devices on the first electronic device, the capability boundary of the electronic device is expanded. The user does not need to operate the first electronic device and the third electronic device at the same time, which simplifies the user's operating steps and improves the user's operating efficiency. , improving the user experience.
  • the above-mentioned first electronic device receives the first capability information sent by the second electronic device, the first capability information includes one or more functions, and the one or more functions include the first function , specifically including: The first electronic device receives the first capability information sent by the second electronic device.
  • the first capability information includes any one or more of software packages or program library files with one or more functions, and software with one or more functions.
  • the package or library file includes any one or more of the software packages or program library files with the first function; the first electronic device receives the second capability information sent by the third electronic device, and the second capability information includes a or multiple functions, one or more functions include a second function, specifically including: the first electronic device receives the second capability information sent by the third electronic device, and the second capability information includes a software package of one or more functions or Any one or more of the program library files, any one or more of the software packages or program library files of one or more functions including the second function; the above-mentioned first electronic device When detecting the user's second operation, using the second function to process the first content and obtaining the first processing result includes: when the first electronic device detects the user's second operation, running the software package of the second function or any one or more of the program library files to process the first content to obtain the first processing result. Since the user can directly use the second electronic device and the third electronic device on the first electronic device, the capability boundary of the electronic device is expanded, and the user does not need to send the first content
  • the first electronic device after receiving the first processing result, when detecting the user's third operation, uses the third function to process the first processing result to obtain the second processing result, The third function comes from the first electronic device; after using the third function to process the first processing result, the first electronic device sends the second processing result to any one or more of the second electronic device or the third electronic device; The first electronic device is also used to prompt the user with the second processing result. Since the first electronic device can continuously process the first processing result using the capability of the first electronic device, the user's flexibility in processing the first content is improved, and the user's experience is improved.
  • the above-mentioned first content comes from any one of the first electronic device, the second electronic device, or the third electronic device.
  • the first electronic device when detecting the user's fourth operation, uses the first function to process the second content and obtains the third processing result; the first electronic device prompts the user for the third processing result.
  • the first electronic device uses the first function to process the second content and obtains the third processing result; the first electronic device prompts the user for the third processing result.
  • Three processing results Since the first electronic device can use the capability of the second electronic device to process the second content, the capability boundary of the electronic device is expanded and the user experience is improved.
  • the first electronic device when the first electronic device detects the user's fourth operation, uses the first function to process the second content and obtains a third processing result, which specifically includes: when the first electronic device detects the user's During the fourth operation, the second content and fourth request information are sent to the second electronic device.
  • the fourth request information is used to request the second electronic device to use the first function to process the second content; the first electronic device prompts the user
  • the third processing result specifically includes: the first electronic device receives a third processing result after the second electronic device uses the first function to process the second content, and prompts the user for the third processing result.
  • the capability boundary of the electronic device is expanded, and the user does not need to operate the first electronic device and the second electronic device at the same time, simplifying the user's operating steps and improving It improves the user's operating efficiency and improves the user experience.
  • the first electronic device receives the first capability information sent by the second electronic device.
  • the first capability information includes one or more functions, and the one or more functions include the first function, specifically including:
  • An electronic device receives first capability information sent by a second electronic device.
  • the first capability information includes any one or more of a software package or a program library file with one or more functions, and a software package with one or more functions.
  • any one or more of the software packages or program library files that include the first function when detecting the user's fourth operation, the above-mentioned first electronic device uses the first function to process the second content , obtaining the third processing result, specifically including: when detecting the user's fourth operation, the first electronic device runs any one or more of the software packages or program library files of the first function to process the second content, Obtain the third processing result. Since the user can directly use the second electronic device on the first electronic device, the capability boundary of the electronic device is expanded, and the user does not need to send the second content to the second electronic device, saving the time of sending the second content. and return time.
  • the first electronic device when detecting the fifth operation of the user, uses the third function to process the second content and obtains the fourth processing result.
  • the third function comes from the third function.
  • the above-mentioned second content comes from any one of the first electronic device, the second electronic device, or the third electronic device.
  • the above-mentioned first electronic device when detecting the first operation of the user, sends the first request information and the second request information to the second electronic device and the third electronic device respectively, specifically including: : When detecting the user's operation of selecting any one of the first control or the first content, the first electronic device sends the first request information and the second request information to the second electronic device and the third electronic device respectively; the above-mentioned third electronic device
  • an electronic device detects the user's second operation, it uses the second function to process the first content and obtains the first processing result, which specifically includes: when the first electronic device detects the user's operation of selecting the second function, it uses The second function processes the first content and obtains the first processing result.
  • this application provides a capability calling method, which method is applied to a second electronic device.
  • the method specifically includes: the second electronic device receives first request information sent by the first electronic device, and the first request information is used to request first capability information of the second electronic device; the second electronic device sends the first capability information to the first electronic device, the first capability information includes one or more functions, and the one or more functions include the first function; second The electronic device receives the second content and the fourth request information sent by the first electronic device.
  • the fourth request information is used to request the second electronic device to use the first function to process the second content; the second electronic device according to the fourth request information, Use the first function to process the second content, obtain a third processing result, and send the third processing result to the first electronic device.
  • the above-mentioned second electronic device sends first capability information to the first electronic device, the first capability information includes one or more functions, and the one or more functions include the first function
  • the method includes: the second electronic device sends first capability information to the first electronic device, and the first capability information includes any one or more of software packages or program library files with one or more functions, and one or more functions.
  • the software package or program library file includes any one or more of the software packages or program library files of the first function.
  • the present application provides a capability calling method, which method is applied to a third electronic device.
  • the method specifically includes: the third electronic device receives second request information sent by the first electronic device, and the second request information is used to request second capability information of the third electronic device; the third electronic device sends the second capability information to the first electronic device, the second capability information includes one or more functions, and the one or more functions include the second function; the third The electronic device receives the first content and the third request information sent by the first electronic device.
  • the third request information is used to request the third electronic device to use the second function to process the first content; the third electronic device according to the third request information, Use the second function to process the first content, obtain a first processing result, and send the first processing result to the first electronic device.
  • the above-mentioned third electronic device sends second capability information to the first electronic device, the second capability information includes one or more functions, and the one or more functions include the second function
  • the method includes: the third electronic device sends second capability information to the first electronic device, and the second capability information includes any one or more of software packages or program library files with one or more functions, and one or more functions.
  • the software package or program library file includes any one or more of the software packages or program library files of the second function.
  • the present application provides an electronic device, including: one or more processors; one or more memories; the one or more memories store one or more computer programs, and the one or more computer programs include instructions.
  • the electronic device is caused to execute any of the possible implementation methods in the second aspect above.
  • the present application provides an electronic device, including: one or more processors; one or more memories; the one or more memories store one or more computer programs, and the one or more computer programs include instructions.
  • the electronic device is caused to execute any of the possible implementation methods in the above third aspect.
  • the present application provides an electronic device, including: one or more processors; one or more memories; the one or more memories store one or more computer programs, and the one or more computer programs include instructions.
  • the electronic device is caused to execute any of the possible implementation methods in the fourth aspect.
  • the present application provides a computer-readable storage medium, including computer instructions.
  • the electronic device When the computer instructions are run on an electronic device, the electronic device performs any of the possible implementation methods in the second aspect; or when the computer instructions are executed on the electronic device, When the computer instructions are run on the electronic device, the electronic device is caused to perform any of the possible implementation methods in the third aspect; or when the computer instructions are run on the electronic device, the electronic device is caused to perform the following: Possible implementation methods of any of the above fourth aspects.
  • Figure 1 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • Figure 2 is a software system architecture of an electronic device provided by an embodiment of the present application.
  • Figure 3 is a schematic system architecture diagram of a communication system provided by an embodiment of the present application.
  • Figure 4 is a set of graphical user interfaces provided by the embodiment of the present application.
  • Figure 5 is another set of graphical user interfaces provided by the embodiment of the present application.
  • Figure 6 is another set of graphical user interfaces provided by the embodiment of the present application.
  • Figure 7 is another set of graphical user interfaces provided by the embodiment of the present application.
  • Figure 8 is another set of graphical user interfaces provided by the embodiment of the present application.
  • Figure 9 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • Figure 10 is a schematic flow chart of a method for sharing editing capabilities provided by an embodiment of the present application.
  • the electronic device 100 may be an electronic device equipped with iOS, Android, Microsoft or other operating systems, and may include a mobile phone, a foldable electronic device, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, or a super mobile personal computer. (ultra-mobile personal computer, UMPC), netbook, cellular phone, handheld computer (Personal Digital Assistant, PDA), AR device, VR device, artificial intelligence device, wearable device, vehicle-mounted device, smart home device, smart city device at least one of them.
  • the embodiment of the present application does not place any special restrictions on the type of the electronic device 100 .
  • FIG. 1 shows a schematic structural diagram of an electronic device.
  • the electronic device 100 may include a processor 110, an internal memory 121, a USB connector 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, and an antenna 2.
  • mobile communication module 150 wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone connector 170D, sensor module 180, button 190, motor 191, indicator 192, camera Header 193, display screen 194, memory card connector 120, and SIM card interface 195, etc.
  • the sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light. Sensor 180L, bone conduction sensor 180M, etc.
  • the structure illustrated in the embodiment of the present application does not constitute a limitation on the electronic device 100 .
  • the electronic device 100 may include more or fewer components than shown.
  • the components illustrated may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units.
  • the processor 110 may include an application processor, a modem processor, a graphics processing unit (GPU), an image signal processor (ISP). ), controller, video codec, digital signal processor (DSP), baseband processor, and/or neural-network processing unit (NPU), etc.
  • different processing units can be independent devices or integrated in one or more processors.
  • the processor 110 can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
  • the processor 110 may also be provided with a memory for storing instructions and data.
  • the memory in processor 110 may be a cache memory.
  • the memory may store instructions or data that have been used by the processor 110 or are used more frequently.
  • processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit I2C interface, I2S interface, PCM interface, UART interface, MIPI, GPIO interface, SIM interface, and/or USB interface, etc.
  • the processor 110 can connect to modules such as touch sensors, audio modules, wireless communication modules, display screens, or cameras through at least one of the above interfaces.
  • the interface connection relationships between the modules illustrated in the embodiments of the present application are only schematic illustrations and do not constitute a limitation on the electronic device 100 .
  • the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
  • the USB connector 130 is a connector that complies with the USB standard specification and can be used to connect the electronic device 100 and peripheral devices.
  • the USB connector 130 may be a Mini-USB connector, a Micro-USB connector, a USB Type-C connector, etc.
  • the USB connector 130 can be used to connect to a charger through which the electronic device 100 is charged. It can also be used to connect other electronic devices to realize data transmission between the electronic device 100 and other electronic devices. It can also be used to connect headphones to output audio stored in electronic devices through the headphones. This connector can also be used to connect other electronic devices, such as VR equipment, etc.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger can be a wireless charger or a wired charger.
  • the charging management module 140 may receive charging input from the wired charger through the USB connector 130 .
  • the charging management module 140 may receive wireless charging input through a wireless charging coil. While the charging management module 140 charges the battery 142, it can also provide power to the electronic device 100 through the power management module 141.
  • Battery 142 may include at least one set of electrode terminals, each set of electrode terminals including at least one positive terminal.
  • the electronic device when the battery includes two sets of electrode terminals, can be provided with two wired charging paths or two wireless charging paths, and each wired or wireless charging path is connected to at least one set of electrode terminals through multiple charging paths. At the same time, the battery 142 is charged to increase the charging power and reduce the temperature rise.
  • the battery when the battery includes two sets of electrode terminals, one set of electrode terminals is used for wired charging and the other set of electrode terminals is used for wireless charging, the charging circuit layout is more flexible. Based on the same design concept, those skilled in the art can set more than two groups of electrode terminals and more than two charging paths according to design needs.
  • the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
  • the power management module 141 receives input from the battery 142 and/or the charging management module 140 to provide power to the processor 110, internal memory 121, display screen 194, camera 193, etc.
  • the power management module 141 can also be used to monitor battery capacity, battery cycle times, battery health status (leakage, impedance) and other parameters.
  • the power management module 141 may also be provided in the processor 110 .
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example: Antenna 1 can be reused as a diversity antenna for a wireless LAN. In other embodiments, antennas may be used in conjunction with tuning switches.
  • the mobile communication module 150 may provide a wireless communication solution including at least one of 2G, 3G, 4G, 5G, or 6G applied on the electronic device 100 .
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier, etc.
  • the mobile communication module 150 can perform filtering, amplification and other processing on the electromagnetic waves received by the antenna 1, and transmit them to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves through the antenna 1 for radiation.
  • at least part of the functional modules of the mobile communication module 150 may be disposed in the processor 110 .
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
  • a modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal.
  • the demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the application processor outputs sound signals through audio devices (not limited to speaker 170A, receiver 170B, etc.), or displays images or videos through display screen 194.
  • the modem processor may be a stand-alone device.
  • the modem processor may be independent of the processor 110 and may be provided in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide applications on the electronic device 100 including a wireless LAN module, a Bluetooth module, a BLE module, an ultra wide band (UWB) module, a global navigation satellite system (GNSS) module, and FM module, near field communication (NFC) module, or infrared module, etc.
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
  • the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with other electronic devices through wireless communication technology.
  • the wireless communication technology may include GSM, GPRS, CDMA, WCDMA, TD-SCDMA, LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technology, etc.
  • the GNSS may include GPS, global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS) and/or satellite Satellite based augmentation systems (SBAS).
  • the electronic device 100 can implement display functions through a GPU, a display screen 194, an application processor, and the like.
  • the GPU is an image processing microprocessor and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations as well as graphics render.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
  • the display screen 194 is used to display images, videos, etc.
  • electronic device 100 may include one or more display screens 194.
  • the display screen 194 may be an LCD, an OLED display, an AMOLED display, an FLED display, a Miniled display, a MicroLed display, a Micro-oLed display, a quantum dot light-emitting diode (QLED) display, etc. at least one of them.
  • the electronic device 100 can realize the camera function through the camera module 193, ISP, video codec, GPU, display screen 194, application processor AP, neural network processor NPU, etc.
  • the camera module 193 can be used to collect color image data and depth data of the photographed object.
  • the ISP can be used to process color image data collected by the camera module 193 . For example, when taking a photo, the shutter is opened and the light is transmitted through the lens to the camera sensor. The optical signal is converted into an electrical signal. The camera sensor passes the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera module 193 .
  • the camera module 193 may be composed of a color camera module and a 3D sensing module.
  • the photosensitive element of the camera of the color camera module may include a CCD or a CMOS phototransistor.
  • the photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to convert it into a digital image signal.
  • ISP outputs digital image signals to DSP for processing.
  • the 3D sensing module may be a structured light 3D sensing module.
  • Structured light 3D sensing modules can include infrared emitters, infrared camera modules, etc.
  • the structured light 3D sensing module first emits a specific pattern of light spots on the photographed object, then receives the light spot pattern code on the surface of the object, and then compares the similarities and differences with the original projected light spot to determine the three-dimensional coordinates of the object.
  • the three-dimensional coordinates may include the distance between the electronic device 100 and the photographed object.
  • the 3D sensing module can obtain the distance (i.e., depth) between the 3D sensing module and the photographed object through the time of infrared retracement to obtain a 3D depth map.
  • Structured light 3D sensing modules can also be used in areas such as face recognition, somatosensory game consoles, and industrial machine vision inspection. 3D sensing modules can also be used in game consoles, AR, VR and other fields.
  • the camera module 193 may also be composed of two or more cameras.
  • the two or more cameras may include color cameras, and the color cameras may be used to collect color image data of the photographed objects. These two or more cameras can use stereo vision technology to collect depth data of the object being photographed.
  • the electronic device 100 may include one or more camera modules 193 .
  • the electronic device 100 may include a front camera module 193 and a rear camera module 193 .
  • the front camera module 193 can be used to collect color image data and depth data of the photographer
  • the rear camera module can be used to collect color image data and depth data of the shooting objects (such as people, scenery, etc.) facing the photographer. data.
  • the CPU, GPU, or NPU in the processor 110 can process the color image data and depth data collected by the camera module 193 .
  • the NPU can identify the color image data collected by the camera module 193 through the neural network algorithm based on the bone point recognition technology, such as the convolutional neural network algorithm (CNN), to determine the bones of the person being photographed. point.
  • the CPU or GPU can also be used to run neural network algorithms to determine the skeletal points of the photographed person based on color image data.
  • the CPU or GPU or NPU can also be used to confirm the figure (such as body) of the person being photographed based on the depth data collected by the camera module 193 (which may be a 3D sensing module) and the identified bone points.
  • Video codecs are used to compress or decompress digital video.
  • the electronic device 100 may support one or more video encoding decoder. In this way, the electronic device 100 can play or record videos in multiple encoding formats, such as MPEG1, MPEG2, MPEG3, MPEG4, etc.
  • NPU is a neural network (NN) computing processor.
  • NN neural network
  • Intelligent cognitive applications of the electronic device 100 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, etc.
  • the memory card connector 120 can be used to connect a memory card, such as a Micro SD card or Nano SD card, to expand the storage capacity of the electronic device 100 .
  • the memory card communicates with the processor 110 through the memory card connector 120 to implement the data storage function.
  • the memory card and the SIM card can share the same connector in a time-sharing manner, and the electronic device can identify that the card provided in the connector is a memory card or a SIM card, and implement corresponding functions.
  • the memory card and the SIM card can be set in the same connector at the same time, and are electrically connected to different elastic pieces of the electronic device 100 to respectively implement the storage function and the SIM function.
  • Internal memory 121 may be used to store computer executable program code, which includes instructions.
  • the internal memory 121 may include a program storage area and a data storage area.
  • the stored program area can store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.).
  • the storage data area may store data created during use of the electronic device 100 (such as audio data, phone book, etc.).
  • the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.
  • the processor 110 executes various functional methods or data processing of the electronic device 100 by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
  • the electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone connector 170D, and the application processor. Such as music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. Audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .
  • Speaker 170A also called “speaker” is used to convert audio electrical signals into sound signals.
  • the electronic device 100 can listen to music through the speaker 170A, or output audio signals for hands-free calls.
  • Receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
  • the electronic device 100 answers a call or a voice message, the voice can be heard by bringing the receiver 170B close to the human ear.
  • Microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak close to the microphone 170C and input the sound signal to the microphone 170C.
  • the electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with more than two microphones 170C, which in addition to collecting sound signals, may also implement a noise reduction function. In other embodiments, the electronic device 100 can also use a microphone to identify the source of sound and implement directional recording functions, etc.
  • Headphone connector 170D is used to connect wired headphones.
  • the headphone connector 170D can be a USB connector 130 or a 3.5mm connector that complies with the open mobile terminal platform (OMTP) standard and complies with the cellular telecommunications industry association of the USA , CTIA) standard connector.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA
  • the pressure sensor 180A is used to sense pressure signals and can convert the pressure signals into electrical signals.
  • pressure sensor 180A may be disposed on display screen 194 .
  • pressure sensors 180A there are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc.
  • a capacitive pressure sensor may include at least two parallel plates of conductive material.
  • When a force is applied to pressure sensor 180A the capacitance between the electrodes changes.
  • Electronic equipment 100 based The change in capacitance determines the intensity of the pressure.
  • the electronic device 100 detects the strength of the touch operation according to the pressure sensor 180A.
  • the electronic device 100 may also calculate the touched position based on the detection signal of the pressure sensor 180A.
  • touch operations acting on the same touch location but with different touch operation intensities may correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold is applied to the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold is applied to the short message application icon, an instruction to create a new short message is executed.
  • the gyro sensor 180B may be used to determine the motion posture of the electronic device 100 .
  • the angular velocity of electronic device 100 about three axes may be determined by gyro sensor 180B.
  • the gyro sensor 180B can be used for image stabilization. For example, when the shutter is pressed, the gyro sensor 180B detects the angle at which the electronic device 100 shakes, calculates the distance that the lens module needs to compensate based on the angle, and controls the reverse movement of the lens to offset the shake of the electronic device 100 to achieve anti-shake.
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenes.
  • Air pressure sensor 180C is used to measure air pressure.
  • the electronic device 100 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
  • Magnetic sensor 180D includes a Hall sensor.
  • the electronic device 100 may utilize the magnetic sensor 180D to detect opening and closing of the flip holster.
  • the magnetic sensor 180D can be used to detect the folding or unfolding of the electronic device, or the folding angle.
  • the electronic device 100 may detect the opening and closing of the flip according to the magnetic sensor 180D. Then, based on the detected opening and closing status of the leather case or the opening and closing status of the flip cover, features such as automatic unlocking of the flip cover are set.
  • the acceleration sensor 180E can detect the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices and be used in horizontal and vertical screen switching, pedometer and other applications.
  • Distance sensor 180F for measuring distance.
  • Electronic device 100 can measure distance via infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 may utilize the distance sensor 180F to measure distance to achieve fast focusing.
  • Proximity light sensor 180G may include, for example, a light emitting diode and a light detector, such as a photodiode.
  • the light emitting diode may be an infrared light emitting diode.
  • the electronic device 100 emits infrared light outwardly through the light emitting diode.
  • Electronic device 100 uses photodiodes to detect infrared reflected light from nearby objects. When the intensity of the detected reflected light is greater than the threshold, it may be determined that an object is close to the electronic device 100 . When the intensity of the detected reflected light is less than the threshold, the electronic device 100 may determine that no object is close to the electronic device 100 .
  • the electronic device 100 can use the proximity light sensor 180G to detect when the user holds the electronic device 100 close to the ear for talking, so as to automatically turn off the screen to save power.
  • the proximity light sensor 180G can also be used in holster mode, and pocket mode automatically unlocks and locks the screen.
  • the ambient light sensor 180L can be used to sense ambient light brightness.
  • the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is blocked, for example, the electronic device is in a pocket. When it is detected that the electronic device is covered or in a pocket, some functions (such as touch functions) can be disabled to prevent misoperation.
  • Fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 100 can use the collected fingerprint characteristics to achieve fingerprint unlocking, access to application locks, fingerprint photography, fingerprint answering of incoming calls, etc.
  • Temperature sensor 180J is used to detect temperature.
  • the electronic device 100 utilizes the temperature detected by the temperature sensor 180J to execute the temperature processing strategy. For example, when the temperature detected by the temperature sensor 180J exceeds a threshold, the electronic device 100 performs reducing the performance of the processor so as to reduce the power consumption of the electronic device to implement thermal protection.
  • electronic device 100 heats battery 142 when the temperature detected by temperature sensor 180J is below another threshold. exist In other embodiments, the electronic device 100 may boost the output voltage of the battery 142 when the temperature is below another threshold.
  • Touch sensor 180K also known as "touch device”.
  • the touch sensor 180K can be disposed on the display screen 194.
  • the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen”.
  • the touch sensor 180K is used to detect a touch operation on or near the touch sensor 180K.
  • the touch sensor can pass the detected touch operation to the application processor to determine the touch event type.
  • Visual output related to the touch operation may be provided through display screen 194 .
  • the touch sensor 180K may also be disposed on the surface of the electronic device 100 at a location different from that of the display screen 194 .
  • Bone conduction sensor 180M can acquire vibration signals.
  • the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human body's vocal part.
  • the bone conduction sensor 180M can also contact the human body's pulse and receive blood pressure beating signals.
  • the bone conduction sensor 180M can also be provided in an earphone and combined into a bone conduction earphone.
  • the audio module 170 can analyze the voice signal based on the vibration signal of the vocal vibrating bone obtained by the bone conduction sensor 180M to implement the voice function.
  • the application processor can analyze the heart rate information based on the blood pressure beating signal obtained by the bone conduction sensor 180M to implement the heart rate detection function.
  • the buttons 190 may include a power button, a volume button, etc.
  • Key 190 may be a mechanical key. It can also be a touch button.
  • the electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100 .
  • the motor 191 can generate vibration prompts.
  • the motor 191 can be used for vibration prompts for incoming calls and can also be used for touch vibration feedback.
  • touch operations for different applications can correspond to different vibration feedback effects.
  • the motor 191 can also respond to different vibration feedback effects for touch operations in different areas of the display screen 194 .
  • Different application scenarios such as time reminders, receiving information, alarm clocks, games, etc.
  • the touch vibration feedback effect can also be customized.
  • the indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, or may be used to indicate messages, missed calls, notifications, etc.
  • the SIM card interface 195 may be a hardware module used to connect a SIM card.
  • the SIM card can be connected to or separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195 .
  • the electronic device 100 may support one or more SIM card interfaces.
  • SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card, etc. Multiple cards can be inserted into the same SIM card interface 195 at the same time. Multiple cards can be of the same type or different types.
  • the SIM card interface 195 is also compatible with different types of SIM cards.
  • the SIM card interface 195 is also compatible with memory cards.
  • the electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications.
  • the electronic device 100 uses an eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100 .
  • the software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture or a cloud architecture, etc.
  • the software system of the electronic device 100 includes, but is not limited to or other operating systems.
  • the embodiment of this application takes the Android system with a layered architecture as an example to illustrate the software structure of the electronic device 100 .
  • Figure 2 shows a software system architecture of an electronic device 100 provided by an embodiment of the present application.
  • the layered architecture divides the software into several layers, and each layer has clear roles and division of labor.
  • the layers communicate through software interfaces.
  • the Android system is divided into five layers, from top to bottom: application layer, application framework layer, Android runtime (Android runtime, ART) and native C/C++ library, hardware abstraction layer and kernel layer.
  • the application layer can include a series of application packages.
  • the application package can include gallery, calendar, calling, map, navigation, WLAN, Bluetooth, music, video, SMS and other applications.
  • the application framework layer provides application programming interfaces (application programming interfaces) for applications in the application layer. interface, API) and programming framework.
  • the application framework layer includes some predefined functions.
  • the application framework layer can include device discovery management, device knowledge base, device authentication management, window manager, content provider, view system, resource manager, notification manager, activity manager, input manager wait.
  • Device discovery management can be used by this device to find other electronic devices.
  • this device can search for devices in the near field.
  • This device can be configured with a wireless local area networks (WLAN) module.
  • the device discovery management can scan other electronic devices that turn on the WLAN function through the WLAN module. After obtaining information from other electronic devices, this device can establish communication connections with other electronic devices.
  • This device can also be configured with a Bluetooth module. Device discovery management can use the Bluetooth module to scan other electronic devices that turn on the Bluetooth function. After obtaining information about other electronic devices, this device can establish communication connections with other electronic devices.
  • WLAN wireless local area networks
  • this device can search for far-field devices through far-field communication technologies such as the Internet, servers, and cellular networks. After obtaining the information about the far-field devices, this device can communicate with the far-field devices. The field device establishes a communication connection.
  • far-field communication technologies such as the Internet, servers, and cellular networks.
  • the electronic device can call the lightweight computing platform interface to generate a QR code.
  • the device can search for other electronic devices by scanning the QR codes of other electronic devices, thereby establishing communication connections with other electronic devices.
  • this device can also search for other electronic devices in combination with any of the above methods, and the embodiments of the present application do not specifically limit this.
  • the device knowledge base can be used to save the device name, device type, device status information, device login information, device capability information, and address information of this device and other electronic devices.
  • the device status information is used to indicate whether the current device is offline or online;
  • the device login information is used to indicate the login account information of the current device;
  • the device capability information is used to indicate whether the current device supports resource sharing and function sharing.
  • the accounts logged in by other electronic devices stored in the device knowledge base can be associated with this device.
  • the accounts logged in by this device and other electronic devices can be the same; or, the accounts logged in by this device and other electronic devices can be the same.
  • the logged-in account can be in the same family group (for example, other electronic devices and this device are both members of the Huawei Smart Life family).
  • the accounts logged in by other electronic devices saved in the device knowledge base may not be associated with this device.
  • the other electronic devices may be devices of the user's friends in the address book.
  • other electronic devices may also be devices that are not logged into accounts.
  • Device certification management can be used by this device to authenticate other electronic devices, and save information about other electronic devices that have passed the certification in the device knowledge base.
  • a trusted network can be formed between certified devices.
  • this device when this device establishes a communication connection with other electronic devices, this device can receive device login information sent by other electronic devices. According to the account information logged in by other electronic devices, this device can determine the relationship between this device and other electronic devices. Whether the device belongs to the same account. When other electronic devices and this device belong to the same account, this device can be authenticated with other electronic devices. After the authentication is completed, this device can save the other electronic devices in the device knowledge base. Information.
  • this device when this device establishes a communication connection with other electronic devices, based on the device login information sent by other electronic devices, this device can also determine whether this device and other electronic devices belong to the same family group. When other electronic devices and this device belong to the same family group, this device can be authenticated with other electronic devices. After the authentication is completed, this device can save the information of the other electronic devices in the device knowledge base. For example, this device belongs to account A, and other electronic devices belong to account B. Account A and account B belong to the same family group. When this device receives the device login information sent by other electronic devices, it will log in according to the login information of other electronic devices. Based on the account information, this device can determine whether it belongs to the same family group as other electronic devices.
  • this device can also authenticate devices that are not logged into accounts.
  • this device is logged into account A, and other electronic devices are devices that are not logged into accounts.
  • this device can call the lightweight computing platform interface.
  • Generate a QR code Other electronic devices can obtain the media access control (MAC) address, Internet protocol (IP) address, and public key of this device by scanning the QR code generated by this device. and other information, other electronic devices can use the public key information of this device to encrypt the public keys of other electronic devices and send them to this device.
  • This device can use the public key of this device to decrypt the encrypted public key of other electronic devices and obtain the public keys of other electronic devices, thereby completing the authentication between this device and other electronic devices.
  • this device can obtain and save the device name, device type, device status information, device capability information, address information and other information of other electronic devices in the device knowledge base.
  • the window manager provides window management service (window manager service, WMS).
  • WMS can be used for window management, window animation management, surface management, and as a transfer station for the input system.
  • Content providers are used to store and retrieve data and make this data accessible to applications.
  • This data can include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
  • Content providers provide support for data access between applications.
  • the view system includes visual controls, such as controls that display text, controls that display pictures, etc.
  • a view system can be used to build applications.
  • the display interface can consist of one or more views.
  • a display interface including a text message notification icon may include a view for displaying text and a view for displaying pictures.
  • the resource manager provides various resources to applications, such as localized strings, icons, pictures, layout files, video files, etc.
  • the notification manager allows applications to display notification information in the status bar, which can be used to convey notification-type messages and can automatically disappear after a short stay without user interaction.
  • the notification manager is used to notify download completion, message reminders, etc.
  • the notification manager can also be notifications that appear in the status bar at the top of the system in the form of charts or scroll bar text, such as notifications for applications running in the background, or notifications that appear on the screen in the form of conversation windows. For example, text information is prompted in the status bar, a beep sounds, the electronic device vibrates, the indicator light flashes, etc.
  • the input manager can provide input management service (IMS), which can be used to manage system input, such as touch screen input, key input, sensor input, etc.
  • IMS input management service
  • IMS takes out events from the input device node and distributes the events to appropriate windows through interaction with WMS.
  • the Android runtime includes core libraries and Android runtime.
  • the Android runtime is responsible for converting source code to bytecode, converting bytecode to machine code, and running the machine code.
  • the Android runtime supports ahead or time (AOT) compilation technology and just in time (JIT) compilation technology.
  • AOT converts bytecode into machine code during application installation and stores it in On the memory; JIT converts part of the bytecode into machine code in real time while the application is running.
  • the core library is mainly used to provide basic Java class library functions, such as basic data structures, mathematics, IO, tools, databases, networks and other libraries.
  • the core library provides APIs for users to develop Android applications.
  • Native C/C++ libraries can include multiple function modules. For example: surface manager, media framework, libc, OpenGL ES, SQLite, Webkit, etc.
  • the surface manager is used to manage the display subsystem and provides the integration of 2D and 3D layers for multiple applications.
  • the media framework supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc.
  • the media library can support multiple audio and video encoding formats, For example: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • libc provides a standard C function library.
  • OpenGL ES provides the drawing and manipulation of 2D graphics and 3D graphics in applications.
  • SQLite provides a lightweight relational database for applications.
  • Webkit provides browser kernel support.
  • the modules in the application framework layer are written in Java language, and the modules in the native C/C++ library are written in C/C++ language.
  • the communication between the two can be achieved through Java native interface (JNI).
  • JNI Java native interface
  • the hardware abstraction layer runs in user space, encapsulates the kernel layer driver, and provides a calling interface to the upper layer, which can include display modules, camera modules, audio modules, and Bluetooth modules.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer can include display drivers, camera drivers, audio drivers, Bluetooth drivers, and other sensor drivers.
  • the kernel layer also supports memory management, system process management, file system management, power management and other functions.
  • Figure 3 shows a schematic system architecture diagram of a communication system provided by an embodiment of the present application.
  • the communication system can also be called a distributed system 10, including a first electronic device, a second electronic device and a third electronic device, where , any two or more of the first electronic device, the second electronic device or the third electronic device may establish the communication connection 101.
  • the distributed system 10 may include two or more electronic devices, and the embodiment of the present application does not specifically limit the number of electronic devices in the distributed system 10 .
  • any one of the first electronic device, the second electronic device, or the third electronic device may be a mobile phone, a foldable electronic device, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, a super mobile personal computer ( ultra-mobile personal computer (UMPC), netbook, cellular phone, handheld computer (Personal Digital Assistant, PDA), AR device, VR device, artificial intelligence device, wearable device, vehicle-mounted device, smart home device, smart city device of at least one.
  • the embodiments of the present application do not place special restrictions on the types of the first electronic device, the second electronic device, and the third electronic device.
  • any one of the first electronic device, the second electronic device or the third electronic device may be equipped with iOS, Android, Microsoft, Windows system, macOS, Linux system, HarmonyOS (HarmonyOS, HOS) or other systems. At least one of the operating systems, the embodiment of the present application does not specifically limit this.
  • the first electronic device, the second electronic device, and the third electronic device may all be equipped with the Hongmeng system, and the distributed system 10 may be called the Hongmeng super virtual device, or the Hongmeng super terminal.
  • the distributed system 10 may be called the Hongmeng super virtual device, or the Hongmeng super terminal.
  • any two or more devices among the first electronic device, the second electronic device, or the third electronic device may establish a communication connection 101, and the communication connection 101 may be a near field communication connection.
  • the near field communication connection may be a wired connection
  • the wired connection may be a universal serial bus (universalserial bus, USB) connection.
  • USB universal serial bus
  • the near field communication connection may be a wireless connection
  • the wireless connection may be a wireless fidelity (Wi-Fi) connection.
  • Wi-Fi wireless fidelity
  • Two or more WLAN modules can be configured, where the WLAN module can provide wireless fidelity peer-to-peer (Wi-Fi P2P), wireless fidelity local area networks (Wi-Fi P2P), wireless fidelity local area networks (Wi-Fi) -Fi LAN) or wireless fidelity software access point (Wi-Fi softAP) one or more WLAN communication solutions.
  • Wi-Fi P2P wireless fidelity peer-to-peer
  • Wi-Fi P2P wireless fidelity local area networks
  • Wi-Fi wireless fidelity local area networks
  • Wi-Fi softAP wireless fidelity software access point
  • the wireless connection may also be a Bluetooth connection, and any two or more of the first electronic device, the second electronic device, or the third electronic device may be configured with a Bluetooth module, wherein the Bluetooth module may provide services including classic Bluetooth (Bluetooth 2.1) or One or more Bluetooth communication solutions in Bluetooth low energy (BLE).
  • Bluetooth module may provide services including classic Bluetooth (Bluetooth 2.1) or One or more Bluetooth communication solutions in Bluetooth low energy (BLE).
  • the communication connection 101 established by any two or more of the first electronic device, the second electronic device or the third electronic device may also be a far-field communication connection. Any two or more of the devices or the third electronic device can be connected through the Internet; any two or more of the first electronic device, the second electronic device or the third electronic device can also be connected to the server, through the server Perform data transfer and interaction.
  • any two or more of the first electronic device, the second electronic device, or the third electronic device can also establish a communication connection 101 by scanning a QR code.
  • the first electronic device, the second electronic device and the third electronic device can call the lightweight computing platform interface to generate a QR code.
  • the first electronic device can scan the QR code of the second electronic device and the second electronic device
  • the first electronic device can also establish the communication connection 101 with the third electronic device by scanning the QR code of the third electronic device.
  • the second electronic device can also establish the communication connection 101 with the third electronic device by scanning the QR code of the third electronic device.
  • the electronic device establishes a communication connection 101 .
  • any two or more of the first electronic device, the second electronic device or the third electronic device can also establish a communication connection in combination with any of the above methods.
  • the embodiment of the present application There is no specific limitation on the manner in which any two or more of the above-mentioned first electronic device, second electronic device or third electronic device establish a communication connection.
  • each electronic device can install a traditional application program (Application, APP), which can be a camera application, an instant messaging application, etc.
  • APP application program
  • Each electronic device in the distributed system 10 can also be installed with a distributed application.
  • the distributed application can be a system application or a third-party application.
  • the distributed applications installed on each electronic device in the distributed system 10 can share resources and functions. The embodiments of this application do not specifically limit the types of applications installed on electronic devices.
  • the embodiment of the present application provides a capability calling method that allows editing resources and editing capabilities to be shared among multiple devices. Users can use the distributed system 10 on any device in the distributed system 10. The ability of all devices in the distributed system 10 to process pictures, videos, documents and other resources on other electronic devices in the distributed system 10. Combined with the above description of the distributed system 10, further elaboration will be given below, taking the editing capability of the gallery application as an example.
  • Figure 4 shows a set of GUIs provided by the embodiment of the present application.
  • the first electronic device may include a display interface 201, and the display interface 201 may display a gallery application icon 202.
  • the first electronic device detects that the user selects the gallery application icon 202 on the display interface 201, the first electronic device can search for other electronic devices in the near field or far field, and after obtaining the information of the other electronic devices, the first electronic device can communicate with the other electronic devices.
  • the electronic device establishes a communication connection, and the first electronic device can authenticate other electronic devices that establish the communication connection.
  • a communication connection 101 can be established between the first electronic device and the second electronic device.
  • Authentication can be performed between two electronic devices. It should be noted that the method of establishing a communication connection and authentication between the first electronic device and the second electronic device may refer to the description in the foregoing related embodiments, and will not be described again here.
  • the first electronic device before the first electronic device detects that the user selects the gallery application icon 202 on the display interface 201, the first electronic device can search for other electronic devices in the near field or far field, and the first electronic device can obtain other electronic devices.
  • Information of electronic devices when the first electronic device obtains information of other electronic devices, the first electronic device can establish communication connections with other electronic devices, and the first electronic device can authenticate other electronic devices that have established communication connections. Since before the user selects the gallery application icon 202, the first electronic device completes the authentication of other electronic devices establishing communication connections, therefore, after the user selects the gallery application icon 202, there is no need for the first electronic device to establish communication with other electronic devices. even The connection and authentication time shortens the user's waiting time and improves the user experience.
  • FIG. 4 is a schematic diagram of a business scenario of a distributed system 10 provided by an embodiment of the present application, including a first electronic device and a second electronic device.
  • the first electronic device and the second electronic device can be installed There are gallery apps.
  • the first electronic device detects that the user selects the gallery application icon 202 on the display interface 201, for example, as shown in (c) of Figure 4, the first electronic device may open the gallery application.
  • the first electronic device may include a display interface 201, and the display interface 201 may display local icons 210 and other device icons. 220, in which this machine is the first electronic device.
  • the display interface 201 can also display the photo album folder of the first electronic device, including folders such as the camera, all photos, videos, screenshots and recordings, and my collection.
  • the first electronic device may open the camera folder.
  • another GUI of the first electronic device may include a display interface 201.
  • the display interface 201 may display abbreviations of photos and videos saved in the camera folder 230. Thumbnails, the user can view thumbnails of photos and videos saved in the camera folder 230 by sliding up the screen.
  • the first electronic device when the first electronic device detects that the user selects the thumbnail 231 on the display interface 201, for example, as shown in (e) of Figure 4, the first electronic device can open the thumbnail. 231 corresponds to the large picture 232.
  • another GUI provided by an embodiment of the present application includes a first electronic device and a second electronic device.
  • the first electronic device may include a display interface 201, and the display interface 201 may display The thumbnail 231 corresponds to the large image 232 and the editing icon 203.
  • the first electronic device detects the user's first operation, where the first operation may be the user's operation of selecting the editing icon 203 on the display interface 201, in response to the user's first operation, the first electronic device may send a message to the second electronic device.
  • the device sends first request information, the first request information is used to request editing capability information to the second electronic device; when the second electronic device receives the first request information, the second electronic device can send the first request information to the first electronic device.
  • the first capability information may include one or more functions.
  • the first capability information may include capabilities 401 and 402.
  • the first electronic device can integrate the editing capability information of each electronic device, and the first electronic device can store each editing capability information and its source.
  • the first electronic device Each editing capability can also be displayed on the display interface 201.
  • the display interface 201 of the first electronic device can display the large image 232 and the functions 401, 402, 403 and 403. 404.
  • the first operation may be the user's touch modification method on the display screen (such as a click operation or a long press operation), or it may be a user's voice command, which is not specifically limited in the embodiment of the present application.
  • the first electronic device when the first electronic device detects the user's first operation, the first electronic device can also send the editing capability information of the first electronic device to the second electronic device, which can expand the capability boundary of the electronic device.
  • the first electronic device For the first operation, reference may be made to the descriptions in the foregoing related embodiments and will not be described again here.
  • the first electronic device when the first electronic device detects the user's first operation, when the first electronic device and the second electronic device have sent editing capability information to each other before the first electronic device detects the user's first operation, the first electronic device One electronic device does not request capability information from the second electronic device. This can prevent the first electronic device from repeatedly requesting capability information from the second electronic device, reduce information interaction between the electronic devices, and reduce the power consumption of the electronic device.
  • the first electronic device when the first electronic device receives the editing capability information sent by other electronic devices, the first electronic device can integrate the editing capability information of its own device and other electronic devices.
  • the first electronic device can compare the editing capabilities of each electronic device, store information about the editing capability with stronger capabilities, and expand and improve the editing capability of the electronic device.
  • a stronger editing ability can be an editing ability with a higher version
  • a stronger editing ability can also be an editing ability with more functions (for example, the editing ability with more editing templates is stronger than the editing ability with fewer editing templates)
  • the embodiments of this application do not specifically limit this.
  • the first electronic device may include a display interface 201 , and the display interface 201 may display Large picture 232 and functions 401, 402, 403 and 404, wherein function 401 is horizontal correction, function 402 is filter, function 401 and function 402 come from the second electronic device; function 403 is cropping, function 404 is Automatic optimization, function 403 and function 404 come from the first electronic device.
  • the first electronic device may use any one or more of the functions 401, 402, 403 or 404 to process the large image 232.
  • the fourth operation may be an operation of the user selecting the function 401.
  • the first electronic device may send the data of the large image 232 and fourth request information to the second electronic device.
  • the fourth request information is used to
  • the second electronic device is requested to edit the large image 232 based on the function 401.
  • the second electronic device can edit the large image 232 based on the function 401 to obtain the large image 233 .
  • the display interface of the first electronic device when the first electronic device detects that the user selects the thumbnail 231 on the display interface 201, for example, as shown in (e) of Figure 4, the display interface of the first electronic device The large image 232 corresponding to the thumbnail image 231 may be displayed.
  • the first electronic device detects that the user selects the large image 232, the first electronic device can obtain the capability information of the second electronic device.
  • the display interface 201 of the first electronic device The large image 232 corresponding to the thumbnail image 231 and the functions 401, 402, 403 and 404 may be displayed.
  • the first electronic device can use any one or more functions of function 401, function 402, function 403 or function 404 to process the large image 232.
  • the first electronic device when the first electronic device detects the fourth operation of the user, it responds As a result of the user's fourth operation, the first electronic device may request the second electronic device to edit the large image 232 based on the function 401.
  • the first electronic device may request the second electronic device to edit the large image 232 based on the function 401.
  • Another GUI provided by the embodiment of the present application as shown in (g) of Figure 4 includes a first electronic device and a second electronic device.
  • the second electronic device edits the large image 232, a large image 233 is obtained.
  • the second electronic device may send the large image 233 to the first electronic device.
  • the first electronic device may prompt the user for the large image 233.
  • the first electronic device may display the large image 233 on the display interface 201. Because when the second electronic device edits the large image 232 based on the function 401, the editing process is a background operation of the second electronic device, which reduces the user's perception of the editing process, simplifies the user's operation interface, and improves the user's experience.
  • the display interface 201 may also include an icon 204.
  • the user can also save the large image 233 by selecting the icon 204.
  • the first electronic device can save the large image 233, and the first electronic device can also use the large image 233 to replace the pre-editing large image 232 corresponding to the large image 233.
  • the second electronic device when the second electronic device edits the large image 232 to obtain the large image 233, the second electronic device can also prompt the user for the large image 233 (for example, display the large image 233 on the display interface of the second electronic device). ).
  • the first electronic device when the first electronic device receives the large image 233, based on any one or more of the editing capabilities of the first electronic device and the editing capabilities of the second electronic device, the first electronic device can also continue to edit the large image. 233 to edit and get the edited large picture 233 .
  • the first electronic device may also prompt the user with the edited large image 233.
  • the first electronic device may display the edited large image 233 on the display interface 201.
  • the first electronic device may also send the edited large picture 233 back to the second electronic device. Since the first electronic device requests the second electronic device to edit the image, the edited image can be continuously edited on the first electronic device, which improves the user's flexibility in editing the image and improves the user's experience. For details, refer to the description in the foregoing embodiments, which will not be described again here.
  • the user can also continue to edit the large image 233 on the second electronic device. Since the user is on the second electronic device
  • the method for continuously editing the large picture 233 is the same as the method for the user to continuously edit the large picture 233 on the first electronic device.
  • the first electronic device Or the editing capabilities and editing resources of any one or more of the second electronic devices can be transferred between the first electronic device and the second electronic device, expanding the capability boundary of the electronic device, and the user does not need to operate the first electronic device at the same time and the second electronic device, simplifying the user's operation steps, improving the user's operation efficiency, and enhancing the user's experience.
  • Figure 5 shows another set of GUI provided by the embodiment of the present application.
  • the first electronic device when the first electronic device detects that the user selects the gallery application icon 202 on the display interface 201, for example, as shown in (a) of Figure 5, the first electronic device can Open the Gallery app.
  • a GUI of a first electronic device provided by an embodiment of the present application is shown.
  • the display interface 201 of the first electronic device can display local icons 210 and other device icons 220.
  • the device detects that the user selects other device icons 220 on the display interface 201.
  • the first electronic device may display other electronic devices that have been authenticated by the first electronic device.
  • the authentication process of the first electronic device and other electronic devices reference may be made to the descriptions in the foregoing related embodiments, which will not be described again here.
  • another GUI provided by an embodiment of the present application includes a first electronic device and a second electronic device.
  • the first electronic device may include a display interface 201, and the display interface 201 may display other devices.
  • Icon 220 and folder 310 where folder 310 is the photo album folder of Huawei tablet M11, and Huawei tablet M11 is the second electronic device.
  • the first electronic device may send request information to the second electronic device, where the request information is used to request album folder data of the second electronic device.
  • the second electronic device may send the album folder data to the first electronic device.
  • the first electronic device The display interface 201 of the device may display the photo album folder of the second electronic device.
  • another GUI provided by an embodiment of the present application includes a first electronic device and a second electronic device.
  • the first electronic device may include a display interface 201, and the display interface 201 may display a second electronic device.
  • the photo album folder of the electronic device includes folders such as the camera, all photos, videos, screenshots and recordings, Huawei Share, etc.
  • the first electronic device may send request information to the second electronic device, the request information being used to request a thumbnail of the camera folder of the second electronic device. data.
  • the second electronic device may send the thumbnail data to the first electronic device.
  • the first electronic device The display interface 201 can display the thumbnail data of the camera folder 311.
  • a GUI provided by an embodiment of the present application includes a first electronic device and a second electronic device.
  • the first electronic device may include a display interface 201, and the display interface 201 may display a camera folder. Thumbnails of photos and videos saved in 311. Users can view thumbnails of photos and videos saved in camera folder 311 by sliding up the screen.
  • the first electronic device when the first electronic device detects that the user selects the thumbnail 312 on the display interface 201, the first electronic device may send request information to the second electronic device, where the request information is used to request the second electronic device.
  • the thumbnail image 312 of the device corresponds to the large image 313.
  • the second electronic device may send the data of large image 313 to the first electronic device.
  • the display interface 201 of the electronic device may display the large image 313 corresponding to the thumbnail image 312.
  • the first electronic device A display interface 201 may be included, and the display interface 201 may display a large image 313 and an editing icon 203.
  • the first electronic device may send first request information to the second electronic device, where the first request information is used to request editing capability information from the second electronic device.
  • the second electronic device may send first capability information to the first electronic device, where the first capability information may include one or more functions.
  • the first capability Information may include capabilities 401 and capabilities 402.
  • the first electronic device When the first electronic device receives the first capability information sent by the second electronic device, the first electronic device can integrate the editing capability information of each electronic device, and the first electronic device can store each editing capability information and its source.
  • the first electronic device Each editing capability can also be displayed on the display interface 201.
  • the display interface 201 of the first electronic device can display the large image 313 and the functions 401, 402, 403 and 403. 404.
  • the first electronic device detects the user's first operation.
  • the first electronic device and the second electronic device have sent editing capability information to each other before the first electronic device detects the user's first operation, the first electronic device The electronic device does not request capability information from the second electronic device. This can prevent the first electronic device from repeatedly requesting capability information from the second electronic device, reduce information interaction between the electronic devices, and reduce the power consumption of the electronic device.
  • the first electronic device when the first electronic device detects the user's first operation, the first electronic device may also send the editing capability information of the first electronic device to the second electronic device.
  • the first electronic device may also send the editing capability information of the first electronic device to the second electronic device.
  • the first electronic device when the first electronic device receives the editing capability information sent by the second electronic device, when each electronic device has the same editing capability, the first electronic device can compare the editing capabilities of each electronic device, and the storage capability For information on stronger editing capabilities, please refer to the relevant descriptions in the foregoing embodiments, and will not be described again here.
  • the first electronic device may include a display interface 201, and the display interface 201 may display a large image. 313 as well as function 401, function 402, function 403 and function 404.
  • the first electronic device can use any one or more functions of function 401, function 402, function 403 or function 404 to process the large image 313.
  • the first electronic device detects the fifth operation of the user, where , the fifth operation may be an operation in which the user selects the function 403.
  • the first electronic device edits the large image 313 based on the function 403 to obtain the large image 314.
  • functions 401, 402, 403, 404 and the second operation reference may be made to the descriptions in the foregoing related embodiments and will not be described again here.
  • the first electronic device when the first electronic device detects that the user selects the thumbnail 312 on the display interface 201, the first electronic device may request the large image 313 corresponding to the thumbnail 312 of the second electronic device.
  • the second electronic device may send the data of large image 313 to the first electronic device.
  • the first electronic device The display interface 201 of the electronic device may display the large image 313 corresponding to the thumbnail image 312.
  • the first electronic device When the first electronic device detects that the user selects the large image 313, the first electronic device can obtain the capability information of any one or more of the second electronic device or the third electronic device, for example, as shown in (f in Figure 5 ), the display interface 201 of the first electronic device can display a large image 313 and functions 401, 402, 403 and 404.
  • the first electronic device can use any one or more functions of function 401, function 402, function 403 or function 404 to process the large image 313.
  • the first electronic device detects the fifth operation of the user, it responds Based on the user's fifth operation, the first electronic device edits the large image 313 based on the function 403 to obtain the large image 314.
  • the first electronic device edits the large image 313 based on the function 403 to obtain the large image 314.
  • another GUI provided by an embodiment of the present application includes a first electronic device and a second electronic device.
  • the first electronic device may include a display interface 201.
  • the first electronic device can prompt the user for the large image 314.
  • the first electronic device can display the large image 314 on the display interface 201.
  • the first electronic device may also send the large image 314 to the second electronic device. Since the user can use the capability of the first electronic device on the first electronic device to edit the image of the second electronic device, the capability boundary of the electronic device is expanded.
  • the first electronic device can also send the edited large image 314 back to the second electronic device, which simplifies the user's operation steps, improves the user's operation efficiency, and improves the user's experience.
  • the second electronic device when the second electronic device receives the large image 314, the second electronic device can also prompt the user with the large image 314 (for example, display the large image 314 on the display interface of the second electronic device).
  • the display interface 201 may also include an icon 204.
  • the first electronic device edits the large image 313 based on the function 403 and obtains the edited large image 314, the user can also save the large image 314 by selecting the icon 204.
  • the first electronic device detects that the user selects the icon 204, the first electronic device can save the large image 314, and the first electronic device can also replace the pre-editing large image 313 corresponding to the large image 314 with the large image 314.
  • the second electronic device when the first electronic device sends the large image 314 to the second electronic device, when the second electronic device receives the large image 314, the second electronic device can save the large image 314, and the second electronic device can also use the large image. 314 replaces the large picture 313 before editing corresponding to the large picture 314.
  • the first electronic device can also continue to edit the large image 314 based on any one or more of the editing capabilities of the first electronic device and the editing capabilities of the second electronic device.
  • the first electronic device can also continue to edit the large image 314 .
  • the edited large image 314 is prompted to the user.
  • the first electronic device may display the edited large image 314 on the display interface 201 .
  • the first electronic device may also send the edited large picture 314 to the second electronic device.
  • the user can also continue to edit the large image 314 on the second electronic device based on any one or more of the editing capabilities of the first electronic device or the editing capabilities of the second electronic device. Since the way in which the user continuously edits the large image 314 on the second electronic device is the same as the way in which the user continues to edit the large image 314 on the first electronic device, please refer to the description in the foregoing embodiment for details, which will not be described again here.
  • the first electronic device or the second electronic device since the user can edit the image of the second electronic device using the ability of any one or more of the first electronic device or the second electronic device on the first electronic device, the first electronic device or the second electronic device.
  • the editing capabilities and editing resources of any one or more of the electronic devices can be transferred between the first electronic device and the second electronic device, which expands the capability boundary of the electronic device, and the user does not need to operate the first electronic device and the second electronic device at the same time.
  • Electronic equipment simplifies the user's operating steps, improves the user's operating efficiency, and enhances the user's experience.
  • Figure 6 shows another set of GUI provided by the embodiment of the present application.
  • the first electronic device when the first electronic device detects that the user selects the gallery application icon 202, the first electronic device can search for other electronic devices in the near field or far field, and after obtaining information about other electronic devices, the first electronic device An electronic device can establish a communication connection with other electronic devices, and the first electronic device can authenticate other electronic devices that have established a communication connection.
  • another GUI provided by the embodiment of the present application as shown in FIG. 6(a) includes a first electronic device, a second electronic device, and a third electronic device.
  • the first electronic device, the second electronic device A communication connection 101 can be established between the device and the third electronic device, and authentication can also be performed between the first electronic device, the second electronic device and the third electronic device.
  • the methods for establishing communication connections and authentication between the first electronic device, the second electronic device and the third electronic device can refer to the descriptions in the foregoing related embodiments, and will not be described again here.
  • the first electronic device may include a display interface 201 , and the display interface 201 may display local icons 210 and other device icons. 220.
  • the first electronic device may display other electronic devices that have been authenticated by the first electronic device.
  • the authentication process of the first electronic device and other electronic devices reference may be made to the descriptions in the foregoing related embodiments, which will not be described again here.
  • FIG. 6 another GUI provided by an embodiment of the present application includes a first electronic device and a second electronic device.
  • the first electronic device may include a display interface 201, and the display interface 201 may display other devices.
  • folder 310 is the photo album folder of Huawei tablet M11, which is the second electronic device;
  • folder 410 is the photo album folder of Huawei smart screen, and Huawei smart screen is Third electronic equipment.
  • the first electronic device may send request information to the second electronic device, where the request information is used to request album folder data of the second electronic device.
  • the second electronic device may send the album folder data to the first electronic device.
  • the first electronic device The display interface 201 of the device may display the photo album folder of the second electronic device.
  • the display interface 201 of the first electronic device may display the abbreviation of the camera folder 311.
  • Sketch data For the manner in which the first electronic device obtains the thumbnail data of the second electronic device, please refer to the detailed descriptions of other above-mentioned embodiments and will not be described again here.
  • another GUI provided by an embodiment of the present application includes a first electronic device and a second electronic device.
  • the first electronic device may include a display interface 201 , and the display interface 201 may display camera files.
  • the user can view the thumbnails of the photos and videos saved in the camera folder 311 by sliding the screen upward.
  • the first electronic device when the first electronic device detects that the user selects the thumbnail 321 on the display interface 201, the first electronic device may send request information to the second electronic device, where the request information is used to request the second electronic device.
  • the thumbnail image 321 of the device corresponds to the large image 322.
  • the second electronic device may send the data of the large image 322 to the first electronic device. For example, as shown in (e) in FIG. 6 , the first electronic device
  • the display interface 201 of the electronic device can display a large image 322.
  • another GUI provided by an embodiment of the present application includes a first electronic device, a second electronic device, and a third electronic device.
  • the first electronic device may include a display interface 201.
  • the display interface 201 may display a large image 322 and an edit icon 203.
  • the first electronic device may send a third electronic device to the second electronic device and the third electronic device respectively.
  • a request information and a second request information, the first request information and the second request information are respectively used to request capability information from the second electronic device and the third electronic device.
  • the second electronic device and the third electronic device may respectively send the first capability information and the second capability information to the first electronic device, where the first capability information may include One or more functions, for example, the first capability information may include capabilities 401 and 402; the second capability information may also include one or more functions, for example, the second capability information may include capabilities 405 and 406 .
  • the first electronic device receives the first capability information and the second capability information respectively sent by the second electronic device and the third electronic device, the first electronic device can integrate the editing capability information of each electronic device, and the first electronic device can store each Editing capability information and its source, the first electronic device can also display each editing capability on the display interface 201.
  • the display interface 201 of the first electronic device can display a large image 322 As well as function 401, function 402, function 403, function 404, function 405 and function 406.
  • function 401 As well as function 401, function 402, function 403, function 404, function 405 and function 406.
  • the first electronic device when the first electronic device detects the user's first operation, the first electronic device may also send the editing capability information of the first electronic device to at least one of the second electronic device and the third electronic device, The second electronic device and the third electronic device can also send respective capability information to each other, which can expand the capability boundary of the electronic device.
  • the first electronic device when the first electronic device detects the user's first operation, the first electronic device, the second electronic device and the third electronic device have sent each other before the first electronic device detects the user's first operation.
  • Editing Capability Information, Vol. An electronic device does not request capability information from the second electronic device and the third electronic device. This can prevent the first electronic device from repeatedly requesting capability information from the second electronic device and the third electronic device, reduce information interaction between the electronic devices, and reduce the power consumption of the electronic device.
  • the first electronic device when the first electronic device receives the editing capability information sent by the second electronic device and the third electronic device, when each electronic device has the same editing capability, the first electronic device can compare the editing capabilities of each electronic device. Editing capabilities, storing information with stronger editing capabilities, can expand and improve the editing capabilities of electronic devices. For details, refer to the relevant descriptions in the foregoing embodiments, which will not be described again here.
  • the first electronic device may include a display interface 201, and the display interface 201 may display a large Figure 322 and functions 401, 402, 403, 404, 405 and 406, wherein function 401 is horizontal correction, function 402 is a filter, function 401 and function 402 come from the second electronic device; function 403 is Cropping and function 404 are automatic optimization, and functions 403 and 404 come from the first electronic device; function 405 is defogging, and function 406 is brightening, and functions 405 and 406 come from the third electronic device.
  • the first electronic device may use any one or more of functions 401, 402, 403, 404, 405 or 406 to process the large image 322. For example, when the first electronic device detects the user A second operation, wherein the second operation may be an operation of the user selecting the function 406. In response to the user's second operation, the first electronic device may send the data of the large image 322 and the third request information to the third electronic device. The third request information is used to request the third electronic device to edit the large image 322 based on the function 406. When the third electronic device receives the data of the large image 322 and the third request information sent by the first electronic device, the third electronic device can edit the large image 322 based on the function 406 to obtain the large image 323.
  • the first electronic device when the first electronic device detects that the user selects the thumbnail 321 on the display interface 201, the first electronic device may request the second electronic device for the size corresponding to the thumbnail 321 of the second electronic device.
  • the second electronic device may send the data of the large image 322 to the first electronic device. For example, as shown in (e) in FIG. 6 , the first electronic device
  • the display interface 201 of the electronic device can display a large image 322.
  • the first electronic device When the first electronic device detects that the user selects the large image 322, the first electronic device can obtain the capability information of any one or more of the second electronic device or the third electronic device, for example, as shown in (f in Figure 6 ), the display interface 201 of the first electronic device can display a large image 322 and functions 401, 402, 403, 404, 405 and 406.
  • the first electronic device may use any one or more of functions 401, 402, 403, 404, 405 or 406 to process the large image 322.
  • the first electronic device may request the third electronic device to edit the large image 322 based on the function 406 .
  • the third electronic device For details, please refer to the description of the above embodiments, which will not be described again here.
  • another GUI provided by an embodiment of the present application includes a first electronic device, a second electronic device, and a third electronic device.
  • the third electronic device responds to the large image 322 based on the function 406 Perform editing to obtain the large image 323.
  • the third electronic device can send the large image 323 to the first electronic device.
  • the first electronic device receives the large image 323, the first electronic device can prompt the user for the large image 323.
  • the first electronic device An electronic device can display the large image 323 on the display interface 201. Since the large image 322 comes from the second electronic device, the first electronic device can also send the edited large image 323 corresponding to the large image 322 to the second electronic device.
  • the user can edit the image of the second electronic device on the first electronic device using the capability of the third electronic device
  • the editing capability of any one or more of the first electronic device, the second electronic device, or the third electronic device and Editing resources can be transferred between three electronic devices, which expands the capability boundaries of the electronic devices.
  • the user does not need to operate the first electronic device, the second electronic device, and the third electronic device at the same time, simplifying the user's operating steps and improving user experience.
  • the operating efficiency improves the user experience.
  • another GUI provided by an embodiment of the present application includes a first electronic device, a second electronic device, and a second electronic device.
  • device and the third electronic device when the third electronic device edits the large image 322 based on the function 406 to obtain the large image 323, the third electronic device can also send the large image 323 to the first electronic device and the second electronic device.
  • the first electronic device can prompt the user for the large image 323.
  • the first electronic device can display the large image 323 on the display interface 201.
  • the user can use the function 406 of the third electronic device on the first electronic device to edit the large image 322 of the second electronic device, the capability boundary of the electronic device is expanded, and the third electronic device can also edit the corresponding large image 322
  • the final large picture 323 is sent back to the second electronic device without being forwarded by the first electronic device, which improves the flexibility of interoperability between devices.
  • the display interface 201 may also include an icon 204.
  • the third electronic device edits the large image 322 based on the function 406 to obtain the large image 323, the user can also save the large image 323 by selecting the icon 204.
  • the first electronic device detects that the user selects the icon 204, the first electronic device can save the large image 323, and the first electronic device can also replace the pre-editing large image 322 corresponding to the large image 323 with the large image 323.
  • the second electronic device when the second electronic device receives the large image 323, the second electronic device can save the large image 323, and the second electronic device can also replace the pre-edited large image 322 corresponding to the large image 323 with the large image 323;
  • the third electronic device edits the large image 322 based on the function 406 to obtain the large image 323, the third electronic device can save the large image 323, and the third electronic device can also use the large image 323 to replace the pre-edited image corresponding to the large image 323. Big picture 322.
  • the second electronic device when the second electronic device receives the large image 323, the second electronic device can also prompt the user with the large image 323 (for example, display the large image 323 on the display interface of the second electronic device).
  • the third operation may select the editing capability of the first electronic device (for example, capability 403, Capability 404, etc.) or any one or more of the editing capabilities of the second electronic device (such as capability 401, capability 402, etc.), in response to the user's third operation, the first electronic device may also be based on the editing capabilities of the first electronic device. Any one or more of the editing capabilities of the second electronic device or the editing capability of the third electronic device continues to edit the large image 323 to obtain the edited large image 323. The first electronic device may also prompt the user with the edited large image 323.
  • the editing capability of the first electronic device for example, capability 403, Capability 404, etc.
  • the first electronic device may also be based on the editing capabilities of the first electronic device.
  • Any one or more of the editing capabilities of the second electronic device or the editing capability of the third electronic device continues to edit the large image 323 to obtain the edited large image 323.
  • the first electronic device may also prompt the user with the edited large image 323.
  • the first electronic device may display the edited large image 323 on the display interface 201.
  • the first electronic device may also send the edited large picture 323 to any one or more of the second electronic device or the third electronic device. Since the first electronic device requests the third electronic device to edit the image, the edited image can be continuously edited on the first electronic device, which improves the user's flexibility in editing the image and improves the user's experience.
  • the user when the second electronic device receives the large image 323, the user can also edit the second electronic device based on the editing capabilities of the first electronic device, the editing capabilities of the second electronic device, or the editing capabilities of the third electronic device. Any one or more of them can continue to edit the large image 323; the user can also use the third electronic device based on any one of the editing capabilities of the first electronic device, the editing capabilities of the second electronic device, or the editing capabilities of the third electronic device. or more continue to edit the large picture 323. Since the way in which the user continuously edits the large image 323 on the second electronic device or the third electronic device is the same as the way in which the user continuously edits the large image 323 on the first electronic device, please refer to the description in the foregoing embodiment for details. No longer.
  • any one of the first electronic device, the second electronic device, or the third electronic device can use the editing capabilities of any one or more of the three to edit any one of the three. or multiple images. Since the specific editing capabilities and editing resource transfer methods between the three electronic devices are consistent with the above embodiments, they will not be described again here.
  • Figure 7 shows another set of GUI provided by the embodiment of the present application.
  • the display interface 201 of the first electronic device may display the album folder of the second electronic device.
  • the display interface 201 of the first electronic device may display an abbreviation of the camera folder 311.
  • Sketch data For the manner in which the first electronic device obtains the thumbnail data of the second electronic device, please refer to the detailed descriptions of other above-mentioned embodiments and will not be described again here.
  • a GUI provided by an embodiment of the present application includes a first electronic device and a second electronic device.
  • the first electronic device may include a display interface 201, and the display interface 201 may display a camera folder. Thumbnails of photos and videos saved in 311. Users can view thumbnails of photos and videos saved in camera folder 311 by sliding up the screen.
  • the first electronic device when the first electronic device detects that the user selects the thumbnail 331 on the display interface 201, the first electronic device may send request information to the second electronic device, where the request information is used to request the second electronic device.
  • the thumbnail image 331 of the device corresponds to the large image 332.
  • the second electronic device receives the request information from the first electronic device, the second electronic device may send the data of the large image 332 to the first electronic device.
  • the first electronic device The display interface 201 of the electronic device can display a large image 332.
  • the manner in which the first electronic device obtains the thumbnail data of the second electronic device please refer to the detailed descriptions of other above-mentioned embodiments and will not be described again here.
  • another GUI provided by an embodiment of the present application includes a first electronic device, a second electronic device, and a third electronic device.
  • the first electronic device may include a display interface 201.
  • the display interface 201 can display a large image 332 and an editing icon 203.
  • the first electronic device may send first request information and second request information to the second electronic device and the third electronic device respectively.
  • the first request The information and the second request information are respectively used to request capability information from the second electronic device and the third electronic device.
  • the editing capability of the electronic device can be achieved by running any one of the software packages or program library files, such as dynamic link library (Dynamic Link Library, dll) files, Android application package (Android application package, APK) etc., when the second electronic device and the third electronic device receive the first request information and the second request information respectively, the second electronic device and the third electronic device can respectively edit the first capability information and the second capability information correspondingly.
  • the software packages or program library files such as dynamic link library (Dynamic Link Library, dll) files, Android application package (Android application package, APK) etc.
  • At least one of the software packages or program library files of the capability is sent to the first electronic device, where the first capability information may include any one or more of the software packages or program library files of one or more functions, for example Specifically, the first capability information may include any one or more of the software packages or program library files of capability 401 and any one or more of the software packages or program library files of capability 402; the second capability information can also include It may include any one or more of the software packages or program library files of one or more functions. For example, the second capability information may include any one or more of the software packages or program library files of the capability 405. and any one or more of the software packages or library files with capability 406.
  • the first electronic device may save the editing capability software package and/or program.
  • Library files and their sources the first electronic device can also display each editing capability on the display interface 201.
  • the display interface 201 of the first electronic device can display the large image 332 and Function 401, Function 402, Function 403, Function 404, Function 405 and Function 406.
  • the display interface 201 of the first electronic device can display the large image 332 and Function 401, Function 402, Function 403, Function 404, Function 405 and Function 406.
  • the first electronic device when the first electronic device detects the user's first operation, the first electronic device may also send software with the editing capability of the first electronic device to at least one of the second electronic device and the third electronic device.
  • Packages and/or program library files the second electronic device and the third electronic device can also send each other software packages and/or program library files corresponding to their respective editing capabilities, which can expand the capability boundaries of the electronic devices.
  • the first operation please refer to the aforementioned related embodiments. Description will not be repeated here.
  • the first electronic device when the first electronic device detects the user's first operation, when the first electronic device, the second electronic device and the third electronic device are in front of the user selecting the edit icon 203 on the display interface 201 through the first operation, Software packages and/or program library files with editing capabilities have been sent to each other, and the first electronic device does not request the software packages and/or program library files from the second electronic device and the third electronic device. This can prevent the first electronic device from repeatedly requesting capability information from the second electronic device and the third electronic device, reduce information interaction between the electronic devices, and reduce the power consumption of the electronic device.
  • the first electronic device when the first electronic device receives the editing capability software package and/or program library file sent by the second electronic device and the third electronic device, when each electronic device has the same editing capability, the first electronic device
  • the editing capabilities of various electronic devices can be compared, and software packages and/or program library files with stronger editing capabilities can be stored to expand and improve the editing capabilities of the electronic devices.
  • the editing capabilities with stronger capabilities reference may be made to the relevant descriptions in the foregoing embodiments, which will not be described again here.
  • the first electronic device includes a display interface 201.
  • the display interface 201 displays a large image 332 and functions 401, 402, 403, and 404. , function 405 and function 406.
  • the first electronic device may use any one or more of functions 401, 402, 403, 404, 405 or 406 to process the large image 332.
  • the first electronic device detects the user
  • the second operation wherein the second operation may be for the user to select the operation of function 406, and the first electronic device may run the software package and/or program library file of function 406 to edit the large picture 332 to obtain the large picture 333.
  • function 401, function 402, function 403, function 404, function 405, function 406 and the second operation reference can be made to the descriptions in the foregoing related embodiments and will not be described again here.
  • the first electronic device when the first electronic device detects that the user selects the thumbnail 331 on the display interface 201, the first electronic device may request the second electronic device for the size corresponding to the thumbnail 331 of the second electronic device.
  • Figure 332 When the second electronic device receives the request information from the first electronic device, the second electronic device can send the data of large image 332 to the first electronic device. For example, as shown in (b) of FIG. 7 , the display interface 201 of the first electronic device may display a large image 332 .
  • the first electronic device When the first electronic device detects that the user selects the large image 332, the first electronic device can obtain the capability information of any one or more of the second electronic device or the third electronic device, for example, as shown in (c in Figure 7 ), the display interface 201 of the first electronic device can display a large image 332 and functions 401, 402, 403, 404, 405 and 406.
  • the first electronic device may use any one or more of functions 401, 402, 403, 404, 405 or 406 to process the large image 332.
  • the first electronic device when the first electronic device detects the user's In the second operation, in response to the user's second operation, the first electronic device can run the software package and/or program library file of function 406 to edit the large image 332 to obtain the large image 333 .
  • the first electronic device can run the software package and/or program library file of function 406 to edit the large image 332 to obtain the large image 333 .
  • FIG. 7 shows a GUI provided by an embodiment of the present application, including a first electronic device and a second electronic device.
  • the first electronic device edits the large image 332 based on the function 406, the large image is obtained.
  • the first electronic device can prompt the user for the large image 333.
  • the first electronic device can display the large image 333 on the display interface 201.
  • the first electronic device can also send the large image 333 to the second electronic device.
  • the second electronic device when the second electronic device receives the large image 333, the second electronic device can also prompt the user with the large image 333 (for example, display the large image 333 on the display interface of the second electronic device).
  • the display interface 201 may also include an icon 204.
  • the first electronic device edits the large image 332 based on the function 406 and obtains the edited large image 333
  • the user can also save the large image 333 by selecting the icon 204.
  • the first electronic device detects that the user selects the icon 204
  • the first electronic device can save the large image 333, and the first electronic device can also replace the pre-editing large image 332 corresponding to the large image 333 with the large image 333.
  • the second electronic device when the second electronic device receives the large image 333, the second electronic device can save the large image 333, and the second electronic device The electronic device can also replace the pre-edited large image 332 corresponding to the large image 333 with the large image 333; when the third electronic device receives the large image 333, the third electronic device can save the large image 333, and the third electronic device can also use the large image 333.
  • Picture 333 replaces the large picture 332 before editing corresponding to the large picture 333.
  • the user in any one or more of the first electronic device, the second electronic device, or the third electronic device, can edit based on the editing capabilities of the first electronic device, the editing capabilities of the second electronic device, or the third electronic device. Any one or more of the editing capabilities of the device can continuously edit the large image 333.
  • the editing capabilities of the device can continuously edit the large image 333.
  • the second electronic device and the third electronic device can send at least one of a software package or a program library file with editing capabilities to the first electronic device
  • the first electronic device can run the software with editing capabilities.
  • the package and/or program library file obtains the editing capabilities of the second electronic device and the third electronic device.
  • the editing capabilities and editing resources can be transferred between the first electronic device, the second electronic device, and the third electronic device.
  • the user can directly
  • the first electronic device uses the capability of the third electronic device to edit the image of the second electronic device without sending the image to the third electronic device for editing, which expands the capability boundary of the electronic device and saves the cost of image sending and
  • the user does not need to operate the first electronic device, the second electronic device, and the third electronic device at the same time, which simplifies the user's operation steps, improves the user's operation efficiency, and enhances the user's experience.
  • any one of the first electronic device, the second electronic device, or the third electronic device can use the editing capabilities of any one or more of the three to edit any one of the three. or multiple images. Since the specific editing capabilities and editing resource transfer methods between the three electronic devices are consistent with the above embodiments, they will not be described again here.
  • Figure 8 shows another set of GUI provided by the embodiment of the present application.
  • the first electronic device edits the large image 313 based on the function 403
  • the edited large image 314 can be obtained, and the first electronic device can send the large image 314 to the second electronic device.
  • the thumbnail corresponding to the large image 314 is the thumbnail 315.
  • Figure 8 (a) shows a GUI of a third electronic device provided by an embodiment of the present application, including a third electronic device.
  • the third electronic device may include a display interface 411, and the display interface 411 may display a gallery application icon. 202.
  • the third electronic device detects that the user selects the gallery application icon 202 on the display interface 411, for example, as shown in (b) of Figure 8, the third electronic device can open the gallery application.
  • the third electronic device includes a display interface 411.
  • the display interface 411 includes other device icons 220, folders 310 and files.
  • Folder 510 where folder 310 is the photo album folder of Huawei tablet M11, which is the second electronic device; folder 510 is the photo album folder of Huawei mobile phone P40, which is the first electronic device.
  • the third electronic device may send request information to the second electronic device, where the request information is used to request album folder data of the second electronic device.
  • the second electronic device may send the album folder data to the third electronic device.
  • the display interface 411 of the device may display the thumbnail data of the camera folder 311.
  • another GUI provided by an embodiment of the present application includes a third electronic device.
  • the third electronic device may include a display interface 411, and the display interface 411 may display a thumbnail corresponding to the large image 314. 315, when the third electron
  • the device detects that the user selects the thumbnail 315 on the display interface 411, and the third electronic device can send request information to the second electronic device, where the request information is used to request the large image 314 corresponding to the thumbnail 315 of the second electronic device.
  • the second electronic device when the second electronic device receives the request information from the third electronic device, the second electronic device can send the data of the large image 314 to the third electronic device, for example, as shown in Figure 8 As shown in (d), the display interface 411 of the third electronic device may display the large image 314 corresponding to the thumbnail image 315.
  • another GUI provided by an embodiment of the present application includes a first electronic device, a second electronic device, and a third electronic device.
  • the third electronic device may include a display interface 411.
  • the display interface 411 may display the large image 314 and the editing icon 203.
  • the sixth operation may be for the user to select the editing icon 203 on the display interface 411.
  • the third electronic device may send fifth request information and sixth request information to the first electronic device and the second electronic device respectively, and the fifth request information and sixth request information are used to send the fifth request information and the sixth request information to the first electronic device and the second electronic device respectively.
  • Request to edit capability information is provided by an embodiment of Figure 8 .
  • the first electronic device and the second electronic device may respectively send the third capability information and the first capability to the third electronic device.
  • the first capability information may include one or more functions, for example, the first capability information may include capabilities 401 and 402; the third capability information may also include one or more functions, for example, the second capability
  • the information may include capabilities 403 and capabilities 404.
  • the user can also define an editing template, and the capability information can also include a user-defined editing template.
  • the editing template can be any one or a combination of functions 401, 402, 403, 404, 405, and 406.
  • editing template A may be a combination of function 401 and function 405, and editing template A comes from the second electronic device; editing template B may be a combination of function 403 and function 404, and editing template B comes from the first electronic device.
  • the third electronic device receives the third capability information and the first capability information respectively sent by the first electronic device and the second electronic device, the third electronic device can integrate the editing capability information of each electronic device, and the third electronic device can store each Editing capability information and its source.
  • the third electronic device can also display each editing capability on the display interface 411. For example, as shown in (e) of Figure 8, the display interface 411 of the third electronic device can display a large image 314.
  • the editing template C may be a combination of the function 404 and the function 406, and the editing template C comes from the third electronic device. Since the user can use the editing templates of the first electronic device and the second electronic device on the third electronic device, the user is saved the time of defining templates, and the user can edit resources such as images, videos, or documents through the editing template, by using Editing templates allows users to edit images, videos, or documents more conveniently and quickly, improving the user experience.
  • function 401, function 402, function 403, function 404, function 405 and function 406 can refer to the description in the foregoing related embodiments, and will not be described again here.
  • the third electronic device when the third electronic device detects the user's sixth operation, the third electronic device may also send the editing capability of the third electronic device to any one or more of the first electronic device and the second electronic device. information, the first electronic device and the second electronic device may also send capability information to each other.
  • the capability boundaries of electronic devices can be expanded.
  • the third electronic device detects the user's sixth operation, when the first electronic device, the second electronic device and the third electronic device have sent edits to each other before the third electronic device detects the user's sixth operation. Capability information, the third electronic device does not request editing capabilities from the first electronic device and the second electronic device. This can prevent the third electronic device from repeatedly requesting capability information from the first electronic device and the second electronic device, reduce information interaction between the electronic devices, and reduce the power consumption of the electronic device.
  • the third electronic device when the third electronic device receives the editing capability information sent by the first electronic device and the second electronic device, when each electronic device has the same editing capability, the third electronic device can compare the editing capabilities of each electronic device. Editing capabilities, storing information with stronger editing capabilities, can expand and improve the editing capabilities of electronic devices. in, For a description of the editing capabilities with stronger capabilities, please refer to the relevant descriptions in the foregoing embodiments, and will not be described again here.
  • the third electronic device may include a display interface 411 that may display a large image 314, functions 401, 402, 403, 404, 405, and 406 as well as edit template A, edit template B, and edit template C.
  • the third electronic device can use any one or more functions of function 401, function 402, function 403, function 404, function 405, function 406, edit template A, edit template B, or edit template C to process the large image 314, Exemplarily, when the third electronic device detects the user's seventh operation, where the seventh operation may select the capability 406 for the user, in response to the user's seventh operation, the third electronic device may perform operations on the large image 314 based on the function 406.
  • Edit get big picture 316.
  • the function 401, the function 402, the function 405, the function 406, the function 403, the function 404, the editing template A, the editing template B, the editing template C and the second operation can refer to the descriptions in the aforementioned related embodiments and will not be described again here. .
  • the second electronic device when the second electronic device receives the request information from the third electronic device, the second electronic device can send the data of the large image 314 to the third electronic device, for example, as shown in Figure 8 As shown in (d), the display interface 411 of the third electronic device may display the large image 314 corresponding to the thumbnail image 315.
  • the third electronic device can obtain capability information of any one or more of the second electronic device or the first electronic device, for example, as shown in (e in Figure 8 ), the display interface 411 of the third electronic device can display the large image 314 corresponding to the thumbnail 315, the function 401, the function 402, the function 403, the function 404, the function 405 and the function 406 as well as the editing template A, the editing template B and the editing Template C.
  • the third electronic device can use any one or more functions of function 401, function 402, function 403, function 404, function 405, function 406, edit template A, edit template B, or edit template C to process the large image 314, For example, when the third electronic device detects the user's seventh operation, in response to the user's seventh operation, the third electronic device may edit the large image 314 based on the function 406 to obtain the large image 316.
  • function 401 function 402, function 403, function 404, function 405, function 406, edit template A, edit template B, or edit template C
  • the third electronic device may edit the large image 314 based on the function 406 to obtain the large image 316.
  • another GUI provided by the embodiment of the present application includes a third electronic device and a second electronic device.
  • the third electronic device edits the large image 314 based on the function 406, the large image 314 is obtained.
  • the third electronic device can prompt the user for the large image 316.
  • the third electronic device can display the large image 316 on the display interface 411.
  • the third electronic device may also send the large image 316 to the first electronic device and the second electronic device.
  • the second electronic device when the second electronic device receives the large image 316, the second electronic device can also prompt the user with the large image 316 (for example, display the large image 316 on the display interface of the second electronic device).
  • the display interface 411 may also include an icon 204.
  • the third electronic device edits the large image 314 based on the function 406 to obtain the large image 316
  • the user can also save the large image 316 by selecting the icon 204.
  • the third electronic device detects that the user selects the icon 204
  • the third electronic device can save the large image 316
  • the third electronic device can also replace the pre-editing large image 314 corresponding to the large image 316 with the large image 316.
  • the third electronic device when the third electronic device sends the large image 316 to the second electronic device, when the second electronic device receives the large image 316, the second electronic device can save the large image 316, and the second electronic device can also use the large image.
  • 316 replaces the pre-edited large image 314 corresponding to the large image 316; when the third electronic device sends the large image 316 to the first electronic device, when the first electronic device receives the large image 316, the first electronic device can save the large image 316, The first electronic device may also replace the pre-edited large image 314 corresponding to the large image 316 with the large image 316 .
  • the user in any one or more of the first electronic device, the second electronic device, or the third electronic device, can edit based on the editing capabilities of the first electronic device, the editing capabilities of the second electronic device, or the third electronic device. Any one or more of the editing capabilities of the device can continuously edit the large image 316.
  • the editing capabilities of the device can continuously edit the large image 316.
  • the first electronic device edits the large image 313 based on the function 403, and obtains the edited large image 314.
  • the third electronic device continues to edit the large image 314 edited by the first electronic device, and obtains the edited large image 314.
  • the big picture of 316 Since the user edits the image on the first electronic device, he can continue to edit the edited image on the third electronic device, which improves the user's flexibility in editing images and improves the user's experience.
  • any one or more of the devices can use the editing capabilities of any one or more of the three electronic devices to edit the image resource, or to continuously edit the image resource. Since the images are edited between the three electronic devices, The editing method, or the method of continuously editing images, is consistent with the above embodiment, and will not be described again here.
  • the above editing resources can also be videos, documents and other resources.
  • the above editing capabilities can also be video editing capabilities (such as video splicing, video cropping, video acceleration, video deceleration and other functions), document editing Capabilities (such as document translation, document error correction, document font change, etc.), etc., are not specifically limited in the embodiments of this application.
  • Figure 9 shows a schematic structural diagram of another electronic device provided by an embodiment of the present application.
  • the electronic device may include an application layer, a database, a capability center and an internal module.
  • the application layer may include a gallery application, a camera application, a document application, etc.
  • the database may store data of the electronic device, and may include the Data of devices and other electronic devices, such as images, videos, audios, documents, etc.
  • the capability center can store capability information of electronic devices, which can include capability information of this device and other electronic devices, such as image editing capabilities, video editing capabilities, Audio editing capabilities, document editing capabilities, etc.
  • internal modules can include network connection modules, event processing modules and GUI modules.
  • This device can establish communication connections with other electronic devices through the network connection module; the event processing module can be used to generate corresponding events, and the event processing module of this device can send events generated by this device to other electronic devices through the network connection module.
  • the event processing module of the device can also receive the event processing results of other electronic devices through the network connection module; the event processing module of the device can receive events generated by other electronic devices through the network connection module, and the event processing module of the device can also receive events generated by other electronic devices through the network.
  • the connection module sends the event processing results of this device to other electronic devices; the GUI module can be used to display the event processing results of this device, and the GUI module can also be used to display the event processing results of other electronic devices.
  • the device and other electronic devices can establish communication connections.
  • the event processing module can generate corresponding events.
  • the event processing module of this device can send the generated events to the event processing modules of other electronic devices through the network connection module.
  • the events of other electronic devices The processing module can receive events through the network connection module and process the events.
  • the event processing module of this device can receive event processing results from the event processing modules of other electronic devices through the network connection module.
  • the event processing module of the device can receive events generated by other electronic devices through the network connection module.
  • the event can be a request from other electronic devices to transmit data (such as image data, video data, document data, etc.) to the device.
  • the event processing module of this device can call the database to store data received from other electronic devices; this event can also be a request from other electronic devices to obtain data stored in the database of this device.
  • the event processing module of this device The module can call the data stored in the database and send it to other electronic devices.
  • the event processing module of this device can receive events generated by other electronic devices through the network connection module.
  • the event can be that other electronic devices request this device to call the capabilities of this device to process the event.
  • the event processing module of the device can call the corresponding capability interface in the capability center to process the event.
  • the event processing module of this device can send an event generated by this device to other electronic devices through the network connection module.
  • the event can be a request by this device to transmit data to other electronic devices.
  • the event processing module of this device can Call the data stored in the database and send it to other electronic devices; this event can also be a request by the device to obtain data stored in the database of other electronic devices.
  • the event processing module of the device can send a request to obtain data to other electronic devices.
  • Figure 10 shows a schematic flow chart of a method 1000 for sharing editing capabilities provided by an embodiment of the present application. As shown in Figure 10, the method 1000 includes but is not limited to steps S101 to S104. The method flow of method 1000 is introduced in detail below. :
  • a wired connection may be established between the first electronic device, the second electronic device and the third electronic device, and the wired connection may be a universal serial bus (universalserial bus, USB) connection.
  • USB universal serial bus
  • a wireless connection such as a WLAN connection or a Bluetooth connection
  • the first electronic device, the second electronic device and the third electronic device may include a WLAN module.
  • the first electronic device, the second electronic device and the third electronic device may scan other electronic devices that turn on the WLAN function through the WLAN module.
  • the WLAN module scans other electronic devices, and the device can establish communication connections with other electronic devices; the device can also scan other electronic devices that turn on the Bluetooth function through the Bluetooth module.
  • the device scans other electronic devices, the device can communicate with other electronic devices.
  • the device establishes a communication connection.
  • communication connections can also be established between the first electronic device, the second electronic device and the third electronic device through the Internet; the first electronic device, the second electronic device and the third electronic device can also be connected to the server, Communicate through the server.
  • a communication connection can also be established between the first electronic device, the second electronic device and the third electronic device by scanning a QR code.
  • This device can establish communication connections with other electronic devices by scanning the QR codes of other electronic devices.
  • first electronic device, the second electronic device and the third electronic device can also establish communication connections by combining any of the above methods.
  • the embodiments of this application apply to the first electronic device, the second electronic device and the third electronic device. There are no specific restrictions on the method of establishing communication connections between them.
  • any one of the first electronic device, the second electronic device and the third electronic device can obtain other
  • the device login information of an electronic device can be determined based on the device login information of other electronic devices whether it belongs to the same account or the same family group as the other electronic devices.
  • any one of the first electronic device, the second electronic device and the third electronic device can also call the lightweight computing platform interface to generate a QR code, and the electronic device can scan the QR code generated by other electronic devices. QR code authenticates other electronic devices.
  • the first electronic device when the first electronic device authenticates the second electronic device, the first electronic device can obtain the media access control (MAC) of the second electronic device by scanning the QR code generated by the second electronic device. ) address, Internet protocol (IP) address, public key and other information, the first electronic device can use the public key information of the second electronic device to encrypt the public key of the first electronic device and send it to the second electronic device equipment.
  • the second electronic device may use the public key of the second electronic device to decrypt the encrypted public key of the first electronic device, thereby obtaining the public key of the first electronic device.
  • the first electronic device acquires the first content.
  • the first electronic device detects the user's first operation, the first electronic device The device sends first request information and second request information to the second electronic device and the third electronic device respectively, and the first request information and the second request information are respectively used to request capability information from the second electronic device and the third electronic device.
  • the first content obtained by the first electronic device may come from this device.
  • the first content may be a large image 232.
  • the first electronic device may obtain the image stored in the first electronic device.
  • the thumbnail image 231 corresponds to the large image 232.
  • the first content obtained by the first electronic device may also come from other electronic devices, such as any one or more of the second electronic device or the third electronic device.
  • the first content may be a large image 313.
  • the first electronic device may obtain the image stored by the second electronic device.
  • the thumbnail image 312 corresponds to the large image 313.
  • the first electronic device when the first electronic device detects the user's first operation, the first electronic device may send first request information and second request information to the second electronic device and the third electronic device respectively.
  • the first request The information and the second request information are respectively used to request capability information from the second electronic device and the third electronic device.
  • the first operation may be an operation for the user to select the edit icon 203 on the display interface 201 .
  • the first electronic device may respectively send a message to the second user.
  • the electronic device and the third electronic device send first request information and second request information, the first request information and the second request information are respectively used to request capability information from the second electronic device and the third electronic device, in response to the first request information and the second request information.
  • the second electronic device may send the first capability information to the first electronic device; in response to the second request message, the third electronic device may send the second capability information to the first electronic device.
  • the first electronic device may generate first request information and second request information through the event processing module, and the first request information and the second request information are respectively used to request capability information from the second electronic device and the third electronic device. ;
  • the first electronic device can send the first request information and the second request information to the event processing modules of the second electronic device and the third electronic device respectively through the network connection module.
  • the second electronic device In response to the first request information, the second electronic device The event processing module can call the interface of the corresponding capability in the capability center to obtain the information of the corresponding capability, and the event processing module of the second electronic device can send the capability information to the first electronic device through the network connection module; in response to the second request information, the The event processing module of the third electronic device can call the interface of the corresponding capability in the capability center to obtain the information of the corresponding capability, and the event processing module of the third electronic device can send the capability information to the first electronic device through the network connection module.
  • the event processing module of the first electronic device receives the capability information of other electronic devices, the first electronic device can display the capability information through the GUI module.
  • the first operation may be an operation for the user to select the editing icon 203 on the display interface 201 .
  • the first electronic device may request Capability information
  • the second electronic device and the third electronic device may send the capability information to the first electronic device.
  • the first electronic device may generate first request information and second request information through the event processing module, and the first request information and the second request information are respectively used to request capability information from the second electronic device and the third electronic device.
  • the first electronic device can send the first request information and the second request information to the event processing modules of the second electronic device and the third electronic device respectively through the network connection module.
  • the second electronic device In response to the first request information, the second electronic device The event processing module can obtain any one or more of the software packages or program library files of the corresponding capabilities by calling the interface of the corresponding capabilities in the capability center, and the second electronic device can obtain the acquired software packages or program library files of the capabilities through the event processing module. Any one or more of the program library files are sent to the first electronic device; in response to the second request information, the event processing module of the third electronic device can obtain the software package of the corresponding capability by calling the interface of the corresponding capability in the capability center or any one or more of the program library files. The third electronic device can send any one or more of the obtained capability software packages or program library files to the first electronic device through the event processing module. When the event processing module of the first electronic device receives any one or more of the software packages or program library files of the capabilities of other electronic devices, the first electronic device can display the capability information through the GUI module.
  • the first electronic device processes the first content and presents the processing result.
  • the first electronic device when the first electronic device detects the user's second operation, the first electronic device can process the first content based on the capabilities of the device, and the first electronic device can also send a request to the second electronic device or a third party. At least one of the electronic devices sends the first content and third request information, and the third request information is used to request either the second electronic device or the third electronic device to process the first content.
  • the first content is a large picture 322
  • the large picture 322 comes from the second electronic device.
  • the second operation may be for the user to select the operation of function 406 on the display interface 201, where the function 406 comes from the third electronic device.
  • the second operation may be performed by the user.
  • An electronic device may send data of the large image 322 and third request information to a third electronic device.
  • the third request information is used to request the third electronic device to edit the large image 322 based on the function 406.
  • the third electronic device edits the large image 322 based on the function 406 to obtain the edited large image 323.
  • the third electronic device can send the large image 323 to the first electronic device and the second electronic device.
  • the first electronic device when the first electronic device receives the processing result of the first content, the first electronic device can display the processing result of the first content through the GUI module.
  • the user can use the editing capabilities of any one or more of the second electronic device or the third electronic device on the first electronic device to edit the first electronic device, the second electronic device, or the third electronic device.
  • the user can also use the editing capability of the first electronic device to edit any one of the first electronic device, the second electronic device or the third electronic device. or multiple data can be edited, which expands the capability boundary of the electronic device.
  • the user does not need to operate the first electronic device, the second electronic device and the third electronic device at the same time, which simplifies the user's operating steps and improves the user's operating efficiency. Improved user experience.
  • An embodiment of the present application provides an electronic device.
  • the electronic device includes: one or more processors, and one or more memories.
  • the one or more memories store one or more computer programs, and the one or more computer programs include instructions.
  • the instruction is executed by the one or more processors, the first electronic device, the second electronic device, or the third electronic device is caused to execute the technical solutions in the above embodiments.
  • Embodiments of the present application provide a system, including a first electronic device, a second electronic device, and a third electronic device, and the system is used to execute the technical solutions in the above embodiments.
  • the implementation principles and technical effects are similar to the above-mentioned method-related embodiments, and will not be described again here.
  • Embodiments of the present application provide a computer program product that, when the computer program product is run on a first electronic device (or a mobile phone in the above embodiment), causes the first electronic device to execute the technical solution in the above embodiment.
  • the implementation principles and technical effects are similar to the above-mentioned method-related embodiments, and will not be described again here.
  • Embodiments of the present application provide a computer program product that, when the computer program product is run on a second electronic device (or a tablet in the above embodiment), causes the second electronic device to execute the technical solution in the above embodiment.
  • the implementation principles and technical effects are similar to the above-mentioned method-related embodiments, and will not be described again here.
  • Embodiments of the present application provide a computer program product that, when the computer program product is run on a third electronic device (or a smart screen in the above embodiment), causes the third electronic device to execute the technical solution in the above embodiment.
  • the implementation principles and technical effects are similar to the above-mentioned method-related embodiments, and will not be described again here.
  • Embodiments of the present application provide a readable storage medium.
  • the readable storage medium contains instructions.
  • the instructions When the instructions are run on a first electronic device (or a mobile phone in the above embodiment), the first electronic device causes the first electronic device to Implement the technical solutions of the above embodiments. The implementation principles and technical effects are similar and will not be described again here.
  • Embodiments of the present application provide a readable storage medium.
  • the readable storage medium contains instructions.
  • the instructions When the instructions are run on a second electronic device (or, in the above embodiment, a tablet), the second electronic device causes the second electronic device to Implement the technical solutions of the above embodiments. The implementation principles and technical effects are similar and will not be described again here.
  • Embodiments of the present application provide a readable storage medium.
  • the readable storage medium contains instructions.
  • the instructions When the instructions are run on a third electronic device (or, the smart screen in the above embodiment), the third electronic device causes the third electronic device to The device implements the technical solutions of the above embodiments. The implementation principles and technical effects are similar and will not be described again here.
  • Embodiments of the present application provide a chip.
  • the chip is used to execute instructions.
  • the technical solutions in the above embodiments are executed.
  • the implementation principles and technical effects are similar and will not be described again here.

Abstract

提供了一种能力调用方法、系统及电子设备,系统包括:第一电子设备、第二电子设备和第三电子设备之间建立连接(101);第一电子设备在检测到用户的第一操作时,向第二电子设备和第三电子设备分别发送第一请求信息和第二请求信息,第一请求信息用于向第二电子设备请求第一能力信息,第二请求信息用于向第三电子设备请求第二能力信息;第二电子设备根据第一请求信息,向第一电子设备发送第一能力信息,第一能力信息中包括一个或多个功能,一个或多个功能中包括第一功能;第三电子设备根据第二请求信息,向第一电子设备发送第二能力信息,第二能力信息中包括一个或多个功能,一个或多个功能中包括第二功能;第一电子设备在检测到用户的第二操作时,使用第二功能对第一内容进行处理,得到第一处理结果;第一电子设备向用户提示第一处理结果。

Description

一种能力调用方法、系统及电子设备
本申请要求在2022年3月30日提交中国国家知识产权局、申请号为202210333857.X的中国专利申请的优先权,发明名称为“一种能力调用方法、系统及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及电子技术领域,尤其涉及一种能力调用方法、系统及电子设备。
背景技术
随着万物互联的推广及各类设备的智能化,越来越多的设备都配备了摄像头及相机软件,支持拍摄照片或视频,因此用户的图片、视频等资源不再局限存储于PC、手机、平板等少量设备上。随着AI技术的发展,图片、视频等资源的编辑能力得到极大增强,图片、视频等资源的编辑行为成为用户在拍摄图片,视频后进行二次创作的常见行为。
当前图片、视频等资源的编辑能力依赖于多方面因素,包括:较强的CPU、NPU运算能力;支持最新编辑能力的软件;良好的用户交互方式等等。因此部分运算能力差或者软件版本低的老设备或者低端设备无法给用户提供最新的编辑能力,用户需要将待编辑的图片、视频等资源从不支持编辑能力的设备转发至支持编辑的设备进行编辑。由于用户需要同时操作多台设备将待编辑的图片、视频等资源进行多次转发,操作繁琐,会给用户的操作带来不便。
发明内容
本申请提供一种能力调用方法、系统及电子设备,基于多个电子设备的能力集合,用户可以在多个电子设备中的任意一个电子设备上使用能力集合中的任意一个或多个能力,扩展了电子设备的能力边界,提升了用户的体验。
第一方面,本申请提供一种系统,该系统包括第一电子设备、第二电子设备和第三电子设备,其中,第一电子设备,用于与第二电子设备和第三电子设备建立网络连接,网络连接用于传输数据;第一电子设备,用于在检测到用户的第一操作时,向第二电子设备和第三电子设备分别发送第一请求信息和第二请求信息,第一请求信息用于向第二电子设备请求第一能力信息,第二请求信息用于向第三电子设备请求第二能力信息;第二电子设备,用于根据第一请求信息,向第一电子设备发送第一能力信息,第一能力信息中包括一个或多个功能,所述一个或多个功能中包括第一功能;第三电子设备,用于根据第二请求信息,向第一电子设备发送第二能力信息,第二能力信息中包括一个或多个功能,所述一个或多个功能中包括第二功能;第一电子设备,还用于在检测到用户的第二操作时,使用第二功能对第一内容进行处理,得到第一处理结果;第一电子设备,还用于向用户提示第一处理结果。由于用户可以在第一电子设备使用其他电子设备的能力,扩展了电子设备的能力边界,提升了用户的体验。
结合第一方面,本申请实施例中,上述第一电子设备,还用于在检测到用户的第二操作时,使用第二功能对第一内容进行处理,得到第一处理结果,具体包括:第一电子设备,还用于在检测到用户的第二操作时,向第三电子设备发送第一内容和第三请求信息,第三请求信息用于请求第三电子设备使用第二功能对第一内容进行处理;第三电子设备,还用于根据第三请求信息,使用第二功能对第一内容进行处理,得到第一处理结果,并向第一电子设备发送第一处理结果。上述第一电子设备,还用于向用户提示第一处理结果,具体包括:第一 电子设备,还用于接收第一处理结果,并向用户提示第一处理结果。由于用户可以在第一电子设备使用其他电子设备的能力,扩展了电子设备的能力边界,用户无需同时操作第一电子设备和第三电子设备,简化了用户的操作步骤,提高了用户的操作效率,提升了用户的体验。
结合第一方面,本申请实施例中,上述第二电子设备,用于向第一电子设备发送第一能力信息,第一能力信息中包括一个或多个功能,一个或多个功能中包括第一功能,具体包括:第二电子设备,用于向第一电子设备发送所述第一能力信息,所述第一能力信息中包括一个或多个功能的软件包或程序库文件中的任意一种或多种,所述一个或多个功能的软件包或程序库文件中包括所述第一功能的软件包或程序库文件中的任意一种或多种。上述第三电子设备,用于向第一电子设备发送第二能力信息,第二能力信息中包括一个或多个功能,一个或多个功能中包括第二功能,具体包括:第三电子设备,用于向第一电子设备发送第二能力信息,第二能力信息中包括一个或多个功能的软件包或程序库文件中的任意一种或多种,一个或多个功能的软件包或程序库文件中包括第二功能的软件包或程序库文件中的任意一种或多种。上述第一电子设备,还用于在检测到用户的第二操作时,使用第二功能对第一内容进行处理,得到第一处理结果,具体包括:第一电子设备,还用于在检测到用户的第二操作时,运行第二功能的软件包或程序库文件中的任意一种或多种对第一内容进行处理,得到第一处理结果。由于用户可以直接在第一电子设备使用第二电子设备和第三电子设备的能力,扩展了电子设备的能力边界,且用户无需将第一内容发送给第三电子设备,节省了第一内容发送和回传的时间。
结合第一方面,本申请实施例中,第一电子设备,还用于接收第一处理结果后,在检测到用户的第三操作时,使用第三功能对第一处理结果进行处理,得到第二处理结果,第三功能来自于所述第一电子设备;第一电子设备,还用于使用第三功能对第一处理结果进行处理后,向第二电子设备或第三电子设备中的任意一个或多个发送第二处理结果;第一电子设备,还用于向用户提示第二处理结果。由于第一电子设备可以用第一电子设备的能力接续处理第一处理结果,提高了用户处理第一内容的灵活性,提升了用户的体验。
结合第一方面,本申请实施例中,上述第一内容来自于所述第一电子设备、所述第二电子设备或所述第三电子设备中的任意一个。
结合第一方面,本申请实施例中,第一电子设备,还用于在检测到用户的第四操作时,使用第一功能对第二内容进行处理,得到第三处理结果;第一电子设备,还用于向用户提示第三处理结果。由于第一电子设备可以用第二电子设备的能力对第二内容进行处理,扩展了电子设备的能力边界,提升了用户的体验。
在一些实施例中,上述第一电子设备,还用于在检测到用户的第四操作时,使用第一功能对二内容进行处理,得到第三处理结果,具体包括:第一电子设备,还用于在检测到用户的第四操作时,向第二电子设备发送第二内容和第四请求信息,第四请求信息用于请求第二电子设备使用第一功能对第二内容进行处理;第二电子设备,还用于根据第四请求信息,使用第一功能对第二内容进行处理,得到第三处理结果,并向第一电子设备发送第三处理结果;上述第一电子设备,还用于向用户提示第三处理结果,具体包括:第一电子设备,还用于接收第三处理结果,并向用户提示第三处理结果。由于第一电子设备可以用第二电子设备的能力对第二内容进行处理,扩展了电子设备的能力边界,用户无需同时操作第一电子设备和第二电子设备,简化了用户的操作步骤,提高了用户的操作效率,提升了用户的体验。
在一些实施例中,上述第二电子设备,用于向第一电子设备发送第一能力信息,第一能力信息中包括一个或多个功能,一个或多个功能中包括第一功能,具体包括:第二电子设备, 用于向第一电子设备发送第一能力信息,第一能力信息中包括一个或多个功能的软件包或程序库文件中的任意一种或多种,一个或多个功能的软件包或程序库文件中包括第一功能的软件包或程序库文件中的任意一种或多种;第一电子设备,还用于在检测到用户的第四操作时,使用第一功能对第二内容进行处理,得到第三处理结果,包括:第一电子设备,还用于在检测到用户的第四操作时,运行第一功能的软件包或程序库文件中的任意一种或多种对第二内容进行处理,得到第三处理结果。由于用户可以直接在第一电子设备使用第二电子设备的能力,扩展了电子设备的能力边界,且用户无需将第二内容发送给第二电子设备,节省了第二内容发送和回传的时间。
结合第一方面,本申请实施例中,第一电子设备,还用于在检测到用户的第五操作时,使用第三功能对第二内容进行处理,得到第四处理结果,第三功能来自于第一电子设备;第一电子设备,还用于使用第三功能对第二内容进行处理后,向第二电子设备或第三电子设备中的任意一个或多个发送对第四处理结果;第一电子设备,还用于向用户提示第四处理结果。
结合第一方面,本申请实施例中,上述第二内容来自于所述第一电子设备、所述第二电子设备或所述第三电子设备中的任意一个。
结合第一方面,本申请实施例中,上述第一电子设备,用于在检测到用户的所述第一操作时,向第二电子设备和第三电子设备分别发送第一请求信息和第二请求信息,具体包括:第一电子设备,用于在检测到用户选择第一控件或第一内容中的任意一项的操作时,向第二电子设备和第三电子设备分别发送第一请求信息和第二请求信息;上述第一电子设备,还用于在检测到用户的第二操作时,使用第二功能对第一内容进行处理,得到第一处理结果,具体包括:第一电子设备,还用于在检测到用户选择第二功能的操作时,使用第二功能对第一内容进行处理,得到第一处理结果。
第二方面,本申请提供一种能力调用方法,该方法应用于第一电子设备,该方法具体包括:第一电子设备与第二电子设备和第三电子设备建立网络连接,网络连接用于传输数据;第一电子设备在检测到用户的第一操作时,向第二电子设备和第三电子设备分别发送第一请求信息和第二请求信息,第一请求其信息用于向第二电子设备请求第一能力信息,第二请求信息用于向第三电子设备请求第二能力信息;第一电子设备接收第二电子设备发送的第一能力信息,第一能力信息中包括一个或多个功能,一个或多个功能中包括第一功能;第一电子设备接收第三电子设备发送的第二能力信息,第二能力信息中包括一个或多个功能,一个或多个功能中包括第二功能;第一电子设备在检测到用户的第二操作时,使用第二功能对第一内容进行处理,得到第一处理结果;第一电子设备向用户提示第一处理结果。由于用户可以在第一电子设备使用其他电子设备的能力,扩展了电子设备的能力边界,提升了用户的体验。
结合第二方面,本申请实施例中,上述第一电子设备在检测到用户的第二操作时,使用第二功能对第一内容进行处理,得到第一处理结果,具体包括:第一电子设备在检测到用户的第二操作时,向第三电子设备发送第一内容和第三请求信息,第三请求信息用于请求第三电子设备使用第二功能对第一内容进行处理;上述第一电子设备向用户提示第一处理结果,具体包括:第一电子设备接收第三电子设备使用第二功能对第一内容的处理后得到的第一处理结果,并向用户提示第一处理结果。由于用户可以在第一电子设备使用其他电子设备的能力,扩展了电子设备的能力边界,用户无需同时操作第一电子设备和第三电子设备,简化了用户的操作步骤,提高了用户的操作效率,提升了用户的体验。
结合第二方面,本申请实施例中,上述第一电子设备接收第二电子设备发送的第一能力信息,第一能力信息中包括一个或多个功能,一个或多个功能中包括第一功能,具体包括: 第一电子设备接收第二电子设备发送的第一能力信息,第一能力信息中包括一个或多个功能的软件包或程序库文件中的任意一种或多种,一个或多个功能的软件包或程序库文件中包括第一功能的软件包或程序库文件中的任意一种或多种;上述第一电子设备接收第三电子设备发送的第二能力信息,第二能力信息中包括一个或多个功能,一个或多个功能中包括第二功能,具体包括:第一电子设备接收第三电子设备发送的第二能力信息,第二能力信息中包括一个或多个功能的软件包或程序库文件中的任意一种或多种,一个或多个功能的软件包或程序库文件中包括第二功能的软件包或程序库文件中的任意一种或多种;上述第一电子设备在检测到用户的第二操作时,使用第二功能对第一内容进行处理,得到第一处理结果,包括:第一电子设备在检测到用户的第二操作时,运行第二功能的软件包或程序库文件中的任意一种或多种对第一内容进行处理,得到第一处理结果。由于用户可以直接在第一电子设备使用第二电子设备和第三电子设备的能力,扩展了电子设备的能力边界,且用户无需将第一内容发送给第三电子设备,节省了第一内容发送和回传的时间。
结合第二方面,本申请实施例中,第一电子设备接收第一处理结果后,在检测到用户的第三操作时,使用第三功能对第一处理结果进行处理,得到第二处理结果,第三功能来自于第一电子设备;第一电子设备使用第三功能对第一处理结果进行处理后,向第二电子设备或第三电子设备中的任意一个或多个发送第二处理结果;第一电子设备,还用于向用户提示第二处理结果。由于第一电子设备可以用第一电子设备的能力接续处理第一处理结果,提高了用户处理第一内容的灵活性,提升了用户的体验。
结合第二方面,本申请实施例中,上述第一内容来自于第一电子设备、第二电子设备或第三电子设备中的任意一个。
结合第二方面,本申请实施例中,第一电子设备在检测到用户的第四操作时,使用第一功能对第二内容进行处理,得到第三处理结果;第一电子设备向用户提示第三处理结果。由于第一电子设备可以用第二电子设备的能力对第二内容进行处理,扩展了电子设备的能力边界,提升了用户的体验。
在一些实施例中,上述第一电子设备在检测到用户的第四操作时,使用第一功能对第二内容进行处理,得到第三处理结果,具体包括:第一电子设备在检测到用户的第四操作时,向第二电子设备发送第二内容和第四请求信息,第四请求信息用于请求第二电子设备使用第一功能对第二内容进行处理;上述第一电子设备向用户提示第三处理结果,具体包括:第一电子设备接收第二电子设备使用第一功能对第二内容处理后得到第三处理结果,并向用户提示第三处理结果。由于第一电子设备可以用第二电子设备的能力对第二内容进行处理,扩展了电子设备的能力边界,用户无需同时操作第一电子设备和第二电子设备,简化了用户的操作步骤,提高了用户的操作效率,提升了用户的体验。
在一些实施例中,上述第一电子设备接收第二电子设备发送的第一能力信息,第一能力信息中包括一个或多个功能,一个或多个功能中包括第一功能,具体包括:第一电子设备接收第二电子设备发送的第一能力信息,第一能力信息中包括一个或多个功能的软件包或程序库文件中的任意一种或多种,一个或多个功能的软件包或程序库文件中包括第一功能的软件包或程序库文件中的任意一种或多种;上述第一电子设备在检测到用户的第四操作时,使用第一功能对第二内容进行处理,得到第三处理结果,具体包括:第一电子设备在检测到用户的第四操作时,运行第一功能的软件包或程序库文件中的任意一种或多种对第二内容进行处理,得到第三处理结果。由于用户可以直接在第一电子设备使用第二电子设备的能力,扩展了电子设备的能力边界,且用户无需将第二内容发送给第二电子设备,节省了第二内容发送 和回传的时间。
结合第二方面,本申请实施例中,第一电子设备在检测到用户的第五操作时,使用第三功能对第二内容进行处理,得到第四处理结果,第三功能来自于所述第一电子设备;第一电子设备使用第三功能对第二内容进行处理后,向第二电子设备或第三电子设备中的任意一个或多个发送第四处理结果;第一电子设备向用户提示所述第四处理结果。
结合第二方面,本申请实施例中,上述第二内容来自于第一电子设备、第二电子设备或第三电子设备中的任意一个。
结合第二方面,本申请实施例中,上述第一电子设备在检测到用户的第一操作时,向第二电子设备和第三电子设备分别发送第一请求信息和第二请求信息,具体包括:第一电子设备在检测到用户选择第一控件或第一内容中的任意一项的操作时,向第二电子设备和第三电子设备分别发送第一请求信息和第二请求信息;上述第一电子设备在检测到用户的第二操作时,使用第二功能对第一内容进行处理,得到第一处理结果,具体包括:第一电子设备在检测到用户选择第二功能的操作时,使用第二功能对第一内容进行处理,得到第一处理结果。
第三方面,本申请提供一种能力调用方法,该方法应用于第二电子设备,该方法具体包括:第二电子设备接收第一电子设备发送的第一请求信息,第一请求信息用于请求第二电子设备的第一能力信息;第二电子设备向第一电子设备发送第一能力信息,第一能力信息中包括一个或多个功能,一个或多个功能中包括第一功能;第二电子设备接收第一电子设备发送的第二内容和第四请求信息,第四请求信息用于请求第二电子设备使用第一功能对第二内容进行处理;第二电子设备根据第四请求信息,使用第一功能对第二内容进行处理,得到第三处理结果,并向第一电子设备发送第三处理结果。
结合第三方面,本申请实施例中,上述第二电子设备向第一电子设备发送第一能力信息,第一能力信息中包括一个或多个功能,一个或多个功能中包括第一功能,具体包括:第二电子设备向第一电子设备发送第一能力信息,第一能力信息中包括一个或多个功能的软件包或程序库文件中的任意一种或多种,一个或多个功能的软件包或程序库文件中包括第一功能的软件包或程序库文件中的任意一种或多种。
第四方面,本申请提供一种能力调用方法,该方法应用于第三电子设备,该方法具体包括:第三电子设备接收第一电子设备发送的第二请求信息,第二请求信息用于请求第三电子设备的第二能力信息;第三电子设备向第一电子设备发送第二能力信息,第二能力信息中包括一个或多个功能,一个或多个功能中包括第二功能;第三电子设备接收第一电子设备发送的第一内容和第三请求信息,第三请求信息用于请求第三电子设备使用第二功能对第一内容进行处理;第三电子设备根据第三请求信息,使用第二功能对第一内容进行处理,得到第一处理结果,并向所述第一电子设备发送第一处理结果。
结合第四方面,本申请实施例中,上述第三电子设备向第一电子设备发送第二能力信息,第二能力信息中包括一个或多个功能,一个或多个功能中包括第二功能,具体包括:第三电子设备向第一电子设备发送第二能力信息,第二能力信息中包括一个或多个功能的软件包或程序库文件中的任意一种或多种,一个或多个功能的软件包或程序库文件中包括第二功能的软件包或程序库文件中的任意一种或多种。
第五方面,本申请提供一种电子设备,包括:一个或多个处理器;一个或多个存储器;一个或多个存储器存储有一个或者多个计算机程序,一个或者多个计算机程序包括指令。当所述指令被一个或多个处理器执行时,使得电子设备执行如上述第二方面中任一项可能的实现方法。
第六方面,本申请提供一种电子设备,包括:一个或多个处理器;一个或多个存储器;一个或多个存储器存储有一个或者多个计算机程序,一个或者多个计算机程序包括指令。当所述指令被一个或多个处理器执行时,使得电子设备执行如上述第三方面中任一项可能的实现方法。
第七方面,本申请提供一种电子设备,包括:一个或多个处理器;一个或多个存储器;一个或多个存储器存储有一个或者多个计算机程序,一个或者多个计算机程序包括指令。当所述指令被一个或多个处理器执行时,使得电子设备执行如上述第四方面中任一项可能的实现方法。
第八方面,本申请提供一种计算机可读存储介质,包括计算机指令,当计算机指令在电子设备上运行时,使得电子设备执行如上述第二方面中任一项可能的实现方法;或当所述计算机指令在电子设备上运行时,使得所述电子设备执行如上述第三方面中任一项可能的实现方法;或当所述计算机指令在电子设备上运行时,使得所述电子设备执行如上述第四方面中任一项可能的实现方法。
附图说明
图1为本申请实施例提供的一种电子设备的结构示意图
图2为本申请实施例提供的一种电子设备的软件系统架构
图3为本申请实施例提供的一种通信系统的系统架构示意图
图4为本申请实施例提供的一组图形用户界面
图5为本申请实施例提供的另一组图形用户界面
图6为本申请实施例提供的另一组图形用户界面
图7为本申请实施例提供的另一组图形用户界面
图8为本申请实施例提供的另一组图形用户界面
图9为本申请实施例提供的一种电子设备的结构示意图
图10为本申请实施例提供的一种共享编辑能力的方法的示意性流程图
具体实施方式
下面将结合附图进行进一步地详细描述。其中,在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;文本中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况,另外,术语“第一”、“第二”仅用于描述目的,而不能理解为暗示或暗示相对重要性或者隐含指明所指示的技术特征的数量。
首先对本申请实施例涉及的电子设备的结构进行介绍。
电子设备100可以是搭载iOS、Android、Microsoft或者其它操作系统的电子设备,可以包括手机、可折叠电子设备、平板电脑、桌面型计算机、膝上型计算机、手持计算机、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、蜂窝电话、掌上电脑(Personal Digital Assistant,PDA)、AR设备、VR设备、人工智能设备、可穿戴式设备、车载设备、智能家居设备、智慧城市设备中的至少一种。本申请实施例对电子设备100的类型不作特殊限制。
如图1所示为一种电子设备的结构示意图,电子设备100可以包括处理器110,内部存储器121,USB连接器130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机连接器170D,传感器模块180,按键190,马达191,指示器192,摄像 头193,显示屏194,存储卡连接器120,以及SIM卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。
本申请实施例示意的结构并不构成对电子设备100的限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器,调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
处理器110可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器可以为高速缓冲存储器。该存储器可以保存处理器110用过或使用频率较高的指令或数据。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路I2C接口,I2S接口,PCM接口,UART接口,MIPI,GPIO接口,SIM接口,和/或USB接口等。处理器110可以通过以上至少一种接口连接触摸传感器、音频模块、无线通信模块、显示屏、或摄像头等模块。
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
USB连接器130是一种符合USB标准规范的连接器,可以用于连接电子设备100和外围设备。USB连接器130可以是Mini-USB连接器,Micro-USB连接器,USB Type-C连接器等。USB连接器130可以用于连接充电器,通过充电器为该电子设备100充电。也可以用于连接其他电子设备,实现电子设备100与其他电子设备之间传输数据。也可以用于连接耳机,通过耳机输出电子设备中存储的音频。该连接器还可以用于连接其他电子设备,例如VR设备等。
充电管理模块140用于接收充电器的充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB连接器130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备100供电。电池142可以包括至少一组电极端子,每组电极端子至少包括一个正极端子。在一种实施方式中,当电池包括两组电极端子,电子设备可以设置两条有线充电路径或两条无线充电路径,每条有线或无线充电路径连接至少一组电极端子,通过多条充电路径同时为电池142充电,提升充电功率,降低温升。在另一种实施方式中,当电池包括两组电极端子,一组电极端子用于有线充电,另一组电极端子用于无线充电,充电电路布局更灵活。基于相同的设计构思,本领域技术人员可以根据设计需要设置两组以上电极端子以及两条以上充电路径。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备100上的包括2G、3G、4G、5G、或6G中至少一个无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器等。移动通信模块150可以对天线1接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。
无线通信模块160可以提供应用在电子设备100上的包括无线局域网模块,蓝牙模块,BLE模块,超宽带(ultra wide band,UWB)模块,全球导航卫星系统(global navigation satellite system,GNSS)模块,FM模块,近距离无线通信(near field communication,NFC)模块,或红外模块等。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术和其他电子设备通信。该无线通信技术可以包括GSM,GPRS,CDMA,WCDMA,TD-SCDMA,LTE,BT,GNSS,WLAN,NFC,FM,和/或IR技术等。该GNSS可以包括GPS,全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。
电子设备100可以通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算以及图形 渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏194用于显示图像,视频等。在一些实施例中,电子设备100可以包括一个或多个显示屏194。显示屏194可以是LCD,OLED显示屏,AMOLED显示屏,FLED显示屏,Miniled显示屏,MicroLed显示屏,Micro-oLed显示屏,量子点发光二极管(quantum dot light-emitting diode,QLED)显示屏等中的至少一种。
电子设备100可以通过摄像模组193,ISP,视频编解码器,GPU,显示屏194以及应用处理器AP、神经网络处理器NPU等实现摄像功能。
摄像模组193可用于采集拍摄对象的彩色图像数据以及深度数据。ISP可用于处理摄像模组193采集的彩色图像数据。例如,拍照时,打开快门,光线通过镜头传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将该电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。
在一些实施例中,ISP可以设置在摄像模组193中。
在一些实施例中,摄像模组193可以由彩色摄像模组和3D感测模组组成。
在一些实施例中,彩色摄像模组的摄像头的感光元件可以包括CCD、或CMOS光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。
在一些实施例中,3D感测模组可以是结构光3D感测模块。结构光3D感测模组可包括红外线发射器、红外相机模块等。结构光3D感测模组先对被拍摄物体发射特定图案的光斑,再接收该物体表面上的光斑图案编码,进而比对与原始投射光斑的异同,确定物体的三维坐标。该三维坐标中可以包括电子设备100距离被拍摄物体的距离。3D感测模组可以通过红外线折返的时间得到3D感测模组与被拍摄物体之间的距离(即深度),以得到3D景深图。
结构光3D感测模组还可应用于人脸识别、体感游戏机、工业用机器视觉检测等领域。3D感测模组还可应用于游戏机、AR、VR等领域。
在另一些实施例中,摄像模组193还可以由两个或更多个摄像头构成。这两个或更多个摄像头可包括彩色摄像头,彩色摄像头可用于采集被拍摄物体的彩色图像数据。这两个或更多个摄像头可采用立体视觉技术来采集被拍摄物体的深度数据。
在一些实施例中,电子设备100可以包括一个或多个摄像模组193。电子设备100可以包括1个前置摄像模组193以及1个后置摄像模组193。其中,前置摄像模组193可用于采集拍摄者的彩色图像数据以及深度数据,后置摄像模组可用于采集拍摄者所面对的拍摄对象(如人物、风景等)的彩色图像数据以及深度数据。
在一些实施例中,处理器110中的CPU或GPU或NPU可以对摄像模组193所采集的彩色图像数据和深度数据进行处理。在一些实施例中,NPU可以通过骨骼点识别技术所基于的神经网络算法,例如卷积神经网络算法(CNN),来识别摄像模组193所采集的彩色图像数据,以确定被拍摄人物的骨骼点。CPU或GPU也可用来运行神经网络算法以实现根据彩色图像数据确定被拍摄人物的骨骼点。在一些实施例中,CPU或GPU或NPU还可用于根据摄像模组193(可以是3D感测模组)所采集的深度数据和已识别出的骨骼点来确认被拍摄人物的身材(如身体比例、骨骼点之间的身体部位的胖瘦情况),并可以进一步确定针对该被拍摄人物的美化参数,最终根据该身体美化参数对被拍摄人物的拍摄图像进行处理,以使得该拍摄图像中该被拍摄人物的体型被美化。
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编 解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:MPEG1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
存储卡连接器120可以用于连接存储卡,例如Micro SD卡、Nano SD卡,实现扩展电子设备100的存储能力。存储卡通过存储卡连接器120与处理器110通信,实现数据存储功能。在一些实施方式中,存储卡和SIM卡可以分时共用同一个连接器,电子设备可以识别设置于连接器的卡是存储卡或SIM卡,实现相应的功能。或者存储卡和SIM卡可以同时设置在同一个连接器中,分别与电子设备100的不同弹片电连接,分别实现存储功能和SIM功能。
内部存储器121可以用于存储计算机可执行程序代码,该可执行程序代码包括指令。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能(比如声音播放功能,图像播放功能等)所需的应用程序等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,执行电子设备100的各种功能方法或数据处理。
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机连接器170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或输出免提通话的音频信号。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备100可以设置至少一个麦克风170C。在另一些实施例中,电子设备100可以设置两个以上麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以利用麦克风识别声音来源,实现定向录音功能等。
耳机连接器170D用于连接有线耳机。耳机连接器170D可以是USB连接器130,也可以是3.5mm的符合开放移动电子设备平台(open mobile terminal platform,OMTP)标准的连接器,符合美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准的连接器。
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据 电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测该触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,控制镜头反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。
气压传感器180C用于测量气压。在一些实施例中,电子设备100根据气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。
磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。当电子设备为可折叠电子设备,磁传感器180D可以用于检测电子设备的折叠或展开,或折叠角度。在一些实施例中,当电子设备100是翻盖机时,电子设备100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备100可以利用距离传感器180F测距以实现快速对焦。
接近光传感器180G可以包括例如发光二极管和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到的反射光的强度大于阈值时,可以确定有物体靠近电子设备100。当检测到的反射光的强度小于阈值时,电子设备100可以确定没有物体靠近电子设备100。电子设备100可以利用接近光传感器180G检测用户手持电子设备100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。
环境光传感器180L可以用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否被遮挡,例如电子设备在口袋里。当检测到电子设备被遮挡或在口袋里,可以使部分功能(例如触控功能)处于禁用状态,以防误操作。
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当通过温度传感器180J检测的温度超过阈值,电子设备100执行降低处理器的性能,以便降低电子设备的功耗以实施热保护。在另一些实施例中,当通过温度传感器180J检测的温度低于另一阈值时,电子设备100对电池142加热。在 其他一些实施例中,当温度低于又一阈值时,电子设备100可以对电池142的输出电压升压。
触摸传感器180K,也称“触控器件”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于该骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于该骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。
按键190可以包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
SIM卡接口195可以是硬件模块,用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持一个或多个SIM卡接口。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。
电子设备100的软件系统可以采用分层架构、事件驱动架构、微核架构、微服务架构或云架构等。示例性地,电子设备100的软件系统包括但不限于 或者其它操作系统。本申请实施例以分层架构的Android系统为例,示例性说明电子设备100的软件结构。
如图2所示为本申请实施例提供的一种电子设备100的软件系统架构。
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为五层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime,ART)和原生C/C++库,硬件抽象层以及内核层。
应用程序层可以包括一系列应用程序包。
如图2所示,应用程序包可以包括图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信等应用程序。
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming  interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。
如图2所示,应用程序框架层可以包括设备发现管理,设备知识库,设备认证管理,窗口管理器,内容提供器,视图系统,资源管理器,通知管理器,活动管理器,输入管理器等。
设备发现管理可以用于本设备查找其他电子设备。
在本申请实施例中,本设备可以查找近场的设备,本设备可以配置有无线局域网络(wireless local area networks,WLAN)模块,设备发现管理可以通过WLAN模块扫描打开WLAN功能的其他电子设备,获得其他电子设备的信息后,本设备可以和其他电子设备建立通信连接。本设备还可以配置有蓝牙模块,设备发现管理可以通过蓝牙模块扫描打开蓝牙功能的其他电子设备,获得其他电子设备的信息后,本设备可以和其他电子设备建立通信连接。
在本申请实施例中,本设备可以查找远场的设备,本设备可以通过互联网、服务器、蜂窝网络等远场通信技术查找远场的设备,获得远场设备的信息后,本设备可以和远场设备建立通信连接。
在本申请实施例中,电子设备可以调用轻量计算平台接口生成二维码,本设备可以通过扫描其他电子设备的二维码查找其他电子设备,从而和其他电子设备建立通信连接。
需要说明的是,本设备也可以结合上述任意几种方式查找其他电子设备,本申请实施例对此不做具体限制。
设备知识库可以用于保存本设备以及其他电子设备的设备名称、设备类型、设备状态信息、设备登录信息以及设备能力信息以及地址信息等。其中,设备状态信息用于指示当前设备离线或者在线;设备登录信息用于指示当前设备的登录账号信息;设备能力信息用于指示当前设备是否支持资源共享和功能共享。
在本申请实施例中,设备知识库中保存的其他电子设备所登录的账号可以和本设备相关联,例如,本设备和其他电子设备所登录的账号可以相同;或者,本设备和其他电子设备所登录的账号可以处于同一家庭群组(例如其他电子设备和本设备都为华为智慧生活的家庭成员)。
在本申请实施例中,设备知识库中保存的其他电子设备所登录的账号也可以和本设备不相关联,例如,其他电子设备可以为通讯录中用户好友的设备。
在本申请实施例中,其他电子设备也可以是未登录账号的设备。
设备认证管理可以用于本设备对其他电子设备的认证,并将认证通过的其他电子设备的信息保存在设备知识库中,通过认证的设备之间可以组成可信任的网络。
在本申请实施例中,当本设备和其他电子设备建立通信连接,本设备可以接收其他电子设备发送的设备登录信息,根据其他电子设备所登录的账号信息,本设备可以确定本设备和其他电子设备是否是属于同一账号下的设备,当其他电子设备和本设备同属于同一账号下,本设备可以和其他电子设备进行认证,认证完成后,本设备可以在设备知识库中保存该其他电子设备的信息。
在本申请实施例中,当本设备和其他电子设备建立通信连接,根据其他电子设备发送的设备登录信息,本设备还可以确定本设备和其他电子设备是否是属于同一家庭群组下的设备,当其他电子设备和本设备同属于同一家庭群组下,本设备可以和其他电子设备进行认证,认证完成后,本设备可以在设备知识库中保存该其他电子设备的信息。示例性的,本设备属于账号A,其他电子设备属于账号B,账号A和账号B同属于同一家庭群组,当本设备接收到其他电子设备发送的设备登录信息,根据其他电子设备所登陆的账号信息,本设备可以确定和其他电子设备是否是属于同一家庭群组下的设备。
在本申请实施例中,本设备还可以对未登录账号的设备进行认证,例如本设备登录账号A,其他电子设备为未登录账号的设备,示例性的,本设备可以调用轻量计算平台接口生成二维码,其他电子设备可以通过扫描本设备生成的二维码,获取本设备的媒体接入控制(media access control,MAC)地址、网络互连协议(internet protocol,IP)地址、公钥等信息,其他电子设备可以使用本设备的公钥信息对其他电子设备的公钥进行加密并发送给本设备。本设备可以使用本设备的公钥对加密后的其他电子设备的公钥进行解密,获得其他电子设备的公钥,从而完成本设备和其他电子设备之间的认证。认证完成后,本设备可以获取并在设备知识库保存其他电子设备的设备名称、设备类型、设备状态信息、设备能力信息以及地址信息等信息。
窗口管理器提供窗口管理服务(window manager service,WMS),WMS可以用于窗口管理、窗口动画管理、surface管理以及作为输入系统的中转站。
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。该数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。内容提供器为应用程序间的数据访问提供支持。
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。
活动管理器可以提供活动管理服务(activity manager service,AMS),AMS可以用于系统组件(例如活动、服务、内容提供者、广播接收器)的启动、切换、调度以及应用进程的管理和调度工作。
输入管理器可以提供输入管理服务(input manager service,IMS),IMS可以用于管理系统的输入,例如触摸屏输入、按键输入、传感器输入等。IMS从输入设备节点取出事件,通过和WMS的交互,将事件分配至合适的窗口。
安卓运行时包括核心库和安卓运行时。安卓运行时负责将源代码转换为字节码,将字节码转换为机器码,以及运行机器码。在编译技术上,安卓运行时支持提前(ahead or time,AOT)编译技术和及时(just in time,JIT)编译技术,其中AOT在应用程序安装期间,将字节码转换成机器码并存储在存储器上;JIT在应用程序运行时实时将一部分字节码转换成机码。
核心库主要用于提供基本的Java类库的功能,例如基础数据结构、数学、IO、工具、数据库、网络等库。核心库为用户进行安卓应用开发提供了API。
原生C/C++库可以包括多个功能模块。例如:表面管理器(surface manager),媒体框架(media framework),libc,OpenGL ES、SQLite、Webkit等。其中,表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。媒体框架支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式, 例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。libc提供标准C函数库。OpenGL ES提供应用程序中2D图形和3D图形的绘制和操作。SQLite为应用程序提供轻量级关系型数据库。Webkit提供游览器内核的支持。
应用程序框架层中的模块使用Java语言编写,原生C/C++库中的模块使用C/C++语言编写,两者之间的通信可以通过Java本地接口(Java native interface,JNI)实现。
硬件抽象层运行于用户空间(user space),对内核层驱动进行封装,向上层提供调用接口,可以包含显示模块、摄像头模块、音频模块、蓝牙模块。
内核层是硬件和软件之间的层。内核层可以包含显示驱动,摄像头驱动,音频驱动,蓝牙驱动,还可以包括其他传感器驱动。内核层在提供硬件驱动外,还支持内存管理、系统进程管理、文件系统管理、电源管理等功能。
如图3所示为本申请实施例提供的一种通信系统的系统架构示意图,该通信系统也可称为分布式系统10,包括第一电子设备、第二电子设备和第三电子设备,其中,第一电子设备、第二电子设备或第三电子设备中的任意两个或多个可以建立通信连接101。
需要说明的是,分布式系统10可以包括两个或两个以上电子设备,本申请实施例对分布式系统10中的电子设备的数量不做具体限制。
第一电子设备、第二电子设备或第三电子设备中的任意一个可以是手机、可折叠电子设备、平板电脑、桌面型计算机、膝上型计算机、手持计算机、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、蜂窝电话、掌上电脑(Personal Digital Assistant,PDA)、AR设备、VR设备、人工智能设备、可穿戴式设备、车载设备、智能家居设备、智慧城市设备中的至少一种。本申请实施例对第一电子设备、第二电子设备和第三电子设备的类型不做特殊限制。
在本申请实施例中,第一电子设备、第二电子设备或第三电子设备中的任意一个可以搭载iOS、Android、Microsoft、Windows系统、macOS、Linux系统、鸿蒙系统(HarmonyOS,HOS)或者其它操作系统中的至少一种,本申请实施例对此不做具体限制。
在一些实施例中,第一电子设备、第二电子设备和第三电子设备可以都搭载鸿蒙系统,分布式系统10可以称为鸿蒙超级虚拟终端(super virtual device),亦可称为鸿蒙超级终端,指的是通过分布式技术将多个电子设备的能力进行整合,每个电子设备都可以根据业务需要调度整合后的电子设备能力,使得不同电子设备之间实现快速连接、能力互助、资源共享。
在分布式系统10中,第一电子设备、第二电子设备或第三电子设备中的任意两个或多个设备可以建立通信连接101,该通信连接101可以为近场通信连接。
在本申请实施例中,近场通信连接可以为有线连接,有线连接可以为通用串行总线(uniersalserialbus,USB)连接。
在本申请实施例中,近场通信连接可以为无线连接,无线连接可以为无线保真(wireless fidelity,Wi-Fi)连接,第一电子设备、第二电子设备或第三电子设备中的任意两个或多个可以配置有WLAN模块,其中,WLAN模块可以提供包括无线保真点对点连接(wireless fidelity peer-to-peer,Wi-Fi P2P)、无线保真局域网(wireless fidelity local area networks,Wi-Fi LAN)或无线保真软件接入点(wireless fidelity software access point,Wi-Fi softAP)中一项或多项WLAN通信的解决方案。无线连接也可以为蓝牙连接,第一电子设备、第二电子设备或第三电子设备中的任意两个或多个可以配置有蓝牙模块,其中,蓝牙模块可以提供包括经典蓝牙(蓝牙2.1)或蓝牙低功耗(bluetooth low energy,BLE)中一项或多项蓝牙通信的解决方案。
在分布式系统10中,第一电子设备、第二电子设备或第三电子设备中的任意两个或多个建立的通信连接101也可以为远场通信连接,第一电子设备、第二电子设备或第三电子设备中的任意两个或多个可以通过互联网进行连接;第一电子设备、第二电子设备或第三电子设备中的任意两个或多个也可以连接到服务器,通过服务器进行数据传输和交互。
本申请实施例中,第第一电子设备、第二电子设备或第三电子设备中的任意两个或多个还可以通过扫描二维码建立通信连接101。示例性的,第一电子设备、第二电子设备和第三电子设备可以调用轻量计算平台接口生成二维码,第一电子设备可以通过扫描第二电子设备的二维码和第二电子设备建立通信连接101,第一电子设备也可以通过扫描第三电子设备的二维码和第三电子设备建立通信连接101,第二电子设备也可以通过扫描第三电子设备的二维码和第三电子设备建立通信连接101。
需要说明的是,在分布式系统10中,第一电子设备、第二电子设备或第三电子设备中的任意两个或多个也可以结合上述任意几种方式建立通信连接,本申请实施例对上述第一电子设备、第二电子设备或第三电子设备中的任意两个或多个建立通信连接的方式不做具体限制。
在分布式系统10中,各个电子设备可以安装传统的应用程序(Application,APP),可以为相机应用、即时通讯应用等。分布式系统10中的各个电子设备也可以安装分布式应用(distributed application),该分布式应用可以为系统应用,也可以为第三方应用。分布式系统10中的各个电子设备安装的分布式应用之间可以进行资源共享和功能共享。本申请实施例对电子设备安装的应用程序的类型不做具体限制。
当前不支持编辑能力的设备需要将待编辑图片、视频、文档等资源转发至支持编辑的设备进行编辑,会给用户的操作带来不便。基于上述分布式系统10,本申请实施例提供一种编辑资源和编辑能力可以在多设备之间共享的能力调用方法,用户在分布式系统10中的任意一个设备上都可以用分布式系统10中所有设备的能力处理分布式系统10中的其他电子设备上的图片、视频、文档等资源。结合上述对分布式系统10的说明,接下来以图库应用的编辑能力为例进行进一步阐述。
如图4所示为本申请实施例提供的一组GUI。
如图4中的(a)所示为第一电子设备的一种图形用户界面(graphical user interface,GUI),第一电子设备可以包括显示界面201,显示界面201可以显示有图库应用图标202,当第一电子设备检测到用户选择显示界面201上的图库应用图标202,第一电子设备可以查找近场或者远场的其他电子设备,获得其他电子设备的信息后,第一电子设备可以和其他电子设备建立通信连接,第一电子设备可以对建立通信连接的其他电子设备进行认证。示例性的,如图4中的(b)所示,当第一电子设备查找到第二电子设备,第一电子设备和第二电子设备之间可以建立通信连接101,第一电子设备和第二电子设备之间可以进行认证。需要说明的是,第一电子设备和第二电子设备之间建立通信连接和认证的方式可以参考前述相关实施例中的描述,此处不再赘述。
本申请实施例中,在第一电子设备检测到用户选择显示界面201上的图库应用图标202之前,第一电子设备就可以查找近场或者远场的其他电子设备,第一电子设备可以获得其他电子设备的信息;当第一电子设备获得其他电子设备的信息,第一电子设备可以和其他电子设备建立通信连接,第一电子设备可以对建立通信连接的其他电子设备进行认证。由于在用户选择图库应用图标202之前,第一电子设备就对建立通信连接的其他电子设备完成认证,因此,在用户选择图库应用图标202之后,省去了第一电子设备和其他电子设备建立通信连 接和认证的时间,缩短了用户的等待时间,提升了用户的体验。
如图4中的(b)所示为本申请实施例提供的一种分布式系统10的业务场景示意图,包括第一电子设备和第二电子设备,第一电子设备和第二电子设备可以安装有图库应用。当第一电子设备检测到用户选择显示界面201上的图库应用图标202,示例性的,如图4中的(c)所示,第一电子设备可以打开图库应用。
如图4中的(c)所示为本申请实施例提供的第一电子设备的另一种GUI,第一电子设备可以包括显示界面201,显示界面201可以显示本机图标210和其他设备图标220,其中,本机为第一电子设备。显示界面201还可以显示第一电子设备的相册文件夹,包括相机、所有照片、视频、截屏录屏、我的收藏等文件夹。当第一电子设备检测到用户选择显示界面201上的相机文件夹230,示例性的,如图4中的(d)所示,第一电子设备可以打开相机文件夹。
如图4中的(d)所示为本申请实施例提供的第一电子设备的另一种GUI,可以包括显示界面201,显示界面201可以显示相机文件夹230中保存的照片和视频的缩略图,用户可以通过向上滑动屏幕来查看相机文件夹230中保存的照片和视频的缩略图。
在一种可能的实施例中,当第一电子设备检测到用户选择显示界面201上的缩略图231,示例性的,如图4中的(e)所示,第一电子设备可以打开缩略图231对应的大图232。
如图4中的(e)所示为本申请实施例提供的另一种GUI,包括第一电子设备和第二电子设备,其中,第一电子设备可以包括显示界面201,显示界面201可以显示缩略图231对应的大图232和编辑图标203。当第一电子设备检测到用户的第一操作,其中,第一操作可以为用户选择显示界面201上的编辑图标203的操作,响应于用户的第一操作,第一电子设备可以向第二电子设备发送第一请求信息,该第一请求信息用于向第二电子设备请求编辑能力信息;当第二电子设备接收到该第一请求信息,第二电子设备可以向第一电子设备发送第一能力信息,其中,第一能力信息可以包括一个或多个功能,示例性的,第一能力信息可以包括能力401和能力402。当第一电子设备接收到第二电子设备发送的第一能力信息,第一电子设备可以整合各电子设备的编辑能力信息,第一电子设备可以存储各编辑能力信息及其来源,第一电子设备也可以在显示界面201显示各编辑能力,示例性的,如图4中的(f)所示,第一电子设备的显示界面201可以显示大图232以及功能401、功能402、功能403和功能404。其中,第一操作可以是用户在显示屏的触控修改方式(例如点击操作,或者长按操作),也可以是用户的语音指令,本申请实施例对此不做具体限制。
本申请实施例中,当第一电子设备检测到用户的第一操作,第一电子设备还可以向第二电子设备发送第一电子设备的编辑能力信息,可以扩展电子设备的能力边界。其中,第一操作可以参考前述相关实施例中的描述,此处不再赘述。
在一些实施例中,第一电子设备检测到用户的第一操作时,当第一电子设备和第二电子设备在第一电子设备检测到用户的第一操作前已互相发送编辑能力信息,第一电子设备不向第二电子设备请求能力信息。可以避免第一电子设备重复向第二电子设备请求能力信息,减少电子设备间的信息交互,降低电子设备的功耗。
本申请实施例中,当第一电子设备接收到其他电子设备发送的编辑能力信息,第一电子设备可以整合本设备和其他电子设备的编辑能力信息。当各电子设备具有同一种编辑能力,第一电子设备可以比较各个电子设备的该种编辑能力,可以存储能力更强的该种编辑能力的信息,可以扩展和提高电子设备的编辑能力。其中,能力更强的编辑能力可以是版本更高的编辑能力,能力更强的编辑能力也可以是功能更多的编辑能力(例如,编辑模板多的编辑能力强于编辑模板少的编辑能力),本申请实施例对此不做具体限制。
如图4中的(f)所示为本申请实施例提供的另一种GUI,包括第一电子设备和第二电子设备,其中,第一电子设备可以包括显示界面201,显示界面201可以显示大图232以及功能401、功能402、功能403和功能404,其中,功能401为水平矫正,功能402为滤镜,功能401和功能402来自于第二电子设备;功能403为裁剪、功能404为自动优化,功能403和功能404来自于第一电子设备。第一电子设备可以使用功能401、功能402、功能403或功能404中的任意一个或多个功能对大图232进行处理,示例性的,当第一电子设备检测到用户的第四操作,其中,第四操作可以为用户选择功能401的操作,响应于用户的第四操作,第一电子设备可以向第二电子设备发送大图232的数据以及第四请求信息,该第四请求信息用于请求第二电子设备基于功能401对大图232进行编辑。当第二电子设备接收第一电子设备发送的大图232的数据和第四请求信息,第二电子设备可以基于功能401对大图232进行编辑,得到大图233。
在另一种可能的实施例中,当第一电子设备检测到用户选择显示界面201上的缩略图231,示例性的,如图4中的(e)所示,第一电子设备的显示界面可以显示缩略图231对应的大图232。当第一电子设备检测到用户选择大图232,第一电子设备可以获取第二电子设备的能力信息,示例性的,如图4中的(f)所示,第一电子设备的显示界面201可以显示缩略图231对应的大图232以及功能401、功能402、功能403和功能404。第一电子设备可以使用功能401、功能402、功能403或功能404中的任意一个或多个功能对大图232进行处理,示例性的,当第一电子设备检测到用户的第四操作,响应于用户的第四操作,第一电子设备可以请求第二电子设备基于功能401对大图232进行编辑。具体参见上述实施例的描述,此处不再赘述。
如图4中的(g)所示的本申请实施例提供的另一种GUI,包括第一电子设备和第二电子设备,当第二电子设备对大图232进行编辑,得到大图233,第二电子设备可以向第一电子设备发送大图233。当第一电子设备接收大图233,第一电子设备可以向用户提示大图233,示例性的,第一电子设备可以将大图233显示在显示界面201。由于当第二电子设备基于功能401对大图232进行编辑,编辑过程为第二电子设备的后台操作,降低了用户对编辑过程的感知,简化了用户的操作界面,提升了用户的体验。
本申请实施例中,显示界面201还可以包括图标204,当第一电子设备接收大图233,用户还可以通过选择图标204保存大图233,示例性的,当第一电子设备检测到用户选择图标204,第一电子设备可以保存大图233,第一电子设备也可以用大图233替换和大图233对应的编辑前的大图232。
本申请实施例中,当第二电子设备对大图232进行编辑,得到大图233,第二电子设备也可以向用户提示大图233(例如将大图233显示在第二电子设备的显示界面)。
本申请实施例中,当第一电子设备接收大图233,基于第一电子设备的编辑能力和第二电子设备的编辑能力中的任意一个或多个,第一电子设备也可以继续对大图233进行编辑,得到编辑后的大图233。第一电子设备还可以向用户提示编辑后的大图233,示例性的,第一电子设备可以将编辑后的大图233显示在显示界面201。第一电子设备还可以将编辑后的大图233发送回第二电子设备。由于第一电子设备请求第二电子设备对图像进行编辑后,可以在第一电子设备对编辑后的图像进行接续编辑,提高了用户编辑图像的灵活性,提升了用户的体验。具体参见前述实施例中的描述,此处不再赘述。
本申请实施例中,基于第一电子设备的编辑能力或第二电子设备的编辑能力中的任意一个或多个,用户也可以在第二电子设备继续对大图233进行编辑。由于用户在第二电子设备 对大图233进行接续编辑的方式和用户在第一电子设备对大图233进行接续编辑的方式一致,具体参见前述实施例中的描述,此处不再赘述。
上述实施例中,由于用户可以在第一电子设备使用第一电子设备的编辑能力或第二电子设备的编辑能力中的任意一个或多个对第一电子设备的图像进行编辑,第一电子设备或第二电子设备中的任意一个或多个的编辑能力和编辑资源可以在第一电子设备和第二电子设备之间进行流转,扩展了电子设备的能力边界,用户无需同时操作第一电子设备和第二电子设备,简化了用户的操作步骤,提高了用户的操作效率,提升了用户的体验。
如图5所示为本申请实施例提供的另一组GUI。
如图4中的(b)所示,当第一电子设备检测到用户选择显示界面201上的图库应用图标202,示例性的,如图5中的(a)所示,第一电子设备可以打开图库应用。
如图5中的(a)所示为本申请实施例提供的第一电子设备的一种GUI,第一电子设备的显示界面201可以显示本机图标210和其他设备图标220,当第一电子设备检测到用户选择显示界面201上的其他设备图标220,示例性的,如图5中的(b)所示,第一电子设备可以显示第一电子设备认证过的其他电子设备。其中,第一电子设备和其他电子设备的认证过程可以参考前述相关实施例中的描述,此处不再赘述。
如图5中的(b)所示为本申请实施例提供的另一种GUI,包括第一电子设备和第二电子设备,第一电子设备可以包括显示界面201,显示界面201可以显示其他设备图标220和文件夹310,其中,文件夹310为华为平板M11的相册文件夹,华为平板M11为第二电子设备。当第一电子设备检测到用户选择文件夹310,第一电子设备可以向第二电子设备发送请求信息,该请求信息用于请求第二电子设备的相册文件夹数据。当第二电子设备接收到第一电子设备的请求信息,第二电子设备可以将相册文件夹数据发送给第一电子设备,示例性的,如图5中的(c)所示,第一电子设备的显示界面201可以显示第二电子设备的相册文件夹。
如图5中的(c)所示为本申请实施例提供的另一种GUI,包括第一电子设备和第二电子设备,第一电子设备可以包括显示界面201,显示界面201可以显示第二电子设备的相册文件夹,包括相机、所有照片、视频、截屏录屏、华为分享等文件夹。当第一电子设备检测到用户选择显示界面201上的相机文件夹311,第一电子设备可以向第二电子设备发送请求信息,该请求信息用于请求第二电子设备的相机文件夹的缩略图数据。当第二电子设备接收到第一电子设备的请求信息,第二电子设备可以将缩略图数据发送给第一电子设备,示例性的,如图5中的(d)所示,第一电子设备的显示界面201可以显示相机文件夹311的缩略图数据。
如图5中的(d)所示为本申请实施例提供的一种GUI,包括第一电子设备和第二电子设备,第一电子设备可以包括显示界面201,显示界面201可以显示相机文件夹311中保存的照片和视频的缩略图,用户可以通过向上滑动屏幕来查看相机文件夹311中保存的照片和视频的缩略图。
在一种可能的实施例中,当第一电子设备检测到用户选择显示界面201上的缩略图312,第一电子设备可以向第二电子设备发送请求信息,该请求信息用于请求第二电子设备的缩略图312对应的大图313。当第二电子设备接收到第一电子设备的请求信息,第二电子设备可以将大图313的数据发送给第一电子设备,示例性的,如图5中的(e)所示,第一电子设备的显示界面201可以显示缩略图312对应的大图313。
如图5中的(e)所示的本申请实施例提供的第一电子设备的另一种GUI,第一电子设备 可以包括显示界面201,显示界面201可以显示大图313和编辑图标203。当第一电子设备检测到用户的第一操作,第一电子设备可以向第二电子设备发送第一请求信息,该第一请求信息用于向第二电子设备请求编辑能力信息。当第二电子设备接收到该第一请求信息,第二电子设备可以向第一电子设备发送第一能力信息,其中,第一能力信息可以包括一个或多个功能,示例性的,第一能力信息可以包括能力401和能力402。当第一电子设备接收到第二电子设备发送的第一能力信息,第一电子设备可以整合各电子设备的编辑能力信息,第一电子设备可以存储各编辑能力信息及其来源,第一电子设备也可以在显示界面201显示各编辑能力,示例性的,如图5中的(f)所示,第一电子设备的显示界面201可以显示大图313以及功能401、功能402、功能403和功能404。其中,第一操作可以参考前述相关实施例中的描述,此处不再赘述。
本申请实施例中,第一电子设备检测到用户的第一操作,当第一电子设备和第二电子设备在第一电子设备检测到用户的第一操作前已互相发送编辑能力信息,第一电子设备不向第二电子设备请求能力信息。可以避免第一电子设备重复向第二电子设备请求能力信息,减少电子设备间的信息交互,降低电子设备的功耗。
在本申请实施例中,当第一电子设备检测到用户的第一操作,第一电子设备还可以向第二电子设备发送第一电子设备的编辑能力信息,具体参见其他实施例的描述,此处不再赘述。
本申请实施例中,第一电子设备接收到第二电子设备发送的编辑能力信息时,当各电子设备具有同一种编辑能力,第一电子设备可以比较各个电子设备的该种编辑能力,存储能力更强的该种编辑能力的信息,具体参见前述实施例中的相关描述,此处不再赘述。
如图5中的(f)所示的本申请实施例提供的另一种GUI,包括第一电子设备和第二电子设备,第一电子设备可以包括显示界面201,显示界面201可以显示大图313以及功能401、功能402、功能403和功能404。第一电子设备可以使用功能401、功能402、功能403或功能404中的任意一个或多个功能对大图313进行处理,示例性的,当第一电子设备检测到用户的第五操作,其中,第五操作可以为用户选择功能403的操作,响应于用户的第五操作,第一电子设备基于功能403对大图313进行编辑,得到大图314。其中,功能401、功能402、功能403、功能404和第二操作可以参考前述相关实施例中的描述,此处不再赘述。
在另一种可能的实施例中,当第一电子设备检测到用户选择显示界面201上的缩略图312,第一电子设备可以请求第二电子设备的缩略图312对应的大图313。当第二电子设备接收到第一电子设备的请求信息,第二电子设备可以将大图313的数据发送给第一电子设备,示例性的,如图5中的(e)所示,第一电子设备的显示界面201可以显示缩略图312对应的大图313。当第一电子设备检测到用户选择大图313,第一电子设备可以获取第二电子设备或第三电子设备中的任意一个或多个的能力信息,示例性的,如图5中的(f)所示,第一电子设备的显示界面201可以显示大图313以及功能401、功能402、功能403和功能404。第一电子设备可以使用功能401、功能402、功能403或功能404中的任意一个或多个功能对大图313进行处理,示例性的,当第一电子设备检测到用户的第五操作,响应于用户的第五操作,第一电子设备基于功能403对大图313进行编辑,得到大图314。具体参见上述实施例的描述,此处不再赘述。
如图5中的(g)所示为本申请实施例提供的另一种GUI,包括第一电子设备和第二电子设备,第一电子设备可以包括显示界面201,当第一电子设备基于功能403对大图313进行编辑,得到编辑后的大图314,第一电子设备可以向用户提示大图314,示例性的,第一电子设备可以将大图314显示在显示界面201。第一电子设备还可以向第二电子设备发送大图314。 由于用户可以在第一电子设备使用第一电子设备的能力对第二电子设备的图像进行编辑,扩展了电子设备的能力边界。第一电子设备对第二电子设备的大图313编辑完成后还可以将编辑后的大图314发送回第二电子设备,简化了用户的操作步骤,提高了用户的操作效率,提升了用户的体验。
在一些实施例中,当第二电子设备收到大图314,第二电子设备也可以向用户提示大图314(例如将大图314显示在第二电子设备的显示界面)。
本申请实施例中,显示界面201还可以包括图标204,当第一电子设备基于功能403对大图313进行编辑,得到编辑后的大图314,用户还可以通过选择图标204保存大图314,示例性的,当第一电子设备检测到用户选择图标204,第一电子设备可以保存大图314,第一电子设备也可以用大图314替换和大图314对应的编辑前的大图313。
在一些实施例中,第一电子设备向第二电子设备发送大图314时,当第二电子设备接收大图314,第二电子设备可以保存大图314,第二电子设备也可以用大图314替换和大图314对应的编辑前的大图313。
本申请实施例中,第一电子设备也可以基于第一电子设备的编辑能力和第二电子设备的编辑能力中的任意一个或多个继续对大图314进行接续编辑,第一电子设备还可以向用户提示编辑后的大图314,示例性的,第一电子设备可以将编辑后的大图314显示在显示界面201。第一电子设备还可以将编辑后的大图314发送给第二电子设备。具体参见前述实施例中的描述,此处不再赘述。
本申请实施例中,用户也可以在第二电子设备基于第一电子设备的编辑能力或第二电子设备的编辑能力中的任意一个或多个继续对大图314进行接续编辑。由于用户在第二电子设备对大图314进行接续编辑的方式和用户在第一电子设备对大图314进行接续编辑的方式一致,具体参见前述实施例中的描述,此处不再赘述。
本申请实施例中,由于用户可以在第一电子设备使用第一电子设备或第二电子设备中的任意一个或多个的能力对第二电子设备的图像进行编辑,第一电子设备或第二电子设备中的任意一个或多个的编辑能力和编辑资源可以在第一电子设备和第二电子设备之间进行流转,扩展了电子设备的能力边界,用户无需同时操作第一电子设备和第二电子设备,简化了用户的操作步骤,提高了用户的操作效率,提升了用户的体验。
如图6所示为本申请实施例提供的另一组GUI。
如图4中的(a)所示,当第一电子设备检测到用户选择图库应用图标202,第一电子设备可以查找近场或者远场的其他电子设备,获得其他电子设备的信息后,第一电子设备可以和其他电子设备建立通信连接,第一电子设备可以对建立通信连接的其他电子设备进行认证。示例性的,如图6中的(a)所示的本申请实施例提供的另一种GUI,包括第一电子设备、第二电子设备和第三电子设备,第一电子设备、第二电子设备和第三电子设备之间可以建立通信连接101,第一电子设备、第二电子设备和第三电子设备之间也可以进行认证。需要说明的是,第一电子设备、第二电子设备和第三电子设备之间建立通信连接和认证的方式可以参见前述相关实施例中的描述,此处不再赘述。
如图6中的(b)所示为本申请实施例提供的第一电子设备的另一种GUI,第一电子设备可以包括显示界面201,显示界面201可以显示本机图标210和其他设备图标220,当第一电子设备检测到用户选择显示界面201上的其他设备图标220,示例性的,如图6中的(c)所 示,第一电子设备可以显示第一电子设备认证过的其他电子设备。其中,第一电子设备和其他电子设备的认证过程可以参考前述相关实施例中的描述,此处不再赘述。
如图6中的(c)所示为本申请实施例提供的另一种GUI,包括第一电子设备和第二电子设备,第一电子设备可以包括显示界面201,显示界面201可以显示其他设备图标220、文件夹310和文件夹410,其中,文件夹310为华为平板M11的相册文件夹,华为平板M11为第二电子设备;文件夹410为华为智慧屏的相册文件夹,华为智慧屏为第三电子设备。当第一电子设备检测到用户选择文件夹310,第一电子设备可以向第二电子设备发送请求信息,该请求信息用于请求第二电子设备的相册文件夹数据。当第二电子设备接收到第一电子设备的请求信息,第二电子设备可以将相册文件夹数据发送给第一电子设备,示例性的,如图5中的(c)所示,第一电子设备的显示界面201可以显示第二电子设备的相册文件夹。当第一电子设备检测到用户选择显示界面201上的相机文件夹311,示例性的,如图6中的(d)所示,第一电子设备的显示界面201可以显示相机文件夹311的缩略图数据。其中,第一电子设备获取第二电子设备的缩略图数据的方式参见上述其他实施例的具体描述,此处不再赘述。
如图6中的(d)所示为本申请实施例提供的另一种GUI,包括第一电子设备和第二电子设备,第一电子设备可以包括显示界面201,显示界面201可以显示相机文件夹311中保存的照片和视频的缩略图,用户可以通过向上滑动屏幕来查看相机文件夹311中保存的照片和视频的缩略图。
在一种可能的实施例中,当第一电子设备检测到用户选择显示界面201上的缩略图321,第一电子设备可以向第二电子设备发送请求信息,该请求信息用于请求第二电子设备的缩略图321对应的大图322。当第二电子设备接收到第一电子设备的请求信息,第二电子设备可以将大图322的数据发送给第一电子设备,示例性的,如图6中的(e)所示,第一电子设备的显示界面201可以显示大图322。
如图6中的(e)所示为本申请实施例提供的另一种GUI,包括第一电子设备、第二电子设备和第三电子设备,第一电子设备可以包括显示界面201,显示界面201可以显示大图322和编辑图标203,当第一电子设备检测到用户的第一操作,响应于用户的第一操作,第一电子设备可以分别向第二电子设备和第三电子设备发送第一请求信息和第二请求信息,该第一请求信息和第二请求信息分别用于向第二电子设备和第三电子设备请求能力信息。当第二电子设备和第三电子设备分别接收到该第一请求信息和第二请求信息,可以分别向第一电子设备发送第一能力信息和第二能力信息,其中,第一能力信息可以包括一个或多个功能,示例性的,第一能力信息可以包括能力401和能力402;第二能力信息也可以包括一个或多个功能,示例性的,第二能力信息可以包括能力405和能力406。当第一电子设备接收到第二电子设备和第三电子设备分别发送的第一能力信息和第二能力信息,第一电子设备可以整合各电子设备的编辑能力信息,第一电子设备可以存储各编辑能力信息及其来源,第一电子设备也可以在显示界面201显示各编辑能力,示例性的,如图6中的(f)所示,第一电子设备的显示界面201可以显示大图322以及功能401、功能402、功能403、功能404、功能405和功能406。其中,第一操作可以参考前述相关实施例中的描述,此处不再赘述。
在本申请实施例中,当第一电子设备检测到用户的第一操作,第一电子设备还可以向第二电子设备和第三电子设备中的至少一个发送第一电子设备的编辑能力信息,第二电子设备和第三电子设备也可以互相发送各自的能力信息,可以扩展电子设备的能力边界。
在一些实施例中,第一电子设备检测到用户的第一操作时,当第一电子设备、第二电子设备和第三电子设备在第一电子设备检测到用户的第一操作前已互相发送编辑能力信息,第 一电子设备不向第二电子设备和第三电子设备请求能力信息。可以避免第一电子设备重复向第二电子设备和第三电子设备请求能力信息,减少电子设备间的信息交互,降低电子设备的功耗。
本申请实施例中,第一电子设备接收到第二电子设备和第三电子设备发送的编辑能力信息时,当各电子设备具有同一种编辑能力,第一电子设备可以比较各个电子设备的该种编辑能力,存储能力更强的该种编辑能力的信息,可以扩展和提高电子设备的编辑能力。具体参见前述实施例中的相关描述,此处不再赘述。
如图6中的(f)所示为本申请实施例提供的另一种GUI,包括第一电子设备和第二电子设备,第一电子设备可以包括显示界面201,显示界面201可以显示有大图322以及功能401、功能402、功能403、功能404、功能405和功能406,其中,功能401为水平矫正,功能402为滤镜,功能401和功能402来自于第二电子设备;功能403为裁剪、功能404为自动优化,功能403和功能404来自于第一电子设备;功能405为除雾、功能406为提亮,功能405和功能406来自于第三电子设备。第一电子设备可以使用功能401、功能402、功能403、功能404、功能405或功能406中的任意一个或多个功能对大图322进行处理,示例性的,当第一电子设备检测到用户的第二操作,其中,第二操作可以为用户选择功能406的操作,响应于用户的第二操作,第一电子设备可以向第三电子设备发送大图322的数据以及第三请求信息,该第三请求信息用于请求第三电子设备基于功能406对大图322进行编辑。当第三电子设备接收第一电子设备发送的大图322的数据和第三请求信息,第三电子设备可以基于功能406对大图322进行编辑,得到大图323。
在另一种可能的实施例中,当第一电子设备检测到用户选择显示界面201上的缩略图321,第一电子设备可以向第二电子设备请求第二电子设备的缩略图321对应的大图322。当第二电子设备接收到第一电子设备的请求信息,第二电子设备可以将大图322的数据发送给第一电子设备,示例性的,如图6中的(e)所示,第一电子设备的显示界面201可以显示大图322。当第一电子设备检测到用户选择大图322,第一电子设备可以获取第二电子设备或第三电子设备中的任意一个或多个的能力信息,示例性的,如图6中的(f)所示,第一电子设备的显示界面201可以显示大图322以及功能401、功能402、功能403、功能404、功能405和功能406。第一电子设备可以使用功能401、功能402、功能403、功能404、功能405或功能406中的任意一个或多个功能对大图322进行处理,示例性的,当第一电子设备检测到用户的第二操作,响应于用户的第二操作,第一电子设备可以请求第三电子设备基于功能406对大图322进行编辑。具体参见上述实施例的描述,此处不再赘述。
如图6中的(g)所示为本申请实施例提供的另一种GUI,包括第一电子设备、第二电子设备和第三电子设备,当第三电子设备基于功能406对大图322进行编辑,得到大图323,第三电子设备可以向第一电子设备发送大图323,当第一电子设备接收大图323,第一电子设备可以向用户提示大图323,示例性的,第一电子设备可以将大图323显示在显示界面201,由于大图322来自于第二电子设备,第一电子设备还可以将大图322对应的编辑后的大图323发送给第二电子设备。由于用户可以在第一电子设备使用第三电子设备的能力对第二电子设备的图像进行编辑,第一电子设备、第二电子设备或第三电子设备中的任意一个或多个的编辑能力和编辑资源可以在三个电子设备之间进行流转,扩展了电子设备的能力边界,用户无需同时操作第一电子设备、第二电子设备和第三电子设备,简化了用户的操作步骤,提高了用户的操作效率,提升了用户的体验。
如图6中的(h)所示为本申请实施例提供的另一种GUI,包括第一电子设备、第二电子 设备和第三电子设备,当第三电子设备基于功能406对大图322进行编辑,得到大图323,第三电子设备还可以向第一电子设备和第二电子设备发送大图323,当第一电子设备接收大图323,第一电子设备可以向用户提示大图323,示例性的,第一电子设备可以将大图323显示在显示界面201。由于用户可以在第一电子设备使用第三电子设备的功能406对第二电子设备的大图322进行编辑,扩展了电子设备的能力边界,而第三电子设备还可以将大图322对应的编辑后的大图323发送回第二电子设备,不需要通过第一电子设备转发,提高了设备之间互操作的灵活性。
本申请实施例中,显示界面201还可以包括图标204,当第三电子设备基于功能406对大图322进行编辑,得到大图323,用户还可以通过选择图标204保存大图323,示例性的,当第一电子设备检测到用户选择图标204,第一电子设备可以保存大图323,第一电子设备也可以用大图323替换和大图323对应的编辑前的大图322。
在一些实施例中,当第二电子设备接收大图323,第二电子设备可以保存大图323,第二电子设备也可以用大图323替换和大图323对应的编辑前的大图322;当第三电子设备基于功能406对大图322进行编辑,得到大图323,第三电子设备可以保存大图323,第三电子设备也可以用大图323替换和大图323对应的编辑前的大图322。
在一些实施例中,当第二电子设备收到大图323,第二电子设备也可以向用户提示大图323(例如将大图323显示在第二电子设备的显示界面)。
本申请实施例中,当第一电子设备接收大图323,当第一电子设备检测到用户的第三操作,其中,第三操作可以为用户选择第一电子设备的编辑能力(例如能力403、能力404等)或第二电子设备的编辑能力(例如能力401、能力402等)中的任意一个或多个,响应于用户的第三操作,第一电子设备也可以基于第一电子设备的编辑能力、第二电子设备的编辑能力或第三电子设备的编辑能力中的任意一个或多个继续对大图323进行编辑,得到编辑后的大图323。第一电子设备还可以向用户提示编辑后的大图323,示例性的,第一电子设备可以将编辑后的大图323显示在显示界面201。第一电子设备还可以将编辑后的大图323发送给第二电子设备或第三电子设备中的任意一个或多个。由于第一电子设备请求第三电子设备对图像进行编辑后,可以在第一电子设备对编辑后的图像进行接续编辑,提高了用户编辑图像的灵活性,提升了用户的体验。
本申请实施例中,当第二电子设备接收大图323,用户也可以在第二电子设备基于第一电子设备的编辑能力、第二电子设备的编辑能力或第三电子设备的编辑能力中的任意一个或多个继续对大图323进行接续编辑;用户也可以在第三电子设备基于第一电子设备的编辑能力、第二电子设备的编辑能力或第三电子设备的编辑能力中的任意一个或多个继续对大图323进行接续编辑。由于用户在第二电子设备或第三电子设备对大图323进行接续编辑的方式和用户在第一电子设备对大图323进行接续编辑的方式一致,具体参见前述实施例中的描述,此处不再赘述。
需要说明的是,在一些实施例中,第一电子设备、第二电子设备或第三电子设备中的任意一个可以使用三者中的任意一个或多个的编辑能力对三者中的任意一个或多个的图像进行编辑,由于具体的三个电子设备之间的编辑能力和编辑资源流转的方式和上述实施例一致,此处不再赘述。
还需要说明的是,第一电子设备、第二电子设备或第三电子设备中的任意两个电子设备之间的编辑能力和编辑资源流转的方式参见上述相关实施例的具体描述,此处不再赘述。
如图7所示为本申请实施例提供的另一组GUI。
如图5中的(c)所示,第一电子设备的显示界面201可以显示第二电子设备的相册文件夹。当第一电子设备检测到用户选择显示界面201上的相机文件夹311,示例性的,如图7中的(a)所示,第一电子设备的显示界面201可以显示相机文件夹311的缩略图数据。其中,第一电子设备获取第二电子设备的缩略图数据的方式参见上述其他实施例的具体描述,此处不再赘述。
如图7中的(a)所示为本申请实施例提供的一种GUI,包括第一电子设备和第二电子设备,第一电子设备可以包括显示界面201,显示界面201可以显示相机文件夹311中保存的照片和视频的缩略图,用户可以通过向上滑动屏幕来查看相机文件夹311中保存的照片和视频的缩略图。
在一种可能的实施例中,当第一电子设备检测到用户选择显示界面201上的缩略图331,第一电子设备可以向第二电子设备发送请求信息,该请求信息用于请求第二电子设备的缩略图331对应的大图332。当第二电子设备接收到第一电子设备的请求信息,第二电子设备可以将大图332的数据发送给第一电子设备,示例性的,如图7中的(b)所示,第一电子设备的显示界面201可以显示大图332。其中,第一电子设备获取第二电子设备的缩略图数据的方式参见上述其他实施例的具体描述,此处不再赘述。
如图7中的(b)所示为本申请实施例提供的另一种GUI,包括第一电子设备、第二电子设备和第三电子设备,第一电子设备可以包括显示界面201,显示界面201可以显示大图332和编辑图标203。当第一电子设备检测到用户的第一操作,响应于第一操作,第一电子设备可以分别向第二电子设备和第三电子设备发送第一请求信息和第二请求信息,该第一请求信息和第二请求信息分别用于向第二电子设备和第三电子设备请求能力信息。示例性的,电子设备的编辑能力可以是通过运行软件包或者程序库文件中的任意一种实现的,例如动态链接库(Dynamic Link Library,dll)文件、安卓应用包(Android application package,APK)等,当第二电子设备和第三电子设备分别接收到该第一请求信息和第二请求信息,第二电子设备和第三电子设备可以分别将第一能力信息和第二能力信息对应的编辑能力的软件包或者程序库文件中的至少一种发送给第一电子设备,其中,第一能力信息可以包括一个或多个功能的软件包或程序库文件中的任意一种或多种,示例性的,第一能力信息可以包括能力401的软件包或程序库文件中的任意一种或多种和能力402的软件包或程序库文件中的任意一种或多种;第二能力信息也可以包括一个或多个功能的软件包或程序库文件中的任意一种或多种,示例性的,第二能力信息可以包括能力405的软件包或程序库文件中的任意一种或多种和能力406的软件包或程序库文件中的任意一种或多种。当第一电子设备接收第二电子设备和第三电子设备的任意一个或多个的编辑能力的软件包和/或程序库文件,第一电子设备可以保存该编辑能力的软件包和/或程序库文件及其来源,第一电子设备也可以在显示界面201显示各编辑能力,示例性的,如图7中的(c)所示,第一电子设备的显示界面201可以显示大图332以及功能401、功能402、功能403、功能404、功能405和功能406。其中,第一操作可以参考前述相关实施例中的描述,此处不再赘述。
在本申请实施例中,当第一电子设备检测到用户的第一操作,第一电子设备还可以向第二电子设备和第三电子设备中的至少一个发送第一电子设备的编辑能力的软件包和/或程序库文件,第二电子设备和第三电子设备也可以互相发送各自的编辑能力对应的的软件包和/或程序库文件,可以扩展电子设备的能力边界。其中,第一操作可以参考前述相关实施例中的 描述,此处不再赘述。
在一些实施例中,第一电子设备检测到用户的第一操作时,当第一电子设备、第二电子设备和第三电子设备在用户通过第一操作选择显示界面201上的编辑图标203前已互相发送编辑能力的软件包和/或程序库文件,第一电子设备不向第二电子设备和第三电子设备请求的软件包和/或程序库文件。可以避免第一电子设备重复向第二电子设备和第三电子设备请求能力信息,减少电子设备间的信息交互,降低电子设备的功耗。
本申请实施例中,第一电子设备接收到第二电子设备和第三电子设备发送的编辑能力的软件包和/或程序库文件时,当各电子设备具有同一种编辑能力,第一电子设备可以比较各个电子设备的该种编辑能力,存储能力更强的该种编辑能力的软件包和/或程序库文件,可以扩展和提高电子设备的编辑能力。其中,对能力更强的编辑能力的描述可以参考前述实施例中的相关描述,此处不再赘述。
如图7中的(c)所示为本申请实施例提供的一种GUI,第一电子设备包括显示界面201,显示界面201显示有大图332以及功能401、功能402、功能403、功能404、功能405和功能406。第一电子设备可以使用功能401、功能402、功能403、功能404、功能405或功能406中的任意一个或多个功能对大图332进行处理,示例性的,当第一电子设备检测到用户的第二操作,其中,第二操作可以为用户选择功能406的操作,第一电子设备可以运行功能406的软件包和/或程序库文件对大图332进行编辑,得到大图333。其中,功能401、功能402、功能403、功能404、功能405、功能406和第二操作可以参考前述相关实施例中的描述,此处不再赘述。
在另一种可能的实施例中,当第一电子设备检测到用户选择显示界面201上的缩略图331,第一电子设备可以向第二电子设备请求第二电子设备的缩略图331对应的大图332;当第二电子设备接收到第一电子设备的请求信息,第二电子设备可以将大图332的数据发送给第一电子设备。示例性的,如图7中的(b)所示,第一电子设备的显示界面201可以显示大图332。当第一电子设备检测到用户选择大图332,第一电子设备可以获取第二电子设备或第三电子设备中的任意一个或多个的能力信息,示例性的,如图7中的(c)所示,第一电子设备的显示界面201可以显示大图332以及功能401、功能402、功能403、功能404、功能405和功能406。第一电子设备可以使用功能401、功能402、功能403、功能404、功能405或功能406中的任意一个或多个对大图332进行处理,示例性的,当第一电子设备检测到用户的第二操作,响应于用户的第二操作,第一电子设备可以运行功能406的软件包和/或程序库文件对大图332进行编辑,得到大图333。具体参见上述实施例的描述,此处不再赘述。
如图7中的(d)所示为本申请实施例提供的一种GUI,包括第一电子设备和第二电子设备,当第一电子设备基于功能406对大图332进行编辑,得到大图333,第一电子设备可以向用户提示大图333,示例性的,第一电子设备可以将大图333显示在显示界面201,第一电子设备还可以将大图333发送给第二电子设备和第三电子设备。
本申请实施例中,当第二电子设备收到大图333,第二电子设备也可以向用户提示大图333(例如将大图333显示在第二电子设备的显示界面)。
本申请实施例中,显示界面201还可以包括图标204,当第一电子设备基于功能406对大图332进行编辑,得到编辑后的大图333,用户还可以通过选择图标204保存大图333,示例性的,当第一电子设备检测到用户选择图标204,第一电子设备可以保存大图333,第一电子设备也可以用大图333替换和大图333对应的编辑前的大图332。
在一些实施例中,当第二电子设备接收大图333,第二电子设备可以保存大图333,第二 电子设备也可以用大图333替换和大图333对应的编辑前的大图332;当第三电子设备接收大图333,第三电子设备可以保存大图333,第三电子设备也可以用大图333替换和大图333对应的编辑前的大图332。
本申请实施例中,在第一电子设备、第二电子设备或第三电子设备的任意一个或多个,用户可以基于第一电子设备的编辑能力、第二电子设备的编辑能力或第三电子设备的编辑能力中的任意一个或多个对大图333进行接续编辑。具体参见前述实施例中的描述,此处不再赘述。
本申请实施例中,由于第二电子设备和第三电子设备可以将编辑能力的软件包或者程序库文件中的至少一种发送给第一电子设备,第一电子设备可以通过运行编辑能力的软件包和/或程序库文件获得第二电子设备和第三电子设备的编辑能力,编辑能力和编辑资源可以在第一电子设备、第二电子设备和第三电子设备之间进行流转,用户可以直接在第一电子设备使用第三电子设备的能力对第二电子设备的图像进行编辑,而不需要通过将图像发送给第三电子设备进行编辑,扩展了电子设备的能力边界,节省了图像发送和回传的时间,用户无需同时操作第一电子设备、第二电子设备和第三电子设备,简化了用户的操作步骤,提高了用户的操作效率,提升了用户的体验。
需要说明的是,在一些实施例中,第一电子设备、第二电子设备或第三电子设备中的任意一个可以使用三者中的任意一个或多个的编辑能力对三者中的任意一个或多个的图像进行编辑,由于具体的三个电子设备之间的编辑能力和编辑资源流转的方式和上述实施例一致,此处不再赘述。
还需要说明的是,第一电子设备、第二电子设备或第三电子设备中的任意两个电子设备之间的编辑能力和编辑资源流转的方式参见上述相关实施例的具体描述,此处不再赘述。
如图8所示为本申请实施例提供的另一组GUI。
如图5中的(g)所示,当第一电子设备基于功能403对大图313进行编辑,可以得到编辑后的大图314,第一电子设备可以将大图314发送给第二电子设备,此时大图314对应的缩略图为缩略图315。
如图8中的(a)所示为本申请实施例提供的第三电子设备的一种GUI,包括第三电子设备,第三电子设备可以包括显示界面411,显示界面411可以显示图库应用图标202,当第三电子设备检测到用户选择显示界面411上的图库应用图标202,示例性的,如图8中的(b)所示,第三电子设备可以打开图库应用。
如图8中的(b)所示为本申请实施例提供的第三电子设备的另一种GUI,第三电子设备包括显示界面411,显示界面411包括其他设备图标220、文件夹310和文件夹510,其中,文件夹310为华为平板M11的相册文件夹,华为平板M11为第二电子设备;文件夹510为华为手机P40的相册文件夹,华为手机P40为第一电子设备。当第三电子设备检测到用户选择文件夹310,第三电子设备可以向第二电子设备发送请求信息,该请求信息用于请求第二电子设备的相册文件夹数据。当第二电子设备接收到第三电子设备的请求信息,第二电子设备可以将相册文件夹数据发送给第三电子设备,示例性的,如图8中的(c)所示,第三电子设备的显示界面411可以显示相机文件夹311的缩略图数据。
如图8中的(c)所示为本申请实施例提供的另一种GUI,包括第三电子设备,第三电子设备可以包括显示界面411,显示界面411可以显示大图314对应的缩略图315,当第三电子 设备检测到用户选择显示界面411上的缩略图315,第三电子设备可以向第二电子设备发送请求信息,该请求信息用于请求第二电子设备的缩略图315对应的大图314。
在一种可能的实施例中,当第二电子设备接收到第三电子设备的请求信息,第二电子设备可以将大图314的数据发送给第三电子设备,示例性的,如图8中的(d)所示,第三电子设备的显示界面411可以显示缩略图315对应的大图314。
如图8中的(d)所示为本申请实施例提供的另一种GUI,包括第一电子设备、第二电子设备和第三电子设备,第三电子设备可以包括显示界面411,显示界面411可以显示大图314和编辑图标203,当第三电子设备检测到用户的第六操作,其中,第六操作可以为用户选择显示界面411上的编辑图标203,响应于用户的第六操作,第三电子设备可以分别向第一电子设备和第二电子设备发送第五请求信息和第六请求信息,该第五请求信息和第六请求信息分别用于向第一电子设备和第二电子设备请求编辑能力信息。当第一电子设备和第二电子设备分别接收到该第五请求信息和第六请求信息后,第一电子设备和第二电子设备可以分别向第三电子设备发送第三能力信息和第一能力信息。其中,第一能力信息可以包括一个或多个功能,示例性的,第一能力信息可以包括能力401和能力402;第三能力信息也可以包括一个或多个功能,示例性的,第二能力信息可以包括能力403和能力404。用户还可以定义编辑模板,能力信息还可以包括用户定义的编辑模板,编辑模板可以是功能401、功能402、功能403、功能404、功能405和功能406中的任意一种或多种能力的组合,编辑模板A可以是功能401和功能405的组合,编辑模板A来自于第二电子设备;编辑模板B可以是功能403和功能404的组合,编辑模板B来自于第一电子设备。当第三电子设备接收到第一电子设备和第二电子设备分别发送的第三能力信息和第一能力信息,第三电子设备可以整合各电子设备的编辑能力信息,第三电子设备可以存储各编辑能力信息及其来源,第三电子设备也可以在显示界面411显示各编辑能力,示例性的,如图8中的(e)所示,第三电子设备的显示界面411可以显示大图314、编辑模板A、编辑模板B、编辑模板C以及功能401、功能402、功能403、功能404、功能405和功能406。其中,编辑模板C可以是功能404和功能406的组合,编辑模板C来自于第三电子设备。由于用户可以在第三电子设备使用第一电子设备和第二电子设备的编辑模板,省去了用户定义模板的时间,且用户可以通过编辑模板对图像、视频或文档等资源进行编辑,通过使用编辑模板,用户编辑图像、视频或文档等可以更方便快捷,提升了用户的体验。其中,功能401、功能402、功能403、功能404、功能405和功能406可以参考前述相关实施例中的描述,此处不再赘述。
本申请实施例中,当第三电子设备检测到用户的第六操作,第三电子设备还可以向第一电子设备和第二电子设备中的任意一个或多个发送第三电子设备的编辑能力信息,第一电子设备和第二电子设备之间也可以互相发送能力信息。可以扩展电子设备的能力边界。其中,第六操作可以参考前述相关实施例中的描述,此处不再赘述。
在一些实施例中,第三电子设备检测到用户的第六操作,当第一电子设备、第二电子设备和第三电子设备在第三电子设备检测到用户的第六操作前已互相发送编辑能力信息,第三电子设备不向第一电子设备和第二电子设备请求编辑能力。可以避免第三电子设备重复向第一电子设备和第二电子设备请求能力信息,减少电子设备间的信息交互,降低电子设备的功耗。
本申请实施例中,第三电子设备接收到第一电子设备和第二电子设备发送的编辑能力信息时,当各电子设备具有同一种编辑能力,第三电子设备可以比较各个电子设备的该种编辑能力,存储能力更强的该种编辑能力的信息,可以扩展和提高电子设备的编辑能力。其中, 对能力更强的编辑能力的描述可以参考前述实施例中的相关描述,此处不再赘述。
如图8中的(e)所示为本申请实施例提供的第三电子设备的另一种GUI。第三电子设备可以包括显示界面411,显示界面411可以显示大图314、功能401、功能402、功能403、功能404、功能405和功能406以及编辑模板A、编辑模板B和编辑模板C。第三电子设备可以使用功能401、功能402、功能403、功能404、功能405、功能406、编辑模板A、编辑模板B或编辑模板C中的任意一个或多个功能对大图314进行处理,示例性的,当第三电子设备检测到用户的第七操作,其中,第七操作可以为用户选择能力406,响应于用户的第七操作,第三电子设备可以基于功能406对大图314进行编辑,得到大图316。其中,功能401、功能402、功能405、功能406、功能403、功能404、编辑模板A、编辑模板B、编辑模板C以及第二操作可以参考前述相关实施例中的描述,此处不再赘述。
在另一种可能的实施例中,当第二电子设备接收到第三电子设备的请求信息,第二电子设备可以将大图314的数据发送给第三电子设备,示例性的,如图8中的(d)所示,第三电子设备的显示界面411可以显示缩略图315对应的大图314。当第三电子设备检测到用户选择大图314,第三电子设备可以获取第二电子设备或第一电子设备中的任意一个或多个的能力信息,示例性的,如图8中的(e)所示,第三电子设备的显示界面411可以显示缩略图315对应的大图314、功能401、功能402、功能403、功能404、功能405和功能406以及编辑模板A、编辑模板B和编辑模板C。第三电子设备可以使用功能401、功能402、功能403、功能404、功能405、功能406、编辑模板A、编辑模板B或编辑模板C中的任意一个或多个功能对大图314进行处理,示例性的,当第三电子设备检测到用户的第七操作,响应于用户的第七操作,第三电子设备可以基于功能406对大图314进行编辑,得到大图316。具体参见上述实施例的具体描述,此处不再赘述。
如图8中的(f)所示为本申请实施例提供的另一种GUI,包括第三电子设备和第二电子设备,当第三电子设备基于功能406对大图314进行编辑,得到大图316,第三电子设备可以向用户提示大图316,示例性的,第三电子设备可以将大图316显示在显示界面411。第三电子设备还可以将大图316发送给第一电子设备和第二电子设备。
本申请实施例中,当第二电子设备收到大图316,第二电子设备也可以向用户提示大图316(例如将大图316显示在第二电子设备的显示界面)。
本申请实施例中,显示界面411还可以包括图标204,当第三电子设备基于功能406对大图314进行编辑,得到大图316,用户还可以通过选择图标204保存大图316,示例性的,当第三电子设备检测到用户选择图标204,第三电子设备可以保存大图316,第三电子设备也可以用大图316替换和大图316对应的编辑前的大图314。
在一些实施例中,第三电子设备向第二电子设备发送大图316时,当第二电子设备接收大图316,第二电子设备可以保存大图316,第二电子设备也可以用大图316替换和大图316对应的编辑前的大图314;第三电子设备向第一电子设备发送大图316时,当第一电子设备接收大图316,第一电子设备可以保存大图316,第一电子设备也可以用大图316替换和大图316对应的编辑前的大图314。
本申请实施例中,在第一电子设备、第二电子设备或第三电子设备的任意一个或多个,用户可以基于第一电子设备的编辑能力、第二电子设备的编辑能力或第三电子设备的编辑能力中的任意一个或多个对大图316进行接续编辑。具体参见前述实施例中的描述,此处不再赘述。
本申请实施例中,第一电子设备基于功能403对大图313进行编辑,得到编辑后的大图314,第三电子设备继续对第一电子设备编辑后的大图314进行编辑,得到编辑后的大图316。由于用户在第一电子设备对图像进行编辑后,可以在第三电子设备对编辑后的图像接续编辑,提高了用户编辑图像的灵活性,提升了用户的体验。
需要说明的是,在一些实施例中,针对第一电子设备、第二电子设备或第三电子设备中的任意一个或多个的图像资源,第一电子设备、第二电子设备或第三电子设备中的任意一个或多个可以使用三者中的任意一个或多个电子设备的编辑能力对该图像资源进行编辑,或对该图像资源进行接续编辑,由于三个电子设备之间对图像进行编辑的方式,或对图像进行接续编辑的方式和上述实施例一致,此处不再赘述。
还需要说明的是,上述编辑资源除了图像以外,还可以是视频、文档等资源,上述编辑能力还可以是视频编辑能力(例如视频拼接、视频裁剪、视频加速、视频减速等功能)、文档编辑能力(例如文档翻译、文档纠错、更改文档字体等功能)等能力,本申请实施例对此不作具体限制。
如图9所示为本申请实施例提供的另一种电子设备的结构示意图。
本申请实施例中,电子设备可以包括应用程序层、数据库、能力中心和内部模块,其中,应用程序层可以包括图库应用、相机应用、文档应用等;数据库可以存储电子设备的数据,可以包括本设备和其他电子设备的数据,例如图像、视频、音频、文档等数据;能力中心可以存储电子设备的能力信息,可以包括本设备和其他电子设备的能力信息,例如图像编辑能力、视频编辑能力、音频编辑能力、文档编辑能力等;内部模块可以包括网络连接模块、事件处理模块和GUI模块。本设备可以和其他电子设备通过网络连接模块建立通信连接;事件处理模块可以用于生成相应的事件,本设备的事件处理模块可以通过网络连接模块将本设备生成的事件发送给其他电子设备,本设备的事件处理模块也可以通过网络连接模块接收其他电子设备对事件的处理结果;本设备的事件处理模块可以通过网络连接模块接收其他电子设备生成的事件,本设备的事件处理模块还可以通过网络连接模块将本设备对事件的处理结果发送给其他电子设备;GUI模块可以用于显示本设备对事件的处理结果,GUI模块也可以用于显示其他电子设备对事件的处理结果。
在本申请实施例中,通过网络连接模块,本设备和其他电子设备可以建立通信连接。事件处理模块可以生成相应的事件,当本设备和其他电子设备建立通信连接,本设备的事件处理模块可以通过网络连接模块将生成的事件发送给其他电子设备的事件处理模块,其他电子设备的事件处理模块可以通过网络连接模块接收事件并对事件进行处理,本设备的事件处理模块可以通过网络连接模块接收其他电子设备的事件处理模块对事件的处理结果。
在一些实施例中,本设备的事件处理模块可以通过网络连接模块接收其他电子设备生成的事件,该事件可以是其他电子设备请求向本设备传输数据(例如图像数据、视频数据、文档数据等),基于该事件,本设备的事件处理模块可以调用数据库存储从其他电子设备接收到的数据;该事件也可以是其他电子设备请求获取本设备数据库存储的数据,基于该事件,本设备的事件处理模块可以调用数据库存储的数据并发送给其他电子设备。
在一些实施例中,本设备的事件处理模块可以通过网络连接模块接收其他电子设备生成的事件,该事件可以是其他电子设备请求本设备调用本设备能力对事件进行处理,当本设备的事件处理模块收到该事件,本设备的事件处理模块可以调用能力中心中对应的能力的接口对事件进行处理。
在一些实施例中,本设备的事件处理模块可以通过网络连接模块将本设备生成的事件发送给其他电子设备,该事件可以是本设备请求向其他电子设备传输数据,本设备的事件处理模块可以调用数据库存储的数据并发送给其他电子设备;该事件也可以是本设备请求获取其他电子设备数据库存储的数据,本设备的事件处理模块可以向其他电子设备发送获取数据的请求。
如图10所示为本申请实施例提供的一种共享编辑能力的方法1000的示意性流程图。如图10所示,该方法1000包括但不限于步骤S101至S104。下面对该方法1000的方法流程进行详细介绍。:
S101、第一电子设备、第二电子设备和第三电子设备之间建立连接。
本申请实施例中,第一电子设备、第二电子设备和第三电子设备之间可以建立有线连接,有线连接可以为通用串行总线(uniersalserialbus,USB)连接。
本申请实施例中,第一电子设备、第二电子设备和第三电子设备之间可以建立无线连接,例如WLAN连接或蓝牙连接。第一电子设备、第二电子设备和第三电子设备可以包括WLAN模块,第一电子设备、第二电子设备和第三电子设备可以通过WLAN模块扫描打开WLAN功能的其他电子设备,当本设备的WLAN模块扫描到其他电子设备,本设备可以和其他电子设备建立通信连接;本设备也可以通过蓝牙模块扫描打开蓝牙功能的其他电子设备,当本设备扫描到其他电子设备,本设备可以和其他电子设备建立通信连接。
本申请实施例中,第一电子设备、第二电子设备和第三电子设备之间也可以通过互联网建立通信连接;第一电子设备、第二电子设备和第三电子设备还可以连接到服务器,通过服务器进行通信。
本申请实施例中,第一电子设备、第二电子设备和第三电子设备之间还可以通过扫描二维码建立通信连接。本设备可以通过扫描其他电子设备的二维码和其他电子设备建立通信连接。
需要说明的是,第一电子设备、第二电子设备和第三电子设备也可以结合上述任意几种方式建立通信连接,本申请实施例对第一电子设备、第二电子设备和第三电子设备之间建立通信连接的方式不做具体限制。
本申请实施例中,当第一电子设备、第二电子设备和第三电子设备之间建立通信连接,第一电子设备、第二电子设备和第三电子设备中的任意一个电子设备可以获取其他电子设备的设备登录信息,根据其他电子设备的设备登录信息,可以确定和其他电子设备是否属于同一账号或同一家庭群组下。
本申请实施例中,第一电子设备、第二电子设备和第三电子设备中的任意一个电子设备还可以调用轻量计算平台接口生成二维码,电子设备可以通过扫描其他电子设备生成的二维码对其他电子设备进行认证。
示例性的,当第一电子设备对第二电子设备进行认证,第一电子设备可以通过扫描第二电子设备生成的二维码,获取第二电子设备的媒体接入控制(media access control,MAC)地址、网络互连协议(internet protocol,IP)地址、公钥等信息,第一电子设备可以使用第二电子设备的公钥信息对第一电子设备的公钥进行加密并发送给第二电子设备。第二电子设备可以使用第二电子设备的公钥对加密后的第一电子设备的公钥进行解密,从而获得第一电子设备的公钥。从而完成第二电子设备和第一电子设备之间的认证。
S102、第一电子设备获取第一内容,当第一电子设备检测到用户的第一操作,第一电子 设备分别向第二电子设备和第三电子设备发送第一请求信息和第二请求信息,该第一请求信息和第二请求信息分别用于向第二电子设备和第三电子设备请求能力信息。
本申请实施例中,第一电子设备获取的第一内容可以来自于本设备。示例性的,基于图4中的(d)-(f),第一内容可以为大图232,当用户选择显示界面201上的缩略图231,第一电子设备可以获取第一电子设备存储的缩略图231对应的大图232。
本申请实施例中,第一电子设备获取的第一内容也可以来自于其他电子设备,例如第二电子设备或第三电子设备中的任意一个或多个。示例性的,基于图5中的(d)-(e),第一内容可以为大图313,当用户选择显示界面201上的缩略图312,第一电子设备可以获取第二电子设备存储的缩略图312对应的大图313。
本申请实施例中,当第一电子设备检测到用户的第一操作,第一电子设备可以分别向第二电子设备和第三电子设备发送第一请求信息和第二请求信息,该第一请求信息和第二请求信息分别用于向第二电子设备和第三电子设备请求能力信息。
示例性的,如图6中的(e)所示,第一操作可以为用户选择显示界面201上的编辑图标203的操作,响应于用户的第一操作,第一电子设备可以分别向第二电子设备和第三电子设备发送第一请求信息和第二请求信息,该第一请求信息和第二请求信息分别用于向第二电子设备和第三电子设备请求能力信息,响应于该第一请求消息,第二电子设备可以向第一电子设备发送第一能力信息;响应于该第二请求消息,第三电子设备可以向第一电子设备发送第二能力信息。示例性的,第一电子设备可以通过事件处理模块生成第一请求信息和第二请求信息,该第一请求信息和第二请求信息分别用于向第二电子设备和第三电子设备请求能力信息;第一电子设备可以通过网络连接模块将第一请求信息和第二请求信息分别发送给第二电子设备和第三电子设备的事件处理模块,响应于该第一请求信息,第二电子设备的事件处理模块可以调用能力中心中对应能力的接口获取对应能力的信息,第二电子设备的事件处理模块可以通过网络连接模块将能力信息发送给第一电子设备;响应于该第二请求信息,第三电子设备的事件处理模块可以调用能力中心中对应能力的接口获取对应能力的信息,第三电子设备的事件处理模块可以通过网络连接模块将能力信息发送给第一电子设备。当第一电子设备的事件处理模块接收到其他电子设备的能力信息,第一电子设备可以通过GUI模块显示该能力信息。
在一些实施例中,如图7中的(b)所示,第一操作可以为用户选择显示界面201上的编辑图标203的操作,响应于用户的第一操作,第一电子设备可以向请求能力信息,第二电子设备和第三电子设备可以向第一电子设备发送能力信息。示例性的,第一电子设备可以通过事件处理模块生成第一请求信息和第二请求信息,该第一请求信息和第二请求信息分别用于向第二电子设备和第三电子设备请求能力信息;第一电子设备可以通过网络连接模块将第一请求信息和第二请求信息分别发送给第二电子设备和第三电子设备的事件处理模块,响应于该第一请求信息,第二电子设备的事件处理模块可以通过调用能力中心中对应能力的接口获取对应能力的软件包或程序库文件中的任意一种或多种,第二电子设备可以通过事件处理模块将获取到的能力的软件包或程序库文件中的任意一种或多种发送给第一电子设备;响应于该第二请求信息,第三电子设备的事件处理模块可以通过调用能力中心中对应能力的接口获取对应能力的软件包或程序库文件中的任意一种或多种,第三电子设备可以通过事件处理模块将获取到的能力的软件包或程序库文件中的任意一种或多种发送给第一电子设备。当第一电子设备的事件处理模块接收到其他电子设备的能力的软件包或程序库文件中的任意一种或多种,第一电子设可以通过GUI模块显示该能力信息。
S103、当第一电子设备检测到用户的第二操作,第一电子设备对第一内容进行处理,并呈现处理结果。
本申请实施例中,当第一电子设备检测到用户的第二操作,第一电子设备可以基于本设备的能力对第一内容进行处理,第一电子设备也可以向第二电子设备或第三电子设备中的至少一个发送第一内容和第三请求信息,该第三请求信息用于请求第二电子设备或第三电子设备中的任意一个对第一内容进行处理。
示例性的,如图6中的(f)所示,第一内容为大图322,大图322来自于第二电子设备。当第一电子设备检测到用户的第二操作,第二操作可以为用户选择显示界面201上的功能406的操作,其中,功能406来自于第三电子设备,响应于用户的第二操作,第一电子设备可以向第三电子设备发送大图322的数据以及第三请求信息,该第三请求信息用于请求第三电子设备基于功能406对大图322进行编辑,响应于第三请求信息,第三电子设备基于功能406对大图322进行编辑,得到编辑后的大图323,第三电子设备可以将大图323发送给第一电子设备和第二电子设备。
本申请实施例中,当第一电子设备收到第一内容的处理结果,第一电子设备可以通过GUI模块显示第一内容的处理结果。
上述实施例中的一种能力调用方法,用户可以在第一电子设备使用第二电子设备或第三电子设备中的任意一个或多个的编辑能力对第一电子设备、第二电子设备或第三电子设备中的任意一个或多个的数据进行编辑,用户也可以在第一电子设备使用第一电子设备的编辑能力对第一电子设备、第二电子设备或第三电子设备中的任意一个或多个的数据进行编辑,扩展了电子设备的能力边界,用户不需要同时操作第一电子设备、第二电子设备和第三电子设备,简化了用户的操作步骤,提高了用户的操作效率,提升了用户的体验。
本申请实施例提供了一种电子设备。该电子设备包括:一个或多个处理器,一个或多个存储器,该一个或多个存储器存储存储有一个或多个计算机程序,该一个或多个计算机程序包括指令。当该指令被所述一个或多个处理器运行时,使得第一电子设备、第二电子设备或者第三电子设备执行上述实施例中的技术方案。
本申请实施例提供了一种系统,包括第一电子设备、第二电子设备和第三电子设备,该系统用于执行上述实施例中的技术方案。其实现原理和技术效果与上述方法相关实施例类似,此处不再赘述。
本申请实施例提供一种计算机程序产品,当所述计算机程序产品在第一电子设备(或者,上述实施例中的手机)运行时,使得第一电子设备执行上述实施例中的技术方案。其实现原理和技术效果与上述方法相关实施例类似,此处不再赘述。
本申请实施例提供一种计算机程序产品,当所述计算机程序产品在第二电子设备(或者,上述实施例中的平板)运行时,使得第二电子设备执行上述实施例中的技术方案。其实现原理和技术效果与上述方法相关实施例类似,此处不再赘述。
本申请实施例提供一种计算机程序产品,当所述计算机程序产品在第三电子设备(或者,上述实施例中的智慧屏)运行时,使得第三电子设备执行上述实施例中的技术方案。其实现原理和技术效果与上述方法相关实施例类似,此处不再赘述。
本申请实施例提供一种可读存储介质,所述可读存储介质包含指令,当所述指令在第一电子设备(或者,上述实施例中的手机)运行时,使得所述第一电子设备执行上述实施例的技术方案。其实现原理和技术效果类似,此处不再赘述。
本申请实施例提供一种可读存储介质,所述可读存储介质包含指令,当所述指令在第二电子设备(或者,上述实施例中的平板)运行时,使得所述第二电子设备执行上述实施例的技术方案。其实现原理和技术效果类似,此处不再赘述。
本申请实施例提供一种可读存储介质,所述可读存储介质包含指令,当所述指令在第三电子设备(或者,上述实施例中的智慧屏)运行时,使得所述第三电子设备执行上述实施例的技术方案。其实现原理和技术效果类似,此处不再赘述。
本申请实施例提供一种芯片,所述芯片用于执行指令,当所述芯片运行时,执行上述实施例中的技术方案。其实现原理和技术效果类似,此处不再赘述。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
还需要说明的是,在本发明实施例中,诸如第一、第二、第三等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或者操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者任何其他涵盖非排他性的包含,从而使得包括一系列要素的方法或者设备不仅仅包括那些要素,而且还包括没有明确列出的其他要素,或者还包括为这种方法或者设备所固有的要素。在没有更多限制的情况下,由语句“包括…”、“包含…”限定的要素,并不排除在包括所述要素的方法或者设备中还存在另外的相同要素。
以上所述,仅为本实施例的具体实施方式,但本实施例的保护范围并不局限于此,任何在本实施例揭露的技术范围内的变化或替换,都应涵盖在本实施例的保护范围之内。因此,本实施例的保护范围应以所述权利要求的保护范围为准。

Claims (30)

  1. 一种系统,所述系统包括第一电子设备、第二电子设备和第三电子设备,其特征在于,
    所述第一电子设备,用于与所述第二电子设备和所述第三电子设备建立网络连接,所述网络连接用于传输数据;
    所述第一电子设备,用于在检测到用户的第一操作时,向所述第二电子设备和所述第三电子设备分别发送第一请求信息和第二请求信息,所述第一请求信息用于向所述第二电子设备请求第一能力信息,所述第二请求信息用于向所述第三电子设备请求第二能力信息;
    所述第二电子设备,用于根据所述第一请求信息,向所述第一电子设备发送所述第一能力信息,所述第一能力信息中包括一个或多个功能,所述一个或多个功能中包括第一功能;
    所述第三电子设备,用于根据所述第二请求信息,向所述第一电子设备发送所述第二能力信息,所述第二能力信息中包括一个或多个功能,所述一个或多个功能中包括第二功能;
    所述第一电子设备,还用于在检测到用户的第二操作时,使用所述第二功能对所述第一内容进行处理,得到第一处理结果;
    所述第一电子设备,还用于向用户提示所述第一处理结果。
  2. 根据权利要求1所述的系统,其特征在于,
    所述第一电子设备,还用于在检测到用户的第二操作时,使用所述第二功能对所述第一内容进行处理,得到第一处理结果,包括:所述第一电子设备,还用于在检测到用户的第二操作时,向所述第三电子设备发送所述第一内容和第三请求信息,所述第三请求信息用于请求所述第三电子设备使用所述第二功能对所述第一内容进行处理;所述第三电子设备,还用于根据所述第三请求信息,使用所述第二功能对所述第一内容进行处理,得到所述第一处理结果,并向所述第一电子设备发送所述第一处理结果;
    所述第一电子设备,还用于向用户提示所述第一处理结果,包括:所述第一电子设备,还用于接收所述第一处理结果,并向用户提示所述第一处理结果。
  3. 根据权利要求1所述的系统,其特征在于,
    所述第二电子设备,用于向所述第一电子设备发送所述第一能力信息,所述第一能力信息中包括一个或多个功能,所述一个或多个功能中包括第一功能,包括:所述第二电子设备,用于向所述第一电子设备发送所述第一能力信息,所述第一能力信息中包括一个或多个功能的软件包或程序库文件中的任意一种或多种,所述一个或多个功能的软件包或程序库文件中包括所述第一功能的软件包或程序库文件中的任意一种或多种;
    所述第三电子设备,用于向所述第一电子设备发送所述第二能力信息,所述第二能力信息中包括一个或多个功能,所述一个或多个功能中包括第二功能,包括:所述第三电子设备,用于向所述第一电子设备发送所述第二能力信息,所述第二能力信息中包括一个或多个功能的软件包或程序库文件中的任意一种或多种,所述一个或多个功能的软件包或程序库文件中包括所述第二功能的软件包或程序库文件中的任意一种或多种;
    所述第一电子设备,还用于在检测到用户的第二操作时,使用所述第二功能对所述第一内容进行处理,得到第一处理结果,包括:所述第一电子设备,还用于在检测到用户的第二操作时,运行所述第二功能的软件包或程序库文件中的任意一种或多种对所述第一内容进行处理,得到所述第一处理结果。
  4. 根据权利要求1至3任一项所述的系统,其特征在于,
    所述第一电子设备,还用于接收所述第一处理结果后,在检测到用户的第三操作时,使用第三功能对所述第一处理结果进行处理,得到第二处理结果,所述第三功能来自于所述第一电子设备;
    所述第一电子设备,还用于使用所述第三功能对所述第一处理结果进行处理后,向所述第二电子设备或所述第三电子设备中的任意一个或多个发送所述第二处理结果;
    所述第一电子设备,还用于向用户提示所述第二处理结果。
  5. 根据权利要求1至3任一项所述的系统,其特征在于,
    所述第一内容来自于所述第一电子设备、所述第二电子设备或所述第三电子设备中的任意一个。
  6. 根据权利要求1所述的系统,其特征在于,
    所述第一电子设备,还用于在检测到用户的第四操作时,使用所述第一功能对第二内容进行处理,得到第三处理结果;
    所述第一电子设备,还用于向用户提示所述第三处理结果。
  7. 根据权利要求6所述的系统,其特征在于,
    所述第一电子设备,还用于在检测到用户的第四操作时,使用所述第一功能对所述第二内容进行处理,得到第三处理结果,包括:所述第一电子设备,还用于在检测到用户的第四操作时,向所述第二电子设备发送第二内容和第四请求信息,所述第四请求信息用于请求所述第二电子设备使用所述第一功能对所述第二内容进行处理;所述第二电子设备,还用于根据所述第四请求信息,使用所述第一功能对所述第二内容进行处理,得到所述第三处理结果,并向所述第一电子设备发送所述第三处理结果;
    所述第一电子设备,还用于向用户提示所述第三处理结果,包括:所述第一电子设备,还用于接收所述第三处理结果,并向用户提示所述第三处理结果。
  8. 根据权利要求6所述的系统,其特征在于,
    所述第二电子设备,用于向所述第一电子设备发送所述第一能力信息,所述第一能力信息中包括一个或多个功能,所述一个或多个功能中包括所述第一功能,包括:所述第二电子设备,用于向所述第一电子设备发送所述第一能力信息,所述第一能力信息中包括一个或多个功能的软件包或程序库文件中的任意一种或多种,所述一个或多个功能的软件包或程序库文件中包括所述第一功能的软件包或程序库文件中的任意一种或多种;
    所述第一电子设备,还用于在检测到用户的第四操作时,使用所述第一功能对所述第二内容进行处理,得到第三处理结果,包括:所述第一电子设备,还用于在检测到用户的第四操作时,运行所述第一功能的软件包或程序库文件中的任意一种或多种对所述第二内容进行处理,得到所述第三处理结果。
  9. 根据权利要求1所述的系统,其特征在于,
    所述第一电子设备,还用于在检测到用户的第五操作时,使用第三功能对第二内容进行处理,得到第四处理结果,所述第三功能来自于所述第一电子设备;
    所述第一电子设备,还用于使用所述第三功能对所述第二内容进行处理后,向所述第二电子设备或所述第三电子设备中的任意一个或多个发送对所述第四处理结果;
    所述第一电子设备,还用于向用户提示所述第四处理结果。
  10. 根据权利要求6至9任一项所述的系统,其特征在于,
    所述第二内容来自于所述第一电子设备、所述第二电子设备或所述第三电子设备中的任意一个。
  11. 根据权利要求1至3任一项,或权利要求6至9任一项所述的系统,其特征在于,
    所述第一电子设备,用于在检测到用户的所述第一操作时,向所述第二电子设备和所述第三电子设备分别发送所述第一请求信息和所述第二请求信息,包括:所述第一电子设备,用于在检测到用户选择第一控件或所述第一内容中的任意一项的操作时,向所述第二电子设备和所述第三电子设备分别发送所述第一请求信息和所述第二请求信息;
    所述第一电子设备,还用于在检测到用户的所述第二操作时,使用所述第二功能对所述第一内容进行处理,得到所述第一处理结果,包括:所述第一电子设备,还用于在检测到用户选择第二功能的操作时,使用所述第二功能对所述第一内容进行处理,得到所述第一处理结果。
  12. 一种能力调用方法,所述方法应用于第一电子设备,其特征在于,所述方法包括:
    所述第一电子设备与所述第二电子设备和所述第三电子设备建立网络连接,所述网络连接用于传输数据;
    所述第一电子设备在检测到用户的第一操作时,向所述第二电子设备和所述第三电子设备分别发送第一请求信息和第二请求信息,所述第一请求其信息用于向所述第二电子设备请求第一能力信息,所述第二请求信息用于向所述第三电子设备请求第二能力信息;
    所述第一电子设备接收所述第二电子设备发送的所述第一能力信息,所述第一能力信息中包括一个或多个功能,所述一个或多个功能中包括第一功能;
    所述第一电子设备接收所述第三电子设备发送的所述第二能力信息,所述第二能力信息中包括一个或多个功能,所述一个或多个功能中包括第二功能;
    所述第一电子设备在检测到用户的第二操作时,使用所述第二功能对所述第一内容进行处理,得到第一处理结果;
    所述第一电子设备向用户提示所述第一处理结果。
  13. 根据权利要求12所述的方法,其特征在于,
    所述第一电子设备在检测到用户的第二操作时,使用所述第二功能对所述第一内容进行处理,得到第一处理结果,包括:所述第一电子设备在检测到用户的所述第二操作时,向所述第三电子设备发送所述第一内容和第三请求信息,所述第三请求信息用于请求所述第三电子设备使用所述第二功能对所述第一内容进行处理;
    所述第一电子设备向用户提示所述第一处理结果,包括:所述第一电子设备接收所述第三电子设备使用所述第二功能对所述第一内容处理后得到的所述第一处理结果,并向用户提示所述第一处理结果。
  14. 根据权利要求12所述的方法,其特征在于,
    所述第一电子设备接收所述第二电子设备发送的所述第一能力信息,所述第一能力信息中包括一个或多个功能,所述一个或多个功能中包括第一功能,包括:所述第一电子设备接收所述第二电子设备发送的所述第一能力信息,所述第一能力信息中包括所述一个或多个功能的软件包或程序库文件中的任意一种或多种,所述一个或多个功能的软件包或程序库文件中包括所述第一功能的软件包或程序库文件中的任意一种或多种;
    所述第一电子设备接收所述第三电子设备发送的所述第二能力信息,所述第二能力信息中包括一个或多个功能,所述一个或多个功能中包括第二功能,包括:所述第一电子设备接收所述第三电子设备发送的所述第二能力信息,所述第二能力信息中包括所述一个或多个功能的软件包或程序库文件中的任意一种或多种,所述一个或多个功能的软件包或程序库文件中包括所述第二功能的软件包或程序库文件中的任意一种或多种;
    所述第一电子设备在检测到用户的第二操作时,使用所述第二功能对所述第一内容进行处理,得到第一处理结果,包括:所述第一电子设备在检测到用户的所述第二操作时,运行所述第二功能的软件包或程序库文件中的任意一种或多种对所述第一内容进行处理,得到所述第一处理结果。
  15. 根据所述权利要求12至14任一项所述的方法,其特征在于,
    所述第一电子设备接收所述第一处理结果后,在检测到用户的第三操作时,使用第三功能对所述第一处理结果进行处理,得到第二处理结果,所述第三功能来自于所述第一电子设备;
    所述第一电子设备使用所述第三功能对所述第一处理结果进行处理后,向所述第二电子设备或所述第三电子设备中的任意一个或多个发送所述第二处理结果;
    所述第一电子设备,还用于向用户提示所述第二处理结果。
  16. 根据所述权利要求12至14任一项所述的方法,其特征在于,
    所述第一内容来自于所述第一电子设备、所述第二电子设备或所述第三电子设备中的任意一个。
  17. 根据权利要求12所述的方法,其特征在于,
    所述第一电子设备在检测到用户的第四操作时,使用所述第一功能对第二内容进行处理,得到第三处理结果;
    所述第一电子设备向用户提示所述第三处理结果。
  18. 根据权利要求17所述的方法,其特征在于,
    所述第一电子设备在检测到用户的第四操作时,使用所述第一功能对所述第二内容进行处理,得到第三处理结果,包括:所述第一电子设备在检测到用户的所述第四操作时,向所述第二电子设备发送所述第二内容和第四请求信息,所述第四请求信息用于请求所述第二电子设备使用所述第一功能对所述第二内容进行处理;
    所述第一电子设备向用户提示所述第三处理结果,包括:所述第一电子设备接收所述第二电子设备使用所述第一功能对所述第二内容处理后得到所述第三处理结果,并向用户提示所述第三处理结果。
  19. 根据权利要求17所述的方法,其特征在于,
    所述第一电子设备接收所述第二电子设备发送的所述第一能力信息,所述第一能力信息中包括一个或多个功能,所述一个或多个功能中包括第一功能,包括:所述第一电子设备接收所述第二电子设备发送的所述第一能力信息,所述第一能力信息中包括所述一个或多个功能的软件包或程序库文件中的任意一种或多种,所述一个或多个功能的软件包或程序库文件中包括所述第一功能的软件包或程序库文件中的任意一种或多种;
    所述第一电子设备在检测到用户的第四操作时,使用所述第一功能对所述第二内容进行处理,得到第三处理结果,包括:所述第一电子设备在检测到用户的所述第四操作时,运行所述第一功能的软件包或程序库文件中的任意一种或多种对所述第二内容进行处理,得到所述第三处理结果。
  20. 根据权利要求12所述的方法,其特征在于,
    所述第一电子设备在检测到用户的第五操作时,使用第三功能对所述第二内容进行处理,得到第四处理结果,所述第三功能来自于所述第一电子设备;
    所述第一电子设备使用所述第三功能对所述第二内容进行处理后,向所述第二电子设备或所述第三电子设备中的任意一个或多个发送所述第四处理结果;
    所述第一电子设备向用户提示所述第四处理结果。
  21. 根据权利要求17至20任一项所述的方法,其特征在于,
    所述第二内容来自于所述第一电子设备、所述第二电子设备或所述第三电子设备中的任意一个。
  22. 根据权利要求12至14任一项,或权利要求17至20任一项所述的方法,其特征在于,
    所述第一电子设备在检测到用户的所述第一操作时,向所述第二电子设备和所述第三电子设备分别发送所述第一请求信息和所述第二请求信息,包括:所述第一电子设备在检测到用户选择第一控件或所述第一内容中的任意一项的操作时,向所述第二电子设备和所述第三电子设备分别发送所述第一请求信息和所述第二请求信息;
    所述第一电子设备在检测到用户的所述第二操作时,使用所述第二功能对所述第一内容进行处理,得到所述第一处理结果,包括:所述第一电子设备在检测到用户选择所述第二功能的操作时,使用所述第二功能对所述第一内容进行处理,得到所述第一处理结果。
  23. 一种能力调用方法,所述方法应用于第二电子设备,其特征在于,所述方法包括:
    所述第二电子设备接收第一电子设备发送的第一请求信息,所述第一请求信息用于请求所述第二电子设备的第一能力信息;
    所述第二电子设备向所述第一电子设备发送所述第一能力信息,所述第一能力信息中包括一个或多个功能,所述一个或多个功能中包括第一功能;
    所述第二电子设备接收所述第一电子设备发送的第二内容和第四请求信息,所述第四请求信息用于请求所述第二电子设备使用所述第一功能对所述第二内容进行处理;
    所述第二电子设备根据所述第四请求信息,使用所述第一功能对所述第二内容进行处理, 得到第三处理结果,并向所述第一电子设备发送所述第三处理结果。
  24. 根据权利要求23所述的方法,其特征在于,
    所述第二电子设备向所述第一电子设备发送所述第一能力信息,所述第一能力信息中包括一个或多个功能,所述一个或多个功能中包括第一功能,包括:所述第二电子设备向所述第一电子设备发送所述第一能力信息,所述第一能力信息中包括所述一个或多个功能的软件包或程序库文件中的任意一种或多种,所述一个或多个功能的软件包或程序库文件中包括所述第一功能的软件包或程序库文件中的任意一种或多种。
  25. 一种能力调用方法,所述方法应用于第三电子设备,其特征在于,所述方法包括:
    所述第三电子设备接收第一电子设备发送的第二请求信息,所述第二请求信息用于请求所述第三电子设备的第二能力信息;
    所述第三电子设备向所述第一电子设备发送所述第二能力信息,所述第二能力信息中包括一个或多个功能,所述一个或多个功能中包括第二功能;
    所述第三电子设备接收所述第一电子设备发送的第一内容和第三请求信息,所述第三请求信息用于请求所述第三电子设备使用所述第二功能对所述第一内容进行处理;
    所述第三电子设备根据所述第三请求信息,使用所述第二功能对所述第一内容进行处理,得到第一处理结果,并向所述第一电子设备发送所述第一处理结果。
  26. 根据权利要求25所述的方法,其特征在于,
    所述第三电子设备向所述第一电子设备发送所述第二能力信息,所述第二能力信息中包括一个或多个功能,所述一个或多个功能中包括第二功能,包括:所述第三电子设备向所述第一电子设备发送所述第二能力信息,所述第二能力信息中包括所述一个或多个功能的软件包或程序库文件中的任意一种或多种,所述一个或多个功能的软件包或程序库文件中包括所述第二功能的软件包或程序库文件中的任意一种或多种。
  27. 一种电子设备,其特征在于,包括:
    一个或多个处理器;
    一个或多个存储器;
    所述一个或多个存储器存储有一个或者多个计算机程序,所述一个或者多个计算机程序包括指令,当所述指令被所述一个或多个处理器执行时,使得所述电子设备执行如权利要求12至22中任一项所述的方法。
  28. 一种电子设备,其特征在于,包括:
    一个或多个处理器;
    一个或多个存储器;
    所述一个或多个存储器存储有一个或者多个计算机程序,所述一个或者多个计算机程序包括指令,当所述指令被所述一个或多个处理器执行时,使得所述电子设备执行如权利要求23至24中任一项所述的方法。
  29. 一种电子设备,其特征在于,包括:
    一个或多个处理器;
    一个或多个存储器;
    所述一个或多个存储器存储有一个或者多个计算机程序,所述一个或者多个计算机程序包括指令,当所述指令被所述一个或多个处理器执行时,使得所述电子设备执行如权利要求25至26中任一项所述的方法。
  30. 一种计算机可读存储介质,其特征在于,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求12至22中任一项所述的方法;或
    当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求23或24中所述的方法;或
    当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求25或26中所述的方法。
PCT/CN2023/084133 2022-03-30 2023-03-27 一种能力调用方法、系统及电子设备 WO2023185750A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210333857.XA CN116932181A (zh) 2022-03-30 2022-03-30 一种能力调用方法、系统及电子设备
CN202210333857.X 2022-03-30

Publications (1)

Publication Number Publication Date
WO2023185750A1 true WO2023185750A1 (zh) 2023-10-05

Family

ID=88199149

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/084133 WO2023185750A1 (zh) 2022-03-30 2023-03-27 一种能力调用方法、系统及电子设备

Country Status (2)

Country Link
CN (1) CN116932181A (zh)
WO (1) WO2023185750A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902064A (zh) * 2012-12-28 2014-07-02 联想(北京)有限公司 一种信息处理方法、电子设备及输入设备
US20150378734A1 (en) * 2014-06-30 2015-12-31 Microunity Systems Engineering, Inc. System and methods for expandably wide operand instructions
CN112615960A (zh) * 2019-09-19 2021-04-06 华为技术有限公司 一种设备能力调度方法及电子设备
CN113496426A (zh) * 2020-04-02 2021-10-12 华为技术有限公司 一种推荐服务的方法、电子设备和系统
CN114173000A (zh) * 2020-08-20 2022-03-11 华为技术有限公司 一种回复消息的方法、电子设备和系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902064A (zh) * 2012-12-28 2014-07-02 联想(北京)有限公司 一种信息处理方法、电子设备及输入设备
US20150378734A1 (en) * 2014-06-30 2015-12-31 Microunity Systems Engineering, Inc. System and methods for expandably wide operand instructions
CN112615960A (zh) * 2019-09-19 2021-04-06 华为技术有限公司 一种设备能力调度方法及电子设备
CN113496426A (zh) * 2020-04-02 2021-10-12 华为技术有限公司 一种推荐服务的方法、电子设备和系统
CN114173000A (zh) * 2020-08-20 2022-03-11 华为技术有限公司 一种回复消息的方法、电子设备和系统

Also Published As

Publication number Publication date
CN116932181A (zh) 2023-10-24

Similar Documents

Publication Publication Date Title
CN110381197B (zh) 多对一投屏中音频数据的处理方法、装置及系统
CN112231025B (zh) Ui组件显示的方法及电子设备
JP2022525284A (ja) デバイス制御ページ表示方法、関連装置、およびシステム
CN113691842B (zh) 一种跨设备的内容投射方法及电子设备
WO2020155014A1 (zh) 智能家居设备分享系统、方法及电子设备
WO2020224447A1 (zh) 一种在联系人中添加智能家居设备的方法及系统
US20220179827A1 (en) File Sharing Method of Mobile Terminal and Device
CN116360725B (zh) 显示交互系统、显示方法及设备
CN112543447A (zh) 基于通讯录的设备发现方法、音视频通信方法及电子设备
CN113746718B (zh) 一种内容分享的方法、装置及系统
CN113645571A (zh) 数据传输方法及电子设备
WO2020034075A1 (zh) 一种照片共享方法及电子设备
CN114356195B (zh) 一种文件传输的方法及相关设备
CN114064160A (zh) 应用图标布局方法及相关装置
EP4293997A1 (en) Display method, electronic device, and system
WO2020051916A1 (zh) 一种传输信息的方法及电子设备
WO2022152174A1 (zh) 一种投屏的方法和电子设备
WO2023185750A1 (zh) 一种能力调用方法、系统及电子设备
CN117425227A (zh) 建立基于WiFi直接连接的会话的方法和装置
CN113950045B (zh) 签约数据的下载方法和电子设备
CN113747056A (zh) 拍照方法、装置及电子设备
CN115002939B (zh) 加入WiFi群组的方法和装置
WO2022206769A1 (zh) 一种拼接内容的方法、电子设备和系统
WO2022222733A1 (zh) 数据传输方法及相关设备
WO2023025059A1 (zh) 一种通信系统及通信方法

Legal Events

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

Ref document number: 23778116

Country of ref document: EP

Kind code of ref document: A1