Virtual mapping method, device and virtual mapping system for Android system display

By adopting the virtual mapping method in the Android system display, using the I2C interface to connect the display device, and generating a USB virtual interface, the problem of high control cost of large-sized and high-resolution touch screens is solved, and lower-cost chip reverse control and better visual experience.

CN117453171BActive Publication Date: 2024-10-25SHENZHEN EFERCRO ELECTRONIC TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311784289.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-23
Publication Date
2024-10-25
Estimated Expiration
2043-12-23

AI Technical Summary

Technical Problem

When realizing the control of a large-sized, high-resolution touch screen, the existing technology requires the use of data switch chips, resulting in high costs and the need for customization of the touch screen.

Method used

By adopting a virtual mapping method in the Android system display, the I2C interface is used to connect the display device, and a USB virtual interface is generated to realize communication and control between the transmission device and the display device, avoiding the need to use a data switch chip.

Benefits of technology

It reduces the cost of reverse control of the chip, realizes the visual experience extending from small screens to large screens, and reduces the dependence on data switch chips, reducing the overall cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117453171B_ABST
    Figure CN117453171B_ABST
Patent Text Reader

Abstract

The present application provides a virtual mapping method, device and virtual mapping system for an Android system display, and relates to the field of computer technology. In the method, in a display interface input signal mode, a display interface input signal is converted into a display signal, based on the display signal, a display device is detected, and a point-to-point mapping file is generated; the point-to-point mapping file is verified; when the mapping conditions are met, the point-to-point mapping file is encapsulated to generate a USB virtual interface; the connection status of the USB node of the transmission device is detected; when the USB node is in a connected state, a communication connection between the transmission device and the display device is established based on the USB virtual interface, and the mutual communication status between the transmission device and the display device is detected. When in a mutual communication state, mutual control and communication between the transmission device and the display device are performed to reduce the cost of reverse control of the whole machine display interface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a virtual mapping method, device and virtual mapping system for an Android system display. Background Art

[0002] In the external display device reverse control transmission device (DP for short) technology, in order to realize the DP control between the transmission device and the external display device, the signal transmitted by the transmission device is displayed on the display device of the display device through adjustment and conversion, and the touch screen of the display device is controlled according to the display content, and then the signal on the display device side is reversely transmitted to the transmission device side to reversely control the transmission device. The touch screen control chip of the display device on the display device side is a USB interface, and the number of channels of the touch screen control chip of the USB interface is generally large. In order to realize the above-mentioned DP control, when realizing the control of a large-size and high-resolution touch screen, it is necessary to add a data switch chip to switch the USB signal source of the controller and the transmission device. However, the price of the data switch chip is generally high, and the touch screen also needs to be customized, which is costly. Summary of the invention

[0003] The present application provides a virtual mapping method, device and virtual mapping system for an Android system display, which can reduce the cost of chip reverse control without modifying the display logic.

[0004] The technical solution of the embodiment of the present application is as follows:

[0005] In a first aspect, an embodiment of the present application provides a virtual mapping method for an Android system display, which is applied to a virtual mapping device in an external display device, wherein the external display device also includes a display device, the display device complies with the USB protocol, and the virtual mapping device is connected to the display device via I 2 C interface connection, the method comprising:

[0006] In a display interface input signal mode, converting the display interface input signal into a display signal, detecting the display device based on the display signal, and generating a point-to-point mapping file;

[0007] Verifying the point-to-point mapping file to obtain a first detection result;

[0008] If the first detection result is in compliance with the mapping condition, encapsulating the point-to-point mapping file to generate a USB virtual interface, where the USB virtual interface is used to communicate with the display device;

[0009] Detecting the connection status of the USB node of the preset transmission device to obtain a second detection result;

[0010] When the second detection result is that the USB node is in a connected state, a communication connection is established between the transmission device and the display device based on the USB virtual interface, and the mutual communication state between the transmission device and the display device is detected to obtain a third detection result that the transmission device is connected to the virtual mapping device through the Type-C interface;

[0011] When the third detection result indicates that the two devices are in a mutual communication state, mutual control and communication are performed between the transmission device and the display apparatus.

[0012] In the above technical scheme, first, in the display interface input signal mode, it is indicated that the data signal needs to be displayed on the display device, the display interface input signal is first converted into a display signal, based on the display signal, the display device is detected, and a point-to-point mapping file is generated to make it correspond one-to-one with the display device for subsequent display; the point-to-point mapping file is verified to obtain a first detection result; if the first detection result is that it meets the mapping conditions, the point-to-point mapping file is encapsulated to generate a USB virtual interface, and the USB virtual interface is used to communicate with the display device. In the prior art, the display device is connected through a USB interface matched with a data switch chip, and the embodiment of the present application is connected through I 2 C interface connection, and generate a USB virtual interface to meet the requirements of information transmission with the interface of the display device, reducing the cost brought by the use of a data switch chip; the connection status of the USB node of the transmission device is detected to obtain a second detection result; when the second detection result is that the USB node is in a connected state, based on the USB virtual interface, a communication connection is established between the transmission device and the display device, and the mutual communication status between the transmission device and the display device is detected to obtain a third detection result; when the third detection result is that they are in a mutual communication state, mutual control and communication between the transmission device and the display device are performed, and through the above-mentioned logic control, the cost of chip reverse control can be reduced by combining the above-mentioned software control logic with hardware.

[0013] In some embodiments of the present application, the detecting the display device based on the display signal and generating a point-to-point mapping file includes:

[0014] Detecting the screen resolution of the display device according to the display signal to obtain a display resolution;

[0015] When it is detected that the display device is in a controlled state, the point-to-point mapping file is generated according to the display resolution.

[0016] In the above technical solution, the display resolution is obtained by detecting the screen resolution of the display device. When it is detected that the display device is in a controlled state, it indicates that the external display device is a slave device of the transmission device, and the content in the transmission device is displayed. A point-to-point mapping file is generated according to the display resolution to achieve a one-to-one correspondence between the screen resolution and the display resolution, which is conducive to enlarged display and increased visual viewing effect.

[0017] In some embodiments of the present application, after verifying the point-to-point mapping file to obtain a first detection result, the method further includes:

[0018] When the first detection result is that the mapping condition is not met, executing the step of detecting the display device based on the display signal and generating a point-to-point mapping file;

[0019] After a preset first number of detections, the first detection result is that the mapping condition is not met, and a first alarm message is issued, wherein the first alarm message is that the mapping condition is not met.

[0020] In the above technical solution, if the mapping conditions are not met, the display device is tested again to generate a point-to-point mapping file. If the mapping conditions are still not met after the preset first number of tests and verifications, an alarm message that the mapping conditions are not met is issued to allow the operator to perform line detection to enable correct display and control.

[0021] In some embodiments of the present application, after detecting the mutual communication state between the transmission device and the display apparatus to obtain a third detection result, the method further includes:

[0022] In the case where the third detection result is a non-intercommunication state, executing the step of detecting the connection state of the USB node of the preset transmission device to obtain the second detection result;

[0023] After a preset second number of detections, if the third detection result is a non-intercommunication state, a second alarm message is issued, wherein the second alarm message is a communication transmission line failure.

[0024] In the above technical solution, when the third detection result is a non-mutual communication state, the connection state of the USB node of the transmission device is detected again to obtain a second detection result. After a preset second number of detections, it is still a non-mutual communication state, and an alarm message of a communication transmission line failure is issued to allow the operator to perform line detection so that it can be correctly displayed and controlled.

[0025] In some embodiments of the present application, after detecting the connection status of the USB node of the preset transmission device to obtain the second detection result, the method further includes:

[0026] When the second detection result is that the USB node is in a disconnected state, a third alarm message is issued, and the third alarm message is that the USB node is not connected to the transmission device.

[0027] In the above technical solution, when the second detection result is that the USB node is in a non-connected state, it indicates that the transmission device is not connected, and an alarm message that the transmission device is not connected is issued to enable the operator to perform line detection to enable correct display and control.

[0028] In some embodiments of the present application, in a mode where no signal is input to the display interface, the method further includes:

[0029] The display device is controlled to be in an uncontrolled state.

[0030] In the above technical solution, since the Type-C interface includes multiple types of data, when the display interface is not inputting a signal mode, it means that the display device does not need to display, and the display device is controlled to be in an uncontrolled state. The external display device acts as the main device, indicating that the transmission device and the external display device work separately.

[0031] In a second aspect, an embodiment of the present application provides a virtual mapping device for an Android system display, which is applied to an external display device, wherein the external display device also includes a display device, and the display device complies with the USB protocol. The device includes a controller, and a first interface of the controller is connected to a preset transmission device, and an output end of the controller is connected to the display device through I2 C interface connection, the controller is used to receive touch control information transmitted by the display device, and send the touch control information to the transmission device through the second interface of the controller;

[0032] The controller includes a processor and a memory, the processor and the memory are respectively connected to a communication bus, the memory is used to store instructions, and the processor is used to execute the instructions stored in the memory so that the processor executes the method as described in any one of the first aspects.

[0033] In some embodiments of the present application, the controller is an A527 control chip, and the I 2 The C interface is connected to the display device.

[0034] In a third aspect, an embodiment of the present application provides a virtual mapping system, the system comprising the virtual mapping device for an Android system display as described in the second aspect.

[0035] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, and when the instructions are executed, any one of the methods provided in the first aspect is executed.

[0036] In summary, one or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:

[0037] 1. Since the display interface input signal is converted into a display signal in the display interface input signal mode, and the display device is detected to generate a USB virtual interface, the transmission device controls the display device, and the display device reversely controls the transmission device. Therefore, the problem that the price of data switch chips in the related technology is generally high, and the touch screen needs to be customized, which is costly. Since the Type-C interface includes the transmission signal of the USB protocol, and the touch screen control chip is a USB interface, by connecting the virtual mapping device to the display device through I 2 C interface connection, and combined with the above method control logic to achieve DP reverse control, no data switch chip is required for control, which can reduce costs.

