WO2011140790A1 - Mobile terminal and method for single plate regulation - Google Patents

Mobile terminal and method for single plate regulation Download PDF

Info

Publication number
WO2011140790A1
WO2011140790A1 PCT/CN2010/078375 CN2010078375W WO2011140790A1 WO 2011140790 A1 WO2011140790 A1 WO 2011140790A1 CN 2010078375 W CN2010078375 W CN 2010078375W WO 2011140790 A1 WO2011140790 A1 WO 2011140790A1
Authority
WO
WIPO (PCT)
Prior art keywords
board
mobile terminal
control command
serial port
further configured
Prior art date
Application number
PCT/CN2010/078375
Other languages
French (fr)
Chinese (zh)
Inventor
赵琰
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2011140790A1 publication Critical patent/WO2011140790A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The present invention discloses a mobile terminal and a method for single plate regulation, wherein the mobile terminal includes: an interaction module which is used for generating a control command according to user's operation instruction, a data processing module which is used for converting the control command into a control command whose format meets the requirement of single plate communication according to preset parameters, and a serial interface which is used for sending the control command whose format meets the requirement of single plate communication to the single plate. The present invention enables a mobile terminal such as a mobile phone to communicate with a single plate in order to regulate the single plate, thus regulating the single plate more conveniently and rapidly, saving human resources and work time, and improving the work-efficiency. The present invention is especially suitable for the application of communicating between a single plate and a mobile terminal such as a mobile phone mainly through a serial interface, thus implementing the direct operation on the single plate.

Description

