CN110083404B - Data processing method and system of human-computer interface equipment and human-computer interface equipment - Google Patents
Data processing method and system of human-computer interface equipment and human-computer interface equipment Download PDFInfo
- Publication number
- CN110083404B CN110083404B CN201910328135.3A CN201910328135A CN110083404B CN 110083404 B CN110083404 B CN 110083404B CN 201910328135 A CN201910328135 A CN 201910328135A CN 110083404 B CN110083404 B CN 110083404B
- Authority
- CN
- China
- Prior art keywords
- data
- external storage
- contact
- storage device
- human
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 22
- 238000000034 method Methods 0.000 claims abstract description 134
- 230000008569 process Effects 0.000 claims abstract description 100
- 238000012545 processing Methods 0.000 claims abstract description 81
- 238000011084 recovery Methods 0.000 claims abstract description 42
- 238000004891 communication Methods 0.000 claims description 15
- 238000001514 detection method Methods 0.000 claims description 14
- 238000012544 monitoring process Methods 0.000 claims description 11
- 230000004913 activation Effects 0.000 claims description 8
- 238000004590 computer program Methods 0.000 description 6
- 230000003993 interaction Effects 0.000 description 6
- 230000004044 response Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 238000005192 partition Methods 0.000 description 3
- 230000000007 visual effect Effects 0.000 description 3
- 239000012792 core layer Substances 0.000 description 2
- 238000013480 data collection Methods 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 230000003213 activating effect Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1448—Management of the data involved in backup or backup restore
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Human Computer Interaction (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a data processing method and a system of a human-computer interface device and the human-computer interface device, wherein the data processing method comprises the following steps: detecting a contact on the touch-sensitive display; if the contact is detected for a predetermined time period, performing a booting process of the first system; in the process of executing the guide process, displaying a starting process picture through the touch-sensitive display, and continuously detecting contact; if the contact is detected to be terminated after the contact is continued to the preset picture display stage, prompting a prompt signal for entering the data processing process to a user, and loading and starting a second system from an external storage device connected with an external storage device interface, wherein the second system is independent of the first system to operate; and executing a data backup process of backing up data to the external storage device or a data recovery process of recovering data from the external storage device to the human-computer interface device through the second system. By the technical scheme of the invention, the data backup and recovery control which is convenient to operate is realized, and the backup and recovery can be carried out when the system kernel fails.
Description
Technical Field
The invention relates to the technical field of human-computer interface equipment, in particular to a data processing method and system of human-computer interface equipment and the human-computer interface equipment.
Background
A Human Machine Interaction (HMI) device, also known as a user interface device or user interface device. Data backup and recovery of the human-computer interface device are very important. Related data recovery and backup processes are described in the related art, but there are many problems with these data recovery and backup processes.
Chinese patent CN105373445A describes a method for backing up and recovering a file of a Programmable Logic Controller (PLC)/human-machine interface (HMI) device, which describes a method for backing up and recovering a file of a PLC/HMI device based on a cloud storage end, the cloud storage end includes a database, wherein the file includes an application program code, a PLC/HMI device parameter, and user setting information, and the method includes: when a user executes backup operation, uploading the file to the database of the cloud storage end, and when the user executes recovery operation, downloading the file from the database of the cloud storage end to the PLC/HMI equipment. However, how the user performs the backup operation is an important issue.
Chinese patent CN101673230A describes a method for backing up or recovering system configuration data of an embedded system by using a usb disk, which adopts the following steps: 1) Setting a USB flash disk detection task in the embedded system, and detecting and identifying the USB flash disk inserted by the system at regular time; 2) When the USB flash disk is detected to be inserted, judging whether the backup or recovery operation is executed or not according to whether a specific identification file exists on the USB flash disk or not; 3) And respectively executing the corresponding operation of the system according to the judgment result to complete the work of backing up or recovering the configuration data. The method avoids the dependence on special professional technicians, special tool software and additional computers for the common backup and recovery of the configuration data of the embedded system. However, the feasible premise of the method is that the embedded system normally operates, so that backup and recovery when the embedded system fails cannot be realized.
Chinese patent CN106844105A describes a Linux system backup and restore method under the guidance of a usb disk, and discloses: 1) Manufacturing a USB flash disk starting disk; 2) Setting a BIOS (basic input/output system) of a target machine into a USB flash disk for starting, and then starting a Linux system in the USB flash disk; 3) The user selects backup, and then selects backup according to partitions or backup of the whole disk, and whether to backup a partition table; 4) The user selects whether to compress the backed-up mirror image file or not, and then the system calls the core layer public class library to store the file to the U disk; 5) And the user selects to restore, then selects the restored mirror image file and the restored disk equipment or partition, and the system calls the core layer public class library to complete the restoration task. However, the method needs to set the target machine BIOS to the usb disk for starting, and is a backup method after the system kernel is started, and cannot realize backup when the system fails.
In summary, the related art has technical problems that data backup and recovery need to depend on professional tools or complex instructions, so that operation is inconvenient, and backup and recovery cannot be performed when a system kernel fails.
Disclosure of Invention
The invention aims to provide a data processing method and a data processing system of a human-computer interface device and the human-computer interface device, which are used for solving the technical problems that in the prior art, data backup and recovery need to depend on a professional tool or a complex instruction, so that the operation is inconvenient, and backup and recovery cannot be carried out when a system kernel fails.
According to an aspect of the present embodiment, there is provided a data processing method of a human interface device, the human interface device including: the touch-sensitive display, a processor, a memory, a communication interface, an external storage device interface, a first system stored in the memory, and an engineering file operated by the first system for executing data acquisition and monitoring control, wherein the data processing method comprises the following steps: detecting a contact on the touch-sensitive display; if the contact is detected for a predetermined time period, performing a booting process of the first system; in the process of executing the guide process, displaying a starting process picture through the touch-sensitive display, and continuously detecting contact; if the contact is detected to be terminated after the contact is continued to the preset picture display stage, prompting a prompt signal for entering the data processing process to a user, and loading and starting a second system from an external storage device connected with an external storage device interface, wherein the second system is independent of the first system to operate; and executing a data backup process of backing up data to the external storage device or a data recovery process of recovering data from the external storage device to the human-computer interface device through the second system.
In some embodiments, if the contact is not detected and terminates after the continuous period of the preset image display period, the first system is loaded from the memory, and the process of starting the first system is entered.
In some embodiments, the data processing process further comprises: reading a data processing configuration stored in an external storage device, wherein the data processing configuration defines data to be backed up or restored; wherein, the data processing process backs up or restores data according to the data processing configuration.
According to an aspect of the present embodiment, there is provided a data processing method of a computer device having a touch-sensitive display, wherein the computer device includes: the data processing method comprises the following steps of: detecting a contact on the touch-sensitive display; if the contact is detected for a predetermined time period, performing a booting process of the first system; in the process of executing the guide process, displaying a starting process picture through the touch-sensitive display, and continuously detecting contact; if the contact is detected to be terminated after the contact is continued to the preset picture display stage, prompting a prompt signal for entering the data processing process to a user, and loading and starting a second system from an external storage device connected with an external storage device interface, wherein the second system is independent of the first system to operate; and executing a data backup process of backing up data to the external storage device or a data recovery process of recovering data from the external storage device to the human-computer interface device through the second system.
In some embodiments, the data processing method further comprises: and if the touch is not detected and is terminated after the preset picture display stage, loading the first system from the memory, and entering a process of starting the first system.
In some embodiments, the data processing method further comprises: reading a data processing configuration stored in an external storage device, wherein the data processing configuration defines data to be backed up or restored; wherein the data processing process backs up or restores data according to the data processing configuration.
According to a further aspect of the present embodiment, there is provided a human-machine interface device comprising: the touch-sensitive display device comprises a touch-sensitive display, a processor, a memory, a communication interface, an external storage device interface, a first system stored in the memory, an engineering file operated by the first system and used for executing data acquisition and monitoring control, and a starting device stored on the memory and operated on the processor, wherein the processor realizes the steps of the data processing method when executing the starting device.
According to yet another aspect of the present embodiment, there is provided a computer device with a touch-sensitive display, the computer device comprising: the system comprises a processor, a memory, a communication interface, an external storage device interface, a first system stored in the memory, an engineering file operated by the first system and used for executing data acquisition and monitoring control, and a starting device stored on the memory and operated on the processor, wherein the processor realizes the steps of the data processing method when executing the starting device.
According to a further aspect of the present embodiment, there is provided a data processing system of a human interface device, the human interface device comprising: the touch-sensitive display, treater, memory, communication interface, external storage device interface and the first system that stores in the memory and through the engineering file of first system operation for carrying out data acquisition and supervisory control, wherein, data processing system includes: means for detecting a contact on a touch-sensitive display; means for performing a boot process for the first system if contact is detected for a predetermined length of time; means for displaying a start-up procedure screen via the touch-sensitive display and continuously detecting a contact during execution of the guidance procedure; means for prompting a user for a prompt signal to enter a data processing procedure if it is detected that the contact is terminated after the preset screen display period has elapsed, and loading and starting a second system from an external storage device connected to the external storage device interface, wherein the second system operates independently of the first system; and means for executing, by the second system, a data backup process of backing up data to the external storage device, or a data restore process of restoring data from the external storage device to the human interface device.
According to yet another aspect of the present embodiment, there is provided a data processing system of a human interface device, including: a human-machine interface device: the method comprises the following steps: the touch-sensitive display, a processor, a memory, a communication interface, an external storage device interface, a first system stored in the memory, an engineering file operated by the first system and used for executing data acquisition and monitoring control, and a starting device of the first system; an external storage device storing: a second system, wherein the second system operates independently of the first system, the second system comprising: the data backup module is used for backing up data to the external storage device, or the data recovery module is used for recovering the data to the human-computer interface device; wherein, starting drive includes: a detection unit for detecting a contact on the touch-sensitive display; an execution unit configured to execute a boot process of the first system if the detection unit detects that the contact continues for a predetermined length of time; the display unit is used for displaying a starting process picture through the touch-sensitive display in the process of executing the guide process; the prompting module is used for prompting a prompting signal for entering a data processing process to a user if the detection unit detects that the contact is terminated after the contact is continued to the preset picture display stage; and the starting unit is used for loading and starting the second system from the external storage equipment connected with the external storage equipment interface if the detection unit detects that the contact is terminated after the contact is continued to the preset picture display stage.
According to a further aspect of the present embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, carries out the above-mentioned steps of the method of output data processing.
The data processing method provided by the embodiment realizes data backup and recovery without depending on a professional tool or a complex instruction, and realizes backup and recovery when a system kernel fails.
Drawings
FIG. 1 is a schematic diagram of a data processing system of a human interface device according to an embodiment of the invention;
FIG. 2 is a schematic diagram of a human-machine interface device according to an embodiment of the invention;
FIG. 3 is a block diagram of a starting apparatus according to an embodiment of the present invention;
fig. 4 is a flowchart of a data processing method according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention. 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.
Fig. 1 is a schematic diagram of a data processing system of a human-machine interface device according to an embodiment of the present invention, as shown in fig. 1, the system including: a human-machine interface device 1 and an external storage device 2.
The human-computer interface device 1 includes a digital device for connecting industrial control devices such as a Programmable Logic Controller (PLC), a frequency converter, a dc speed regulator, and an instrument, and for writing in working parameters or inputting operation commands through an input unit such as a touch screen (e.g., a keyboard, a mouse, etc.) by using display of a display screen, thereby realizing information interaction between a human and a machine.
In some embodiments, as shown in fig. 1, the human interface device 1: the method comprises the following steps: the touch-sensitive display 10, the processor 11, the memory 13, the one or more communication interfaces 14, the one or more external storage device interfaces 15, and the first system 131 stored in the memory 13, the one or more project files 132 for performing data collection and monitoring control run by the first system 131, and the activation device 133 of the first system 131.
In some embodiments, processor 11 may be a Central Processing Unit (CPU), a controller, a microcontroller, a microprocessor, or other data Processing chip. The processor 11 is typically used to control the overall operation of the human interface device 1. The processor 11 is used to run program codes stored in the memory 13 or to process data.
In some embodiments, the first system 131 may be an embedded operating system, such as, but not limited to, linux, WINCE, or the like. The startup device 133 is configured to start the first system 131, and the startup device 133 is configured to perform a boot process of the first system 131. Upon startup of the first system 131, the project files 132 for performing data collection and monitoring control may be executed. During the operation of the engineering file 132, according to the configuration of the engineering file 132, the human-machine interface device 1 communicates with the industrial control device through one or more communication interfaces 14, acquires information from the industrial control device or invents instructions to the industrial control device, and the human-machine interface device 1 displays data through the touch-sensitive display 10 and receives operation instructions through the touch-sensitive display 10. The memory 13 stores a Graphical User Interface (GUI) module for displaying a GUI and responding to a touch operation of a graphic element on the GUI, which is executable by the first system 131 to implement a display and interaction of the GUI.
In some embodiments, the touch sensitive display 10, the one or more external storage device interfaces 15 are initialized during the boot process performed by the initiating means 133. The startup device 133 is configured to display a graphical user interface, such as a startup procedure screen, and a startup procedure description, etc., during execution. The starting means 133 is configured to detect the external storage device 2 on the external storage device interface 15 and the content stored in the external storage device 2, and optionally, whether the predetermined content is stored can be judged by the file name. In the present embodiment, the states of insertion and mounting of the external storage device 2 can be detected. The activation device 133 is further configured to detect a contact on the touch sensitive display 10, and the parameter of the contact may include a location of the contact, which is a coordinate on the touch sensitive display 10. The activation device 133 determines a touch input command based on the data generated by the contact. As an illustrative example, the touch input command may be determined according to a contact position, a contact duration, a contact movement trajectory, and the like. This embodiment does not limit this.
In some embodiments, as shown in fig. 2, the human-machine interface device 1 may be a computer device 30 connected to the touch-sensitive display 10, the computer device 30 at least including but not limited to: a memory 31, a processor 32 communicatively connected to each other by a system bus. It is noted that fig. 2 only shows a computer device 30 with components 31-32, but it is to be understood that not all shown components are required to be implemented, and that more or fewer components may be implemented instead. For example, computer device 30 may include one or more communication interfaces, such as, but not limited to, serial communication interfaces RS422, RS485, and RS 232.
The external storage device 2 is connected to the external storage device interface 15 of the human-machine interface device 1, in some embodiments, the external storage device interface 15 may include a Universal Serial Bus (USB) interface or the like, and the corresponding external storage device 2 may be a USB disk; the external storage device interface 15 may include an SD Card (Secure Digital Memory Card) interface, and the corresponding external storage device 2 may be an SD Card; the external storage device 2 may be a TF card, i.e. T-Flash also known as MicroSD. It should be understood that the above is merely exemplary, and the present embodiment is not limited thereto.
In certain embodiments, as shown in FIG. 1, the external storage device 2 stores one or more computer program modules comprising: a second system 21, wherein the second system 21 operates independently from the first system 131, so that when the first system 131 fails, the enabling device 133 of the human-machine interface device 1 can enable the second system 21 stored in the external storage device 2 to perform data processing.
In some embodiments, the second system 21 comprises: a data backup module 212 for backing up data to the external storage device 2 and/or a data restore module 213 for restoring data to the human interface device 1. FIG. 1 only shows the external storage device 2 having one or more of the computer program modules described above, but it will be understood that not all of the illustrated components are required to be implemented, and that more or fewer components may be implemented instead. For example, the external storage device 2 may include a circuit, and the like, which is not described in detail in this embodiment.
In some embodiments, the second system 21, when executed by the human interface device 1, runs the data backup module 212 or the data recovery module 213 to implement the corresponding data processing procedure.
In some embodiments, as shown in FIG. 1, the second system 21 may include a data backup module 212 and a data restore module 213, and a data processing selection module 211. And a data processing selection module 211, configured to display data processing options on the touch-sensitive display 10, where the data processing options include an option for data backup and an option for data recovery, and execute a corresponding data processing procedure through the second system 21 in response to a user selecting the data processing option on the touch-sensitive display 10.
In some embodiments, data processing options, including images and/or text, may be displayed via the interactable graphical user interface element. Optionally, the data backup option and the data recovery option are set as a list capable of responding to touch single click, and when the data backup option and the data recovery option are clicked on the list, the data processing option corresponding to the clicked area is confirmed to be selected.
In some embodiments, the data backup module 212 is configured to read data from the memory 13 of the human interface device 1 and store the read data in the external storage device 2.
In some embodiments, the memory 13 is a NAND flash memory. NAND flash memory consists of two types of structures called pages (pages) and blocks (blocks). Each page is most commonly 4/2KB (could be other sizes, but this is most common), representing one unit of reading and writing. Multiple pages make up a block of 32/128KB or 128/512 KB. Reading and writing of the NAND flash memory is performed at the page level. Instead, the erase is performed at the block level.
In some embodiments, the data backup module 212 reads the data blocks of the memory 13, stores the data blocks to the external storage device 2, and obtains a data file composed of the data blocks, and a data configuration file, wherein the data file may be stored as a file in "bat" format, and the data configuration file may be stored as a file in "ini" format. The data backup module 212 further generates a bad block recording document, where the bad block recording document is used for recording bad blocks in the data blocks of the human-computer interface device 1; documents for Error checking and correction (ECC for short); configuration files of the memory 13 data of the human interface device 1. Therefore, when the data can not be recovered, the failure analysis can be carried out.
In some embodiments, the data recovery module 213 is configured to write the backed-up data from the external storage device 2 to the memory 13 of the slave human interface device 1. Alternatively, the data recovery module 213 reads the data block of the external storage device 2 and stores the data block to the memory 13.
In some embodiments, as shown in FIG. 1, the external storage device 2 also stores a data processing configuration 214, the data processing configuration 214 defining the data to be backed up or restored. Data backup module 212 backs up data according to data processing configuration 214 and data restore module 213 restores data according to data processing configuration 214. Alternatively, the data processing arrangement 214 may define one or any combination of the process project file 132, the first system 131, and other data.
In some embodiments, the starting means 133 is configured to detect the external storage device 2 and the second system 21 stored therein on the external storage device interface 15 during the execution of the boot process.
In some embodiments, the activation device 133 is configured to detect a contact on the touch-sensitive display 10; if the contact is detected for a predetermined time period, performing a booting process of the first system 131; in the process of executing the guidance process, displaying a start-up process screen through the touch-sensitive display 10, and continuously detecting the contact; if the contact is detected to be terminated after the continuous contact period reaches the preset image display period, a prompt signal for entering the data processing process is prompted to the user, and the second system 21 is loaded and started from the external storage device 2 connected to the external storage device interface 15.
In some embodiments, the cue signal is a visual cue that includes graphical interface elements displayed on the touch-sensitive display 10, such as text, pictures, animations of frames of images, and the like, as well as any combination thereof.
The human interface device 1 may comprise a speaker and an audio processing circuit (not shown in the figures) which may convert digital audio signals into analog signals and play sounds by the speaker. In some embodiments, the cue signal is an audio signal, and the audio signal is processed by the audio processing circuit and then played by a speaker. In some embodiments, the sound signal may be played by a buzzer or the like without a speaker.
In some embodiments, the data processing selection module 211, when executed by the second system 21, is configured to display data processing options on the touch sensitive display 10, wherein the data processing options include an option for data backup and an option for data recovery; in response to a user selection of a data processing option on the touch-sensitive display 10, the data backup module 212 or the data restore module 213 is triggered to perform the corresponding data processing procedure.
In some embodiments, as shown in fig. 3, the activation device 133 may include: a detection unit 1331 for detecting a contact on the touch-sensitive display 10; an execution unit 1332 that executes a boot process of the first system if the detection unit 1331 detects that the contact continues for a predetermined time period; a display unit 1333 for displaying a start-up process screen through the touch-sensitive display 10 in the process of executing the boot process; a prompt module 1334, configured to prompt a user for a prompt signal to enter a data processing process if the detection unit 1331 detects that the contact is terminated after the preset image display stage; a start unit 1335 for loading and starting the second system 21 from the external storage device 2 connected to the external storage device interface 15 if the detection unit detects that the contact is terminated after the contact is continued to the preset screen display stage.
In some embodiments, detection unit 1331 and display unit 1333 are program modules separate from the graphical user interface modules of first system 131. But is not limited thereto.
In some embodiments, the data processing option is a visual signal, such as an interactive graphical interface element, including images and/or text, and the data processing option is selected by a touch operation of the interactive graphical interface element on the touch sensitive display 10.
In some embodiments, the starting unit 1335 is configured to load the first system from the memory 13 and enter a process of starting the first system 131 if the contact is not detected and is terminated after the continuation of the preset screen display period. When the first system 131 has a failure, failure information may be output. After the start-up of the first system 131 is completed, the first system 131 is operated. When the first system 131 is started, a failure in the starting process of the first system 131 is processed according to the failure processing policy of the first system 131.
In some embodiments, the activation unit 1335 is further configured to activate the second system 21 in response to a selection to enter a data processing procedure, before activating the second system 21, by whether the touch-sensitive display 10 enters an interactable graphical interface element of the data processing procedure. In response to the selection not to enter the data processing procedure, a procedure to start the first system 131 is entered.
In some embodiments, the starting unit 1335 is configured to start the first system 131 when the execution of the data backup module 212 or the data recovery module 213 fails. When the first system 131 is started, a failure in the starting process of the first system 131 is processed according to the failure processing policy of the first system 131.
Fig. 4 is a flowchart of a data processing method according to an embodiment of the invention, and as shown in fig. 4, the method includes steps S102 to S116.
Step S102, detecting a contact on the touch sensitive display.
In some embodiments, a user may make contact with the touch-sensitive display through a touch medium, including but not limited to a stylus, finger, etc., to perform a touch operation.
In some embodiments, the human interaction device is in a power-off or power-off state. In this embodiment, when the touch-sensitive display is continuously contacted for a predetermined time, the human-computer interaction device is powered on, and the human-computer interaction device is started.
And step S104, judging whether the contact exceeds a preset time, if the contact is detected to be continuously kept for the preset time, entering the step S104, and if not, returning to the step S102.
Step S106, a boot process of the first system is executed.
In some embodiments, during execution of the boot process, the external storage device and its stored second system on the external storage device interface may be detected. Optionally, the second system is a Uboot.
In some embodiments, in the process of executing the boot process, device initialization and the like are further included, which is not described in detail in this embodiment.
And step S108, in the process of executing the guide process, displaying a starting process picture through the touch-sensitive display, and continuously detecting the contact on the touch-sensitive display.
In some embodiments, during execution of the boot process, a start-up process screen, such as an identification of the device manufacturer, etc., and a start-up process schedule description are also displayed.
Step S110, judging whether the contact is continued to the end of the preset picture display stage; if the contact is detected to be continued to the predetermined screen display stage and then terminated, the process proceeds to step S112, otherwise, the process proceeds to step S116.
Step S112, prompting the user to enter a prompt signal of the data processing process, and loading and starting the second system from the external storage device.
In some embodiments, the cue signal is a visual signal including, but not limited to, graphical user interface elements such as images and/or text and the like. In other embodiments, the cue signal is an audible signal that may be output by a speaker or buzzer to the user. In other embodiments, the alert signal is a vibration signal that is output by a vibration motor to the user. In some embodiments, the cue signal may include, but is not limited to, any combination of the foregoing.
Step S114, a data backup process of backing up data to the external storage device or a data recovery process of recovering data from the external storage device to the human interface device is performed through the second system.
In one embodiment, step S114 may be preceded by displaying data processing options on the touch-sensitive display via the second system, wherein the data processing options include an option for data backup and an option for data recovery. In response to a user selection of a data processing option on the touch-sensitive display, a corresponding data processing procedure is performed by the second system.
In some embodiments, data processing options, including images and/or text, are displayed via the interactable graphical user interface element. Optionally, the data backup option and the data recovery option are set as a list capable of responding to touch single click, and when the data backup option and the data recovery option are clicked on the list, the data processing option corresponding to the clicked area is confirmed to be selected.
In some embodiments, the data backup option corresponds to a data backup process for backing up data to an external storage device, the data restore option corresponds to a data restore process for restoring data to a human interface device, the data including project files and/or first system, and other data such as user configuration parameters.
In some embodiments, after step S114, step S116 is entered.
Step S116, the first system is started.
In some embodiments, when the first system is started, the fault in the starting process of the first system is processed according to the fault processing strategy of the first system. And operating the first system after the first system is successfully started.
In some embodiments, a data processing configuration stored in the external storage device may also be read, where the data processing configuration defines data to be backed up or restored; wherein, the data processing process backs up or restores data according to the data processing configuration.
The present embodiment also provides a computer-readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, an App application store, etc., on which a computer program is stored, which when executed by a processor implements corresponding functions. The computer-readable storage medium of the present embodiment is used to store computer program modules, which when executed by a processor implement a data processing method.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all equivalent structures or equivalent processes performed by the present invention or directly or indirectly applied to other related technical fields are also included in the scope of the present invention.
Claims (6)
1. A data processing method of a human-computer interface device is characterized in that the human-computer interface device comprises the following steps: the touch-sensitive display device comprises a touch-sensitive display, a processor, a memory, a communication interface, an external storage device interface, a first system and a project file, wherein the first system is stored in the memory, the project file is operated by the first system and used for executing data acquisition and monitoring control, the first system is an embedded operating system, and the project file can be executed after the first system is started, wherein the data processing method comprises the following steps:
detecting a contact on the touch-sensitive display;
if the contact lasts for a preset time, executing a booting process of the first system, and if the human-computer interface equipment is in a shutdown state, electrifying the human-computer interface equipment before booting and starting the human-computer interface equipment;
in the process of executing the guide process, displaying a starting process picture through the touch-sensitive display, and continuously detecting the contact;
if the contact is not detected to be terminated after the contact is continued to the preset picture display stage, loading the first system from the memory, entering a process of starting the first system, and when the first system has a fault, processing the fault in the starting process of the first system according to a fault processing strategy of the first system;
if the contact is detected to be terminated after the contact is continued to a preset image display stage, prompting a prompt signal for entering a data processing process to a user, and loading and starting a second system from an external storage device connected with an external storage device interface, wherein the second system is independent of the first system to operate;
executing a data backup process of backing up data to the external storage device or a data recovery process of recovering data from the external storage device to the human-computer interface device through the second system;
in the data backup process, the data blocks of the memory are read through the data backup module, and the data blocks are stored in the external storage device to obtain a data file consisting of the data blocks and a data configuration file;
in the data recovery process, the data block of the external storage device is read through the data recovery module, and the data block is stored in the memory.
2. A method of data processing of a computer device having a touch-sensitive display, the computer device comprising: the data processing method comprises the following steps of a processor, a memory, a communication interface, an external storage device interface, a first system stored in the memory, and a project file which is operated through the first system and is used for executing data acquisition and monitoring control, wherein the first system is an embedded operating system, and the project file is executed after the first system is started, wherein the data processing method comprises the following steps:
detecting a contact on the touch-sensitive display;
if the contact lasts for a preset time, executing a booting process of the first system, and if the human-computer interface equipment is in a shutdown state, electrifying the human-computer interface equipment before booting and starting the human-computer interface equipment;
during the process of executing the guide process, displaying a starting process picture through the touch-sensitive display, and continuously detecting the contact;
if the contact is not detected to be terminated after the contact is continued to the preset picture display stage, loading the first system from the memory, entering a process of starting the first system, and when the first system has a fault, processing the fault in the starting process of the first system according to a fault processing strategy of the first system;
if the contact is detected to be terminated after the contact is continued to a preset picture display stage, prompting a prompt signal for entering a data processing process to a user, and loading and starting a second system from an external storage device connected with an external storage device interface, wherein the second system is independent of the first system to operate;
executing a data backup process of backing up data to the external storage device or a data recovery process of recovering data from the external storage device to the human-computer interface device through the second system;
in the data backup process, the data blocks of the memory are read through the data backup module, and the data blocks are stored in the external storage device to obtain a data file consisting of the data blocks and a data configuration file;
in the data recovery process, the data block of the external storage device is read through the data recovery module, and the data block is stored in the memory.
3. A human-machine interface device, comprising: a touch sensitive display, a processor, a memory, a communication interface, an external storage device interface, and a first system stored in the memory, and project files for performing data acquisition and supervisory control executed by the first system, and an activation device stored on the memory and executable on the processor, the processor implementing the steps of the method of claim 1 when executing the activation device.
4. A computer device with a touch-sensitive display, the computer device comprising: a processor, a memory, a communication interface, an external storage device interface, a first system stored in the memory, and a project file executed by the first system for executing data acquisition and monitoring control, and a startup device stored in the memory and operable on the processor, wherein the processor executes the startup device to implement the steps of the method of claim 1.
5. A data processing system for a human interface device, the human interface device comprising: the touch-sensitive display device comprises a touch-sensitive display, a processor, a memory, a communication interface, an external storage device interface, a first system and a project file, wherein the first system is stored in the memory, the project file is operated by the first system and used for executing data acquisition and monitoring control, the first system is an embedded operating system, and the project file is executed after the first system is started, wherein the data processing system comprises:
means for detecting a contact on the touch-sensitive display;
means for executing a boot process of the first system if the contact is detected to last for a predetermined duration, and powering on the human interface device before booting when the human interface device is in a power-off state, and starting the human interface device;
means for displaying a start-up procedure screen via the touch-sensitive display and continuously detecting the contact during execution of the guidance procedure;
if the contact is not detected to be terminated after the contact is continued to the preset picture display stage, loading the first system from the memory, entering a process of starting the first system, and when the first system has a fault, processing the fault in the starting process of the first system according to a fault processing strategy of the first system;
means for prompting a user for a prompt signal to enter a data processing procedure if it is detected that the contact is terminated after the contact is continued to a preset picture display stage, and loading and starting a second system from an external storage device connected to the external storage device interface, wherein the second system operates independently of the first system;
means for performing, by the second system, a data backup process of backing up data to the external storage device or a data recovery process of recovering data from the external storage device to the human interface device;
in the data backup process, the data blocks of the memory are read through the data backup module, and the data blocks are stored in the external storage device to obtain a data file consisting of the data blocks and a data configuration file;
in the data recovery process, the data block of the external storage device is read through the data recovery module, and the data block is stored in the memory.
6. A data processing system for a human interface device, comprising:
a human-machine interface device: the method comprises the following steps: the touch-sensitive display device comprises a touch-sensitive display, a processor, a memory, a communication interface, an external storage device interface, a first system, an engineering file and a starting device of the first system, wherein the first system is stored in the memory, the engineering file is operated by the first system and used for executing data acquisition and monitoring control, and the starting device of the first system is used for executing the engineering file after the first system is started;
an external storage device storing: a second system, wherein the second system operates independently of the first system, the second system comprising: the data backup module is used for backing up data to the external storage device, and the data recovery module is used for recovering the data to the human-computer interface device;
the data backup module reads the data blocks of the memory and stores the data blocks into an external storage device to obtain a data file consisting of the data blocks and a data configuration file;
the data recovery module reads a data block of the external storage device and stores the data block to the memory;
wherein, the starting device comprises:
a detection unit to detect a contact on the touch-sensitive display;
the execution unit is used for executing the guiding process of the first system if the detection unit detects that the contact lasts for a preset time, and powering on the human-computer interface equipment before guiding when the human-computer interface equipment is in a power-off state to start the human-computer interface equipment;
the display unit is used for displaying a starting process picture through the touch-sensitive display in the process of executing the guide process;
the prompting module is used for prompting a prompting signal for entering a data processing process to a user if the detection unit detects that the contact is terminated after the contact is continued to a preset picture display stage;
the starting unit is used for loading and starting the second system from the external storage equipment connected with the external storage equipment interface if the detection unit detects that the contact is terminated after the contact is continued to a preset picture display stage;
and if the starting unit does not detect that the contact is continued to a preset picture display stage and then is terminated, the first system is loaded from the memory, the process of starting the first system is started, and when the first system has a fault, the fault in the starting process of the first system is processed according to the fault processing strategy of the first system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910328135.3A CN110083404B (en) | 2019-04-23 | 2019-04-23 | Data processing method and system of human-computer interface equipment and human-computer interface equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910328135.3A CN110083404B (en) | 2019-04-23 | 2019-04-23 | Data processing method and system of human-computer interface equipment and human-computer interface equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110083404A CN110083404A (en) | 2019-08-02 |
CN110083404B true CN110083404B (en) | 2022-12-30 |
Family
ID=67416248
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910328135.3A Active CN110083404B (en) | 2019-04-23 | 2019-04-23 | Data processing method and system of human-computer interface equipment and human-computer interface equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110083404B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110968457A (en) * | 2019-10-28 | 2020-04-07 | 湖南麒麟信安科技有限公司 | Backup restoration method, system and medium for Linux operating system |
CN112825054B (en) * | 2019-11-21 | 2023-09-05 | 杭州海康威视数字技术股份有限公司 | Data processing method and electronic equipment |
CN111666521A (en) * | 2020-05-15 | 2020-09-15 | 上海东方泵业(集团)有限公司 | Human-computer interface data processing system and method |
CN114138343A (en) * | 2020-09-04 | 2022-03-04 | 青岛海信移动通信技术股份有限公司 | Terminal and terminal starting method |
CN112596947B (en) * | 2020-12-16 | 2023-12-26 | 深圳万兴软件有限公司 | Project file recovery method and device, computer equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1877539A (en) * | 2005-06-07 | 2006-12-13 | 英业达股份有限公司 | Data backup/recovery system in cold start mode and its implementation method |
CN101587451A (en) * | 2008-05-20 | 2009-11-25 | 研祥智能科技股份有限公司 | Data backup and recovery method based on extensible firmware interface (EFI) firmware |
CN101771804A (en) * | 2008-12-29 | 2010-07-07 | 深圳市同洲电子股份有限公司 | Backup and restore method for DTV receiving terminal software system |
CN104461767A (en) * | 2013-09-17 | 2015-03-25 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN109063488A (en) * | 2018-08-03 | 2018-12-21 | 中国航空工业集团公司雷华电子技术研究所 | A kind of PowerPC standby system secure bootstrapping method and system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1220945C (en) * | 2002-12-31 | 2005-09-28 | 联想(北京)有限公司 | Computer system backup and restoring method |
CN101149685A (en) * | 2007-11-07 | 2008-03-26 | 苏州壹世通科技有限公司 | Combined device and method for starting up multiple operation system from mobile memory apparatus |
CN104007905A (en) * | 2013-02-27 | 2014-08-27 | 瀚宇彩晶股份有限公司 | finger joint protection |
-
2019
- 2019-04-23 CN CN201910328135.3A patent/CN110083404B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1877539A (en) * | 2005-06-07 | 2006-12-13 | 英业达股份有限公司 | Data backup/recovery system in cold start mode and its implementation method |
CN101587451A (en) * | 2008-05-20 | 2009-11-25 | 研祥智能科技股份有限公司 | Data backup and recovery method based on extensible firmware interface (EFI) firmware |
CN101771804A (en) * | 2008-12-29 | 2010-07-07 | 深圳市同洲电子股份有限公司 | Backup and restore method for DTV receiving terminal software system |
CN104461767A (en) * | 2013-09-17 | 2015-03-25 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN109063488A (en) * | 2018-08-03 | 2018-12-21 | 中国航空工业集团公司雷华电子技术研究所 | A kind of PowerPC standby system secure bootstrapping method and system |
Also Published As
Publication number | Publication date |
---|---|
CN110083404A (en) | 2019-08-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110083404B (en) | Data processing method and system of human-computer interface equipment and human-computer interface equipment | |
US20060224794A1 (en) | Using USB memory device to recover operating system | |
US11275591B2 (en) | Data storage device and method for maintaining normal boot operation of data storage device | |
US7337359B2 (en) | System and method for recovering a device state | |
TWI765443B (en) | Data storage device and method for maintaining normal boot operation of data storage device | |
CN109582332B (en) | System upgrading method and device for Internet camera | |
CN111522690B (en) | Data storage device and method for maintaining normal start-up operation of data storage device | |
JP2017027244A (en) | Information processor, initialization method of non-volatile storage device by the information processor and program | |
KR20060005158A (en) | System crash recovery device and method | |
KR101026321B1 (en) | Removable device with user interface | |
CN109408282B (en) | Application program backup recovery method and device and computer readable storage medium | |
JP2006293544A (en) | Numerical control system | |
KR20020007090A (en) | Method and system for booting recovery a computer | |
CN102184115A (en) | Method and device for updating system software | |
EP1983435A2 (en) | Computer-readable recording medium for recovery of software | |
CN105159773A (en) | Information processing method and electronic equipment | |
CN105335248B (en) | Information processing method and electronic equipment | |
KR101116053B1 (en) | File Backup Method and devices using the same | |
CN111382009A (en) | System automatic maintenance method and computer equipment with automatic maintenance function | |
CN1815450A (en) | Operating system restoration method and system | |
CN1845072A (en) | Portable device and its automatic backup method | |
CN110837433A (en) | Performance optimization method and device and electronic equipment | |
JP4680679B2 (en) | Storage medium for computer terminal | |
KR20120057738A (en) | method for automatically restoring system software of dedicated computer | |
JPH04160514A (en) | Method for starting personal computer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |