Function jump method and electronic device

By directly launching local target applications from the target device, the problems of latency and poor display effect in multi-screen collaborative operation are solved, and fast function switching and high-quality display effect are achieved.

CN115328565BActive Publication Date: 2026-06-12HUAWEI TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HUAWEI TECH CO LTD
Filing Date
2021-04-25
Publication Date
2026-06-12

AI Technical Summary

Technical Problem

In multi-screen collaborative operation, the target device has a long response time to user touch operations, resulting in poor display quality and affecting user experience.

Method used

After detecting the user's operation in the projection area, the target device directly launches the locally installed target application and displays the target function page, avoiding interaction with the source device.

🎯Benefits of technology

It reduces the latency of function transitions, improves display quality and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115328565B_ABST
    Figure CN115328565B_ABST
Patent Text Reader

Abstract

The application provides a function jump method and an electronic device; relates to the technical field of terminals, can directly start a target application corresponding to a touch operation of a user on a projection area to realize the jump of the corresponding function, improve the display effect, and reduce the time delay. The method comprises the following steps: after detecting the touch operation of the user on the projection area, the electronic device determines that the target application requested by the touch operation to start is locally installed, then starts the target application, and displays the target function page of the target application requested by the touch operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of terminal technology, and in particular to a function switching method and an electronic device. Background Technology

[0002] With the development of terminal technology, electronic devices with multi-screen collaboration capabilities (such as mobile phones, tablets, and laptops) can achieve cross-device resource sharing. For example, Figure 1 As shown, when a mobile phone is connected to a tablet, the phone can project its screen content onto the tablet for display. Furthermore, in response to user input, the phone and tablet can quickly transfer data, allowing the user to control at least two connected electronic devices with just one device, simplifying operation.

[0003] For example, such as Figure 1 As shown, after the tablet detects a user's touch operation on the projection area used to display content from the phone (such as clicking the application icon 101), it sends the touch event to the phone. The phone determines that the touch event is for opening the Notes app, opens the Notes app, and projects the content of the Notes interface onto the projection area on the tablet screen, thus launching a new application (i.e., function switching) on ​​the projection area. It is evident that in the above multi-screen collaboration process, the source device (such as the phone) must project the function page onto the target device (such as the tablet) for display. The target device experiences a relatively long latency in responding to user touch operations, and the display quality is poor. Summary of the Invention

[0004] The function switching method and electronic device provided in this application embodiment can directly launch the target application installed on the target device in response to the user's operation on the projection area when the target device has the target application installed, thereby realizing the corresponding function switching, improving the display effect, and reducing latency.

[0005] To achieve the above objectives, the embodiments of this application adopt the following technical solutions:

[0006] In a first aspect, embodiments of this application provide a function jump method applied to a first electronic device. The method may include: detecting a user's touch operation on a first projection area; determining that a target application requested to be launched by the touch operation is locally installed; launching the target application and displaying the target function page of the target application requested by the touch operation.

[0007] The target application may include installed applications or system-integrated functions. Installed applications may be pre-installed applications or third-party applications, typically visible on the home screen. System-integrated functions may be system-level applications installed on the phone, but they are usually not presented as standalone installation packages.

[0008] In this way, when an electronic device detects a touch operation on the projected content, if the target application requested by the touch operation is installed locally, it can directly launch the target application locally and display the target function page, quickly achieving function switching. This improves function switching efficiency, and the display effect of launching the target application locally is better than displaying the received projected content, thus enhancing the user experience.

[0009] In one possible implementation, determining that a target application launched by a touch operation request is locally installed includes: after detecting a user's touch operation on the first projection area, sending a touch event corresponding to the touch operation to a second electronic device; receiving a query message sent by the second electronic device, the query message being used to query the packet information of the target application launched by the touch operation request; and determining that the target application is locally installed based on the packet information of the target application stored locally.

[0010] The package information includes one or more of the following: the package name, component name, and component configuration of the locally installed application. The package name, for example, is the application name, which can serve as a unique identifier to distinguish different applications. The component name, for example, is the name of the component contained within the application. The component configuration, for example, is the action that the component can respond to, including the action name, data, and category / type. For instance, the action that a component in a text editor can respond to includes sending (i.e., the action name) text data (i.e., the data), with the corresponding category being the default category. Touch events are used to interpret the user's finger or stylus operations on the touchscreen (or display screen). For example, touch events include touch events based on the start, movement, and end phases of a touch operation detected on the tablet touchscreen. The tablet encapsulates all touch points obtained in these three phases and sends them to a second electronic device.

[0011] For example, the first electronic device displays the screen projection content of the SMS application interface of the second electronic device on its display area. After detecting a user's touch operation on the display area, it encapsulates the touch event and sends it to the second electronic device. Upon receiving the touch event, the second electronic device determines that the touch operation is clicking a link displayed on the SMS application interface, indicating the launch of a browser and displaying the corresponding function page. It then sends a query message to the first electronic device to check if a browser application is installed on the first electronic device. Upon receiving the query message, the first electronic device checks its local package information. If it determines that the local package information contains the browser application package name, it confirms that a browser application is installed locally. Subsequently, the first electronic device directly launches the local browser application and opens the function page corresponding to the link. Displaying the function page corresponding to the link on the display area, this local function launch and redirection effectively improves the efficiency of function redirection.

[0012] In one possible implementation, before determining that a target application launched by a touch operation request is installed locally, the method further includes: obtaining layout information of the projection content displayed in the first projection area. Determining that a target application launched by a touch operation request is installed locally includes: determining the target application launched by the touch operation request based on the layout information; and determining that a target application is installed locally based on package information indicating that the target application is stored locally.

[0013] In some embodiments, the first electronic device can obtain the layout information of the screen-projected content while obtaining the screen-projected content. Then, after detecting the user's touch operation on the screen-projected area, the first electronic device can directly determine the instruction content of the touch operation without having to send the touch event back to the second electronic device for processing.

[0014] For example, the first electronic device detects a user's touch operation on the display area. Based on the layout information of the projected content, it determines that the touch operation is a click on a link in the SMS application interface. It then directly performs a local packet information query to determine if a browser application for opening the link is installed locally. Further, if the first electronic device determines that the target application (i.e., the browser application) is not installed locally or the target function cannot be achieved, it encapsulates the touch operation into a touch event and sends it to the second electronic device for processing, carrying a packet information query failure signal. Then, the second electronic device can directly launch the corresponding function page for screen projection based on the touch event, without having to send a query message to the first electronic device again.

[0015] In this way, after the first electronic device detects a touch operation on the projection area, it no longer needs to interact with the second electronic device and can directly query packet information, further improving the efficiency of function switching.

[0016] In one possible implementation, before detecting the user's touch operation on the first projection area, the method further includes: receiving projection content sent by a second electronic device and displaying the projection content on the first projection area.

