CN111796149B - Entity key touch vector network analyzer - Google Patents

Entity key touch vector network analyzer Download PDF

Info

Publication number
CN111796149B
CN111796149B CN202010542854.8A CN202010542854A CN111796149B CN 111796149 B CN111796149 B CN 111796149B CN 202010542854 A CN202010542854 A CN 202010542854A CN 111796149 B CN111796149 B CN 111796149B
Authority
CN
China
Prior art keywords
event
key
touch
server
keyboard
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
CN202010542854.8A
Other languages
Chinese (zh)
Other versions
CN111796149A (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.)
Shenzhen Itest Technology Co ltd
Original Assignee
Shenzhen Itest Technology 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 Shenzhen Itest Technology Co ltd filed Critical Shenzhen Itest Technology Co ltd
Priority to CN202010542854.8A priority Critical patent/CN111796149B/en
Publication of CN111796149A publication Critical patent/CN111796149A/en
Application granted granted Critical
Publication of CN111796149B publication Critical patent/CN111796149B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R27/00Arrangements for measuring resistance, reactance, impedance, or electric characteristics derived therefrom
    • G01R27/28Measuring attenuation, gain, phase shift or derived characteristics of electric four pole networks, i.e. two-port networks; Measuring transient response
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0412Digitisers structurally integrated in a display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/04166Details of scanning methods, e.g. sampling time, grouping of sub areas or time sharing with display driving
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/94Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated
    • H03K17/96Touch switches

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a vector network analyzer for touch control of an entity key, which adopts a full-screen touch control screen, wherein a touch control area of the full-screen touch control screen is independently arranged on the right side of the full-screen touch control screen, and the realization of the touch control area triggers a keyboard value response event by sending a keyboard button event to trigger a simulated keyboard API function Keybd_event (), or triggers a non-keyboard value response event of the touch control key by data transmission among a server, a receiving end and a sending end. The invention can realize the touch control of the physical keys of the vector network analyzer, can meet the requirement of realizing a plurality of functions by one button by setting the virtual key value of the sending key, and reduces the burden of the design of a user on an interface; on the basis, the touch key panel can be displayed or hidden as required, so that more humanized design is realized, and meanwhile, the panels with the same size can be more flexibly applicable to different requirements.

Description