[0038] 2. Expand from a small screen to a large screen of an external display, providing a better visual experience.

[0039] 3. The display device is connected via an I2C interface instead of a USB interface to a data switch chip. The connection method is not limited by the USB interface, and the data switch chip is reduced, thereby reducing the cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 It is a schematic diagram of the prior art provided by an embodiment of the present application;

[0041] Figure 2 It is a flowchart of a virtual mapping method for an Android system display provided by an embodiment of the present application;

[0042] Figure 3 yes Figure 2 A schematic flow chart of a sub-step of step S110;

[0043] Figure 4 is a flowchart of a virtual mapping method for an Android system display provided by another embodiment of the present application;

[0044] Figure 5 is a flowchart of a virtual mapping method for an Android system display provided in yet another embodiment of the present application;

[0045] Figure 6 This is a schematic diagram of the overall process of a virtual mapping method for an Android system display provided by an embodiment of the present application;

[0046] Figure 7 It is a structural diagram of a virtual mapping device for an Android system display provided by an embodiment of the present application. DETAILED DESCRIPTION

[0047] In order to enable technicians in this field to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.

[0048] In the description of the embodiments of the present application, words such as "for example" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "for example" or "for example" is intended to present related concepts in a specific way.

[0049] In the description of the embodiments of the present application, the meaning of the term "multiple" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.

[0050] In the related technology, in the display device reverse control transmission device (DP for short), the touch screen control chip on the display device side is a USB interface, and the number of channels of the touch screen control chip with a USB interface is generally large. When realizing the control of a large-size and high-resolution touch screen, it is necessary to add a data switch chip to switch the USB signal source between the controller and the transmission device. However, the price of the data switch chip is generally high, and the touch screen needs to be customized, which is costly. Figure 1As shown, the Type-C interface of the transmission device is connected to the controller, and the display interface input signal is converted into a display signal through the conversion control module of the controller, and the display signal is transmitted to the switch chip through the USB2.0 interface, and is controlled by the data switch chip and displayed on the external device. The data switch chip is connected to the transmission device, and the external device is provided with a touch screen. According to the operation on the touch screen, the transmission device can be reversely controlled by the data switch chip. In the above scheme, the data switch chip is expensive, and the touch screen is customized to match it, which is also costly.

[0051] Based on this, the embodiment of the present application provides a virtual mapping method, device and virtual mapping system of an Android system display, wherein the virtual mapping method of the Android system display is applied to a virtual mapping device in an external display device, wherein the external display device also includes a display device, and the display device complies with the USB protocol. The virtual mapping device and the display device are connected via I 2 C interface connection, the virtual mapping method of the Android system display first indicates that the data signal needs to be displayed on the display device in the display interface input signal mode, first converts the display interface input signal into a display signal, detects the display device based on the display signal, and generates a point-to-point mapping file so that it corresponds one-to-one with the display device for subsequent display; verifies the point-to-point mapping file to obtain a first detection result; when the first detection result is that the mapping condition is met, the point-to-point mapping file is encapsulated to generate a USB virtual interface, and the USB virtual interface is used to communicate with the display device to meet the information transmission with the interface of the display device; detects the connection status of the USB node of the transmission device to obtain a second detection result; when the second detection result is that the USB node is in a connected state, based on the USB virtual interface, establishes a communication connection between the transmission device and the display device, and detects the mutual communication state between the transmission device and the display device to obtain a third detection result; when the third detection result is in a mutual communication state, mutual control and communication between the transmission device and the display device are performed, and through the above-mentioned logic control, the above-mentioned software control logic can be combined with hardware to reduce the cost of chip reverse control. Compared with the high cost of using a switch control chip in the prior art, the embodiment of the present application connects the virtual mapping device to the display device through I 2 C interface connection, and combined with the above method control logic to achieve DP reverse control, no data switch chip is required for control, which can reduce costs.

[0052] It should be noted that the virtual mapping method of the Android system display is applied to the virtual mapping system, the virtual mapping device of the Android system display is configured on the external display device, the transmission device, the virtual mapping device of the Android system display and the display device constitute the virtual mapping system, which realizes the connection between the mobile phone and the external display device, and expands from the small screen to the large screen of the external display, with a better visual experience. And by combining algorithm logic and hardware, the cost is reduced.

[0053] The technical solution provided in the embodiments of the present application is further described below in conjunction with the accompanying drawings.

[0054] Reference Figure 2 , Figure 2 1 is a flow chart of a virtual mapping method for an Android system display provided by an embodiment of the present application. The virtual mapping method for an Android system display is applied to a virtual mapping device applied to an external display device, the external display device also includes a display device, the display device complies with the USB protocol, and the virtual mapping device and the display device are connected via I 2 C interface connection, the transmission device and the virtual mapping device are connected through the Type-C interface, using I 2 C interface and combined with software control logic, the use of data switch chip can be omitted, reducing costs. The virtual mapping method of the Android system display is executed by the processor of the virtual mapping device of the Android system display or the processor in the readable storage medium, and the virtual mapping method of the Android system display corresponding to the software control logic includes steps S110, S120, S130, S140, S150 and S160.

[0055] Step S110, in the display interface input signal mode, converting the display interface input signal into a display signal, detecting the display device based on the display signal, and generating a point-to-point mapping file;.

[0056] In one embodiment, the preset transmission device can be a mobile phone with an Android system or a mobile phone with other systems. The interface of the transmission device is the interface of the mobile phone. The transmission device is connected to the virtual mapping device through a Type-C interface. The Type-C interface contains a group of USB2.0 signals, 4 groups of 4-line differential data signals, a group of CC logic signal groups and AUX audio signals. A group of USB2.0 signals is used to connect the display device and the virtual mapping device; 4 groups of 4-line differential data signals are used to support high-speed transmission; CC logic signals are used to detect the state of interface insertion and power supply, which can be used to determine the type of charger and supported power and other information; AUX audio signals are used to transmit audio signals and can be connected to external audio devices. In the display interface input signal mode, the control chip of the controller is used to convert the data signal into a display signal. It can also be a data signal of a receiving transmission device, that is, a data signal transmitted by the Type-C interface of the mobile phone is received. The control chip identifies and detects the data signal, mainly detecting whether the Type-C interface is an input port of the display interface. When the data signal is a display interface input signal, the preset conversion chip is used to convert the display interface input signal into a display signal, so as to facilitate subsequent display on an external display. Among them, the preset conversion chip is the LT7911D model chip.

[0057] In another embodiment, the display device is detected based on the display signal by a preset control chip to generate a point-to-point mapping file. Among them, the preset control chip is an A527 control chip. It should be noted that a preset control chip can also be used to convert the display interface input signal into a display signal, and the function of the conversion chip is integrated in the control chip, and the control chip is connected to the transmission device and the display device respectively. Among them, the display device can be an external display LCD device and a capacitive touch screen, or other large-screen display devices, which will not be described here.

[0058] like Figure 3 As shown, based on the display signal, the display device is detected to generate a point-to-point mapping file, including but not limited to the following steps:

[0059] Step S111 , detecting the screen resolution of the display device according to the display signal to obtain the display resolution.

[0060] In some possible embodiments of the present application, the screen resolution of the display device is first detected according to the display signal, and the size of the screen is determined for mapping. Specifically, the screen resolution of the display device is detected by connecting the control chip to the display device, and a virtual display with the same resolution as the current screen resolution is mapped according to the screen resolution, and proportional display mapping is performed to obtain the display resolution. This is conducive to the subsequent generation of a point-to-point mapping file according to the corresponding relationship between the display resolution and the screen resolution.

[0061] Step S112: when it is detected that the display device is in a controlled state, a point-to-point mapping file is generated according to the display resolution.

[0062] In some possible embodiments of the present application, the display device needs to be in a controlled state in order to display the content of the data signal related to the transmission device on the display device, that is, the transmission device is used as the master device and the external display device is used as the slave device to display the content in the transmission device on a large screen to increase the visual viewing effect. Therefore, it is necessary to detect the state of the display device to see whether it meets the controlled state so that the display device can be controlled to display. When it is detected that the display device is in a controlled state, it indicates that the display device is controlled by the control chip. The display resolution is obtained according to step S111, and the display signal is mapped according to the display resolution, that is, the display signal is displayed in proportion, which can cover the display device, realize the one-to-one correspondence between the display resolution and the screen resolution, and generate a point-to-point mapping file, which is conducive to the subsequent successful display of the relevant data signal content on the display device. Among them, the point-to-point mapping file includes the one-to-one correspondence between the screen resolution and each point of the display resolution, and whether the correspondence is accurate.

[0063] Step S120, verifying the point-to-point mapping file to obtain a first detection result.

[0064] In one embodiment, the generated point-to-point mapping file is verified, specifically: the corresponding relationship between the screen resolution and the display resolution is detected one by one to obtain a first detection result, which is conducive to the subsequent generation of a USB virtual interface according to the first detection result.

[0065] Step S130: When the first detection result meets the mapping condition, the point-to-point mapping file is encapsulated to generate a USB virtual interface, where the USB virtual interface is used to communicate with the display device.

[0066] In one embodiment, the mapping condition is that all points of the display resolution and the screen resolution correspond one to one, and the corresponding relationship is correct. Since the display device follows the USB protocol, and the virtual mapping device and the display device are connected via I 2 C interface connection, so when the first detection result is that all points of the display resolution and the screen resolution correspond one to one, and the corresponding relationship is correct, the point-to-point mapping file is encapsulated to obtain a USB virtual interface. By encapsulating it in the form of a USB virtual interface, it can not only meet the information transmission with the display device, but also break the display connection of the traditional USB interface, and realize the display information transmission of different interface forms. Among them, the USB virtual interface is obtained by encapsulating it through the converter integrated in the A527 control chip.

[0067] Step S140, detecting the connection status of the USB node of the preset transmission device to obtain a second detection result.

[0068] In one embodiment, according to the USB virtual interface generated in step S130, the display signal can be displayed on the display device. In order to ensure the display of the data signal, it is necessary to detect the connection status of the USB node of the transmission device, that is, to detect whether the transmission device is connected, and obtain the second detection result. By detecting the connection status of the USB node on the transmission device side, it can be ensured that the display content of the mobile phone is displayed through the display device. Exemplarily, the USB node of the mobile phone is detected, the mobile phone is connected through the Type-C interface, and the CC logic in the Type-C interface is used to determine whether the mobile phone end is in a connected state to obtain the second detection result, which is conducive to the subsequent implementation of reverse control operations on the mobile phone end.

[0069] Step S150, when the second detection result is that the USB node is in a connected state, a communication connection is established between the transmission device and the display device based on the USB virtual interface, and the mutual communication state between the transmission device and the display device is detected to obtain a third detection result.

[0070] In one embodiment, when the second detection result is that the USB node is in a connected state, a communication connection is established between the transmission device and the display device based on the USB virtual interface generated in step S130. Exemplarily, the connection state is that the transmission device is connected to the controller of the virtual mapping device, the controller of the virtual mapping device is connected to the display device, and the virtual mapping device is set on the external display device. By detecting the connection state, the relevant content of the transmission device can be displayed on the display device, which can be expanded from a small screen to a large screen of an external display, providing a better visual experience.

[0071] In another embodiment, the mutual communication state is that the mobile phone transmits the information to be displayed to the display device for display, and the information received by the touch screen of the display device is reversely transmitted to the mobile phone for reverse control. The mutual communication state between the transmission device and the display device is detected by the A527 control chip to obtain a third detection result. By judging the mutual communication state, the mobile phone can control the display device, and the display device can also reversely control the mobile phone.

[0072] Step S160: When the third detection result indicates that the two devices are in a mutual communication state, mutual control and communication are performed between the transmission device and the display apparatus.

[0073] In one embodiment, when the third detection result is in a mutual communication state, it indicates that the connection between the transmission device and the display apparatus is normal, and mutual control and communication are performed between the transmission device and the display apparatus.

[0074] like Figure 4 As shown, after verifying the point-to-point mapping file and obtaining the first detection result, the virtual mapping method of the Android system display further includes but is not limited to the following steps:

[0075] Step S210, when the first detection result is that the mapping condition is not met, the step of detecting the display device based on the display signal and generating a point-to-point mapping file is executed.

[0076] In some possible embodiments of the present application, when the first detection result is that the mapping condition is not met, that is, it means that there are some points that do not have a one-to-one correspondence between the display resolution and the screen resolution, or the display resolution and each point of the screen resolution have a one-to-one correspondence, but the correspondence is incorrect, the screen resolution of the display device is detected again according to the display signal, and the size of the screen is determined for mapping. Specifically, the control chip is connected to the display device, the screen resolution of the display device is detected, and a virtual display with the same resolution as the current screen resolution is mapped according to the screen resolution to obtain the display resolution. It is beneficial to generate a point-to-point mapping file according to the correspondence between the virtual touch screen and the screen resolution. Then the generated point-to-point mapping file is verified, and the first detection result is obtained by detecting and verifying the correspondence between the screen resolution and the display resolution one by one, which is beneficial to generate a USB virtual interface according to the first detection result. When the first detection result is that all points of the display resolution and the screen resolution are one-to-one corresponding, and the correspondence is correct, the point-to-point mapping file is encapsulated to obtain a USB virtual interface. By encapsulating it in the form of a USB virtual interface, it can not only meet the information transmission with the display device, but also break the display connection of the traditional USB interface. Avoid misprocessing by executing the steps of generating the point-to-point mapping file again and verifying it.

[0077] Step S220: After a preset first number of detections, if a first detection result is that the mapping condition is not met, a first warning message is issued, wherein the first warning message is that the mapping condition is not met.

[0078] In some possible embodiments of the present application, the preset first number of times may be 3 times, 4 times, 5 times, etc., which are set according to the requirements and are not described in detail here. After the preset first number of times, according to the detection performed in step S210, the first detection result is still not in compliance with the mapping condition, indicating that there is no false detection, and an erroneous operation may occur during the signal conversion process, and a first alarm message is issued to indicate that the mapping condition is not met, so that the operator can perform line detection to enable correct display and control.