[0017] In some embodiments, a connection is established between the second electronic device and the first electronic device, and the second electronic device projects its local display content onto the projection area of ​​the first electronic device for display. The second electronic device can also be described as a source device, and the first electronic device can be described as a target device; the number of second electronic devices can be one or more.

[0018] In one possible implementation, the application corresponding to the screen-cast content may be the same as or different from the target application.

[0019] In some embodiments, the touch operation is used to request the launch of a new target application, in which case the target application is different from the application corresponding to the currently projected content. Alternatively, the touch operation is used to request new features contained in the current application, in which case the target application is the application corresponding to the currently projected content.

[0020] In one possible implementation, displaying the target function page of the target application for the touch operation request includes: displaying the target function page on a first projection area; or displaying the target function page on a display area outside the first projection area; or displaying the target function page in full screen.

[0021] In one possible implementation, the first electronic device includes one or more projection areas, and the one or more projection areas include the first projection area.

[0022] For example, in a multi-device screen mirroring scenario, multiple second electronic devices can project their display content onto the first electronic device for display. Accordingly, the first electronic device's display screen includes multiple projection areas for displaying the projection content of the corresponding second electronic device. After detecting a user's touch operation on a projection area, the first electronic device can send the touch event to the second electronic device corresponding to that projection area.

[0023] Secondly, embodiments of this application provide a function jump method applied to a second electronic device. This method may include: receiving a touch event sent by a first electronic device; the touch event being a touch event generated after the first electronic device detects a touch operation on a first projection area and encapsulates the touch operation; determining the target application requested to be launched by the touch operation based on the touch event; and sending a query message to the first electronic device, the query message requesting a query about whether the target application is installed on the first electronic device.

[0024] In one possible implementation, before receiving a touch event sent by the first electronic device, the method further includes sending screen projection content to the first electronic device.

[0025] In one possible implementation, the application corresponding to the screen-cast content may be the same as or different from the target application.

[0026] In one possible implementation, the package information includes one or more of the target application's package name, component name, and component configuration.

[0027] In one possible implementation, the method further includes: receiving a query failure response; and sending the display content of a target function page of the target application to a first electronic device, wherein the target function page is the page requested to be displayed by the touch operation.

[0028] In some embodiments, after receiving a query failure response, if the second electronic device determines that the target application is not installed on the first electronic device, it needs to launch the target application and project the target function page corresponding to the touch operation onto the first electronic device for display. This avoids function navigation failures caused by the first electronic device not having the target application installed.

[0029] Furthermore, the technical effects of the second-party function jump method can be referenced from the technical effects of the first-party function jump method, and will not be elaborated here.

[0030] Thirdly, embodiments of this application provide an electronic device, including: a processor, a memory, and a display screen; the memory and display screen are coupled to the processor, the memory is used to store computer program code, the computer program code includes computer instructions, and when the processor reads the computer instructions from the memory, the electronic device performs the following operations: detecting a user's touch operation on a first projection area; determining that a target application requested to be launched by the touch operation is locally installed; launching the target application and displaying the target function page of the target application requested by the touch operation.

[0031] In one possible implementation, determining that a target application launched by a touch operation request is locally installed includes: after detecting a user's touch operation on the first projection area, sending a touch event corresponding to the touch operation to a second electronic device; receiving a query message sent by the second electronic device, the query message being used to query the packet information of the target application launched by the touch operation request; and determining that the target application is locally installed based on the packet information of the target application stored locally.

[0032] In one possible implementation, when the processor reads computer instructions from memory, it also causes the electronic device to perform the following operations: obtaining layout information of the projection content displayed in the first projection area; determining that a target application requested to be launched by a touch operation is installed locally, including: determining the target application requested to be launched by the touch operation based on the layout information; and determining that the target application is installed locally based on package information indicating that the target application is stored locally.

[0033] In one possible implementation, the package information includes one or more of the target application's package name, component name, and component configuration.

[0034] In one possible implementation, when the processor reads computer instructions from memory, it also causes the electronic device to perform the following operations: receive the projection content sent by the second electronic device and display the projection content on the first projection area.

[0035] In one possible implementation, the application corresponding to the screen-cast content may be the same as or different from the target application.

[0036] In one possible implementation, displaying the target function page of the target application for the touch operation request includes: displaying the target function page on a first projection area; or displaying the target function page on a display area outside the first projection area; or displaying the target function page in full screen.

[0037] In one possible implementation, the first electronic device includes one or more projection areas, and the one or more projection areas include the first projection area.

[0038] Furthermore, the technical effects of the electronic device in the third aspect can be referenced from the technical effects of the function jump method in the first aspect, and will not be elaborated here.

[0039] Fourthly, embodiments of this application provide an electronic device, including: a processor, a memory, and a display screen; the memory and display screen are coupled to the processor, the memory is used to store computer program code, the computer program code includes computer instructions, and when the processor reads the computer instructions from the memory, the electronic device performs the following operations: receiving a touch event sent by a first electronic device; the touch event is a touch event generated after the first electronic device detects a touch operation on a first projection area and encapsulates the touch operation; determining the target application requested to be launched by the touch operation based on the touch event; and sending a query message to the first electronic device, the query message being used to request whether the target application is installed in the first electronic device.

[0040] In one possible implementation, when the processor reads computer instructions from memory, it also causes the electronic device to perform the following operation: send the projected content to the first electronic device.

[0041] In one possible implementation, the application corresponding to the screen-cast content may be the same as or different from the target application.

[0042] In one possible implementation, the package information includes one or more of the target application's package name, component name, and component configuration.

[0043] In one possible implementation, when the processor reads computer instructions from memory, it also causes the electronic device to perform the following operations: receive a query failure response; and send the display content of the target function page of the target application to the first electronic device, wherein the target function page is the page requested to be displayed by the touch operation.

[0044] Furthermore, the technical effects of the electronic device described in the fourth aspect can be referred to the technical effects of the function switching method described in the second aspect, and will not be repeated here.

[0045] Fifthly, embodiments of this application provide an electronic device that has the function of implementing the function jump method described in the first aspect and any of its possible implementations. This function can be implemented in hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-described function.

[0046] Sixthly, embodiments of this application provide an electronic device having the function of implementing the function jump method as described in the second aspect and any of its possible implementations. This function can be implemented in hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-described function.

[0047] In a seventh aspect, embodiments of this application provide a computer-readable storage medium including computer instructions that, when executed on an electronic device, cause the electronic device to perform a function jump method as described in any one of the first aspects and any one of their possible implementations, or the electronic device to perform a function jump method as described in any one of the second aspects and any one of their possible implementations.

[0048] Eighthly, embodiments of this application provide a computer program product that, when run on an electronic device, causes the electronic device to execute a function jump method as described in any one of the first aspects and any one of its possible implementations, or the electronic device to execute a function jump method as described in any one of the second aspects and any one of its possible implementations.

[0049] Ninthly, embodiments of this application provide a circuit system including a processing circuit configured to execute the function jump method as described in the first aspect and any possible implementation thereof; or, configured to execute the function jump method as described in the second aspect and any possible implementation thereof.

[0050] In a tenth aspect, embodiments of this application provide a chip system including at least one processor and at least one interface circuit. The at least one interface circuit is used to perform transceiver functions and send instructions to the at least one processor. When the at least one processor executes instructions, the at least one processor executes the function jump method as described in the first aspect and any of its possible implementations above; or, the at least one processor executes the function jump method as described in the second aspect and any of its possible implementations above. Attached Figure Description

[0051] Figure 1 A schematic diagram illustrating a multi-screen collaboration scenario provided in an embodiment of this application;

[0052] Figure 2 A schematic diagram of the communication system provided in the embodiments of this application;

[0053] Figure 3 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application;

[0054] Figure 4A Interface illustration provided for embodiments of this application Figure 1 ;

[0055] Figure 4B Interface illustration provided for embodiments of this application Figure 2 ;

[0056] Figure 4C Interface illustration provided for embodiments of this application Figure 3 ;

[0057] Figure 5 Interface diagram four provided for embodiments of this application;

[0058] Figure 6 Interface illustration provided for embodiments of this application Figure 5 ;

[0059] Figure 7 Interface illustration provided for embodiments of this application Figure 6 ;

[0060] Figure 8 Interface illustration provided for embodiments of this application Figure 7 ;

[0061] Figure 9 Interface illustration provided for embodiments of this application Figure 8 ;

[0062] Figure 10 The functional jump method flow provided in the embodiments of this application Figure 1 ;

[0063] Figure 11 The functional jump method flow provided in the embodiments of this application Figure 2 ;

[0064] Figure 12 A schematic diagram of the structure of the first electronic device provided in the embodiments of this application;

[0065] Figure 13 A schematic diagram of the structure of the second electronic device provided in an embodiment of this application. Detailed Implementation

[0066] The functional jump method and electronic device provided in the embodiments of this application will be described in detail below with reference to the accompanying drawings.

[0067] The terms "comprising" and "having," and any variations thereof, used in the description of the embodiments of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the steps or units listed, but may optionally include other steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or devices.

[0068] It should be noted that in the embodiments of this application, the words "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of the words "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0069] In the description of the embodiments in this application, unless otherwise stated, "multiple" means two or more. "And / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone.

[0070] Figure 2 This is a schematic diagram of a communication system in which a function jump method provided in an embodiment of this application is applied. Figure 1 As shown, the communication system includes a first electronic device 100 and a second electronic device 200. The first electronic device 100 establishes a communication connection with the second electronic device 200 via a wired or wireless connection. However, this embodiment does not specifically limit the connection method between the first electronic device 100 and the second electronic device 200.

[0071] Optionally, the first electronic device 100 or the second electronic device 200 may be a terminal device with display function, such as a mobile phone, tablet computer, wearable device, in-vehicle device, laptop computer, ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA), artificial intelligence device, etc. The embodiments of this application do not impose any restrictions on the specific types of the first electronic device 100 and the second electronic device 200.

[0072] In some embodiments, the first electronic device 100 and the second electronic device 200 have a multi-screen collaboration function, enabling them to establish a multi-screen collaboration connection. For example, after the first electronic device 100 and the second electronic device 200 establish a connection, the second electronic device 200 can project the content displayed on its screen onto the first electronic device 100 for display. While displaying the content displayed by the second electronic device 200, the first electronic device 100 can also display its own content and simultaneously operate both the first electronic device 100 and the second electronic device 200.

[0073] In some embodiments, the number of second electronic devices 200 is one or more. For example, if multiple second electronic devices 200 establish a multi-screen collaboration connection with the first electronic device 100, then multiple second electronic devices 200 can project display content onto the first electronic device 100 for display, so that a user can use one first electronic device 100 to view the display content of at least one second electronic device 200 and operate at least one second electronic device 200.

[0074] In some embodiments, after detecting a user's touch operation on the displayed projection content, the first electronic device 100 encapsulates the touch operation into a touch event and sends it to the second electronic device 200 for processing. The second electronic device 200 determines the target application corresponding to the touch operation based on the touch event and sends a target application query message to the first electronic device 100. Based on the query message, the first electronic device 100 determines whether the target application is installed locally. If the target application is installed, it directly opens the local target application and displays the corresponding function page, thereby improving function navigation efficiency and the display effect of the function page.

[0075] Figure 3 A schematic diagram of the structure of the first electronic device 100 and the second electronic device 200 is shown.

[0076] The first electronic device 100 and the second electronic device 200 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.

[0077] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the second electronic device 200 and the first electronic device 100. In other embodiments of this application, the second electronic device 200 and the first electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware. For example, if an electronic device 100 is a laptop computer, then the first electronic device 100 may not include a mobile communication module 150, a SIM card interface 195, etc.

[0078] Processor 110 may include one or more processing units, such as application processors (APs), modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). These different processing units may be independent devices or integrated into one or more processors.

[0079] The controller can generate operation control signals based on the instruction opcode and timing signals to complete the control of instruction fetching and execution.

[0080] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0081] In some embodiments, the processor 110 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0082] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple I2C buses. The processor 110 can couple to a touch sensor, charger, flash, camera 193, etc., through different I2C bus interfaces. For example, the processor 110 can couple to a touch sensor through the I2C interface, enabling the processor 110 and the touch sensor to communicate through the I2C bus interface, thereby realizing the touch function between the first electronic device 100 and the second electronic device 200.

[0083] The MIPI interface can be used to connect the processor 110 to peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI) and a display serial interface (DSI). In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to enable the shooting function of the first electronic device 100 and the second electronic device 200. The processor 110 and the display screen 194 communicate via the DSI interface to enable the display function of the first electronic device 100 and the second electronic device 200.

[0084] In some embodiments, it is assumed that the second electronic device 200 projects display content onto the first electronic device 100. The first electronic device 100 uses its processor and display screen to communicate via a DSI interface to display the projected content. Then, after detecting a user's touch operation on the display screen 194 using a touch sensor, the first electronic device 100 determines that the touch operation is located in the projection area and sends the touch event to the second electronic device 200. The projection area is used to display the projected content from the second electronic device 200. Correspondingly, upon receiving the touch event, the second electronic device 200 can determine the type of touch event and perform the corresponding operation.

[0085] USB port 130 is a USB standard compliant interface, specifically a Mini USB port, Micro USB port, USB Type-C port, etc. USB port 130 can be used to connect a charger to charge the first electronic device 100 and the second electronic device 200, and can also be used for data transfer between the first electronic device 100, the second electronic device 200, and peripheral devices. It can also be used to connect headphones for audio playback. This interface can also be used to connect other electronic devices, such as AR devices.

[0086] It is understood that the interface connection relationships between the modules illustrated in the embodiments of this application are merely illustrative and do not constitute a structural limitation on the first electronic device 100 and the second electronic device 200. In other embodiments of this application, the first electronic device 100 and the second electronic device 200 may also adopt different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.

[0087] The charging management module 140 receives charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 receives charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 receives wireless charging input via the wireless charging coils of the first electronic device 100 and the second electronic device 200. While charging the battery 142, the charging management module 140 can also supply power to the electronic devices via the power management module 141.

[0088] The power management module 141 connects 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, providing power to the processor 110, internal memory 121, display screen 194, camera 193, and wireless communication module 160, etc. The power management module 141 can also monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage current, impedance). In some other embodiments, the power management module 141 may also be located within the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be located in the same device.

[0089] The wireless communication function between the first electronic device 100 and the second electronic device 200 can be achieved through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor, and baseband processor.

[0090] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the first electronic device 100 and the second electronic device 200 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with a tuning switch.

[0091] The mobile communication module 150 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the first electronic device 100 and the second electronic device 200. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a 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 for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.

[0092] The wireless communication module 160 can provide solutions for wireless communication applications on the first electronic device 100 and the second electronic device 200, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.

[0093] In some embodiments, the antenna 1 of the first electronic device 100 and the mobile communication module 150 of the second electronic device 200 are coupled, and the antenna 2 is coupled to the wireless communication module 160, enabling the first electronic device 100 and the second electronic device 200 to communicate with networks and other devices via wireless communication technology. The wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time-Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).

[0094] The first electronic device 100 and the second electronic device 200 implement display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.

[0095] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Mini LED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the first electronic device 100 and the second electronic device 200 may include one or N display screens 194, where N is a positive integer greater than 1.

[0096] Camera 193 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then passed to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments, the first electronic device 100 and the second electronic device 200 may include one or N cameras 193, where N is a positive integer greater than 1.

[0097] The external storage interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the first electronic device 100 and the second electronic device 200. The external memory card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, music, video, and other files can be saved on the external memory card.

[0098] Internal memory 121 can be used to store computer executable program code, which includes instructions. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of the first electronic device 100 and the second electronic device 200 (such as audio data, phonebook, etc.). Furthermore, 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. Processor 110 executes various functional applications and data processing of the first electronic device 100 and the second electronic device 200 by running instructions stored in internal memory 121 and / or instructions stored in memory located in the processor.

[0099] The audio module 170 is used to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. The audio module 170 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 170 may be located in the processor 110, or some functional modules of the audio module 170 may be located in the processor 110. The first electronic device 100 and the second electronic device 200 can implement audio functions through the audio module 170 and the application processor, such as music playback and recording. The audio module 170 may include a speaker, a receiver, a microphone, and a headphone jack.

[0100] The sensor module 180 may include pressure sensors, gyroscope sensors, barometric pressure sensors, magnetic sensors, accelerometers, distance sensors, proximity sensors, fingerprint sensors, temperature sensors, touch sensors, ambient light sensors, bone conduction sensors, etc.

[0101] A pressure sensor is used to sense pressure signals and convert them into electrical signals. In some embodiments, the pressure sensor may be located on the display screen 194. There are many types of pressure sensors, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may include at least two parallel plates with conductive material. When force is applied to the pressure sensor, the capacitance between the electrodes changes. The first electronic device 100 and the second electronic device 200 determine the pressure intensity based on the change in capacitance. When a touch operation is applied to the display screen 194, the first electronic device 100 and the second electronic device 200 detect the intensity of the touch operation based on the pressure sensor. The first electronic device 100 and the second electronic device 200 may also calculate the touch position based on the detection signal from the pressure sensor. In some embodiments, touch operations applied to the same touch position but with different touch operation intensities may correspond to different operation commands. For example, when a touch operation with an intensity less than a first pressure threshold is applied to the SMS application icon, a command to view an SMS message is executed. When a touch operation with an intensity greater than or equal to the first pressure threshold is applied to the SMS application icon, a command to create a new SMS message is executed.

[0102] A touch sensor, also known as a "touch device," can be located on the display screen 194. The touch sensor and the display screen 194 together form a touchscreen, also known as a "touchscreen." The touch sensor detects touch operations applied to or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor may also be located on the surface of the first electronic device 100 and the second electronic device 200, in a different position than the display screen 194.

[0103] Buttons 190 include a power button, volume buttons, etc. Buttons 190 can be mechanical buttons or touch buttons. The first electronic device 100 and the second electronic device 200 can receive button input and generate key signal inputs related to user settings and function control of the first electronic device 100 and the second electronic device 200.

[0104] Motor 191 can generate vibration alerts. Motor 191 can be used for incoming call vibration alerts or for touch vibration feedback. For example, different vibration feedback effects can be corresponding to touch operations performed on different applications (such as taking photos, playing audio, etc.). Motor 191 can also correspond to different vibration feedback effects for touch operations performed on different areas of the display screen 194.

[0105] Indicator 192 can be an indicator light, used to indicate charging status, power changes, or to indicate messages, missed calls, notifications, etc.

[0106] The SIM card interface 195 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 195, thus establishing contact with and disconnecting from the first electronic device 100 and the second electronic device 200. The first electronic device 100 and the second electronic device 200 can support one or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, and other SIM cards.

[0107] In the following embodiments, a tablet is used as the first electronic device 100 and a mobile phone is used as the second electronic device 200 for illustration.

[0108] In some embodiments, the mobile phone and tablet have a multi-screen collaboration function, whereby, after establishing a connection, the mobile phone can project the content displayed on its screen onto the tablet's display. For example, such as... Figure 4A As shown, the tablet interface includes a display area 401 for displaying content projected from the phone. Currently, the SMS interface is displayed on display area 401, meaning the phone has launched the SMS application, and the SMS content is projected onto the tablet for display. This allows the user to view SMS messages while operating the tablet. When the tablet detects a touch operation on display area 401, it determines that the user needs to interact with the phone's displayed content and encapsulates the touch event, sending it to the phone for processing. Assuming... Figure 4A As shown, the current touch operation is the user clicking on link 41 contained in the SMS message. After receiving the touch event, the phone can determine, based on the preset correspondence between the coordinates of the content displayed in the projection area 401 and the coordinates of the content displayed on the phone's screen, that the current touch operation is used to instruct the user to launch a browser application and open the content corresponding to the link. For example... Figure 4B As shown, the phone launches the browser application to display the content corresponding to the link, and then the browser interface is projected onto the tablet for display. Figure 4C As shown, the projection area 402 on the tablet screen displays the content of the browser interface projected from the mobile phone.

