Screen projection display method, electronic device and readable storage medium
Patent Information
- Application Number
- CN202210269718.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-18
- Publication Date
- 2026-10-27
- Estimated Expiration
- 2042-03-18
AI Technical Summary
[0003]目前,当手机的app中使用了某个第三方控件或图标时,由于第三方控件或图标的尺寸是未知的,且车机的显示屏的每英寸像素点数(Pixels Per Inch,PPI)与手机的显示屏的每英寸点数往往是不同的,而第三方控件和图标使用的是手机的PPI,因此,会导致第三方控件或图标在投屏之后出现显示模糊的情况
[0004]本申请的一个目的在于提供一种投屏显示方法,所述的投屏显示方法适用于加载第三方页面元素情况下的投屏显示过程。
Smart Images

Figure CN116795308B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle networking technology, and more specifically, to a screen projection display method, an electronic device, and a computer-readable storage medium. Background Technology
[0002] With the development of mobile phone technology and in-vehicle technology, projecting mobile phone screens onto in-vehicle systems can greatly improve the user's driving experience.
[0003] Currently, when a mobile app uses a third-party control or icon, the size of the third-party control or icon is unknown, and the number of pixels per inch (PPI) of the car's display screen is often different from that of the mobile phone's display screen. Since the third-party control or icon uses the mobile phone's PPI, the third-party control or icon may appear blurry after screen mirroring. Summary of the Invention
[0004] One objective of this application is to provide a screen projection method applicable to the screen projection process when loading third-party page elements.
[0005] One objective of this application is to provide a screen projection display method that allows the display size of loaded third-party page elements to be controlled, thereby improving the display effect.
[0006] One objective of this application is to provide a screen projection display method that can adjust the original size of a third-party page element whose display size is unsuitable, thereby improving the display effect of the third-party page element.
[0007] To achieve the above objectives, the first aspect of this application provides a screen projection method in which, after projection, a local page element with the same width and height as the third-party page element is created at the projection initiating end. A second ratio between the original size of the third-party page element and the actual size of the newly created local page element is calculated. Then, this second ratio is compared with a first ratio between the pixel density of the projection display end and the pixel density of the projection initiating end. When the two are not equal, the size of the third-party page element is reset to optimize the display effect and avoid display problems such as stretching or exceeding the screen area.
[0008] According to some embodiments of this application, controlling the projection display of third-party page elements on the projection display terminal based on the relationship between the first ratio and the second ratio includes: when it is determined that the second ratio is equal to the first ratio, projecting the third-party page elements according to the display size formed by the preset width and height and the first pixel density.
[0009] According to some embodiments of this application, controlling the projection display of third-party page elements on the projection display terminal based on the relationship between a first ratio and a second ratio includes: when it is determined that the second ratio is not equal to the first ratio, modifying the original size of the third-party page elements based on the first ratio; and projecting the third-party page elements according to the modified size.
[0010] According to some embodiments of this application, modifying the original size of a third-party page element based on a first ratio includes: the modified size of the third-party page element is the product of the original size of the third-party page element and the first ratio.
[0011] In some implementations, obtaining the original size of a third-party page element includes: determining that the third-party page element is of a public type and directly reading the original size of the third-party page element; or, determining that the third-party page element is of a private type and reading the original size of the third-party page element using reflection.
[0012] In some implementations, local page elements are transparent page elements.
[0013] In some implementations, the screen mirroring method further includes removing local page elements from the screen mirroring initiator.
[0014] To achieve the above objectives, a second aspect of this application provides an electronic device, including: a processor; and a memory communicatively connected to the processor, wherein the memory stores a program executable by the processor, and when the program is executed by the processor, the processor is able to execute the screen projection display method as described above.
[0015] To achieve the above objectives, a third aspect of this application provides a readable storage medium storing a computer program, which, when executed by a processor, implements the screen projection display method as described above. Attached Figure Description
[0016] Other features, objects, and advantages of this application will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings. Wherein:
[0017] Figure 1 This is a flowchart of a screen projection display method according to an embodiment of this application;
[0018] Figure 2 This is a flowchart of step S101 according to an exemplary embodiment of this application;
[0019] Figure 3 This is a flowchart of step S106 according to an exemplary embodiment of this application;
[0020] Figure 4This is a flowchart of step S108 according to an exemplary embodiment of this application;
[0021] Figure 5 This is an application scenario diagram of the screen projection display method according to an exemplary embodiment of this application;
[0022] Figure 6 This is a schematic diagram of the structure of the electronic device according to the first embodiment of this application; and
[0023] Figure 7 This is a schematic diagram of the structure of an electronic device according to the second embodiment of this application. Detailed Implementation
[0024] To better understand this application, various aspects of this application will be described in more detail with reference to the accompanying drawings. It should be understood that these detailed descriptions are merely illustrative of exemplary embodiments of this application and are not intended to limit the scope of this application in any way. Throughout the specification, the same reference numerals refer to the same elements. The expression "and / or" includes any and all combinations of one or more of the associated listed items.
[0025] It should be noted that, in this specification, unless expressly taught to the contrary, the terms "first," "second," "third," etc., are used only to distinguish one feature from another and do not imply any limitation on the features, or in particular any order of precedence.
[0026] In the accompanying drawings, the thickness, dimensions, and shapes of the parts have been slightly adjusted for ease of illustration. The drawings are for illustrative purposes only and are not drawn to scale. As used herein, the terms “approximately,” “about,” and similar terms are used as expressions of approximation, not as expressions of degree, and are intended to illustrate inherent deviations in measured or calculated values that will be recognized by one of ordinary skill in the art.
[0027] It should also be understood that expressions such as "comprising," "including," "having," "containing," and / or "comprising" are open-ended rather than closed-ended expressions in this specification, indicating the presence of the stated features, elements, and / or components, but not excluding the presence of one or more other features, elements, components, and / or combinations thereof. Furthermore, when describing embodiments of this application, the word "may" is used to mean "one or more embodiments of this application." And the term "exemplary" is intended to refer to examples or illustrations.
[0028] Unless otherwise specified, all terms used herein (including engineering and technical terms) shall have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains. It should also be understood that, unless expressly stated herein, terms defined in common dictionaries shall be interpreted as having the meaning consistent with their meaning in the context of the relevant art, and not as having an idealized or overly formalized meaning.
[0029] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. Furthermore, unless explicitly limited or contradicted by the context, the specific steps included in the methods described in this application are not limited to the order in which they are described, but can be performed in any order or in parallel. This application will now be described in detail with reference to the accompanying drawings and embodiments.
[0030] First, let's explain the terms used in the embodiments of this application:
[0031] Pixel density: This refers to the number of pixels per inch (PPI). Therefore, a higher pixel density means the display can show images at a higher density. Higher display density results in higher realism.
[0032] Width and height: The length of a page element in the horizontal and vertical directions, parameters preset by the developer. Different widths and heights allow for different pixel counts depending on the display screen (which has different pixel densities). The unit for width and height is DP (display pixel).
[0033] The original / actual size of a page element represents the display size of the page element on the screen, that is, the number of pixels that can be displayed on a screen with a certain width and height and a certain pixel density, in pixels (PX).
[0034] This application proposes a screen mirroring method. In this scheme, a first ratio is determined between a first pixel density at the screen mirroring display end and a second pixel density at the screen mirroring initiating end; in response to the screen mirroring display end loading a third-party page element with a preset width and height, a local page element with the preset width and height is created at the screen mirroring initiating end; the original size of the third-party page element is obtained, and a second ratio is determined between the original size and the actual size of the local page element; and the screen mirroring display of the third-party page element at the screen mirroring display end is controlled according to the relationship between the first ratio and the second ratio. In the above scheme, after screen mirroring, a local page element with the same width and height as the third-party page element is created at the screen mirroring initiating end, and the ratio between the original size of the third-party page element and the actual size of the newly created local page element is calculated. This ratio is then compared with the ratio between the pixel density of the screen mirroring display end and the pixel density of the screen mirroring initiating end, thereby determining whether the display size of the introduced third-party page element after screen mirroring is normal.
[0035] In the following sections, specific examples of this solution will be described in more detail with reference to the accompanying drawings.
[0036] Figure 1 A flowchart of a screen projection display method 100 according to an embodiment of this application is shown.
[0037] like Figure 1 As shown, the screen projection method 100 includes the following steps:
[0038] S102. Determine the first ratio between the first pixel density of the screen projection display end and the second pixel density of the screen projection initiation end;
[0039] S104. In response to the action of loading a third-party page element with a preset width and height on the screen casting display end, a local page element with a preset width and height is created on the screen casting initiator end.
[0040] S106. Obtain the original size of the third-party page element and determine a second ratio between the original size and the actual size of the local page element; and
[0041] S108. Control the screen projection display of third-party page elements on the projection display terminal according to the relationship between the first ratio and the second ratio.
[0042] It should be understood that the steps shown in screen projection method 100 are not exclusive, and method 100 may also include additional steps not shown and / or the steps shown may be omitted; the scope of this application is not limited in this respect. See below for reference. Figures 2 to 5 Describe steps S102 to S108 in detail.
[0043] S102
[0044] In step S102, a first ratio is determined between the first pixel density of the projection display end and the second pixel density of the projection initiating end.
[0045] In some implementations, the projection initiator is a smart terminal, such as a smartphone or tablet. The projection display is a virtual display screen created on the smart terminal based on the pixel density of the projection device. For example, if the projection device is an in-vehicle terminal and the projection initiator is a smart terminal, the projection display is a virtual display screen created on the smart terminal based on the pixel density of the in-vehicle terminal.
[0046] Therefore, before performing the above step S102, the screen projection method 100 also includes step S101, which establishes a virtual display screen.
[0047] In some implementations, such as Figure 2 As shown, step S101 includes the following steps:
[0048] S1011. Establish an interconnection channel between the screen mirroring initiator and the screen mirroring device; and
[0049] S1012. Create a virtual display screen at the screen casting initiator based on the pixel density of the screen casting device.
[0050] In step S1011, the method for establishing the interconnection channel between the screen casting initiator and the screen casting device can be USB, Wi-Fi, or Bluetooth (BT), etc. In step S1012, the screen casting initiator obtains the pixel density of the screen casting device and then creates a virtual display screen of the same scale based on the pixel density of the screen casting device. Common pixel densities of screen casting devices include 120, 160, or 240. Therefore, the virtual display screen has the pixel density of the screen casting device; that is, the first pixel density commonly takes values of 120, 160, or 240, while the second pixel density of the screen casting initiator commonly takes values of 480, 720, or 1080, etc.
[0051] In step S102, determining the first ratio between the first pixel density of the projection display terminal and the second pixel density of the projection initiating terminal is equivalent to obtaining the ratio between the pixel density of the smart terminal and the pixel density of the projection device.
[0052] S104
[0053] In step S104, after the user launches the app on the screen mirroring initiator, an interface (the app's display page) matching the size of the virtual display screen is created based on the pixel density of the virtual display screen established in step S1012, and the interface is displayed on the virtual display screen.
[0054] If a third-party page element is introduced into the app launched by the user, the display size of the third-party page element is determined according to the preset width and height DP, and then displayed synchronously on the virtual display screen.
[0055] When the screen mirroring initiator responds to the screen mirroring display by loading a third-party page element with a preset width and height, it creates a local page element with the same preset width and height (DP).
[0056] It should be noted that these preset width and height are pre-designed dimensions, intended to ensure that elements within the user's app are displayed clearly on the projection screen. However, it is unknown whether these preset dimensions will also ensure that third-party page elements are displayed clearly on the projection screen.
[0057] For example, if the screen mirroring initiator is an Android system, then the width and height pixels (actual size of the local page element) of the local page element created on the screen mirroring initiator are PX = DP * PPI / 160, where PPI represents the second pixel density. It is understood that if the screen mirroring initiator is an iOS or other system, the width and height pixels of the local page element created on the screen mirroring initiator can also be obtained according to the corresponding rules, which will not be elaborated upon here.
[0058] Optionally, if the third-party page element is a third-party control or a third-party icon, then the local page element created locally on the screen casting initiator will also be a local control or a local icon.
[0059] Alternatively, page elements created locally on the screen casting initiator can be made transparent, meaning they are not actually displayed on the screen casting initiator.
[0060] In some implementations, the local page element can also be removed after the third-party page element has been displayed.
[0061] S106
[0062] In step S106, the original size of the third-party page element is obtained, and a second ratio between the original size and the actual size of the local page element is determined.
[0063] In some implementations, such as Figure 3 As shown, the method for obtaining the original size of third-party page elements in step S106 includes the following steps:
[0064] S1061. Obtain the type of third-party page elements;
[0065] S1062. Determine whether the type of the third-party page element is public. If yes, proceed to step S1063; otherwise, proceed to step S1064.
[0066] S1063, Directly read the original size of third-party page elements;
[0067] S1064, Reflection reads the original size of third-party page elements.
[0068] In step S1061, the type of the third-party page element is obtained. If the third-party page element is a View control or a Bitmap icon, it is determined whether the View control or Bitmap icon is public. If it is public, the original size of the View control or Bitmap icon is directly read; if it is private, the original size of the View control or Bitmap icon is read using reflection. It should be noted that those skilled in the art can refer to relevant technologies for methods of reading private attributes using reflection, and this application will not elaborate on them.
[0069] In addition, the original size of the third-party page element obtained in steps S1063 and S1064 is also in pixels (PX).
[0070] If the third-party page element is a ViewGroup control or contains a Bitmap icon, then iterate through the child controls or Bitmap icons within the ViewGroup and continue to steps S1061 to S1064.
[0071] Once the original size of the third-party page element is obtained, a second ratio between the original size of the third-party page element and the actual size of the local page element can be determined in step S160.
[0072] S108
[0073] In step S108, the projection display of third-party page elements on the projection display terminal is controlled according to the relationship between the first ratio and the second ratio.
[0074] In some implementations, such as Figure 4 As shown, step S108, the step of controlling the projection display of third-party page elements according to the relationship between the first ratio and the second ratio, includes:
[0075] S1081. Determine whether the second ratio is equal to the first ratio. If yes, proceed to step S1082; otherwise, proceed to step S1083.
[0076] S1082. Project the third-party page elements onto the screen according to the display size formed by the preset width and height and the first pixel density;
[0077] S1083, Modify the original size of the third-party page element based on the first ratio; and project the third-party page element to the screen according to the modified size.
[0078] After obtaining the first ratio and the second ratio in steps S102 and S106 respectively, step S1081 determines whether the second ratio is equal to the first ratio. If the second ratio is equal to the first ratio, it means that the preset width and height can meet the requirement of displaying the third-party page element clearly. In this case, in step S1082, the third-party page element is projected and displayed according to the display size formed by the preset width and height and the first pixel density. If the second ratio is not equal to the first ratio, it means that if the third-party page element is displayed according to the preset width and height, the third-party page element will appear blurry and cannot meet the requirement of displaying the third-party page element clearly. In this case, in step S1083, the original size of the third-party page element is modified based on the first ratio; then the third-party page element is projected and displayed according to the modified size. Displaying the third-party page element according to the modified size can optimize the display effect of the third-party page element and improve its clarity.
[0079] In some implementations, the method for modifying the original size of the third-party page element based on the first ratio in step S1083 includes: the modified size of the third-party page element is the product of the original size of the third-party page element and the first ratio.
[0080] For ease of understanding, this application will use an example where the first pixel density (PPI1) of the projection display is 240, the second pixel density (PPI2) of the projection initiating end is 480, the preset width and height of the projection display are 30DP*20DP, and the projection initiating end is an Android system. (Refer to...) Figure 5 The above-described scheme of this application is explained.
[0081] In step S102, a first ratio of the first pixel density of the projection display end to the second pixel density of the projection initiating end is determined, RD1 = PPI1 / PPI2 = 240 / 480 = 1 / 2.
[0082] In step S104, a local page element A' with a width and height of 30DP*20DP is created at the screen projection initiator. The actual width and height dimensions of the local page element A' are as follows:
[0083] Width A’ =DP width * PPI² / 160 = 30 * 480 / 160 = 90px;
[0084] high A’ =DP height * PPI2 / 160 = 20 * 480 / 160 = 60PX.
[0085] In step S106, the original width and height dimensions of the third-party page element A are obtained, respectively: width... A and high A .
[0086] In step S1081, the width is determined. A With width A’ The ratio and high A With Gao A’ The ratio is RD2.
[0087] If RD2 = RD1, then the width A The dimensions need to be 45px, height A The size needs to be 30px. In other words, if the original width and height of the third-party page element obtained in step S106 are exactly 45px and 30px respectively, it means that the size of the third-party page element is reasonable under the preset width and height (30DP*20DP) and can be clearly displayed. If the original width and height of the third-party page element obtained in step S106 are not 45px and 30px, it means that the size of the third-party page element is unreasonable under the preset width and height (30DP*20DP) and cannot be clearly displayed. In this case, the size of the third-party page element needs to be reset according to the first ratio RD1 to optimize the display effect.
[0088] In step S1083, the original width and height dimensions of the third-party page elements can be modified as follows:
[0089] Width A改 =width A *RD1;
[0090] high A改 =High A *RD1.
[0091] In the screen casting display method provided in this application, a local page element with the same width and height as the third-party page element is created at the screen casting initiator. The ratio between the original size of the third-party page element and the actual size of the newly created local page element is calculated. Then, this ratio is compared with the ratio between the pixel density of the screen casting display end and the pixel density of the screen casting initiator. When the ratios are not equal, the size of the third-party page element is reset to optimize the display effect and avoid display problems such as stretching or exceeding the screen area.
[0092] In addition, based on the above-described screen projection method, the embodiments of this application also provide an electronic device, such as a server, a cloud server, etc.
[0093] Figure 6 A schematic diagram of the structure of an electronic device according to the first embodiment of this application is shown.
[0094] like Figure 6As shown, the electronic device includes: at least one processor 701; and a memory 702 communicatively connected to the at least one processor 701; wherein the memory stores instructions executable by the at least one processor 701, which, when executed by the at least one processor 701, enable the at least one processor 701 to perform the screen projection display method mentioned in the above embodiments. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or claimed herein.
[0095] Figure 7 A schematic diagram of the structure of an electronic device according to the second embodiment of this application is shown.
[0096] like Figure 7 As shown, the electronic device may also include, for example, an I / O interface 703, an input unit 704, an output unit 705, a communication unit 706, a read-only memory (ROM) 707, and a random access memory (RAM) 708. Specifically, the processor 701 can perform various appropriate actions and processes according to a computer program stored in the ROM 707 or a computer program loaded from the memory 702 into the RAM 708. The RAM 708 may also store various programs and data required for the operation of the electronic device. The processor 701, ROM 707, and RAM 708 are interconnected via a bus 709. The I / O interface (input / output interface) 703 is also connected to the bus 709.
[0097] Multiple components in the electronic device are connected to the I / O interface 703, including: an input unit 704, such as a keyboard, mouse, etc.; an output unit 705, such as various types of displays, speakers, etc.; a memory 702, such as a disk, optical disk, etc.; and a communication unit 706, such as a network card, modem, wireless transceiver, etc. The communication unit 706 allows the electronic device to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0098] Processor 701 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 701 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 701 performs the various methods and processes described above, such as screen projection display methods. For example, in some embodiments, screen projection display methods can be implemented as computer software programs tangibly contained in a computer-readable storage medium, such as memory 702. In some embodiments, part or all of the computer program can be loaded and / or installed on an electronic device via ROM 707 and / or communication unit 706. When the computer program is loaded into RAM 708 and executed by processor 701, one or more steps of the screen projection display methods described above can be performed. Alternatively, in other embodiments, processor 701 can be configured to perform screen projection display methods by any other suitable means (e.g., by means of firmware).
[0099] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0100] The program code for implementing the methods of this application may be written in any combination of one or more programming languages. The program code may be packaged into a computer program product. This program code or computer program product may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by processor 701, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a computer, partially on a computer, partially on a remote computer as a standalone software package, or entirely on a remote computer or server.
[0101] For a detailed description of the electronic device and its beneficial effects, please refer to the description of the screen projection method above, which will not be repeated here.
[0102] Furthermore, it should be noted that this application also provides a computer-readable storage medium storing a computer program executed by the aforementioned screen projection method. The computer program includes program instructions, which, when executed by the processor, enable the execution of the screen projection method described above. Therefore, further details will not be repeated here. Additionally, the beneficial effects of using the same method will also not be repeated. For technical details not disclosed in the embodiments of the computer-readable storage medium involved in this application, please refer to the description of the method embodiments of this application.
[0103] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the methods described above. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.
[0104] The above description is merely an illustration of the embodiments of this application and the technical principles employed. Those skilled in the art should understand that the scope of protection involved in this application is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the technical concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features with similar functions disclosed in this application.
Claims
1. A screen projection display method, characterized in that, include: Determine the first ratio between the first pixel density of the screen projection display end and the second pixel density of the screen projection initiating end; In response to the action of loading a third-party page element with a preset width and height on the screen projection display terminal, a local page element with the preset width and height is created on the screen projection initiating terminal. Obtain the original size of the third-party page element, and determine a second ratio between the original size and the actual size of the local page element; as well as The display of the third-party page elements on the projection display terminal is controlled according to the relationship between the first ratio and the second ratio; The method of controlling the projection display of the third-party page elements on the projection display terminal based on the relationship between the first ratio and the second ratio includes: When the second ratio is determined to be equal to the first ratio, the third-party page element is projected and displayed according to the display size formed by the preset width and height and the first pixel density; When it is determined that the second ratio is not equal to the first ratio, the original size of the third-party page element is modified based on the first ratio, and the third-party page element is projected and displayed according to the modified size.
2. The screen projection display method according to claim 1, wherein, Modifying the original size of the third-party page element based on the first ratio includes: The modified size of the third-party page element is the product of the original size of the third-party page element and the first ratio.
3. The screen projection display method according to any one of claims 1 or 2, wherein, Obtaining the original size of the third-party page element includes: If the third-party page element is determined to be of a public type, its original size is directly read. Alternatively, determine that the third-party page element is of a private type, and use reflection to read the original size of the third-party page element.
4. The screen projection display method according to claim 1 or 2, wherein, The local page element is a transparent page element.
5. The screen projection display method according to claim 1 or 2, wherein, The screen projection method further includes: Remove the local page element from the screen mirroring initiator.
6. The screen projection display method according to claim 1 or 2, wherein, The third-party page elements are third-party controls, and the local page elements are local controls; or, The third-party page elements are third-party icons, and the local page elements are local icons.
7. The screen projection display method according to claim 1 or 2, wherein, Before determining the first ratio between the first pixel density of the screen projection display end and the second pixel density of the screen projection initiating end, the screen projection display method further includes: Establish an interconnection channel between the screen projection initiator and the screen projection device; and A virtual display screen is created at the screen projection initiation end based on the pixel density of the screen projection device; The virtual display screen constitutes the projection display terminal.
8. The screen projection display method according to claim 7, wherein, The screen projection initiator is a smart terminal, and the screen projection device is a vehicle-mounted terminal.
9. An electronic device, characterized in that, include: processor; as well as A memory, communicatively connected to the processor, wherein the memory stores a program executable by the processor, and when the program is executed by the processor, the processor is able to execute the screen projection display method according to any one of claims 1 to 8.
10. A readable storage medium, characterized in that, The readable storage medium stores a computer program, which, when executed by a processor, implements the screen projection display method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Page element request method and display method, and client
CN107977371A
Screen projection display control method and device and computer readable storage medium
CN113157234A