Entity key touch vector network analyzer
Technical Field
The invention relates to a vector network analyzer, in particular to a vector network analyzer with physical key touch.
Background
The physical keys are also called physical keys, and the physical keys are keys which are physical and need to be pressed; the panel buttons of a vector network analyzer, for example, are essentially physical keys.
The vector network analyzers on the market are basically all display+physical key areas: because of the limitation of the size of the instrument, the display really for the user to view and edit is smaller, the user is more laborious to observe the change of the graph, and the operation on the graph is inconvenient; because the graphic display area is relatively small, the overall graphic display is relatively small, and because the graphic display is relatively small, the user is careful to observe the trace changes on the graphic, and the user has difficulty dragging marks on the interface. In the prior art, the screen can be enlarged by a remote login mode of a computer, but the operation is inconvenient.
Disclosure of Invention
The invention aims to solve the technical problem of providing a vector network analyzer which can realize a comprehensive screen of the vector network analyzer and realize touch control design by combining a vector network analysis environment.
In this regard, the present invention provides a vector network analyzer for physical key touch, where the vector network analyzer employs a full-screen touch screen, and a touch area of the full-screen touch screen is independently disposed on the right side of the full-screen touch screen, and implementation of the touch area triggers a keyboard value response event of an analog keyboard API function keybd_event () by sending a keyboard button event, or implements a non-keyboard value response event of a touch key by data transmission among a server, a receiving end, and a sending end.
A further improvement of the present invention is that the send keyboard button event triggers any one or more of a virtual key value, a scan code parameter, and an option flag parameter of the send key in the analog keyboard API function keybd_event () procedure.
The invention is further improved in that in the virtual key value of the key, the virtual key value of the carriage return key is vk_return, and the virtual key value of the tab key is vk_tab; the scan code parameter is replaced by 0; in the option flag parameter, if the key down is touched, the option flag is set to 0, and if the key up is touched, the option flag is set to KEYEVENTF _KEYUP.
A further improvement of the present invention is that the analog buttons are implemented by Windows-provided analog keyboard APIs, with different buttons sending different signalsasciiThe code simulates the trigger of any button event on the corresponding keyboard as required.
In the process of realizing non-keyboard value response event of touch keys through data transmission among a server, a receiving end and a transmitting end, the server is used for managing registration events, receiving messages sent by the transmitting end and distributing the messages to all receiving ends registered with the events according to event names contained in the messages; the receiving terminal registers the event with the server terminal firstly, receives the message sent by the server terminal after the registration is completed, and completes the corresponding event processing; the sending end is used for sending the message with the event name.
The invention is further improved in that the server is only responsible for the existence of registered event management and callback functions, after receiving the information of the sender, the information with the event name is distributed to all corresponding receivers through the callback functions, and the server, the receivers and the sender process the event in the same EXE software.
The invention is further improved in that the server is used for realizing registration event management, canceling registration event and message processing, and in the registration event management, the server is used for placing the registration event and callback function sent by the receiving end into a local management queue for storage and management and providing inquiry at any time; in the deregistration event, the server is used for removing the deregistration event and the callback function sent by the receiving end in a local management queue; in the message processing, the server is used for finding a corresponding callback function through the event name from the message sent by the sender, then transmitting the corresponding parameter to the corresponding function of the receiver through the callback function, and the receiver receives the event and then carries out corresponding processing.
The invention further improves that when the server receives a plurality of messages of the sending end at the same time, queuing management processing is realized through the local cache.
The invention is further improved in that when a hidden instruction is received by the touch button panel in the touch area, the height or width of a control of the touch button is set to be 0; and when a recovery instruction is received, setting the control height or width of the touch control button as an actual value.
The invention is further improved in that when a hidden command is received, a touch key panel in the touch area sets visibility=collapsed in a simulated keyboard API function Keybd_event (); upon receiving the restoration instruction, visibility=visible is set in the analog keyboard API function keybd_event ().
Compared with the prior art, the invention has the beneficial effects that: the physical key touch control of the vector network analyzer can be realized, the requirement of realizing a plurality of functions by one button can be met by setting the virtual key value of the sending key, and the burden of the design of a user on an interface is reduced; on this basis, touch key panel can show or hide as required, has realized more humanized design, and the operation and the use of convenience of customers also can make the panel of same size more nimble be applicable to different demands when also being convenient for operate.
Drawings
FIG. 1 is a schematic diagram of a full-screen touch screen according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a messaging mechanism according to one embodiment of the invention;
fig. 3 is a schematic view illustrating a hidden structure of a touch key panel according to an embodiment of the invention.
Detailed Description
Preferred embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
As shown in fig. 1, this example provides a vector network analyzer with physical key touch, where the vector network analyzer adopts a full-screen touch screen, and a touch area of the full-screen touch screen is independently disposed on the right side of the full-screen touch screen, and the implementation of the touch area triggers a keyboard value response event of an analog keyboard API function keybd_event () by sending a keyboard button event, or implements a non-keyboard value response event of a touch key by data transmission among a server, a receiving end and a sending end. The non-keyboard value response event of the touch key is realized through data transmission among the server, the receiving end and the transmitting end, which is a technical difficulty of realizing touch control of the vector network analyzer and is one of key technologies which are not realized by the existing vector network analyzer.
The method and the device provide the concept of a comprehensive screen of the vector network analyzer, ensure that software required to be displayed by a user is displayed to the maximum extent on the panels with the same size. After the panel is full-screen, the user can select the key layout by himself, so that the user experience is more personalized and enriched.
After the vector network analyzer is full-screen, the physical key area is replaced by the touch key arranged on the right side of the full-screen touch screen, so that the display area of the screen is greatly improved. As shown in fig. 1, after the display area of the screen increases, the software area displayed on the screen in this example correspondingly increases. The touch key area and other areas of the software are relatively independent, the operations are not affected, and the touch of the entity key is realized, which is mainly the interaction of a large number of messages among a plurality of different modules, and the method is divided into the following 2 cases: firstly, a keyboard value response event of a touch key needs to be met; the non-keyboard value response event of the second touch control key is mainly data transmission among modules, which is two difficulties for realizing full-screen of the vector network analyzer, and the virtual key is not simply added for the application environment of the vector network analyzer.
For the first case, the process of sending the keyboard button event to trigger the simulated keyboard API function Keybd_event () includes sending any one or more of a virtual key value, a scan code parameter and an option flag parameter of the key. Windows provides a simulated keyboard API function, keybd_event (), with which keyboard actions can be masked accordingly. The keybd_event () function can trigger a key event, that is, a wm_keydown or wm_keyup message will be generated.
The following parameters are included in the analog keyboard API function keybd_event (): the method comprises the steps of a virtual key value of a key, a scanning code parameter, an option mark parameter and the like, wherein in the virtual key value of the key, the virtual key value of a carriage return key is vk_return, the virtual key value of a tab key is vk_tab, and common cases can be set and correspond through a key value comparison table of the virtual key value; the scan code parameter is replaced by 0; in the option mark parameters, if the key down is touched, the option mark is set to be 0, and if the key up is touched, the option mark is set to be KEYEVENTF _KEYUP; other parameters are typically set to 0.
In this example, the simulation button is implemented through the simulation keyboard API provided by Windows, and different buttons send different signalsasciiThe code simulates the trigger of any button event on the corresponding keyboard as required.
For the 2 nd case, the interaction between the controls of the current interface design is generally realized through delegation, but the interaction between multiple controls cannot be completed in the face of more complex interaction on the vector network analyzer. For the complex situation, the embodiment builds a service end for processing the message, and the receiving end and the sending end are uncertain and can be declared to be used at any place according to the principle of declaring who receives the message, as shown in fig. 2.
In the case of realizing the non-keyboard value response event of the touch key through the data transmission among the server, the receiving end and the transmitting end, the server is used for managing the registration event, receiving the message sent by the transmitting end and distributing the message to all the receiving ends registered with the event according to the event name contained in the sent message; the receiving terminal registers the event with the server terminal firstly, receives the message sent by the server terminal after the registration is completed, and completes the corresponding event processing; the sending end is used for sending the message with the event name.
It should be noted that, in this example, the server is only responsible for having registered event management and callback functions, after receiving the message from the sender, the message with the event name is distributed to all corresponding receivers through callback functions, and the server, the receivers and the sender process the event in the same EXE software, so that network communication is not involved, and the server in this example is different from the database server in the prior art, which is designed based on the special application scenario of the vector network analyzer, and the person skilled in the art will not adopt such a way in the conventional working process.
The server side is used for realizing registration event management (Register), un-registration event (UnRegister) and message processing (SendMessage), and in the registration event management (Register), the server side is used for placing the registration event and callback function sent by the receiving end into a local management queue for storage and management and providing inquiry at any time; in the unregistering event (un register), the server is configured to remove the unregistering event and the callback function sent by the receiving end in a local management queue; in the message processing (SendMessage), the server is configured to find a corresponding callback function according to the event name from the message sent by the sender, then transfer the corresponding parameter to the corresponding function of the receiver through the callback function, and the receiver performs corresponding processing after receiving the event. When the server side receives a plurality of messages of the sending side at the same time, queuing management processing is realized through a local cache.
Finally, the previous physical buttons can be designed into relatively independent controls according to actual needs, and the control buttons can be called out for display when a user needs to operate and are used for operation by the user; the touch key area may be hidden when no input is required, as shown in fig. 3.
As shown in fig. 3, the fixed physical button on the upper side of the traditional network vector analyzer panel is designed into a control on the upper side of the software to realize, all the needed touch buttons are placed on the control, and the control is hidden when not needed to be operated, so that the control is realized by the following two schemes:
firstly, setting the height or width of a control of a touch button to be 0 when a hiding instruction is received by a touch button panel in the touch area; and when a recovery instruction is received, setting the control height or width of the touch control button as an actual value.
Secondly, when a hiding instruction is received, setting visibility=condensed in a simulation keyboard API function Keybd_event (); upon receiving the restoration instruction, visibility=visible is set in the analog keyboard API function keybd_event ().
Therefore, the graphic operation area can be displayed to the user to the greatest extent possible, and the user can observe the data change on the graphic more easily; the operation on the screen is easier and more convenient than the operation on the previous screen. After the touch button panel is designed into a control which can be hidden, other functions required by a user can be designed on the panel, and the user can freely switch the display according to the needs, so that the operation of the user is greatly facilitated, and meanwhile, the experience value of the user is also improved.
In summary, the physical key touch control of the vector network analyzer can be realized, the requirement of realizing a plurality of functions by one button can be met by setting the virtual key value of the sending key, and the burden of the user on the design on the interface is reduced; on this basis, touch key panel can show or hide as required, has realized more humanized design, and the operation and the use of convenience of customers also can make the panel of same size more nimble be applicable to different demands when also being convenient for operate.
The foregoing is a further detailed description of the invention in connection with the preferred embodiments, and it is not intended that the invention be limited to the specific embodiments described. It will be apparent to those skilled in the art that several simple deductions or substitutions may be made without departing from the spirit of the invention, and these should be considered to be within the scope of the invention.

