CN110673759A - Rolling control method and device and data processing system - Google Patents
Rolling control method and device and data processing system Download PDFInfo
- Publication number
- CN110673759A CN110673759A CN201910882816.4A CN201910882816A CN110673759A CN 110673759 A CN110673759 A CN 110673759A CN 201910882816 A CN201910882816 A CN 201910882816A CN 110673759 A CN110673759 A CN 110673759A
- Authority
- CN
- China
- Prior art keywords
- level signal
- program
- scroll
- control
- scrolling
- 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
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0485—Scrolling or panning
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a rolling control method and device and a data processing system. The method is applied to a data processing system running in machine equipment, wherein the machine equipment also runs a program editor, and the method comprises the following steps: receiving a first operation of a user, and triggering a level signal corresponding to the first operation; determining a corresponding key value and a corresponding rolling speed value by identifying the level signal; and controlling a scrolling control in a program editing interface of the program editor according to the key value and the scrolling speed value. The invention solves the technical problem of low programming efficiency caused by slow page turning speed of a touch program in the process of programming the program by the robot.
Description
Technical Field
The invention relates to the field of data processing, in particular to a scroll control method and device and a data processing system.
Background
With the development of factory automation technology, more and more industrial robots are used in various industries. The robot hand-held demonstrator is an important interactive tool between a user and a robot, the key function of the demonstrator is that robot teaching and robot running program compiling are carried out, and the number of robot running program lines is generally related to process complexity.
The demonstrator generally adopts a touch screen operation mode, and at present, touch screens are mainly classified into two types: capacitive touch screen and resistive touch screen, capacitive touch screen are comparatively common at present, but present capacitive screen has a great deal of drawback in the industrial control field, and for the use that satisfies the industrial control field and the consideration of practicing thrift the cost, the demonstrator generally adopts the resistive screen as interactive media, but the resistive screen also has a great deal of drawback for the capacitive screen, mainly shows: 1. multi-point touch is not supported; 2. the sensitivity is low; 3. the user experience is poor, and the corresponding operation can be triggered only through external pressure; if the number of lines of the running program of the robot is large, the problem of page turning exists when the program editor displays the program, the mode of touch is troublesome, the resistance screen can not support sliding touch, a scroll bar in the key point is generally needed, up-and-down scrolling operation is carried out in a continuous clicking mode, and the programming efficiency of the robot is greatly influenced.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a rolling control method and device and a data processing system, which at least solve the technical problem of low programming efficiency caused by slow page turning speed of a touch program in the process of programming the program by a robot.
According to an aspect of the embodiments of the present invention, there is provided a data processing system, which is applied to a machine device running with a program editor, where a program editing interface is displayed on the program editor, and the data processing system includes: the information input control is used for receiving a first operation of a user and triggering a level signal corresponding to the first operation; the operating system is connected with the information input control and is used for determining a corresponding key value and a corresponding rolling speed value by identifying the level signal; and the software editing program module is connected with the operating system and the program editor and is used for controlling a scrolling control in the program editing interface according to the key value and the scrolling speed value.
According to another aspect of the embodiments of the present invention, there is provided a method for controlling scrolling, which is applied in a data processing system running in a machine device, where the machine device further runs a program editor, and the method includes: receiving a first operation of a user, and triggering a level signal corresponding to the first operation; determining a corresponding key value and a corresponding rolling speed value by identifying the level signal; and controlling a scrolling control in a program editing interface of the program editor according to the key value and the scrolling speed value.
According to another aspect of the embodiments of the present invention, there is provided a scroll control apparatus, which is applied in a data processing system operating in a machine device, where the machine device further includes a program editor, and the scroll control apparatus includes: the receiving module is used for receiving a first operation of a user and triggering a level signal corresponding to the first operation; the identification module is used for identifying the level signal to determine a corresponding key value and a corresponding rolling speed value; and the control module is used for controlling a scrolling control in a program editing interface of the program editor according to the key value and the scrolling speed value.
According to another aspect of the embodiments of the present invention, there is also provided a storage medium, where the storage medium includes a stored program module, and when the program module runs, the apparatus on which the storage medium is located is controlled to execute any one of the above scroll control methods.
According to another aspect of the embodiments of the present invention, there is also provided a processor, where the processor is configured to execute a program module, where the program module executes any one of the above scroll control methods when running.
In the embodiment of the invention, a mode of binding a demonstrator and a program editor is adopted, and a level signal corresponding to a first operation is triggered by receiving the first operation of a user; determining a corresponding key value and a corresponding rolling speed value by identifying the level signal; according to the key value and the rolling speed value, the rolling control in the program editing interface of the program editor is controlled, and the purposes of controlling the program editor to page up and down and page up and down are achieved by operating the demonstrator, so that the technical effect of improving the programming efficiency of the robot is achieved, and the technical problem of low programming efficiency caused by slow page turning speed of a touch program in the process of programming the program by the robot is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of a scroll control method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an alternative teach pendant according to embodiments of the present invention;
FIG. 3 is a block diagram of a data processing system according to an embodiment of the present invention;
FIG. 4 is a block diagram of a data processing system according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a scroll control apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
In accordance with an embodiment of the present invention, there is provided an embodiment of a scroll control method, it should be noted that the steps illustrated in the flowchart of the accompanying drawings may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be performed in an order different than that presented herein.
Fig. 1 is a flowchart of a scroll control method according to an embodiment of the present invention, as shown in fig. 1, applied in a data processing system operating in a machine device, in which a program editor is also operating, and the method includes the following steps:
step S102, receiving a first operation of a user, and triggering a level signal corresponding to the first operation;
step S104, determining corresponding key values and rolling speed values by identifying the level signals;
and step S106, controlling a scroll control in a program editing interface of the program editor according to the key value and the scroll rate value.
In the embodiment of the invention, a mode of binding a demonstrator and a program editor is adopted, and a level signal corresponding to a first operation is triggered by receiving the first operation of a user; determining a corresponding key value and a corresponding rolling speed value by identifying the level signal; according to the key value and the rolling speed value, the rolling control in the program editing interface of the program editor is controlled, and the purposes of controlling the program editor to page up and down and page up and down are achieved by operating the demonstrator, so that the technical effect of improving the programming efficiency of the robot is achieved, and the technical problem of low programming efficiency caused by slow page turning speed of a touch program in the process of programming the program by the robot is solved.
In an alternative embodiment, the machine device is a robot and the data processing system is a teach pendant.
In the above optional embodiment, the first operation is a touch operation or a click operation. In a case where the information input control is a scroll wheel, the first operation includes: an upward scroll operation, a downward scroll operation; the level signal includes: a first level signal corresponding to the scroll-up operation, and a second level signal corresponding to the scroll-down operation.
In an alternative embodiment, in the case that the information input control is a button, the button includes: an up button and a down button, the first operation comprising: an operation of pressing an up button, an operation of pressing a down button; the level signal includes: a third level signal corresponding to the operation of pressing the up button, and a fourth level signal corresponding to the operation of pressing the up button.
As an optional embodiment, a scroll wheel (similar to a scroll wheel in a mouse, and having an up-and-down scrolling function) may be added to the structure of the demonstrator, and the scroll wheel may be disposed at any position of the demonstrator, so as to facilitate the user to operate.
As shown in fig. 2, an information input control 20 may be added in the upper right hand corner of the teach pendant, for example: the rolling wheel is bound with a rolling strip in the program editor, the up-and-down movement and the rolling speed of the rolling wheel can be directly reflected in the rolling page turning of the page of the program editor, the touch operation of the resistance screen and the rolling wheel are combined in the operation mode, the man-machine interaction is more friendly, and the page rolling efficiency and the efficiency of programming the robot program by an operator are greatly improved.
As another alternative embodiment, the scroll wheel described in the above embodiment may also be in the form of an up-down button, and the user controls the page turning direction of the program editor by pressing the up button and the down button; the user can also control the page turning speed of the program editor by pressing a button for a long time or a button for a short time.
In the embodiment of the present application, the user may trigger two different level signals by controlling the scroll wheel to scroll up and down, for example, a first level signal (high level signal) is triggered by the scroll-up operation, a second level signal (low level signal) is triggered by the scroll-down operation, the first level signal and the second level signal are different level signals, the first level signal may be a low level signal, and the second level signal is a high level signal.
Alternatively, the level signal may be, but is not limited to, obtained by an operating system in the form of IO.
In an optional embodiment, a driver module of the rolling wheel is added at an operating system end of the demonstrator, and the driver module is used for identifying the level signal, and the level signal generated by the rolling wheel through up-down rolling is configured into a key value triggered by up-down keys in a standard keyboard; and the level change frequency is increased due to the change of the rolling speed of the rolling wheel, and is recorded by the driver module and used for determining the rolling speed value of the rolling wheel.
In another optional embodiment, the driver module is called by an application software program module of the demonstrator, a driver file in the driver module is periodically accessed in a manner of polling a timer, a key value and a scrolling rate value of a scrolling wheel in the driver file are read, a control signal is triggered by the data change amount, the control signal establishes a control connection with a scrolling control of a control in a program editor, and controls the up-and-down scrolling of a control page of the program editor and the change of the scrolling rate, that is, the page turning direction and the page turning speed of the program editor.
In an alternative embodiment, determining the corresponding key value and the scroll rate value by recognizing the level signal includes:
step S202, determining a key value corresponding to the first operation by identifying the level signal;
step S204, obtaining a level change frequency by recognizing the level signal, and determining a scroll rate value corresponding to the first operation according to the level change frequency.
In an optional embodiment, a driver module of the rolling wheel is added at an operating system end of the demonstrator, and the driver module is used for identifying the level signal, and the level signal generated by the rolling wheel through up-down rolling is configured into a key value triggered by up-down keys in a standard keyboard; and, since the change of the rolling speed of the rolling wheel will cause the frequency of the level change to increase, the driver module is used for determining the value of the rolling speed of the rolling wheel by recording the frequency of the level change.
In an optional embodiment, controlling a scroll control in a program editing interface of the program editor according to the key value and the scroll rate value includes:
step S302, controlling the up-and-down rolling of the rolling control according to the key value;
step S304, controlling the scroll rate of the scroll control according to the scroll rate value.
In another optional embodiment, the driver module is called by an application software program module of the demonstrator, a driver file in the driver module is periodically accessed in a manner of polling a timer, a key value and a scrolling rate value of a scrolling wheel in the driver file are read, a control signal is triggered by the data change amount, the control signal establishes a control connection with a scrolling control of a control in a program editor, and controls the up-and-down scrolling of a control page of the program editor and the change of the scrolling rate, that is, the page turning direction and the page turning speed of the program editor.
Example 2
According to an embodiment of the present invention, there is further provided an embodiment of a data processing system for implementing the scroll control method, and fig. 3 is a schematic structural diagram of a data processing system according to an embodiment of the present invention, and as shown in fig. 3, the data processing system is applied to a machine device running a program editor, on which a program editing interface is shown, and the data processing system includes:
an information input control 30 for receiving a first operation of a user and triggering a level signal corresponding to the first operation; an operating system 32 connected to the information input control 30 for determining a corresponding key value and a corresponding scroll rate value by recognizing the level signal; a software editing program module 34, connected to the operating system 32 and the program editor 36, for controlling the scrolling control in the program editing interface according to the key value and the scrolling rate value.
In an alternative embodiment, the machine device is a robot and the data processing system is a teach pendant.
In an alternative embodiment, the information input control includes at least one of: a scroll wheel, a button.
In an alternative embodiment, in the case that the information input control is a scroll wheel, the first operation includes: an upward scroll operation, a downward scroll operation; the level signal includes: a first level signal corresponding to the scroll-up operation, and a second level signal corresponding to the scroll-down operation.
In an alternative embodiment, in the case that the information input control is a button, the button includes: an up button and a down button, the first operation comprising: an operation of pressing an up button, an operation of pressing a down button; the level signal includes: a third level signal corresponding to the operation of pressing the up button, and a fourth level signal corresponding to the operation of pressing the up button.
As an alternative embodiment, a scroll wheel (similar to a scroll wheel in a mouse, and having an up-and-down scrolling function) may be added to the structure of the demonstrator, and the scroll wheel may be disposed at any position of the demonstrator, so as to facilitate the user to operate.
In an alternative embodiment, as also shown in FIG. 2, an information input control 20 may be added to the structure of the teach pendant, such as: the rolling wheel is bound with a rolling strip in the program editor, the up-and-down movement and the rolling speed of the rolling wheel can be directly reflected in the rolling page turning of the page of the program editor, the touch operation of the resistance screen and the rolling wheel are combined in the operation mode, the man-machine interaction is more friendly, and the page rolling efficiency and the efficiency of programming the robot program by an operator are greatly improved.
As another alternative, the scroll wheel in the above embodiment may also be in the form of up and down buttons, and the user controls the page turning direction of the program editor by pressing the up button and the down button, and controls the page turning speed of the program editor by pressing the long button or the short button.
In the embodiment of the present application, the user may trigger two different level signals by controlling the scroll wheel to scroll up and down, for example, a first level signal (high level signal) is triggered by the scroll-up operation, a second level signal (low level signal) is triggered by the scroll-down operation, the first level signal and the second level signal are different level signals, the first level signal may be a low level signal, and the second level signal is a high level signal.
Alternatively, the level signal may be, but is not limited to, obtained by an operating system in the form of IO.
In an optional embodiment, a driver module of the rolling wheel is added at an operating system end of the demonstrator, and the driver module is used for identifying the level signal, and the level signal generated by the rolling wheel through up-down rolling is configured into a key value triggered by up-down keys in a standard keyboard; and, since the change of the rolling speed of the rolling wheel will cause the frequency of the level change to increase, the driver module is used for determining the value of the rolling speed of the rolling wheel by recording the frequency of the level change.
In another optional embodiment, the driver module is called by an application software program module of the demonstrator, a driver file in the driver module is periodically accessed in a manner of polling a timer, a key value and a scrolling rate value of a scrolling wheel in the driver file are read, a control signal is triggered by the data change amount, the control signal establishes a control connection with a scrolling control of a control in a program editor, and controls the up-and-down scrolling of a control page of the program editor and the change of the scrolling rate, that is, the page turning direction and the page turning speed of the program editor.
In an alternative embodiment, fig. 4 is a schematic structural diagram of an alternative data processing system according to an embodiment of the present invention, and as shown in fig. 4, the operating system includes: a driver module 40, connected to the information input control, for identifying the level signal and determining a key value corresponding to the first operation; the driver module is further configured to obtain a level change frequency by recognizing the level signal, and determine a scroll rate value corresponding to the first operation according to the level change frequency.
In an optional embodiment, the software editing program module is further connected to the driver module, and is configured to control the scrolling control to scroll up and down according to the key value, and control the scrolling rate of the scrolling control according to the scrolling rate value.
In an alternative embodiment, a driver module of the rolling wheel (information input control) is added at an operating system end of the demonstrator, and the driver module is used for identifying a level signal, and the level signal generated by the rolling wheel through up-down rolling is configured into a key value triggered by up-down keys in a standard keyboard; and, since the change of the rolling speed of the rolling wheel will cause the frequency of the level change to increase, the driver module is used for determining the value of the rolling speed of the rolling wheel by recording the frequency of the level change.
In another optional embodiment, the driver module is called by an application software program module of the demonstrator, a driver file in the driver module is periodically accessed in a manner of polling a timer, a key value and a scrolling rate value of a scrolling wheel in the driver file are read, a control signal is triggered by the data change amount, the control signal establishes a control connection with a scrolling control of a control in a program editor, and controls the up-and-down scrolling of a control page of the program editor and the change of the scrolling rate, that is, the page turning direction and the page turning speed of the program editor.
It should be noted that the specific structure of the data processing system shown in fig. 3 to 4 in this application is only illustrative, and the data processing system in this application may have more or less structure than the data processing system shown in fig. 3 to 4 in a specific application.
It should be noted that any one of the optional or preferred scroll control methods in embodiment 1 above may be implemented or realized in the data processing system provided in this embodiment.
In addition, it should be noted that, for alternative or preferred embodiments of the present embodiment, reference may be made to the relevant description in embodiment 1, and details are not described herein again.
Example 3
According to an embodiment of the present invention, there is further provided an apparatus embodiment for implementing the scroll control method, which is applied in a data processing system running in a machine device, where the machine device also runs a program editor, and fig. 5 is a schematic structural diagram of a scroll control apparatus according to an embodiment of the present invention, as shown in fig. 5, the scroll control apparatus includes: a receiving module 50, an identification module 52, and a control module 54, wherein:
a receiving module 50, configured to receive a first operation of a user and trigger a level signal corresponding to the first operation; an identifying module 52, configured to determine a corresponding key value and a corresponding scroll rate value by identifying the level signal; the control module 54 is configured to control a scrolling control in a program editing interface of the program editor according to the key value and the scrolling rate value.
It should be noted that the above modules may be implemented by software or hardware, for example, for the latter, the following may be implemented: the modules can be located in the same processor; alternatively, the modules may be located in different processors in any combination.
It should be noted that the receiving module 50, the identifying module 52 and the control module 54 correspond to steps S102 to S106 in embodiment 1, and the modules are the same as the corresponding steps in the implementation example and application scenario, but are not limited to the disclosure in embodiment 1. It should be noted that the modules described above may be implemented in a computer terminal as part of an apparatus.
It should be noted that, reference may be made to the relevant description in embodiment 1 for alternative or preferred embodiments of this embodiment, and details are not described here again.
The rolling control device may further include a processor and a memory, the receiving module 50, the identifying module 52, the control module 54, and the like are stored in the memory as program module units, and the processor executes the program module units stored in the memory to implement corresponding functions.
The processor comprises a kernel, and the kernel calls corresponding program module units from the memory, wherein one or more than one kernel can be arranged. The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
According to the embodiment of the application, the embodiment of the storage medium is also provided. Optionally, in this embodiment, the storage medium includes a stored program module, and the device on which the storage medium is located is controlled to execute any one of the scroll control methods when the program module runs.
Optionally, in this embodiment, the storage medium may be located in any one of a group of computer terminals in a computer network, or in any one of a group of mobile terminals, and the storage medium includes a stored program module.
Optionally, the program module, when running, controls an apparatus in which the storage medium is located to perform the following functions: receiving a first operation of a user, and triggering a level signal corresponding to the first operation; determining a corresponding key value and a corresponding rolling speed value by identifying the level signal; and controlling a scrolling control in a program editing interface of the program editor according to the key value and the scrolling speed value.
According to the embodiment of the application, the embodiment of the processor is also provided. Optionally, in this embodiment, the processor is configured to execute a program module, where the program module executes any one of the scroll control methods when running.
The embodiment of the application provides equipment, which comprises a processor, a memory and a program module which is stored on the memory and can run on the processor, wherein the processor executes the program module to realize the following steps: receiving a first operation of a user, and triggering a level signal corresponding to the first operation; determining a corresponding key value and a corresponding rolling speed value by identifying the level signal; and controlling a scrolling control in a program editing interface of the program editor according to the key value and the scrolling speed value.
The present application further provides a computer program module product adapted to perform, when executed on a data processing device, a program module for initializing: receiving a first operation of a user, and triggering a level signal corresponding to the first operation; determining a corresponding key value and a corresponding rolling speed value by identifying the level signal; and controlling a scrolling control in a program editing interface of the program editor according to the key value and the scrolling speed value.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, which can store program module codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.
Claims (13)
1. A data processing system for use in a machine device having a program editor, the program editor having a program editing interface displayed thereon, the data processing system comprising:
the information input control is used for receiving a first operation of a user and triggering a level signal corresponding to the first operation;
the operating system is connected with the information input control and is used for determining a corresponding key value and a corresponding rolling speed value by identifying the level signal;
and the software editing program module is connected with the operating system and the program editor and is used for controlling a scrolling control in the program editing interface according to the key value and the scrolling speed value.
2. The data processing system of claim 1, wherein the operating system comprises:
the driver module is connected with the information input control and used for identifying the level signal and determining a key value corresponding to the first operation;
the driver module is further configured to obtain a level change frequency by recognizing the level signal, and determine a scroll rate value corresponding to the first operation according to the level change frequency.
3. The data processing system of claim 2, wherein the software editor module is further connected to the driver module, and configured to control the scrolling control to scroll up and down according to the key value, and control the scrolling rate of the scrolling control according to the scrolling rate value.
4. The data processing system of claim 1, wherein the information input control comprises at least one of: a scroll wheel, a button.
5. The data processing system of claim 1, wherein, in the case where the information input control is a scroll wheel, the first operation comprises: an upward scroll operation, a downward scroll operation; the level signal includes: a first level signal corresponding to the upward scroll operation, and a second level signal corresponding to the downward scroll operation.
6. The data processing system of claim 1, wherein, in the case where the information input control is a button, the button comprises: an up button and a down button, the first operation including: an operation of pressing an up button, an operation of pressing a down button; the level signal includes: a third level signal corresponding to the operation of pressing the up button, and a fourth level signal corresponding to the operation of pressing the up button.
7. The data processing system of any one of claims 1 to 6, wherein the data processing system is a teach pendant.
8. A scroll control method applied to a data processing system operating in a machine device in which a program editor is also operating, comprising:
receiving a first operation of a user, and triggering a level signal corresponding to the first operation;
determining a corresponding key value and a rolling speed value by recognizing the level signal;
and controlling a scrolling control in a program editing interface of the program editor according to the key value and the scrolling speed value.
9. The method of claim 8, wherein determining the corresponding key value and scroll rate value by identifying the level signal comprises:
determining a key value corresponding to the first operation by recognizing the level signal;
and identifying the level signal to obtain a level change frequency, and determining a rolling speed value corresponding to the first operation according to the level change frequency.
10. The method of claim 9, wherein controlling a scroll control in a program editing interface of the program editor based on the key value and the scroll rate value comprises:
controlling the scroll control to scroll up and down according to the key value;
and controlling the scrolling speed of the scrolling control according to the scrolling speed value.
11. A scroll control apparatus for use in a data processing system operating in a machine device, the machine device further having a program editor operating therein, comprising:
the receiving module is used for receiving a first operation of a user and triggering a level signal corresponding to the first operation;
the identification module is used for identifying the level signal to determine a corresponding key value and a corresponding rolling speed value;
and the control module is used for controlling a scrolling control in a program editing interface of the program editor according to the key value and the scrolling speed value.
12. A storage medium, characterized in that the storage medium comprises a stored program module, wherein the program module, when running, controls a device in which the storage medium is located to execute the scroll control method according to any one of claims 8 to 10.
13. A processor for executing a program module, wherein the program module executes to perform the scroll control method according to any one of claims 8 to 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910882816.4A CN110673759A (en) | 2019-09-18 | 2019-09-18 | Rolling control method and device and data processing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910882816.4A CN110673759A (en) | 2019-09-18 | 2019-09-18 | Rolling control method and device and data processing system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110673759A true CN110673759A (en) | 2020-01-10 |
Family
ID=69076911
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910882816.4A Pending CN110673759A (en) | 2019-09-18 | 2019-09-18 | Rolling control method and device and data processing system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110673759A (en) |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1624640A (en) * | 2003-12-05 | 2005-06-08 | 陞达科技股份有限公司 | Method for controlling scrolling of window screen of electronic device |
CN1940832A (en) * | 2005-09-30 | 2007-04-04 | 鸿富锦精密工业(深圳)有限公司 | Page information processor and process |
CN101382848A (en) * | 2007-09-04 | 2009-03-11 | 达方电子股份有限公司 | Mouse device with window scrolling acceleration function and method thereof |
CN101593047A (en) * | 2008-05-28 | 2009-12-02 | 中兴通讯股份有限公司 | A kind of implementation method of spin |
CN201508687U (en) * | 2009-10-06 | 2010-06-16 | 冯静 | MP3 with page-turning roller wheel |
CN101764604A (en) * | 2009-10-22 | 2010-06-30 | 深圳和而泰智能控制股份有限公司 | Method for achieving touch key function and device thereof |
US20100231536A1 (en) * | 2009-03-16 | 2010-09-16 | Imran Chaudhri | Device, Method, and Graphical User Interface for Moving a Current Position in Content at a Variable Scrubbing Rate |
CN102375662A (en) * | 2010-08-20 | 2012-03-14 | 浪潮乐金数字移动通信有限公司 | Mobile terminal scroll bar controller and control method thereof |
CN102681856A (en) * | 2012-05-31 | 2012-09-19 | 上海发那科机器人有限公司 | System and method used for achieving human-computer interface of robot and based on demonstrator |
CN104090721A (en) * | 2014-06-13 | 2014-10-08 | 小米科技有限责任公司 | Terminal control method and device |
CN205158329U (en) * | 2015-11-02 | 2016-04-13 | 上海聚力传媒技术有限公司 | Terminal |
CN108021322A (en) * | 2016-10-31 | 2018-05-11 | 北京小米移动软件有限公司 | Control the method and touch control terminal that display interface slides |
-
2019
- 2019-09-18 CN CN201910882816.4A patent/CN110673759A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1624640A (en) * | 2003-12-05 | 2005-06-08 | 陞达科技股份有限公司 | Method for controlling scrolling of window screen of electronic device |
CN1940832A (en) * | 2005-09-30 | 2007-04-04 | 鸿富锦精密工业(深圳)有限公司 | Page information processor and process |
CN101382848A (en) * | 2007-09-04 | 2009-03-11 | 达方电子股份有限公司 | Mouse device with window scrolling acceleration function and method thereof |
CN101593047A (en) * | 2008-05-28 | 2009-12-02 | 中兴通讯股份有限公司 | A kind of implementation method of spin |
US20100231536A1 (en) * | 2009-03-16 | 2010-09-16 | Imran Chaudhri | Device, Method, and Graphical User Interface for Moving a Current Position in Content at a Variable Scrubbing Rate |
CN201508687U (en) * | 2009-10-06 | 2010-06-16 | 冯静 | MP3 with page-turning roller wheel |
CN101764604A (en) * | 2009-10-22 | 2010-06-30 | 深圳和而泰智能控制股份有限公司 | Method for achieving touch key function and device thereof |
CN102375662A (en) * | 2010-08-20 | 2012-03-14 | 浪潮乐金数字移动通信有限公司 | Mobile terminal scroll bar controller and control method thereof |
CN102681856A (en) * | 2012-05-31 | 2012-09-19 | 上海发那科机器人有限公司 | System and method used for achieving human-computer interface of robot and based on demonstrator |
CN104090721A (en) * | 2014-06-13 | 2014-10-08 | 小米科技有限责任公司 | Terminal control method and device |
CN205158329U (en) * | 2015-11-02 | 2016-04-13 | 上海聚力传媒技术有限公司 | Terminal |
CN108021322A (en) * | 2016-10-31 | 2018-05-11 | 北京小米移动软件有限公司 | Control the method and touch control terminal that display interface slides |
Non-Patent Citations (1)
Title |
---|
CHAIXR029: "鼠标编码器(滑轮)原理", 《CSDN》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102880401B (en) | A kind of method and mobile terminal simplifying user interface buttons | |
CN103809896B (en) | A kind of page switching method and device | |
CN102375597A (en) | Information processing apparatus, information processing method, and computer program | |
CN105183293A (en) | Display method and terminal equipment | |
CN105511784A (en) | Information input method, device and mobile terminal based on pressure detection | |
CN106959814A (en) | A kind of display methods of dummy keyboard, device and terminal | |
CN103744576A (en) | Method and system for achieving operation interfaces of mobile terminal | |
CN105045516A (en) | Method and terminal for switching working mode | |
CN104063071A (en) | Content input method and device | |
CN105468286A (en) | Mobile terminal-based status bar operating method and mobile terminal thereof | |
CN104965649A (en) | Content display method and device and terminal | |
CN105474112A (en) | Program for editing programs | |
CN105159548A (en) | List interface operating method and electronic terminal | |
CN105653429A (en) | Application program processing method and device | |
CN104267867A (en) | Content input method and device | |
CN104794412A (en) | Information input method and device and mobile terminal | |
CN105183280A (en) | Operation method for list interface and electronic terminal | |
CN105549882A (en) | Time setting method and mobile terminal | |
CN102981771A (en) | Control method and input device of touch screen terminal | |
CN107562262A (en) | A kind of method, terminal and computer-readable recording medium for responding touch control operation | |
CN105204715A (en) | Identifier display method and electronic equipment | |
CN105094671A (en) | Method and device used for editing content of input region | |
CN110673759A (en) | Rolling control method and device and data processing system | |
CN104915138B (en) | Information processing method and electronic equipment | |
CN104615361A (en) | Electronic equipment and response method |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200110 |