[0079] In some other possible embodiments of the present application, within the preset first number of times, after the first detection, if the first detection result is that the mapping condition is met, it indicates that the first detection may be wrong, and the generated point-to-point mapping file has a corresponding relationship, and the corresponding relationship is accurate. Exemplarily, the first number of times is three times, and after the first detection, the first detection result is that the mapping condition is not met, and the display device is detected again based on the display signal, and the point-to-point mapping file is generated. The point-to-point mapping file is verified, and the first detection result is that the mapping condition is met, indicating that the corresponding relationship expanded from the small screen to the large screen of the external display is correct and can be displayed.

[0080] like Figure 5 As shown, after detecting the mutual communication state between the transmission device and the display device and obtaining the third detection result, the virtual mapping method of the Android system display further includes but is not limited to the following steps:

[0081] Step S310, when the third detection result is a non-intercommunication state, a step of detecting the connection state of the USB node of the preset transmission device to obtain a second detection result.

[0082] In some possible embodiments of the present application, when the third detection result is a non-mutual communication state, it indicates that there is no connection between the transmission device and the controller, or there is a communication obstruction. Therefore, it is necessary to detect the connection status of the USB node of the transmission device, that is, to detect whether the transmission device is connected, so as to eliminate the inability to communicate caused by the USB node connection, and obtain the second detection result, which is facilitating the subsequent determination of whether to interrupt the display process.

[0083] Step S320: After a preset second number of detections, if the third detection result is a non-intercommunication state, a second alarm message is issued, wherein the second alarm message is a communication transmission line failure.

[0084] In some possible embodiments of the present application, the preset second number of times can be 3 times, 4 times, 5 times, etc., which is set according to the needs and will not be described in detail here. After the preset second number of times, according to the detection performed in step S310, if the third detection result is still a non-intercommunication state, it indicates that the transmission device end is not connected, and a second alarm message is issued, indicating that the communication transmission line is faulty, or the transmission device end is not connected, so that the operator can perform line detection to enable correct display and control.

[0085] In some other possible embodiments of the present application, within the preset second number of times, after the first detection, if the third detection result is in the mutual communication state, it indicates that the first detection may be wrong, or the operator performs detection and corrects the error, and mutual communication can be achieved. Exemplarily, the second number of times is three times, after the first detection, the third detection result is a non-mutual communication state, and the connection state of the USB node of the transmission device is detected again to obtain a third detection result, and the third detection result is a mutual communication state, indicating that communication can be performed to achieve information display or reverse control.

[0086] In one embodiment, after detecting the connection status of the USB node of a preset transmission device and obtaining a second detection result, the virtual mapping method of the Android system display also includes but is not limited to: when the second detection result is that the USB node is in a non-connected state, it indicates that when the transmission device end is initially detected, it has been detected that the transmission device end is not connected, and a third alarm message is issued, and the third alarm message is that it is not connected to the transmission device, so that the operator can perform a line detection to enable correct display and control.

[0087] In one embodiment, in a mode where the display interface is not input with a signal, the virtual mapping method of the Android system display also includes but is not limited to: since there are multiple types of data transmitted in the Type-C interface, in a mode where the display interface is not input with a signal, it indicates that the transmission device does not need to display content through the display device, nor does it need to communicate with the display device. At this time, the external display device acts as the main device, that is, it displays on the screen of the mobile phone, and the display device of the external display device displays the content in the external device, thereby realizing multiple display modes.

[0088] like Figure 6 As shown, the overall flow diagram of the virtual mapping method of the Android system display provided by the embodiment of the present application, the virtual mapping device and the display device are connected through I 2 The transmission device and the virtual mapping device are connected through the Type-C interface. When receiving the data signal transmitted by the Type-C interface of the transmission device, the data signal is identified and detected through the CC logic, mainly to detect whether the data signal is the input port signal of the display interface. When the data signal is the input signal of the display interface, the display interface input signal is converted into a display signal using a preset conversion chip, so as to facilitate subsequent display on an external display. Since the virtual mapping device is connected to the display device, the screen resolution of the display device is first detected, and a virtual display with the same resolution as the current screen resolution is mapped according to the screen resolution to obtain the display resolution. This is conducive to the subsequent generation of a point-to-point mapping file based on the correspondence between the virtual touch screen and the screen resolution.

[0089] Since the state of the display device is in a controlled state, that is, when it is a slave device, the content of the relevant data signal is controlled to be displayed on the display device, so it is necessary to detect the state of the display device to see whether it meets the controlled state so that the display device can be controlled to display. When the display device is detected to be in a controlled state, it indicates that the display device is under display control, and the display signal is mapped according to the display resolution, that is, the display signal is displayed in proportion, which can cover the screen of the display device, realize the one-to-one correspondence between the display resolution and the screen resolution, and generate a point-to-point mapping file, which is conducive to the subsequent successful display of the relevant data signal content on the display device.

[0090] The corresponding relationship between the screen resolution and the display resolution is checked again one by one to ensure that the mapping relationship is correct and obtain the first detection result; when the first detection result is that the mapping condition is not met, it means that there are some points between the display resolution and the screen resolution that do not have a one-to-one correspondence, or the display resolution and each point of the screen resolution have a one-to-one correspondence, but the correspondence is incorrect, the step of detecting the display device according to the display signal and generating a point-to-point mapping file is performed again. After the preset first number of times, according to the detection performed, the first detection result still does not meet the mapping condition, indicating that there is no false detection, and an erroneous operation may occur during the signal conversion process, and a first alarm message is issued to prompt that the mapping condition is not met, so that the operator can perform line detection to enable correct display and control.

[0091] When the first detection result is that all points of the display resolution and the screen resolution correspond one to one, and the corresponding relationship is correct, the point-to-point mapping file is encapsulated to obtain a USB virtual interface. By encapsulating it in the form of a USB virtual interface, it can not only meet the information transmission with the display device, but also break the display connection of the traditional USB interface, and realize the display information transmission of different interface forms. Then the connection status of the USB node of the transmission device is detected, that is, whether the transmission device is connected is detected to obtain a second detection result. When the second detection result is that the USB node is in a non-connected state, it indicates that when the transmission device end is initially detected, it has been detected that the transmission device end is not connected, and a third alarm message is issued. The third alarm message is that the transmission device is not connected, so that the operator can perform a line test to enable correct display and control.

[0092] When the second detection result is that the USB node is in a connected state, a communication connection is established between the transmission device and the display device based on the generated USB virtual interface. The mutual communication state between the transmission device and the display device is detected by the A527 control chip to obtain a third detection result. When the third detection result is that the transmission device and the display device are in a mutual communication state, it indicates that the connection between the transmission device and the display device is normal, and mutual control and communication between the transmission device and the display device are performed.

[0093] If the third detection result is a non-intercommunication state, it indicates that there is a disconnection between the transmission device and the controller, so it is necessary to detect the connection state of the USB node of the transmission device, that is, to detect whether the transmission device is connected, and obtain the second detection result, which is conducive to the subsequent determination of whether to interrupt the display process. After the preset second number of times, if the third detection result is still a non-intercommunication state, it indicates that the transmission device end is not connected, and a second alarm message is issued, indicating that the communication transmission line is faulty, or the transmission device end is not connected, so that the operator can perform line detection to enable correct display and control.

[0094] Reference Figure 7 , Figure 7 : This is a schematic diagram of a virtual mapping device for an Android system display provided in an embodiment of the present application. The virtual mapping device for an Android system display is applied to an external display device, and the external display device also includes a display device. The display device complies with the USB protocol. The virtual mapping device for an Android system display includes a controller. The first interface of the controller is connected to a preset transmission device, and is used to receive a data signal transmitted by an interface of the transmission device. The transmission device can be a mobile phone with an Android system or a mobile phone of other systems. It has a Type-C interface, and the Type-C interface contains a group of USB2.0 signals, 4 groups of 4-line differential data signals, a group of CC logic signal groups, and AUX audio signals. A group of USB2.0 signals is used to connect the virtual mapping device and the transmission device; 4 groups of 4-line differential data signals are used to support high-speed transmission; CC logic signals are used to detect the status of interface insertion and power supply, and can be used to determine the type of charger and supported power and other information; AUX audio signals are used to transmit audio signals and can be connected to external audio devices. Receive the transmitted data signal, and use the control chip of the controller to convert the data signal into a display signal. The output end of the controller is connected to the display device through I 2 The controller is connected to the C interface, and is used to receive touch control information transmitted by the display device, and send the touch control information to the transmission device through the second interface of the controller.

[0095] In one embodiment, the controller includes a processor and a memory, the processor and the memory are respectively connected to a communication bus, the memory is used to store instructions, and the processor is used to execute the instructions stored in the memory, so that the processor executes the virtual mapping method of the Android system display. The communication bus is used to realize the connection and communication between these components.

[0096] In one embodiment, the controller is an A527 control chip. 2 C interface is used to connect to the display device, instead of the USB interface that matches the data switch chip in the prior art, which can reduce costs. Among them, the A527 control chip has a rich interface and functional modules for connecting and controlling various external devices. This allows the device to flexibly exchange data with other devices, realize a wider range of application scenarios and function expansion, and realize I 2 The touch chip of the C interface reverse controls the functions of the mobile phone, and has low cost, which can reduce costs.

[0097] In one embodiment, the virtual mapping device of the Android system display further includes a power amplifier module, which is connected to the controller and is used to adjust the audio and video display.

[0098] In one embodiment, the embodiment of the present application also provides a virtual mapping system, which includes a virtual mapping device for an Android system display, a transmission device and a display device. The virtual mapping device for an Android system display includes a controller, a first interface of the controller is connected to a preset transmission device, and is used to receive a data signal transmitted by an interface of the transmission device. The transmission device can be a mobile phone with an Android system or a mobile phone of another system, and the control chip of the controller is used to convert the data signal into a display signal. The output interface of the controller is connected to a preset display device, and is used to control the display device, receive touch control information of the display device, and send the touch control information to the transmission device through the second interface of the controller.