Claims (9)

1. A vector network analyzer of entity key touch control is characterized in that the vector network analyzer adopts a full-screen touch control screen, a touch control area of the full-screen touch control screen is independently arranged on the right side of the full-screen touch control screen, the realization of the touch control area triggers a keyboard value response event by sending a keyboard button event to trigger a simulated keyboard API function Keybd_event (), or realizes a non-keyboard value response event of a touch control key through data transmission among a server side, a receiving side and a sending side,
in the process of realizing non-keyboard value response events of touch keys through data transmission among a server, a receiving end and a transmitting end, the server is used for managing registration events, receiving messages sent by the transmitting end and distributing the messages to all receiving ends registered with the events according to event names contained in the sent messages; the receiving terminal registers the event with the server terminal firstly, receives the message sent by the server terminal after the registration is completed, and completes the corresponding event processing; the sender is used for sending a message with an event name,
the server, the receiver and the sender process events in the same EXE software.
2. The physical key touch vector network analyzer of claim 1, wherein sending a keyboard button event triggers a simulated keyboard API function keybd_event () procedure comprising sending any one or more of a virtual key value, a scan code parameter, and an option flag parameter of a key.
3. The physical key touch vector network analyzer according to claim 2, wherein, among the virtual key values of the keys, the virtual key value of the enter key is vk_return and the virtual key value of the tab key is vk_tab; the scan code parameter is replaced by 0; in the option flag parameter, if the key down is touched, the option flag is set to 0, and if the key up is touched, the option flag is set to KEYEVENTF _KEYUP.
4. The physical key touch vector network analyzer of claim 2 wherein the analog buttons are implemented through an analog keyboard API provided by Windows, different buttons send different ascii codes, and the triggering of any button event on the corresponding keyboard is simulated as needed.
5. The entity-key touch vector network analyzer according to any one of claims 1 to 4, wherein the server is only responsible for having registered event management and callback functions, and after receiving the message from the sender, the server distributes the message with the event name to all corresponding receivers through the callback functions, and the server, the receivers and the sender process the event in the same EXE software.
6. The entity key touch vector network analyzer according to any one of claims 1 to 4, wherein the server is configured to implement registration event management, cancel registration events, and message processing, where in the registration event management, the server is configured to place a registration event and a callback function sent by the receiving end into a local management queue, store and manage the registration event and the callback function, and provide a query at any time; in the deregistration event, the server is used for removing the deregistration event and the callback function sent by the receiving end in a local management queue; in the message processing, the server is used for finding a corresponding callback function through the event name from the message sent by the sender, then transmitting the corresponding parameter to the corresponding function of the receiver through the callback function, and the receiver receives the event and then carries out corresponding processing.
7. The entity-key-touch-control vector network analyzer according to claim 6, wherein when the server side receives a plurality of messages from the sender side at the same time, queuing management processing is implemented through a local cache.
8. The physical key touch vector network analyzer according to any one of claims 1 to 4, wherein a touch key panel in the touch area sets a control height or width of the touch key to 0 when receiving a hiding instruction; and when a recovery instruction is received, setting the control height or width of the touch control button as an actual value.
9. The vector network analyzer of any one of claims 1 to 4, wherein when a hidden command is received by a touch key panel in the touch area, a visibility=collapsed is set in a simulated keyboard API function keybd_event (); upon receiving the restoration instruction, visibility=visible is set in the analog keyboard API function keybd_event ().
CN202010542854.8A 2020-06-15 2020-06-15 Entity key touch vector network analyzer Active CN111796149B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010542854.8A CN111796149B (en) 2020-06-15 2020-06-15 Entity key touch vector network analyzer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010542854.8A CN111796149B (en) 2020-06-15 2020-06-15 Entity key touch vector network analyzer

Publications (2)

Publication Number Publication Date
CN111796149A CN111796149A (en) 2020-10-20
CN111796149B true CN111796149B (en) 2023-05-09

Family

ID=72804389

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010542854.8A Active CN111796149B (en) 2020-06-15 2020-06-15 Entity key touch vector network analyzer

Country Status (1)

Country Link
CN (1) CN111796149B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104506907A (en) * 2014-11-25 2015-04-08 上海众应信息科技有限公司 A method and a system for interactive operation between a controlling end and multiple remote controlled terminals

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102402373B (en) * 2010-09-15 2014-12-10 ***通信有限公司 Method and device for controlling touch keyboard in mobile terminal
CN102243572A (en) * 2011-07-20 2011-11-16 浙江大学 Method for realizing full-screen keyboard of mobile Internet equipment
CN103176789B (en) * 2011-12-26 2017-08-01 腾讯科技(深圳)有限公司 A kind of method and system for realizing open platform Function Extension
US10534517B2 (en) * 2014-04-25 2020-01-14 Rohde & Schwarz Gmbh & Co. Kg Measuring device and method for operating a measuring device using transparent display content
CN103927218B (en) * 2014-04-30 2017-07-04 广州唯品会网络技术有限公司 Event distributing method and system
CN104571915B (en) * 2014-12-29 2018-11-27 科大讯飞股份有限公司 The control method and device of touch keyboard in touch screen terminal
CN105357333B (en) * 2015-11-21 2019-01-15 浙江宇视科技有限公司 A kind of national standard codes registrar and video monitoring system
CN106293461B (en) * 2016-08-04 2018-02-27 腾讯科技(深圳)有限公司 Button processing method and terminal and server in a kind of interactive application
CN106850829B (en) * 2017-02-28 2019-11-22 苏州星熙数据科技有限公司 A kind of micro services design method based on non-blocking communication
CN106959814A (en) * 2017-03-27 2017-07-18 联想(北京)有限公司 A kind of display methods of dummy keyboard, device and terminal
KR102426704B1 (en) * 2017-08-28 2022-07-29 삼성전자주식회사 Method for operating speech recognition service and electronic device supporting the same
WO2019047183A1 (en) * 2017-09-08 2019-03-14 广东欧珀移动通信有限公司 Key display method, apparatus, and terminal
CN107484144A (en) * 2017-09-28 2017-12-15 努比亚技术有限公司 A kind of information acquisition method, terminal, server and computer-readable storage medium
CN109981538A (en) * 2017-12-28 2019-07-05 深圳市优必选科技有限公司 The register method and system of subscription event, the processing method and system for subscribing to event

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104506907A (en) * 2014-11-25 2015-04-08 上海众应信息科技有限公司 A method and a system for interactive operation between a controlling end and multiple remote controlled terminals

