CN115033150A - Token identification method and device of multi-point touch screen - Google Patents
Token identification method and device of multi-point touch screen Download PDFInfo
- Publication number
- CN115033150A CN115033150A CN202210634657.8A CN202210634657A CN115033150A CN 115033150 A CN115033150 A CN 115033150A CN 202210634657 A CN202210634657 A CN 202210634657A CN 115033150 A CN115033150 A CN 115033150A
- Authority
- CN
- China
- Prior art keywords
- token
- contact
- touch screen
- information
- distribution
- 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
- 238000000034 method Methods 0.000 title claims abstract description 46
- 238000009826 distribution Methods 0.000 claims abstract description 60
- 238000001514 detection method Methods 0.000 claims description 8
- 238000013479 data entry Methods 0.000 claims description 4
- 241001442234 Cosa Species 0.000 claims description 3
- 239000002609 medium Substances 0.000 description 9
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000005404 monopole Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000012120 mounting media Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
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/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the application discloses a token identification method and a token identification device of a multi-point touch screen; the method comprises the following steps: setting a distribution principle of the contacts on the tokens, and defining token IDs according to a distribution rule of each token; wherein, the number of the contacts is three; the touch screen system enters a token database, the token database comprising: matching information of the distribution rule and the token ID, and matching information of the token ID and the product; when a first token is detected, acquiring contact distribution information of the first token, and identifying a first token ID according to the distribution rule; calling corresponding product information according to the ID of the first token, displaying the product information on a touch screen, and calculating and storing the position information of the first token; each token corresponds to a product, corresponding product information can be played only by placing the corresponding token on the touch screen for identification, the product does not need to be searched on the screen in time, convenience and rapidness are achieved, and manpower and time are saved.
Description
Technical Field
The embodiment of the application relates to the technical field of screen display, in particular to a token identification method and device for a multi-point touch screen.
Background
In order to facilitate the customer or tourist to know the information of a specific physical space (such as exhibition, digital exhibition hall, etc.), a large-screen display mode is adopted. When the product is displayed, for example, in an exhibition, a user needs to control the displayed product through a remote control or a touch screen, and when the user wants to know the information of a certain product, the user correspondingly controls the remote control or the touch screen to open the content playing of the product, and then the picture and the data of the product can be displayed on the display screen. However, when the remote control or the touch screen control is adopted, the corresponding product needs to be searched on the display screen for display, when the products are more, the product needs to be searched by spending too much time, which wastes time and labor, and the operation is not convenient.
Disclosure of Invention
The embodiment of the application provides a token identification method and device for a multi-point touch screen, and aims to solve the problems that when an existing display screen displays a product, excessive time needs to be spent for searching the product, time and labor are wasted, and the operation is not convenient and fast.
In a first aspect, an embodiment of the present application provides a token identification method for a multi-touch screen, where the method includes the following steps:
setting a distribution principle of the contact points on the tokens, and defining token IDs according to a distribution rule of each token; wherein, the number of the contacts is three;
the touch screen system enters a token database, the token database comprising: matching information of the distribution rule and the token ID, and matching information of the token ID and the product;
when a first token is detected, acquiring contact distribution information of the first token, and identifying a first token ID according to the distribution rule;
and calling corresponding product information according to the ID of the first token, displaying the product information on a touch screen, and calculating and storing the position information of the first token.
Further, the setting of the distribution principle of the contacts on the token includes:
defining L2> L1< L3, defining the center of the token to be perpendicular to L1;
defining L1 as the connection line of contact A and contact B, the contact A and the contact B are on one plane, and setting the contact C above the contact A and the contact B; l2 is the connection line of contact a and contact C; l3 is a line connecting contact B and contact C.
Further, the obtaining contact distribution information of the first token and identifying the first token ID according to the distribution rule includes:
acquiring contact distribution information of the first token, and acquiring L1, L2 and L3 according to the distribution information of three contacts;
finding out contacts C and L1 according to L2> L1< L3; rotating the contact C to enable the L1 to be in the horizontal direction, making the contact C be perpendicular to the L1, wherein the point on the left side in the L1 is the contact A, and the point on the right side in the L1 is the contact B;
taking the upper left corner of the touch screen as the origin of a coordinate system, acquiring the coordinates of the touch point A, the touch point B and the touch point C, and calculating the lengths of L1, L2 and L3:
wherein A.x represents the abscissa of contact A and A.y represents the ordinate of contact A; b.x denotes the abscissa of touch point B, B.y denotes the ordinate of touch point B; c.x, C.y, the abscissa of contact C;
according to L1, L2 and L3, matching the first token with a stored token database according to a set fault tolerance rate to obtain the radius of the first token, which is represented by r;
l1, L2, L3 and r as IDs of the first token;
calculating the center of a circle of the first token: firstly, setting a contact A as a coordinate origin (0, 0), wherein L1 is positioned on an x axis; the o.x coordinate at the center of the first token is L1/2, O.y coordinate is:
obtaining the angle of the center line of the contact A by cosA ═ L1/2)/r, obtaining the rotation angle of the first token according to the actual angle of L1, and further obtaining the actual angle of the center line of the contact A; and obtaining the actual coordinate of the center of the first token according to the actual angle and the radius of the circular line of the contact A.
Further, the obtaining the actual coordinates of the center of the circle of the first token according to the actual angle and the radius of the center line of the contact a includes:
according to the actual angle and radius of the center line of the contact A, calculating a circle center line of the contact A, a horizontal line where the circle center is located and a vertical line from the contact A to the horizontal line where the circle center is located to form a first right-angle side L4 and a second right-angle side L5 of a triangle, wherein the first right-angle side L4 is a right-angle side in the vertical direction;
when the contact A is positioned in the left semicircle of the first token, adding L5 to the abscissa of the contact A and adding L4 to the ordinate of the contact A according to the actual coordinates of the contact A to obtain the actual coordinates of the center of the circle of the first token;
when the contact A is positioned in the right semicircle of the first token, L5 is subtracted from the abscissa of the contact A and L4 is subtracted from the ordinate of the contact A according to the actual coordinates of the contact A, so that the actual coordinates of the center of the circle of the first token are obtained.
Further, the calling corresponding product information and displaying the product information on a touch screen according to the first token ID includes:
and simultaneously acquiring the position of the first token on the touch screen according to the ID of the first token, calling corresponding product information based on a preset touch screen area division rule, and displaying the product information on the touch screen.
Further, after the calling corresponding product information and displaying the product information on a touch screen according to the first token ID and calculating and storing the position information of the first token, the method further includes:
when the first token is detected to move, recalculating and storing the position information of the first token;
and when the first token is not detected, sending a token leaving prompt according to the first token ID.
Further, the preset touch screen area division rule includes:
the touch screen comprises a plurality of functional areas, and when the first token is positioned in different functional areas on the touch screen, the touch screen correspondingly displays different product information;
the touch screen comprises a first sub-screen and a second sub-screen, the first sub-screen identifies the token and sends the token ID to the touch screen system, and the touch screen system displays corresponding product information on the second sub-screen.
In a second aspect, an embodiment of the present application further provides a token identification apparatus for a multi-touch screen, including:
the rule setting module is used for setting a distribution principle of the contact points on the tokens and defining token IDs according to the distribution rule of each token; wherein, the number of the contacts is three;
a data entry module for entering a token database at the touch screen system, the token database comprising: matching information of the distribution rule and the token ID, and matching information of the token ID and the product;
the detection acquisition module is used for acquiring contact distribution information of the first token when the first token is detected, and identifying a first token ID according to the distribution rule;
and the detection display module is used for calling corresponding product information according to the ID of the first token, displaying the product information on a touch screen, and calculating and storing the position information of the first token.
In a third aspect, an embodiment of the present application further provides a computer device, including: a memory and one or more processors;
the memory to store one or more programs;
when executed by the one or more processors, the one or more programs cause the one or more processors to implement a method for multi-touch screen token identification as described above.
In a fourth aspect, embodiments of the present application further provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a method for multi-touch screen token identification as described above.
The method comprises the steps of defining token IDs according to distribution rules of tokens by setting a distribution principle of contacts on the tokens; wherein, the number of the contacts is three; the touch screen system enters a token database, the token database comprising: matching information of the distribution rule and the token ID, and matching information of the token ID and the product; when a first token is detected, acquiring contact distribution information of the first token, and identifying a first token ID according to the distribution rule; calling corresponding product information according to the ID of the first token, displaying the product information on a touch screen, and calculating and storing the position information of the first token; each token corresponds to a product, corresponding product information can be played only by placing the corresponding token on the touch screen for identification, the product does not need to be searched on the screen in time, convenience and rapidness are achieved, and manpower and time are saved.
Drawings
Fig. 1 is a flowchart of a token identification method for a multi-touch screen according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of three touch points of a token identification method for a multi-touch screen according to an embodiment of the present disclosure;
3-1, 3-2, 3-3 are schematic diagrams of token contact distribution of a token identification method for a multi-touch screen according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a token identification apparatus for a multi-touch screen according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, specific embodiments of the present application will be described in detail with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some but not all of the matters relating to the present application are shown in the drawings. Before discussing exemplary embodiments in greater detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently, or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
At present, a large-screen display mode is adopted to facilitate a customer or a tourist to know information of a specific physical space (such as an exhibition, a digital exhibition hall, etc.). When the product is displayed, for example, in an exhibition, a user needs to control the displayed product through a remote control or a touch screen, and when the user wants to know the information of a certain product, the user correspondingly controls the remote control or the touch screen to open the content playing of the product, and then the picture and the data of the product can be displayed on the display screen. However, when the remote control or the touch screen control is adopted, the corresponding product needs to be searched on the display screen for display, when the products are more, the product needs to be searched by spending too much time, which wastes time and labor, and the operation is not convenient. Therefore, the token identification method of the multi-point touch screen is established to avoid the problems that when the existing display screen displays products, excessive time is needed to search the products, time and labor are wasted, and the operation is not convenient and fast.
The method for identifying a token of a multi-touch screen provided in an embodiment may be performed by a token identification apparatus of a multi-touch screen, which may be implemented in a software and/or hardware manner and integrated in a token identification device of a multi-touch screen. The token identification device of the multi-touch screen can be a computer or other devices.
Fig. 1 is a flowchart of a token identification method for a multi-touch screen according to an embodiment of the present disclosure. Referring to fig. 1, the method comprises the steps of:
specifically, the setting of the distribution principle of the contacts on the token includes:
defining L2> L1< L3, and defining the center of a circle of the token to be vertical to L1;
defining L1 as the connection line of contact A and contact B, the contact A and the contact B are on one plane, and setting the contact C above the contact A and the contact B; l2 is the connection line of contact a and contact C; l3 is the line connecting contact B and contact C.
specifically, contact distribution information of the first token is obtained, and according to the distribution information of three contacts, L1, L2 and L3 are obtained;
finding out contacts C and L1 according to L2> L1< L3; rotating the contact C to enable the L1 to be in the horizontal direction, making the contact C be perpendicular to the L1, wherein the point on the left side in the L1 is the contact A, and the point on the right side in the L1 is the contact B;
alternatively, if contact C is above L1, after finding contact C, clockwise with contact a as the origin, the angle of L1 is greater than 180 degrees, then the left point is contact a and the right point is contact B, and conversely, if contact C is below L1 with contact a as the origin, clockwise with the angle of L1 greater than 180 degrees, then it is said that the left point is contact B and the right point is contact a.
Taking the upper left corner of the touch screen as the origin of a coordinate system, acquiring the coordinates of the contact point A, the contact point B and the contact point C, and calculating the lengths of L1, L2 and L3:
wherein A.x represents the abscissa of touch point a and A.y represents the ordinate of touch point a; b.x denotes the abscissa of touch point B, B.y denotes the ordinate of touch point B; c.x denotes the abscissa of contact C, C.y denotes the ordinate of contact C;
according to L1, L2 and L3, matching the first token with a stored token database according to a set fault tolerance rate to obtain the radius of the first token, which is represented by r;
l1, L2, L3 and r as the ID of the first token;
calculating the center of a circle of the first token: firstly, setting a contact A as a coordinate origin (0, 0), wherein L1 is positioned on an x axis; the o.x coordinate of the center of the first token is L1/2, the O.y coordinate is:
obtaining the angle of the center line of the contact A by cosA being (L1/2)/r, obtaining the rotation angle of the first token according to the actual angle of L1, and further obtaining the actual angle of the center line of the contact A; and obtaining the actual coordinate of the center of the first token according to the actual angle and the radius of the circular line of the contact A.
Wherein, the obtaining of the actual coordinate of the center of the circle of the first token according to the actual angle and the radius of the center line of the contact A comprises:
referring to fig. 2, according to the actual angle and radius of the center line of the contact a, the horizontal line where the center is located, and the vertical line from the contact a to the horizontal line where the center is located are calculated to form a first right-angle side L4 and a second right-angle side L5 of a triangle, where the first right-angle side L4 is a right-angle side in the vertical direction;
when the contact A is positioned in the left semicircle of the first token, adding L5 to the abscissa of the contact A and adding L4 to the ordinate of the contact A according to the actual coordinates of the contact A to obtain the actual coordinates of the circle center of the first token;
when the contact A is positioned in the right semicircle of the first token, L5 is subtracted from the abscissa of the contact A and L4 is subtracted from the ordinate of the contact A according to the actual coordinates of the contact A, so that the actual coordinates of the center of the circle of the first token are obtained.
Specifically, according to the first token ID, the position of the first token on the touch screen is obtained at the same time, and corresponding product information is called and displayed on the touch screen based on a preset touch screen area division rule.
The touch screen comprises a first sub-screen and a second sub-screen, the first sub-screen identifies the token and sends the token ID to the touch screen system, and the touch screen system displays corresponding product information on the second sub-screen to achieve multi-screen interaction.
In some embodiments, the preset touch screen area division rule includes: the touch screen comprises a plurality of functional areas, and when the first token is located in different functional areas on the touch screen, the touch screen correspondingly displays different product information. Illustratively, when the first token is in the picture display function area on the touch screen, the touch screen correspondingly displays the product picture corresponding to the first token.
In some embodiments, upon detecting movement of the first token, recalculating and storing location information for the first token; and when the first token is not detected, sending a token leaving prompt according to the first token ID.
For example, referring to fig. 3-1, 3-2, and 3-3, 21 different patterns of tokens can be designed on a token with a diameter of 7.7cm, that is, 21 products or labels can be bound, fig. 3-1 shows 10 patterns of tokens, fig. 3-2 shows 9 patterns of tokens, fig. 3-3 shows 2 patterns of tokens, and optionally, within a certain error range, three contact points are identified to realize matching of the tokens.
According to the embodiment of the application, the distances between 3 points are respectively calculated according to different distributions of 3 contacts of the token, so that the ID, the position and the rotation angle of the token on the touch screen can be identified, and the bottom layer identification drive is provided for the visual interaction software on the upper layer. The embodiment of the application can be applied to product identification systems in exhibitions and digital exhibition halls, namely, each token ID corresponds to one product, the token is placed at the bottom of the product, and when the token is placed on a screen, the screen automatically displays information related to the product for interaction; in addition, optionally, the multi-screen interaction can be realized in the embodiment of the application, that is, one screen serves as the identification token of the identification system, and the other screen serves as the display system to display the product information, so that the user experience is enhanced.
On the basis of the foregoing embodiments, fig. 4 is a schematic structural diagram of a token identification device of a multi-touch screen according to an embodiment of the present application. Referring to fig. 4, in the token identification apparatus for a multi-touch screen provided in this embodiment, the token identification apparatus for a multi-touch screen specifically includes: the system comprises a rule setting module 101, a data entry module 102, a detection acquisition module 103 and a detection display module 104.
The rule setting module 101 is configured to set a distribution rule of contacts on the tokens, and define a token ID according to the distribution rule of each token; wherein, the number of the contacts is three;
the data entry module 102 is configured to enter a token database at the touch screen system, the token database comprising: matching information of the distribution rule and the token ID, and matching information of the token ID and the product;
the detection obtaining module 103 is configured to, when a first token is detected, obtain contact distribution information of the first token, and identify a first token ID according to the distribution rule;
the detection display module 104 is configured to invoke corresponding product information according to the first token ID, display the product information on a touch screen, and calculate and store position information of the first token.
Setting a distribution principle of the contacts on the tokens, and defining token IDs according to a distribution rule of each token; wherein, the number of the contacts is three; the touch screen system enters a token database, the token database comprising: matching information of the distribution rule and the token ID, and matching information of the token ID and the product; when a first token is detected, acquiring contact distribution information of the first token, and identifying a first token ID according to the distribution rule; calling corresponding product information according to the first token ID, displaying the product information on a touch screen, and calculating and storing position information of the first token; each token corresponds to a product, corresponding product information can be played only by placing the corresponding token on the touch screen for identification, the product does not need to be searched on the screen in time, convenience and rapidness are achieved, and manpower and time are saved.
The token identification device of the multi-touch screen provided by the embodiment of the application can be used for executing the token identification method of the multi-touch screen provided by the embodiment, and has corresponding functions and beneficial effects.
The embodiment of the application also provides computer equipment which can be integrated with the token identification device of the multi-point touch screen provided by the embodiment of the application. Fig. 5 is a schematic structural diagram of a computer device according to an embodiment of the present application. Referring to fig. 5, the computer apparatus includes: an input device 43, an output device 44, a memory 42, and one or more processors 41; the memory 42 for storing one or more programs; when the one or more programs are executed by the one or more processors 41, the one or more processors 41 are enabled to implement the method for identifying a token of a multi-touch screen as provided in the above embodiments. Wherein the input device 43, the output device 44, the memory 42 and the processor 41 may be connected by a bus or other means, for example, in fig. 5.
The processor 41 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory 41, that is, implements the above-mentioned token identification method of the multi-touch screen.
The computer device provided by the embodiment can be used for executing the token identification method of the multi-point touch screen provided by the embodiment, and has corresponding functions and beneficial effects.
Embodiments of the present application further provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a method for identifying a token of a multi-touch screen, the method for identifying a token of a multi-touch screen comprising: correspondingly adjusting the position of the monopole sleeve antenna by detecting the body type of the detected human body; controlling the pulse microwave source and the computer to be started, and controlling the stepping motor to be started so as to drive the ultrasonic transducer to rotate and carry out omnibearing scanning; controlling the pulse microwave source to emit pulse microwaves to the tested human body through the monopole sleeve antenna; if the ultrasonic transducer detects a thermoacoustic signal generated by thermoacoustic effect, the thermoacoustic signal is converted into an electric signal and sent to a signal amplifier; controlling the signal amplifier to amplify the electric signals and then sending the electric signals to a data acquisition card so as to store the electric signals to the computer; and carrying out image reconstruction processing according to the electric signals through the computer to obtain a thermoacoustic image.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer device memory or random access memory such as DRAM, DDRRAM, SRAM, EDORAM, Lanbus (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer apparatus in which the program is executed, or may be located in a different second computer apparatus connected to the first computer apparatus through a network (such as the internet). The second computer device may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer devices that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium containing the computer-executable instructions provided in the embodiments of the present application is not limited to the method for identifying a token on a multi-touch screen as described above, and may also perform related operations in the method for identifying a token on a multi-touch screen provided in any embodiment of the present application.
The token identification apparatus, the storage medium, and the computer device for a multi-touch screen provided in the foregoing embodiments may execute the token identification method for a multi-touch screen provided in any embodiment of the present application, and refer to the token identification method for a multi-touch screen provided in any embodiment of the present application without detailed technical details described in the foregoing embodiments.
The foregoing is considered as illustrative of the preferred embodiments of the invention and the technical principles employed. The present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the claims.
Claims (10)
1. A token identification method of a multi-touch screen is characterized by comprising the following steps:
setting a distribution principle of the contact points on the tokens, and defining token IDs according to a distribution rule of each token; wherein, the number of the contacts is three;
the touch screen system enters a token database, the token database comprising: matching information of the distribution rule and the token ID, and matching information of the token ID and the product;
when a first token is detected, acquiring contact distribution information of the first token, and identifying a first token ID according to the distribution rule;
and calling corresponding product information according to the ID of the first token, displaying the product information on a touch screen, and calculating and storing the position information of the first token.
2. The method for identifying the token of the multi-touch screen according to claim 1, wherein the setting of the distribution principle of the contacts on the token comprises:
defining L2> L1< L3, and defining the center of a circle of the token to be vertical to L1;
defining L1 as the connection line of contact A and contact B, the contact A and the contact B are on one plane, and setting the contact C above the contact A and the contact B; l2 is the connection between contact a and contact C; l3 is a line connecting contact B and contact C.
3. The method for identifying a token of a multi-touch screen according to claim 2, wherein the obtaining the touch point distribution information of the first token and identifying the first token ID according to the distribution rule comprises:
acquiring contact distribution information of the first token, and acquiring L1, L2 and L3 according to the distribution information of three contacts;
finding out a contact C and a contact L1 according to L2> L1< L3; rotating the contact C to enable the L1 to be in the horizontal direction, making the contact C be perpendicular to the L1, wherein the point on the left side in the L1 is the contact A, and the point on the right side in the L1 is the contact B;
taking the upper left corner of the touch screen as the origin of a coordinate system, acquiring the coordinates of the contact point A, the contact point B and the contact point C, and calculating the lengths of L1, L2 and L3:
wherein A.x represents the abscissa of touch point a and A.y represents the ordinate of touch point a; b.x denotes the abscissa of touch point B, B.y denotes the ordinate of touch point B; c.x denotes the abscissa of contact C, C.y denotes the ordinate of contact C;
according to L1, L2 and L3, matching the first token with a stored token database according to a set fault tolerance rate to obtain the radius of the first token, which is represented by r;
l1, L2, L3 and r as the ID of the first token;
calculating the center of a circle of the first token: firstly, setting a contact A as a coordinate origin (0, 0), wherein L1 is positioned on an x axis; the o.x coordinate at the center of the first token is L1/2, O.y coordinate is:
obtaining the angle of the center line of the contact A by cosA ═ L1/2)/r, obtaining the rotation angle of the first token according to the actual angle of L1, and further obtaining the actual angle of the center line of the contact A; and obtaining the actual coordinate of the center of the first token according to the actual angle and the radius of the circular line of the contact A.
4. The method for identifying the token of the multi-touch screen according to claim 3, wherein obtaining the actual coordinates of the center of the first token according to the actual angle and the radius of the center line of the touch point A comprises:
according to the actual angle and the radius of the center line of the contact A, calculating a circle center line of the contact A, a horizontal line where the circle center is located and a vertical line from the contact A to the horizontal line where the circle center is located to form a first right-angle side L4 and a second right-angle side L5 of a triangle, wherein the first right-angle side L4 is a right-angle side in the vertical direction;
when the contact A is positioned in the left semicircle of the first token, adding L5 to the abscissa of the contact A and adding L4 to the ordinate of the contact A according to the actual coordinates of the contact A to obtain the actual coordinates of the center of the circle of the first token;
when the contact A is positioned in the right semicircle of the first token, L5 is subtracted from the abscissa of the contact A and L4 is subtracted from the ordinate of the contact A according to the actual coordinates of the contact A, so that the actual coordinates of the center of the circle of the first token are obtained.
5. The method for identifying the token of the multi-touch screen according to claim 1, wherein the calling the corresponding product information and displaying the product information on the touch screen according to the first token ID comprises:
and simultaneously acquiring the position of the first token on the touch screen according to the ID of the first token, calling corresponding product information based on a preset touch screen area division rule, and displaying the product information on the touch screen.
6. The method for identifying a token of a multi-touch screen according to claim 1, wherein after retrieving and displaying corresponding product information on the touch screen according to the first token ID and calculating and storing position information of the first token, the method further comprises:
when the first token is detected to move, recalculating and storing the position information of the first token;
and when the first token is not detected, sending a token leaving prompt according to the first token ID.
7. The method for identifying a token of a multi-touch screen according to claim 5, wherein the preset touch screen area division rule comprises:
the touch screen comprises a plurality of functional areas, and when the first token is positioned in different functional areas on the touch screen, the touch screen correspondingly displays different product information;
the touch screen comprises a first sub-screen and a second sub-screen, the first sub-screen identifies the token and sends the token ID to the touch screen system, and the touch screen system displays corresponding product information on the second sub-screen.
8. A token recognition device of a multi-touch screen is characterized by comprising:
the rule setting module is used for setting a distribution principle of the contact points on the tokens and defining token IDs according to the distribution rule of each token; wherein, the number of the contacts is three;
a data entry module for entering a token database at the touch screen system, the token database comprising: matching information of the distribution rule and the token ID, and matching information of the token ID and the product;
the detection acquisition module is used for acquiring contact distribution information of the first token when the first token is detected, and identifying a first token ID according to the distribution rule;
and the detection display module is used for calling corresponding product information according to the ID of the first token, displaying the product information on a touch screen, and calculating and storing the position information of the first token.
9. A computer device, comprising: a memory and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method of multi-touch screen token recognition as recited in any of claims 1-7.
10. A storage medium containing computer-executable instructions for performing a method of token identification for a multi-touch screen as claimed in any one of claims 1 to 7 when executed by a computer processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210634657.8A CN115033150A (en) | 2022-06-07 | 2022-06-07 | Token identification method and device of multi-point touch screen |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210634657.8A CN115033150A (en) | 2022-06-07 | 2022-06-07 | Token identification method and device of multi-point touch screen |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115033150A true CN115033150A (en) | 2022-09-09 |
Family
ID=83122324
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210634657.8A Pending CN115033150A (en) | 2022-06-07 | 2022-06-07 | Token identification method and device of multi-point touch screen |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115033150A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115576451A (en) * | 2022-12-09 | 2023-01-06 | 普赞加信息科技南京有限公司 | Multi-point touch device and system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6411732B1 (en) * | 1994-09-09 | 2002-06-25 | Xerox Corporation | Method for interpreting hand drawn diagrammatic user interface commands |
CN106774991A (en) * | 2017-02-20 | 2017-05-31 | 深圳市华林奇科技有限公司 | The processing method of input data, device and keyboard |
CN107710134A (en) * | 2015-02-02 | 2018-02-16 | 瑟克公司 | The motion of the target shown on display in multi-dimensional environment is controlled using the perpendicular bisector of multi-finger gesture |
CN109407960A (en) * | 2018-11-05 | 2019-03-01 | 北京中海创达科技有限公司 | A kind of Intellisense desktop assembly, cognitive method and sensory perceptual system |
CN112394871A (en) * | 2020-11-30 | 2021-02-23 | 北京麟卓信息科技有限公司 | Method and device for supporting android system multi-point touch by Linux platform |
CN113946261A (en) * | 2021-08-30 | 2022-01-18 | 福建中红信创科技有限公司 | Man-machine interaction display method and system |
-
2022
- 2022-06-07 CN CN202210634657.8A patent/CN115033150A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6411732B1 (en) * | 1994-09-09 | 2002-06-25 | Xerox Corporation | Method for interpreting hand drawn diagrammatic user interface commands |
CN107710134A (en) * | 2015-02-02 | 2018-02-16 | 瑟克公司 | The motion of the target shown on display in multi-dimensional environment is controlled using the perpendicular bisector of multi-finger gesture |
CN106774991A (en) * | 2017-02-20 | 2017-05-31 | 深圳市华林奇科技有限公司 | The processing method of input data, device and keyboard |
CN109407960A (en) * | 2018-11-05 | 2019-03-01 | 北京中海创达科技有限公司 | A kind of Intellisense desktop assembly, cognitive method and sensory perceptual system |
CN112394871A (en) * | 2020-11-30 | 2021-02-23 | 北京麟卓信息科技有限公司 | Method and device for supporting android system multi-point touch by Linux platform |
CN113946261A (en) * | 2021-08-30 | 2022-01-18 | 福建中红信创科技有限公司 | Man-machine interaction display method and system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115576451A (en) * | 2022-12-09 | 2023-01-06 | 普赞加信息科技南京有限公司 | Multi-point touch device and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210035346A1 (en) | Multi-Plane Model Animation Interaction Method, Apparatus And Device For Augmented Reality, And Storage Medium | |
EP4006847A1 (en) | Virtual object processing method and apparatus, and storage medium and electronic device | |
WO2022007451A1 (en) | Target detection method and apparatus, and computer-readable medium and electronic device | |
MX2011000607A (en) | Presenting dynamic grids. | |
US9436274B2 (en) | System to overlay application help on a mobile device | |
WO2019029156A1 (en) | Method and apparatus for navigating indoor target position, electronic device, and medium | |
WO2022007565A1 (en) | Image processing method and apparatus for augmented reality, electronic device and storage medium | |
CN115033150A (en) | Token identification method and device of multi-point touch screen | |
CN110889263A (en) | Document backlog generation method, device, equipment and storage medium | |
US11508152B2 (en) | Methods and systems for evaluating the capacity of a container | |
CN110781263A (en) | House resource information display method and device, electronic equipment and computer storage medium | |
WO2019007372A1 (en) | Model display method and apparatus | |
CN109460073B (en) | Directional display method and device for audio equipment and audio equipment | |
CN104159296A (en) | Location method and device | |
WO2019164830A1 (en) | Apparatus, systems, and methods for tagging building features in a 3d space | |
TW201413564A (en) | System and method for switching desktops | |
KR102512184B1 (en) | System and method for supporting a reading | |
EP3863235B1 (en) | Method and apparatus for processing data | |
CN110825280A (en) | Method, apparatus and computer-readable storage medium for controlling position movement of virtual object | |
US20020080197A1 (en) | Method of providing a display for a graphical user interface | |
CN115115786A (en) | Method, apparatus, device and storage medium for three-dimensional model generation | |
CN115033128A (en) | Electronic whiteboard control method based on image recognition, electronic whiteboard and readable medium | |
CN110033398B (en) | Order processing method, device, equipment and storage medium | |
CN112346678B (en) | Method, device, equipment and storage medium for displaying article information | |
CN111724621A (en) | Vehicle searching system, method, computer readable storage medium and client |
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 |