[0099] It should also be noted that: when the device provided in the above embodiment realizes its function, only the division of the above functional modules is used as an example. In actual application, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0100] Among them, the processor may include one or more processing cores. The processor uses various interfaces and lines to connect various parts of the entire server, and executes various functions of the server and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory, and calling data stored in the memory. Optionally, the processor can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor, but may be implemented separately through a chip.

[0101] Among them, the memory may include a random access memory (RAM) or a read-only memory (Read-Only Memory). Optionally, the memory includes a non-transitory computer-readable storage medium. The memory can be used to store instructions, programs, codes, code sets or instruction sets. The memory may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory may also be optionally at least one storage device located away from the aforementioned processor. The memory as a computer storage medium may include an operating system, a network communication module, and an application program of a virtual mapping method for an Android system display.

[0102] The processor can be used to call an application program storing a virtual mapping method of an Android system display in a memory, and when executed by one or more processors, the controller executes one or more methods in the above-mentioned embodiments. It should be noted that for the aforementioned method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited to the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for the present application.

[0103] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0104] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

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

[0106] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0107] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: various media that can store program codes, such as USB flash drives, mobile hard drives, magnetic disks or optical disks.

[0108] The above are only exemplary embodiments of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification and the truth of practice, those skilled in the art will easily think of other embodiments of the present disclosure.

[0109] This application is intended to cover any variation, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the art not described in the present disclosure. The description and examples are to be regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.

Claims

1. A virtual mapping method for an Android system display, characterized in that: A virtual mapping device applied to an external display device, the external display device also includes a display device, the display device complies with the USB protocol, the virtual mapping device is connected to the display device through an I2C interface, the method comprising: in a display interface input signal mode, converting the display interface input signal into a display signal, based on the display signal, detecting the display device, and generating a point-to-point mapping file; verifying the point-to-point mapping file to obtain a first detection result; in the case where the first detection result is that the mapping condition is met, encapsulating the point-to-point mapping file to generate a USB virtual interface, the USB virtual interface is used to communicate with the display device; detecting the connection status of a USB node of a preset transmission device to obtain a second detection result; in the case where the second detection result is that the USB node is in a connected state, establishing a communication connection between the transmission device and the display device based on the USB virtual interface, detecting the mutual communication state between the transmission device and the display device, and obtaining a third detection result, the transmission device and the virtual mapping device are connected through a Type-C interface; in the case where the third detection result is in a mutual communication state, mutual control and communication between the transmission device and the display device are performed; The detecting the display device based on the display signal and generating a point-to-point mapping file includes: detecting the screen resolution of the display device according to the display signal to obtain the display resolution; and generating the point-to-point mapping file according to the display resolution when it is detected that the display device is in a controlled state.

2. The method according to claim 1, characterized in that After verifying the point-to-point mapping file and obtaining a first detection result, the method further includes: when the first detection result is that the mapping conditions are not met, executing the step of detecting the display device based on the display signal and generating a point-to-point mapping file; after a preset first number of detections, the first detection result is that the mapping conditions are not met, and a first alarm message is issued, wherein the first alarm message is that the mapping conditions are not met.

3. The method according to claim 1, characterized in that After detecting the mutual communication state between the transmission device and the display device to obtain a third detection result, the method further includes: when the third detection result is a non-mutual communication state, executing the step of detecting the connection state of the USB node of the preset transmission device to obtain a second detection result; after a preset second number of detections, when the third detection result is a non-mutual communication state, issuing a second alarm message, wherein the second alarm message is a communication transmission line failure.

4. The method according to claim 1, characterized in that: After detecting the connection status of the USB node of the preset transmission device and obtaining a second detection result, the method also includes: when the second detection result is that the USB node is in a disconnected state, issuing a third alarm message, the third alarm message being that it is not connected to the transmission device.

5. The method according to claim 1, characterized in that In a mode where no signal is input to the display interface, the method further includes: controlling the display device to be in an uncontrolled state.

6. A virtual mapping device for an Android system display, characterized in that: Applied to an external display device, the external display device also includes a display device, the display device complies with the USB protocol, the device includes a controller, a first interface of the controller is connected to a preset transmission device, an output end of the controller is connected to the display device via an I2C interface, the controller is used to receive touch control information transmitted by the display device, and send the touch control information to the transmission device via the second interface of the controller; the controller includes a processor and a memory, the processor and the memory are respectively connected to a communication bus, the memory is used to store instructions, and the processor is used to execute the instructions stored in the memory so that the processor executes the method described in any one of claims 1 to 5.

7. The device according to claim 6, characterized in that The controller is an A527 control chip, and an I2C interface of the A527 control chip is connected to the display device.

8. A virtual mapping system, characterized in that: The system comprises a virtual mapping device for an Android system display as claimed in claim 6 or 7.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed, the method according to any one of claims 1 to 5 is performed.