Also Published As

Publication number Publication date
CN111796149A (en) 2020-10-20

Similar Documents

Publication Publication Date Title
US5694562A (en) Closely integrated key icons in a graphical interface
US20020065881A1 (en) Wireless family bulletin board
WO1991008540A1 (en) Terminal of reserving system and method of operating terminal computer thereof
JP2014071616A (en) Message display system, control method, and program
CN111580912A (en) Display method and storage medium for multi-level structure resource group
CN111796149B (en) Entity key touch vector network analyzer
CN114415847A (en) Text information deleting method and device and electronic equipment
US20100227649A1 (en) Communication reward
EP0895153A1 (en) Data input device and method
CN113434226A (en) Communication method, communication device, electronic equipment and readable storage medium
JPH01232412A (en) Help system
CN110531881A (en) The centralized kvm system of mouse calling OSD menu
CN113220135B (en) Touch event-based adaptive keyboard mapping method and device
JP6090689B2 (en) Display device and program
KR101861128B1 (en) Appatus and mathod providing text message based on touch input
CN113810263A (en) Display method of session list, instant message server and electronic equipment
RU153306U1 (en) INFORMATION TERMINAL
CN114124931B (en) File sending method and device, electronic equipment and medium
JPS60147827A (en) Information input device
WO2004051532A1 (en) A data processing system
AU2002214813A1 (en) Device interface
JP2778061B2 (en) Multiple channel connection control method
JP3182750B2 (en) Line reservation system for multipoint video conference
JP3031075U (en) mouse
CN106648145A (en) Input control method and apparatus, and related device

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