CN113760790B - Docking station information instruction configuration and transmission method and device and docking station - Google Patents

Docking station information instruction configuration and transmission method and device and docking station Download PDF

Info

Publication number
CN113760790B
CN113760790B CN202111052404.1A CN202111052404A CN113760790B CN 113760790 B CN113760790 B CN 113760790B CN 202111052404 A CN202111052404 A CN 202111052404A CN 113760790 B CN113760790 B CN 113760790B
Authority
CN
China
Prior art keywords
configuration strategy
configuration
group
docking station
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111052404.1A
Other languages
Chinese (zh)
Other versions
CN113760790A (en
Inventor
严武
邹日昌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dongguan Haineng Electronics Co ltd
Original Assignee
Dongguan Haineng Electronics Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dongguan Haineng Electronics Co ltd filed Critical Dongguan Haineng Electronics Co ltd
Priority to CN202111052404.1A priority Critical patent/CN113760790B/en
Publication of CN113760790A publication Critical patent/CN113760790A/en
Application granted granted Critical
Publication of CN113760790B publication Critical patent/CN113760790B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/102Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1632External expansion units, e.g. docking stations

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The method comprises the steps of obtaining a plurality of to-be-stored configuration strategies which are in one-to-one correspondence with keys on the docking station, wherein the to-be-stored configuration strategies form to-be-stored configuration strategy groups; storing the to-be-stored configuration strategy group into a database, so that the to-be-stored configuration strategy group becomes a current configuration strategy group; and when the key information of the key is acquired, calling a pre-stored information instruction according to the corresponding current configuration strategy in the current configuration strategy group to form an instruction set, and transmitting the instruction set to the corresponding intelligent terminal through a docking station interface. The operator can send the instruction set to the intelligent terminal who is connected with docking station through pressing the button on the docking station, controls intelligent terminal. The application has the effect of being convenient for improve intelligent terminal's use convenience.

Description

Docking station information instruction configuration and transmission method and device and docking station
Technical Field
The invention relates to the field of docking stations, in particular to a docking station with a user-defined function key, a function configuration method and a configuration device.
Background
Intelligent terminal products such as smart phones, tablet computers and notebook computers have become indispensable articles in people's lives. With the improvement and promotion of the functions of the intelligent terminal, the requirements of the intelligent mobile phone and the computer for work are increasing, for example, the mobile phone is used for renovating pictures, the computer is used for playing videos, and the like.
For the work content of repetitive operation, for example, the size of the picture is adjusted by using a computer, the shortcut key which needs to be pressed down or the shortcut key combination is the same for each picture, and the worker needs to repeatedly and repeatedly strike the keys of the keyboard according to a certain sequence, which is very inconvenient.
For another example, when a computer is used to play a video, the computer needs to be placed at a position where all the participants can see, and at this time, if the operator wants to control the computer, the operator needs to go to a position near the computer, which is troublesome.
Disclosure of Invention
In order to improve the use convenience of the intelligent terminal, the invention provides a docking station information instruction configuration and transmission method and device and a docking station.
In a first aspect, the configuration and transmission method for docking station information commands provided by the present application adopts the following technical solutions:
a docking station information instruction configuration and transmission method comprises the following steps:
acquiring a plurality of to-be-stored configuration strategies which are in one-to-one correspondence with keys on the docking station, wherein the plurality of to-be-stored configuration strategies form a to-be-stored configuration strategy group;
storing the to-be-stored configuration strategy group into a database to enable the to-be-stored configuration strategy group to be a current configuration strategy group;
and when the key information of the key is acquired, calling a pre-stored information instruction according to the corresponding current configuration strategy in the current configuration strategy group to form an instruction set, and transmitting the instruction set to the corresponding intelligent terminal through a docking station interface.
By adopting the technical scheme, when repeated keyboard key operation is required, the to-be-stored configuration strategy is formed according to the number and the sequence of the keyboard keys. And configuring the to-be-stored configuration strategy into the docking station, so that the to-be-stored configuration strategy becomes the current configuration strategy in the docking station. After a worker presses a corresponding key on the docking station, an instruction set is automatically generated according to a current configuration strategy corresponding to the key, and the intelligent terminal is controlled to operate; the workman only need press a button promptly, is equivalent to pressing a plurality of buttons in the keyboard, and convenient and fast helps improving intelligent terminal's use convenience. And compare in the workman and strike the button of keyboard according to fixed order in proper order, press a button on the docking station can, help reducing misoperation rate and misoperation error rate.
In addition, since the key function of the docking station can be equivalent to the function of an input device such as a keyboard and/or a mouse, when the intelligent terminal is connected with the docking station, a connecting wire with the length of several meters can be used. When the intelligent terminal is not easy to touch, the intelligent terminal can be controlled through the docking station, convenience and rapidness are achieved, the intelligent terminal does not need to be moved to the position near the intelligent terminal or the position of the intelligent terminal is not changed, and the use convenience of the intelligent terminal is improved.
Optionally, each to-be-stored configuration policy in the to-be-stored configuration policy group carries key information of a corresponding key;
when the key information of the key is obtained, the step of calling the pre-stored information instruction according to the corresponding current configuration strategy in the current configuration strategy group comprises the following steps:
searching the current configuration strategy in the database based on the acquired key information;
when the key information carried by the found current configuration strategy is the same as the obtained key information, calling the current configuration strategy;
and calling a prestored information instruction based on the current configuration strategy.
By adopting the technical scheme, the keys on each docking station correspond to the key information, and the key information is matched with the corresponding current configuration strategy.
Optionally, after searching the current configuration policy in the database based on the acquired key information, the method further includes:
and outputting blank configuration information when the current configuration strategy carrying the same key information as the acquired key information is not found.
By adopting the technical scheme, the blank configuration information is output, so that an operator can know that the pressed docking station key is not provided with a corresponding current configuration strategy.
Optionally, the step of storing the to-be-stored configuration policy group in a database, so that the to-be-stored configuration policy group becomes a current configuration policy group, includes:
judging whether a current configuration strategy group exists in a database;
if not, storing the to-be-stored configuration strategy group and enabling the to-be-stored configuration strategies to form a current configuration strategy group;
if yes, the to-be-stored configuration strategy group is covered on the current configuration strategy group, so that the to-be-stored configuration strategy group becomes a new current configuration strategy group.
By adopting the technical scheme, the condition that only one current configuration strategy group exists in the database is ensured, and the stability of the instruction set transmitted from the docking station to the intelligent terminal is ensured, namely, the error is not easy to occur.
Optionally, the step of covering the pending configuration policy group with the current configuration policy group includes:
judging whether the to-be-stored configuration strategy corresponding to each key information in the to-be-stored configuration strategy group is empty or not, or whether the to-be-stored configuration strategy is the same as the current configuration strategy of the key information in the current configuration strategy group;
if the configuration strategy is empty or the configuration strategies are the same, the corresponding current configuration strategy is unchanged, and the corresponding to-be-stored configuration strategy in the to-be-stored configuration strategy group is deleted;
if the key information is not empty and different, deleting the corresponding current configuration strategy, storing the corresponding to-be-stored configuration strategy in the to-be-stored configuration strategy group, and using the to-be-stored configuration strategy as the current configuration strategy of the corresponding key information.
By adopting the technical scheme, when the to-be-stored configuration strategy is empty or is the same as the current configuration strategy, the to-be-stored configuration strategy is not stored any more and is deleted, which is beneficial to saving resources.
Optionally, a plurality of standby configuration policy groups are pre-stored in the database, where the standby configuration policy groups include a standby video configuration policy group, a standby picture configuration policy group, a standby audio configuration policy group, and a standby operation configuration policy group;
when the key information of the key is obtained, according to the corresponding current configuration strategy in the current configuration strategy group, a pre-stored information instruction is called to form an instruction set, and before the instruction set is transmitted to the corresponding intelligent terminal through a docking station interface, the method further comprises the following steps:
after the docking station interface is connected with the intelligent terminal, uploading a verification request to the intelligent terminal;
receiving verification information issued by the intelligent terminal based on a verification request;
when the verification information is that no input equipment is connected or the input equipment is in fault, uploading a window confirmation request to the intelligent terminal;
receiving window information issued by the intelligent terminal based on a window confirmation request; the window information comprises a video window, a picture window, an audio window and an operation window;
and selecting one of the standby configuration strategy groups as a current configuration strategy group based on the window information, and storing the original current configuration strategy group as a custom configuration strategy group.
By adopting the technical scheme, when the input equipment of the intelligent terminal connected with the docking station breaks down or the intelligent terminal connected with the docking station is not connected with the input equipment, one of the standby configuration strategy groups is automatically selected as the current configuration strategy group, so that an operator can simply control the intelligent terminal through the keys on the docking station.
Optionally, the step of uploading a confirmation request to the intelligent terminal includes:
uploading a window confirmation request to the intelligent terminal every time a preset confirmation time threshold value is passed;
the step of selecting one of the plurality of standby configuration policy groups as a current configuration policy group based on the window information includes:
selecting the standby operation configuration strategy group of the corresponding type according to the type of the window information;
taking the standby operation configuration strategy group of the corresponding type as a current configuration strategy group;
after the taking the standby operation configuration policy group as the current configuration policy group, the method further includes:
transmitting configuration strategy group change information to a corresponding intelligent terminal through a docking station interface;
receiving a change instruction fed back by the intelligent terminal based on the change information of the configuration strategy group;
and taking one of the custom configuration policy group and the plurality of standby configuration policy groups as a current configuration policy group based on the change instruction.
By adopting the technical scheme, the window confirmation request is periodically uploaded to the intelligent terminal, so that when a new window is opened on the intelligent terminal, the current configuration strategy group is changed, and an operator can conveniently control the intelligent terminal through a key on the docking station.
Optionally, the current configuration policy includes invoking an information instruction corresponding to any one key on the keyboard or invoking information instructions corresponding to a plurality of keys on the keyboard according to a preset sequence every time a preset time interval elapses.
Through adopting above-mentioned technical scheme, current configuration strategy can be with the information instruction that a plurality of buttons on the keyboard correspond, and the operator can carry out the operation that is equivalent to a plurality of buttons on the keyboard to intelligent terminal through pressing a button on the docking station promptly, helps improving the convenience, reduces operator misoperation's probability.
In a second aspect, the present application provides a device for configuring and transmitting docking station information commands, which adopts the following technical solutions:
a docking station information instruction configuration and transmission device comprises a memory and a processor, wherein the memory stores a docking station information instruction configuration and transmission program; the processor is configured to employ the above-described method in executing the configuration and transmission program of docking station information instructions.
In a third aspect, the docking station provided by the present application adopts the following technical solutions:
a docking station comprises a docking station body, wherein the docking station body comprises a plurality of docking station interfaces, a key panel is installed on the docking station body, and the key panel comprises a plurality of keys; the docking station body is internally provided with the configuration and transmission device, the input end of the configuration and transmission device is connected with the key, and the output end of the configuration and transmission device is connected with the docking station interface.
Through adopting above-mentioned technical scheme, the operator has configured the current configuration strategy of each button in control chip, through the button on the operation docking station, can control the intelligent terminal that docking station connects, need not the operator and walks to near intelligent terminal and operate intelligent terminal through input device, helps improving intelligent terminal's use convenience.
In summary, a current configuration policy group is configured for the keys on the docking station, the current configuration policy group includes current configuration policies corresponding to the keys one to one, and when an operator presses a certain key on the docking station, a corresponding instruction set is transmitted to the intelligent terminal connected to the docking station, so that the intelligent terminal is controlled, and the use convenience of the intelligent terminal is improved.
In addition, the current configuration strategy group can be changed, so that an operator can change the current configuration strategy corresponding to each key on the docking station according to actual requirements, and convenience in controlling the intelligent terminal correspondingly connected through the docking station is further improved.
Moreover, when the intelligent terminal connected with the docking station is not connected with the input device or the input device fails, the current configuration strategy group is automatically changed, so that an operator can operate the intelligent terminal conveniently, and the use convenience of the intelligent terminal is improved.
Drawings
Fig. 1 is a schematic structural diagram of a docking station according to an embodiment of the present application.
Fig. 2 is a flowchart of a method for configuring and transmitting docking station information commands according to an embodiment of the present application.
Fig. 3 is a schematic diagram illustrating database data storage in a method for configuring and transmitting docking station information commands according to an embodiment of the present application.
Fig. 4 is another flowchart of a method for configuring and transmitting docking station information commands according to an embodiment of the present application.
Description of reference numerals:
1. a docking station body; 2. a key panel; 3. a configuration and transmission device; 31. a memory; 32. a processor.
Detailed Description
The embodiment of the application discloses a docking station. Referring to fig. 1, the docking station includes a docking station body 1, a key panel 2, and a configuration and transmission device 3; docking station body 1 includes shell and a plurality of docking station interfaces, and the docking station interface can be USB interface, HDMI interface, VGA interface and/or PD interface, realizes being connected of docking station and intelligent terminal through the docking station interface to carry out the transmission of information. In this embodiment, the docking station is in wired connection with the intelligent terminal through a data line. The key panel 2 comprises a plurality of keys, and the key panel 2 is arranged on the docking station body 1; configuration and transmission device 3 are installed inside docking station body 1, and the input is all connected with all buttons of keypad 2, and the output is connected with the docking station interface for when certain button is pressed, to the intelligent terminal transmission instruction set of being connected with docking station body 1, with control intelligent terminal.
Wherein, the configuring and transmitting device comprises a memory 31 and a processor 32, the memory 31 stores a configuring and transmitting program of the docking station information instruction; the processor 32 is configured to employ the configuration and transmission method of the docking station information instructions when executing the configuration and transmission program of the docking station information instructions.
Hereinafter, a configuration and transmission method of the docking station information command will be described in detail.
The embodiment discloses a method for configuring and transmitting docking station information instructions, and with reference to fig. 2, the method includes:
s100, a plurality of to-be-stored configuration strategies corresponding to keys on the docking station one by one are obtained, and the to-be-stored configuration strategies form a to-be-stored configuration strategy group.
The configuration strategies to be stored can be set on a computer, and then the set configuration strategies to be stored are transmitted to the configuration and transmission device 3 together through the computer, so that a configuration strategy group to be stored is obtained. In addition, the to-be-stored configuration policy may also be set on the APP of the mobile phone or the applet, and transmitted to the configuration and transmission device 3 through bluetooth, so that the configuration and transmission device 3 obtains the to-be-stored configuration policy group. In addition, the number of the plurality of pending configuration policies in the pending configuration policy group may be the same as or less than the number of keys on the docking station. When the number is equal, each key corresponds to the configuration strategy to be stored; when the number is not equal, at least one key is not provided with the pending configuration policy.
S200, storing the to-be-stored configuration strategy group into a database, so that the to-be-stored configuration strategy group becomes a current configuration strategy group.
To facilitate the description of the current configuration policy set, in an embodiment, in conjunction with fig. 3, a plurality of standby configuration policy sets are pre-stored in the database. Specifically, the standby configuration policy group includes a standby video configuration policy group, a standby picture configuration policy group, a standby audio configuration policy group, and a standby operation configuration policy group. After the to-be-stored configuration policy group is stored in the database, the to-be-stored configuration policy group can be stored in a designated position, a designated table or a designated sub-database, so that the to-be-stored configuration policy group becomes the current configuration policy group while being stored. It is easy to understand that when the configuration policy group needs to be called or read subsequently, only the configuration policy group which becomes the current configuration policy group is read; the configuration policy group may be a stored pending configuration policy group.
In addition, when an operator needs to use the standby configuration policy group, for example, the standby video configuration policy group needs to be used, the standby video configuration policy group needs to be the current configuration policy group. If the position, table or sub-database used for storing the current configuration strategy group in the database does not have a corresponding configuration strategy group, the standby video configuration strategy group is stored in the corresponding position, table or sub-database, even if the standby video configuration strategy group is the current configuration strategy group; if the current configuration strategy group exists in the database at this time, deleting the current configuration strategy group, and storing the standby video configuration strategy group into a corresponding position, a table or a sub-database to enable the standby video configuration strategy group to become the current configuration strategy group.
I.e. the current configuration policy group only represents the configuration policy group being used. In addition to using different storage locations to distinguish the current configuration policy group, the current configuration policy group may also be distinguished using tags.
Specifically, step S200 includes:
s210, judging whether the database has a current configuration strategy group.
S220, if not, storing the to-be-stored configuration strategy set and enabling the to-be-stored configuration strategy set to be the current configuration strategy set.
And S230, if so, covering the current configuration policy group with the to-be-stored configuration policy group, so that the to-be-stored configuration policy group becomes a new current configuration policy group.
For convenience of understanding, for example, there are two existing to-be-stored configuration policy groups, namely to-be-stored configuration policy group a and to-be-stored configuration policy group B, where the to-be-stored configuration policy group a is already stored in the database before the to-be-stored configuration policy group B is stored, and becomes the current configuration policy group. The operator wants to change the function of each key on the docking station and thus newly configures the pending configuration policy group B. And when the to-be-stored configuration strategy group B is stored, the to-be-stored configuration strategy group B covers the to-be-stored configuration strategy group A, so that the to-be-stored configuration strategy group B becomes a new current configuration strategy group.
Specifically, the step of covering the pending configuration policy group with the current configuration policy group includes:
s231, judging whether the to-be-stored configuration strategy corresponding to each key information in the to-be-stored configuration strategy group is empty or not, or whether the to-be-stored configuration strategy is the same as the current configuration strategy corresponding to the key information in the current configuration strategy group.
And S232, if the configuration strategies are empty or the configuration strategies are the same, the corresponding current configuration strategies are not changed, and the corresponding to-be-stored configuration strategies in the to-be-stored configuration strategy group are deleted.
And S233, if the configuration policy is not empty and different, deleting the corresponding current configuration policy, storing the corresponding to-be-stored configuration policy in the to-be-stored configuration policy group, and using the to-be-stored configuration policy as the current configuration policy corresponding to the key information.
For convenience of understanding, the above examples of the to-be-stored configuration policy groups a and B are used, and when the to-be-stored configuration policy group B is used to cover the to-be-stored configuration policy group a, whether the to-be-stored configuration policy corresponding to the key information a in the to-be-stored configuration policy group B is empty or is the same as the configuration policy corresponding to the key information a in the to-be-stored configuration policy group a is determined. If the configuration policy corresponding to the key information a is empty or the configuration policy corresponding to the key information a is the same as or different from the configuration policy in the to-be-stored configuration policy group a, the configuration policy corresponding to the key information a does not need to be changed, and the computer resources are saved. If the key information a is not empty and different, the current configuration policy corresponding to the key information a needs to be replaced by the matched to-be-stored configuration policy in the to-be-stored configuration policy group B, so that the current configuration policy corresponding to the key information a is deleted, and the to-be-stored configuration policy corresponding to the to-be-stored configuration policy group B becomes the new current configuration policy of the key information a. Other key information has the same principle and is not described in detail. And when the key corresponding to the key information a is pressed, transmitting an instruction set to the intelligent terminal according to the new current configuration strategy corresponding to the key information a.
In addition, the to-be-stored configuration policy is empty, which means that no to-be-stored configuration policy related to the key information a is set in the to-be-stored configuration policy group B.
Referring to fig. 2, in S300, when key information of a key is acquired, according to a current configuration policy corresponding to a current configuration policy group, a pre-stored information instruction is retrieved to form an instruction set, and the instruction set is transmitted to a corresponding intelligent terminal through a docking station interface.
Specifically, each to-be-stored configuration policy in the to-be-stored configuration policy group carries key information of a corresponding key, and the key information may be a unique identifier of each key, for example, in an embodiment, 3 keys are provided, for convenience of understanding, the 3 keys are respectively named as a key a, a key B, and a key C, the key a corresponds to key information a, the key B corresponds to key information B, and the key C corresponds to key information C; it is intended to be able to distinguish between the individual keys. In a specific application, since the input terminal of the configuration and transmission device 3 is connected to each key, when a certain key is pressed or triggered, the configuration and transmission device 3 obtains the trigger information of the key and the corresponding key information. For example, when the operator presses the key a, the input end of the configuration and transmission device 3 connected to the key a obtains a high level, and at this time, the configuration and transmission device 3 knows that the key a is pressed or triggered, and this high level is regarded as the trigger information of the key a. And then the configuration and transmission device 3 retrieves the pre-stored key information a and searches the current configuration strategy corresponding to the key A based on the key information a.
Based on the executing step, when the key information of the key is obtained, the step of calling the pre-stored information instruction according to the corresponding current configuration strategy in the current configuration strategy group comprises the following steps:
s310, searching a current configuration strategy in a database based on the acquired key information.
Continuing with the above example, since the configuration and transmission apparatus 3 obtains the key information a, it is able to search the database for the current configuration policy carrying the key information a.
And S320, when the key information carried by the searched current configuration strategy is the same as the acquired key information, calling the current configuration strategy.
The current configuration policy refers to the current configuration policy carrying the key information a.
And S330, calling a pre-stored information instruction based on the current configuration strategy.
The information instruction is pre-stored in a database and is an operation instruction which can be identified by intelligent terminals such as computers, mobile phones, pads and the like. Specifically, the information instruction may be an HID instruction, that is, an operation instruction of the same type as an instruction transmitted by the mouse and the keyboard to the computer, and the intelligent terminal such as the computer can recognize the HID instruction commonly used, for example, fast forward, fast backward, previous, next, stop, play, mute, volume up, volume down, and the HID instruction corresponding to each key on the keyboard.
In an embodiment, the current configuration policy includes retrieving an information instruction corresponding to any key on the keyboard or retrieving information instructions corresponding to a plurality of keys on the keyboard according to a preset sequence every time a preset time interval elapses.
For example, the current configuration strategy of the key a on the docking station is to call the information instruction corresponding to one key on the keyboard every 100ms, and the calling sequence is ALT, F, P, a. In the word document, the ALT key is a menu key, F represents a file in a selection menu, P is selection printing, and A is all printing. Therefore, an operator only needs to press the key A on the docking station after opening a word document, the computer connected with the docking station can automatically execute four-step operation, and all files, printing and printing are selected in sequence for opening the menu bar.
As another example, the current configuration policy of key B on the docking station is to invoke the information command corresponding to F3 on the keyboard. When the operator presses the button B of the docking station, the HID command of F3 is received by the computer connected to the docking station, so that the corresponding operation is performed.
And S340, outputting blank configuration information when the current configuration strategy carrying the same key information as the acquired key information is not found.
For step S340, it should be noted that, the current configuration policy carrying the key information a is not found, which may be when the operator configures the to-be-stored configuration policy group, that is, the corresponding to-be-stored configuration policy is not set for the key a. Therefore, when the configuration policy group to be stored is the current configuration policy group, the current configuration policy carrying the key information a cannot be found naturally. In this case, the output blank configuration information may be prompt information. The configuration and transmission device 3 transmits the blank configuration information to the intelligent terminal connected correspondingly through the docking station interface, and displays the blank configuration information on the intelligent terminal, so that an operator can know that the key A is not configured with a corresponding current configuration strategy. The blank configuration information may also be control information, specifically, a plurality of LED lamps are installed on the docking station, and control terminals of the LED lamps are electrically connected to the configuration and transmission device 3. The configuration and transmission device 3 transmits the blank configuration information to the control end of the LED lamp, so that the LED lamp flickers, and an operator can know that the key A is not configured with the current configuration strategy conveniently.
The keys can be distinguished through the flashing times of the LED lamps, the number of the LED lamps equal to the number of the keys can be set, and each LDE lamp corresponds to one key, so that the keys are distinguished.
To further improve the intelligence of the docking station information instruction configuration and transmission, referring to fig. 4, before step S300, the configuration and transmission method further includes:
and S299.1, after the docking station interface is connected with the intelligent terminal, uploading a verification request to the intelligent terminal.
Specifically, a window confirmation request is uploaded to the intelligent terminal once every time a preset confirmation time threshold value passes. The acknowledgement time threshold may be 10s, 20s or 60 s.
And S299.2, receiving the verification information issued by the intelligent terminal based on the verification request.
And S299.3, uploading a window confirmation request to the intelligent terminal when the verification information indicates that no input equipment is connected or the input equipment is in fault.
And S299.4, receiving window information issued by the intelligent terminal based on the window confirmation request, wherein the window information comprises a video window, a picture window, an audio window and an operation window.
As will be understood, when the current window of the intelligent terminal is a video playing window, the window information is a video window; when the current window of the intelligent terminal is a picture display window, the window information is a picture window; and when the current window of the intelligent terminal is a desktop or other windows except videos, pictures and audio, the window information is an operation window. The current window of the intelligent terminal is the window displayed on the uppermost layer of the display screen.
S299.5, selecting one of the standby configuration strategy groups as the current configuration strategy group based on the window information, and storing the original current configuration strategy group as the user-defined configuration strategy group.
Specifically, the step of selecting one of the plurality of standby configuration policy groups as the current configuration policy group based on the window information includes:
selecting the standby operation configuration strategy group of the corresponding type according to the type of the window information;
and taking the standby operation configuration strategy group of the corresponding type as a current configuration strategy group.
After the operation configuration policy group becomes the current configuration policy group, the method further comprises the following steps:
transmitting configuration strategy group change information to a corresponding intelligent terminal through a docking station interface;
receiving a change instruction fed back by the intelligent terminal based on the change information of the configuration strategy group;
and taking one of the custom configuration policy group and the plurality of standby configuration policy groups as a current configuration policy group based on the change instruction.
Namely, under the condition that the intelligent terminal has no input equipment connection or input equipment failure, the standby operation configuration strategy group is taken as the current configuration strategy group, and then the configuration strategy group change information is transmitted to the intelligent terminal. Because the current configuration strategy group is the standby operation configuration strategy group, an operator can control actions such as cursor movement, cursor clicking and the like by pressing a key on the docking station, and therefore one of the user-defined configuration strategy group and the standby configuration strategy groups is selected as the current configuration strategy group. The custom configuration policy group is a current configuration policy group before the standby operation configuration policy group becomes the current configuration policy group.
The implementation principle of the configuration and transmission method of the docking station information instruction in the embodiment of the application is as follows: the database is prestored with various standby configuration strategy groups, and an operator can configure the functions of all keys on the docking station according to requirements, so that the operator can conveniently control the intelligent terminal through the docking station, and the operation convenience of the intelligent terminal is improved. In addition, when the intelligent terminal is not connected with the input device or the connected input device fails, the function of each key on the docking station uses the configuration strategy in the standby configuration strategy group, so that an operator can conveniently control the intelligent terminal.
The above embodiments are preferred embodiments of the present application, and the protection scope of the present application is not limited by the above embodiments, so: all equivalent changes made according to the structure, shape and principle of the present application shall be covered by the protection scope of the present application.

Claims (7)

1. A method for configuring and transmitting docking station information commands, comprising:
acquiring a plurality of to-be-stored configuration strategies which are in one-to-one correspondence with keys on the docking station, wherein the plurality of to-be-stored configuration strategies form a to-be-stored configuration strategy group;
storing the to-be-stored configuration strategy group into a database to enable the to-be-stored configuration strategy group to be a current configuration strategy group;
when the key information of the key is acquired, calling a prestored information instruction according to a corresponding current configuration strategy in the current configuration strategy group to form an instruction set, and transmitting the instruction set to a corresponding intelligent terminal through a docking station interface;
the current configuration strategy comprises the steps of calling an information instruction corresponding to any key on the keyboard or calling information instructions corresponding to a plurality of keys on the keyboard according to a preset sequence every time a preset time interval passes;
a plurality of standby configuration strategy groups are prestored in the database, wherein each standby configuration strategy group comprises a standby video configuration strategy group, a standby picture configuration strategy group, a standby audio configuration strategy group and a standby operation configuration strategy group;
when the key information of the key is obtained, according to the corresponding current configuration strategy in the current configuration strategy group, a pre-stored information instruction is called to form an instruction set, and before the instruction set is transmitted to the corresponding intelligent terminal through a docking station interface, the method further comprises the following steps:
after the docking station interface is connected with the intelligent terminal, uploading a verification request to the intelligent terminal;
receiving verification information issued by the intelligent terminal based on a verification request;
when the verification information is that no input equipment is connected or the input equipment is in fault, uploading a window confirmation request to the intelligent terminal;
receiving window information issued by the intelligent terminal based on a window confirmation request; the window information comprises a video window, a picture window, an audio window and an operation window;
selecting one of the standby configuration strategy groups as a current configuration strategy group based on the window information, and storing the original current configuration strategy group as a user-defined configuration strategy group;
the step of uploading a window confirmation request to the intelligent terminal comprises:
uploading a window confirmation request to the intelligent terminal every time a preset confirmation time threshold value is passed;
the step of selecting one of the plurality of standby configuration policy groups as a current configuration policy group based on the window information includes:
selecting the standby operation configuration strategy group of the corresponding type according to the type of the window information;
taking the standby operation configuration strategy group of the corresponding type as a current configuration strategy group;
after the taking the standby operation configuration policy group as the current configuration policy group, the method further includes:
transmitting configuration strategy group change information to a corresponding intelligent terminal through a docking station interface;
receiving a change instruction fed back by the intelligent terminal based on the change information of the configuration strategy group;
and taking one of the custom configuration policy group and the plurality of standby configuration policy groups as a current configuration policy group based on the change instruction.
2. The method according to claim 1, wherein each of the pending configuration policies in the pending configuration policy group carries key information of a corresponding key;
when the key information of the key is obtained, the step of calling the pre-stored information instruction according to the corresponding current configuration strategy in the current configuration strategy group comprises the following steps:
searching the current configuration strategy in the database based on the acquired key information;
when the key information carried by the found current configuration strategy is the same as the obtained key information, calling the current configuration strategy;
and calling a prestored information instruction based on the current configuration strategy.
3. The method of claim 2, wherein the docking station comprises: after the searching the current configuration policy in the database based on the acquired key information, the method further includes:
and outputting blank configuration information when the current configuration strategy carrying the same key information as the acquired key information is not found.
4. The method of claim 2, wherein the step of storing the pending configuration policy set in a database to make the pending configuration policy set a current configuration policy set comprises:
judging whether a current configuration strategy group exists in the database;
if not, storing the to-be-stored configuration strategy group and enabling the to-be-stored configuration strategies to form a current configuration strategy group;
if yes, the to-be-stored configuration strategy group is covered on the current configuration strategy group, so that the to-be-stored configuration strategy group becomes a new current configuration strategy group.
5. The method of claim 4, wherein the step of overwriting the pending configuration policy group with the current configuration policy group comprises:
judging whether the to-be-stored configuration strategy corresponding to each key information in the to-be-stored configuration strategy group is empty or not, or whether the to-be-stored configuration strategy is the same as the current configuration strategy of the key information in the current configuration strategy group;
if the configuration strategy is empty or the configuration strategies are the same, the corresponding current configuration strategy is unchanged, and the corresponding to-be-stored configuration strategy in the to-be-stored configuration strategy group is deleted;
if the key information is not empty and different, deleting the corresponding current configuration strategy, storing the corresponding to-be-stored configuration strategy in the to-be-stored configuration strategy group, and using the to-be-stored configuration strategy as the current configuration strategy of the corresponding key information.
6. A docking station information instruction configuration and transmission apparatus comprising a memory (31) and a processor (32), characterized in that: the memory (31) stores therein a configuration and transmission program of docking station information instructions; the processor (32) is configured to employ any of the methods of claims 1-5 in executing the configuration and transmission program of docking station information instructions.
7. A docking station comprising a docking station body (1), said docking station body (1) comprising a number of docking station interfaces, characterized in that: the docking station comprises a docking station body (1), wherein a key panel (2) is installed on the docking station body (1), and the key panel (2) comprises a plurality of keys; the docking station body (1) is provided with the configuration and transmission device (3) of claim 6, the input end of the configuration and transmission device (3) is connected with the key, and the output end is connected with the docking station interface.
CN202111052404.1A 2021-09-08 2021-09-08 Docking station information instruction configuration and transmission method and device and docking station Active CN113760790B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111052404.1A CN113760790B (en) 2021-09-08 2021-09-08 Docking station information instruction configuration and transmission method and device and docking station

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111052404.1A CN113760790B (en) 2021-09-08 2021-09-08 Docking station information instruction configuration and transmission method and device and docking station

Publications (2)

Publication Number Publication Date
CN113760790A CN113760790A (en) 2021-12-07
CN113760790B true CN113760790B (en) 2022-06-14

Family

ID=78794111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111052404.1A Active CN113760790B (en) 2021-09-08 2021-09-08 Docking station information instruction configuration and transmission method and device and docking station

Country Status (1)

Country Link
CN (1) CN113760790B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0752652B1 (en) * 1995-07-03 1998-12-16 Sun Microsystems, Inc. System and method for implementing a hierarchical policy for computer system administration
CN106462179A (en) * 2014-09-13 2017-02-22 惠普发展公司有限责任合伙企业 Portable computing device access
CN105847922B (en) * 2016-04-01 2019-07-02 青岛海信电器股份有限公司 Intelligent television control method and smart television
CN108089722A (en) * 2017-12-14 2018-05-29 中国科学院长春光学精密机械与物理研究所 A kind of key assignments customizing keyboard configures system and method
TWI737148B (en) * 2020-02-03 2021-08-21 緯創資通股份有限公司 Dock system and setting method for dock device
CN113342224A (en) * 2021-06-01 2021-09-03 上海器外文化科技有限公司 Control method and device for electric tool, electric tool and storage medium

Also Published As

Publication number Publication date
CN113760790A (en) 2021-12-07

Similar Documents

Publication Publication Date Title
US11144274B2 (en) Methods, systems, and media for providing a remote control interface
KR102162836B1 (en) Apparatas and method for supplying content according to field attribute
CN104615675B (en) Converged communication method and terminal
US7685535B2 (en) Information processing apparatus, method, and information processing program
US20070005607A1 (en) Interface control program, interface control method, interface control apparatus, plug-in program and information processing apparatus
CN104951093A (en) Mobile terminal capable of calling programs or functions by customizing keys and method of mobile terminal
US20090077467A1 (en) Mobile television and multimedia player key presentations
CN104541239A (en) Text select and enter
CN104156208A (en) Method and device for operating controls in terminals on basis of remote-control device
KR20140036532A (en) Method and system for executing application, device and computer readable recording medium thereof
KR102204676B1 (en) Display apparatus, mobile apparatus, system and setting controlling method for connection thereof
US10140265B2 (en) Apparatuses and methods for phone number processing
CN112817582B (en) Code processing method, device, computer equipment and storage medium
US20140215347A1 (en) Portable device and control method thereof
CN113760790B (en) Docking station information instruction configuration and transmission method and device and docking station
US9185350B2 (en) Content selecting system, providing apparatus, transfer apparatus and content selecting method
US20230409814A1 (en) Document editing method and apparatus, device, and storage medium
US11460971B2 (en) Control method and electronic device
CN112423282B (en) Scanning gun data processing method and related equipment
CN112449227B (en) Interaction method and device for touch screen application compatible with remote controller operation and smart television
CN105159874A (en) Method and apparatus for modifying character
US20090110173A1 (en) One touch connect for calendar appointments
US20140009380A1 (en) Electronic apparatus and method of storing activity thereof
CN114398016A (en) Interface display method and device
CN110414809B (en) Optimization method and device of risk management system and related equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant