CN110058994B - Method and system for debugging program in android medical terminal - Google Patents

Method and system for debugging program in android medical terminal Download PDF

Info

Publication number
CN110058994B
CN110058994B CN201910157064.5A CN201910157064A CN110058994B CN 110058994 B CN110058994 B CN 110058994B CN 201910157064 A CN201910157064 A CN 201910157064A CN 110058994 B CN110058994 B CN 110058994B
Authority
CN
China
Prior art keywords
android
instruction
program
medical terminal
program file
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
CN201910157064.5A
Other languages
Chinese (zh)
Other versions
CN110058994A (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.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information 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 Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201910157064.5A priority Critical patent/CN110058994B/en
Publication of CN110058994A publication Critical patent/CN110058994A/en
Application granted granted Critical
Publication of CN110058994B publication Critical patent/CN110058994B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a method and a system for debugging a program in an android medical terminal. The method is applied to the android medical terminal, and the intelligent device comprises: the android medical terminal is connected with the intelligent device, and the method comprises the following steps: the processor detects that an adb debugging function is enabled, a data line interface is connected with a data line, the processor receives a first instruction for opening a command prompt cmd window, opens the cmd window, receives an instruction for connecting the android medical terminal, and executes the instruction; receiving an instruction for opening the read-write permission of the program file in the android medical terminal, and executing the instruction; receiving an instruction for reading the program file and executing the instruction; receiving and executing a process number checking instruction; receiving and executing an instruction for closing an upgrade program process, a video networking service program process and the program file process; receiving and starting an instruction of a video networking service program, and executing; and receiving and executing the instruction for running the program file.

Description

Method and system for debugging program in android medical terminal
Technical Field
The invention relates to the field of medical treatment, in particular to a method and a system for debugging a program in an android medical terminal.
Background
The video networking is an important milestone for network development, is a higher-level form of the Internet, is a real-time network, can realize real-time transmission of full-network high-definition videos which cannot be realized by the Internet at present, pushes numerous Internet applications to high-definition videos, faces the high definition, and finally realizes that the distance between people in the global scope is only one screen.
The high-definition audio-video images and the high-speed transmission rate of the video network are utilized, and the video network is applied to the medical industry, so that the effect of medical work can be greatly improved, and particularly, communication and communication with doctors, nurses and patients can be carried out through the high-definition images and the extremely high-speed transmission rate.
The video networking medical terminal device provided with the android system is applied to the medical industry, when a program built-in the video networking medical terminal device needs to be debugged, the video networking medical terminal device is generally completed by professional personnel, and is provided for medical staff or patients for use after the debugging is finished, if the medical staff or patients encounter problems in the use process, or the video networking medical terminal device needs to carry out some simple debugging on the built-in program, the video networking medical terminal device can only be completed by professional personnel, so that the video networking medical terminal device is very inconvenient, and along with the wide popularization and application of the android medical terminal, the video networking medical terminal device cannot be provided with so many professional personnel to serve the debugging program.
Disclosure of Invention
The method and the system for debugging the program in the android medical terminal solve the problem that the android medical terminal applied to the video networking can only be operated by professionals when the program is debugged.
In order to solve the technical problems, an embodiment of the present invention provides a method for debugging a program in an android medical terminal, where the method is applied to the android medical terminal, the android medical terminal is an intelligent device for video networking, which is applied to the medical industry and is provided with an android system, and the intelligent device includes: the android medical terminal is connected with the intelligent device, and the method comprises the following steps:
the processor detects that an adb debugging function is enabled, a data line interface is connected to a data line, and the adb debugging refers to: the method comprises the steps of a client-server universal debugging program, wherein the client refers to intelligent equipment operated by a user, and the server refers to an android medical terminal;
the processor receives a first instruction for opening a command prompt cmd window, and opens the cmd window according to the first instruction;
the processor receives an instruction for connecting the android medical terminal through the cmd window, executes the instruction and establishes communication connection with the android medical terminal;
the processor receives an instruction for opening the read-write permission of the program file in the android medical terminal through the cmd window, and executes the instruction to enable the processor to read and write the program file, wherein the program file is an android program file installed in the android medical terminal;
the processor receives an instruction for reading the program file through the cmd window, executes the instruction and reads the program file into the intelligent device;
the processor receives a command of checking the process number through the cmd window, and displays the process numbers of all programs in the program file on a screen of the intelligent device according to the command of checking the process number;
the processor receives and executes instructions for closing an upgrade program process, a video networking service program process and the program file process through the cmd window;
the processor receives and starts a video networking service program instruction through the cmd window, executes the video networking service program instruction and starts the video networking service program, so that the android medical terminal enters a video networking network;
and the processor receives and executes the instruction for running the program file through the cmd window, and runs the program file so that the android medical terminal normally works in the visual networking network.
Optionally, the processor receives, through the cmd window, an instruction to close an upgrade program process, a view networking service program process, and the program file process, and executes, including:
the processor receives an instruction for closing an upgrade program process, a video networking service program process and the program file process through the cmd window, wherein the instruction comprises: the process number of the program process to be closed;
and the processor closes the upgrading program, the visual network service program and the program file according to the process number of the upgrading program process, the process number of the visual network service program process and the process number of the program file process.
Optionally, the processor receives an instruction to read the program file through the cmd window, and executes the instruction, including:
the android medical terminal receives an instruction sent by the processor and reads the program file;
and the android medical terminal sends the program file of the android medical terminal to the processor according to the instruction.
Optionally, the processor receives an instruction for starting the service program of the internet of view through the cmd window, executes the instruction, and starts the service program of the internet of view, including:
the android medical terminal receives an instruction of starting an Internet of view service program, which is sent by the processor;
and the android medical terminal starts the video networking service program in the android medical terminal according to the instruction.
Optionally, the processor receives an instruction to execute the program file, and executes, to execute the program file, including:
the android medical terminal receives an instruction for running the program file, which is sent by the processor;
and the android medical terminal operates the program files in the android medical terminal according to the instruction.
The embodiment of the invention also provides a system for debugging the program in the android medical terminal, which is applied to the android medical terminal and comprises the following steps: android medical terminal and smart machine, android medical terminal is for being applied to the medical industry, installs the intelligent machine of looking networking of android system, smart machine includes: the android medical terminal is connected with the intelligent device, and the processor comprises:
the detection module is used for detecting that an adb debugging function is enabled, the data line interface is connected with the data line, and the adb debugging refers to: the method comprises the steps of a client-server universal debugging program, wherein the client refers to intelligent equipment operated by a user, and the server refers to an android medical terminal;
the method comprises the steps of receiving an opening module, a command prompt cmd window opening module and a command prompt cmd window opening module, wherein the opening module is used for receiving a first command for opening the command prompt cmd window and opening the cmd window according to the first command;
the receiving and executing connection module is used for receiving and executing an instruction for connecting the android medical terminal through the cmd window and establishing communication connection with the android medical terminal;
the receiving and executing module is used for receiving and opening a command of the program file read-write permission in the android medical terminal through the cmd window and executing the command so that the processor reads and writes the program file, wherein the program file is an android program file installed in the android medical terminal;
the execution reading module is used for receiving an instruction for reading the program file through the cmd window, executing the instruction and reading the program file into the intelligent equipment;
the viewing and displaying module is used for receiving a viewing process number instruction through the cmd window and displaying the process numbers of all programs in the program file on a screen of the intelligent device according to the viewing process number instruction;
the receiving and closing module is used for receiving and closing instructions of an upgrade program process, a video networking service program process and the program file process through the cmd window and executing the instructions;
the receiving and executing starting module is used for receiving and executing an instruction for starting the video networking service program through the cmd window, and executing the instruction to start the video networking service program so that the android medical terminal enters a video networking network;
and the receiving and executing module is used for receiving and executing the instruction of the program file through the cmd window, executing the instruction and executing the program file, so that the android medical terminal normally works in the visual networking network.
Optionally, the receiving execution closing module includes:
the receiving module is configured to receive, through the cmd window, an instruction for closing an upgrade program process, an internet of view service program process, and the program file process, where the instruction includes: the process number of the program process to be closed;
and the execution closing module is used for closing the upgrading program, the visual network service program and the program file according to the process number of the upgrading program process, the process number of the visual network service program process and the process number of the program file process.
Optionally, the android medical terminal includes:
the receiving instruction module is used for receiving an instruction sent by the processor and reading the program file;
and the reading and sending module is used for sending the program file of the reading and sending module to the processor according to the instruction.
Optionally, the android medical terminal further includes:
the receiving starting module is used for receiving the instructions of the video networking service program sent by the processor;
and the starting module is used for starting the video networking service program in the android medical terminal according to the instruction.
Optionally, the android medical terminal further includes:
the receiving and running module is used for receiving an instruction sent by the processor to run the program file;
and the operation module is used for operating the program file in the android medical terminal according to the instruction.
Compared with the prior art, the method and the system for debugging the program in the android medical terminal are characterized in that the intelligent device is connected with the android medical terminal through the data line, the intelligent device reads the program file in the android medical terminal to the intelligent device through the adb debugging function and related instructions, then the instructions are used for checking the process number of the running program of the android medical terminal, closing the related program process, then starting the visual network service program, and then running the android program file to complete the debugging of the program in the android medical terminal, the debugging process is simple and easy to understand, and common personnel can complete the debugging process, so that the use feeling and the experience feeling of a user are greatly improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments of the present invention will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for debugging a program in an android medical terminal according to an embodiment of the invention;
FIG. 2 is a flowchart showing a method step 105 of debugging a program in an android medical terminal according to an embodiment of the present invention;
FIG. 3 is a flowchart showing a method step 107 of debugging a program in an android medical terminal according to an embodiment of the present invention;
FIG. 4 is a flowchart showing the steps 108 of a method for debugging a program in an android medical terminal according to an embodiment of the present invention;
FIG. 5 is a flowchart showing a method step 109 for debugging a program in an android medical terminal according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of an apparatus according to an embodiment of the invention;
FIG. 7 is a block diagram of a program system for debugging an android medical terminal in accordance with an embodiment of the present invention;
FIG. 8 is a block diagram of a receive execution shutdown module 370 in a program system in a debug android medical terminal according to an embodiment of the present invention;
fig. 9 is a block diagram of an android medical terminal in an embodiment of the invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. 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.
Fig. 1 shows a flowchart of a program method for debugging an android medical terminal according to an embodiment of the invention. The method is applied to an android medical terminal, the android medical terminal is an intelligent visual network device applied to the medical industry and provided with an android system, and the intelligent visual network device comprises: the method for debugging the program in the android medical terminal comprises the following steps:
step 101: the processor detects that an adb debugging function is enabled, a data line interface is connected to a data line, and adb debugging refers to: the method comprises the steps of a client-server universal debugging program, wherein the client refers to intelligent equipment operated by a user, and the server refers to an android medical terminal.
In the embodiment of the invention, adb (Android Debug Bridge) refers to an android debug bridge, abbreviated as adb, which is a universal tool for managing the state of an android medical terminal, and adopts a client-server side, and comprises three parts: a client part which runs on the intelligent equipment for development and can be operated by a user, and an adb command can be run in a command line to call the client; the server part is a background process running on the intelligent device for development and is used for managing the communication between the client and a daemon running on the android medical terminal; and the daemon part runs on the background of the android medical terminal, when the adb debugging function is started, a user can control the state of the android medical terminal, a data line is also connected between the intelligent device and the android medical terminal, the data line is connected through a special interface of the data line, the processor of the intelligent device firstly detects that the adb debugging function is started, and the data line interface is connected with the data line. The embodiment of the invention is not limited in detail, and can be set according to actual conditions.
Step 102: the processor receives a first instruction to open a command prompt cmd window, and opens the cmd window according to the first instruction.
In the embodiment of the invention, the android system is an operation system based on free and open source codes of Linux, and is mainly used for mobile equipment, and Linux is operated by using a command line, namely a Linux command, wherein the Linux command is a command for managing the Linux system, a command prompt and cmd (command) are required to be opened firstly when the Linux command is input on the intelligent equipment, the android system is in a window mode generally on the intelligent equipment, a processor of the intelligent equipment receives a first command for opening a command prompt cmd window, and the cmd window is opened according to the first command so as to be used for inputting the Linux command by a user. The embodiment of the invention is not limited in detail, and can be set according to actual conditions.
Step 103: and the processor receives the instruction for connecting the android medical terminal through the cmd window, executes the instruction and establishes communication connection with the android medical terminal.
In the embodiment of the invention, the processor receives an instruction for connecting the android medical terminal through the cmd window, the instruction is an 'adb shell', the processor executes the instruction, communication connection with the android medical terminal is established through a data line, and after the android medical terminal is connected, the cmd window can display successful connection. The embodiment of the invention is not limited in detail, and can be set according to actual conditions.
Step 104: the processor receives and opens the instruction of the program file read-write permission in the android medical terminal through the cmd window, and executes the instruction, so that the processor reads and writes the program file, and the program file is the android program file installed in the android medical terminal.
In the embodiment of the invention, the processor receives the instruction for opening the read-write permission of the program file in the android medical terminal through the cmd window, the instruction is 'mount-o rw, remote/system', and after executing the instruction, the processor can read and write the android program file in the android medical terminal. The embodiment of the invention is not limited in detail, and can be set according to actual conditions.
Step 105: and the processor receives an instruction for reading the program file through the cmd window, executes the instruction and reads the program file into the intelligent device.
In the embodiment of the invention, after obtaining the permission of reading and writing the android program file, the processor receives the instruction of reading the program file through the cmd window, reads the android program file into the intelligent device after executing, namely, the user can check the android program file of the android system used by the android medical terminal on the intelligent device. The embodiment of the invention is not limited in detail, and can be set according to actual conditions.
Optionally, referring to fig. 2, step 105 may specifically include:
step 105a: and the android medical terminal receives an instruction sent by the processor to read the program file.
Step 105b: and the android medical terminal sends the program file of the android medical terminal to the processor according to the instruction.
In the embodiment of the invention, after the processor of the intelligent device obtains the permission of reading and writing the android program file, the android medical terminal can receive the instruction of reading the program file sent by the processor, and the android medical terminal sends the program file of the android system used by the android medical terminal to the processor according to the instruction. The embodiment of the invention is not limited in detail, and can be set according to actual conditions.
Step 106: the processor receives a command of checking the process number through the cmd window, and displays the process numbers of all programs in the program file on a screen of the intelligent device according to the command of checking the process number.
In the embodiment of the invention, after the An Zhuocheng-order file is obtained by the intelligent device, the processor receives the command of checking the process number through the cmd window, the command is ps, the command is executed, the process number of the android program running on the android medical terminal is displayed on the screen of the intelligent device, and the user can visually check the process number. The embodiment of the invention is not limited in detail, and can be set according to actual conditions.
Step 107: and the processor receives and executes instructions for closing the upgrade program process, the visual network service program process and the program file process through the cmd window.
In the embodiment of the invention, the processor receives the instruction for closing the upgrade program process, the visual network service program process and the program file process through the cmd window, and executes the instruction, so that the upgrade program, the visual network service program and the program file which are operated on the android medical terminal are all closed. The embodiment of the invention is not limited in detail, and can be set according to actual conditions.
Optionally, referring to fig. 3, step 107 may specifically include:
step 107a: the method comprises the steps that a processor receives an instruction for closing an upgrade program process, a visual network service program process and a program file process through a cmd window, wherein the instruction comprises: process number of the program process to be shut down.
Step 107b: and the processor closes the upgrading program, the visual network service program and the program file according to the process number of the upgrading program process, the process number of the visual network service program process and the process number of the program file process.
In the embodiment of the invention, a processor receives an instruction for closing an upgrade program process, a video networking service program process and a program file process through a cmd window, wherein the instruction comprises: the method comprises the steps of upgrading the process number of a program, the process number of a visual network service program and the process number of an android program file process, wherein the instruction is 'kill vdown loader'; kill v2 vserver; kill com.vision vera.slw ", wherein" vdown "is an upgrade program that automatically upgrades android program files, if the upgrade program runs during debugging, it affects debugging, so the upgrade program needs to be closed; the v2 vserver is a video networking service program used for enabling the android medical terminal to enter video networking and do all video networking services, and if the program is running, debugging cannot be performed; the "com.Vision Vera.SLW" is the name of the android program, each android program used by each android medical terminal has a fixed name, different android programs have different names, if the program is running, debugging cannot be performed, and the processor closes the program according to the process number of the program, and then debugging can be performed. The embodiment of the invention is not limited in detail, and can be set according to actual conditions.
Step 108: and the processor receives and starts the video networking service program instruction through the cmd window, executes the video networking service program, and enables the android medical terminal to enter the video networking network.
In the embodiment of the invention, after the debugging is finished, the processor receives an instruction for starting the video networking service program through the cmd window, the instruction is v2v server &, and after the instruction is executed, the video networking service program of the android medical terminal is started, and at the moment, the android medical terminal is connected into the video networking network and can simultaneously do all video networking services. The embodiment of the invention is not limited in detail, and can be set according to actual conditions.
Optionally, referring to fig. 4, step 108 may specifically include:
step 108a: and the android medical terminal receives the instructions sent by the processor and starts the visual networking service program.
Step 108b: and the android medical terminal starts the visual networking service program in the android medical terminal according to the instruction.
In the embodiment of the invention, because the visual networking service program of the android medical terminal is closed in the debugging process, when the android medical terminal is required to operate, the visual networking service program is required to be started first, so after the debugging is finished, the android medical terminal receives the instruction of starting the visual networking service program sent by the processor, and according to the instruction, the visual networking service program in the android medical terminal is started, so that the android medical terminal is connected into the visual networking network, and all visual networking services can be simultaneously performed. The embodiment of the invention is not limited in detail, and can be set according to actual conditions.
Step 109: and the processor receives an instruction for running the program file through the cmd window, executes the instruction and runs the program file, so that the android medical terminal normally works in the visual networking network.
In the embodiment of the invention, after the android medical terminal enters the visual networking network, the processor receives the instruction for running the android program file in the android medical terminal through the cmd window, and after the execution, the android program runs, so that the android medical terminal starts to work normally. The embodiment of the invention is not limited in detail, and can be set according to actual conditions.
Optionally, referring to fig. 5, step 109 may specifically include:
step 109a: and the android medical terminal receives the instruction of running the program file, which is sent by the processor.
Step 109b: and the android medical terminal operates the program files in the android medical terminal according to the instruction.
In the embodiment of the invention, the android medical terminal needs to run the android program of the android medical terminal normally, receives the instruction of running the program file sent by the processor, and runs the android program file according to the instruction, so that the android medical terminal starts to normally work. The embodiment of the invention is not limited in detail, and can be set according to actual conditions.
For example, referring to fig. 6, a schematic device diagram of an embodiment of the present invention is shown, where both an intelligent device and an android medical terminal have data line interfaces, the data lines connect the two through the data line interfaces, and the android program in the android medical terminal is debugged through the intelligent device.
Firstly, enabling an adb debugging function, opening a cmd window, inputting an instruction ' adb shell ' in the cmd window, inputting an instruction ' mount-o rw, remote/system ' after the android medical terminal is connected, opening android program file read-write permission in the android medical terminal, sending an instruction for reading the android program file, sending an android program file of the android medical terminal to the intelligent device after the android medical terminal receives the instruction, then receiving a viewing process number instruction through the cmd window by a processor, executing the instruction ' ps ', displaying the process number of the android program running on the android medical terminal on a screen of the intelligent device, and then sending an instruction ' kill vdown; kill v2 vserver; after the processor executes the instruction, the upgrade program, the visual network service program and the android program file of the android medical terminal are closed, and at the moment, the program in the android medical terminal can be debugged.
After the debugging is finished, an instruction v2 vserver &' is sent to the processor, a visual networking service program of the android medical terminal is started after the execution, at the moment, the android medical terminal is connected into a visual networking network, all visual networking services can be simultaneously made, and at last, android program files in the android medical terminal are operated, at the moment, the android medical terminal starts to work normally, and the whole debugging process is finished.
Optionally, referring to fig. 7, a block diagram of a program system for debugging an android medical terminal according to an embodiment of the present invention is shown, where the system is applied to the android medical terminal, and the system includes: android medical terminal and smart machine, android medical terminal is for being applied to the medical industry, installs the intelligent machine of looking networking of android system, and smart machine includes: the processor and the data line interface, the tall and erect medical terminal of android is connected with intelligent device, and the processor of intelligent device includes:
the detection module 310 is configured to detect that an adb debug function is enabled, the data line interface accesses the data line, and adb debug refers to: the method comprises the steps of a client-server universal debugging program, wherein the client refers to intelligent equipment operated by a user, and the server refers to an android medical terminal;
the receive opening module 320 is configured to receive a first instruction to open a command prompt cmd window, and open the cmd window according to the first instruction;
the receiving and executing connection module 330 is configured to receive an instruction for connecting the android medical terminal through the cmd window, execute the instruction, and establish communication connection with the android medical terminal;
the receiving and executing module 340 is configured to receive, through the cmd window, an instruction for opening a read-write permission of a program file in the android medical terminal, and execute the instruction, so that the processor reads and writes the program file, where the program file is an android program file installed in the android medical terminal;
the execution reading module 350 is configured to receive an instruction for reading a program file through the cmd window, and execute the instruction to read the program file into the intelligent device;
the viewing and displaying module 360 is configured to receive a viewing process number instruction through the cmd window, and display the process numbers of all programs in the program file on the screen of the intelligent device according to the viewing process number instruction;
the receiving and closing module 370 is configured to receive and execute an instruction for closing the upgrade program process, the internet of view service program process, and the program file process through the cmd window;
the receiving and executing starting module 380 is configured to receive an instruction for starting the video networking service program through the cmd window, execute the instruction, and start the video networking service program, so that the android medical terminal enters the video networking network;
the receiving and executing module 390 is configured to receive, through the cmd window, an instruction to execute a program file, and execute the program file, so that the android medical terminal works normally in the internet of view network.
Optionally, referring to fig. 8, the receiving execution closing module 370 includes:
a receiving module 3701, configured to receive, through a cmd window, an instruction for closing an upgrade program process, a view networking service program process, and a program file process, where the instruction includes: the process number of the program process to be closed;
the execution closing module 3702 is configured to close the upgrade program, the internet of view service program, and the program file according to the process number of the upgrade program process, the process number of the internet of view service program process, and the process number of the program file process.
Optionally, referring to fig. 9, the android medical terminal includes:
a receiving instruction module 410, configured to receive an instruction sent by the processor to read a program file;
the reading and sending module 420 is configured to send its own program file to the processor according to the instruction;
a receiving and starting module 430, configured to receive an instruction sent by the processor to start the service program of the internet of vision;
and the starting module 440 is used for starting the video networking service program in the android medical terminal according to the instruction.
A receiving and running module 450, configured to receive an instruction sent by the processor to run a program file;
and the operation module 460 is used for operating the program file in the android medical terminal according to the instruction.
According to the method and the device for debugging the android medical terminal, the intelligent device is connected with the android medical terminal through the data line, the intelligent device reads the program file in the android medical terminal to the intelligent device through the adb debugging function and related instructions, then the instructions are used for checking the process number of the running program of the android medical terminal, the related program process is closed, then the visual networking service program is started first, and then the android program file is run to complete debugging of the program in the android medical terminal, the debugging process is simple and easy to understand, common people can complete the debugging, and the using sense and the experience sense of a user are greatly improved.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.

Claims (10)

1. The method for debugging the program in the android medical terminal is characterized by being applied to the android medical terminal, wherein the android medical terminal is an intelligent visual network device applied to the medical industry and provided with an android system, and the intelligent visual network device comprises: the android medical terminal is connected with the intelligent device, and the method comprises the following steps:
the processor detects that an adb debugging function is enabled, a data line interface is connected to a data line, and the adb debugging refers to: the method comprises the steps of a client-server universal debugging program, wherein the client refers to intelligent equipment operated by a user, and the server refers to an android medical terminal;
the processor receives a first instruction for opening a command prompt cmd window, and opens the cmd window according to the first instruction;
the processor receives an instruction for connecting the android medical terminal through the cmd window, executes the instruction and establishes communication connection with the android medical terminal;
the processor receives an instruction for opening the read-write permission of the program file in the android medical terminal through the cmd window, and executes the instruction to enable the processor to read and write the program file, wherein the program file is an android program file installed in the android medical terminal;
the processor receives an instruction for reading the program file through the cmd window, executes the instruction and reads the program file into the intelligent device;
the processor receives a command of checking the process number through the cmd window, and displays the process numbers of all programs in the program file on a screen of the intelligent device according to the command of checking the process number;
the processor receives and executes instructions for closing an upgrade program process, a video networking service program process and the program file process through the cmd window;
the processor receives and starts a video networking service program instruction through the cmd window, executes the video networking service program instruction and starts the video networking service program, so that the android medical terminal enters a video networking network;
and the processor receives and executes the instruction for running the program file through the cmd window, and runs the program file so that the android medical terminal normally works in the visual networking network.
2. The method of claim 1, wherein the processor receives instructions to close an upgrade procedure, a video networking service procedure, and the procedure file procedure through the cmd window and executes, comprising:
the processor receives an instruction for closing an upgrade program process, a video networking service program process and the program file process through the cmd window, wherein the instruction comprises: the process number of the program process to be closed;
and the processor closes the upgrading program, the visual network service program and the program file according to the process number of the upgrading program process, the process number of the visual network service program process and the process number of the program file process.
3. The method of claim 1, wherein the processor receives an instruction to read the program file through the cmd window and executes, comprising:
the android medical terminal receives an instruction sent by the processor and reads the program file;
and the android medical terminal sends the program file of the android medical terminal to the processor according to the instruction.
4. The method of claim 1, wherein the processor receives a start-up visual networking service instruction through the cmd window and executes, the start-up visual networking service, comprising:
the android medical terminal receives an instruction of starting an Internet of view service program, which is sent by the processor;
and the android medical terminal starts the video networking service program in the android medical terminal according to the instruction.
5. The method of claim 1, wherein the processor receives instructions to run the program file and executes, running the program file, comprising:
the android medical terminal receives an instruction for running the program file, which is sent by the processor;
and the android medical terminal operates the program files in the android medical terminal according to the instruction.
6. A system for debugging a program in an android medical terminal, the system being applied to the android medical terminal, the system comprising: android medical terminal and smart machine, android medical terminal is for being applied to the medical industry, installs the intelligent machine of looking networking of android system, smart machine includes: the android medical terminal is connected with the intelligent device, and the processor comprises:
the detection module is used for detecting that an adb debugging function is enabled, the data line interface is connected with the data line, and the adb debugging refers to: the method comprises the steps of a client-server universal debugging program, wherein the client refers to intelligent equipment operated by a user, and the server refers to an android medical terminal;
the method comprises the steps of receiving an opening module, a command prompt cmd window opening module and a command prompt cmd window opening module, wherein the opening module is used for receiving a first command for opening the command prompt cmd window and opening the cmd window according to the first command;
the receiving and executing connection module is used for receiving and executing an instruction for connecting the android medical terminal through the cmd window and establishing communication connection with the android medical terminal;
the receiving and executing module is used for receiving and opening a command of the program file read-write permission in the android medical terminal through the cmd window and executing the command so that the processor reads and writes the program file, wherein the program file is an android program file installed in the android medical terminal;
the execution reading module is used for receiving an instruction for reading the program file through the cmd window, executing the instruction and reading the program file into the intelligent equipment;
the viewing and displaying module is used for receiving a viewing process number instruction through the cmd window and displaying the process numbers of all programs in the program file on a screen of the intelligent device according to the viewing process number instruction;
the receiving and closing module is used for receiving and closing instructions of an upgrade program process, a video networking service program process and the program file process through the cmd window and executing the instructions;
the receiving and executing starting module is used for receiving and executing an instruction for starting the video networking service program through the cmd window, and executing the instruction to start the video networking service program so that the android medical terminal enters a video networking network;
and the receiving and executing module is used for receiving and executing the instruction of the program file through the cmd window, executing the instruction and executing the program file, so that the android medical terminal normally works in the visual networking network.
7. The system of claim 6, wherein the receive execution shutdown module comprises:
the receiving module is configured to receive, through the cmd window, an instruction for closing an upgrade program process, an internet of view service program process, and the program file process, where the instruction includes: the process number of the program process to be closed;
and the execution closing module is used for closing the upgrading program, the visual network service program and the program file according to the process number of the upgrading program process, the process number of the visual network service program process and the process number of the program file process.
8. The system of claim 6, wherein the android medical terminal comprises:
the receiving instruction module is used for receiving an instruction sent by the processor and reading the program file;
and the reading and sending module is used for sending the program file of the reading and sending module to the processor according to the instruction.
9. The system of claim 6, wherein the android medical terminal further comprises:
the receiving starting module is used for receiving the instructions of the video networking service program sent by the processor;
and the starting module is used for starting the video networking service program in the android medical terminal according to the instruction.
10. The system of claim 6, wherein the android medical terminal further comprises:
the receiving and running module is used for receiving an instruction sent by the processor to run the program file;
and the operation module is used for operating the program file in the android medical terminal according to the instruction.
CN201910157064.5A 2019-03-01 2019-03-01 Method and system for debugging program in android medical terminal Active CN110058994B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910157064.5A CN110058994B (en) 2019-03-01 2019-03-01 Method and system for debugging program in android medical terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910157064.5A CN110058994B (en) 2019-03-01 2019-03-01 Method and system for debugging program in android medical terminal

Publications (2)

Publication Number Publication Date
CN110058994A CN110058994A (en) 2019-07-26
CN110058994B true CN110058994B (en) 2023-09-12

Family

ID=67316047

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910157064.5A Active CN110058994B (en) 2019-03-01 2019-03-01 Method and system for debugging program in android medical terminal

Country Status (1)

Country Link
CN (1) CN110058994B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110750242B (en) * 2019-09-19 2023-05-02 北京字节跳动网络技术有限公司 File deployment method, system, medium and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106814943A (en) * 2016-12-20 2017-06-09 武汉斗鱼网络科技有限公司 The exchange method and system of a kind of computer and Android device
CN108614767A (en) * 2016-12-13 2018-10-02 腾讯科技(深圳)有限公司 A kind of remote debugging method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108614767A (en) * 2016-12-13 2018-10-02 腾讯科技(深圳)有限公司 A kind of remote debugging method and device
CN106814943A (en) * 2016-12-20 2017-06-09 武汉斗鱼网络科技有限公司 The exchange method and system of a kind of computer and Android device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
CMD(windows)操作命令大全;无;《https://blog.csdn.net/xiaosemei/article/details/79270904》;20180206;第1-9页 *

Also Published As

Publication number Publication date
CN110058994A (en) 2019-07-26

Similar Documents

Publication Publication Date Title
US10932106B2 (en) System, a method and a computer program product for automated remote control
CN106980511B (en) Firmware upgrading method, device and system
US9762654B2 (en) System and method for providing a user interface to remotely control medical devices
CN108170494B (en) Application program starting method and starting system for intelligent terminal
CN107679058A (en) Method of data synchronization, device and computer-readable recording medium
KR101777025B1 (en) test equipment of Display Module
CN110058994B (en) Method and system for debugging program in android medical terminal
US8813029B2 (en) Remote card content management using synchronous server-side scripting
CN111881054A (en) User interface automation test method, system, equipment and storage medium
KR101745330B1 (en) Computer input automation system
WO2024022399A1 (en) Ia robot monitoring method and apparatus based on rpa and ai
CN117407065A (en) Network card pre-start control method, device, equipment, system and storage medium
CN109254856B (en) Method for providing interface to client by intelligent POS server
US9298428B2 (en) Graphical user interface editor that displays live data during editing
CN107231173A (en) A kind of intelligent watch matching method and system based on data wire
CN111464333A (en) Remote debugging method, computer equipment, storage device and remote debugging system
CN115079885B (en) System control method and device for double window display, electronic equipment and storage medium
CN112835761B (en) Live broadcast software performance data acquisition method and device, electronic equipment and storage medium
CN113032164B (en) BMC and BIOS information interaction method and device, BMC and medium
KR102091497B1 (en) Diagnosis system of customer equipment period and controlling method thereof
CN116069668B (en) Debugging method, device, equipment and storage medium for distributed compiling construction task
CN110351147B (en) Fault recognition device of server
JP5217028B2 (en) Service providing business support server and method, and service providing business support system
CN106814943A (en) The exchange method and system of a kind of computer and Android device
KR20230076326A (en) Method and apparatus for practice management system

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