A touch screen address mapping method, system, storage medium and electronic device

By utilizing the PLC system for automated address mapping and real-time status monitoring in touchscreen address mapping, the problem of errors caused by human operation mistakes is solved, and the stability and reliability of the system are improved.

CN122387339APending Publication Date: 2026-07-14SHANGHAI HAOFENG MEDICAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHANGHAI HAOFENG MEDICAL TECH CO LTD
Filing Date
2026-05-21
Publication Date
2026-07-14

AI Technical Summary

Technical Problem

In existing technologies, touch screen address mapping is prone to errors due to human error, which can affect project progress and may cause equipment monitoring failures and data transmission anomalies.

Method used

By identifying the first address parameter of the interactive area, a mapping program is established using the PLC system, address offset parameters are configured, address mapping is performed automatically, and working status information is monitored in real time to avoid errors. The status is displayed using text, images, or audio-visual data.

Benefits of technology

It effectively reduces the time spent troubleshooting and correcting address matching issues, lowers the probability of device monitoring failures and data transmission anomalies, and improves the stability and reliability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122387339A_ABST
    Figure CN122387339A_ABST
Patent Text Reader

Abstract

The application discloses a touch screen address mapping method and system, a storage medium and electronic equipment, and comprises the following steps: identifying a first address parameter of an interactive area; wherein the interactive area comprises a key area and a display area of a touch screen interface; determining a second address parameter corresponding to the first address parameter according to a preset mapping rule; acquiring working state information in real time according to the second address parameter; sending the working state information back to the interactive area for output display; automatically performing offset addressing based on the preset mapping rule, and displaying the working state information corresponding to the second address parameter after mapping in real time, so as to avoid address association errors caused by human operation errors, effectively reduce the troubleshooting and correction time caused by address matching problems, reduce the probability of serious consequences such as equipment monitoring failure and data transmission anomaly, and improve the stability and reliability of system operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer addressing technology, and in particular to a method, system, storage medium, and electronic device for mapping touch screen addresses. Background Technology

[0002] In touchscreen association, it is usually necessary to associate each address one by one. If the project uses a lot of input / output points, it will take a long time to associate the addresses.

[0003] The current method involves manually associating addresses. During this process, due to the large number of input / output points to handle, human error can easily lead to incorrect address mappings, such as address number confusion or reversed correspondences. Once an address mapping error occurs, not only does it require additional time to troubleshoot and correct, affecting the overall project schedule, but it can also lead to serious consequences in practical applications, such as equipment monitoring failures and abnormal data transmission. Summary of the Invention

[0004] The purpose of this invention is to address the shortcomings of existing technologies by proposing a method, system, storage medium, and electronic device for mapping touchscreen addresses.

[0005] To achieve the above objectives, the present invention adopts the following technical solution: a touchscreen address mapping method, comprising: Identify the first address parameter of the interactive area; wherein, the interactive area includes the button area and the display area of ​​the touch screen interface; According to the preset mapping rules, determine the second address parameter corresponding to the first address parameter; The working status information is obtained in real time based on the second address parameter; The working status information is sent back to the interactive area for output display.

[0006] As a further description of the above technical solution: the preset mapping rules include: A mapping program is established through a PLC system, wherein the mapping program is configured with multiple input ports and output ports corresponding to the input ports; Configure at least one address offset parameter for the mapping program to determine the mapping rules between the input port and the output port.

[0007] As a further description of the above technical solution: multiple input ports simultaneously map multiple first address parameters.

[0008] As a further description of the above technical solution: determining the second address parameter corresponding to the first address parameter includes: Based on the first address parameter, obtain the storage area value corresponding to the first address parameter; Determine whether the value of the storage area is 1. If it is, perform mapping association to obtain the second address parameter. If not, stop mapping and retrieve the first address parameter again.

[0009] As a further description of the above technical solution: the working status information includes signal on / off status and data transmission status.

[0010] As a further description of the above technical solution: the working status information output and display methods include text data, image data, or audio-visual data.

