CN110262984A - A kind of data transfer device and multiport transponder - Google Patents
A kind of data transfer device and multiport transponder Download PDFInfo
- Publication number
- CN110262984A CN110262984A CN201910545153.7A CN201910545153A CN110262984A CN 110262984 A CN110262984 A CN 110262984A CN 201910545153 A CN201910545153 A CN 201910545153A CN 110262984 A CN110262984 A CN 110262984A
- Authority
- CN
- China
- Prior art keywords
- information
- mapping relations
- input
- handover
- handover 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
- G06F13/102—Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/382—Information transfer, e.g. on bus using universal interface adapter
- G06F13/387—Information transfer, e.g. on bus using universal interface adapter for adaptation of different data processing systems to different peripheral devices, e.g. protocol converters for incompatible systems, open system
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Input From Keyboards Or The Like (AREA)
Abstract
Data transfer device provided in an embodiment of the present invention, the method is applied to multiport transponder, the multiport transponder includes at least two connectivity ports, one of them described connectivity port is for connecting external input equipment, another described connectivity port is for connecting smart machine, which comprises receives handover information;According to the handover information, the first mapping relations corresponding with the handover information are determined;According to the first input information of the external input equipment input, the first input information is converted into corresponding output information according to first mapping relations;Wherein, the output information is for controlling the smart machine being connected with the multiport transponder.Thus, it is possible to which the variation by making mapping relations in multiport transponder, the operational issue of usage scenario different in smart machine is coped with using universal external input equipment.
Description
Technical field
The invention belongs to data communication system technical field, in particular to a kind of data transfer device and multiport forwarding
Device.
Background technique
Transponder is the infrastructure device for belonging to data communication system field, object of the transponder applications under local area network and environment
Layer is managed, multiple ports can be provided realizing the interconnection between multiple network node, realize the exchange of data-signal, therefore,
Be otherwise known as multiport transponder (HUB).Existing smart machine, such as mobile phone, tablet computer etc. with display, not
The port for connecting external input equipment, therefore, it is necessary to use multiport forwarding device to be attached as bridge.Existing intelligence
Equipment has many different usage scenarios, such as different application (APP, Application), these usage scenarios need logical
It crosses using touch screen and identifies various inputs, even if being connected to general external input equipment, can not also carry out corresponding operation,
Corresponding usage scenario can only be operated using special keyboard, be brought inconvenience to the user's use.
Summary of the invention
Usage scenario different in smart machine is operated in order to solve existing needs different external input equipment
The problem of.
The embodiment of the invention provides
A kind of data transfer device, the method are applied to multiport transponder, and the multiport transponder includes at least
Two connectivity ports, for connecting external input equipment, another described connectivity port is used for for one of them described connectivity port
Connect smart machine, which comprises receive handover information;According to the handover information, the determining and handover information pair
The first mapping relations answered;According to the first input information of the external input equipment input, the first input information is pressed
Corresponding output information is converted to according to first mapping relations;Wherein, the output information is for controlling and the multiport
The connected smart machine of transponder.
Optionally, after the reception handover information, the method also includes: identification marking is believed from the handover information
Breath;It is described according to the handover information, determine that the first mapping relations corresponding with the handover information specifically include: according to described
The identification information that handover information carries, determines the first mapping relations corresponding with identification information.
Optionally, the handover information is interrupting information, and the reception handover information specifically includes: from the external input
Equipment receives interrupting information;It is described to be specifically included from identification marking information in the handover information: to know from the interrupting information
Other identification information;Wherein, the external input equipment include keyboard, mouse, intelligent glasses, Intelligent bracelet, in smartwatch
It is at least one.
Optionally, the external input equipment is the keyboard, described to receive interrupting information from the external input equipment
It specifically includes: receiving the interrupting information for being concurrently depressed by least two keys on the keyboard and being generated from the keyboard.
Optionally, before the reception handover information, the method also includes: the second input information is received, acquisition is worked as
Second mapping relations of preceding configuration;According to second mapping relations for being different from first mapping relations, by described second
It inputs information and is converted to corresponding output information according to second mapping relations.
Optionally, the identification information carried according to the handover information, determines that corresponding with identification information first reflects
It penetrates before relationship, the method also includes: the identification information carried according to the handover information and second mapping relations, really
Fixed first mapping relations corresponding with identification information.
Optionally, it is described according to the input equipment input first input information, will it is described first input information according to
First mapping relations are converted to corresponding output information, specifically include: according to the first input of input equipment input
The first input information is converted to corresponding average information according to preset second mapping relations, by the centre by information
Information is converted to the corresponding output information according to first mapping relations.
Optionally, the output information includes at least one analogue-key position, simulation number of keys, analogue-key simultaneously
At least one of number.
The embodiment of the invention also provides a kind of multiport transponder, the multiport transponder includes at least two connections
Port, one of them described connectivity port is for connecting external input equipment, another described connectivity port is for connecting intelligence
Equipment;The multiport transponder includes the receiving module, identification module, processing module being sequentially connected;Wherein: the reception mould
Block is for receiving handover information;The identification module is used for the identification marking information from the handover information;The processing module
Identification information for being carried according to the handover information determines the first mapping relations corresponding with the handover information;According to
The first input information is converted to phase according to first mapping relations by the first input information of the input equipment input
The output information answered;Wherein, the output information is for controlling the smart machine being connected with the multiport transponder.
The embodiment of the invention also provides a kind of multiport transponder, the multiport transponder includes at least two connections
Port, one of them described connectivity port is for connecting external input equipment, another described connectivity port is for connecting intelligence
Equipment;The multiport transponder includes: processor;Memory for storage processor executable instruction;Wherein, the place
Reason device is configured as executing above-mentioned data transfer device.
Data transfer device provided in an embodiment of the present invention, the method are applied to multiport transponder, the multiport
Transponder includes at least two connectivity ports, one of them described connectivity port is for connecting external input equipment, another institute
Connectivity port is stated for connecting smart machine, which comprises receive handover information;According to the handover information, determine with
Corresponding first mapping relations of the handover information;It, will be described according to the first input information of the external input equipment input
First input information is converted to corresponding output information according to first mapping relations;Wherein, the output information is for controlling
Make the smart machine being connected with the multiport transponder.Thus, it is possible to by making mapping relations in multiport transponder
Variation, the operational issue of usage scenario different in smart machine is coped with using universal external input equipment.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited
Invention.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention
Example, and in specification together principle for explaining the present invention.
Fig. 1 is the flow chart of the data transfer device of the embodiment of the present invention;
Fig. 2 is the multiport transponder usage scenario schematic diagram of the embodiment of the present invention;
Fig. 3 is the flow chart of another data transfer device of the embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of multiport transponder of the embodiment of the present invention.
Attached drawing is explained: multiport transponder -20;Output port -201;Input port -202;Processing circuit -203;It is external
Input equipment -30;Smart machine -40.
Specific embodiment
Here will the description is performed on the exemplary embodiment in detail, the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended
The example of device and method being described in detail in claims, some aspects of the invention are consistent.
In the description of the present invention, it is to be understood that, term " center ", " longitudinal direction ", " transverse direction ", " length ", " width ",
" thickness ", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outside", " up time
The orientation or positional relationship of the instructions such as needle ", " counterclockwise " is to be based on the orientation or positional relationship shown in the drawings, and is merely for convenience of
The description present invention and simplified description, rather than the device or element of indication or suggestion meaning must have a particular orientation, with spy
Fixed orientation construction and operation, therefore be not considered as limiting the invention.In addition, term " first ", " second " are only used for
Purpose is described, relative importance is not understood to indicate or imply or implicitly indicates the quantity of indicated technical characteristic.
" first " is defined as a result, the feature of " second " can explicitly or implicitly include one or more feature.?
In description of the invention, the meaning of " plurality " is two or more, unless otherwise specifically defined.
In the description of the present invention, it should be noted that unless otherwise clearly defined and limited, term " installation ", " phase
Even ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can
To be mechanical connection, it is also possible to be electrically connected or can mutually communicate;It can be directly connected, it can also be by between intermediary
It connects connected, can be the connection inside two elements or the interaction relationship of two elements.For the ordinary skill of this field
For personnel, the specific meanings of the above terms in the present invention can be understood according to specific conditions.In the absence of conflict, originally
Technical characteristic in invention can be combined with each other.
In the present invention unless specifically defined or limited otherwise, fisrt feature second feature "upper" or "lower"
It may include that the first and second features directly contact, also may include that the first and second features are not direct contacts but pass through it
Between other characterisation contact.Moreover, fisrt feature includes the first spy above the second feature " above ", " above " and " above "
Sign is right above second feature and oblique upper, or is merely representative of first feature horizontal height higher than second feature.Fisrt feature exists
Second feature " under ", " lower section " and " following " include that fisrt feature is directly below and diagonally below the second feature, or is merely representative of
First feature horizontal height is less than second feature.
Following disclosure provides many different embodiments or example is used to realize different structure of the invention.In order to
Simplify disclosure of the invention, hereinafter the component of specific examples and setting are described.Certainly, they are merely examples, and
And it is not intended to limit the present invention.In addition, the present invention can in different examples repeat reference numerals and/or reference letter,
This repetition is for purposes of simplicity and clarity, itself not indicate between discussed various embodiments and/or setting
Relationship.In addition, the present invention provides various specific techniques and material example, but those of ordinary skill in the art can be with
Recognize the application of other techniques and/or the use of other materials.
In data communication field, multiport transponder is the bridge between the external input equipment of connection and output equipment,
External input device can be connected by the interface on multiport transponder with transponder, and multiport transponder connects external input and sets
The signal of standby input, and be connected in other end multiport transponder with output, the signal received is sent to output equipment,
During this, transponder can do the functions such as signal amplification, adjustment, duplication.Certainly, in some cases, certain external inputs are set
It is standby to be also used as output equipment use, and certain output equipments can also be used as external input equipment and use.
The embodiment of the present invention describes a kind of data transfer device, and the method is applied to multiport transponder, feature
It is, the multiport transponder includes at least two connectivity ports, one of them described connectivity port is external defeated for connecting
Enter equipment, another described connectivity port is for connecting smart machine, which comprises receive handover information;It is cut from described
Change identification marking information in information;According to the identification information that the handover information carries, corresponding with identification information first is determined
Mapping relations;According to the first input information of input equipment input, the first input information is reflected according to described first
The relationship of penetrating is converted to corresponding output information;Wherein, the output information is used to control to be connected with the multiport transponder
The smart machine.
Wherein, external input equipment includes keyboard, mouse, intelligent glasses, Intelligent bracelet, smartwatch etc., as long as
The equipment that can produce a variety of unlike signals, it is subsequent to be illustrated for convenience of description using keyboard and mouse, it needs to manage
Solution, is merely illustrative here, is not intended as limiting;Here conversion, which can be understood as inputting information, becomes output letter
Breath, it is understood that be that a corresponding output information is generated according to input information.
Multiport transponder has at least over two ports, is divided into two kinds, including output port and input according to purposes
Port, output port is either one or more, can connect smart machine, such as: smart phone, Intelligent flat,
Intelligent PDA etc., it is subsequent for convenience of description, by taking smart phone as an example, smart machine can be the screen with touch input here
Curtain;Also the equipment such as unintelligent device, such as TV, projector be can connect.Input port is either one or more,
Input port can connect various external input equipments.The type of port here and without limitation, can be USB, HDMI, VGA,
Type-C, Lightning, B-5PIN, Micro-USB, PS/2, DVI-I etc., it is to be understood that the equipment that connects here and
The type of port is only exemplary, and is not intended as limiting, it should be understood that existing input-output equipment and port type all exist
In the range of the embodiment of the present invention.
Fig. 1 is the flow chart of the data transfer device of the embodiment of the present invention, is carried out below with reference to Fig. 1 to the embodiment of the present invention
It explains.
Step 101 receives handover information;
Fig. 2 is the multiport transponder schematic diagram of the embodiment of the present invention, as shown in Fig. 2, multiport transponder at least has
Two interfaces and at least one processing circuit, the processing circuit can be by one or more group such as FPGA, ASIC, DSP
At processing circuit can also connect storage circuit etc..Interface includes input interface and output interface.Processing circuit can receive
It to handover information, specifically can be, processing circuit receives the handover information of external equipment transmission by input interface, can also be with
It is the handover information that processing circuit receives smart machine transmission by output interface, comes it is also possible that processing equipment receives
From the handover information of multiport transponder itself.
Step 102, according to the handover information, determine the first mapping relations corresponding with the handover information;
Wherein, identification information is either one or more, and the first mapping relations are defeated for multiport transponder
Entering the mapping relations between signal and output information, the correspondence of identification information and the first mapping relations can be to be mapped one by one,
It can be mapped one by one with right and wrong.
In some embodiments, the first mapping relations can be and deposit mapping table in a processing circuit, be also possible to outer
The mapping table stored in the storage unit connect can also be the mapping table transmitted from smart machine, such as answering from smart machine
With program according to the difference of application program, different mapping tables can be transmitted to processing circuit, which can be with
Carrier as the first mapping relations.The mapping table can also can have simultaneously multiple with only one.
Step 103, the first input information according to input equipment input, by the first input information according to described
First mapping relations are converted to corresponding output information;
Corresponding handover information is being received, and the first mapping relations have been determined according to the identification information in handover information
Afterwards, according to the first input information of external input equipment input, information will be inputted according to the first mapping relations and is converted into output letter
Breath, when before receiving handover information there are when mapping relations, here the first mapping relations can with reception handover information it
Preceding mapping relations are not fully identical;When mapping relations are not present before receiving handover information, the first mapping is closed here
System can be completely new mapping relations, so for same first input information, for using before receiving handover information
The obtained output information of mapping relations and the output information that is obtained using the first mapping relations it is not fully identical.First input
Information can have different form and input source, such as keyboard and mouse according to the difference of input equipment.Information can be key
The information that disk key generates is also possible to the information etc. of mouse drag generation.Output information is for controlling and the multiport
The connected smart machine of transponder.
By the above method, identical external input equipment is can be used by multiport transponder to different application in user
Smart machine under scene is controlled.
In some embodiments, multiport transponder identification marking information from the handover information;It is received externally
Handover information can be interrupt signal, message signals etc., it might even be possible to be identification information itself, multiport transponder can be with
It identifies the handover information, therefrom identifies or extract identification information.The handover information sent for different equipment can not
Together, the method for identifying and extracting identification information is also different, and here by taking external connection keyboard as an example, the interruption that external connection keyboard is sent is believed
Number and message signals, need to identify and extract which key representated by the interrupt signal is pressed by under as multiport transponder
Under key information be then identification information, identification information can be used as handover information and be sent directly to multiport transponder, should
Identification information is the identification information that can be identified for multiport transponder.The mark letter carried according to the handover information
Breath, determines the first mapping relations corresponding with identification information.
Fig. 2 is the multiport transponder usage scenario schematic diagram of the embodiment of the present invention, as shown in Fig. 2, in some embodiments
In, which includes: smart phone, PDA, tablet computer etc., which has a variety of usage scenarios, exemplary
, need to carry out the scene of text input, mouse selection scene or be the scene for needing touch screen to select, some game,
During working, learning relevant APP operation, such as in the game such as " the peaceful elite " of FPS, MOBA class, " king's honor ",
Either in the photography softwares such as DJI GO, can exist and not only need to carry out screen touch control, but also need the field exchanged of typewriting
Scape.It should be understood that above-mentioned smart machine is illustrative, the embodiment of the present invention includes use under above-mentioned equal application scenarios
Smart machine.
In some embodiments, a port of multiport transponder connects smart machine, another port can connect
External connection display equipment, such as display or projector etc., the smart machine exist the display for the content synchronization that screen is shown
In external connection display equipment, the internal port of the two is directly or indirectly connected.
Fig. 3 is a kind of flow chart of data transfer device of the embodiment of the present invention, as shown in figure 3, before step 101,
Further include:
Step 301: receiving the second input information, obtain the second mapping relations of current-configuration;
Before receiving handover information, multiport transponder can also receive the second input information, and second inputs in information
Hold can from the first input information is identical, different or part is identical, but time upper different from, i.e., the first input information are answered
It is interpreted as the information of the external input equipment received after multiport transponder receives handover information transmission, and second inputs
Information should be understood as the information that the external input equipment received before multiport transponder receives handover information is sent, this
In the handover information that receives should be the same handover information.
Step 302: according to second mapping relations for being different from first mapping relations, second input being believed
Breath is converted to corresponding output information according to second mapping relations.
It is directed to the input information of different time, is mapped the input information using different mapping relations, it can be with
Obtain corresponding output data.
Step 303 to step 306 with describe before similar, repeat no more again.
In some embodiments, keyboard can generate interrupt signal by key, for keyboard, the input information of generation
It may each be interrupt signal, i.e., handover information, the first input information and the second input information may each be interrupt signal, and handle
Circuit is after receiving the interrupt signal, if the interrupt signal, can be from the interrupt signal for handover information at this time
Identification information is analyzed, which is used for subsequent determination mapping relations corresponding with identification information.
Further, identification information is analyzed from the interrupt signal can be and parse interrupt signal, be somebody's turn to do
Specific key information representated by interrupting information, key information here can be a key and be pressed the information of generation, for example,
" A " key on lower keyboard is individually pressed, the information of multiple keys while the generation that is pressed is also possible to, for example, simultaneously by lower keyboard
" A " add " B ".After processing circuit identifies the key information, if the key information is preset key information, it is determined that with
The corresponding mapping relations of identification information are then handled according to the mapping relations when receiving input information later.
Wherein it is determined that there are many ways to whether key information is preset key information, for example, in multiport transponder
The middle storage handover information table of comparisons has switching condition and switch contents in the table, when key meets switching condition, then
Carry out the switching of corresponding switch contents.Can also be only, there is a switching condition all input information can all be carried out
Identify whether comprising handover information, if comprising the handover information, corresponding switching mapping relations.
It is that a key is pressed the information of generation that the key information that handover information includes, which can be, for example, individually pressing down key
"=" key on disk, is also possible to the information of multiple keys while the generation that is pressed, for example, adding simultaneously by " ctrl " on lower keyboard
"=" can also be that in preset interval multiple keys press generated information by non-concurrent in succession, preset
Every different time, such as 10ms, 50ms, 100ms etc. can be set as needed, for example, continuous phase is after by lower keyboard
" ctrl "+"=", is merely illustrative here.
There are many modes for switching mapping relations, if mapping relations can be the second mapping relations before the handover, can be
Meet a switching condition then switch mapping relations according to preset sequence, such as when processing circuit identifies identification information
Afterwards, then mapping relations are switched into the first mapping relations from the second mapping relations.If after identifying another identification information, root
According to default rule, mapping relations can be switched back into the second mapping relations from the first mapping relations, or switch to
Three mapping relations.
Further, in some embodiments, it is also necessary to the identification information carried according to the handover information and described the
Two mapping relations determine the first mapping relations corresponding with identification information;Here the second mapping relations refer to reception handover information
Mapping relations before can be according to second before when receiving handover information and identifying identification information by processing circuit
Mapping relations, to determine the mapping relations next switched, such as: mapping relations can be used identical handover information and be cut
When changing, such as receiving the first handover information, the second mapping relations of application are switched to the first mapping relations by processing circuit, are connect
When getting off to receive the first handover information again, processing circuit, which again maps the first mapping relations switchback second of application, to be closed
System.Mutually switch between two mapping relations it is understood that not only can be here, be also possible to multiple mapping relations it
Between mutually switch.
It should be understood that above-mentioned switching mode can be used alone, mutual cooperation, multiple switching modes can also be thought about it
It is used together, it should be in the range of the embodiment of the present invention.By using above-mentioned switching mode, can simpler progress it is more
The switching of kind mapping relations.
In some embodiments, access device can also be that mouse, such as MouseAcross cross multiport transponder and be connected to intelligence
Energy equipment, similar with keyboard, the output information of mouse can be used as input information, can also be used as handover information.Mouse it is defeated
Entering information may include end message, also may include the interrupt signal that the key press on message information, such as mouse generates,
Such as left mouse button or mouse left side wall key etc., it is also possible to by the mobile generated multiple location information institutes of mouse
Message information of formation etc..Can it make by the interrupt signal of mousebutton generation or by the mobile message information that generates of mouse
To remove switching condition, according to default rule, which can be identified as identification information in a processing circuit, such as in advance
If one or more key be pressed the information of generation, complete preset mouse move mode etc..
In some embodiments, access device can also be other intelligent connected equipments, for example, intelligent glasses, such
Equipment generally has Inertial Measurement Unit (IMU, Inertial measurement unit) sensor and touch screen, two class
Equipment can also generate corresponding input information or handover information, the movement that IMU sensor here generates can be it is one-dimensional,
Two-dimentional or three-dimensional, the application method as handover information is similar with mouse;For the information that touch screen generates, can be
The touch information of single point is also possible to the touch information of multiple points simultaneously or sequentially, information when which transmits
For handover information, equipment is carried out to the information and then obtains identification information.
In some embodiments, the received handover information of multiport transponder can come from the switching letter of the sending of itself
Breath, can be has corresponding processing unit in multiport transponder, which can send corresponding handover information
To processing circuit.
In some embodiments, as shown in figure 3, can have logic switch on multiport transponder, one end of the switch
The input of multiport transponder is connected, the connection processing circuit that the other end can choose either passes through other circuit units and connects
To smart machine, which does not have the ability of switching mapping relations.
In some embodiments, the received handover information of multiport transponder can come from smart machine, i.e. smart machine
I.e. as the sender of handover information, and the recipient as output information.For example, key on intelligent devices, touch screen or
Person's IMU information can be used as identification information.
It is understood that the method for the handover information in foregoing invention embodiment both can be used individually, it can also
It is used together with a variety of cooperations, it should the range as protection of the embodiment of the present invention.
In some embodiments, when keyboard connection connects smart phone by multiport transponder, keyboard sheet can be used
The key of body is inputted, and when the application of smart machine in some scenarios needs to carry out text input, can directly be used
Keyboard itself is inputted accordingly, at this time to the input of each key of keyboard according to the second mapping relations or without using appoint
What mapping relations is handled, and by treated, key information is sent to smart phone.Here the second mapping relations can be
A kind of special mapping one by one, such as: keyboard inputs " A ", then " A " is become " A " by the second mapping relations, then passed to
Smart phone, it should be appreciated that here map not necessarily all inputs one by one all and have mapping, such as keyboard is defeated
When entering " ctrl " and adding the handover information of "=", according to default rule, may only have processing circuit to determine corresponding mapping relations,
Corresponding mapping relations may also be determined in addition to processing circuit, can also add " ctrl " key information of "=" to be sent to intelligent hand
Machine.The input of each key of keyboard can also not use any mapping relations, such as: keyboard inputs " A ", then transmits " A "
To smart phone.
In some embodiments, the information that keyboard is input to multiport transponder is interrupting information, and processing circuit also has
Handle sub-circuit, the processing sub-circuit by the interrupting information received according to preset second mapping relations be converted to accordingly by
Key information will be sent to intelligence by the key information of the second mapping relations processing if not receiving handover information at this time
Mobile phone if received at this time cross handover information, and has determined the first mapping relations according to the handover information, then by conduct
The key information of average information is further converted into the output information of the first mapping relations direction, and the input information is sent
To smart phone.
In some embodiments, for other input equipments, such as mouse, intelligent glasses, Intelligent bracelet, smartwatch
Deng, it is also the same with keyboard, corresponding input information can be generated, which can be interrupting information, be also possible to message information, also
Input information when can directly be corresponding smart mobile phone application.
It in some embodiments, will be interrupting information or treated according to the first input information of keyboard input
First input information of average information is converted to corresponding output information according to the first mapping relations, which can be control
Different control may be implemented according to the difference of smart mobile phone application scene in the output information of smart phone processed, for example, touching
Screen control, IMU control etc..Here it is illustrated by taking touch screen control as an example.
An origin is needed exist for, some point that can choose smart phone screen is origin, such as uses screen center
For origin, the angle point that screen also can be used is origin, here using the lower left corner of screen as origin.When processing circuit receives one
A information for key " A " determines key " A " corresponding touch signal, the position of the touch signal according to the first mapping relations
It is set at (200,100) of touch screen, then will touch primary touch and be sent to smart phone at screen (200,100), then intelligence
Mobile phone executes the information after receiving the output information, and simulated touch screen (200,100) is touched primary operation.
In some embodiments, processing circuit receives multiple key informations simultaneously, such as receives " A " " W " simultaneously
Information is divided into two kinds of situations here, one is, according to the first mapping relations, determine key " A " corresponding touch signal, it should
The position of touch signal is that will then touch primary touch at (200,100) of touch screen and be sent to intelligence at screen (200,100)
Mobile phone determines key " W " corresponding touch signal according to the first mapping relations, and the position of the touch signal is touch screen
At (200,100), then it will touch primary touch and be sent to smart phone at screen (300,200), then smart phone is receiving
The information is executed after this two output informations, simulated touch screen (200,100) and (300,200) are touched once simultaneously
Operation.Another kind is, according to the first mapping relations, corresponding touch letter when inquiring key " A " and key " B " while being pressed
Number, the position of the touch signal is that will then touch primary touch at (200,200) of touch screen and send at screen (200,200)
To smart phone, then smart phone executes the information after receiving the output information, and simulated touch screen (200,200) is touched
Touch primary operation.It should be understood that above two method is only illustrated in the case where being pressed simultaneously for multiple keys
Property explanation, can also include for example according to two keys in the corresponding analog result of the first mapping relations, be calculated final
Analog result.Here it is exemplified as the case where two keys are concurrently depressed, it is defeated to be also possible to three keys, four keys, I MU
Enter and/or the sliding of mouse and/or the key on mouse be pressed and/or keyboard on key be pressed etc..
In some embodiments, when processing circuit receives the information that one is key " Q ", according to the first mapping relations,
Determine key " Q " corresponding multiple touch signals being performed simultaneously, the position of the touch signal be touch screen (200,100) and
At (300,200), then it will touch primary touch and be sent to smart phone at screen (200,100) and (300,200), then intelligence
Mobile phone executes the information after receiving the output information, and simulated touch screen (200,100) and (300,200) are touched primary
Operation.
In some embodiments, when processing circuit receives the information that one is key " T ", according to the first mapping relations,
Determine key " T " corresponding multiple touch signals executed in succession, the position of the touch signal executed in succession is touch screen
At (400,500), (500,500) and (600,500), then by preset interval, execution sequence and touch it is primary touch screen (400,
500) it, is sent to smart phone at (500,500) and (600,500), then smart phone executes after receiving the output information
The information, simulation successively touch screen (400,500), (500,500) and (600,500) according to preset interval and are touched once
Operation.
In some embodiments, when processing circuit receives the moving operation of mouse, such as mouse is between the preset time
Every interior, successively detect successively to move 2,4,5 units to front-right, can be with some point of smart phone screen here
Origin, for example, using screen center be origin, also can be used screen angle point be origin, here by taking the center of screen as an example,.
The touch signal can be, according to mouse mobile 2,4,5 units and the first mapping relations, to determine using origin as reference point
The distance of the touch point on smart phone, such as the point of 200,400,500 pixels apart from origin front-right are simulated, i.e., will
Preset interval, execution sequence and touch primary touch are sent to smart phone at screen (0,200), (0,400) and (0,500),
Then smart phone executes the information after receiving the output information, simulation successively touched according to preset interval screen (0,200),
(0,400) and (0,500) is touched primary operation.Here a threshold interval can be set, when mouse is more than threshold interval
When not moving, then origin should be selected as next reference point.
In some embodiments, when output information being sent to smart phone, the output that is obtained according to the first mapping relations
Information transmits the output information by way of generating message, which has header file and corresponding data file,
Header file may include that touch location touches number, touch duration etc..It is used to indicate how touch screen is operated.
In some embodiments, the key of keyboard can produce the first input information when pressing, in the key pressed
It can produce the first other input information when disk bounces, be also possible to generate the first input information when keyboard is pressed,
And the first input information is not generated when bouncing, it can also be and do not generate the first input letter when keyboard is pressed
Breath, and the first input information is generated when keyboard bounces.
It should be understood that the every content introduced by taking keyboard and mouse as an example in the embodiment of the present invention can be used
On other external equipments, it should not be taken as limiting.It should be understood that the invention is not limited to be described above and attached
Precision architecture shown in figure, and various modifications and change can executed without departing from the scope.The scope of the present invention only by
The attached claims limit.
As shown in figure 4, the multiport transponder at least wraps the embodiment of the invention also provides a kind of multiport transponder
Two connectivity ports are included, for connecting external input equipment, another described connectivity port is used for one of them described connectivity port
In connection smart machine;
The multiport transponder includes the receiving module 401 being sequentially connected, processing module 402;Wherein:
The receiving module 401 is for receiving handover information;
The processing module 402 is used to determine the first mapping relations corresponding with identification information according to the handover information;
According to the first input information of input equipment input, the first input information is converted according to first mapping relations
For corresponding output information;Wherein, the output information is set for controlling the intelligence being connected with the multiport transponder
It is standby.
Optionally, the multiport transponder further includes identification module, and the identification module is used for from the handover information
Middle identification marking information;
The processing module 402 is used for the identification information carried according to the handover information, determining and identification information
Corresponding first mapping relations
Optionally, the handover information is interrupting information, and the receiving module 401 is specifically wrapped for receiving handover information
It includes:
The receiving module 401 is used to receive interrupting information from the external input equipment.
Identification module identification marking information from the handover information specifically includes:
Identification module identification marking information from the interrupting information.
Optionally, the external input equipment include keyboard, mouse, intelligent glasses, Intelligent bracelet, in smartwatch extremely
Few one kind.
Optionally, the external input equipment is the keyboard, and the receiving module 401 connects from the external input equipment
Interrupting information is received to specifically include:
The receiving module 401 is concurrently depressed by least two keys on the keyboard from keyboard reception and is produced
Raw interrupting information.
Optionally, described device further include:
The receiving module 401 obtains the second mapping relations of current-configuration for receiving the second input information;
The processing module 402 is used for according to second mapping relations for being different from first mapping relations, by institute
It states the second input information and is converted to corresponding output information according to second mapping relations.
Optionally, described device further include:
The identification information and second mapping relations that the processing module 402 is used to be carried according to the handover information,
Determine the first mapping relations corresponding with identification information.
Optionally, what the processing module 402 was used to input according to the input equipment first inputs information, by described the
One input information is converted to corresponding output information according to first mapping relations, specifically includes:
The first input information that the processing module 402 is used to be inputted according to the input equipment, described first is inputted
Information is converted to corresponding average information according to preset second mapping relations, by the average information according to first mapping
Relationship is converted to the corresponding output information.
In some embodiments, the present invention also provides a kind of multiport transponders, which is characterized in that the multiport turns
Sending out device includes: multiple input ports, the processing circuit connecting with multiple input ports, the output port connecting with processing circuit;
Wherein, the input port is connected with external input equipment, for receiving by the external input equipment sending
Handover information;
The processing circuit is used to determine that the first mapping corresponding with the handover information is closed according to the handover information
System, according to the first input information of the external input equipment input, by the first input information according to first mapping
Relationship is converted to corresponding output information;
The output port is connected with smart machine, for sending the output information to the smart machine.
In some embodiments, the multiport transponder further includes, the processing circuit include the first processing circuit and
Second processing circuit, one end of first processing circuit connect the input port, and the other end connects at described second
Manage circuit, first processing circuit be used for by from the handover information that the input port receives identification marking believe
Breath;
One end of the second processing circuit connects first processing circuit, and the other end connects the output interface, institute
Second processing circuit is stated for determining corresponding with identification information according to from the received identification information of first processing circuit
The first mapping relations.
In some embodiments, the input equipment includes: keyboard, mouse, intelligent glasses, Intelligent bracelet, smartwatch
At least one of.
In some embodiments, the smart machine includes: smart phone, palm PC, at least one in tablet computer
Kind.
In some embodiments, the handover information that the input port is received from the external input equipment be specially by
Multiple keys on the external input equipment press the information of generation simultaneously.
In some embodiments, the output information of the processing circuit confirmation includes at least analogue-key position, simulation together
When number of keys, at least one of analogue-key number.
Claims (10)
1. a kind of data transfer device, the method is applied to multiport transponder, which is characterized in that the multiport transponder
Including at least two connectivity ports, one of them described connectivity port is for connecting external input equipment, another described connection
Port is for connecting smart machine, which comprises
Receive handover information;
According to the handover information, the first mapping relations corresponding with the handover information are determined;
According to the first input information of the external input equipment input, by the first input information according to first mapping
Relationship is converted to corresponding output information;
Wherein, the output information is for controlling the smart machine being connected with the multiport transponder.
2. data transfer device according to claim 1, which is characterized in that after the reception handover information, the side
Method further include:
The identification marking information from the handover information;
It is described according to the handover information, determine that the first mapping relations corresponding with the handover information specifically include:
According to the identification information that the handover information carries, the first mapping relations corresponding with identification information are determined.
3. data transfer device according to claim 2, which is characterized in that the handover information is interrupting information, described
Handover information is received to specifically include:
Interrupting information is received from the external input equipment;
The identification marking information from the handover information specifically includes:
The identification marking information from the interrupting information;
Wherein, the external input equipment includes keyboard, mouse, intelligent glasses, Intelligent bracelet, at least one in smartwatch
Kind.
4. data transfer device according to claim 3, which is characterized in that the external input equipment is the keyboard,
It is described to be specifically included from the external input equipment reception interrupting information:
The interrupting information for being concurrently depressed by least two keys on the keyboard and being generated is received from the keyboard.
5. data transfer device according to claim 2, which is characterized in that described before the reception handover information
Method further include:
The second input information is received, the second mapping relations of current-configuration are obtained;
According to second mapping relations for being different from first mapping relations, described second information will be inputted according to described the
Two mapping relations are converted to corresponding output information.
6. data transfer device according to claim 5, which is characterized in that the mark carried according to the handover information
Know information, before determining the first mapping relations corresponding with identification information, the method also includes:
The identification information carried according to the handover information and second mapping relations, determine corresponding with identification information first
Mapping relations.
7. data transfer device according to claim 5, which is characterized in that described according to the of input equipment input
The first input information is converted to corresponding output information according to first mapping relations by one input information, specific to wrap
It includes:
According to the first input information of input equipment input, the first input information is closed according to preset second mapping
System is converted to corresponding average information, and the average information is converted to the corresponding output according to first mapping relations
Information.
8. data transfer device according to claim 1, which is characterized in that the output information includes at least one simulation
Key position, simulation while at least one of number of keys, analogue-key number.
9. a kind of multiport transponder, which is characterized in that the multiport transponder includes at least two connectivity ports, wherein one
A connectivity port is for connecting external input equipment, another described connectivity port is for connecting smart machine;
The multiport transponder includes the receiving module being sequentially connected, processing module;Wherein:
The receiving module is for receiving handover information;
The processing module is used to determine the first mapping relations corresponding with the handover information according to the handover information;Root
According to the first input information of input equipment input, the first input information is converted to according to first mapping relations
Corresponding output information;Wherein, the output information is for controlling the smart machine being connected with the multiport transponder.
10. a kind of multiport transponder, which is characterized in that the multiport transponder includes at least two connectivity ports, wherein
One connectivity port is for connecting external input equipment, another described connectivity port is for connecting smart machine;
The multiport transponder includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to perform claim requires data transfer device described in 1-8 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910545153.7A CN110262984A (en) | 2019-06-21 | 2019-06-21 | A kind of data transfer device and multiport transponder |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910545153.7A CN110262984A (en) | 2019-06-21 | 2019-06-21 | A kind of data transfer device and multiport transponder |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110262984A true CN110262984A (en) | 2019-09-20 |
Family
ID=67920429
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910545153.7A Pending CN110262984A (en) | 2019-06-21 | 2019-06-21 | A kind of data transfer device and multiport transponder |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110262984A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110830584A (en) * | 2019-11-13 | 2020-02-21 | 深圳市东微智能科技股份有限公司 | Access control device, control method, court trial host and readable storage medium |
CN117520155A (en) * | 2023-10-30 | 2024-02-06 | 乐麦信息技术(杭州)有限公司 | RPA flow debugging method and device, electronic equipment and storage medium |
-
2019
- 2019-06-21 CN CN201910545153.7A patent/CN110262984A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110830584A (en) * | 2019-11-13 | 2020-02-21 | 深圳市东微智能科技股份有限公司 | Access control device, control method, court trial host and readable storage medium |
CN117520155A (en) * | 2023-10-30 | 2024-02-06 | 乐麦信息技术(杭州)有限公司 | RPA flow debugging method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8577100B2 (en) | Remote input method using fingerprint recognition sensor | |
US11681383B2 (en) | Rendering device and rendering method | |
CN105677049B (en) | Input unit with more mian engine changeovers | |
CN105426082B (en) | A kind of application interface windows switching method and terminal | |
CN103455270A (en) | Video file transmission method and video file transmission system | |
US20100103243A1 (en) | Method and apparatus for transmitting and receiving data using mobile terminal | |
CN110262984A (en) | A kind of data transfer device and multiport transponder | |
CN106201265A (en) | A kind of mobile terminal control method based on WEB, Apparatus and system | |
CN106896920A (en) | Virtual reality system, virtual reality device, virtual reality control device and method | |
TWI771710B (en) | Intellectual host switching system and method | |
CN111124156A (en) | Interaction control method of mobile terminal and mobile terminal | |
CN110413243A (en) | A kind of control method and transponder of smart machine | |
CN103634631B (en) | Icon method for selecting based on remote control touch screen and system | |
CN106406584A (en) | Control method of interactive equipment and instruction response method and device | |
CN109117061A (en) | A kind of input operation processing method, processing unit and intelligent terminal | |
CN109542218B (en) | Mobile terminal, human-computer interaction system and method | |
CN103593137A (en) | Transmission method and system for mobile phone number | |
CN103178876B (en) | A kind of method being connected with electric terminal foundation and electric terminal | |
JP7108514B2 (en) | Communication terminal, display method and program | |
CN112584065B (en) | Courseware display method, system, equipment and storage medium | |
CN108572749A (en) | A kind of terminal control method and system, setting adaptive device and mobile terminal | |
CN110007841A (en) | A kind of control method and electronic equipment | |
CN107066125B (en) | Mouse and display method of mouse graphic object | |
CN112579015B (en) | Courseware display method, system, equipment and storage medium | |
CN112579016B (en) | Annotating method, system, equipment and storage medium for courseware |
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 |