CN107613453B - Control method and communication system - Google Patents

Control method and communication system Download PDF

Info

Publication number
CN107613453B
CN107613453B CN201710835128.3A CN201710835128A CN107613453B CN 107613453 B CN107613453 B CN 107613453B CN 201710835128 A CN201710835128 A CN 201710835128A CN 107613453 B CN107613453 B CN 107613453B
Authority
CN
China
Prior art keywords
bluetooth
mobile terminal
serial
maintained
instruction
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
CN201710835128.3A
Other languages
Chinese (zh)
Other versions
CN107613453A (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.)
Hunan Hengmao Information Technology Co.,Ltd.
Original Assignee
Hunan Fullriver High 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 Hunan Fullriver High Technology Co ltd filed Critical Hunan Fullriver High Technology Co ltd
Priority to CN201710835128.3A priority Critical patent/CN107613453B/en
Publication of CN107613453A publication Critical patent/CN107613453A/en
Application granted granted Critical
Publication of CN107613453B publication Critical patent/CN107613453B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a control method and a communication system. The method is applied to a communication system, and the system comprises a device to be maintained, a Bluetooth serial port conversion device and a mobile terminal which are in communication connection. Wherein, waiting to maintain equipment and including the Console module, the Console module passes through serial ports with bluetooth commentaries on classics serial ports equipment and is connected, and mobile terminal includes bluetooth module. The mobile terminal receives the input operation and sends an AT instruction corresponding to the received operation to the Bluetooth serial-to-serial device through the Bluetooth module according to the received operation. The Bluetooth serial-to-serial port device receives the AT instruction and sends the AT instruction to a Console module of the device to be maintained, so that the device to be maintained executes the received AT instruction. Therefore, when the equipment to be maintained needs to be maintained, maintenance personnel can send the AT instruction set through the mobile terminal by using the Bluetooth, and the maintenance of the equipment to be maintained can be realized.

Description

Control method and communication system
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a control method and a communication system.
Background
With the explosive development of communication networks in China, the number of base stations and machine rooms is increased geometrically, which increases the maintenance cost for domestic mobile communication companies (such as China Mobile, China telecom, etc.).
When a machine room or base station equipment fails, the problem is generally solved by adopting a remote login mode, and the mode can cover more than 95% of equipment failures. However, a few system failures may not be resolved remotely, for example, a router itself is down and does not respond to requests sent by the internet, and in this case, such a system failure is a hard failure.
When a hard fault occurs, field maintenance is required. Due to the fact that maintenance personnel and transportation are resident in machine rooms and base stations in cities, and the like, the difficulty of solving hard faults by the maintenance personnel in the field is low.
However, the geographical environments of the base stations and the machine rooms are very different, and some base stations are distributed on hills, mountainous areas, high lands and even islands, so that the difficulty of meeting the site is high. In addition, in order to have a good debugging environment, maintenance personnel must carry a large amount of maintenance equipment such as a traditional notebook computer and a serial port data line.
Disclosure of Invention
In order to overcome the above disadvantages in the prior art, the technical problem to be solved by the present invention is to provide a control method and a communication system, which can maintain a device to be maintained by sending an AT instruction set through a mobile terminal when the device to be maintained fails, thereby avoiding carrying a large amount of maintenance devices such as a conventional notebook computer and a serial data line.
The embodiment of the invention provides a control method, which is applied to a communication system, wherein the system comprises a device to be maintained, a Bluetooth serial-to-serial device and a mobile terminal which are in communication connection, the device to be maintained comprises a Console module, the Console module is connected with the Bluetooth serial-to-serial device through a serial port, the mobile terminal comprises a Bluetooth module, and the method comprises the following steps:
the mobile terminal receives input operation and sends an AT instruction corresponding to the received operation to the Bluetooth serial-to-serial device through the Bluetooth module according to the received operation;
the Bluetooth serial-to-serial port equipment receives the AT instruction and sends the AT instruction to the Console module of the equipment to be maintained;
and the equipment to be maintained executes the AT instruction received by the Console module through the serial port so as to realize the maintenance of the equipment to be maintained.
The embodiment of the invention also provides a communication system, which comprises a device to be maintained, a Bluetooth serial-to-serial device and a mobile terminal which are in communication connection, wherein the device to be maintained comprises a Console module, the Console module is connected with the Bluetooth serial-to-serial device through a serial port, the mobile terminal comprises a Bluetooth module,
the mobile terminal is used for receiving input operation and sending an AT instruction corresponding to the received operation to the Bluetooth serial-to-serial port device through the Bluetooth module according to the received operation;
the Bluetooth serial-to-serial port device is used for receiving the AT instruction and sending the AT instruction to the Console module of the device to be maintained;
the device to be maintained is used for executing the AT instruction received by the Console module through the serial port so as to maintain the device to be maintained.
Compared with the prior art, the invention has the following beneficial effects:
the embodiment of the invention provides a control method and a communication system. The method is applied to the system. The system comprises a device to be maintained, a Bluetooth-to-serial port device and a mobile terminal which are in communication connection. The device to be maintained comprises a Console module, and the Console module is connected with the Bluetooth serial-to-serial device through a serial port. The mobile terminal comprises a Bluetooth module. The mobile terminal receives input operation and sends an AT instruction corresponding to the operation to the Bluetooth serial port conversion device through the Bluetooth module, so that the Bluetooth serial port conversion device sends the AT instruction to the Console module connected through a serial port. And after receiving the AT instruction received by the Console module through the serial port, the equipment to be maintained executes the AT instruction, thereby realizing the maintenance of the equipment to be maintained. Therefore, when the equipment to be maintained breaks down, maintenance personnel do not need to carry a large amount of maintenance equipment such as a traditional notebook computer and a serial port data line, the equipment to be maintained can be maintained by sending the AT instruction set through the mobile terminal, and the workload of the maintenance personnel is reduced.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a block diagram of a communication system according to a preferred embodiment of the present invention.
Fig. 2 is a block schematic diagram of the mobile terminal of fig. 1.
Fig. 3 is a flowchart illustrating a control method according to a preferred embodiment of the invention.
Fig. 4 is a second flowchart of the control method according to the preferred embodiment of the invention.
Fig. 5 is a third schematic flow chart of a control method according to a preferred embodiment of the invention.
Fig. 6 is a flowchart illustrating sub-steps included in step S110 in fig. 5.
Fig. 7 is a flowchart illustrating sub-steps included in sub-step S113 in fig. 6.
Fig. 8 is a fourth flowchart of the control method according to the preferred embodiment of the invention.
Icon: 10-a communication system; 100-a mobile terminal; 110-a memory; 120-a memory controller; 130-a processor; 140-a bluetooth module; 150-a display module; 200-Bluetooth to serial port equipment; 300-equipment to be maintained; 301-Console module.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Some embodiments of the invention are described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a block diagram of a communication system 10 according to a preferred embodiment of the present invention. The communication system 10 may include a mobile terminal 100, a bluetooth to serial device 200, and a device 300 to be maintained. Wherein, the device 300 to be maintained comprises a Console module 301. The bluetooth serial-to-serial device 200 and the Console module 301 of the device 300 to be maintained realize communication through a serial port, and the bluetooth serial-to-serial device 200 and the mobile terminal 100 realize communication in a wireless mode. Therefore, the mobile terminal 100 realizes data communication with the device to be maintained 300 through the bluetooth to serial port device 200.
Referring to fig. 2, fig. 2 is a block diagram of the mobile terminal 100 in fig. 1. The mobile terminal 100 may be, but is not limited to, a smart phone, a tablet computer, a notebook, a vehicle-mounted computer, etc. The mobile terminal 100 includes: memory 110, memory controller 120, processor 130, bluetooth module 140, and display module 150.
The memory 110, the memory controller 120, the processor 130, the bluetooth module 140 and the display module 150 are electrically connected to each other directly or indirectly, so as to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The memory 110 has stored therein software for transmitting AT instructions. The processor 130 executes various functional applications and data processing by executing software programs and modules stored in the memory 110.
The Memory 110 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The memory 110 is used for storing a program, and the processor 130 executes the program after receiving the execution instruction. Access to the memory 110 by the processor 130 and possibly other components may be under the control of the memory controller 120.
The processor 130 may be an integrated circuit chip having signal processing capabilities. The Processor 130 may be a general-purpose Processor including a Central Processing Unit (CPU), a Network Processor (NP), and the like. But may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The bluetooth module 140 is configured to enable the mobile terminal 100 to establish bluetooth communication with other bluetooth devices (e.g., the bluetooth-to-serial device 200). Bluetooth (Bluetooth) is a wireless technology standard, and can realize short-distance data exchange (using UHF radio waves in ISM band of 2.4-2.485 GHz) between fixed equipment, mobile equipment and a building personal area network.
The display module 150 is configured to display the received information, so that the maintenance personnel can obtain the required information.
It is to be understood that the configuration shown in fig. 2 is merely exemplary, and that the mobile terminal 100 may include more or fewer components than shown in fig. 2, or have a different configuration than shown in fig. 2. The components shown in fig. 2 may be implemented in hardware, software, or a combination thereof.
The bluetooth serial-to-serial device 200 may be a bluetooth serial-to-serial adapter or other devices that can implement bluetooth communication between serial devices.
The device 300 to be maintained may be a router, a switch, or other mobile communication devices. There are three ways to control the device 300 to be maintained: the AT command is sent through a serial port and controlled through a hardware switch. Generally, it is preferable to send network control commands via the internet, but this approach can only solve some of the problems. When the network control command does not cover a certain operation, even the network fails, the AT command is generally adopted for control. And finally, the control is carried out through a hardware switch.
The AT (attention) command is a control protocol supported by most mobile communication devices, and the AT command is transmitted and received through a standard serial port and can support almost all control commands of the devices, such as switching devices, restarting devices, querying logs, setting configuration, querying the current condition of the system, and the like. The AT command can maintain the device 300 to be maintained.
However, in the prior art, the AT control hardware must have a serial port or a serial port switching USB interface connected to the device via a data line, so as to control the device.
Referring to fig. 3, fig. 3 is a flowchart illustrating a control method according to a preferred embodiment of the invention. The method is applied to the communication system 10. The communication system 10 may include a device to be maintained 300, a bluetooth to serial device 200, and a mobile terminal 100, which are in communication connection. The device 300 to be maintained may include a Console module 301, the Console module 301 is connected to the bluetooth serial to serial device 200 through a serial port, and the mobile terminal 100 includes a bluetooth module 140. The specific flow of the control method is explained in detail below.
In step S120, the mobile terminal 100 receives the input operation, and sends an AT command corresponding to the received operation to the bluetooth serial to serial device 200 through the bluetooth module 140 according to the received operation.
In this embodiment, the mobile terminal 100 may include an input device (e.g., a mouse, a keyboard, etc.), and may also include the display module 150. The display module 150 includes an interactive interface for displaying information and receiving operations of maintenance personnel. The interactive interface may be a touch-sensitive display screen. The touch display screen may be a capacitive touch screen or a resistive touch screen supporting single-point and multi-point touch operations. Supporting single-point and multi-point touch operations means that the touch display can sense touch operations generated from one or more positions on the touch display, and the sensed touch operations are delivered to the processor 130 for processing and calculation.
In this embodiment, after the mobile terminal 100 receives the operation, the AT command corresponding to the operation is sent to the bluetooth serial to serial device 200 through the bluetooth module 140.
As an embodiment, the mobile terminal 100 is installed with software for transmitting AT commands, and the software stores the corresponding relationship between each operation and different AT commands in advance. After the mobile terminal 100 detects an operation, the mobile terminal 100 searches for an AT command corresponding to the operation, and sends the AT command to the bluetooth serial to serial device 200.
The operation may include a query operation, a control operation, and an authority operation. For example, AT commands such as a log for querying the device 300 to be maintained or the current system status are sent through the query operation. Through the above operation, the AT command may be sent, so that the mobile terminal 100 maintains the device 300 to be maintained.
Step S130, the bluetooth to serial device 200 receives the AT command and sends the AT command to the Console module 301 of the device 300 to be maintained.
In this embodiment, the Console module 301 is connected to the bluetooth serial to serial device 200 through a serial port. The bluetooth serial-to-serial device 200 sends the AT command sent by the mobile terminal 100 to the Console module 301.
For example, the device 300 to be maintained is a switch. The switching Console module 301 includes a Console port. When the router is maintained by the computer, the bluetooth serial port conversion device 200 is connected with the Console port, so that the connection between the bluetooth serial port conversion device 200 and the switch is realized. After receiving the AT command, the bluetooth serial-to-serial device 200 sends the AT command to the Console module 301 through the Console port. Thus, the Console module 301 can receive the AT command without going through the Console line.
Step S140, the device 300 to be maintained executes the AT command received by the Console module 301 through the serial port, so as to maintain the device 300 to be maintained.
In this embodiment, after receiving the AT command, the device to be maintained 300 executes the AT command. For example, the received AT instruction is a log for querying the device 300 to be maintained, and the device 300 to be maintained performs processing of querying the log.
Therefore, when the device 300 to be maintained is maintained, the maintenance personnel can maintain the device by the maintenance means of the wireless mobile terminal 100 instead of the traditional serial port and the traditional hardware maintenance means of the notebook computer. The latter may be suitable for devices 300 to be maintained at complex address locations, terrain, and may also reduce the weight of hardware maintenance equipment.
In an implementation manner of this embodiment, the device 300 to be maintained and the bluetooth serial to serial device 200 may be separately configured, that is, the bluetooth serial to serial device 200 is an independent component that can be in serial communication connection with the device 300 to be maintained. The device 300 to be maintained is configured to maintain itself according to the AT instruction received by the Console module 301, and the bluetooth serial to serial device 200 is configured to send the AT instruction sent by the mobile terminal 100 to the device 300 to be maintained. Through the arrangement, when the Bluetooth serial port conversion equipment 200 fails, maintenance personnel can replace the equipment conveniently.
In another implementation manner of this embodiment, the device 300 to be maintained includes a Console module 301 and a bluetooth to serial device 200. That is, the bluetooth to serial device 200 is disposed in the device to be maintained 300, that is, the bluetooth to serial device 200 is a part of the device to be maintained 300. Through the above arrangement, when the device 300 to be maintained needs to be maintained, a maintainer can maintain the device 300 to be maintained only by carrying the mobile terminal 100.
Referring to fig. 4, fig. 4 is a second schematic flow chart of the control method according to the preferred embodiment of the invention. After step S140, the method may further include step S150 and step S160.
Step S150, the device to be maintained 300 sends AT data to the mobile terminal 100 as a reply message.
In this embodiment, after the to-be-maintained device 300 receives and executes the received AT command, the information corresponding to the execution result is sent to the mobile terminal 100 in the form of AT data, so as to serve as the reply information for the received AT command.
Specifically, the device 300 to be maintained executes an AT command, and sends a reply message to be sent to the Console module 301, and the Console module 301 is connected to the bluetooth serial-to-serial device 200, in which case an output signal of the Console module 301 is used as an input signal of the bluetooth serial-to-serial device 200. Therefore, the device to be maintained 300 sends the reply message to the mobile terminal 100 through the Console module 301 and the bluetooth-to-serial device 200.
Step S160, the mobile terminal 100 receives and processes the reply message, and displays the reply message.
In this embodiment, the mobile terminal 100 receives the reply message of the device to be maintained 300 through the bluetooth module 140. Since the reply message is AT data, it is inconvenient to directly display the AT data through the display module 150. Therefore, the mobile terminal 100 processes the reply message first and then displays the processed reply message. Therefore, after the maintenance personnel sends the AT command through the mobile terminal 100, the execution situation of the device to be maintained 300 can be obtained.
Referring to fig. 5, fig. 5 is a third schematic flow chart of a control method according to a preferred embodiment of the invention. Before step S110, the method may further include step S110.
Step S110, the mobile terminal 100 establishes a communication connection with the bluetooth serial to serial device 200.
Referring to fig. 6, fig. 6 is a flowchart illustrating sub-steps included in step S110 in fig. 5. The step S110 may include a substep S111, a substep S112, and a substep S113.
And a substep S111, in which the mobile terminal 100 and the bluetooth to serial device 200 respectively start a bluetooth function.
Specifically, the bluetooth to serial device 200 starts the function of the bluetooth device and sets itself to be in a searchable state, so that the mobile terminal 100 searches for the bluetooth to serial device 200.
In the sub-step S112, the mobile terminal 100 queries nearby bluetooth devices, and initiates a pairing request to the bluetooth serial device 200 after finding the bluetooth serial device 200.
Specifically, the mobile terminal 100 searches for nearby bluetooth devices, and sends a pairing request to the bluetooth serial device 200 when the searched bluetooth devices include the bluetooth serial device 200. Wherein the pairing request includes an identification code of the mobile terminal 100.
The identification code may be, but is not limited to, a PIN Number (personal identification Number) of the Mobile terminal 100, an IMEI (International Mobile equipment identity), a predetermined identification code, and the like. The agreed identification code refers to an identification code that is received and stored by the bluetooth serial to serial device 200 and is input in advance by a maintainer.
In the substep S113, the bluetooth to serial device 200 establishes a bluetooth communication connection with the mobile terminal 100 according to the pairing request.
Referring to fig. 7, fig. 7 is a flowchart illustrating sub-steps included in sub-step S113 in fig. 6. The sub-step S113 may include a sub-step S1131, a sub-step S1132, and a sub-step S1133.
In the substep S1131, the bluetooth to serial device 200 determines whether the identification code of the mobile terminal 100 in the pairing request is consistent with the stored verification code.
In this embodiment, the bluetooth serial to serial device 200 compares the identification code of the mobile terminal 100 in the pairing request with the stored verification code to determine whether the identification code of the mobile terminal 100 in the pairing request is consistent with the stored verification code.
The verification code stored in the bluetooth serial port device 200 may be the verification code input by the maintainer on site received in the pairing of the mobile terminal 100 and the bluetooth serial port device 200, or the verification code input by the maintainer stored in advance.
If the identification code of the mobile terminal 100 is consistent with the verification code, step S1132 is executed.
And a sub-step S1132 of determining that the authentication is successful, establishing bluetooth communication with the mobile terminal 100, and sending a prompt message of successful authentication to the mobile terminal 100.
In this embodiment, the identification code of the mobile terminal 100 is consistent with the verification code, which indicates that the authentication is passed, and the bluetooth serial-to-serial device 200 establishes a bluetooth communication data channel with the mobile terminal 100, and returns a prompt message indicating that the authentication is successful to the mobile terminal 100, so as to notify maintenance personnel that the authentication is passed.
If the identification code of the mobile terminal 100 is not consistent with the verification code, step S1133 is executed.
And a substep S1133 of determining that the authentication has failed and sending a prompt message indicating that the authentication has failed to the mobile terminal 100.
In this embodiment, the identifier of the mobile terminal 100 is not consistent with the verification code, which indicates that the authentication fails, and the bluetooth to serial device 200 refuses to establish a bluetooth communication data channel with the mobile terminal 100, and returns a prompt message indicating that the authentication fails to the mobile terminal 100, so as to notify maintenance personnel of the authentication failure.
Referring to fig. 8, fig. 8 is a fourth schematic flowchart of a control method according to a preferred embodiment of the invention. Before step S120, the method may further include S101.
Step S101, the mobile terminal 100 converts the AT command into a selectable selection identifier.
In this embodiment, the mobile terminal 100 may further convert various AT commands into selection identifiers for the maintenance personnel to select through stored software for sending the AT commands, that is, convert the AT commands into corresponding UI interfaces. For example, after the maintenance staff selects the "query log" corresponding to the AT instruction of the query log, the mobile terminal 100 obtains the AT instruction corresponding to the "query log" through the software, and transmits the AT instruction to the bluetooth serial-to-serial device 200 through the transparent transmission of the bluetooth module 140, and further transmits the AT instruction to the device 300 to be maintained, thereby implementing the maintenance of the device 300 to be maintained. And the AT instruction is converted into a corresponding UI interface, so that the operation of maintenance personnel is facilitated.
Referring to fig. 1 again, an embodiment of the present invention further provides a communication system 10. The communication system 10 includes a device 300 to be maintained, a bluetooth-to-serial device 200, and a mobile terminal 100, which are in communication connection. The device 300 to be maintained includes a Console module 301, the Console module 301 is connected to the bluetooth serial to serial device 200 through a serial port, and the mobile terminal 100 includes a bluetooth module 140.
The mobile terminal 100 is configured to receive an input operation, and send an AT command corresponding to the received operation to the bluetooth serial to serial device 200 through the bluetooth module 140 according to the received operation.
The bluetooth serial-to-serial device 200 is configured to receive the AT command and send the AT command to the Console module 301 of the device 300 to be maintained.
The device 300 to be maintained is configured to execute the AT instruction received by the Console module 301 through the serial port, so as to maintain the device 300 to be maintained.
In this embodiment, the mobile terminal 100 is further configured to establish a communication connection with the bluetooth serial to serial device 200.
The method for establishing communication connection between the mobile terminal 100 and the bluetooth serial to serial device 200 further includes:
the mobile terminal 100 and the bluetooth to serial device 200 respectively start a bluetooth function;
the mobile terminal 100 queries nearby bluetooth devices, and initiates a pairing request to the bluetooth serial device 200 after discovering the bluetooth serial device 200, wherein the pairing request includes an identification code of the mobile terminal 100;
and the bluetooth serial-to-serial device 200 establishes bluetooth communication connection with the mobile terminal 100 according to the pairing request.
In an implementation manner of this embodiment, the bluetooth to serial port apparatus 200 is disposed in the apparatus 300 to be maintained, or the bluetooth to serial port apparatus 200 is an independent member that can be connected to the apparatus 300 to be maintained.
In summary, the embodiments of the present invention provide a control method and a communication system. The method is applied to the system. The system comprises a device to be maintained, a Bluetooth-to-serial port device and a mobile terminal which are in communication connection. The device to be maintained comprises a Console module, and the Console module is connected with the Bluetooth serial-to-serial device through a serial port. The mobile terminal comprises a Bluetooth module. The mobile terminal receives input operation and sends an AT instruction corresponding to the operation to the Bluetooth serial port conversion device through the Bluetooth module, so that the Bluetooth serial port conversion device sends the AT instruction to the Console module connected through a serial port. And after receiving the AT instruction received by the Console module through the serial port, the equipment to be maintained executes the AT instruction, thereby realizing the maintenance of the equipment to be maintained. Therefore, when the equipment to be maintained breaks down, maintenance personnel do not need to carry a large amount of maintenance equipment such as a traditional notebook computer and a serial port data line, the equipment to be maintained can be maintained by sending the AT instruction set through the mobile terminal, and the workload of the maintenance personnel is reduced.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (9)

1. A control method is characterized by being applied to a communication system, wherein the system comprises a device to be maintained, a Bluetooth serial-to-serial device and a mobile terminal which are in communication connection, the device to be maintained comprises a Console module, the Console module is connected with the Bluetooth serial-to-serial device through a serial port, the mobile terminal comprises a Bluetooth module, and the method comprises the following steps:
the mobile terminal receives input operation and sends an AT instruction corresponding to the received operation to the Bluetooth serial port conversion device through the Bluetooth module according to the received operation, wherein the AT instruction is an instruction for maintaining the device to be maintained;
the Bluetooth serial-to-serial port equipment receives the AT instruction and sends the AT instruction to the Console module of the equipment to be maintained;
the equipment to be maintained executes the AT instruction received by the Console module through the serial port so as to realize the maintenance of the equipment to be maintained;
wherein, prior to the step of the mobile terminal receiving the input operation, the method further comprises:
and the mobile terminal converts the AT instruction into a selectable selection identifier.
2. The method according to claim 1, wherein after the step of operating the device to be maintained according to the AT command received by the Console module through the serial port to implement the maintenance of the device to be maintained, the method further comprises:
the equipment to be maintained sends AT data to the mobile terminal as reply information;
and the mobile terminal receives and processes the reply information and displays the reply information.
3. The method according to claim 1, wherein prior to the step of the mobile terminal receiving the input, the method further comprises:
the mobile terminal establishes communication connection with the Bluetooth serial port conversion device;
the step of establishing communication connection between the mobile terminal and the Bluetooth serial port conversion device comprises the following steps:
the mobile terminal and the Bluetooth serial port conversion equipment respectively start a Bluetooth function;
the mobile terminal inquires nearby Bluetooth equipment and initiates a pairing request to the Bluetooth serial-to-serial equipment after finding the Bluetooth serial-to-serial equipment, wherein the pairing request comprises an identification code of the mobile terminal;
and the Bluetooth serial port conversion equipment establishes Bluetooth communication connection with the mobile terminal according to the pairing request.
4. The method according to claim 3, wherein the step of establishing the Bluetooth communication connection between the Bluetooth device and the mobile terminal according to the pairing request comprises:
the Bluetooth serial-to-serial port device compares the identification code of the mobile terminal in the pairing request with a stored verification code to judge whether authentication is successful;
if the identification code of the mobile terminal is consistent with the verification code, judging that the authentication is successful, establishing Bluetooth communication with the mobile terminal, and sending prompt information of successful authentication to the mobile terminal;
and if the identification code of the mobile terminal is inconsistent with the verification code, judging that the authentication fails, and sending prompt information of the authentication failure to the mobile terminal.
5. The method of claim 1, wherein the operations comprise query operations, control operations, and permission operations.
6. The method according to claim 1, wherein the bluetooth to serial device is disposed in the device to be maintained; alternatively, the first and second electrodes may be,
the Bluetooth serial port conversion device is an independent piece which can be connected with the device to be maintained.
7. A communication system is characterized in that the system comprises a device to be maintained, a Bluetooth serial-to-serial device and a mobile terminal which are in communication connection, wherein the device to be maintained comprises a Console module, the Console module is connected with the Bluetooth serial-to-serial device through a serial port, the mobile terminal comprises a Bluetooth module,
the mobile terminal is used for receiving input operation and sending an AT instruction corresponding to the received operation to the Bluetooth serial port conversion equipment through the Bluetooth module according to the received operation, wherein the AT instruction is an instruction for maintaining the equipment to be maintained;
the Bluetooth serial-to-serial port device is used for receiving the AT instruction and sending the AT instruction to the Console module of the device to be maintained;
the device to be maintained is used for executing the AT instruction received by the Console module through the serial port so as to realize the maintenance of the device to be maintained;
the mobile terminal is further used for converting the AT instruction into a selectable selection identifier.
8. The system according to claim 7, wherein the mobile terminal is further configured to establish a communication connection with the bluetooth to serial device;
the mobile terminal is further used for establishing communication connection with the Bluetooth serial port conversion device in a mode comprising the following steps:
the mobile terminal and the Bluetooth serial port conversion equipment respectively start a Bluetooth function;
the mobile terminal inquires nearby Bluetooth equipment and initiates a pairing request to the Bluetooth serial-to-serial equipment after finding the Bluetooth serial-to-serial equipment, wherein the pairing request comprises an identification code of the mobile terminal;
and the Bluetooth serial port conversion equipment establishes Bluetooth communication connection with the mobile terminal according to the pairing request.
9. The system of claim 7, wherein the bluetooth to serial device is disposed in the device to be maintained; alternatively, the first and second electrodes may be,
the Bluetooth serial port conversion device is an independent piece which can be connected with the device to be maintained.
CN201710835128.3A 2017-09-15 2017-09-15 Control method and communication system Active CN107613453B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710835128.3A CN107613453B (en) 2017-09-15 2017-09-15 Control method and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710835128.3A CN107613453B (en) 2017-09-15 2017-09-15 Control method and communication system

Publications (2)

Publication Number Publication Date
CN107613453A CN107613453A (en) 2018-01-19
CN107613453B true CN107613453B (en) 2020-10-09

Family

ID=61060170

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710835128.3A Active CN107613453B (en) 2017-09-15 2017-09-15 Control method and communication system

Country Status (1)

Country Link
CN (1) CN107613453B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113568639A (en) * 2021-07-28 2021-10-29 宁波三星医疗电气股份有限公司 Software version upgrade management method for Bluetooth module in energy controller
CN113965917B (en) * 2021-10-19 2024-04-02 深圳市元征科技股份有限公司 Communication method, device and terminal equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104320293A (en) * 2014-07-21 2015-01-28 张朝翼 Wireless transmission debugging system based on Bluetooth
CN104579796A (en) * 2015-01-28 2015-04-29 迈普通信技术股份有限公司 Remote network equipment maintenance method, remote network equipment maintenance system and terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100454867C (en) * 2005-03-16 2009-01-21 联想(北京)有限公司 Method and system of communicating via bluetooth serial port
US20110294460A1 (en) * 2009-01-15 2011-12-01 Ivt Software Technology Inc. Wireless Gateway, System and Method for Automatic Call-For-Help
CN102394942A (en) * 2011-08-08 2012-03-28 北京登合科技有限公司 Method for automatically installing bluetooth serial port equipment
CN103023538A (en) * 2012-11-22 2013-04-03 无锡中星微电子有限公司 Communication method based on Bluetooth accessory and Bluetooth device
CN204115767U (en) * 2014-09-12 2015-01-21 东华大学 A kind of crop-planting parameter acquisition system based on smart mobile phone
CN104202105A (en) * 2014-09-24 2014-12-10 福建联迪商用设备有限公司 Bluetooth device testing method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104320293A (en) * 2014-07-21 2015-01-28 张朝翼 Wireless transmission debugging system based on Bluetooth
CN104579796A (en) * 2015-01-28 2015-04-29 迈普通信技术股份有限公司 Remote network equipment maintenance method, remote network equipment maintenance system and terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"基于TCL脚本语言的AT指令自动化测试技术的研究";魏玄,申敏;《重庆邮电大学学报(自然科学版)》;20081015;全文 *

Also Published As

Publication number Publication date
CN107613453A (en) 2018-01-19

Similar Documents

Publication Publication Date Title
EP3896916B1 (en) Network distribution method for household appliance, household appliance, mobile terminal and storage medium
CN108040108B (en) Communication switching method, device, coordination server and readable storage medium
CN102255887B (en) Method and system for providing online services corresponding to multiple mobile devices
CN111277474B (en) Household appliance, network connection system of household appliance and network connection method of household appliance
CN106936676B (en) Household equipment control method and device
EP2838309B1 (en) Method, device and system for establishing data connection
US9430053B2 (en) Multi-hardware-system data processing device and information input method thereof
US11540245B2 (en) Home appliance and mobile terminal having application for registering the home appliance to server
CN107318119B (en) Household appliance networking method, household appliance and computer readable storage medium
CN107205239B (en) Method for detecting wireless network connection and detection equipment
CN103596027A (en) Method and device for retrieving keyboards under different scenes of intelligent television
CN107613453B (en) Control method and communication system
CN104200644A (en) Equipment remote-control method, functional terminal and intelligent terminal
CN112235767A (en) Connection management method, device and medium
CN103561087A (en) Equipment interconnection method and device
WO2015070718A1 (en) Communication number notification method and communication device
CN116743824A (en) Control method and device of centralized control equipment
CN104079634A (en) Method, device and system for displaying device interface
EP3694151A1 (en) Terminal network sharing method, apparatus, air conditioning adjustment device, and storage medium
CN105824661A (en) Software sharing method and electronic equipment
US20180276012A1 (en) Interface processing method, electronic device, and graphical user interface
CN113572671B (en) Equipment control method and device and electronic equipment
CN108322425B (en) Man-machine interaction method and system for industrial equipment
CN108811162B (en) System information transmission method, terminal and base station
CN106791112B (en) Time zone automatic updating method, system and mobile terminal

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
TR01 Transfer of patent right

Effective date of registration: 20210331

Address after: 410000 Room 201, 1 Tongxin Road, Wangcheng economic and Technological Development Zone, Changsha City, Hunan Province

Patentee after: Hunan Hengmao Information Technology Co.,Ltd.

Address before: 412200 B District, Liling Ceramic Technology Industrial Park, Zhuzhou, Hunan

Patentee before: HUNAN FULLRIVER HIGH TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right