[0011] As a further description of the above technical solution: the second address parameter is named through the interaction area.

[0012] It also includes a touchscreen address mapping system, comprising: The acquisition module identifies the first address parameter of the interactive area; wherein, the interactive area includes the button area and the display area of ​​the touch screen interface; The mapping and association module determines the second address parameter corresponding to the first address parameter according to a preset mapping rule; The working status information is obtained in real time based on the second address parameter; The display module sends the working status information back to the interactive area for output display.

[0013] It also includes a computer-readable storage medium storing a computer program for running the mapping method, wherein the computer program causes a computer to perform the mapping method as described in any of the above technical solutions.

[0014] It also includes an electronic device, comprising: One or more processors; memory; and One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the programs being used to perform the mapping method as described in any of the above technical solutions.

[0015] The above technical solution has the following advantages or beneficial effects: By identifying the first address parameter of the interactive area, the system automatically performs offset addressing based on preset mapping rules and displays the working status information corresponding to the second address parameter after mapping in real time. This avoids address association errors caused by human operation mistakes. By monitoring the working status information in real time, the system effectively reduces the troubleshooting and correction time caused by address matching problems, lowers the probability of serious consequences such as equipment monitoring failure and data transmission anomalies, and improves the stability and reliability of system operation. Attached Figure Description

[0016] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0017] Figure 1 This is a flowchart of the mapping method proposed in this invention; Figure 2 This is a flowchart of the preset mapping rules in this invention; Figure 3 This is a top view of the mapping system proposed in this invention; Figure 4 This is a schematic diagram of the touchscreen interaction area in this invention; Figure 5 This is a schematic diagram illustrating the naming process in this invention; Figure 6 This is a schematic diagram of the mapping procedure in this invention. Detailed Implementation

[0018] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0019] Reference Figure 1 One embodiment of the present invention provides a method for mapping touchscreen addresses, comprising: S1. Identify the first address parameter of the interactive area; wherein, the interactive area includes the button area and the display area of ​​the touch screen interface; S2. Determine the second address parameter corresponding to the first address parameter according to the preset mapping rules; S3. Real-time monitoring and acquisition of working status information based on the second address parameter; S4. Send the working status information back to the interactive area for output display.

[0020] In this embodiment, a first address parameter corresponding to the interactive area on the touchscreen is identified and obtained. The first address parameter is a virtual address, and the interactive area includes a button area and a display area (see reference). Figure 4 The button area features several button graphics for configuring addresses that need to be mapped. The display area shows operating status information, input / output values, and indicator lights. The system takes the first input address parameter, performs address offset according to preset mapping rules, and outputs the corresponding second address parameter, which is the physical address. After mapping, the PLC system directly reads the actual input / output physical addresses and monitors the operating status in real time, obtaining operating status information and sending it back to the touchscreen for display. This avoids address association errors caused by human error. By monitoring operating status information in real time, it effectively reduces the troubleshooting and correction time caused by address matching problems, lowers the probability of serious consequences such as equipment monitoring failure and data transmission anomalies, and improves the stability and reliability of system operation.

[0021] Reference Figure 2 The preset mapping rules include: S21. Establish a mapping program through the PLC system. The mapping program has multiple input ports and corresponding output ports. S22. Configure at least one address offset parameter for the mapping program to determine the mapping rules between the input port and the output port.

[0022] In this embodiment, a mapping program for address mapping is established through the PLC system (see reference). Figure 6 This is used to uniformly process the address correspondence between the touch screen and the PLC system. Multiple input ports are set to receive the first address parameters of the interactive area, at least one address offset parameter is configured for the mapping program, the offset is determined, and the mapped second address parameters are output through the corresponding output ports to realize the automatic association between the virtual address of the touch screen and the physical address of the PLC system.

[0023] The address offset parameter can be one or more. Depending on the actual interaction area, different address offset parameters can be configured when associating with button areas, display areas, or other functional areas, resulting in better adaptability.

[0024] Multiple input ports can simultaneously map multiple first address parameters.

[0025] In this embodiment, multiple input ports can simultaneously receive the first address parameters of multiple interactive regions and simultaneously complete the mapping and conversion of multiple addresses, thereby realizing parallel batch mapping of multiple addresses and improving address mapping efficiency and synchronization.

[0026] Determining the second address parameter corresponding to the first address parameter includes: Based on the first address parameter, obtain the storage area value corresponding to the first address parameter; Determine if the value in the storage area is 1. If it is, perform a mapping association to obtain the second address parameter. If not, stop mapping and reacquire the first address parameter.

[0027] In this embodiment, based on the first address parameter, the storage area corresponding to the first address parameter is obtained, and the value in the storage area is read to determine whether mapping is allowed. It is determined whether the storage area value is 1. When the storage area value = 1, the first address parameter is automatically converted into the second address parameter according to the preset mapping rules. When the storage area value ≠ 1, the current mapping process is stopped, and the first address parameter is collected again to achieve accurate mapping of valid addresses and automatic filtering of invalid addresses.

[0028] Operating status information includes signal on / off status and data transmission status. The operating status information can be displayed as text, image, or audio-visual data.

[0029] In this embodiment, the working status of the second address parameter after offset mapping is monitored in real time, including but not limited to signal on / off, data transmission status, etc., and the working status information is displayed on the touch screen interface in an intuitive way, such as by using different colors, icons or text prompts to distinguish whether there is input or output, so that the operator can quickly grasp the overall operation status.

[0030] Reference Figure 5 The second address parameter is named through the interactive area.

[0031] In this embodiment, after offsetting, the second address parameter is named through the interactive area, and each physical address after offset mapping is given a meaningful name. The name corresponds to the equipment, process link or functional module in the industrial site, which makes it convenient for operators to quickly identify and understand the specific object corresponding to each address, thereby improving the accuracy and efficiency of monitoring.

[0032] In a specific embodiment, the drop-down interactive area of ​​the touch screen is identified, and the first address parameter D10 is obtained. When the corresponding second address parameter x0-x7 is selected according to the address offset parameter, and the value of the D10 storage area is 1, the PLC system executes the x0-x7 state mapping instruction to obtain the corresponding working state information. The x0 state is associated with D10.0, and the x7 state is associated with D10.7. Thus, the touch screen display area presents the x0-x7 state.

[0033] Reference Figure 3It also includes a touchscreen address mapping system, comprising: Acquisition module 1 identifies the first address parameter of the interactive area; wherein, the interactive area includes the button area and display area of ​​the touch screen interface; The mapping and association module 2 determines the second address parameter corresponding to the first address parameter according to the preset mapping rules; and monitors and obtains working status information in real time based on the second address parameter. Display module 3 sends the working status information back to the interactive area for output display.

[0034] In this embodiment, the acquisition module 1 identifies and obtains the first address parameter of the interactive area, and sends the first address parameter to the mapping and association module 2. The mapping and association module 2 maps multiple first address parameters simultaneously through the input port according to the preset mapping rules to obtain the corresponding second address parameter, and monitors and obtains the working status information in real time based on the second address parameter, and sends it to the display module 3. The display module 3 configures different output display methods, such as text data, image data or audio-visual data, and sends them back to the interactive area for output display.

[0035] It also includes a computer-readable storage medium storing a computer program for running the mapping method, wherein the computer program causes the computer to perform the following steps: S1. Identify the first address parameter of the interactive area; wherein, the interactive area includes the button area and the display area of ​​the touch screen interface; S2. Determine the second address parameter corresponding to the first address parameter according to the preset mapping rules; S3. Real-time monitoring and acquisition of working status information based on the second address parameter; S4. Send the working status information back to the interactive area for output display.

[0036] The computer-readable storage medium can be a computer storage medium or a communication medium. A communication medium includes any medium that facilitates the transfer of a computer program from one location to another. A computer storage medium can be any available medium accessible to a general-purpose or special-purpose computer. For example, a computer-readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the computer-readable storage medium. Of course, the computer-readable storage medium can also be a component of the processor. The processor and the computer-readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the ASIC can reside in a user equipment. Of course, the processor and the computer-readable storage medium can also exist as discrete components in a communication device.

[0037] Specifically, the computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random-Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The storage medium can be any available medium accessible to general-purpose or special-purpose computers.

[0038] It also includes an electronic device, comprising: One or more processors; memory; and One or more programs, wherein the programs are stored in memory and configured to be executed by one or more processors, the programs being used to perform the following steps: S1. Identify the first address parameter of the interactive area; wherein, the interactive area includes the button area and the display area of ​​the touch screen interface; S2. Determine the second address parameter corresponding to the first address parameter according to the preset mapping rules; S3. Real-time monitoring and acquisition of working status information based on the second address parameter; S4. Send the working status information back to the interactive area for output display.

[0039] Memory is used to store computer programs. This memory may include high-speed random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device, and may also be a USB flash drive, external hard drive, read-only memory, disk or optical disc, etc.

[0040] A processor is used to execute computer programs stored in memory. The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly manifested as execution by a hardware processor, or execution by a combination of hardware and software modules within the processor.

[0041] Alternatively, the memory can be either standalone or integrated with the processor.

[0042] When memory is a device independent of the processor, electronic devices may also include a bus. This bus is used to connect the memory and the processor. This bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc.

[0043] It should be noted that, through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms. Based on this understanding, the above technical solutions, in essence or the parts that contribute to the prior art, can be embodied in the form of software products. These computer software products can be stored in computer-readable storage media, such as ROM / RAM, magnetic disks, optical disks, etc., and include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in various embodiments or certain portions of the embodiments. In this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. In the absence of further restrictions, an element defined by the phrase "comprising a..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0044] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A method for mapping touchscreen addresses, characterized in that, include: Identify the first address parameter of the interactive area; wherein, the interactive area includes the button area and the display area of ​​the touch screen interface; According to the preset mapping rules, determine the second address parameter corresponding to the first address parameter; The working status information is obtained in real time based on the second address parameter; The working status information is sent back to the interactive area for output display.

2. The mapping method according to claim 1, characterized in that: The preset mapping rules include: A mapping program is established through a PLC system, wherein the mapping program is configured with multiple input ports and output ports corresponding to the input ports; Configure at least one address offset parameter for the mapping program to determine the mapping rules between the input port and the output port.

3. The mapping method according to claim 2, characterized in that: Multiple input ports simultaneously map multiple of the first address parameters.

4. The mapping method according to claim 1, characterized in that: The step of determining the second address parameter corresponding to the first address parameter includes: Based on the first address parameter, obtain the storage area value corresponding to the first address parameter; Determine whether the value of the storage area is 1. If it is, perform mapping association to obtain the second address parameter. If not, stop mapping and retrieve the first address parameter again.

5. The mapping method according to claim 1, characterized in that: The operating status information includes signal on / off status and data transmission status.

6. The mapping method according to claim 1, characterized in that: The working status information is displayed in the form of text data, image data, or audio-visual data.

7. The mapping method according to claim 1, characterized in that: The second address parameter is named using the interactive area.

8. A touchscreen address mapping system, characterized in that, include: The acquisition module identifies the first address parameter of the interactive area; wherein, the interactive area includes the button area and the display area of ​​the touch screen interface; The mapping and association module determines the second address parameter corresponding to the first address parameter according to a preset mapping rule; The working status information is obtained in real time based on the second address parameter; The display module sends the working status information back to the interactive area for output display.

9. A computer-readable storage medium, characterized in that, It stores a computer program for running a mapping method, wherein the computer program causes a computer to perform the mapping method as described in any one of claims 1-7.

10. An electronic device, characterized in that, include: One or more processors; Memory; as well as One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the programs being used to perform the mapping method as described in any one of claims 1-7.