A screen projection software compatible method, device and computer readable storage medium

CN113407232BActive Publication Date: 2026-06-19NUBIA TECHNOLOGY CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
NUBIA TECHNOLOGY CO LTD
Filing Date
2021-06-29
Publication Date
2026-06-19

Smart Images

  • Figure CN113407232B_ABST
    Figure CN113407232B_ABST
Patent Text Reader

Abstract

This invention discloses a screen mirroring software compatibility method, device, and computer-readable storage medium. The method includes: acquiring and installing a mobile screen mirroring program transmitted from the computer; determining the age relationship between the screen mirroring framework program and the mobile screen mirroring program; if the screen mirroring framework program is newer than the mobile screen mirroring program, then interfacing with the mobile screen mirroring program through the older version interface within the screen mirroring framework program; if the screen mirroring framework program is older than the mobile screen mirroring program, then interfacing with the screen mirroring framework program through the modified new version interface of the mobile screen mirroring program. This provides a user-friendly screen mirroring software compatibility solution, solving the problem of screen mirroring software upgrades on both computers and mobile phones. It is a compatibility solution with low user workload, high execution efficiency, and no mutual interference, enhancing the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of mobile communications, and more particularly to a screen mirroring software compatible method, device, and computer-readable storage medium. Background Technology

[0002] In existing technologies, with the continuous development of smart terminal devices, screen mirroring applications based on mobile devices such as smartphones are becoming increasingly popular and widely used. Specifically, current solutions propose using small-screen mobile devices like smartphones as the projected device and large-screen display devices like computers as the mirroring end. In this type of solution, both the computer and the smartphone require specific screen mirroring software. Updates to the technology on either the smartphone or the computer can potentially affect the other. For example, if a function is modified in the computer's screen mirroring program, and the program is released and installed, the user's smartphone might be running an older version. If compatibility issues aren't properly addressed, the new computer version could render the older smartphone version unusable. At the same time, it is also possible that the latest upgrade version has been released on the mobile app, meaning that the user's mobile phone has been upgraded to the latest version, but the user's PC version has not been upgraded in time. If the old PC version is still used, and the compatibility strategy is not properly considered, the new mobile version will also be unable to be used on the old PC version.

[0003] Therefore, in response to the existing screen mirroring solutions and the issue of upgrading screen mirroring software on both computers and mobile phones, there is an urgent need for a compatible solution that is easy on users, has high execution efficiency, and does not interfere with each other. Summary of the Invention

[0004] To address the aforementioned technical deficiencies in the prior art, this invention proposes a screen mirroring software compatibility method, which includes:

[0005] When the mobile device being projected connects to the computer being projected, the mobile projection program transmitted by the computer is obtained and installed.

[0006] The first version number of the screen casting framework program in the mobile device and the second version number of the mobile screen casting program are detected.

[0007] By comparing the first version number and the second version number, the relationship between the old and new versions of the screen casting framework program and the mobile screen casting program is determined.

[0008] If the screen mirroring framework program is newer than the mobile screen mirroring program, it will interface with the mobile screen mirroring program through the old version interface within the screen mirroring framework program. If the screen mirroring framework program is older than the mobile screen mirroring program, it will interface with the screen mirroring framework program through the modified new version interface of the mobile screen mirroring program.

[0009] Optionally, before obtaining and installing the mobile screen-casting program transmitted by the computer when the mobile device being cast connects to the computer, the process includes:

[0010] Based on the screen mirroring service of the mobile terminal, the screen mirroring program of the mobile terminal is divided into the mobile screen mirroring program and the screen mirroring framework program.

[0011] The mobile device receives version updates of the screen mirroring framework program via an over-the-air system update channel, and the mobile device also receives version updates of the mobile screen mirroring program via a screen mirroring connection channel.

[0012] Optionally, before obtaining and installing the mobile screen-casting program transmitted by the computer when the mobile device being cast connects to the computer, the method further includes:

[0013] Package the mobile screen mirroring program with the updated version into the computer screen mirroring program that is being distributed.

[0014] Generate and publish the computer screen mirroring program that includes the mobile screen mirroring program, and retain the mobile screen mirroring program when the computer downloads and installs the computer screen mirroring program.

[0015] Optionally, when the mobile device being projected connects to the computer being projected, obtaining and installing the mobile projection program transmitted by the computer includes:

[0016] When the mobile device is connected to the computer, it is detected whether the computer screen mirroring program has been installed on the computer.

[0017] If the computer screen mirroring program is already installed on the computer, then the mobile screen mirroring program transmitted from the computer and packaged with the computer screen mirroring program is obtained and installed.

[0018] Optionally, if the screen mirroring framework program is newer than the mobile screen mirroring program, then the interface with the mobile screen mirroring program is established through the older version interface within the screen mirroring framework program, including:

[0019] The first interface information that the screen casting framework program needs to support is determined based on the screen casting service.

[0020] The first interface information is obtained through the system's over-the-air upgrade channel and updated to the screen projection framework program.

[0021] Optionally, if the screen mirroring framework program is newer than the mobile screen mirroring program, then the interface with the mobile screen mirroring program is established through the older version interface within the screen mirroring framework program, further comprising:

[0022] If the screen mirroring framework program is newer than the mobile screen mirroring program, then the older version interface corresponding to the mobile screen mirroring program is determined in the first interface information.

[0023] During the screen mirroring process between the mobile device and the computer, the old version interface is used to connect with the mobile screen mirroring program.

[0024] Optionally, if the screen mirroring framework program is older than the mobile screen mirroring program, then the interface between the mobile screen mirroring program and the screen mirroring framework program is established through a modified version of the interface, including:

[0025] Based on the screen mirroring service, determine the second interface information that the mobile screen mirroring program supports modification.

[0026] Before the mobile screen mirroring program is packaged into the computer screen mirroring program, the second interface information is updated in the mobile screen mirroring program.

[0027] Optionally, if the screen mirroring framework program is older than the mobile screen mirroring program, then the interface between the mobile screen mirroring program and the screen mirroring framework program is established through a modified version of the interface. This further includes:

[0028] If the screen mirroring framework program is older than the mobile screen mirroring program, then the new version interface is modified for compatibility based on the second interface information.

[0029] During the screen mirroring process between the mobile device and the computer, the screen mirroring framework program is connected through a new version interface that has been modified for compatibility.

[0030] The present invention also proposes a screen mirroring software compatible device, the device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the screen mirroring software compatible method as described in any of the preceding claims.

[0031] The present invention also proposes a computer-readable storage medium storing a screen mirroring software compatibility program, which, when executed by a processor, implements the steps of the screen mirroring software compatibility method as described in any of the preceding claims.

[0032] The present invention provides a screen mirroring software compatibility method, device, and computer-readable storage medium. When a mobile device is connected to a computer for screen mirroring, a mobile screen mirroring program transmitted from the computer is acquired and installed. The method detects a first version number of the screen mirroring framework program and a second version number of the mobile screen mirroring program within the mobile device. By comparing the first and second version numbers, the method determines the relationship between the screen mirroring framework program and the mobile screen mirroring program. If the screen mirroring framework program is newer than the mobile screen mirroring program, it interfaces with the mobile screen mirroring program through the older version interface within the screen mirroring framework program. If the screen mirroring framework program is older than the mobile screen mirroring program, it interfaces with the screen mirroring framework program through the modified new version interface of the mobile screen mirroring program. This provides a user-friendly screen mirroring software compatibility solution, solves the problem of screen mirroring software upgrades on both computers and mobile phones, and offers a compatibility solution with low user workload, high execution efficiency, and no mutual interference, thus enhancing the user experience. Attached Figure Description

[0033] The present invention will be further described below with reference to the accompanying drawings and embodiments. In the accompanying drawings:

[0034] Figure 1 This is a schematic diagram of the hardware structure of a mobile terminal according to the present invention;

[0035] Figure 2 This is a communication network system architecture diagram provided in an embodiment of the present invention;

[0036] Figure 3 This is a flowchart of the first embodiment of the screen mirroring software compatibility method of the present invention;

[0037] Figure 4 This is a flowchart of the second embodiment of the screen mirroring software compatibility method of the present invention;

[0038] Figure 5 This is a flowchart of the third embodiment of the screen mirroring software compatibility method of the present invention;

[0039] Figure 6 This is a flowchart of the fourth embodiment of the screen mirroring software compatibility method of the present invention;

[0040] Figure 7 This is a flowchart of the fifth embodiment of the screen mirroring software compatibility method of the present invention;

[0041] Figure 8 This is a flowchart of the sixth embodiment of the screen mirroring software compatibility method of the present invention;

[0042] Figure 9 This is a flowchart of the seventh embodiment of the screen mirroring software compatibility method of the present invention;

[0043] Figure 10This is a flowchart of the eighth embodiment of the screen mirroring software compatibility method of the present invention. Detailed Implementation

[0044] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.

[0045] In the following description, the use of suffixes such as "module," "part," or "unit" to denote elements is solely for the purpose of illustrative purposes and has no specific meaning in itself. Therefore, "module," "part," or "unit" may be used interchangeably.

[0046] Terminals can be implemented in various forms. For example, the terminals described in this invention may include mobile terminals such as mobile phones, tablets, laptops, handheld computers, personal digital assistants (PDAs), portable media players (PMPs), navigation devices, wearable devices, smart bracelets, pedometers, etc., as well as fixed terminals such as digital TVs and desktop computers.

[0047] The following description will use a mobile terminal as an example. Those skilled in the art will understand that, apart from elements specifically designed for mobile purposes, the construction according to embodiments of the present invention can also be applied to fixed-type terminals.

[0048] Please see Figure 1 This is a schematic diagram of the hardware structure of a mobile terminal implementing various embodiments of the present invention. The mobile terminal 100 may include: an RF (Radio Frequency) unit 101, a WiFi module 102, an audio output unit 103, an A / V (Audio / Video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111, etc. Those skilled in the art will understand that... Figure 1 The mobile terminal structure shown does not constitute a limitation on the mobile terminal. The mobile terminal may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0049] The following is combined with Figure 1 A detailed introduction to each component of the mobile terminal:

[0050] The radio frequency unit 101 can be used for receiving and transmitting signals during information transmission or calls. Specifically, it receives downlink information from the base station and processes it with the processor 110; additionally, it transmits uplink data to the base station. Typically, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier, and a duplexer. Furthermore, the radio frequency unit 101 can also communicate wirelessly with networks and other devices. The aforementioned wireless communications may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution), and TDD-LTE (Time Division Duplexing-Long Term Evolution).

[0051] WiFi is a short-range wireless transmission technology. Mobile terminals, through the WiFi module 102, can help users send and receive emails, browse web pages, and access streaming media, providing users with wireless broadband internet access. Although Figure 1 WiFi module 102 is shown, but it is understood that it is not a necessary component of a mobile terminal and can be omitted as needed without changing the nature of the invention.

[0052] The audio output unit 103 can convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into audio signals and output them as sound when the mobile terminal 100 is in call signal receiving mode, call mode, recording mode, voice recognition mode, broadcast receiving mode, etc. Furthermore, the audio output unit 103 can also provide audio output related to specific functions performed by the mobile terminal 100 (e.g., call signal receiving sound, message receiving sound, etc.). The audio output unit 103 may include a speaker, a buzzer, etc.

[0053] The A / V input unit 104 is used to receive audio or video signals. The A / V input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042. The GPU 1041 processes image data of still images or videos acquired by an image capture device (such as a camera) in video capture mode or image capture mode. The processed image frames can be displayed on the display unit 106. The image frames processed by the GPU 1041 can be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) in operating modes such as telephone call mode, recording mode, and voice recognition mode, and can process such sound into audio data. The processed audio (voice) data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 101 in telephone call mode. The microphone 1042 can implement various types of noise cancellation (or suppression) algorithms to eliminate (or suppress) noise or interference generated during the reception and transmission of audio signals.

[0054] The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 1061 according to the ambient light level, and the proximity sensor can turn off the display panel 1061 and / or backlight when the mobile terminal 100 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes). When stationary, it can detect the magnitude and direction of gravity and can be used for applications that recognize the phone's posture (such as landscape / portrait switching, related games, magnetometer posture calibration), vibration recognition-related functions (such as pedometer, tapping), etc. Other sensors that may be configured in the phone, such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, and infrared sensors, will not be described in detail here.

[0055] The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

[0056] User input unit 107 can be used to receive input numerical or character information, and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, user input unit 107 may include touch panel 1071 and other input devices 1072. Touch panel 1071, also known as touch screen, can collect touch operations on or near the user (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near touch panel 1071), and drive corresponding connection devices according to a pre-set program. Touch panel 1071 may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch position and the signal generated by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, sends it to processor 110, and can receive and execute commands from processor 110. In addition, touch panel 1071 can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may also include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, one or more of the following: physical keyboard, function keys (such as volume control buttons, power buttons, etc.), trackball, mouse, joystick, etc., without being limited here.

[0057] Furthermore, the touch panel 1071 may cover the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits the information to the processor 110 to determine the type of touch event. Subsequently, the processor 110 provides corresponding visual output on the display panel 1061 based on the type of touch event. Although in Figure 1 In this embodiment, the touch panel 1071 and the display panel 1061 are two independent components to realize the input and output functions of the mobile terminal. However, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated to realize the input and output functions of the mobile terminal. The specific implementation is not limited here.

[0058] Interface unit 108 serves as an interface through which at least one external device can connect to mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, and so on. Interface unit 108 may be used to receive input (e.g., data, power, etc.) from the external device and transmit the received input to one or more elements within mobile terminal 100, or it may be used to transmit data between mobile terminal 100 and the external device.

[0059] The memory 109 can be used to store software programs and various data. The memory 109 may primarily include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function (such as sound playback, image playback, etc.), etc.; the data storage area may store data created based on the use of the mobile phone (such as audio data, phonebook, etc.). Furthermore, the memory 109 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, or other volatile solid-state storage device.