[0109] It can be seen that after establishing a multi-screen collaboration connection between the tablet and the phone, the tablet can directly receive the content projected from the phone. However, the projected content needs to undergo encoding and decoding processing by both the phone and the tablet before it can be displayed on the tablet's projection area. This reduces interactive display efficiency, making it difficult to achieve optimal display effects and impacting the user experience. Furthermore, after receiving a touch event from the tablet, the phone needs to complete the function jump locally and determine the page content before sending it to the tablet for display, resulting in significant latency for user operations.

[0110] Therefore, this application provides a function jump method, which enables the target device to directly open the local target application and display the target function page after detecting the user's operation on the projection area, thereby reducing the function jump latency and improving the display effect.

[0111] In some scenarios, a connection is established between a mobile phone and a tablet. The mobile phone can project its local display content onto the tablet for display, and the tablet can receive user operations on the content displayed on the mobile phone and execute corresponding response actions.

[0112] For example, such as Figure 5 As shown, the mobile phone projects the content displayed on its screen 501 onto the tablet's display area 502. At this time, the tablet can detect user actions on the mobile phone's displayed content in display area 502, and also detect user actions on the tablet's displayed content in display area 503. For example, in response to a user's dragging operation on a file in the display area, the tablet will drag a file displayed on the mobile phone in display area 502 to display area 503, or drag a file displayed in display area 503 to display area 502.

[0113] In some embodiments, after the tablet detects a user's touch operation on the screen projection content from the phone, it encapsulates the touch operation as a touch event and sends it to the phone. Upon receiving the touch event, the phone parses it to determine the content of the touch operation, such as instructing the phone to switch to displaying a page with a new function. The phone can also determine the application installed on the phone corresponding to the touch operation. This application may include, for example, an installed application (APP) or a system-integrated function. Installed applications may be pre-installed applications or third-party applications, typically applications visible on the desktop. System-integrated functions may be system-level function applications installed on the phone, but usually do not appear as standalone installation packages. The phone can generate a query message to instruct the tablet to determine if the application is installed. This query message may be, for example, a package management query message, used to query the package information of the application installed on the tablet, triggering the tablet to determine if the target application is installed locally. After receiving the package management query message from the phone, the tablet queries the local application package information. If the target application is installed locally, it launches the target application and displays the target function page corresponding to the touch operation. If the target application is not installed locally, a query failure response is sent to the phone. Based on the query failure response, the phone launches the target application and projects the target function page onto the tablet for display.

[0114] The package information includes one or more of the following: package name, component name, and component configuration of the locally installed application. The package name, for example, is the application name, which can serve as a unique identifier to distinguish different applications. The component name, for example, is the name of the component contained within the application. The component configuration, for example, is the action that the component can respond to, including the action name, data, and category / type. For instance, the action that a component in a text editor can respond to includes sending (i.e., the action name) and text data (i.e., the data), with the corresponding category being the default category. Touch events are used to interpret the user's finger or stylus operations on the touchscreen (or display screen). For example, touch events include touch events based on the start, movement, and end phases of a touch operation detected on the tablet touchscreen. The tablet encapsulates all touch points obtained in these three phases and sends them to the phone.

[0115] Therefore, if the tablet has an application installed that corresponds to the touch operation of the screen-projected content, it can directly launch the local application and achieve function switching. Compared to launching the application on the phone and then receiving the screen-projected content from the phone, this effectively reduces the latency of function switching, improves interactive display efficiency, and achieves a better display effect.

[0116] For example, such as Figure 5 As shown, the tablet displays the projected content of the mobile phone's SMS application interface on display area 502. After detecting a user's touch operation on display area 502, the tablet encapsulates the touch event and sends it to the mobile phone. Upon receiving the touch event, the mobile phone determines that the touch operation is clicking link 51, which instructs the launch of a browser and the display of the corresponding function page. It then sends a query message to the tablet to check if a browser application is installed on the tablet. Upon receiving the query message, the tablet checks its local package information. If the local package information contains the browser application package name, it confirms that a browser application is installed locally. Figure 5 As shown, a browser icon is displayed in display area 503, confirming that a browser application is installed locally.

[0117] Afterwards, the tablet directly launches its local browser application and opens the corresponding function page. For example... Figure 6 As shown, after the tablet launches the browser, the function page corresponding to link 51 is displayed on display area 601. This local function launch and redirection effectively improves function redirection efficiency. Alternatively, as... Figure 7 As shown, the tablet displays the original function page (i.e., the SMS application page) on display area 701, and the new function page (i.e., the browser application page) on display area 702. Alternatively, as... Figure 8As shown, the tablet uses the entire display area to show the new function page. This larger display area provides a better display effect and facilitates user operation. Furthermore, after the tablet detects the user's action to close the new function page, such as detecting a click on control 81, it closes the new function page, and the tablet displays as shown... Figure 5 The interface shown may include a display area 502 that displays the original function page.

[0118] For example, the touch operation detected by the tablet can be either an operation indicating a jump to a new application, or an operation indicating a jump to a new function within the same application. Figure 9 As shown in (a), the tablet display area 901 displays a screen mirrored image from a mobile phone. The application interface displays content. After the tablet detects a user touch operation on area 901, it encapsulates the touch event and sends it to the phone. Upon receiving the touch event, the phone determines that the touch operation is a click on control 91, used to instruct the display of the payment function page. It then sends a query message to the tablet to check if the app is installed on the tablet. The application enables payment functionality. After receiving a query message, the tablet checks its local package information. If the local package information contains... Application package name, Payment function components and their corresponding configurations. For example... Figure 9 As shown in (a), display area 902 displays... Icon 92 will start the local machine. Applications, and such Figure 9 As shown in (b), the user is redirected to the payment function, and the payment function page is displayed in display area 903. (The above...) Figure 9 In the scenario shown, the tablet displays [image / feature] both before and after the function transition. The application contains function pages, but the content displayed before the function jump is the content projected from the mobile phone screen, and the content displayed after the function jump is the content obtained after the local application is launched.

[0119] In other embodiments, the tablet can obtain the layout information of the screen-projected content at the same time as obtaining the screen-projected content. Then, after the tablet detects the user's touch operation on the screen-projected area, it can directly determine the instruction content of the touch operation without having to send the touch event back to the mobile phone for processing.

[0120] For example, such as Figure 5As shown, the tablet detects a user's touch operation on display area 502. Based on the layout information of the projected content, it determines that the touch operation is a click on link 51. It then directly queries local package information to determine if a browser application for opening the link is installed locally. Further, if the tablet determines that the target application (i.e., the browser application) is not installed locally or the target function cannot be achieved, it encapsulates the touch operation as a touch event and sends it to the phone for processing, carrying a package information query failure signal. Then, the phone can directly launch the corresponding function page for screen projection based on the touch event, without needing to send a query message to the tablet again.

[0121] In this way, once the tablet detects a touch operation on the projection area, it no longer needs to interact with the phone via signal and can directly query packet information, further improving the efficiency of function switching.

[0122] In some scenarios, the phone and tablet are used for synchronized screen mirroring. After switching functions, the content displayed on the tablet's mirrored area is synchronized with the content displayed on the phone. As mentioned above... Figures 5-9 In the scenario shown, after the tablet launches the target application locally and displays the target function page, the phone also simultaneously launches the target application locally and displays the target function page. This eliminates the need for the user to manually open the target function when they need to view it directly on their phone, improving the user experience. However, in the scenario where the tablet directly queries package information based on layout information, after the tablet detects that the target application is installed locally, it still needs to send the touch event to the phone so that the phone can launch the target application and simultaneously display the target function page.

[0123] Alternatively, if the tablet displays the target function page and the user needs to continue operating on the tablet, the phone does not need to display the target function page again, thus saving the phone's power consumption.

[0124] In other scenarios, the screen mirroring between the phone and tablet is asynchronous. After switching functions, the content displayed on the phone and the content displayed on the tablet's mirrored area can be different. In this case, after the tablet launches the application locally, the phone does not need to launch the application again to display the target function page, thus saving the phone's power consumption.

[0125] In some embodiments, the mobile phone can obtain a list of application information from the tablet. Therefore, after receiving a touch event from the tablet, the mobile phone does not need to send a query message to the tablet; instead, it directly uses the application information list to determine whether the target application is installed on the tablet. If the mobile phone determines that the target application is installed on the tablet, it sends a target application launch instruction to the tablet. Correspondingly, upon receiving the target application launch instruction, the tablet launches the corresponding target application. Furthermore, the target application launch instruction may also carry target function information. After receiving the target application launch instruction, the tablet launches the target application and displays the target function page. Optionally, after establishing a connection with the mobile phone, the tablet sends a local application information list to the mobile phone. Alternatively, the tablet sends a local application information list to the mobile phone after receiving screen mirroring content from the mobile phone.

[0126] Optionally, if the phone obtains the application information list from the tablet before screen mirroring, it can directly determine whether the target application corresponding to the content to be mirrored is installed on the tablet. If the target application is installed, screen mirroring is unnecessary; instead, the tablet is directly instructed to launch the corresponding target application. This ensures the tablet achieves optimal display quality from the outset of multi-screen collaboration. For example, in the aforementioned... Figure 9 In the scenario shown, the phone is casting its screen. Before displaying content on the application page, the system checks the application information list on the tablet to determine which applications are installed on the tablet. The application then instructs the tablet to start directly. Application, display as Figure 9 The interface shown in (a) is shown in the middle. At this time, the display area 901 displays... The application displays local content instead of screen-projected content, thus providing users with a better display experience.

[0127] It is understood that the above embodiments are described with one mobile phone as the number of devices. In actual application scenarios, the number of electronic devices connected to the tablet can be one or more. When multiple electronic devices are connected to the tablet, the tablet can still use the above-mentioned function jump method to launch the target application locally and achieve the target function based on the touch operation of the screen content projected by different electronic devices.

[0128] Figure 10 The diagram shown is a schematic representation of a function jump method provided in an embodiment of this application. Figure 10 As shown, the method may include S1001-S1009:

[0129] S1001, The second electronic device projects the display content onto the first electronic device for display.

[0130] In some embodiments, a connection is established between the second electronic device and the first electronic device, and the second electronic device projects its local display content onto the projection area of ​​the first electronic device for display. The second electronic device can also be described as a source device, and the first electronic device can be described as a target device; the number of second electronic devices can be one or more.

[0131] For example, such as Figure 5 As shown, a second electronic device (such as a mobile phone) projects its display content onto the display area 502 of a first electronic device (such as a tablet). The display area 502 is the projection area used to display the projected content. The position of the projection area on the tablet screen can be moved in response to user input.

[0132] S1002. After the first electronic device detects the user's operation in the projection area, it encapsulates the touch event.

[0133] S1003, The first electronic device sends a touch event to the second electronic device.

[0134] In some embodiments, in steps S1002 and S1003 above, after the first electronic device detects a touch operation on the touchscreen and determines that the touch operation is located in the projection area, it encapsulates the touch point corresponding to the touch operation into a touch event and sends it to the second electronic device. Correspondingly, the second electronic device receives the touch event sent by the first electronic device.

[0135] S1004. The second electronic device determines the target application based on the touch event and generates a query message corresponding to the target application.

[0136] The target application may include, for example, an application program (APP) or a system-integrated function. The package information includes one or more of the following: the package name, component name, and component configuration of the locally installed application. The query message can also be described as a package management query message, used to instruct the first electronic device to check whether the package information of the locally installed application contains the package information of the target application.

[0137] In some embodiments, after receiving a touch event, the second electronic device parses the touch event to determine the target application corresponding to the touch operation. For example, such as... Figure 5 As shown, the first electronic device (such as a mobile phone) determines that the touch operation is the operation of clicking link 51 based on the touch point position encapsulated in the touch event, and the target application is the browser application used to open the link.

[0138] In some embodiments, after identifying the target application, the second electronic device generates a query message to determine whether the target application is installed on the first electronic device. For example, such as... Figure 5In the scenario shown, the query message generated by the second electronic device (such as a mobile phone) is used to query the package information of the browser application.

[0139] In other embodiments, the second electronic device can also determine the target function of the target application corresponding to the touch operation based on the touch event, and generate a query message for querying the target function. Thus, after receiving the query message, the first electronic device can display the corresponding target function page. For example, such as... Figure 9 In the scenario shown, the query message generated by the second electronic device (such as a mobile phone) is used for querying. Package information for the application's payment function.

[0140] In some embodiments, the query message also carries indication information corresponding to the touch operation. For example... Figure 5 In the scenario shown, the query message also carries the link information corresponding to link 51, so that when the first electronic device (such as a tablet) launches its browser, it can open the corresponding webpage based on the link information.

[0141] S1005, the second electronic device sends a query message to the first electronic device.

[0142] In some implementations, after generating a query message, the second electronic device sends a query message to the first electronic device. Correspondingly, the first electronic device receives the query message sent by the second electronic device.

[0143] S1006. The first electronic device determines whether the target application is installed locally. If yes, that is, the target application is installed locally, then proceed to step S1007; if no, that is, the target application is not installed locally, then proceed to step S1008.

[0144] In some embodiments, after receiving a query message, the first electronic device parses the query message to determine whether the corresponding packet information is stored locally.

[0145] S1007. The first electronic device starts the target application and displays the corresponding function page.

[0146] In some embodiments, if the first electronic device finds the package information of the target application locally, it launches the target application and displays the target function page.

[0147] For example, such as Figure 6 As shown, after receiving the query message, the first electronic device (such as a tablet) determines that a browser application is installed locally, then launches the local browser application, opens the page corresponding to the link, and displays it in display area 601. Alternatively, as... Figure 9 As shown in (b), after receiving the query message, the first electronic device (such as a tablet) determines that it has the following installed locally: If the application is launched, then start. The application, based on the touch operation instructions carried in the query message, displays the payment function page instead of the startup page. The default main interface after application.

[0148] In this way, if the first electronic device has an application installed that corresponds to the touch operation of the screen-projected content, it can directly launch the local application and achieve function switching. Compared to the second electronic device launching the application first and then the first electronic device receiving the screen-projected content sent by the second electronic device, this can effectively reduce the function switching latency and improve the display quality.

[0149] S1008, The first electronic device sends a query failure response to the second electronic device.

[0150] In some embodiments, if the first electronic device fails to find the package information of the target application, it determines that the target application is not installed locally and sends a query failure response to the second electronic device. Correspondingly, the second electronic device receives the query failure response sent by the first electronic device.

[0151] S1009. The second electronic device starts the target application and sends new screen-projected content to the first electronic device.

[0152] In some embodiments, after receiving a query failure response, the second electronic device determines that the target application is not installed on the first electronic device, then starts the target application or starts the target function in the already started target application, and sends the target function page of the target application to the first electronic device for screen projection display.

[0153] Optionally, the second electronic device can also execute the steps and functions executed by the mobile phone in the above embodiments, and the first electronic device can also execute the steps and functions executed by the tablet in the above embodiments, thereby realizing the function jump method provided in the above embodiments.

[0154] In some scenarios, if the first electronic device can obtain the layout information of the projected content, then upon detecting an operation on the projected content, it can directly determine whether a corresponding target application exists locally based on the layout information. For example, Figure 11 The diagram shown is a schematic representation of another function jump method provided in an embodiment of this application. Figure 11 As shown, the method may include S1101-S1107:

[0155] S1101, The second electronic device projects the display content onto the first electronic device for display.

[0156] The relevant content of step S1101 can be referred to the relevant description of step S1001 above, and will not be repeated here.

[0157] S1102, The first electronic device obtains the layout information of the content displayed by the second electronic device.

[0158] In some embodiments, after receiving the screen-projected content, the first electronic device can obtain the layout information of the screen-projected content. For example, after obtaining the screen-projected content, the first electronic device sends a layout information request to the second electronic device, requesting to download the layout information of the screen-projected content. Alternatively, the second electronic device sends the layout information while sending the screen-projected content to the first electronic device. This application embodiment does not specifically limit the order in which the screen-projected content and its layout information are sent.

[0159] The layout information of the projected content describes the layout information of functional controls in the projected content. Thus, after the first electronic device detects a touch operation, it can determine the functional control corresponding to the touch operation based on the layout information, that is, determine the indication information corresponding to the touch operation.

[0160] S1103. After the first electronic device detects the user's operation in the projection area, it determines the target application corresponding to the operation based on the layout information.

[0161] In some embodiments, after detecting a user's touch operation on the projected content, the first electronic device determines the target application corresponding to the touch operation based on layout information. Furthermore, the first electronic device can also determine the target function of the target application corresponding to the touch operation based on the layout information.

[0162] Optionally, the first electronic device may request the second electronic device to download layout information after detecting the user's operation in the projection area.

[0163] In this way, the first electronic device can directly determine the target application corresponding to the touch operation locally based on the layout information, thereby improving the efficiency of determining whether the target application is installed locally.

[0164] S1104. The first electronic device determines whether the target application is installed locally. If yes, that is, the target application is installed locally, then proceed to step S1105; if no, that is, the target application is not installed locally, then proceed to step S1106.

[0165] S1105. The first electronic device starts the target application and displays the corresponding function page.

[0166] S1106, The first electronic device sends a screen mirroring request to the second electronic device.

[0167] In some embodiments, the screen mirroring request carries target application and / or target function information, which is used to request the second electronic device to send the display content of the function page corresponding to the touch operation.

[0168] S1107. The second electronic device starts the target application and sends new screen-casting content to the first electronic device.

[0169] The other contents of steps S1104-S1107 can be referred to the relevant descriptions of steps S1006-S1009 above, and will not be repeated here.

[0170] Optionally, the second electronic device can also execute the steps and functions executed by the mobile phone in the above embodiments, and the first electronic device can also execute the steps and functions executed by the tablet in the above embodiments, thereby realizing the function jump method provided in the above embodiments.

[0171] The above combination Figure 10 and Figure 11 The functional jump method provided in the embodiments of this application is described in detail below. Figure 12 and Figure 13 This application provides a detailed description of the functional jump device provided in its embodiments.

[0172] In one possible design, Figure 12 This is a schematic diagram of the structure of a first electronic device provided in an embodiment of this application. Figure 12 As shown, the first electronic device 1200, as a function switching device, can be the electronic device itself, a functional unit or chip within the electronic device, or a device used in conjunction with the electronic device. The first electronic device 1200 may include a processing module 1201 and a transceiver module 1202. The first electronic device 1200 can be used to implement the functions of the first electronic device (i.e., the target device) involved in the above method embodiments.

[0173] Optionally, a processing module 1201 is used to support the execution of the first electronic device 1200. Figure 10 Steps S1002, S1006, and S1007; and / or, support the first electronic device 1200 to perform Figure 11 Steps S1103, S1104, and S1105 in the process.

[0174] Optionally, the transceiver module 1202 is used to support the execution of the first electronic device 1200. Figure 10 Steps S1001, S1003, S1005, and S1008; and / or, support the first electronic device 1200 to perform Figure 11 Steps S1101, S1102, and S1106 in the process.

[0175] The transceiver module may include a receiving module and a transmitting module, and may be implemented by a transceiver or transceiver-related circuit components, and may be a transceiver or transceiver unit. The operation and / or function of each module in the first electronic device 1200 are respectively to implement the corresponding flow of the function jump method described in the above method embodiments. All relevant content of each step involved in the above method embodiments can be referred to the functional description of the corresponding functional module, and will not be repeated here for the sake of brevity.