移动终端和单板调控方法 技术领域 本发明涉及通信领域, 具体而言, 涉及一种移动终端和单板调控方法。 背景技术 在单板的研发、 生产和售后服务中, 对单板的调试和监控是非常重要的 需求。 通过对单板的调试和监控能够检测单板的运行状态、 对单板进行故障 检测等。 相关技术中主要是釆用台式计算机( PC )对单板进行调试和监控(统称 为调控), 但是, 由于台式 PC体积大、 不好移动, 因此使用台式 PC搭建计 算机环境对单板进行调控不方便, 并且成本较高。 此外, 目前单板的种类艮 多, 且越来越复杂, 而在研发、 生产和售后中如果要对单板进行简单调试, 就需要在设备边上搭建计算机环境, 尤其是在整机高低温实验环境中或者是 在局外站点搭建计算机环境非常耗时耗力, 效率低下。 发明内容 本发明的主要目的在于提供一种移动终端和单板调控方法, 以至少解决 上述的对单板进行调控不方便、 成本较高、 耗时耗力、 以及效率较低的问题。 根据本发明的一个方面, 提供了一种移动终端, 包括: 交互模块, 用于 根据来自用户的操作指令生成控制命令; 数据处理模块, 用于按照预先设置 的参数将控制命令转换为符合单板通讯要求的格式; 串口, 用于将符合单板 通讯要求的格式的控制命令发送给单板。 才艮据本发明的另一方面, 提供了一种单板调控方法, 包括: 移动终端才艮 据来自用户的操作指令生成控制命令; 移动终端按照预先设置的参数将控制 命令转换为符合单板通讯要求的格式; 移动终端将符合单板通讯要求的格式 的控制命令发送给单板; 单板按照接收到的控制命令进行相应操作。 通过本发明, 釆用体积小、 具有可移动性和便携性的移动终端对单板进 行调控, 从而解决了相关技术中存在的单板调控不便、 耗时耗力、 以及效率 较低的问题, 从而实现了通过手机等移动终端来和单板进行通讯以实现对单 板的调控, 对单板的调控更加方便、 快捷, 节省了人力和工作时间, 从而提 高了工作效率, 特别适用于主要是通过串口使单板和手机等移动终端进行通 讯的应用场景, 从而完成对单板的直接操作。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的 不当限定。 在附图中: 图 1是根据本发明实施例的移动终端与单板的系统框图; 图 2是才艮据本发明优选实施例的移动终端与单板的连接示意图; 图 3是才艮据本发明优选实施例的移动终端上的多个串口与多块单板通讯 的示意图; 图 4是根据本发明优选实施例的手机与单板的系统框图; 图 5是 居本发明实施例的单板调控方法的流程图; 图 6是才艮据本发明优选实施例的手机向单板下载版本文件的流程图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在 不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互组合。 在单板的研发、 生产和售后服务中, 需要对单板进行调试和监控以检测 单板的运行状态、 和对单板进行故障检测等。 图 1是根据本发明实施例的移动终端与单板的系统框图, 图 2是根据本 发明优选实施例的移动终端与单板的连接示意图。 如图 1所示, 该移动终端 10包括: 交互模块 102、 数据处理模块 104、 和串口 106, 其中: 交互模块 102 , 用于根据来自用户的操作指令生成控制 命令(例如响应用户按键输入生成控制命令); 数据处理模块 104 , 用于按照 预先设置的参数将控制命令转换为符合单板通讯要求的格式; 串口 106 , 用 于将符合单板通讯要求的格式的控制命令发送给单板 20 ,从而实现对设备上 的单板的监控。 上述的交互模块通过提供命令行, 支持用户通过按键输入生 成控制命令发送给单板以使单板按照该控制命令进行相应的操作, 很好地完 成了人机交互过程。 上述的移动终端 10可以是手机等。 相关技术中釆用台式 PC对单板进行调控, 由于台式 PC体积大、 不好移 动, 因此导致对单板进行调控不方便, 并且成本较高、 耗时耗力、 以及效率 较低。 本实施例釆用体积小、 具有可移动性和便携性的移动终端对单板进行 调控, 从而解决了相关技术中存在的单板调控不便、 耗时耗力、 以及效率较 低的问题, 从而实现了通过手机等移动终端来和单板进行通讯以实现对单板 的调控, 对单板的调控更加方便、 快捷, 节省了人力和工作时间, 从而提高 了工作效率, 特别适用于主要是通过串口使单板和手机等移动终端进行通讯 的应用场景, 从而完成对单板的直接操作。 如图 1所示,交互模块 102还用于接受用户通过操作按键输入上述参数, 该参数包括与单板 20进行通讯的串口 (如图 3所示当移动终端包括多个串 口时需要设置与单板进行通讯的串口, 如串口编号)、 以及与单板 20进行通 讯所使用的通讯参数, 如波特率(即通讯速率)、 数据位数、 停止位数等。 对 于提供了多个串口的移动终端, 用户可以选择设置与单板通讯的串口, 其它 参数的设置也可以提供多种选择, 使得移动终端和单板的进行通讯的设置保 持一致, 保证移动终端与单板的通讯正常进行。 优选地, 串口 106还用于接收来自单板 20的运行信息; 数据处理模块 104 还用于对该运行信息进行分析处理; 交互模块 102 , 还用于显示经分析 处理后的运行信息以供用户进行查看。 交互模块 102能够将单板发送过来的 信息显示出来,该显示是实时直接显示, 能够实时显示单板当前的运行信息, 实现操作人员对单板的监控, 以及较好地人机交互过程。 优选地, 串口 106还用于接收来自单板 20的数据文件; 交互模块 102 还用于显示该数据文件。 如图 2所示, 优选地, 上述的移动终端 10还包括: 内存 108 , 用于保存串口 106接收到的来自单板的数据文件。 该内存为非易 失性存储器, 用来存储单板的版本文件, 也可以存储数据处理模块接收到的 数据文件。 具体地, 单板上的处理器可以将要发送出来的文件发送到移动终 端的对应串口上, 这部分才艮据各个单板的功能可以灵活设计。 移动终端从单 板接收到数据文件后, 可以选择直接发送给交互模块 102进行显示或者以文 件形式存储到移动终端的内存 108中。 上述的单板将数据文件发送给移动终 端的过程可以称为文件的上载或备份过程。 优选地, 如图 3 所示, 移动终端 10 可以包括多个串口 106 , 每个串口 106用于与一个单板 20连接, 则各个串口 106接收到来自对应的单板的运行 信息和数据文件后, 交互模块 102还用于并行显示来自多个单板 20的运行 信息和数据文件。 这样, 移动终端可以支持多串口数据接收并行处理显示, 这样可以同时监控多块单板的信息, 以及可以同时接收保存或显示多块单板 的数据。 优选地, 如图 1和图 2所示, 交互模块 102还用于接受用户通过操作按 键输入需要发送的数据; 数据处理模块 104还用于按照预先设置的参数将该 数据转换为符合单板通讯要求的格式; 串口 106还用于根据用户的操作指令 将符合单板通讯要求的格式的数据发送给单板。 移动终端向单板发送数据文 件的过程可以称为文件的下载过程。 优选地, 如图 2所示, 串口 106包括 RS232收发器 1062 , 串口 106通 过 RS232收发器 1062进行发送和接收。 即移动终端通过串口中的 RS232收 发器进行数据和控制命令等的发送、 以及接收来自单板的运行信息和数据文 件等。 使用 RS232收发器容易实现。 在具体实施的过程中, 上述的交互模块 102可以由月艮务端软件、 按键和 显示模块 (例如显示屏) 来实现。 其中, 月艮务端软件是运行在移动终端上的 一个交互软件, 完成操作人员和手机等移动终端之间的交互, 其功能可以包 括: ( 1 ) 显示来自单板的信息; ( 2 ) 提供命令行, 支持用户按键输入控制命 令; ( 3 ) 提供参数设置 (即上述的参数的设置)。 以移动终端为手机为例进行说明。 如图 4所示, 手机包括月艮务端软件和 硬件两部分。 硬件系统组成如图 4所示, 将单板输出的数据经过 RS232收发 器处理, 转换成可以通过线缆 (RS232传输线) 传输的信号, 发送到手机上 的 RS232收发器上, 经转换后将数据发送给数据处理模块, 数据处理模块处 理之后直接显示在服务端软件上。 当用户通过按键在服务端软件上输入控制 命令后, 控制命令经过数据处理模块发送到 RS232收发器上, 经转换后传送 到单板上。 手机和单板分别为月艮务端和终端, 两者之间的通讯标准为 RS232, 两者之间的传输线一共可包括三根信号线, 其中一收一发和一根地线 ( GND )。 如图 3 所示, 手机上可以包括多个串口, 同时可以接多个单板, 服务端软件支持多串口同时接收各单板的运行信息, 互不千扰。 如图 4所示, 通过 RS232传输线连接手机上的串口和单板上的串口。 单 板发送的信号经过串口中的 RS232收发器处理后, 传送到手机; 手机的输出 信号 (包括通讯数据和命令)经过 RS232收发器送入单板。 手机内建一个服 务端软件, 实现人机交互, 单板将数据发送到手机的串口, 经过手机内的 RS232收发器转换后将数据发送到数据处理模块 104 , 数据处理模块 104对 数据进行相应的分析处理后, 直接发送给艮务端软件并通过显示模块显示出 来; 用户通过按键在服务端软件上输入需要发送的数据, 确定发送后服务端 软件将数据传给数据处理模块 104 , 进行相应的处理后经过 RS232收发器发 送到单板的串口上。 具体地, 结合图 4, 手机向单板发送运行版本 (或测试程序) 的工作流 程如图 6所示, 包括以下步骤: 步骤 S602, 将手机和单板通过三根串口线( RS232传输线)连接后, 首 先开启手机上的 艮务端软件; 步骤 S604, 接受用户对参数(其中包括通讯参数: 与单板通讯的串口端 口号, 设置波特率、 数据位、 和停止位) 的设置选择; 步骤 S606, 月艮务端软件设置完成后, 给单板上电, 单板开始运行并且往 手机发送运行信息, 月艮务端软件实时显示这些运行信息; 步骤 S608, 单板 BOOT运行完成后向手机发送申请串口手动控制的命 令; 步骤 S610,用户通过手机观察到该申请信息后通过按键输入手动控制响 应命令给单板; 步骤 S612, 单板收到手机的响应命令之后, 进入手动模式, 并提供手动 控制功能项。 接收用户通过按键选择版本下载功能项; 步骤 S614, 设置下载文件路径并发送确认命令后, 数据处理模块根据设 置路径从内存里读取版本文件并通过 RS232收发器发送给单板。将需要下载 的文件通过手机发送给单板并校-险发送文件是否正确。 与相关技术相比较, 使用根据本发明优选实施例的移动终端对单板进行 调控具有单板的调试和监控过程简单,通过串口使移动终端和单板进行通讯, 简便可靠地完成了移动终端对单板的直接监控,并且支持按键输入控制命令, 艮好地完成了人和单板的交互。 此外, 还可以通过发送数据和控制命令给单 板以及接收单板发送的运行信息和数据完成单板必要数据的下载、 备份, 以 及单板的监控功能。 图 5是才艮据本发明实施例的单板调控方法的流程图, 包括: 步骤 S502 , 移动终端根据来自用户的操作指令生成控制命令; 步骤 S504,移动终端按照预先设置的参数将控制命令转换为符合单板通 讯要求的格式; 步骤 S506 , 移动终端将符合单板通讯要求的格式的控制命令发送给单 板; 步骤 S508 , 单板按照接收到的控制命令进行相应操作。 上述实施例提供了移动终端通过向单板发送控制命令实现对单板的调控 的具体实施方案。 优选地, 在上述的方法中, 还包括: 移动终端接收来自单板的运行信息; 移动终端对运行信息进行分析处理; 移动终端显示分析处理后的运行信息。 此外, 在上述的方法中, 还包括: 移动终端接受用户通过操作按键输入 需要发送的数据; 移动终端按照预先设置的参数将该数据转换为符合单板通 讯要求的格式; 移动终端根据用户的操作指令将符合单板通讯要求的格式的 数据发送给单板。 从以上的描述中, 可以看出, 本发明实现了如下技术效果: 釆用移动终 端作为对单板的测试和升级的辅助工具, 釆用移动终端的串口通讯完成移动 终端和单板之间的信息传递, 可以简单而又方便的达到测试和监控单板的目 的。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可 以用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布 在多个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执行的程 序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来执行, 并 且在某些情况下, 可以以不同于此处的顺序执行所示出或描述的步骤, 或者 将它们分别制作成各个集成电路模块, 或者将它们中的多个模块或步骤制作 成单个集成电路模块来实现。 这样, 本发明不限制于任何特定的硬件和软件 结合。 以上仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域 的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的 ^"神和原则 之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围 之内。 The present invention relates to the field of communications, and in particular to a mobile terminal and a single board control method. BACKGROUND OF THE INVENTION In the development, production and after-sales service of a single board, the debugging and monitoring of the single board is a very important requirement. You can check the running status of the board and detect faults on the board by debugging and monitoring the board. The related technology mainly uses a desktop computer (PC) to debug and monitor the board (collectively referred to as regulation). However, since the desktop PC is bulky and does not move well, the desktop PC is used to set up the computer environment to regulate the board. Convenient and costly. In addition, at present, there are many types of boards, and they are more and more complicated. In the process of R&D, production, and after-sales, if you want to perform simple debugging on the boards, you need to set up a computer environment on the side of the equipment, especially in the high and low temperature of the whole machine. Setting up a computer environment in an experimental environment or at an out-of-office site is time consuming, labor inefficient. SUMMARY OF THE INVENTION A primary object of the present invention is to provide a method for controlling a mobile terminal and a single board to solve at least the above problems of inconvenient regulation, high cost, time-consuming and labor-intensive, and low efficiency of the single board. According to an aspect of the present invention, a mobile terminal is provided, including: an interaction module, configured to generate a control command according to an operation instruction from a user; and a data processing module, configured to convert the control command into a matching board according to a preset parameter The format of the communication request; the serial port is used to send the control commands in the format that meets the communication requirements of the board to the board. According to another aspect of the present invention, a method for controlling a single board is provided, including: a mobile terminal generates a control command according to an operation instruction from a user; and the mobile terminal converts the control command into a matching board according to a preset parameter. Format of the communication request; The mobile terminal sends a control command in the format that meets the requirements of the board communication to the board; the board performs corresponding operations according to the received control command. The present invention solves the inconvenience, time-consuming and labor-intensive, and efficiency of the single board in the related art by using a mobile terminal with small size, mobility, and portability to regulate the board. The low-level problem is achieved by using a mobile terminal such as a mobile phone to communicate with the board to control the board. The control of the board is more convenient and faster, saving manpower and working time, thereby improving work efficiency. It is especially applicable to the application scenario in which a mobile terminal such as a single board and a mobile phone communicates through a serial port, thereby completing direct operation on the board. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a system block diagram of a mobile terminal and a board according to an embodiment of the present invention; FIG. 2 is a schematic diagram of a connection between a mobile terminal and a board according to a preferred embodiment of the present invention; FIG. 4 is a system block diagram of a mobile phone and a single board according to a preferred embodiment of the present invention; FIG. 5 is a single block diagram of an embodiment of the present invention; A flowchart of a method for controlling a board; FIG. 6 is a flow chart of downloading a version file from a mobile phone to a board according to a preferred embodiment of the present invention. BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. During the development, production, and after-sales service of the board, you need to debug and monitor the board to detect the running status of the board and fault detection on the board. 1 is a system block diagram of a mobile terminal and a board according to an embodiment of the present invention. FIG. 2 is a schematic diagram of a connection between a mobile terminal and a board according to a preferred embodiment of the present invention. As shown in FIG. 1 , the mobile terminal 10 includes: an interaction module 102, a data processing module 104, and a serial port 106. The interaction module 102 is configured to generate a control command according to an operation instruction from a user (for example, generating a control in response to a user key input). The data processing module 104 is configured to convert the control command into a format conforming to the communication requirement of the board according to the preset parameter; the serial port 106, The control command in the format of the board communication is sent to the board 20 to monitor the board on the device. The above-mentioned interaction module provides a command line, and supports the user to generate a control command by using a key input to send a control command to the board to perform corresponding operations according to the control command, thereby completing the human-computer interaction process well. The mobile terminal 10 described above may be a mobile phone or the like. In the related art, the desktop PC is used to control the board. Because the desktop PC is bulky and does not move well, it is inconvenient to control the board, and the cost is high, time-consuming and labor-intensive, and the efficiency is low. In this embodiment, the mobile terminal that is small in size, mobility, and portability is used to control the board, thereby solving the problem of inconvenient regulation, time-consuming and labor-intensive, and low efficiency of the board in the related art. The mobile terminal and the like are used to communicate with the board to implement the regulation of the board. The regulation of the board is more convenient and faster, saving manpower and working time, thereby improving work efficiency, and is particularly suitable for mainly through The serial port enables the application of the communication between the board and the mobile terminal to complete the direct operation of the board. As shown in FIG. 1 , the interaction module 102 is further configured to accept a user inputting the parameter by using an operation button, where the parameter includes a serial port that communicates with the board 20 (as shown in FIG. 3 , when the mobile terminal includes multiple serial ports, the setting and the single terminal are required. The serial port on which the board communicates, such as the serial port number, and the communication parameters used to communicate with the board 20, such as the baud rate (ie, communication rate), the number of data bits, and the number of stop bits. For a mobile terminal that provides multiple serial ports, the user can choose to set the serial port to communicate with the board. The settings of other parameters can also provide multiple options, so that the communication settings of the mobile terminal and the board are consistent, and the mobile terminal is guaranteed. The communication of the board is normal. Preferably, the serial port 106 is further configured to receive operation information from the board 20; the data processing module 104 is further configured to perform analysis processing on the operation information; and the interaction module 102 is further configured to display the analyzed and processed operation information for the user. Check it out. The interaction module 102 can display the information sent by the board, and the display is displayed in real time, which can display the current running information of the board in real time, realize the monitoring of the board by the operator, and better the human-computer interaction process. Preferably, the serial port 106 is further configured to receive data files from the board 20; the interaction module 102 is further configured to display the data file. As shown in FIG. 2, the mobile terminal 10 further includes: a memory 108, configured to save a data file received by the serial port 106 from the board. The memory is a non-volatile memory, which is used to store the version file of the board, and can also store the data file received by the data processing module. Specifically, the processor on the board can send the file to be sent to the corresponding serial port of the mobile terminal, and the part can be flexibly designed according to the functions of each board. Mobile terminal from single After receiving the data file, the board may choose to directly send it to the interaction module 102 for display or store it in the file to the memory 108 of the mobile terminal. The process in which the above-mentioned board sends the data file to the mobile terminal may be referred to as a file uploading or backup process. Preferably, as shown in FIG. 3, the mobile terminal 10 may include a plurality of serial ports 106. Each serial port 106 is used to connect to a single board 20. After each serial port 106 receives the running information and data files from the corresponding board, The interaction module 102 is further configured to display the running information and data files from the plurality of boards 20 in parallel. In this way, the mobile terminal can support the multi-serial data receiving parallel processing display, so that the information of multiple boards can be monitored at the same time, and the data of multiple boards can be received or displayed at the same time. Preferably, as shown in FIG. 1 and FIG. 2, the interaction module 102 is further configured to accept that the user inputs data to be sent by operating the button; the data processing module 104 is further configured to convert the data into conforming to the board communication according to the preset parameters. The required format; the serial port 106 is also used to send data in a format conforming to the communication requirements of the board to the board according to the operation instruction of the user. The process in which the mobile terminal sends a data file to the board may be referred to as a file download process. Preferably, as shown in FIG. 2, the serial port 106 includes an RS232 transceiver 1062, and the serial port 106 transmits and receives through the RS232 transceiver 1062. That is, the mobile terminal transmits data and control commands through the RS232 transceiver in the serial port, and receives operation information and data files from the board. It is easy to implement using an RS232 transceiver. In the specific implementation process, the interaction module 102 described above may be implemented by a client software, a button, and a display module (such as a display screen). The monthly client software is an interactive software running on the mobile terminal, and completes the interaction between the operator and the mobile terminal such as a mobile phone. The functions may include: (1) displaying information from the board; (2) providing The command line supports user input of key control commands; (3) provides parameter settings (ie, setting of the above parameters). The mobile terminal is used as an example for explaining the mobile phone. As shown in Figure 4, the mobile phone includes two parts: software and hardware. The hardware system is composed as shown in Figure 4. The data outputted by the board is processed by the RS232 transceiver, converted into a signal that can be transmitted through the cable (RS232 transmission line), and sent to the RS232 transceiver on the mobile phone. After the conversion, the data is converted. It is sent to the data processing module, and the data processing module processes it and displays it directly on the server software. When the user inputs a control command on the server software by pressing a button, the control command is sent to the RS232 transceiver through the data processing module, and is converted and transmitted to the board. The mobile phone and the board are respectively the monthly server and the terminal. The communication standard between the two is RS232. The transmission line between the two can include three signal lines, one of which is received and one is grounded. ( GND ). As shown in Figure 3, the phone can include multiple serial ports and multiple boards. The server software supports multiple serial ports to receive the running information of each board at the same time. As shown in Figure 4, connect the serial port on the phone and the serial port on the board through the RS232 cable. The signal sent by the board is processed by the RS232 transceiver in the serial port and transmitted to the mobile phone. The output signal of the mobile phone (including the communication data and commands) is sent to the board through the RS232 transceiver. The mobile phone has a server software built in it to realize human-computer interaction. The board sends the data to the serial port of the mobile phone. After the RS232 transceiver in the mobile phone converts the data, the data is sent to the data processing module 104, and the data processing module 104 performs corresponding data. After the analysis and processing, it is directly sent to the server software and displayed through the display module; the user inputs the data to be sent on the server software by pressing the button, and determines that the server software transmits the data to the data processing module 104 after the transmission, and performs corresponding After processing, it is sent to the serial port of the board through the RS232 transceiver. Specifically, with reference to FIG. 4, the workflow for sending the running version (or test program) to the board by the mobile phone is as shown in FIG. 6, and includes the following steps: Step S602: After connecting the mobile phone and the board through three serial lines (RS232 transmission line), First, the server software on the mobile phone is turned on; Step S604, accepting the user's setting selection of parameters (including communication parameters: serial port number for communicating with the board, setting baud rate, data bit, and stop bit); S606, after the setting of the monthly service software is completed, the board is powered on, the board starts running, and the running information is sent to the mobile phone, and the monthly service software displays the running information in real time; Step S608, the board BOOT runs to the mobile phone after completion Sending a command to apply for serial port manual control; Step S610, the user inputs the manual control response command to the board through the button after the user observes the application information; Step S612, after receiving the response command of the mobile phone, the board enters the manual mode and provides Manual control of function items. The receiving user selects the version downloading function item by pressing the button; Step S614, after setting the download file path and sending the confirmation command, the data processing module reads the version file from the memory according to the setting path and sends the version file to the board through the RS232 transceiver. Send the file to be downloaded to the board through the mobile phone and check whether the file is sent correctly. Compared with the related art, the use of the mobile terminal according to the preferred embodiment of the present invention to control the board has a simple debugging and monitoring process of the board, and the mobile terminal and the board communicate through the serial port, and the mobile terminal is simply and reliably completed. Direct monitoring of the board and support of key input control commands to complete the interaction between the person and the board. In addition, you can also download and back up the necessary data of the board and monitor the board by sending data and control commands to the board and the running information and data sent by the board. FIG. 5 is a flowchart of a method for controlling a board according to an embodiment of the present invention, including: Step S502: The mobile terminal generates a control command according to an operation instruction from a user; Step S504, the mobile terminal converts the control command according to a preset parameter. In order to meet the requirements of the board communication requirements, in step S506, the mobile terminal sends a control command in the format that meets the requirements of the board communication to the board. In step S508, the board performs corresponding operations according to the received control command. The foregoing embodiment provides a specific implementation manner in which a mobile terminal performs control on a single board by sending a control command to the board. Preferably, in the above method, the method further includes: the mobile terminal receives the operation information from the board; the mobile terminal analyzes the operation information; and the mobile terminal displays the operation information after the analysis process. In addition, in the above method, the method further includes: the mobile terminal accepts that the user inputs the data that needs to be sent by using the operation button; the mobile terminal converts the data into a format that meets the communication requirement of the board according to the preset parameter; the mobile terminal performs the operation according to the user. The command sends data in the format that meets the requirements of the board communication to the board. From the above description, it can be seen that the present invention achieves the following technical effects: 釆 Using the mobile terminal as an auxiliary tool for testing and upgrading the board, and using the serial communication of the mobile terminal to complete the connection between the mobile terminal and the board Information transfer can be used to test and monitor the board simply and conveniently. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be executed by a computing device The program code is implemented so that they can be stored in the storage device by the computing device, and in some cases, the steps shown or described can be performed in a different order than here, or they can be separately produced. The individual integrated circuit modules are implemented, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 Claim
1. 一种移动终端, 其特征在于, 包括: A mobile terminal, comprising:
交互模块, 用于根据来自用户的操作指令生成控制命令; 数据处理模块, 用于按照预先设置的参数将所述控制命令转换为符 合单板通讯要求的格式;  An interaction module, configured to generate a control command according to an operation instruction from a user; and a data processing module, configured to convert the control command into a format conforming to a board communication requirement according to a preset parameter;
串口,用于将符合单板通讯要求的格式的控制命令发送给所述单板。  The serial port is used to send control commands to the board in the format that meets the communication requirements of the board.
2. 根据权利要求 1所述的移动终端, 其特征在于, 所述交互模块还用于接 受用户通过操作按键输入所述参数, 其中, 所述参数包括与所述单板进 行通讯的串口、 以及与所述单板进行通讯所使用的通讯参数。 The mobile terminal according to claim 1, wherein the interaction module is further configured to accept a user inputting the parameter by operating a button, where the parameter includes a serial port that communicates with the board, and Communication parameters used to communicate with the board.
3. 根据权利要求 1所述的移动终端, 其特征在于, 3. The mobile terminal of claim 1, wherein
所述串口还用于接收来自所述单板的运行信息;  The serial port is further configured to receive operation information from the board;
所述数据处理模块还用于对所述运行信息进行分析处理; 所述交互模块还用于显示所述分析处理后的运行信息。  The data processing module is further configured to perform an analysis process on the operation information; the interaction module is further configured to display the operation information after the analysis process.
4. 根据权利要求 3所述的移动终端, 其特征在于, 4. The mobile terminal of claim 3, wherein
所述串口还用于接收来自所述单板的数据文件;  The serial port is further configured to receive a data file from the board;
所述交互模块还用于显示所述数据文件。  The interaction module is further configured to display the data file.
5. 根据权利要求 4所述的移动终端, 其特征在于, 还包括: 内存, 用于保 存所述串口接收到的来自所述单板的所述数据文件。 The mobile terminal according to claim 4, further comprising: a memory, configured to save the data file received by the serial port from the board.
6. 根据权利要求 4所述的移动终端, 其特征在于, 所述移动终端包括多个 所述串口, 每个所述串口用于与一个单板连接, 所述交互模块还用于并 行显示来自多个所述单板的运行信息和数据文件。 The mobile terminal according to claim 4, wherein the mobile terminal comprises a plurality of the serial ports, each of the serial ports is configured to be connected to a single board, and the interaction module is further configured to display in parallel Running information and data files of a plurality of the boards.
7. 根据权利要求 1所述的移动终端, 其特征在于, 7. The mobile terminal of claim 1, wherein
所述交互模块还用于接受用户通过操作按键输入需要发送的数据; 所述数据处理模块还用于按照所述参数将所述数据转换为符合所述 单板通讯要求的格式; 所述串口还用于 -据所述用户的操作指令将所述符合所述单板通讯 要求的格式的数据发送给所述单板。 根据权利要求 1至 7中任一项所述的移动终端, 其特征在于, 所述串口 包括 RS232收发器, 所述串口通过所述 RS232收发器进行发送和接收。 一种单板调控方法, 其特征在于, 包括: The interaction module is further configured to receive data that is required to be sent by the user by using a button; the data processing module is further configured to convert the data into a format that meets the communication requirement of the board according to the parameter; The serial port is further configured to: send, according to the operation instruction of the user, the data in a format that meets the communication requirement of the board to the board. The mobile terminal according to any one of claims 1 to 7, wherein the serial port comprises an RS232 transceiver, and the serial port is transmitted and received through the RS232 transceiver. A single board regulation method, comprising:
移动终端根据来自用户的操作指令生成控制命令;  The mobile terminal generates a control command according to an operation instruction from the user;
所述移动终端按照预先设置的参数将所述控制命令转换为符合单板 通讯要求的格式;  The mobile terminal converts the control command into a format conforming to a board communication requirement according to a preset parameter;
所述移动终端将所述符合单板通讯要求的格式的控制命令发送给所 述单板;  Sending, by the mobile terminal, the control command in the format that meets the communication requirements of the board to the board;
所述单板按照接收到的所述控制命令进行相应操作。 根据权利要求 9所述的方法, 其特征在于, 还包括:  The board performs corresponding operations according to the received control command. The method according to claim 9, further comprising:
所述移动终端接收来自所述单板的运行信息;  The mobile terminal receives operation information from the board;
所述移动终端对所述运行信息进行分析处理;  The mobile terminal performs an analysis process on the operation information;
所述移动终端显示所述分析处理后的运行信息。  The mobile terminal displays the operation information after the analysis processing.
PCT/CN2010/078375 2010-05-13 2010-11-03 Mobile terminal and method for single plate regulation WO2011140790A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010180349.XA CN102244880B (en) 2010-05-13 2010-05-13 Mobile terminal and veneer regulate and control method
CN201010180349.X 2010-05-13