[0060] The processor 110 is the control center of the mobile terminal. It connects various parts of the mobile terminal via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 109, and by calling data stored in the memory 109, it performs various functions and processes data of the mobile terminal, thereby providing overall monitoring of the mobile terminal. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor. The application processor mainly handles the operating system, user interface, and applications, while the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 110.

[0061] The mobile terminal 100 may also include a power supply 111 (such as a battery) that supplies power to various components. Preferably, the power supply 111 can be logically connected to the processor 110 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system.

[0062] although Figure 1 As not shown, the mobile terminal 100 may also include a Bluetooth module, etc., which will not be described in detail here.

[0063] To facilitate understanding of the embodiments of the present invention, the communication network system on which the mobile terminal of the present invention is based is described below.

[0064] Please see Figure 2 , Figure 2 This invention provides a communication network system architecture diagram. The communication network system is an LTE system based on the universal mobile communication technology. The LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and the operator's IP services 204, which are connected in sequence.

[0065] Specifically, UE201 can be the aforementioned terminal 100, which will not be elaborated here.

[0066] E-UTRAN202 includes eNodeB2021 and other eNodeB2022s. Among them, eNodeB2021 can connect to other eNodeB2022s via backhaul (e.g., X2 interface), and eNodeB2021 connects to EPC203. eNodeB2021 can provide UE201 with access to EPC203.

[0067] EPC203 may include MME (Mobility Management Entity) 2031, HSS (Home Subscriber Server) 2032, other MMEs 2033, SGW (Serving Gateway) 2034, PGW (Packet Data Network Gateway) 2035, and PCRF (Policy and Charging Rules Function) 2036, etc. Among them, MME2031 is the control node that handles signaling between UE201 and EPC203, providing bearer and connection management. HSS2032 provides registers to manage functions such as the Home Location Register (not shown in the diagram) and stores user-specific information such as service characteristics and data rates. All user data can be sent through SGW2034. PGW2035 can provide UE 201 IP address allocation and other functions. PCRF2036 is the policy and charging control decision point for service data flow and IP bearer resources. It selects and provides available policy and charging control decisions for the policy and charging enforcement function unit (not shown in the figure).

[0068] IP services 204 may include the Internet, intranet, IMS (IP Multimedia Subsystem), or other IP services.

[0069] Although the above description uses the LTE system as an example, those skilled in the art should understand that the present invention is not only applicable to the LTE system, but also to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems, etc., which are not limited here.

[0070] Based on the aforementioned mobile terminal hardware structure and communication network system, various embodiments of the method of the present invention are proposed.

[0071] Example 1

[0072] Figure 3 This is a flowchart of the first embodiment of the screen mirroring software compatibility method of the present invention. A screen mirroring software compatibility method, the method comprising:

[0073] S1. When the mobile device being projected connects to the computer being projected, the mobile projection program transmitted by the computer is obtained and installed.

[0074] S2. Detect the first version number of the screen casting framework program in the mobile terminal and the second version number of the mobile screen casting program.

[0075] S3. By comparing the first version number and the second version number, determine the relationship between the old and new versions of the screen casting framework program and the mobile screen casting program.

[0076] S4. If the screen mirroring framework program is newer than the mobile screen mirroring program, it will interface with the mobile screen mirroring program through the old version interface within the screen mirroring framework program. If the screen mirroring framework program is older than the mobile screen mirroring program, it will interface with the screen mirroring framework program through the modified new version interface of the mobile screen mirroring program.

[0077] Optionally, in this embodiment, firstly, a distinction is made between the portion that must be upgraded via the over-the-air (OTA) update package of the mobile device's ROM firmware, namely the screen casting framework program in the screen casting service. This part can generally only be implemented through OTA upgrades. Simultaneously, considering that this part is also strongly coupled with the screen casting application, modifications to or omissions of this part directly affect whether the screen casting application can function normally. The other part to be distinguished in this embodiment, namely the APK application of the mobile device and the EXE application of the computer, both of which can obtain the latest version with network updates, or either part can be updated arbitrarily. In this embodiment, the APK application of the mobile device and the EXE application of the computer are respectively referred to as the mobile screen casting program and the computer screen casting program of this embodiment.

[0078] Optionally, in this embodiment, considering that the APK on the mobile phone and the EXE on the computer can easily achieve consistent compatibility, this embodiment adopts a strategy of releasing the mobile APK and the computer EXE together. That is, the APK is packaged within the computer EXE. When the user installs it on the computer, and the computer detects the first screen mirroring attempt, it will directly install the compatible APK onto the mobile phone. This ensures that the screen mirroring APKs on the computer and mobile phone are fully compatible, avoiding the incompatibility issues between the APK and the computer EXE mentioned above. However, the compatibility issues between the old and new versions of the framework and the APK may still exist.

[0079] Optionally, in this embodiment, in order to solve the above-mentioned compatibility problem between the framework and the APK versions, firstly, it is determined which version of the framework is newer and which version of the APK is older. Specifically, this needs to be implemented at the framework layer. That is, the framework reads the version number of the casting APK released at the same time from the configuration file. If it is detected that the version number of the current APK is greater than the version number of the casting APK released at the same time, then it is determined that the current APK version is newer. Conversely, if it is detected that the version number of the current APK is less than the version number of the casting APK released at the same time, then it is determined that the current APK version is older.

[0080] Optionally, in this embodiment, based on the above judgment result, if the framework is new and the mobile APK is old, then, based on the principle of new version compatibility with old version, the framework is used to make the old version APK compatible. That is, the interfaces for communication between the old version APK and the framework are retained. At the same time, under the premise that the functions of each retained interface are detected to be normal, the interface compatibility settings are made.

[0081] Optionally, in this embodiment, based on the above judgment result, if the framework is old and the mobile APK is new, the APK is modified so that the communication interface between the APK and the framework can be used normally. Similarly, under the premise that the functions of each modified interface are detected to be normal, interface compatibility settings are performed.

[0082] Optionally, in this embodiment, by cleverly using a differentiated software distribution scheme, the situation where the old and new versions of the mobile and computer versions are different is avoided. The APKs that are compatible with both the mobile and computer versions are packaged together and placed into the exe on the computer version. This transforms cross-terminal compatibility into a compatibility issue between the mobile system's framework and the APK, greatly reducing the difficulty of compatibility settings.

[0083] The beneficial effect of this embodiment is that, when the mobile device being projected connects to the computer being projected to, it acquires and installs the mobile projection program transmitted by the computer; detects the first version number of the projection framework program and the second version number of the mobile projection program within the mobile device; by comparing the first version number and the second version number, it determines the relationship between the projection framework program and the mobile projection program; if the projection framework program is newer than the mobile projection program, it interfaces with the mobile projection program through the old version interface within the projection framework program; if the projection framework program is older than the mobile projection program, it interfaces with the projection framework program through the modified new version interface of the mobile projection program. This achieves a user-friendly projection software compatibility solution, solves the problem of projection software upgrades on both computers and mobile phones, and is a compatibility processing solution with low user workload, high execution efficiency, and no mutual interference, thus enhancing the user experience.

[0084] Example 2

[0085] Figure 4 This is a flowchart of the second embodiment of the screen mirroring software compatibility method of the present invention. Based on the above embodiment, before obtaining and installing the mobile screen mirroring program transmitted by the computer when the mobile device to be mirrored is connected to the computer, the process includes:

[0086] S01. Based on the screen casting service of the mobile terminal, the screen casting program of the mobile terminal is divided into the mobile screen casting program and the screen casting framework program.

[0087] S02. The mobile terminal receives the version update of the screen casting framework program through the system over-the-air upgrade channel, and the mobile terminal receives the version update of the mobile screen casting program through the screen casting connection channel.

[0088] Optionally, in this embodiment, the mobile terminal receives the version update of the screen casting framework program through the system over-the-air upgrade channel, and when the version is updated, it determines the screen casting APK version number that the framework reads in the configuration file and is released at the same time.

[0089] Optionally, in this embodiment, the mobile terminal detects whether the version update of the mobile casting program to be received needs to be executed through the casting connection channel. That is, it determines whether the mobile casting program version of the mobile terminal itself is older than the mobile casting program version to be distributed on the computer. If so, the mobile terminal receives the version update of the mobile casting program through the casting connection channel.

[0090] The beneficial effect of this embodiment is that, by dividing the screen casting program of the mobile terminal into the mobile screen casting program and the screen casting framework program according to the screen casting service of the mobile terminal, the mobile terminal receives version updates of the screen casting framework program through the system over-the-air upgrade channel, and the mobile terminal receives version updates of the mobile screen casting program through the screen casting connection channel. This provides a differentiated update basis for two different programs on the mobile terminal to achieve a user-friendly screen casting software compatibility solution, solving the screen casting software upgrade problem on both computers and mobile phones. It is a compatibility processing solution with low user workload, high execution efficiency, and no mutual interference, thus enhancing the user experience.

[0091] Example 3

[0092] Figure 5 This is a flowchart of the third embodiment of the screen mirroring software compatibility method of the present invention. Based on the above embodiment, before obtaining and installing the mobile screen mirroring program transmitted by the computer when the mobile device to be mirrored is connected to the computer, the method further includes:

[0093] S03. Package the mobile screen mirroring program with the updated version into the computer screen mirroring program that is being distributed.

[0094] S04. Generate and publish the computer screen mirroring program containing the mobile screen mirroring program, and retain the mobile screen mirroring program when the computer downloads and installs the computer screen mirroring program.

[0095] Optionally, in this embodiment, the mobile screen mirroring program with an updated version is packaged into the computer screen mirroring program that is being distributed. Specifically, when the computer screen mirroring program has an update, before generating the distribution link for the computer screen mirroring program, a corresponding update query interface is used to check whether the current mobile screen mirroring program has an update. If so, the mobile screen mirroring program with an updated version is packaged into the computer screen mirroring program that is being distributed.

[0096] Optionally, in this embodiment, a computer screen mirroring program containing the mobile screen mirroring program is generated and published, and the mobile screen mirroring program is stored when the computer downloads and installs the computer screen mirroring program. Specifically, the computer parses the main body of the computer execution program in the computer screen mirroring program and synchronizes and associates it with the stored main body of the mobile screen mirroring program.

[0097] Optionally, in this embodiment, when installing the computer screen mirroring program multiple times, if the program body of the above-mentioned mobile screen mirroring program is stored in multiple different versions, the program body of the latest mobile screen mirroring program is used to replace the program body of the old mobile screen mirroring program.

[0098] The beneficial effect of this embodiment is that by packaging the mobile screen mirroring program with version updates into the computer screen mirroring program that is being distributed; generating and publishing the computer screen mirroring program containing the mobile screen mirroring program; and retaining the mobile screen mirroring program when the computer downloads and installs the computer screen mirroring program, a method is provided for packaging and retaining the main body of the mobile screen mirroring program to achieve a user-friendly screen mirroring software compatibility solution. This solves the problem of screen mirroring software upgrades on both computers and mobile phones, and is a compatibility processing solution with low user workload, high execution efficiency, and no mutual interference, thus enhancing the user experience.

[0099] Example 4

[0100] Figure 6 This is a flowchart of the fourth embodiment of the screen mirroring software compatibility method of the present invention. Based on the above embodiment, when the mobile terminal to be mirrored is connected to the computer terminal for screen mirroring, obtaining and installing the mobile screen mirroring program transmitted by the computer terminal includes:

[0101] S11. When the mobile terminal is connected to the computer terminal, detect whether the computer screen mirroring program has been installed on the computer terminal.

[0102] S12. If the computer screen mirroring program is already installed on the computer, then obtain and install the mobile screen mirroring program transmitted by the computer and which is packaged with the computer screen mirroring program.

[0103] Optionally, in this embodiment, when the mobile terminal connects to the computer, it is detected whether the computer screen mirroring program is installed on the computer. Specifically, if the computer screen mirroring program is installed on the computer, the version of the computer screen mirroring program on the computer and whether the program body of the aforementioned mobile screen mirroring program is still present are further detected.

[0104] Optionally, in this embodiment, if the computer has already installed the screen mirroring program, the program version of the stored mobile screen mirroring program is obtained. If the program version is newer than the current mobile screen mirroring program version on the mobile device, the mobile screen mirroring program transmitted by the computer is obtained and installed.

[0105] The beneficial effect of this embodiment is that, when the mobile terminal connects to the computer, it detects whether the computer screen mirroring program is already installed on the computer; if the computer screen mirroring program is already installed on the computer, it obtains and installs the mobile screen mirroring program transmitted by the computer and which has a packaging relationship with the computer screen mirroring program. This provides a method for determining the installation and update of mobile screen mirroring programs to achieve a user-friendly screen mirroring software compatibility solution, solving the problem of screen mirroring software upgrades on both computers and mobile phones. It is a compatibility processing solution with low user workload, high execution efficiency, and no mutual interference, thus enhancing the user experience.

[0106] Example 5

[0107] Figure 7 This is a flowchart of the fifth embodiment of the screen mirroring software compatibility method of the present invention. Based on the above embodiment, if the screen mirroring framework program is newer than the mobile screen mirroring program, then the interface with the mobile screen mirroring program is established through the older version interface within the screen mirroring framework program, including:

[0108] S41. Determine the first interface information that the screen casting framework program needs to support based on the screen casting service.

[0109] S42. Obtain the first interface information through the system's over-the-air upgrade channel and update it to the screen projection framework program.

[0110] Optionally, in this embodiment, the first interface information is obtained through the system's over-the-air (OTA) upgrade channel and updated to the screen mirroring framework program. The first interface information includes compatible legacy interfaces suitable for interfacing with various older versions of mobile screen mirroring programs.

[0111] Optionally, in this embodiment, after the first interface information is obtained through the system over-the-air upgrade channel and updated to the screen casting framework program, the screen casting framework program is used to detect whether the above-mentioned compatible old interface can work normally, and the version number sequence of compatible mobile screen casting programs is determined based on the detection results of the working status.

[0112] The beneficial effect of this embodiment is that it determines the first interface information that the screen casting framework program needs to support based on the screen casting service; obtains the first interface information through the system's over-the-air upgrade channel; and updates it to the screen casting framework program. This provides an interface compatibility strategy for the screen casting framework program to achieve a user-friendly screen casting software compatibility solution, solving the screen casting software upgrade problem on both computers and mobile phones. It is a compatibility processing solution with low user workload, high execution efficiency, and no mutual interference, thus enhancing the user experience.

[0113] Example 6

[0114] Figure 8This is a flowchart of the sixth embodiment of the screen mirroring software compatibility method of the present invention. Based on the above embodiment, if the screen mirroring framework program is newer than the mobile screen mirroring program, then the interface with the mobile screen mirroring program is established through the old version interface within the screen mirroring framework program. The method further includes:

[0115] S43. If the screen casting framework program is newer than the mobile screen casting program, then the old version interface corresponding to the mobile screen casting program is determined in the first interface information.

[0116] S44. During the screen mirroring process between the mobile terminal and the computer terminal, the old version interface is used to connect with the mobile screen mirroring program.

[0117] Optionally, in this embodiment, it is determined whether the version number of the current mobile screen casting program exists in the above-mentioned compatible mobile screen casting program version number sequence. If yes, then during the screen casting establishment process between the mobile terminal and the computer terminal, the old version interface is used to connect with the mobile screen casting program. If not, then the computer terminal connects to the network to obtain and transmit any mobile screen casting program in the compatible mobile screen casting program version number sequence to the mobile terminal, and the program is updated on the mobile terminal.

[0118] The beneficial effect of this embodiment is that, by determining that if the screen mirroring framework program is newer than the mobile screen mirroring program, the old version interface corresponding to the mobile screen mirroring program is determined in the first interface information; during the screen mirroring establishment process between the mobile terminal and the computer terminal, the old version interface is used to interface with the mobile screen mirroring program. This provides an interface interface method for a newer screen mirroring framework program to achieve a user-friendly screen mirroring software compatibility solution, solving the problem of screen mirroring software upgrades on both computers and mobile phones. It is a compatibility processing solution with low user workload, high execution efficiency, and no mutual interference, thus enhancing the user experience.

[0119] Example 7

[0120] Figure 9 This is a flowchart of the seventh embodiment of the screen mirroring software compatibility method of the present invention. Based on the above embodiment, if the screen mirroring framework program is older than the mobile screen mirroring program, then the interface between the mobile screen mirroring program and the screen mirroring framework program is established through a modified new version interface, including:

[0121] S45. Determine the second interface information that the mobile screen casting program supports modification based on the screen casting service.

[0122] S46. Before the mobile screen mirroring program is packaged into the computer screen mirroring program, the second interface information is updated to the mobile screen mirroring program.

[0123] Optionally, in this embodiment, before the mobile screen mirroring program is packaged into the computer screen mirroring program, the second interface information is updated to the mobile screen mirroring program. That is, after the mobile screen mirroring program is installed on the mobile device, it has the ability to modify the compatibility interface according to the second interface information.

[0124] The beneficial effect of this embodiment is that, by determining the second interface information that the mobile screen casting program supports modification based on the screen casting service, and updating the second interface information to the mobile screen casting program before it is packaged into the computer screen casting program, this provides a basis for modifying compatibility interfaces to achieve a user-friendly screen casting software compatibility solution. It solves the problem of screen casting software upgrades on both computers and mobile phones, offering a compatibility solution with low user workload, high execution efficiency, and no mutual interference, thus enhancing the user experience.

[0125] Example 8

[0126] Figure 10 This is a flowchart of the eighth embodiment of the screen mirroring software compatibility method of the present invention. Based on the above embodiment, the step of interfacing with the screen mirroring framework program through the modified new version interface of the mobile screen mirroring program if the screen mirroring framework program is older than the mobile screen mirroring program further includes:

[0127] S47. If the screen casting framework program is older than the mobile screen casting program, then the new version interface is modified for compatibility based on the second interface information.

[0128] S48. During the screen mirroring process between the mobile terminal and the computer terminal, the screen mirroring framework program is connected through a new version interface that has been modified for compatibility.

[0129] Optionally, in this embodiment, during the screen mirroring process between the mobile terminal and the computer terminal, the screen mirroring framework program is connected through a new version interface that has been modified for compatibility. Afterward, the computer terminal detects whether the mobile terminal has a system upgrade package corresponding to the aforementioned screen mirroring framework program.

[0130] Optionally, in this embodiment, if a system upgrade package corresponding to the above-mentioned screen mirroring framework program is detected, it is downloaded to the computer and transferred to the mobile terminal for overwrite installation. After installation, the above-mentioned interface is updated to ensure that the latest screen mirroring service can be fully implemented.

[0131] The beneficial effect of this embodiment is that, by determining that if the screen mirroring framework program is older than the mobile screen mirroring program, the new version interface is modified for compatibility based on the second interface information; during the screen mirroring establishment process between the mobile terminal and the computer terminal, the screen mirroring framework program is connected through the modified new version interface. This provides a user-friendly screen mirroring software compatibility solution by offering an interface connection method for older screen mirroring framework programs, solving the screen mirroring software upgrade problem on both computers and mobile phones. It is a compatibility processing solution with low user workload, high execution efficiency, and no mutual interference, thus enhancing the user experience.

[0132] Example 9

[0133] Based on the above embodiments, the present invention also proposes a screen projection software compatible device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the steps of the screen projection software compatible method as described in any of the above embodiments.

[0134] It should be noted that the above-described device embodiments and method embodiments belong to the same concept. The specific implementation process can be found in the method embodiments, and the technical features in the method embodiments are also applicable to the device embodiments, which will not be repeated here.

[0135] Example 10

[0136] Based on the above embodiments, the present invention also proposes a computer-readable storage medium storing a screen mirroring software compatibility program, which, when executed by a processor, implements the steps of the screen mirroring software compatibility method as described in any of the above embodiments.

[0137] It should be noted that the above-described medium embodiments and method embodiments belong to the same concept. The specific implementation process can be found in the method embodiments, and the technical features in the method embodiments are also applicable to the medium embodiments, which will not be repeated here.

[0138] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0139] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0140] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0141] The embodiments of the present invention have been described above with reference to the accompanying drawings. However, the present invention is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of the present invention without departing from the spirit and scope of the claims. All of these forms are within the protection scope of the present invention.

Claims

1. A method for software compatibility of screen projection, characterized in that, The method includes: Based on the screen mirroring service on the mobile terminal, the screen mirroring program on the mobile terminal is divided into a mobile screen mirroring program and a screen mirroring framework program. The mobile device receives version updates of the screen mirroring framework program via over-the-air system updates, and the mobile device also receives version updates of the mobile screen mirroring program from the computer connected to the screen mirroring connection. Package the mobile screen mirroring program with the updated version into the computer screen mirroring program to be distributed; Generate and publish the computer screen mirroring program that includes the mobile screen mirroring program, and retain the mobile screen mirroring program when the computer downloads and installs the computer screen mirroring program; When the mobile device being projected is connected to the computer being projected, the mobile projection program transmitted by the computer is obtained and installed; wherein, when the mobile device is connected to the computer, it is detected whether the computer projection program is already installed on the computer; if the computer projection program is already installed on the computer, the mobile projection program transmitted by the computer and having a package relationship with the computer projection program is obtained and installed. Detect the first version number of the screen casting framework program in the mobile device and the second version number of the mobile screen casting program; By comparing the first version number and the second version number, the relationship between the old and new versions of the screen casting framework program and the mobile screen casting program is determined. If the screen mirroring framework program is newer than the mobile screen mirroring program, it will interface with the mobile screen mirroring program through the old version interface within the screen mirroring framework program; if the screen mirroring framework program is older than the mobile screen mirroring program, it will interface with the screen mirroring framework program through the modified new version interface of the mobile screen mirroring program. in, Determine the first interface information that the screen casting framework program needs to support based on the screen casting service; The first interface information is obtained through the system's over-the-air upgrade channel and updated to the screen projection framework program; If the screen mirroring framework program is newer than the mobile screen mirroring program, then the old version interface corresponding to the mobile screen mirroring program is determined in the first interface information; During the screen mirroring process between the mobile device and the computer, the old version interface is used to connect with the mobile screen mirroring program. Based on the screen mirroring service, determine the second interface information that the mobile screen mirroring program supports modification; Before the mobile screen mirroring program is packaged into the computer screen mirroring program, the second interface information is updated in the mobile screen mirroring program; If the screen mirroring framework program is older than the mobile screen mirroring program, then the new version interface is modified for compatibility based on the second interface information; During the screen mirroring process between the mobile device and the computer, the screen mirroring framework program is connected through a new version interface that has been modified for compatibility.

2. A screen projection software compatible device, characterized in that, The device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the screen mirroring software compatibility method as described in claim 1.

3. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a screen projection software compatible program, and the screen projection software compatible program, when executed by the processor, implements the steps of the screen projection software compatible method of claim 1.