[0176] Optional, Figure 12 The first electronic device 1200 shown may also include a storage module ( Figure 12 (Not shown in the image), this storage module stores programs or instructions. When the processing module 1201 and the transceiver module 1202 execute the program or instructions, it causes... Figure 12 The first electronic device 1200 shown can execute the function jump method described in the above method embodiments.

[0177] Figure 12 The technical effects of the first electronic device 1200 shown can be referred to the technical effects of the function jump method described in the above method embodiments, and will not be repeated here.

[0178] In another possible design, Figure 13 This is a schematic diagram of the structure of the second electronic device provided in an embodiment of this application. Figure 13 As shown, the second electronic device 1300, as a function switching device, can be the electronic device itself, a functional unit or chip within the electronic device, or a device used in conjunction with the electronic device. The second electronic device 1300 may include a processing module 1301 and a transceiver module 1302. The second electronic device 1300 can be used to implement the functions of the second electronic device (i.e., the source device) involved in the above method embodiments.

[0179] Optionally, a processing module 1301 is used to support the execution of the second electronic device 1300. Figure 10 Steps S1004 and S1009 in the above steps; and / or, supporting the second electronic device 1300 to perform Figure 11 Step S1107 in the process.

[0180] Optionally, the transceiver module 1302 is used to support the execution of the second electronic device 1300. Figure 10 Steps S1001, S1003, S1005, and S1008; and / or, support the second electronic device 1300 to perform. Figure 11 Steps S1101, S1102, and S1106 in the process.

[0181] The transceiver module may include a receiving module and a transmitting module, and may be implemented by a transceiver or transceiver-related circuit components, and may be a transceiver or transceiver unit. The operation and / or function of each module in the second electronic device 1300 are respectively to implement the corresponding flow of the function jump method described in the above method embodiments. All relevant content of each step involved in the above method embodiments can be referred to the functional description of the corresponding functional module, and will not be repeated here for the sake of brevity.

[0182] Optional, Figure 13 The second electronic device 1300 shown may also include a storage module. Figure 13 (Not shown in the image), this storage module stores programs or instructions. When the processing module 1301 and the transceiver module 1302 execute the program or instructions, it causes... Figure 13 The second electronic device 1300 shown can execute the function jump method described in the above method embodiments.

[0183] Figure 13 The technical effects of the second electronic device 1300 shown can be referred to the technical effects of the function jump method described in the above method embodiments, and will not be repeated here.

[0184] This application also provides a chip system, including: a processor coupled to a memory, the memory being used to store programs or instructions, wherein when the program or instructions are executed by the processor, the chip system implements the methods in any of the above method embodiments.

[0185] Optionally, the chip system may contain one or more processors. These processors can be implemented in hardware or software. When implemented in hardware, the processor can be a logic circuit, an integrated circuit, etc. When implemented in software, the processor can be a general-purpose processor, implemented by reading software code stored in memory.

[0186] Optionally, the chip system may contain one or more memories. The memory may be integrated with the processor or disposed separately from it; this application embodiment does not limit this. For example, the memory may be a non-transient processor, such as a read-only memory (ROM), which may be integrated with the processor on the same chip or disposed separately on different chips. This application embodiment does not specifically limit the type of memory or the arrangement of the memory and processor.

[0187] For example, the chip system may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a micro controller unit (MCU), a programmable logic device (PLD), or other integrated chips.

[0188] It should be understood that each step in the above method embodiments can be completed by integrated logic circuits in the processor hardware or by instructions in software form. The method steps disclosed in the embodiments of this application can be directly manifested as being executed by a hardware processor, or being executed by a combination of hardware and software modules in the processor.

[0189] Embodiments of this application also provide a storage medium for storing instructions used by the aforementioned communication device.

[0190] This application also provides a computer-readable storage medium storing computer instructions. When the computer instructions are executed on an electronic device, the electronic device performs the aforementioned method steps to implement the function jump method described in the above embodiments.

[0191] This application also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned related steps to implement the function jump method described above.

[0192] In addition, this application also provides an apparatus, which may specifically be a component or module. The apparatus may include one or more processors and a memory connected together; wherein the memory is used to store computer programs, and the one or more computer programs include instructions. When the instructions are executed by one or more processors, the apparatus performs the functional jump methods described in the above method embodiments.

[0193] In this application, the apparatus, computer-readable storage medium, computer program product or chip provided in the embodiments are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects in the corresponding methods provided above, and will not be repeated here.

[0194] The steps of the methods or algorithms described in conjunction with the embodiments of this application can be implemented in hardware or by a processor executing software instructions. The software instructions can consist of corresponding software modules, which can be stored in random access memory (RAM), flash memory, read-only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, portable hard disks, CD-ROMs, or any other form of storage medium well known in the art. An exemplary storage medium is coupled to a processor, enabling the processor to read information from and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can reside in an application-specific integrated circuit (ASIC).

[0195] Through the above description of the embodiments, those skilled in the art will clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0196] In the several embodiments provided in this application, it should be understood that the disclosed methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection of modules or units may be electrical, mechanical, or other forms.

[0197] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0198] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0199] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0200] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A function jump method, characterized in that, The method is applied to a first electronic device, and the method includes: Receive the projection content and layout information of the projection content sent by the second electronic device, and display the projection content on the first projection area; Detect the user's touch operation on the first projection area; Determine if the target application requested by the touch operation is installed locally; Launch the target application and display the target function page of the target application that received the touch operation request in the first projection area; The layout information includes layout information for describing the functional controls in the projected content. Determining that the target application to be launched by the touch operation request is installed locally includes: determining the functional control corresponding to the touch operation based on the layout information; determining the application corresponding to the functional control as the target application to be launched by the touch operation request; and determining that the target application is installed locally based on the package information of the target application stored locally.

2. The method according to claim 1, characterized in that, The step of determining that the target application requested to be launched by the touch operation is installed locally includes: After detecting a user's touch operation on the first projection area, a touch event corresponding to the touch operation is sent to the second electronic device; Receive a query message sent by the second electronic device, the query message being used to query the package information of the target application launched by the touch operation request; Based on the determination that the target application's package information is stored locally, it is confirmed that the target application is installed locally.

3. The method according to claim 1, characterized in that, The package information includes one or more of the following: the package name, component name, and component configuration of the target application.

4. The method according to claim 1, characterized in that, The application corresponding to the screen-cast content may be the same as or different from the target application.

5. The method according to any one of claims 1-4, characterized in that, The first electronic device includes one or more projection areas, and the one or more projection areas include the first projection area.

6. The method according to claim 1, characterized in that, The method further includes: It was determined that the target application requested to be launched by the touch operation was not installed locally. Send a query failure response to the second electronic device; The device receives the display content of the target function page of the target application sent by the second electronic device, wherein the target function page is the page to be displayed in the touch operation request.

7. An electronic device, characterized in that, include: The electronic device includes a processor, a memory, and a display screen, wherein the memory and the display screen are coupled to the processor, the memory being used to store computer program code, the computer program code including computer instructions, which, when read from the memory by the processor, cause the electronic device to perform the method as described in any one of claims 1-6.

8. A computer-readable storage medium, characterized in that, Includes a program or instructions that, when executed, implement the method as described in any one of claims 1-6.