CN-115629729-B - Display communication port management and control method, system, terminal equipment and storage medium
Abstract
The application relates to the technical field of communication, in particular to a method, a system, a terminal device and a storage medium for controlling a display communication port, wherein the method comprises the steps of obtaining node information; identifying node information, generating a corresponding identification signal, judging whether the identification signal accords with a preset display mode, acquiring a preset control strategy if the identification signal does not accord with the preset display mode, switching to a target transmission port corresponding to the identification signal according to the preset control strategy to serve as a current transmission port, switching to a standard transmission port corresponding to the identification signal according to the preset display mode to serve as the current transmission port if the identification signal accords with the preset display mode, and combining a data transmission channel through the current transmission port to output corresponding communication data. The display communication port management and control method, the system, the terminal equipment and the storage medium provided by the application have the effect of improving the experience of a user using the cash register.
Inventors
- LIU YONGPING
- HU XUEYUN
- LIN YUAN
Assignees
- 深圳市锐宝智联信息有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20220927
Claims (9)
- 1. A method for controlling a display communication port, comprising the steps of: Acquiring node information, wherein the node information is network node information of external equipment of a host; Identifying the node information, and generating a corresponding identification signal, wherein the identification signal is an identification signal with an identification function on external equipment; judging whether the identification signal accords with a preset display mode or not, wherein the preset display mode is a mode corresponding to an index display; if the identification signal does not accord with the preset display mode, acquiring a preset control strategy, wherein the preset control strategy is a port switching control strategy corresponding to a case that the peripheral is a customized multifunctional display board, and the customized multifunctional display board refers to a client multifunctional display board; Switching to a target transmission port corresponding to the identification signal according to the preset control strategy, wherein the target transmission port is a communication port corresponding to a computer main board when the peripheral device is a customized multifunctional display board; If the identification signal accords with the preset display mode, switching to a standard transmission port corresponding to the identification signal according to the preset display mode, wherein the standard transmission port is a corresponding communication port on a computer main board when the peripheral is standard DP display equipment, and the standard DP interface corresponding to the standard DP display equipment supports DP and DP++ mode output; Outputting corresponding communication data through the current transmission port combined with a data transmission channel; The step of identifying the node information and generating a corresponding identification signal comprises the following steps: identifying the node information and acquiring corresponding node data; defining the node data according to a preset definition rule, and generating a corresponding first configuration signal and a corresponding second configuration signal; Acquiring an output state of the first configuration signal as a first signal output state; acquiring the output state of the second configuration signal as a second signal output state; If the first signal output state and the second signal output state are both in a first level state, generating a corresponding high-definition digital signal as the identification signal; If the first signal output state and the second signal output state are both the second level state, generating a corresponding multifunctional display signal as the identification signal; And if the first signal output state and the second signal output state are different, generating a corresponding high-definition multimedia signal as the identification signal.
- 2. The method according to claim 1, wherein the switching to the target transmission port corresponding to the identification signal according to the preset control policy as the current transmission port includes the following steps: acquiring the multifunctional display signal according to the preset control strategy; identifying the multifunctional display signal and generating a corresponding first switching instruction; and switching to the target transmission port in the data transmission channel as the current transmission port according to the first switching instruction.
- 3. The method according to claim 2, further comprising the steps of, after said switching to said target transmission port in said data transmission channel as said current transmission port according to said first switching instruction: acquiring corresponding target transmission data according to the target transmission port; Judging whether the target transmission data accords with a preset peripheral standard or not; if the target transmission data accords with the preset peripheral standard, outputting the corresponding communication data according to the preset peripheral standard; and if the target transmission data does not accord with the preset peripheral standard, acquiring corresponding abnormal transmission data, and generating corresponding prompt information according to the abnormal transmission data.
- 4. The method according to claim 1, further comprising the steps of, after said switching to a target transmission port corresponding to said identification signal according to said preset control policy, as a current transmission port: acquiring corresponding power supply data according to the target transmission port; Acquiring corresponding working electricity utilization standards according to preset peripheral equipment; judging whether the power supply data accords with the working power consumption standard or not; And if the power supply data accords with the working power consumption standard, supplying power to the corresponding preset peripheral according to the power supply data.
- 5. The method for controlling a display communication port according to claim 1, wherein if the identification signal accords with the preset display mode, switching to a standard transmission port corresponding to the identification signal according to the preset display mode, as the current transmission port, includes the following steps: If the identification signal accords with the preset display mode, acquiring a corresponding standard identification signal according to the preset display mode; judging the type of the standard identification signal; If the standard identification signal is the high-definition digital signal, acquiring and switching to a standard transmission port corresponding to the identification signal according to a second switching instruction as the current transmission port; And if the standard identification signal is the high-definition multimedia signal, acquiring and switching to a standard transmission port corresponding to the identification signal according to a third switching instruction to serve as the current transmission port.
- 6. The method according to claim 1, further comprising, after the defining the node data according to a preset definition rule, generating corresponding first configuration signals and second configuration signals: Judging whether the first signal output state and the second signal output state accord with a preset state standard or not; and if the first signal output state and the second signal output state do not meet the preset state standard, identifying the output states corresponding to the first configuration signal and the second configuration signal according to a preset identification rule, and generating corresponding control signals.
- 7. A display communication port management and control system, comprising: the first acquisition module (1) is used for acquiring node information, wherein the node information is network node information of external equipment of the host; The identification module (2) is used for identifying the node information and generating corresponding identification signals, wherein the identification signals are identification signals with identification function on external equipment; the judging module (3) is used for judging whether the identification signal accords with a preset display mode or not, wherein the preset display mode is a mode corresponding to the standard display; The second acquisition module (4) is used for acquiring a preset control strategy if the identification signal does not accord with the preset display mode, wherein the preset control strategy is a port switching control strategy corresponding to the case that the peripheral is a customized multifunctional display board, and the customized multifunctional display board refers to a client multifunctional display board; The first switching module (5) is used for switching to a target transmission port corresponding to the identification signal according to the preset control strategy, and the target transmission port is used as a current transmission port, and is a communication port corresponding to a computer main board when the peripheral is a customized multifunctional display board; The second switching module (6), if the said identification signal accords with the said preset display mode, the said second switching module (6) is used for switching to the standard transmission port corresponding to said identification signal according to the said preset display mode, as the said current transmission port, the said standard transmission port is the correspondent communication port on the computer motherboard when the peripheral hardware is standard DP display device, wherein, standard DP interface that the standard DP display device corresponds supports DP and DP++ mode output; The output module (7) is used for outputting corresponding communication data through the combination of the current transmission port and the data transmission channel; the identification module (2) is specifically configured to: identifying the node information and acquiring corresponding node data; defining the node data according to a preset definition rule, and generating a corresponding first configuration signal and a corresponding second configuration signal; Acquiring an output state of the first configuration signal as a first signal output state; acquiring the output state of the second configuration signal as a second signal output state; If the first signal output state and the second signal output state are both in a first level state, generating a corresponding high-definition digital signal as the identification signal; If the first signal output state and the second signal output state are both the second level state, generating a corresponding multifunctional display signal as the identification signal; And if the first signal output state and the second signal output state are different, generating a corresponding high-definition multimedia signal as the identification signal.
- 8. A terminal device comprising a memory and a processor, wherein the memory has stored therein computer instructions executable on the processor, and wherein the processor, when loaded and executing the computer instructions, employs the method of controlling a display communication port according to any one of claims 1 to 6.
- 9. A computer readable storage medium having stored therein computer instructions which, when loaded and executed by a processor, employ the display communication port management method of any one of claims 1 to 6.
Description
Display communication port management and control method, system, terminal equipment and storage medium Technical Field The present application relates to the field of communications technologies, and in particular, to a method, a system, a terminal device, and a storage medium for controlling a display communication port. Background Besides the host and the display, the cash register has a plurality of peripheral devices, such as a guest display, a touch screen, a card reader, a password keyboard, a scanning gun and the like, which are needed to be displayed to customers, and each peripheral device needs wires to be connected with the host. Each individual peripheral device needs a data line to be connected with the cash register host to work, and some peripheral devices also need a power supply line. For example, a client display needs to be connected with a host by using a DP wire and a power wire, a touch screen on the client display needs to be connected with the host by using a USB wire, and a card reader, a code keyboard and a scanning gun also need to be connected with the host by using corresponding USB wires. Various peripheral equipment of cash registers needs multiple wire rods, and is time-consuming and complex to assemble for the cash registers, and wire rods are too many and complex to maintain for after-sales maintenance personnel, resulting in poor user experience. Disclosure of Invention In order to improve the experience of a user using a cash register, the application provides a display communication port control method, a system, terminal equipment and a storage medium. In a first aspect, the present application provides a method for controlling a display communication port, including the steps of: acquiring node information; identifying the node information and generating a corresponding identification signal; Judging whether the identification signal accords with a preset display mode or not; if the identification signal does not accord with the preset display mode, a preset control strategy is obtained; switching to a target transmission port corresponding to the identification signal according to the preset control strategy, and taking the target transmission port as a current transmission port; if the identification signal accords with the preset display mode, switching to a standard transmission port corresponding to the identification signal according to the preset display mode, and taking the standard transmission port as the current transmission port; And outputting corresponding communication data through the combination of the current transmission port and the data transmission channel. By adopting the technical scheme, the corresponding identification signal can be generated by identifying the node information of the peripheral, whether the identification signal accords with a preset display mode under the conventional standard or not can be judged immediately, if the identification signal does not accord with the preset display mode, the connected peripheral is a multifunctional customized display, the target transmission port in the data transmission channel is further switched to serve as the current transmission port according to the preset control strategy, if the identification signal accords with the preset control strategy, the connected peripheral is a standard display, the standard transmission port in the data transmission channel is further switched to serve as the current transmission port according to the preset display mode, the corresponding communication data is further output through the combination of the current transmission port and the data transmission channel, and as the common standard display and the multifunctional customized display on the market can be compatible through the current transmission port and the corresponding data transmission channel, wires of various peripheral are integrated into one standard data wire, so that the cash register is easier to maintain and install, and the integration level is higher, and the experience of a user using the cash register is improved. Optionally, the identifying the node information and generating the corresponding identifying signal include the following steps: identifying the node information and acquiring corresponding node data; defining the node data according to a preset definition rule, and generating a corresponding first configuration signal and a corresponding second configuration signal; Acquiring an output state of the first configuration signal as a first signal output state; acquiring the output state of the second configuration signal as a second signal output state; If the first signal output state and the second signal output state are both in a first level state, generating a corresponding high-definition digital signal as the identification signal; If the first signal output state and the second signal output state are both the second level state, generating a corresponding multifun