CN113824787B - Method for controlling restarting of terminal - Google Patents

Method for controlling restarting of terminal Download PDF

Info

Publication number
CN113824787B
CN113824787B CN202111109294.8A CN202111109294A CN113824787B CN 113824787 B CN113824787 B CN 113824787B CN 202111109294 A CN202111109294 A CN 202111109294A CN 113824787 B CN113824787 B CN 113824787B
Authority
CN
China
Prior art keywords
terminal
terminal equipment
data
state
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111109294.8A
Other languages
Chinese (zh)
Other versions
CN113824787A (en
Inventor
符常勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Weimeng Network Technology Co ltd
Original Assignee
Shenzhen Weimeng Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Weimeng Network Technology Co ltd filed Critical Shenzhen Weimeng Network Technology Co ltd
Priority to CN202111109294.8A priority Critical patent/CN113824787B/en
Publication of CN113824787A publication Critical patent/CN113824787A/en
Application granted granted Critical
Publication of CN113824787B publication Critical patent/CN113824787B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1438Restarting or rejuvenating
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Health & Medical Sciences (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a method for controlling restarting of a terminal, which is applied to the technical field of remote control; installing application software on terminal equipment, inserting a U disk assembly into the terminal equipment, wherein a monitoring and control application program is arranged in the U disk assembly, acquiring operation data of the terminal equipment, monitoring the terminal equipment, if the terminal equipment cannot upload the operation data to a server or the terminal equipment cannot receive an instruction of the server, accessing a connection port of the terminal equipment through a connection port of a stitch group, resetting the terminal equipment by adopting the stitch group, and if the application software and the USB equipment cannot operate at the same time, sending an on-off instruction through an intelligent socket pre-connected with the stitch group of the USB equipment, so as to finish restarting the terminal; according to the invention, the remote control terminal is used for resetting and restarting, so that the difficulty and trouble of manually resetting and restarting are eliminated, and the burden of personnel is effectively reduced.

Description

Method for controlling restarting of terminal
Technical Field
The invention relates to the technical field of remote control, in particular to a method for restarting a control terminal.
Background
At present, with the development of communication technology, remote control technology is widely applied to various system terminals such as intelligent home terminals, power generation terminals, financial terminals and the like.
For example, in a computer system terminal, a server terminal may deploy multiple terminals that may be used to provide services to clients, and the server terminal may allocate an idle, well-conditioned one to a client by scheduling; the common remote control implementation needs to access the Internet simultaneously by the controlled terminal and the main control terminal, and the main control terminal is in communication connection with the controlled terminal to realize the control of the controlled terminal.
At present, various terminals have more or less dead halt or error reporting of application programs and the like in the long-time running process; the current common practice is: when the situation occurs, the related staff performs power-off restarting on the terminal on site, so that time is wasted, workload is increased, and if the terminal is far away from the staff, such as the terminal is placed in a mountain or a forest, considerable inconvenience is brought to the staff, and meanwhile, the terminal cannot be recovered in a long time, so that the whole service terminal system is affected; a further situation is that the terminal is restarted remotely by using the smart jack, but the cost of the smart jack is too high, and networking is required, if the terminal is arranged in a deep mountain or a distant forest, the terminal may be interfered by an uninterferable signal;
in view of the above, the present invention proposes a method for controlling terminal restart, which solves the problem of terminal recovery, reduces the cost of restarting the terminal, and frees the staff.
Disclosure of Invention
The invention aims to solve the problem of restarting a remote terminal under the condition of no manpower and provides a method for controlling the restarting of the terminal.
The invention provides a method for controlling restarting of a terminal, which comprises the following steps:
step 1, installing application software including but not limited to linux or windows on terminal equipment, and inserting a U disk assembly into the terminal equipment, wherein an application program for monitoring and controlling the linux or the windows is arranged in the U disk assembly;
step 2, acquiring operation data of the terminal equipment, wherein the operation data comprises, but is not limited to, uplink and downlink data;
step 3, monitoring the terminal equipment, and if the terminal equipment cannot upload operation data to the server or the terminal equipment cannot receive an instruction of the server, executing the step 4;
step 4, providing three groups of external pin groups to be connected with the USB port of the terminal equipment, adopting the pin groups to carry out reset operation of the terminal equipment, and if the pin groups return to the step 3 after the reset operation, executing the step 5 when the terminal equipment still monitors that the terminal equipment cannot upload operation data to the server or the terminal equipment cannot send instructions to the server;
and step 5, if the application software and the USB equipment cannot be operated at the same time, sending a power-on and power-off instruction through an intelligent socket which is connected with one group of pin groups of the USB equipment in advance, so as to achieve the effect of restarting the terminal.
Further, the installation of the application software on the terminal device includes but is not limited to linux or windows, and the step of inserting a usb disk assembly into the terminal device, where an application program for monitoring and controlling the linux or windows is disposed in the usb disk assembly includes:
a monitoring process is established, and real-time monitoring operation is carried out on the terminal equipment;
monitoring program parameters of linux or windows in the terminal equipment through the real-time monitoring operation, wherein the program parameters comprise real-time operation parameters, real-time operation states and real-time monitoring progress;
analyzing the control state of the terminal according to the real-time operation parameters, the real-time operation state and the real-time monitoring progress;
the real-time operation parameter analysis terminal control state process comprises the steps of obtaining real-time operation parameters including a terminal equipment peace index and a terminal equipment reliability index,
generating a terminal equipment running state display interface according to the terminal equipment peace index and the terminal equipment reliability index;
the real-time operation state analysis terminal control state process comprises the steps of acquiring real-time operation states including the mildness of operation of the terminal equipment and the reliability of operation of the terminal equipment,
generating a bar statistical diagram corresponding to the terminal equipment operation state display interface according to the mildness of the terminal equipment operation and the reliability of the terminal equipment operation;
the process of analyzing the control state of the terminal by the real-time monitoring progress comprises the steps of acquiring the real-time monitoring progress including the failure time of the terminal equipment and the failure probability of the terminal equipment,
generating a probability statistical graph matched with a bar statistical graph corresponding to the running state display interface of the terminal equipment according to the fault time of the terminal equipment and the fault reason of the terminal equipment;
the values of the bar statistics corresponding to the probability statistics must be equal,
comparing the bar statistical graph with the probability statistical graph, and analyzing the control state of the terminal;
for example: the reliability of the operation of the terminal equipment is 50%, the fault probability of the terminal equipment is 50%, and the control state of the terminal is stable;
the operating peace of the terminal equipment is 60%, the failure time of the terminal equipment is 40%, and the control state of the terminal is unstable.
Further, the step of acquiring the operation data of the terminal device includes:
creating a storage process, and carrying out data storage operation on the terminal equipment through a docking data source interface to obtain storage data, wherein the storage data comprises uplink data and/or downlink data;
analyzing the operation data of the terminal equipment according to the uplink data and/or the downlink data;
the uplink data analysis process comprises the terminal receiving an uplink data packet, the terminal receiving the data packet sent by the uplink data,
the terminal and the first communication node of the uplink data establish a connection through a specific channel, in particular a data radio bearer, a signaling radio bearer and a logical channel,
before receiving an uplink data packet, the terminal obtains configuration of a first communication node and entity configuration information corresponding to uplink data, and correspondingly configures according to the entity configuration information corresponding to the uplink data to obtain terminal configuration completed with the uplink data configuration;
acquiring a data packet of the terminal configuration completed by the uplink data configuration and the terminal configuration synchronization parameter completed by the uplink data configuration, and obtaining terminal equipment operation data completed by the uplink data analysis;
the terminal and the second communication node of the downlink data establish a connection through a specific channel, in particular one of a transmission channel, a physical channel and an RLC channel,
before receiving a downlink data packet, the terminal obtains configuration of a second communication node and entity configuration information corresponding to downlink data, and correspondingly configures according to the entity configuration information corresponding to the downlink data to obtain terminal configuration completed with the downlink data configuration;
acquiring a data packet of the terminal configuration completed by the downlink data configuration and the terminal configuration synchronization parameter completed by the downlink data configuration, and obtaining terminal equipment operation data completed by the downlink data analysis;
and carrying out storage operation on the terminal equipment operation data of which the uplink data analysis is completed and the terminal equipment operation data of which the downlink data analysis is completed, and obtaining the operation data of the terminal equipment.
Further, the step of monitoring the terminal device includes:
adding a tracking module to the terminal equipment, wherein the tracking module comprises a tracking identifier;
monitoring the information state of the tracking identifier, wherein the information state of the tracking identifier comprises a lamp number, characters and images, and judging whether the terminal equipment can upload data to a server according to the information state of the tracking identifier comprising the lamp number, the characters and the images;
if the information state of the tracking identifier is a normal state, such as a high light, a neat text and/or a clear image, judging that the terminal data uploading server is successful;
if the information state of the tracking identifier is a warning state, such as dim light, blurred text and/or unclear image, judging that the terminal data uploading server fails;
a process of identifying the light, text and image, comprising:
setting a unified format of the tracking identifier, wherein the unified format comprises names, codes and/or numbers, and the coding types comprise units, information and/or data;
and generating a corresponding tracking identification code format according to the name, the code and/or the number, correspondingly acquiring a tracking identification code, acquiring a tracking identifier state carried by the terminal data through the tracking identification code, and judging whether the terminal data uploading server is successful or not through the tracking identifier state.
Further, the step of resetting the terminal device by adopting the pin group includes:
acquiring terminal equipment abnormality information, wherein the terminal equipment abnormality information comprises terminal preset driving firmware loading information;
sample processing is carried out on loading information of preset driving firmware of the terminal according to an abnormality judgment rule, and abnormal data of a module is obtained, wherein the abnormal data comprise image code abnormal data, acquisition abnormal data and/or communication abnormal data;
the sample processing procedure includes the steps of,
dividing the loading information of the terminal preset driving firmware into a plurality of modules based on the monitoring state and parameter attribute of the abnormal information, setting a module corresponding to the reset operation of the terminal equipment of the trigger pin group based on the divided modules, and enhancing the information quantity of the triggered modules and improving the accuracy of the trigger information by reducing the quantity of the triggered modules;
the plurality of divided modules comprise a picture code module, an acquisition module and/or a communication module, wherein the picture code module, the acquisition module and/or the communication module are respectively provided with an alarm switch, the alarm switch is used for triggering the reset operation of the pin group terminal equipment, the alarm switch provides alarm information for the pin group, and the interference of invalid information in normal operation is reduced;
the alarm switch displays an alarm state, and after the alarm state is confirmed, the alarm switch does not display the alarm state any more, so that the state prompt of the alarm switch is not influenced when other modules are abnormal;
prompting the corresponding module to generate data abnormality through an alarm switch, and acquiring corresponding module abnormal data;
generating a corresponding abnormal data repair process according to the corresponding abnormal data of the module;
the abnormal data repair process includes the steps of,
generating corresponding abnormal information details based on the types of the modules, the processing systems of the modules and the degree of abnormality of the modules, wherein the corresponding abnormal information details comprise different data of the correct pattern data which are not generated and the wrong pattern abnormal data;
and resetting the terminal equipment by the pin group according to the data of the difference between the correct picture code data and the wrong picture code abnormal data.
Further, the step of sending the power-on/off instruction through the smart socket pre-connected by the pin group of the USB device includes:
the intelligent socket is provided with a hole site identifier, and the hole site identifier is matched with the pin group for operation;
the pin group is provided with a control unit, and the control unit is used for conducting power-on and power-off control on the intelligent socket according to a power-off instruction;
the power-on control comprises the steps of searching corresponding hole sites according to the hole site identifiers in the received power-on instruction, and performing power-on control on the intelligent socket according to the power-on instruction corresponding to the hole site identifiers;
the power on/off instruction comprises preset time point information and preset time period information, and the control unit is used for controlling the power on/off of the intelligent socket according to the power on/off instruction, and comprises the following steps:
and controlling the corresponding hole sites to be electrified or powered off at a preset time point according to the on-off instruction and controlling the corresponding hole sites to be in an on-off state or a power-off state in a preset time period according to the on-off instruction.
The invention also provides a device for controlling the restarting of the terminal, which comprises:
the installation unit is used for installing application software including but not limited to linux or windows on the terminal equipment, and inserting a U disk assembly into the terminal equipment, wherein the U disk assembly is internally provided with an application program for monitoring and controlling the linux or the windows;
the recording unit is used for acquiring the operation data of the terminal equipment, wherein the operation data comprises, but is not limited to, uplink and downlink data; monitoring the terminal equipment, and if the terminal equipment cannot upload operation data to the server or the terminal equipment cannot receive an instruction of the server, transferring the working process to a complement unit for succession;
the system comprises a supplementary recording unit, a server and a terminal device, wherein the supplementary recording unit is used for accessing a second USB (universal serial bus) interface of the terminal device through a first USB interface of a pin group, adopting the pin group to carry out reset operation of the terminal device, returning to the supplementary recording unit after the pin group is reset, and entering the next step if the terminal device is still monitored that the terminal device cannot upload operation data to the server or the terminal device cannot receive an instruction of the server; and the application software and the USB equipment cannot be operated at the same time, and then an on-off instruction is sent out through the intelligent socket which is connected with the pin group of the USB equipment in advance, so that the effect of restarting the terminal is achieved.
Further, the mounting unit includes:
an installation subunit, configured to install application software on a terminal device, including but not limited to linux or windows;
the operation subunit is used for inserting a U disk assembly into the terminal equipment, and an application program for monitoring and controlling linux or windows is arranged in the U disk assembly.
Further, the recording unit includes:
the input subunit is used for acquiring operation data of the terminal equipment, wherein the operation data comprises, but is not limited to, uplink and downlink data;
and the intervention subunit is used for monitoring the terminal equipment, and if the terminal equipment cannot upload operation data to the server or the terminal equipment cannot receive the instruction of the server, the working process is transferred to the complement unit for succession.
Further, the method is characterized in that the supplementary unit includes:
the supplementary recording subunit is used for providing three groups of external stitch groups to access the USB port of the terminal equipment, adopting the stitch groups to reset the terminal equipment, and if the return of the stitch groups to the execution of the step 3 after the reset operation is carried out, the supplementary recording unit enters the next step when the terminal equipment still monitors that the terminal equipment cannot upload operation data to a server or the terminal equipment cannot send an instruction of the server;
and the backup subunit is used for enabling the application software and the USB equipment to simultaneously fail to operate, and sending a power on-off instruction through the intelligent socket which is connected with one group of pin groups of the USB equipment in advance so as to achieve the effect of restarting the terminal.
The invention provides a method for controlling restarting of a terminal, which has the following beneficial effects:
1. according to the invention, the remote control terminal is used for resetting and restarting, so that the difficulty and trouble of manually resetting and restarting are eliminated, and the burden of personnel is effectively reduced;
2. according to the invention, the hardware device is used for carrying out the power-on and power-off instruction on the intelligent socket so as to carry out reset restarting operation, so that the cost of the existing intelligent socket is reduced, and the restarting efficiency of the terminal is effectively improved.
Drawings
FIG. 1 is a plan flow chart of one embodiment of a method for controlling terminal restart in accordance with the present invention;
FIG. 2 is a plan view of one embodiment of a control terminal restarting device according to the present invention;
the realization, functional characteristics and advantages of the present invention are further described with reference to the accompanying drawings in combination with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, a method for controlling restarting of a terminal according to an embodiment of the present invention includes:
step 1, installing application software including but not limited to linux or windows on terminal equipment, and inserting a U disk assembly into the terminal equipment, wherein an application program for monitoring and controlling the linux or the windows is arranged in the U disk assembly;
step 2, acquiring operation data of the terminal equipment, wherein the operation data comprises, but is not limited to, uplink and downlink data;
step 3, monitoring the terminal equipment, and if the terminal equipment cannot upload operation data to the server or the terminal equipment cannot receive an instruction of the server, executing the step 4;
step 4, providing three groups of external pin groups to be connected with the USB port of the terminal equipment, adopting the pin groups to carry out reset operation of the terminal equipment, and if the pin groups return to the step 3 after the reset operation, executing the step 5 when the terminal equipment still monitors that the terminal equipment cannot upload operation data to the server or the terminal equipment cannot send instructions to the server;
and step 5, if the application software and the USB equipment cannot be operated at the same time, sending a power-on and power-off instruction through an intelligent socket which is connected with one group of pin groups of the USB equipment in advance, so as to achieve the effect of restarting the terminal.
In one embodiment: the method for installing the application software on the terminal equipment comprises the steps of, but is not limited to, linux or windows, inserting a U disk assembly into the terminal equipment, and setting the application program for monitoring and controlling the linux or windows in the U disk assembly, wherein the steps comprise:
a monitoring process is established, and real-time monitoring operation is carried out on the terminal equipment;
monitoring program parameters of linux or windows in the terminal equipment through the real-time monitoring operation, wherein the program parameters comprise real-time operation parameters, real-time operation states and real-time monitoring progress;
analyzing the control state of the terminal according to the real-time operation parameters, the real-time operation state and the real-time monitoring progress;
the real-time operation parameter analysis terminal control state process comprises the steps of obtaining real-time operation parameters including a terminal equipment peace index and a terminal equipment reliability index,
generating a terminal equipment running state display interface according to the terminal equipment peace index and the terminal equipment reliability index;
the real-time operation state analysis terminal control state process comprises the steps of acquiring real-time operation states including the mildness of operation of the terminal equipment and the reliability of operation of the terminal equipment,
generating a bar statistical diagram corresponding to the terminal equipment operation state display interface according to the mildness of the terminal equipment operation and the reliability of the terminal equipment operation;
the process of analyzing the control state of the terminal by the real-time monitoring progress comprises the steps of acquiring the real-time monitoring progress including the failure time of the terminal equipment and the failure probability of the terminal equipment,
generating a probability statistical graph matched with a bar statistical graph corresponding to the running state display interface of the terminal equipment according to the fault time of the terminal equipment and the fault reason of the terminal equipment;
the values of the bar statistics corresponding to the probability statistics must be equal,
comparing the bar statistical graph with the probability statistical graph, and analyzing the control state of the terminal;
for example: the reliability of the operation of the terminal equipment is 50%, the fault probability of the terminal equipment is 50%, and the control state of the terminal is stable;
the operating peace of the terminal equipment is 60%, the failure time of the terminal equipment is 40%, and the control state of the terminal is unstable.
In one embodiment: the step of obtaining the operation data of the terminal equipment comprises the following steps:
creating a storage process, and carrying out data storage operation on the terminal equipment through a docking data source interface to obtain storage data, wherein the storage data comprises uplink data and/or downlink data;
analyzing the operation data of the terminal equipment according to the uplink data and/or the downlink data;
the uplink data analysis process comprises the terminal receiving an uplink data packet, the terminal receiving the data packet sent by the uplink data,
the terminal and the first communication node of the uplink data establish a connection through a specific channel, in particular a data radio bearer, a signaling radio bearer and a logical channel,
before receiving an uplink data packet, the terminal obtains configuration of a first communication node and entity configuration information corresponding to uplink data, and correspondingly configures according to the entity configuration information corresponding to the uplink data to obtain terminal configuration completed with the uplink data configuration;
acquiring a data packet of the terminal configuration completed by the uplink data configuration and the terminal configuration synchronization parameter completed by the uplink data configuration, and obtaining terminal equipment operation data completed by the uplink data analysis;
the terminal and the second communication node of the downlink data establish a connection through a specific channel, in particular one of a transmission channel, a physical channel and an RLC channel,
before receiving a downlink data packet, the terminal obtains configuration of a second communication node and entity configuration information corresponding to downlink data, and correspondingly configures according to the entity configuration information corresponding to the downlink data to obtain terminal configuration completed with the downlink data configuration;
acquiring a data packet of the terminal configuration completed by the downlink data configuration and the terminal configuration synchronization parameter completed by the downlink data configuration, and obtaining terminal equipment operation data completed by the downlink data analysis;
the terminal equipment operation data after the uplink data analysis and the terminal equipment operation data after the downlink data analysis are stored, and operation data of the terminal equipment are obtained;
in another embodiment: and analyzing the stored data, and defining analysis rules corresponding to the uplink data and the downlink data according to the stored uplink data and downlink data.
In one embodiment: the step of monitoring the terminal equipment comprises the following steps:
adding a tracking module to the terminal equipment, wherein the tracking module comprises a tracking identifier;
monitoring the information state of the tracking identifier, wherein the information state of the tracking identifier comprises a lamp number, characters and images, and judging whether the terminal equipment can upload data to a server according to the information state of the tracking identifier comprising the lamp number, the characters and the images;
if the information state of the tracking identifier is a normal state, such as a high light, a neat text and/or a clear image, judging that the terminal data uploading server is successful;
if the information state of the tracking identifier is a warning state, such as dim light, blurred text and/or unclear image, judging that the terminal data uploading server fails;
a process of identifying the light, text and image, comprising:
setting a unified format of the tracking identifier and a coding type, wherein the unified format comprises names, codes and/or numbers, and the coding type comprises units, information and/or data;
generating a corresponding tracking identification code format according to the name, the code and/or the number,
for example: generating corresponding lamp number, generating corresponding character codes and generating corresponding image number; generating corresponding character codes according to the generated corresponding lamp numbers, generating corresponding image numbers, correspondingly acquiring tracking identification codes, acquiring tracking identifier states carried by terminal data through the tracking identification codes, and judging whether the terminal data uploading server is successful or not through the tracking identifier states;
generating a corresponding tracking identification code type according to the units, the information and/or the data,
for example: generating corresponding lamp signal units, generating corresponding text information and generating corresponding image data; and according to the corresponding lamp signal unit, the corresponding text information and the corresponding image data, acquiring a tracking identifier code, acquiring a tracking identifier state of terminal data, and judging whether the terminal data uploading server is successful or not through the tracking identifier state.
In one embodiment: the step of resetting the terminal equipment by adopting the pin group comprises the following steps:
acquiring terminal equipment abnormality information, wherein the terminal equipment abnormality information comprises terminal preset driving firmware loading information;
sample processing is carried out on loading information of preset driving firmware of the terminal according to an abnormality judgment rule, and abnormal data of a module is obtained, wherein the abnormal data comprise image code abnormal data, acquisition abnormal data and/or communication abnormal data;
the sample processing procedure includes the steps of,
dividing the loading information of the terminal preset driving firmware into a plurality of modules based on the monitoring state and parameter attribute of the abnormal information, setting a module corresponding to the reset operation of the terminal equipment of the trigger pin group based on the divided modules, and enhancing the information quantity of the triggered modules and improving the accuracy of the trigger information by reducing the quantity of the triggered modules;
the plurality of divided modules comprise a picture code module, an acquisition module and/or a communication module, wherein the picture code module, the acquisition module and/or the communication module are respectively provided with an alarm switch, the alarm switch is used for triggering the reset operation of the pin group terminal equipment, the alarm switch provides alarm information for the pin group, and the interference of invalid information in normal operation is reduced;
the alarm switch displays an alarm state, and after the alarm state is confirmed, the alarm switch does not display the alarm state any more, so that the state prompt of the alarm switch is not influenced when other modules are abnormal;
prompting the corresponding module to generate data abnormality through an alarm switch, and acquiring corresponding module abnormal data;
generating a corresponding abnormal data repair process according to the corresponding abnormal data of the module;
the abnormal data repair process includes the steps of,
generating corresponding abnormal information details based on the types of the modules, the processing systems of the modules and the degree of abnormality of the modules, wherein the corresponding abnormal information details comprise different data of the correct pattern data which are not generated and the wrong pattern abnormal data;
and resetting the terminal equipment by the pin group according to the data of the difference between the correct picture code data and the wrong picture code abnormal data.
In one embodiment: the step of sending the power-on/off instruction through the intelligent socket which is connected with one group of pin groups of the USB equipment in advance comprises the following steps:
the intelligent socket is provided with a hole site identifier, and the hole site identifier is matched with the pin group for operation;
the pin group is provided with a control unit, and the control unit is used for conducting power-on and power-off control on the intelligent socket according to a power-off instruction;
the power-on control comprises the steps of searching corresponding hole sites according to the hole site identifiers in the received power-on instruction, and performing power-on control on the intelligent socket according to the power-on instruction corresponding to the hole site identifiers;
the power on/off instruction comprises preset time point information and preset time period information, and the control unit is used for controlling the power on/off of the intelligent socket according to the power on/off instruction, and comprises the following steps:
and controlling the corresponding hole sites to be electrified or powered off at a preset time point according to the on-off instruction and controlling the corresponding hole sites to be in an on-off state or a power-off state in a preset time period according to the on-off instruction.
Referring to fig. 2, an apparatus for controlling restart of a terminal according to an embodiment of the present invention includes:
the installation unit is used for installing application software including but not limited to linux or windows on the terminal equipment, and inserting a U disk assembly into the terminal equipment, wherein the U disk assembly is internally provided with an application program for monitoring and controlling the linux or the windows;
the recording unit is used for acquiring the operation data of the terminal equipment, wherein the operation data comprises, but is not limited to, uplink and downlink data; monitoring the terminal equipment, and if the terminal equipment cannot upload operation data to the server or the terminal equipment cannot receive an instruction of the server, transferring the working process to a complement unit for succession;
the supplementary recording unit is used for providing three groups of external pin groups to access the USB port of the terminal equipment, adopting the pin groups to carry out reset operation of the terminal equipment, and if the pin groups return to the execution step 3 after the reset operation, the supplementary recording unit enters the next step when monitoring that the terminal equipment cannot upload operation data to the server or the terminal equipment cannot send an instruction of the server; if the application software and the USB equipment cannot be operated at the same time, an on-off instruction is sent out through an intelligent socket which is connected with one group of pin groups of the USB equipment in advance, so that the restarting effect of the terminal is achieved.
Although embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made therein without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (5)

1. A method for controlling a terminal to restart, comprising:
step 1, installing application software including but not limited to linux or windows on terminal equipment, and inserting a U disk assembly into the terminal equipment, wherein an application program for monitoring and controlling the linux or the windows is arranged in the U disk assembly;
step 2, acquiring operation data of the terminal equipment, wherein the operation data comprises, but is not limited to, uplink and downlink data;
step 3, monitoring the terminal equipment, and if the terminal equipment cannot upload operation data to the server or the terminal equipment cannot receive an instruction of the server, executing the step 4;
step 4, accessing a second USB interface of the terminal equipment through a first USB interface of the main pin group, adopting the main pin group to carry out reset operation of the terminal equipment, and if the main pin group returns to execute the step 3 after the reset operation, executing the step 5 when the terminal equipment still monitors that the terminal equipment cannot upload operation data to a server or the terminal equipment cannot receive an instruction of the server;
step 5, if the application software and the USB device cannot operate at the same time, sending a power on/off instruction through an intelligent socket pre-connected with a secondary pin group of the USB device, so as to achieve the effect of restarting the terminal, installing the application software including but not limited to linux or windows on the terminal device, and inserting a USB disk assembly into the terminal device, wherein the step of setting an application program for monitoring and controlling the linux or windows in the USB disk assembly includes:
a monitoring process is established, and real-time monitoring operation is carried out on the terminal equipment;
monitoring program parameters of linux or windows in the terminal equipment through the real-time monitoring operation, wherein the program parameters comprise real-time operation parameters, real-time operation states and real-time monitoring progress;
analyzing the control state of the terminal according to the real-time operation parameters, the real-time operation state and the real-time monitoring progress;
the real-time operation parameter analysis terminal control state process comprises the steps of obtaining real-time operation parameters including a terminal equipment peace index and a terminal equipment reliability index,
generating a terminal equipment running state display interface according to the terminal equipment peace index and the terminal equipment reliability index;
the real-time operation state analysis terminal control state process comprises the steps of acquiring real-time operation states including the mildness of operation of the terminal equipment and the reliability of operation of the terminal equipment,
generating a bar statistical diagram corresponding to the terminal equipment operation state display interface according to the mildness of the terminal equipment operation and the reliability of the terminal equipment operation;
the process of analyzing the control state of the terminal by the real-time monitoring progress comprises the steps of acquiring the real-time monitoring progress including the failure time of the terminal equipment and the failure probability of the terminal equipment,
generating a probability statistical graph matched with a bar statistical graph corresponding to the running state display interface of the terminal equipment according to the fault time of the terminal equipment and the fault reason of the terminal equipment;
the values of the bar statistics corresponding to the probability statistics must be equal,
comparing the bar statistical graph with the probability statistical graph, analyzing the control state of the terminal, and acquiring the operation data of the terminal equipment, wherein the step of acquiring the operation data comprises the following steps:
creating a storage process, and carrying out data storage operation on the terminal equipment through a docking data source interface to obtain storage data, wherein the storage data comprises uplink data and/or downlink data;
analyzing the operation data of the terminal equipment according to the uplink data and/or the downlink data;
the uplink data analysis process comprises the terminal receiving an uplink data packet, the terminal receiving the data packet sent by the uplink data,
the terminal and the first communication node of the uplink data establish a connection through a specific channel, in particular a data radio bearer, a signaling radio bearer and a logical channel,
before receiving an uplink data packet, the terminal obtains configuration of a first communication node and entity configuration information corresponding to uplink data, and correspondingly configures according to the entity configuration information corresponding to the uplink data to obtain terminal configuration completed with the uplink data configuration;
acquiring a data packet of the terminal configuration completed by the uplink data configuration and the terminal configuration synchronization parameter completed by the uplink data configuration, and obtaining terminal equipment operation data completed by the uplink data analysis;
the terminal and the second communication node of the downlink data establish a connection through a specific channel, in particular one of a transmission channel, a physical channel and an RLC channel,
before receiving a downlink data packet, the terminal obtains configuration of a second communication node and entity configuration information corresponding to downlink data, and correspondingly configures according to the entity configuration information corresponding to the downlink data to obtain terminal configuration completed with the downlink data configuration;
acquiring a data packet of the terminal configuration completed by the downlink data configuration and the terminal configuration synchronization parameter completed by the downlink data configuration, and obtaining terminal equipment operation data completed by the downlink data analysis;
and carrying out storage operation on the terminal equipment operation data of which the uplink data analysis is completed and the terminal equipment operation data of which the downlink data analysis is completed, and obtaining the operation data of the terminal equipment.
2. The method for controlling terminal restart according to claim 1, wherein the step of monitoring the terminal device comprises:
adding a tracking module to the terminal equipment, wherein the tracking module comprises a tracking identifier;
monitoring the information state of the tracking identifier, wherein the information state of the tracking identifier comprises a lamp number, characters and images, and judging whether the terminal equipment can upload data to a server according to the information state of the tracking identifier comprising the lamp number, the characters and the images;
if the information state of the tracking identifier is a normal state, such as a high light, a neat text and/or a clear image, judging that the terminal data uploading server is successful;
if the information state of the tracking identifier is a warning state, such as dim light, blurred text and/or unclear image, judging that the terminal data uploading server fails;
a process of identifying the light, text and image, comprising:
setting a unified format of the tracking identifier, wherein the unified format comprises a name, a code and/or a number, and the coding type comprises a unit, information and/or data;
and generating a corresponding tracking identification code format according to the name, the code and/or the number, correspondingly acquiring a tracking identification code, acquiring a tracking identifier state carried by the terminal data through the tracking identification code, and judging whether the terminal data uploading server is successful or not through the tracking identifier state.
3. The method for controlling terminal restart according to claim 1, wherein the step of performing the reset operation of the terminal device by using the main pin group comprises:
acquiring terminal equipment abnormality information, wherein the terminal equipment abnormality information comprises terminal preset driving firmware loading information;
sample processing is carried out on loading information of preset driving firmware of the terminal according to an abnormality judgment rule, and abnormal data of a module is obtained, wherein the abnormal data comprise image code abnormal data, acquisition abnormal data and/or communication abnormal data;
the sample processing process comprises the following steps:
dividing the terminal preset driving firmware loading information into a plurality of modules based on the monitoring state and parameter attribute of the abnormal information, setting a module corresponding to the reset operation of the terminal equipment of the trigger main pin group based on the divided modules, and enhancing the information quantity of the triggered modules and the accuracy of the trigger information by reducing the number of the triggered modules;
the plurality of divided modules comprise a picture code module, an acquisition module and/or a communication module, wherein the picture code module, the acquisition module and/or the communication module are respectively provided with an alarm switch, the alarm switch is used for triggering the reset operation of the terminal equipment of the main pin group, the alarm switch provides alarm information for the main pin group, and the interference of invalid information in normal operation is reduced;
the alarm switch displays an alarm state, and after the alarm state is confirmed, the alarm switch does not display the alarm state any more, so that the state prompt of the alarm switch is not influenced when other modules are abnormal;
prompting the corresponding module to generate data abnormality through an alarm switch, and acquiring corresponding module abnormal data;
generating a corresponding abnormal data repair process according to the corresponding abnormal data of the module;
the abnormal data repair process includes the steps of,
generating corresponding abnormal information details based on the types of the modules, the processing systems of the modules and the degree of abnormality of the modules, wherein the corresponding abnormal information details comprise different data of the correct pattern data which are not generated and the wrong pattern abnormal data;
and the main pin group performs reset operation of the terminal equipment according to the data of the difference between the correct graphic code data and the wrong graphic code abnormal data.
4. The method for controlling a terminal to restart according to claim 1, wherein the step of sending a power-on/off command through the smart jack pre-connected to the secondary pin group of the USB device comprises:
the intelligent socket is provided with a hole site identifier, and the hole site identifier is matched with the auxiliary pin group for operation;
the auxiliary pin group is provided with a control unit, and the control unit is used for conducting power-on and power-off control on the intelligent socket according to a power-off instruction;
the power-on control comprises the steps of searching corresponding hole sites according to the hole site identifiers in the received power-on instruction, and performing power-on control on the intelligent socket according to the power-on instruction corresponding to the hole site identifiers;
the power on/off instruction comprises preset time point information and preset time period information, and the control unit is used for controlling the power on/off of the intelligent socket according to the power on/off instruction, and comprises the following steps:
and controlling the corresponding hole sites to be electrified or powered off at a preset time point according to the on-off instruction and controlling the corresponding hole sites to be in an on-off state or a power-off state in a preset time period according to the on-off instruction.
5. An apparatus for controlling a terminal restart, wherein the method for controlling a terminal restart according to any one of claims 1 to 4 is performed by using the method for controlling a terminal restart, and the apparatus for controlling a terminal restart comprises:
the installation unit is used for installing application software including but not limited to linux or windows on the terminal equipment, and inserting a U disk assembly into the terminal equipment, wherein the U disk assembly is internally provided with an application program for monitoring and controlling the linux or the windows;
the recording unit is used for acquiring the operation data of the terminal equipment, wherein the operation data comprises, but is not limited to, uplink and downlink data; monitoring the terminal equipment, and if the terminal equipment cannot upload operation data to the server or the terminal equipment cannot receive an instruction of the server, transferring the working process to a complement unit for succession;
the system comprises a supplementary recording unit, a server and a terminal device, wherein the supplementary recording unit is used for accessing a second USB (universal serial bus) interface of the terminal device through a first USB interface of a main pin group, adopting the main pin group to carry out reset operation of the terminal device, returning to the supplementary recording unit after the main pin group is reset operation, and entering the next step if the supplementary recording unit still monitors that the terminal device cannot upload operation data to the server or the terminal device cannot receive an instruction of the server; application software and USB equipment can't operate simultaneously, then send the instruction of turning on and off the power supply through the smart jack of the vice stitch group pre-connection of USB equipment, reach the effect that the terminal restarted, the installation unit includes:
an installation subunit, configured to install application software on a terminal device, including but not limited to linux or windows;
an operation subunit, configured to insert a usb disk assembly into the terminal device, where an application program for monitoring and controlling linux or windows is disposed in the usb disk assembly, and the recording unit includes:
the input subunit is used for acquiring operation data of the terminal equipment, wherein the operation data comprises, but is not limited to, uplink and downlink data;
an intervention subunit, configured to monitor the terminal device, and if it is monitored that the terminal device cannot upload operation data to the server or the terminal device cannot receive an instruction from the server, the working process is transferred to the complement unit for replacement, where the complement unit includes:
the supplementary recording subunit is used for accessing the second USB interface of the terminal equipment through the first USB interface of the main pin group, adopting the main pin group to carry out the reset operation of the terminal equipment, returning to the supplementary recording unit after the reset operation of the main pin group, and entering the next step if the supplementary recording unit still monitors that the terminal equipment cannot upload operation data to the server or the terminal equipment cannot receive the instruction of the server;
and the backup subunit is used for enabling the application software and the USB equipment to simultaneously fail to operate, and sending a power-on and power-off instruction through the intelligent socket pre-connected with the auxiliary pin group of the USB equipment, so that the effect of restarting the terminal is achieved.
CN202111109294.8A 2021-09-22 2021-09-22 Method for controlling restarting of terminal Active CN113824787B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111109294.8A CN113824787B (en) 2021-09-22 2021-09-22 Method for controlling restarting of terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111109294.8A CN113824787B (en) 2021-09-22 2021-09-22 Method for controlling restarting of terminal

Publications (2)

Publication Number Publication Date
CN113824787A CN113824787A (en) 2021-12-21
CN113824787B true CN113824787B (en) 2024-03-29

Family

ID=78920866

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111109294.8A Active CN113824787B (en) 2021-09-22 2021-09-22 Method for controlling restarting of terminal

Country Status (1)

Country Link
CN (1) CN113824787B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110106579A (en) * 2010-03-23 2011-09-29 (주)이월리서치 Fault management system for intelligent network switching device
CN107463460A (en) * 2017-08-15 2017-12-12 深圳科士达科技股份有限公司 A kind of electric supply system and method for supplying power to based on hardware watchdog
CN108547513A (en) * 2018-04-03 2018-09-18 孙利嫚 A kind of smart lock is external to restart main control singlechip method
CN110401949A (en) * 2019-06-19 2019-11-01 北京友宝在线科技股份有限公司 Terminal device running log method for uploading and device
WO2020107205A1 (en) * 2018-11-27 2020-06-04 刘馥祎 Computing device maintenance method and apparatus, storage medium and program product
CN111327693A (en) * 2020-02-07 2020-06-23 天津大学 Remote control industrial gateway system based on MQTT

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110106579A (en) * 2010-03-23 2011-09-29 (주)이월리서치 Fault management system for intelligent network switching device
CN107463460A (en) * 2017-08-15 2017-12-12 深圳科士达科技股份有限公司 A kind of electric supply system and method for supplying power to based on hardware watchdog
CN108547513A (en) * 2018-04-03 2018-09-18 孙利嫚 A kind of smart lock is external to restart main control singlechip method
WO2020107205A1 (en) * 2018-11-27 2020-06-04 刘馥祎 Computing device maintenance method and apparatus, storage medium and program product
CN110401949A (en) * 2019-06-19 2019-11-01 北京友宝在线科技股份有限公司 Terminal device running log method for uploading and device
CN111327693A (en) * 2020-02-07 2020-06-23 天津大学 Remote control industrial gateway system based on MQTT

Also Published As

Publication number Publication date
CN113824787A (en) 2021-12-21

Similar Documents

Publication Publication Date Title
CN107147540A (en) Fault handling method and troubleshooting cluster in highly available system
CN103532738B (en) The defining method of a kind of port connection relationship and device
CN109548051B (en) Wireless data transmission method and terminal of Internet of things
CN107239385B (en) Server and indicator light control method
CN111008026B (en) Cluster management method, device and system
CN111953542B (en) System for guaranteeing stable operation of gateway
CN113821242B (en) Intelligent firmware matching method and system
CN111953525A (en) Special equipment operation and maintenance monitoring system
CN111953809A (en) Method, device, equipment and system for managing resource address
CN113824787B (en) Method for controlling restarting of terminal
CN114143023A (en) Monitoring system for running states of multiple low-voltage transformer areas
CN114378862A (en) Robot abnormity automatic repairing method and device based on cloud platform and robot
CN101727378B (en) Method and system for controlling stable operation of application service program
CN117527531A (en) Terminal communication fault restarting method and system
CN116844087A (en) Monitoring method and device of operating system and BMC
CN111176893A (en) Computer remote control method, device, system and storage medium
CN115981906A (en) Equipment fault processing method and equipment fault processing system
CN113722211B (en) BMC debugging method, device, system and embedded equipment
CN104753993A (en) Method for monitoring server and monitoring device
CN114265324A (en) Method and device for monitoring running state of equipment and terminal equipment
CN111083003A (en) Monitoring system and method, storage medium and processor
CN110413302A (en) A kind of method for remote updating and system of CT equipment
CN110597652A (en) Fault detection system of intelligent interactive panel and control method thereof
CN109818422A (en) A kind of monitor between areas equipment from creation system and from creation method
CN115333616B (en) Method and device for detecting optical fiber misconnection, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant