Split terminal control method, device and equipment and computer readable storage medium
The lightning interface module connects the host terminal and the slave terminal in the split terminal control system, uses the standard lightning protocol to communicate data, and determines control instructions based on the terminal information, solving the problem of low universality of the split terminal and achieving higher equipment interoperability.
Patent Information
- Application Number
- CN202411985793.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-05-06
AI Technical Summary
The use of split terminals is not very versatile, mainly because the traditional control method requires private protocol to transmit audio and video signals, which makes it impossible to communicate with other devices.
Connect the host terminal and the slave terminal through the lightning interface module to realize data communication based on the standard lightning protocol, and determine terminal control instructions based on the host terminal information and slave terminal information to control the lightning interface module.
The universality of the split terminal is improved, so that the data communication and control of standard protocols can be realized between the host terminal and the slave terminal, and the use of private protocols is avoided.
Smart Images

Figure CN119938560A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of split terminal technology, and in particular to a split terminal control method, device, equipment and computer-readable storage medium. Background Art
[0002] With the rapid development of split terminals, users have also put forward higher requirements for the power supply and communication control of split terminals.
[0003] The traditional split terminal control method is to convert AC power into high-voltage DC power, and directly transmit the high-voltage DC power to the adapter board through special wires, and at the same time convert the received audio and video signals into private protocol signals and transmit them to the adapter board. Finally, after receiving the power supply and private protocol signals, the adapter board converts the high-voltage DC power into power supply that matches the split terminal to drive the split terminal. This split terminal control method has great defects and requires a private protocol to transmit audio and video signals. That is, this split terminal control method requires a private protocol to transmit audio and video signals, which makes the split terminal not very versatile.
[0004] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0005] The main purpose of the present application is to provide a split terminal control method, device, equipment and computer-readable storage medium, aiming to solve the technical problem that the split terminal is not universal in use.
[0006] To achieve the above-mentioned object, the present application provides a split terminal control method, which is applied to a split terminal control system, wherein the split terminal control system includes a lightning interface module, a host terminal and a slave terminal, wherein the host terminal and the slave terminal are connected via the lightning interface module and perform data communication based on a standard lightning protocol of the lightning interface module, and the split terminal control method includes:
[0007] Acquire terminal connection information of the thunderbolt interface module, wherein the terminal connection information includes host terminal information of the host terminal and slave terminal information of the slave terminal;
[0008] A terminal control instruction is determined according to the host terminal information and the slave terminal information, and the lightning interface module is controlled according to the terminal control instruction.
[0009] In one embodiment, the slave terminal information includes a terminal identifier and a terminal power supply, and the step of determining a terminal control instruction according to the host terminal information and the slave terminal information includes:
[0010] When the terminal identifier matches the preset display terminal identifier, determining the terminal control instruction according to the terminal power supply power;
[0011] When the terminal identifier does not match the preset display terminal identifier, the terminal control instruction is determined according to the host terminal information.
[0012] In one embodiment, the step of determining the terminal control instruction according to the terminal power supply power includes:
[0013] A power control instruction corresponding to the terminal power supply power is determined in a preset power control instruction table, and the power control instruction is used as a terminal control instruction.
[0014] In one embodiment, the host terminal information includes a control requirement, and the step of determining the terminal control instruction according to the host terminal information includes:
[0015] When the control requirement matches the preset communication requirement, the preset communication control instruction is used as the terminal control instruction;
[0016] When the control requirement matches the preset power supply requirement, the preset power supply control instruction is used as the terminal control instruction.
[0017] In one embodiment, the step of controlling the lightning interface module according to the terminal control instruction includes at least one of the following:
[0018] Performing power control on the lightning interface module based on the power control instruction in the terminal control instruction;
[0019] The communication control of the lightning interface module is performed based on the communication control instructions in the terminal control instructions; usually the communication is accompanied by power supply
[0020] Power supply control is performed on the lightning interface module based on the power supply control instruction in the terminal control instruction.
[0021] In one embodiment, the step of controlling the lightning interface module according to the terminal control instruction further includes:
[0022] When the terminal control instruction is a power supply control instruction, determining the required power supply power corresponding to the power supply control instruction;
[0023] A target control instruction corresponding to the required power supply power is determined in a preset power control instruction table, and power control is performed on the lightning interface module based on the target control instruction.
[0024] In one embodiment, after the step of obtaining the terminal connection information of the lightning interface module, the following steps are included:
[0025] Determine the first power supply power in the slave terminal information, and determine the second power supply power in the host terminal information;
[0026] When the second power supply power is greater than or equal to the first power supply power, and the second power supply power is less than or equal to the maximum power supply power of the lightning interface module, the step of determining the terminal control instruction according to the host terminal information and the slave terminal information is performed;
[0027] When the second power supply power is less than the first power supply power, or the second power supply power is greater than the maximum power supply power of the Thunderbolt interface module, a connection prompt message is generated and sent to the host terminal and / or the slave terminal.
[0028] In addition, to achieve the above-mentioned purpose, the present application also provides a split terminal control device, which is applied to a split terminal control system, and the split terminal control system includes a lightning interface module, a host terminal and a slave terminal, wherein the host terminal and the slave terminal are connected through the lightning interface module, and data communication is performed based on the standard lightning protocol of the lightning interface module, and the split terminal control device includes:
[0029] A signal acquisition module, used to acquire terminal connection information of the lightning interface module, wherein the terminal connection information includes host terminal information of the host terminal and slave terminal information of the slave terminal;
[0030] The terminal control module is used to determine the terminal control instruction according to the host terminal information and the slave terminal information, and control the lightning interface module according to the terminal control instruction.
[0031] In addition, to achieve the above-mentioned purpose, the present application also provides a split terminal control device, including a processor, a memory, and a split terminal control method program stored in the memory and executable by the processor, wherein when the split terminal control method program is executed by the processor, the steps of the split terminal control method as described above are implemented.
[0032] The present application also provides a computer-readable storage medium, on which a split terminal control method program is stored, wherein when the split terminal control method program is executed by a processor, the steps of the split terminal control method as described above are implemented.
[0033] The embodiment of the present application provides a split terminal control method, which is applied to a split terminal control system. The split terminal control system includes a lightning interface module, a host terminal and a slave terminal, wherein the host terminal and the slave terminal are connected through the lightning interface module, and data communication is performed based on a standard lightning protocol of the lightning interface module, by obtaining terminal connection information of the lightning interface module, wherein the terminal connection information includes host terminal information of the host terminal and slave terminal information of the slave terminal; determining a terminal control instruction according to the host terminal information and the slave terminal information, and controlling the lightning interface module according to the terminal control instruction. This split terminal control method connects the host terminal and the slave terminal through the lightning interface module, so as to Data communication between the host terminal and the slave terminal is achieved based on the standard Thunderbolt protocol. At the same time, the terminal control instructions are determined in combination with the host terminal information and the slave terminal information. Finally, the Thunderbolt interface module can be controlled based on the terminal control instructions, thereby achieving control between the host terminal and the slave terminal under the Thunderbolt interface module, and avoiding the need for private protocols to transmit audio and video signals. On the one hand, this split terminal control method can control the Thunderbolt interface module through terminal control instructions to achieve control between the host terminal and the slave terminal under the electrical interface module. On the other hand, data communication between the host terminal and the slave terminal based on the standard Thunderbolt protocol improves the versatility of the split terminal. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 This is a flow chart of the first embodiment of the split terminal control method of the present application;
[0035] Figure 2 It is a schematic diagram of a framework of an existing split terminal control system;
[0036] Figure 3 A schematic diagram of a split terminal control system of the present application;
[0037] Figure 4 This is a flow chart of the second embodiment of the split terminal control method of the present application;
[0038] Figure 5 This is a module schematic diagram of the split terminal control device of this application;
[0039] Figure 6 This is a schematic diagram of the device structure of the hardware operating environment involved in this application.
[0040] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0041] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0042] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0043] With the emergence of split terminals, users have put forward higher requirements for the control of split terminals, such as split display terminals. However, most common split display terminals use private protocols, and the interfaces between different manufacturers cannot communicate with each other, and the interconnection effect cannot be achieved. That is, for the host of terminal A, it can only use the slave of terminal A, and cannot adapt to other slaves. Figure 2 , Figure 2 The figure is a framework diagram of an existing split terminal control system. The split display terminal usually adopts an external independent control system (such as a system composed of a display controller, etc.) and a power supply system (such as a power supply system composed of a rectifier and a transformer circuit) for power supply and control. The control system and the power supply system are connected to the city power grid (voltage value 110V-230V, frequency 50Hz-60Hz) through the display terminal host part, and then convert the city power into DC high voltage power, and transmit the DC high voltage power to the adapter board through special wires (generally high-voltage DC wires). At the same time, the control system converts the received audio and video signals into private protocol signals and transmits them to the adapter board. After receiving the power supply and private protocol signals, the adapter board converts the high-voltage DC power into power supply matching the backlight drive system for use by the backlight drive system. At the same time, the private protocol is parsed and converted into a signal that can be received by the LCD (Liquid Crystal Display) and transmitted to the LCD. Finally, the backlight drive system drives the module backlight, and the adapter board outputs the video signal to the module display LCD. At this point, the display terminal displays normally. The above power supply and control methods have at least the following defects: 1. The host power supply system will convert the AC power into high voltage power supply and then transmit it to the adapter board, which requires high safety design; 2. The host and display parts are connected using special wires, which are not very universal and cannot be shared with other commonly used electrical equipment; 3. The transmission of audio and video signals relies on private protocols and binding design, which are not very universal and cannot be connected to other devices; 4. Private protocols usually have high latency and limited data volume, and cannot quickly transmit large amounts of data to ensure the real-time and clarity of the display.
[0044] Therefore, based on the shortcomings of the above split terminal control scheme, a split terminal control method of the present application is proposed. The solution of the embodiment of the present application is to connect the host terminal and the slave terminal through the lightning interface module to realize data communication between the host terminal and the slave terminal based on the standard lightning protocol, and at the same time determine the terminal control instruction based on the host terminal information and the slave terminal information, and finally control the lightning interface module based on the terminal control instruction, thereby realizing the control between the host terminal and the slave terminal under the lightning interface module connection, and avoiding the phenomenon of the need for private protocol to transmit audio and video signals. On the one hand, this split terminal control method can realize the control between the host terminal and the slave terminal under the electrical interface module connection by controlling the lightning interface module through the terminal control instruction, and on the other hand, data communication is carried out between the host terminal and the slave terminal based on the standard lightning protocol, thereby improving the versatility of the split terminal.
[0045] It should be noted that the execution subject of this embodiment may be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or a device capable of realizing the above functions, a split terminal control device, etc. The following takes the split terminal control device (which may be a controller corresponding to a display terminal or a thunderbolt interface module in this embodiment) as an example to illustrate this embodiment and the following embodiments.
[0046] Based on this, the present application embodiment provides a split terminal control method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the split terminal control method of the present application.
[0047] Reference Figure 1 The present application provides a split terminal control method. In a first embodiment of the split terminal control method, the split terminal control method is applied to a split terminal control system. The split terminal control system includes a lightning interface module, a host terminal, and a slave terminal. The host terminal and the slave terminal are connected through the lightning interface module and perform data communication based on a standard lightning protocol of the lightning interface module. The split terminal control method includes:
[0048] Step S10, obtaining terminal connection information of the thunderbolt interface module, wherein the terminal connection information includes host terminal information of the host terminal and slave terminal information of the slave terminal;
[0049] Exemplarily, the split terminal control method of this embodiment is applied to a split terminal control system, which includes a lightning interface module, a host terminal and a slave terminal, wherein the host terminal and the slave terminal are connected through the lightning interface module, and data communication is performed based on the standard lightning protocol of the lightning interface module (including the lightning interface formed by the lightning chips at the receiving end and the sending end), which can be referred to Figure 3 , Figure 3 This is a schematic diagram of a split terminal control system of the present application, which uses the Thunderbolt interface to achieve direct communication and power supply between the host part of the display end and the display part of the display end (i.e., the slave part). It is worth noting that the Thunderbolt interface can be a Thunderbolt chip, and Thunderbolt 5 (with a maximum one-way transmission rate of 120Gbps (supporting 120Hz 8K display data volume) and a maximum power of 240W, whose signal transmission rate is fully sufficient to support the transmission of 8K audio and video, and can also provide 240W high-power power supply to the device at the same time, which fully meets the use requirements of the split display end) is used as an example to illustrate that the host power supply system converts the AC power into direct current and transmits it to the Thunderbolt 5 interface chip. At the same time, the host control system processes the received audio and video signals into universal standard signals that meet the requirements of the Thunderbolt interface (i.e., standard Thunderbolt protocol, which can support DP2.1 protocol, USB4-80G, USB3-20G and high-speed PCIE protocol) and transmits them to the Thunderbolt 5 interface chip (receiving end). The Thunderbolt 5 interface chip (transmitter) converts the received signal and electric energy and transmits it to the display part through the standard type-c cable. The Thunderbolt 5 interface chip of the display part parses the received electric energy and signal, transmits the electric energy to the backlight drive system, and transmits the received signal to the signal conversion system to control the backlight drive system to drive the module backlight. The signal conversion system outputs the video signal to the module display LCD. At this point, the display end displays normally. By using the Thunderbolt interface module, while achieving normal power supply, the standard Thunderbolt protocol is realized for data communication, thereby improving the versatility of split terminal use.
[0050] In this embodiment, when the split terminal is controlled, the terminal connection information of the lightning interface module is obtained, wherein the terminal connection information includes the host terminal information of the host terminal and the slave terminal information of the slave terminal, that is, the information of the two terminals connected to the two sides of the lightning interface module. At this time, no restriction can be imposed on both sides. For example, if one side of the lightning interface module is defined in advance as a slave terminal, the other side is a host terminal, and then the control is performed through the relevant information of the slave terminal (host terminal information) and the relevant information of the host terminal (slave terminal information). It is worth noting that the execution position of the entire method can be a controller connected to the lightning interface module, the host terminal and the slave terminal, or a controller connected only to the lightning interface module, which is not limited here. Among them, the two information can ensure the type of terminal and the relevant information of power supply and communication, and then the control can be performed based on the terminal information at both ends of the lightning interface module to ensure the accuracy of the control under the connection of the lightning interface module.
[0051] Step S20, determining a terminal control instruction according to the host terminal information and the slave terminal information, and controlling the thunderbolt interface module according to the terminal control instruction.
[0052] In this embodiment, after determining the host terminal information and the slave terminal information, the terminal control instruction will be determined based on the host terminal information and the slave terminal information, and then the Thunderbolt interface module will be controlled based on the terminal control instruction, wherein the terminal control instruction refers to the instruction to control the Thunderbolt interface module, such as limiting the power supply of the host terminal through the Thunderbolt interface module. By using the Thunderbolt interface technology to connect the slave part and the host part of the split display terminal, power transmission and data transmission can be carried out at the same time. At the same time, the Thunderbolt interface technology has good compatibility and scalability, so that the terminal can directly interact with the personal PC and the expansion dock through the Thunderbolt interface, which can greatly improve the use scenario of the entire split terminal. The most important point is that the Thunderbolt interface protocol is a standard communication protocol rather than a private protocol, which can greatly improve the versatility of the split terminal in different scenarios.
[0053] In the present embodiment, a split terminal control method is provided, which is applied to a split terminal control system. The split terminal control system includes a lightning interface module, a host terminal and a slave terminal, wherein the host terminal and the slave terminal are connected through the lightning interface module, and data communication is performed based on a standard lightning protocol of the lightning interface module, by obtaining terminal connection information of the lightning interface module, wherein the terminal connection information includes host terminal information of the host terminal and slave terminal information of the slave terminal; determining a terminal control instruction according to the host terminal information and the slave terminal information, and controlling the lightning interface module according to the terminal control instruction. This split terminal control method connects the host terminal and the slave terminal through the lightning interface module, so as to achieve Data communication between the host terminal and the slave terminal is achieved based on the standard Thunderbolt protocol. At the same time, the terminal control instructions are determined in combination with the host terminal information and the slave terminal information. Finally, the Thunderbolt interface module can be controlled based on the terminal control instructions, thereby achieving control between the host terminal and the slave terminal under the Thunderbolt interface module, and avoiding the need for private protocols to transmit audio and video signals. On the one hand, this split terminal control method can control the Thunderbolt interface module through terminal control instructions to achieve control between the host terminal and the slave terminal under the electrical interface module. On the other hand, data communication between the host terminal and the slave terminal based on the standard Thunderbolt protocol improves the versatility of the split terminal.
[0054] Further, based on the first embodiment of the present application, a second embodiment of the split terminal control method of the present application is proposed. In this embodiment, in the above step S20, the slave terminal information includes a terminal identifier and a terminal power supply, and the step of determining the terminal control instruction according to the host terminal information and the slave terminal information includes:
[0055] Step S21, when the terminal identifier matches the preset display terminal identifier, determining the terminal control instruction according to the terminal power supply;
[0056] Step S22: when the terminal identifier does not match the preset display terminal identifier, the terminal control instruction is determined according to the host terminal information.
[0057] In this embodiment, when determining the terminal control instruction, it is mainly determined whether the slave terminal is a display terminal by detecting the slave terminal information. It can be determined whether the connected slave at this time is a display terminal by detecting whether the terminal identifier matches the preset display terminal identifier, wherein the terminal identifier refers to the identifier of the terminal type, such as the terminal identifier is 0010, etc., and the display terminal identifier refers to the user-defined display terminal identifier, such as the display terminal identifier is binary 0-4 (i.e. 0000-0100, matching means that the terminal identifier is within the range of the defined display terminal identifier). It is worth noting that at this time, the terminal connected to one side of the Thunderbolt interface module can be directly defined as the host terminal and the terminal connected to the other end as the slave terminal. The terminal type can also be determined directly based on the terminal identifiers on both sides. If one of the two terminals has a display terminal, it is determined to be a slave terminal. Otherwise, one is randomly determined as a slave terminal. The above is only one way to determine the master and slave terminals. Other determination methods are also possible, which are not explained one by one here. After determining that the slave terminal is a display terminal, the terminal control instruction will be determined based on the terminal power supply power, wherein the terminal power supply power refers to the power used to supply power to the display terminal, and then the display terminal will be powered based on this power, and the lightning interface module itself will perform normal standard protocol communication; conversely, when the terminal identifier does not match the preset display terminal identifier, it will be determined that the display is not controlled for the display terminal at this time, and the terminal control instruction will be determined according to the host terminal information, that is, the needs of the host terminal will be determined for control, such as power supply and communication, power supply only, or communication only, etc., thereby ensuring the intelligence of the entire split terminal control. Further, you can refer to Figure 4 , Figure 4 This is a flow chart of the second embodiment of the split terminal control method of the present application. After the host end (i.e., the host terminal) is powered on, the host end will query the slave end (i.e., the slave terminal), that is, detect whether the slave end is a display end, such as detecting the terminal identification, etc., or send a verification command for the display end. When the slave end is a display end, the slave end will return a reply message, otherwise it will not return a reply message. Furthermore, when the slave end is a display end, power will be supplied to the slave so that the slave can pre-start and control the pre-start of the slave end, and the host end will be controlled to query the slave end power meter (i.e., query the terminal power supply power) to power the slave end in a targeted manner, thereby ensuring that the lightning interface module powers the display end in a targeted manner to ensure the accuracy of the power supply.
[0058] Further, based on the first and second embodiments of the present application, a third embodiment of the split terminal control method of the present application is proposed. In this embodiment, the step of determining the terminal control instruction according to the terminal power supply power includes:
[0059] Step S211: determine a power control instruction corresponding to the terminal power supply power in a preset power control instruction table, and use the power control instruction as the terminal control instruction.
[0060] In this embodiment, when it is necessary to determine the power supply power of the display terminal, the power control instruction corresponding to the terminal power supply power will be determined in the preset power control instruction table, and the power control instruction will be used as the terminal control instruction. The power control instruction refers to the instruction for controlling the power output of the power supply device. The power control instruction table refers to the control instruction for different power output values. For example, if the power value is A, the control instruction is A1, and then the lightning interface module can be controlled based on the control instruction A1 to ensure that the power value output to the display terminal is A, so as to ensure accurate power supply control of the display terminal. It is worth noting that at this time, the lightning interface module can be directly controlled based on the terminal control instruction to limit the power supply power output to the display terminal, or the host terminal can be directly controlled to limit the power supply power output to the lightning interface module, thereby achieving the purpose of limiting the power supply power of the display terminal. It can also be other ways, which are not limited here.
[0061] In one embodiment, the host terminal information includes a control requirement, and the step of determining the terminal control instruction according to the host terminal information includes:
[0062] Step S221, when the control requirement matches the preset communication requirement, the preset communication control instruction is used as the terminal control instruction;
[0063] Step S222: When the control requirement matches the preset power supply requirement, the preset power supply control instruction is used as the terminal control instruction.
[0064] In this embodiment, when the slave terminal is not a display terminal, it is necessary to determine the needs of the host terminal at this time, that is, when it is determined that the control demand of the host terminal matches the preset communication demand, the preset communication control instruction is used as the terminal control instruction, and conversely, when it is determined that the control demand matches the preset power supply demand, the preset power supply control instruction is used as the terminal control instruction. In addition, power supply and communication can also be carried out at the same time, wherein the control demand refers to the demand information of the host terminal, and the communication demand refers to the communication demand defined by the user. If it is detected that data is transmitted from the host terminal (or other specific flag bits are detected), it is determined that the control demand at this time is a communication demand, and the preset communication control instruction will be used as the terminal control instruction. The preset communication control instruction refers to an instruction for controlling the Thunderbolt interface module to transmit data. The corresponding transmission interface can be selected according to the data transmission rate and transmission amount, and the corresponding encryption and decryption method can be selected according to the security requirements of data transmission. The power supply requirement refers to the power supply requirement defined by the user. If no data is detected to be transmitted from the host terminal, but there is a connection on the host terminal side of the Thunderbolt interface module (or other specific flag detections), then the control requirement at this time is determined to be a power supply requirement, and the preset power supply control instruction will be used as the terminal control instruction. The preset communication power supply control instruction refers to the instruction to control the Thunderbolt interface module to supply power, such as outputting the corresponding required power voltage, etc., so that when the slave terminal is not the display terminal, the communication and power supply between the master and slave terminals can be normally controlled to improve the functionality of the entire split terminal control. Figure 4 As shown, after determining that the slave end is one of the other interfaces, the demand will be determined by judging whether there is information interaction, and then when there is information interaction, the lightning interface module will be controlled to exchange data, otherwise it will be powered by a single power supply. Of course, data interaction and power supply can also be carried out at the same time. It is worth noting that when the slave terminal is not a display terminal, it can be controlled based on the control requirements in the host terminal information, or it can be controlled based on the control requirements in the slave control terminal information, because the two sides of the lightning interface module can be swapped at this time, so it can be controlled directly based on the control requirements of one side. Generally, the control is based on the requirements of the side with the demand, which can greatly improve the intelligence of the entire split terminal control.
[0065] Further, based on the first embodiment, the second embodiment and / or the third embodiment of the present application, a fourth embodiment of the split terminal control method of the present application is proposed. In this embodiment, after the step of obtaining the terminal connection information of the lightning interface module, it includes:
[0066] Step S11, determining the first power supply power in the slave terminal information, and determining the second power supply power in the host terminal information;
[0067] Step S12, when the second power supply power is greater than or equal to the first power supply power, and the second power supply power is less than or equal to the maximum power supply power of the lightning interface module, executing the step of determining the terminal control instruction according to the host terminal information and the slave terminal information;
[0068] Step S13: When the second power supply power is less than the first power supply power, or the second power supply power is greater than the maximum power supply power of the lightning interface module, a connection prompt message is generated and sent to the host terminal and / or the slave terminal.
[0069] In this embodiment, after the host terminal and the slave terminal are connected through the Thunderbolt interface module, subsequent control is not performed directly, but there is a judgment process. It is worth noting that the connection information can be detected by the host from the slave. After the slave feeds back to the host whether it needs only power supply, only information exchange, or both power supply and information exchange, the host starts to power supply, connect, power supply and connect. The first power supply power in the slave terminal information is determined, and the second power supply power in the host terminal information is determined (assuming that the host terminal supplies power to the slave terminal, if the two positions are swapped, the judgment process is opposite). The first power supply power refers to the power supply power required by the slave terminal, and the second power supply power is the maximum power supply power that the host terminal can provide. Only when the second power supply power is greater than or equal to the first power supply power, and the second power supply power is less than or equal to the maximum power supply power of the Thunderbolt interface module, the step of determining the terminal control instruction according to the host terminal information and the slave terminal information will continue to be executed, that is, the host terminal can normally power the slave terminal. , and the power supply power can be transmitted normally through the Thunderbolt interface module. On the contrary, when the second power supply power is less than the first power supply power, or the second power supply power is greater than the maximum power supply power of the Thunderbolt interface module, a connection prompt message is generated, and the connection prompt message (such as a prompt message, etc.) is sent to the host terminal and / or the slave terminal. That is, the user cannot supply power normally at the same time. At this time, the host terminal or the slave terminal can be informed, which is not limited here. By detecting the power supply power, the accuracy of the subsequent power supply control can be guaranteed. At the same time, the minimum power supply power can also be compared. The method is the same as the above comparison method and will not be repeated here.
[0070] Further, based on the first embodiment, the second embodiment and / or the third embodiment of the present application, a fourth embodiment of the split terminal control method of the present application is proposed. In this embodiment, the step of controlling the lightning interface module according to the terminal control instruction includes at least one of the following:
[0071] Step a, performing power control on the lightning interface module based on the power control instruction in the terminal control instruction;
[0072] Step b, performing communication control on the lightning interface module based on the communication control instruction in the terminal control instruction;
[0073] Step c: Controlling the power supply of the lightning interface module based on the power supply control instruction in the terminal control instruction.
[0074] In this embodiment, after the terminal control instruction is determined, the lightning interface module will be controlled based on the terminal control instruction, mainly by using different instructions in the terminal control instruction to control the lightning interface module differently, such as controlling the power of the lightning interface module based on the power control instruction in the terminal control instruction, that is, Figure 4 The host side in the program limits the available power of the slave side, and then the slave side is powered by the host side to enable normal display. Of course, the power output from the host side to the lightning interface module can also be controlled to achieve power control, which is not limited here. Another method is to perform communication control on the lightning interface module based on the communication control instructions in the terminal control instructions, such as setting the communication channel in the lightning interface module for communication or communication in encryption and decryption mode. The specific control objects of the communication control instructions are not described one by one here. Another method is to perform power supply control on the lightning interface module based on the power supply control instructions in the terminal control instructions, that is, a single power supply control, which can be used to adapt different terminals for power supply, thereby greatly improving the intelligence of the entire split terminal control.
[0075] In one embodiment, the step of controlling the lightning interface module according to the terminal control instruction further includes:
[0076] Step d, when the terminal control instruction is a power supply control instruction, determining the required power supply power corresponding to the power supply control instruction;
[0077] Step e: determining a target control instruction corresponding to the required power supply power in a preset power control instruction table, and performing power control on the lightning interface module based on the target control instruction.
[0078] In this embodiment, when the terminal is powered, especially when charging a terminal such as a mobile phone, the required power supply power corresponding to the power supply control instruction will be determined, and then the target control instruction corresponding to the required power supply power will be determined in the preset power control instruction table, and the lightning interface module will be power controlled based on the target control instruction. The required power supply power refers to the power supply power required by the terminal corresponding to the power supply control instruction, and the power can change in real time according to the actual charging amount, and then the charging terminal is adaptively charged based on the required power supply power to ensure the intelligence of charging. For example, when the remaining power of the charging terminal is 20%, the charging power is Q1, and when the remaining power of the charging terminal is 50%, the charging power is Q1-1. Then, different target control instructions (instructions for controlling the lightning interface module to realize the power output) can be determined based on different required power supply powers, so as to control the power of the lightning interface module based on the target control instruction, and finally ensure the intelligence of charging the charging terminal, while improving the functionality of the entire split terminal control. It is worth noting that when the required power supply power is a power supply control instruction in the terminal control instruction, the charging power and charging control program of the charging terminal corresponding to the power supply control instruction can be obtained in real time, and then the charging control program can be parsed, and the final required power supply power can be determined in combination with the charging power. The required power supply power can also be determined by other methods, which will not be explained here one by one.
[0079] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the split terminal control method of the present application. More simple transformations based on this technical concept are all within the protection scope of the present application.
[0080] The present application also provides a split terminal control device, which is applied to a split terminal control system. The split terminal control system includes a lightning interface module, a host terminal and a slave terminal, wherein the host terminal and the slave terminal are connected through the lightning interface module and perform data communication based on the standard lightning protocol of the lightning interface module. Please refer to Figure 5 , the split terminal control device includes:
[0081] A signal acquisition module A10, used to acquire terminal connection information of the lightning interface module, wherein the terminal connection information includes host terminal information of the host terminal and slave terminal information of the slave terminal;
[0082] The terminal control module A20 is used to determine a terminal control instruction according to the host terminal information and the slave terminal information, and control the lightning interface module according to the terminal control instruction.
[0083] The split terminal control device provided by the present application adopts the split terminal control method in the above embodiment, which can solve the technical problem that the split terminal is not universally used. Compared with the prior art, the beneficial effects of the split terminal control device provided by the present application are the same as the beneficial effects of the split terminal control method provided by the above embodiment, and other technical features in the split terminal control device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0084] The present application provides a split terminal control device, which includes: at least one processor; and a memory that is communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the split terminal control method in the above-mentioned embodiment one.
[0085] Reference below Figure 6 , which shows a schematic diagram of the structure of a split terminal control device suitable for implementing the embodiment of the present application. The split terminal control device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The split terminal control device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0086] like Figure 6As shown, the split terminal control device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the split terminal control device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following devices can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the split terminal control device to communicate with other devices wirelessly or wired to exchange data. Although the split terminal control device with various devices is shown in the figure, it should be understood that it is not required to implement or have all the devices shown. More or fewer devices can be implemented or provided instead.
[0087] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0088] The split terminal control device provided by the present application adopts the split terminal control method in the above embodiment, which can solve the technical problem that the split terminal is not universally used. Compared with the prior art, the beneficial effects of the split terminal control device provided by the present application are the same as the beneficial effects of the split terminal control method provided by the above embodiment, and other technical features in the split terminal control device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0089] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0090] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0091] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the split terminal control method in the above-mentioned embodiment.
[0092] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor devices, apparatuses or components, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution device, apparatus or component. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
[0093] The computer-readable storage medium may be included in the split terminal control device; or may exist independently without being assembled into the split terminal control device.
[0094] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the split terminal control device, the split terminal control device:
[0095] Acquire terminal connection information of the thunderbolt interface module, wherein the terminal connection information includes host terminal information of the host terminal and slave terminal information of the slave terminal;
[0096] A terminal control instruction is determined according to the host terminal information and the slave terminal information, and the lightning interface module is controlled according to the terminal control instruction.
[0097] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on a user terminal, a user computer, partially on a user computer, as a separate software package, partially on a user computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0098] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the device, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based device that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0099] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0100] The computer-readable storage medium provided in the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned split terminal control method, and can solve the technical problem that the split terminal is not universal. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the present application are the same as the beneficial effects of the split terminal control method provided in the above-mentioned embodiment, and will not be repeated here.
[0101] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned split terminal control method when executed by a processor.
[0102] The computer program product provided by this application can solve the technical problem that the split terminal is not universal. Compared with the prior art, the beneficial effects of the computer program product provided by this application are the same as those of the split terminal control method provided by the above embodiment, which will not be repeated here.
[0103] The present application also provides a display terminal, which at least includes a split terminal control device, on which a split terminal control program is stored, and when the split terminal control program is executed by the split terminal control device, the steps of the above-mentioned split terminal control method are implemented.
[0104] The specific implementation method of the display end of the present invention is basically the same as the various embodiments of the above-mentioned split terminal control method. The split terminal control method, device, equipment and computer-readable storage medium can be further refined into a split terminal control method, device, equipment, computer-readable storage medium and a display end. The display end includes the above-mentioned split terminal control device and / or split terminal control equipment, which will not be repeated here.
[0105] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A split terminal control method, characterized in that: The split terminal control method is applied to a split terminal control system, the split terminal control system includes a lightning interface module, a host terminal and a slave terminal, wherein the host terminal and the slave terminal are connected through the lightning interface module and perform data communication based on a standard lightning protocol of the lightning interface module, and the split terminal control method includes: Acquire terminal connection information of the thunderbolt interface module, wherein the terminal connection information includes host terminal information of the host terminal and slave terminal information of the slave terminal; A terminal control instruction is determined according to the host terminal information and the slave terminal information, and the lightning interface module is controlled according to the terminal control instruction.
2. The split terminal control method according to claim 1, characterized in that: The slave terminal information includes a terminal identifier and a terminal power supply. The step of determining a terminal control instruction according to the host terminal information and the slave terminal information includes: When the terminal identifier matches the preset display terminal identifier, determining the terminal control instruction according to the terminal power supply power; When the terminal identifier does not match the preset display terminal identifier, the terminal control instruction is determined according to the host terminal information.
3. The split terminal control method according to claim 2, characterized in that: The step of determining the terminal control instruction according to the terminal power supply power comprises: A power control instruction corresponding to the terminal power supply power is determined in a preset power control instruction table, and the power control instruction is used as a terminal control instruction.
4. The split terminal control method according to claim 2, characterized in that: The host terminal information includes a control requirement, and the step of determining a terminal control instruction according to the host terminal information includes: When the control requirement matches the preset communication requirement, the preset communication control instruction is used as the terminal control instruction; When the control requirement matches the preset power supply requirement, the preset power supply control instruction is used as the terminal control instruction.
5. The split terminal control method according to claim 1, characterized in that: The step of controlling the lightning interface module according to the terminal control instruction includes at least one of the following: Performing power control on the lightning interface module based on the power control instruction in the terminal control instruction; Performing communication control on the lightning interface module based on the communication control instructions in the terminal control instructions; Power supply control is performed on the lightning interface module based on the power supply control instruction in the terminal control instruction.
6. The split terminal control method according to any one of claims 1 to 5, characterized in that: The step of controlling the lightning interface module according to the terminal control instruction also includes: When the terminal control instruction is a power supply control instruction, determining the required power supply power corresponding to the power supply control instruction; A target control instruction corresponding to the required power supply power is determined in a preset power control instruction table, and power control is performed on the lightning interface module based on the target control instruction.
7. The split terminal control method according to any one of claims 1 to 5, characterized in that: After the step of obtaining the terminal connection information of the lightning interface module, the method further includes: Determine the first power supply power in the slave terminal information, and determine the second power supply power in the host terminal information; When the second power supply power is greater than or equal to the first power supply power, and the second power supply power is less than or equal to the maximum power supply power of the lightning interface module, the step of determining the terminal control instruction according to the host terminal information and the slave terminal information is performed; When the second power supply power is less than the first power supply power, or the second power supply power is greater than the maximum power supply power of the Thunderbolt interface module, a connection prompt message is generated and sent to the host terminal and / or the slave terminal.
8. A split terminal control device, characterized in that: The split terminal control device is applied to a split terminal control system, the split terminal control system includes a lightning interface module, a host terminal and a slave terminal, wherein the host terminal and the slave terminal are connected through the lightning interface module and perform data communication based on a standard lightning protocol of the lightning interface module, and the split terminal control device includes: A signal acquisition module, used to acquire terminal connection information of the lightning interface module, wherein the terminal connection information includes host terminal information of the host terminal and slave terminal information of the slave terminal; The terminal control module is used to determine the terminal control instruction according to the host terminal information and the slave terminal information, and control the lightning interface module according to the terminal control instruction.
9. A split terminal control device, characterized in that: The split terminal control device includes a processor, a memory, and a split terminal control method program stored in the memory and executable by the processor, wherein when the split terminal control method program is executed by the processor, the steps of the split terminal control method as described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a split terminal control method program, wherein when the split terminal control method program is executed by a processor, the steps of the split terminal control method according to any one of claims 1 to 7 are implemented.