Publications (1)

Publication Number Publication Date
WO2011140790A1 true WO2011140790A1 (en) 2011-11-17

Family

ID=44913871

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/078375 WO2011140790A1 (en) 2010-05-13 2010-11-03 Mobile terminal and method for single plate regulation

Country Status (2)

Country Link
CN (1) CN102244880B (en)
WO (1) WO2011140790A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104486117A (en) * 2014-12-12 2015-04-01 上海斐讯数据通信技术有限公司 Configuration command interaction method and configuration command interaction system of multi-board card core switch

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103955512A (en) * 2014-04-30 2014-07-30 航天科技控股集团股份有限公司 Handheld device for data query configuration of intelligent vehicle-mounted terminal and data query configuration method realized by adopting handheld device
CN113515266A (en) * 2021-05-21 2021-10-19 北京工业大学 C language and serial port communication-based friction coefficient regulation and control system and method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1474272A (en) * 2003-06-19 2004-02-11 Ut斯达康(中国)有限公司 Method and equipment for detecting single plate by JTAG
CN101581759A (en) * 2009-06-16 2009-11-18 华为技术有限公司 JTAG switching interface, single board, JTAG interface conversion board and single board testing system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1474272A (en) * 2003-06-19 2004-02-11 Ut斯达康(中国)有限公司 Method and equipment for detecting single plate by JTAG
CN101581759A (en) * 2009-06-16 2009-11-18 华为技术有限公司 JTAG switching interface, single board, JTAG interface conversion board and single board testing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104486117A (en) * 2014-12-12 2015-04-01 上海斐讯数据通信技术有限公司 Configuration command interaction method and configuration command interaction system of multi-board card core switch
CN104486117B (en) * 2014-12-12 2018-04-06 上海斐讯数据通信技术有限公司 A kind of the configuration order exchange method and system of more board core switch

Also Published As

Publication number Publication date
CN102244880B (en) 2015-08-12
CN102244880A (en) 2011-11-16

Similar Documents

Publication Publication Date Title
CN108804302B (en) Remote testing method, system and related equipment
EP2812804B1 (en) Mobile or cloud communication platform for test system applications, mobile application tool and graphical user interface
CN108509333A (en) Adjustment method and device
US20120146884A1 (en) Control transfer apparatus, control transfer system and method thereof
CN101884026A (en) Accessory configuration and management
CN107608901A (en) Method of testing and device based on Jmteter, storage medium, electronic equipment
JP2006197565A (en) Apparatus and method for checking performance of wireless data network
CN111866160B (en) Multi-machine control method, device, equipment and storage medium
CN105807730B (en) A kind of digital equipment industrial control method, apparatus and system
US10983502B2 (en) Remote management device and remote management method
CN106952426B (en) Data processing method and device
WO2011140790A1 (en) Mobile terminal and method for single plate regulation
US11128527B2 (en) Installation support device and method for installation process support for an automation system
KR20090066766A (en) Monitoring system for totally remotely managing multiple uninterrupted power supplys
EP1895794B1 (en) Remote management system and method for portable electronic devices
US20150288834A1 (en) Portable terminal, and control method for portable terminal
KR100706747B1 (en) Method and system for remote controlling the mobile terminal
CN110633766A (en) Two-dimensional code generation device for reporting result of environment monitoring instrument
CN114095409A (en) Remote detection method, device, equipment and storage medium for terminal equipment fault
CN106921807B (en) A kind of telephone operation machine system and its self checking method
KR101572501B1 (en) Device and method for training wired and wireless communication interface programs for internet of things
KR20040077639A (en) method and system of testing for mobile terminal
JP3226163U (en) Controller using conversational software
KR20120066399A (en) Legacy usb device service system in mobile terminal and method of the same
KR20060035068A (en) Remote software debugging apparatus and method for mobile communication device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10851294

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10851294

Country of ref document: EP

Kind code of ref document: A1