CN110018838B - Method and system for configuring programs in android medical terminal - Google Patents

Method and system for configuring programs in android medical terminal Download PDF

Info

Publication number
CN110018838B
CN110018838B CN201910157060.7A CN201910157060A CN110018838B CN 110018838 B CN110018838 B CN 110018838B CN 201910157060 A CN201910157060 A CN 201910157060A CN 110018838 B CN110018838 B CN 110018838B
Authority
CN
China
Prior art keywords
android
medical terminal
program
server
terminal
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
CN201910157060.7A
Other languages
Chinese (zh)
Other versions
CN110018838A (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 CN201910157060.7A priority Critical patent/CN110018838B/en
Publication of CN110018838A publication Critical patent/CN110018838A/en
Application granted granted Critical
Publication of CN110018838B publication Critical patent/CN110018838B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a method for configuring a program in an android medical terminal. The method is applied to an android medical terminal, and the android medical terminal comprises the following steps: the android medical terminal comprises a processor, a video network interface and a data line interface, wherein the android medical terminal is connected with a video network server and an upgrade server in the video network, and the method comprises the following steps: the debugging function of detecting the android medical terminal is started, the instruction for reading the physical address of the terminal is received, the physical address of the android medical terminal is read, the physical address is sent to a video network server, the instruction is sent by the video network server, the terminal number and the unique static internet address of the android medical terminal in the video network, the upgrading program script is received, the uniform resource locator address and the port number of the upgrading program are received, the upgrading program request is sent to the upgrading server, the restarting instruction and the program corresponding to the android medical terminal are received, and the program corresponding to the android medical terminal is configured in the android medical terminal after restarting.

Description

Method and system for configuring programs in android medical terminal
Technical Field
The invention relates to the field of medical treatment, in particular to a method and a system for configuring 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 the real-time transmission of full-network high-definition videos which cannot be realized by the Internet at present, pushes a plurality of Internet applications to high-definition video, and finally realizes that the distance between people in the global range is only the distance of one screen.
The high-definition audio and video images and the high-speed transmission rate of the video network are utilized, the video network is applied to the medical industry, the effect of medical work can be greatly improved, and particularly, communication and communication with excellent experience feeling can be carried out between doctors, nurses and patients through the high-definition images and the extremely high speed.
In the prior art, for video network medical terminal equipment which is applied to the medical industry and is provided with an android system, a method for configuring a program is not available for a while, the program is configured by professional personnel generally, and a user only needs to open the video network medical terminal equipment for use.
Disclosure of Invention
The method and the system for configuring the programs in the android medical terminal solve the problem that when the android medical terminal needs to configure the programs, the programs need to be configured one by a professional.
In order to solve the technical problem, an embodiment of the present invention provides a method for configuring a program in an android medical terminal, where the method is applied to an android medical terminal, the android medical terminal is a video networking intelligent device applied to the medical industry and provided with an android system, and the android medical terminal includes: the android medical terminal comprises a processor, a video network interface and a data line interface, wherein the android medical terminal is connected with a video network server and an upgrade server in the video network, and the method comprises the following steps:
the processor detects that the universal serial bus debugging function of the android medical terminal is started, the video network interface is accessed to a video network cable, and the data cable interface is accessed to a data cable;
the processor receives an instruction for reading the physical address of the android medical terminal;
the processor reads the physical address of the android medical terminal according to the instruction and sends the physical address to a video network server;
the processor receives a terminal number and a unique static internet protocol address of the android medical terminal in the video network, which are sent by the video network server;
the processor receives an upgrading program script, a uniform resource locator address of an upgrading server and a port number of an upgrading program, and stores the upgrading program script, the uniform resource locator address of the upgrading server and the port number of the upgrading program in a system directory of the android medical terminal, wherein the port number is a port number which is specially used for providing upgrading program service on the upgrading server;
the processor sends an upgrade program request to the upgrade server, the request comprising: the uniform resource locator address, the port number of the upgrading program, the terminal number of the android medical terminal and an instruction for starting an upgrading program script;
the processor receives a restart instruction and a program which is sent by the upgrade server and corresponds to the android medical terminal;
and the processor is restarted according to the restarting instruction, and a program corresponding to the android medical terminal is configured in the android medical terminal after the restarting.
Optionally, the processor receives a terminal number and a unique static internet protocol address of the android medical terminal in the video network, which are sent by the video network server, and the method includes:
the video networking server detects that the android medical terminal is connected with the video networking server;
the video network server receives a physical address of the android medical terminal;
the video network server allocates a terminal number and a unique static internet protocol address of the android medical terminal in the video network according to the physical address of the android medical terminal;
and the video networking server sends the terminal number and the unique static Internet protocol address to the android medical terminal.
Optionally, after the processor is restarted according to a restart instruction and a program corresponding to the android medical terminal is configured in the android medical terminal after the restart, the method further includes:
if the android medical terminal leaves the video network and then enters the video network again, the upgrade server detects that the android medical terminal is accessed into the upgrade server;
the upgrade server detects whether the program corresponding to the android medical terminal is upgraded or not according to the terminal number accessed to the android medical terminal;
if the program is updated, the upgrade server sends a push message for judging whether the program is updated to the android medical terminal;
and if the program is not updated, the upgrading server does not send any push message.
Optionally, the processor receives a restart instruction and a program corresponding to the android medical terminal and sent by the upgrade server, and the program includes:
the upgrading server receives an upgrading program request sent by the processor;
the upgrade server judges whether the android medical terminal is upgraded for the first time according to the upgrade program request;
and if the android medical terminal is upgraded for the first time, sending a program corresponding to the android medical terminal.
Optionally, after the upgrade server determines whether the android medical terminal is upgraded for the first time according to the upgrade program request, the method further includes:
if the android medical terminal is not upgraded for the first time, the upgrade server detects whether the program corresponding to the android medical terminal is upgraded or not in the time period of the upgrade program request and the upgrade program request at the last time;
if the program is updated, the upgrade server sends the program of the latest version to the android medical terminal;
and if the program is not updated, the upgrading server does not send any program.
The embodiment of the invention also provides a system for configuring the programs in the android medical terminal, which is applied to the medical industry and comprises the following components: tall and erect medical terminal of ann, internet of vision server and upgrade server, tall and erect medical terminal of ann is for being applied to the medical industry, installs the internet of vision smart machine of tall and erect system of ann, the terminal includes: treater, video networking interface and data line interface, the terminal is connected with video networking server and upgrading server, the treater includes:
the first detection module is used for detecting that the universal serial bus debugging function of the android medical terminal is enabled, the video networking interface is accessed to a video networking network cable, and the data cable interface is accessed to a data cable;
the first receiving module is used for receiving an instruction for reading the physical address of the android medical terminal;
the reading and sending module is used for reading the physical address of the android medical terminal according to the instruction and sending the physical address to a video networking server;
the second receiving module is used for receiving the terminal number and the unique static internet protocol address of the android medical terminal in the video network, which are sent by the video network server;
the receiving and storing module is used for receiving an upgrading program script, a uniform resource locator address of an upgrading server and a port number of an upgrading program, and storing the upgrading program script, the uniform resource locator address of the upgrading server and the port number of the upgrading program in a system directory of the android medical terminal, wherein the port number is a port number which is specially used for providing upgrading program service on the upgrading server;
a first sending module, configured to send an upgrade program request to the upgrade server, where the request includes: the uniform resource locator address, the port number of the upgrading program, the terminal number of the android medical terminal and an instruction for starting an upgrading program script;
the receiving and restarting module is used for receiving a restarting instruction and a program which is sent by the upgrading server and corresponds to the android medical terminal;
and the restarting configuration module is used for restarting according to a restarting instruction, and configuring a program corresponding to the android medical terminal in the android medical terminal after restarting.
Optionally, the video network server comprises:
the second detection module is used for detecting that the android medical terminal is connected with the video networking server;
the third receiving module is used for receiving the physical address of the android medical terminal;
the distribution module is used for distributing a terminal number and a unique static internet protocol address of the android medical terminal in the video network according to the physical address of the android medical terminal;
and the second sending module is used for sending the android medical terminal number and the unique static internet protocol address to the android medical terminal.
Optionally, the upgrade server includes:
the third detection module is used for detecting that the android medical terminal is accessed to the upgrade server when the android medical terminal enters the video network again after leaving the video network;
the detection pushing module is used for detecting whether the program corresponding to the android medical terminal is updated or not according to the terminal number accessed to the android medical terminal, and if the program is updated, pushing information of whether the program is updated or not is sent to the android medical terminal;
if the program is not updated, no push message is sent.
Optionally, the upgrade server further includes:
the fourth receiving module is used for receiving an upgrading program request sent by the android medical terminal;
and the judging and sending module is used for judging whether the android medical terminal is upgraded for the first time according to the upgrading program request, and if the android medical terminal is upgraded for the first time, sending the program corresponding to the android medical terminal.
Optionally, the upgrade server further includes:
the detection sending module is used for detecting whether the program corresponding to the android medical terminal is updated in the time period of the current updating program request and the last updating program request if the android medical terminal is not updated for the first time, and sending the program of the latest version to the android medical terminal if the program is updated;
if the program is not updated, no program is sent.
Compared with the prior art, the method and the system for configuring the programs in the android medical terminal provided by the invention have the advantages that when the android medical terminal is accessed to a video network for use, the physical address of the terminal is acquired and sent to a video network server, the terminal number and the unique static internet protocol address number of the device are acquired, then the upgrading program script, the uniform resource locator address and the port number of the upgrading program are configured in the terminal, the upgrading program request is sent to the upgrading server, the program of the terminal device is acquired and is the latest version, then the terminal device is restarted, and the latest version of the program is configured on the android medical terminal after the restarting is finished. By adopting the method provided by the invention, the android medical procedure can be configured by the user, the method is simple and convenient, and the use feeling and experience feeling of the user are greatly improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a flowchart of a method for configuring a program in an android medical terminal according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating the details of step 104 in an embodiment of the present invention;
FIG. 3 is a flowchart illustrating the detailed procedure of step 107 in an embodiment of the present invention;
FIG. 4 is a flow chart of a method following step 108 in an embodiment of the present invention;
FIG. 5 is a schematic diagram of an apparatus of an embodiment of the invention;
FIG. 6 is a block diagram of a program system for configuring an android medical terminal according to an embodiment of the present invention;
FIG. 7 is a block diagram of a video networking server in an embodiment of the invention;
FIG. 8 is a block diagram of an upgrade server in an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 shows a flowchart of a method for configuring a program in an android medical terminal according to an embodiment of the present invention, where the method is applied to an android medical terminal, the android medical terminal is a video networking intelligent device applied to the medical industry and equipped with an android system, and the android medical terminal includes: the android medical terminal comprises a processor, a video network interface and a data line interface, wherein the android medical terminal is connected with a video network server and an upgrade server in the video network, and the method for configuring the programs in the android medical terminal comprises the following steps:
step 101: the processor detects that the universal serial bus debugging function of the android medical terminal is started, the video networking interface is accessed to the video networking network cable, and the data cable interface is accessed to the data cable.
In the embodiment of the invention, the android medical terminal is a video network intelligent device applied to the medical industry and provided with an android system, and by means of high definition and rapid superior performance of the video network, the working efficiency and the working quality of professional personnel in the medical industry can be greatly improved, and meanwhile, medical service is also provided for patients visually and clearly, and the android medical terminal comprises: the treater, video network interface and data line interface, wherein the treater is tall and erect medical terminal's core for ann, it provides technical support for tall and erect medical terminal's all functions of ann, the video network interface is tall and erect medical terminal and video network internet access's interface for ann, because the video network is different with internet network's communication protocol, so tall and erect medical terminal of ann when using in video network, need have special video network interface to carry out internet access, the interface that upgrade server is connected in data line interface for tall and erect medical terminal of ann and the video network, it provides upgrading data service for tall and erect medical terminal specially, data transmission is two-way. The universal serial bus debugging (usb debugging) mode is a function provided by an android system and used for development work, data can be copied between intelligent equipment and equipment provided with the android system by using the function, application programs are installed on mobile equipment, log data are read, and the like. In the embodiment of the invention, when a program needs to be configured, the android medical terminal is respectively connected with the video networking server and the upgrading server in the video networking, the video networking network cable is connected with the video networking server through the video networking interface, the data cable is connected with the upgrading server through the data cable interface, the processor of the android medical terminal firstly detects that the usb debugging function is started, the video networking interface is accessed to the video networking network cable, and the data cable interface is accessed to the data cable. The embodiment of the present invention is not limited in detail, and may be set according to actual situations.
Step 102: the processor receives an instruction for reading the physical address of the android medical terminal.
In the embodiment of the invention, the physical address of a common android medical terminal is unique and cannot be the same as that of other android medical terminals of the same type, the physical address is the best mode for distinguishing the android medical terminals, and the processor receives the instruction for reading the physical address of the android medical terminal. The embodiment of the present invention is not limited in detail, and may be set according to actual situations.
Step 103: and the processor reads the physical address of the android medical terminal according to the instruction and sends the physical address to the video networking server.
In the embodiment of the invention, after receiving the instruction for reading the physical address, the processor executes the instruction, reads the physical address of the android medical terminal and sends the physical address to the video network server. The embodiment of the present invention is not limited in detail, and may be set according to actual situations.
Step 104: the processor receives a terminal number and a unique static internet protocol address of the android medical terminal in the video network, which are sent by the video network server.
In the embodiment of the invention, the processor receives the terminal number and the unique Internet protocol address (IP) of the android medical terminal in the video network sent by the video network server and stores the terminal number and the unique IP in the video network, and the physical address is unique, so that the terminal number and the IP in the video network are also unique, and the android medical terminals of the same type and different types can be clearly distinguished. The embodiment of the present invention is not limited in detail, and may be set according to actual situations.
Optionally, referring to fig. 2, step 104 may specifically include the following steps:
step 104 a: the video network server detects that the android medical terminal is connected with the video network server;
step 104 b: the method comprises the steps that a video networking server receives a physical address of an android medical terminal;
step 104 c: the video network server allocates a terminal number and a unique static internet protocol address of the android medical terminal in the video network according to the physical address of the android medical terminal;
step 104 d: and the video networking server sends the terminal number and the unique static Internet protocol address to the android medical terminal.
In the embodiment of the invention, the video networking server detects that the android medical terminal is connected with the video networking server, and then can receive the physical address of the android medical terminal sent by the processor of the android medical terminal, because the physical address is unique, the video networking server can allocate the terminal number and the IP of the android medical terminal in the video networking according to the unique physical address, the terminal number and the IP are also unique and can not be repeated with any other android medical terminal, and then the video networking server feeds the terminal number and the IP back to the processor of the android medical terminal. The embodiment of the present invention is not limited in detail, and may be set according to actual situations.
Step 105: the processor receives the upgrading program script, the uniform resource locator address of the upgrading server and the port number of the upgrading program, and stores the upgrading program script, the uniform resource locator address of the upgrading server and the port number of the upgrading program in a system directory of the android medical terminal, wherein the port number is a port number which is specially used for providing upgrading program service on the upgrading server.
In the embodiment of the invention, when a program in an android medical terminal needs to be upgraded, an upgrade program script, a uniform resource locator (url) address of an upgrade server and a port number of the upgrade program are needed, wherein the upgrade program script is a section of program code and has the function of upgrading or downloading the program after the android medical terminal is connected with the upgrade server, and the upgrade program script comprises but is not limited to an upgrade package and an installation package of the program; the url address of the upgrade server is used for positioning the address of the upgrade server, a plurality of servers are arranged in the video network, and only the upgrade server which stores the android medical terminal program package and the upgrade package needs to have the url address to correctly find the url address; the port number is a port number specially providing an upgrade program service on the upgrade server, and the upgrade server has functions of not only an upgrade program but also programs of other devices in the video network, so that a special port number is required to determine that the upgrade server is specially providing services for the android medical terminal, and the working efficiency of the upgrade server can be improved. The content is stored in a system directory of the android medical terminal, so that the android medical terminal can automatically configure the self program after accessing the video network server and the upgrading server. The embodiment of the present invention is not limited in detail, and may be set according to actual situations.
Step 106: the processor sends an upgrade program request to the upgrade server, the request comprising: the method comprises the steps of obtaining a uniform resource locator address, a port number of an upgrading program, a terminal number of an android medical terminal and an instruction for starting an upgrading program script.
In the embodiment of the invention, after the video network server and the upgrading server are connected, the processor actively sends an upgrading program request to the upgrading server, and the request comprises the following steps: ur address, in order to prepare for finding an upgrade server; the port number of the program is upgraded, and the server can quickly know that the android medical terminal needs to be subjected to program configuration; the terminal number of the android medical terminal is not mixed in order to determine which android medical terminal is specific; and starting an instruction of upgrading the program script to configure the program in the android medical terminal. The embodiment of the present invention is not limited in detail, and may be set according to actual situations.
Step 107: and the processor receives the restart instruction and the program which is sent by the upgrade server and corresponds to the android medical terminal.
In the embodiment of the invention, after the programs in the android medical terminal are reconfigured, the configuration can be completed only by restarting, so that after the upgrade server sends the corresponding programs in the android medical terminal to the processor, the processor receives the restart instruction and the programs corresponding to the android medical terminal. The embodiment of the present invention is not limited in detail, and may be set according to actual situations.
Optionally, referring to fig. 3, step 107 may specifically include the following steps:
step 107 a: the upgrading server receives an upgrading program request sent by the processor;
step 107 b: the upgrade server judges whether the android medical terminal is upgraded for the first time according to the upgrade program request;
step 107 c: if the android medical terminal is upgraded for the first time, sending a program corresponding to the android medical terminal;
step 107 d: if the android medical terminal is not upgraded for the first time, the upgrade server detects whether the program corresponding to the android medical terminal is upgraded or not in the time period of the upgrade program request and the upgrade program request at the last time;
step 107 e: and if the program is updated, the upgrade server sends the program with the latest version to the android medical terminal, and if the program is not updated, the upgrade server does not send any program.
In the embodiment of the invention, when the android medical terminal is used for the first unsealing, a preset program in the android medical terminal may be incomplete or have errors, and a program stored in an upgrade server is definitely complete and correct, in order to ensure the normal use of the terminal, the upgrade server firstly judges whether the terminal is upgraded for the first time after receiving an upgrade program request, if so, the upgrade server sends the latest, complete and correct android medical terminal program corresponding to the upgrade request to the android medical terminal, and the terminal performs the subsequent steps; if the upgrade is not the first upgrade, the upgrade server detects whether the program corresponding to the android medical terminal is upgraded and updated in a time period between the upgrade program request at this time and the upgrade program request at the last time, for example, the upgrade is the upgrade request at 2019, 2, month and 1, and the upgrade is the upgrade request at 2019, 1, month and 20, and in this time, the program corresponding to the android medical terminal is updated, if the upgrade request is not the upgrade request, no program is sent, and if the upgrade request is the upgrade request, the upgrade server sends the program of the latest version to the android medical terminal, and the terminal performs subsequent steps. The embodiment of the present invention is not limited in detail, and may be set according to actual situations.
Step 108: and the processor is restarted according to the restart instruction, and the program corresponding to the android medical terminal is configured in the android medical terminal after the restart.
In the embodiment of the invention, the processor is restarted according to the restarting instruction, and the latest, most correct and complete program is configured in the android medical terminal after the restarting instruction, so that the android medical terminal can normally work. The embodiment of the present invention is not limited in detail, and may be set according to actual situations.
Optionally, referring to fig. 4, step 108 further includes the following steps:
step 201: if the android medical terminal leaves the video network and then enters the video network again, the upgrade server detects that the android medical terminal is accessed to the upgrade server;
step 202: the method comprises the steps that an upgrade server detects whether an upgrade update exists in a program corresponding to an android medical terminal according to a terminal number of an access android medical terminal;
step 203: if the program is updated, the upgrade server sends a push message for judging whether the program is updated to the android medical terminal;
step 204: if the program is not updated, the upgrade server does not send any push messages.
In the embodiment of the invention, after the android medical terminal is used for a period of time, the android medical terminal may end working and leave the video network, or after the android medical terminal leaves the video network due to some other factors such as faults and the like, the android medical terminal enters the video network again and is connected with the upgrade server, the upgrade server can actively detect that the android medical terminal is accessed to the upgrade server, and then detects whether a corresponding terminal program is updated in the period of time when the android medical terminal is offline, if the terminal program is updated, the upgrade server can actively send an updated push message to the android medical terminal, and if the terminal program is not updated, no message is sent. The embodiment of the present invention is not limited in detail, and may be set according to actual situations.
For example, referring to fig. 5, an apparatus schematic diagram of an embodiment of the present invention, an android medical terminal includes: the android medical terminal utilizes the video networking interface, is connected with the video networking server through the video networking network cable, utilizes the data cable interface, and is connected with the upgrading server in the video networking through the data cable.
When carrying out tall and erect medical terminal procedure configuration of ann, the treater detects usb debugging function at first and is launched, and the video network interface inserts the video network net line, and the data line interface inserts the data line, later receives the instruction of reading tall and erect medical terminal physical address of ann, reads out tall and erect medical terminal's physical address of ann according to the instruction: 8F-45-56-58-DB-12, sending the address to the video network server, and after receiving the physical address, the video network server allocates terminal numbers 2019.2.5-2020.1.25 in the video network, IP: 192.168.6.99, and then feeds back the information to the processor.
The processor receives an upgrading program script and a url address of an upgrading server: https: // www.sjfwq.com; port number of the upgrade program: 3668, and the information is stored in a system directory of the android medical terminal, and then a lift program request is sent to the upgrade server, where the request includes: ur address: https: // www.sjfwq.com; port number: 3668; and (3) terminal number: 2019.2.5-2020.1.25; IP: 192.168.6.99. after the upgrade server receives the information, the android medical terminal is not upgraded for the first time, the last upgrade time is 2019, 1 month and 1 day, the program is updated in the period, the upgrade server sends the update program package to a processor of the android medical terminal, the processor receives a restart instruction, the android medical terminal is restarted, the self program is updated to the latest version, and the program configuration in the whole android medical terminal is completed.
Optionally, referring to fig. 6, a block diagram of a system for configuring a program in an android medical terminal is shown, where the system is applied in the medical industry, and the system includes: tall and erect medical terminal of ann, visual networking server and upgrade server, tall and erect medical terminal of ann is for being applied to the medical industry, installs the visual networking smart machine of tall and erect system of ann, and the terminal includes: treater, video networking interface and data line interface, terminal and video networking server and upgrade server are connected, and this treater includes:
the first detection module 310 is used for detecting that the universal serial bus debugging function of the android medical terminal is enabled, the video networking interface is accessed to a video networking network cable, and the data cable interface is accessed to a data cable;
the first receiving module 320 is configured to receive an instruction for reading a physical address of the android medical terminal;
the reading and sending module 330 is used for reading the physical address of the android medical terminal according to the instruction and sending the physical address to the video network server;
the second receiving module 340 is configured to receive a terminal number and a unique static internet protocol address of the android medical terminal in the video network, which are sent by the video network server;
the receiving and storing module 350 is used for receiving the upgrading program script, the uniform resource locator address of the upgrading server and the port number of the upgrading program, storing the upgrading program script, the uniform resource locator address of the upgrading server and the port number of the upgrading program in a system directory of the android medical terminal, wherein the port number is a port number which is specially used for providing upgrading program service on the upgrading server;
a first sending module 360, configured to send an upgrade program request to the upgrade server, where the request includes: the method comprises the steps of obtaining a uniform resource locator address, a port number of an upgrading program, a terminal number of an android medical terminal and an instruction for starting an upgrading program script;
the receiving and restarting module 370 is used for receiving a restarting instruction and a program which is sent by the upgrade server and corresponds to the android medical terminal;
and the restarting configuration module 380 is used for restarting according to the restarting instruction, and configuring the program corresponding to the android medical terminal in the android medical terminal after restarting.
Alternatively, referring to fig. 7, the video network server includes:
the second detection module 410 is used for detecting that the android medical terminal is connected with the video network server;
a third receiving module 420, configured to receive a physical address of the android medical terminal;
the allocating module 430 is configured to allocate a terminal number and a unique static internet protocol address of the android medical terminal in the video network according to the physical address of the android medical terminal;
the second sending module 440 is configured to send the android medical terminal number and the unique static internet protocol address to the android medical terminal.
Alternatively, referring to fig. 8, the upgrade server includes:
the third detection module 510 is configured to detect that the android medical terminal is accessed to the upgrade server when the android medical terminal enters the video networking network again after leaving the video networking network;
the detection pushing module 520 is used for detecting whether the program corresponding to the android medical terminal is updated according to the terminal number accessed to the android medical terminal, if the program is updated, sending a pushing message for judging whether the program is updated to the android medical terminal, and if the program is not updated, not sending any pushing message;
a fourth receiving module 530, configured to receive an upgrade program request sent by an android medical terminal;
and the judging and sending module 540 is configured to judge whether the android medical terminal is upgraded for the first time according to the upgrade program request, and send the program corresponding to the android medical terminal if the android medical terminal is upgraded for the first time.
The detection sending module 550 is configured to detect whether the program corresponding to the android medical terminal is updated in the time period between the current upgrade program request and the last upgrade program request if the android medical terminal is not upgraded for the first time, send the program of the latest version to the android medical terminal if the program is updated, and not send any program if the program is not updated.
According to the embodiment, the android medical terminal is connected with the video networking server and the upgrading server through the video networking interface and the data line interface, when the android medical terminal is accessed into the video networking for use, the physical address of the terminal is obtained and sent to the video networking server, the terminal number and the IP number of the device are obtained, then the upgrading program script, the url address and the port number of the upgrading program are configured in the terminal, the upgrading program request is sent to the upgrading server, the program of the terminal device is obtained and is the latest version, then the terminal device is restarted, and the latest version of the program is configured on the android medical terminal after the restarting is completed. By adopting the method provided by the invention, the android medical procedure can be configured by the user, the method is simple and convenient, and the use feeling and experience feeling of the user are greatly improved.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be 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. Also, herein, 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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
While the present invention has been described with reference to the particular illustrative embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, but is intended to cover various modifications, equivalent arrangements, and equivalents thereof, which may be made by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method for configuring a program in an android medical terminal is characterized in that the method is applied to the android medical terminal, the android medical terminal is a video networking intelligent device applied to the medical industry and provided with an android system, and the android medical terminal comprises: the android medical terminal comprises a processor, a video network interface and a data line interface, wherein the android medical terminal is connected with a video network server and an upgrade server in the video network, and the method comprises the following steps:
the processor detects that the universal serial bus debugging function of the android medical terminal is started, the video networking interface is accessed to a video networking network cable, and the data cable interface is accessed to a data cable;
the processor receives an instruction for reading the physical address of the android medical terminal;
the processor reads the physical address of the android medical terminal according to the instruction and sends the physical address to a video network server;
the processor receives a terminal number and a unique static internet protocol address of the android medical terminal in the video network, which are sent by the video network server;
the processor receives an upgrading program script, a uniform resource locator address of an upgrading server and a port number of an upgrading program, and stores the upgrading program script, the uniform resource locator address of the upgrading server and the port number of the upgrading program in a system directory of the android medical terminal, wherein the port number is a port number which is specially used for providing upgrading program service on the upgrading server;
the processor sends an upgrade program request to the upgrade server, the request comprising: the uniform resource locator address, the port number of the upgrading program, the terminal number of the android medical terminal and an instruction for starting an upgrading program script;
the processor receives a restart instruction and a program which is sent by the upgrade server and corresponds to the android medical terminal;
and the processor is restarted according to the restarting instruction, and a program corresponding to the android medical terminal is configured in the android medical terminal after the restarting.
2. The method of claim 1, wherein the processor receives the terminal number and the unique static internet protocol address of the android medical terminal in the video network, which are sent by the video network server, and comprises:
the video networking server detects that the android medical terminal is connected with the video networking server;
the video network server receives a physical address of the android medical terminal;
the video network server allocates a terminal number and a unique static internet protocol address of the android medical terminal in the video network according to the physical address of the android medical terminal;
and the video networking server sends the terminal number and the unique static Internet protocol address to the android medical terminal.
3. The method of claim 1, wherein after the processor reboots according to a reboot instruction and a procedure corresponding to the android medical terminal is configured in the android medical terminal after rebooting, the method further comprises:
if the android medical terminal leaves the video network and then enters the video network again, the upgrade server detects that the android medical terminal is accessed to the upgrade server;
the upgrade server detects whether the program corresponding to the android medical terminal is upgraded or not according to the terminal number accessed to the android medical terminal;
if the program is updated, the upgrade server sends a push message for judging whether the program is updated to the android medical terminal;
and if the program is not updated, the upgrading server does not send any push message.
4. The method of claim 1, wherein the processor receives a restart instruction and the program corresponding to the android medical terminal sent by the upgrade server, and the method comprises:
the upgrading server receives an upgrading program request sent by the processor;
the upgrade server judges whether the android medical terminal is upgraded for the first time according to the upgrade program request;
and if the android medical terminal is upgraded for the first time, sending a program corresponding to the android medical terminal.
5. The method of claim 4, wherein after the upgrade server determines whether the android medical terminal is upgraded for the first time according to the upgrade program request, the method further comprises:
if the android medical terminal is not upgraded for the first time, the upgrade server detects whether the program corresponding to the android medical terminal is upgraded and updated in the time period of the current upgrade program request and the last upgrade program request;
if the program is updated, the upgrade server sends the program with the latest version to the android medical terminal;
and if the program is not updated, the upgrading server does not send any program.
6. A system for configuring a program in an android medical terminal, which is applied to the medical industry, and comprises: tall and erect medical terminal of ann, internet of vision server and upgrade server, tall and erect medical terminal of ann is for being applied to the medical industry, installs the internet of vision smart machine of tall and erect system of ann, the terminal includes: treater, video networking interface and data line interface, the terminal is connected with video networking server and upgrading server, the treater includes:
the first detection module is used for detecting that the universal serial bus debugging function of the android medical terminal is enabled, the video networking interface is accessed to a video networking network cable, and the data cable interface is accessed to a data cable;
the first receiving module is used for receiving an instruction for reading the physical address of the android medical terminal;
the reading and sending module is used for reading the physical address of the android medical terminal according to the instruction and sending the physical address to a video networking server;
the second receiving module is used for receiving the terminal number and the unique static internet protocol address of the android medical terminal in the video network, which are sent by the video network server;
the receiving and storing module is used for receiving an upgrading program script, a uniform resource locator address of an upgrading server and a port number of an upgrading program, and storing the upgrading program script, the uniform resource locator address of the upgrading server and the port number of the upgrading program in a system directory of the android medical terminal, wherein the port number is a port number which is specially used for providing upgrading program service on the upgrading server;
a first sending module, configured to send an upgrade program request to the upgrade server, where the request includes: the uniform resource locator address, the port number of the upgrading program, the terminal number of the android medical terminal and an instruction for starting an upgrading program script;
the receiving and restarting module is used for receiving a restarting instruction and a program which is sent by the upgrading server and corresponds to the android medical terminal;
and the restarting configuration module is used for restarting according to a restarting instruction, and configuring a program corresponding to the android medical terminal in the android medical terminal after restarting.
7. The system of claim 6, wherein the video networking server comprises:
the second detection module is used for detecting that the android medical terminal is connected with the video networking server;
the third receiving module is used for receiving the physical address of the android medical terminal;
the distribution module is used for distributing a terminal number and a unique static internet protocol address of the android medical terminal in the video network according to the physical address of the android medical terminal;
and the second sending module is used for sending the android medical terminal number and the unique static internet protocol address to the android medical terminal.
8. The system of claim 6, wherein the upgrade server comprises:
the third detection module is used for detecting that the android medical terminal is accessed to the upgrade server when the android medical terminal enters the video network again after leaving the video network;
the detection pushing module is used for detecting whether the program corresponding to the android medical terminal is updated or not according to the terminal number accessed to the android medical terminal, and if the program is updated, pushing information of whether the program is updated or not is sent to the android medical terminal;
if the program is not updated, no push message is sent.
9. The system of claim 6, wherein the upgrade server further comprises:
the fourth receiving module is used for receiving an upgrading program request sent by the android medical terminal;
and the judging and sending module is used for judging whether the android medical terminal is upgraded for the first time according to the upgrading program request, and if the android medical terminal is upgraded for the first time, sending the program corresponding to the android medical terminal.
10. The system of claim 6, wherein the upgrade server further comprises:
the detection sending module is used for detecting whether the program corresponding to the android medical terminal is updated in the time period of the current updating program request and the last updating program request if the android medical terminal is not updated for the first time, and sending the program of the latest version to the android medical terminal if the program is updated;
if the program is not updated, no program is sent.
CN201910157060.7A 2019-03-01 2019-03-01 Method and system for configuring programs in android medical terminal Active CN110018838B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910157060.7A CN110018838B (en) 2019-03-01 2019-03-01 Method and system for configuring programs in android medical terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910157060.7A CN110018838B (en) 2019-03-01 2019-03-01 Method and system for configuring programs in android medical terminal

Publications (2)

Publication Number Publication Date
CN110018838A CN110018838A (en) 2019-07-16
CN110018838B true CN110018838B (en) 2022-05-06

Family

ID=67189189

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910157060.7A Active CN110018838B (en) 2019-03-01 2019-03-01 Method and system for configuring programs in android medical terminal

Country Status (1)

Country Link
CN (1) CN110018838B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104717282A (en) * 2015-02-11 2015-06-17 工业和信息化部计算机与微电子发展研究中心(中国软件评测中心) Method, device and system for controlling intelligent terminals with Android operating system
CN108037939A (en) * 2017-12-22 2018-05-15 上海斐讯数据通信技术有限公司 The upgrade method and upgrade-system of a kind of application program
CN108958785A (en) * 2017-05-23 2018-12-07 腾讯科技(深圳)有限公司 A kind of application program updating method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011149857A1 (en) * 2010-05-24 2011-12-01 Abbott Diabetes Care Inc. Method and system for updating a medical device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104717282A (en) * 2015-02-11 2015-06-17 工业和信息化部计算机与微电子发展研究中心(中国软件评测中心) Method, device and system for controlling intelligent terminals with Android operating system
CN108958785A (en) * 2017-05-23 2018-12-07 腾讯科技(深圳)有限公司 A kind of application program updating method and device
CN108037939A (en) * 2017-12-22 2018-05-15 上海斐讯数据通信技术有限公司 The upgrade method and upgrade-system of a kind of application program

Also Published As

Publication number Publication date
CN110018838A (en) 2019-07-16

Similar Documents

Publication Publication Date Title
CN109547570B (en) Service registration method, device, registration center management equipment and storage medium
US20070014244A1 (en) Alert mechanism for notifying multiple user devices sharing a connected-data-set
CN109495433B (en) Data downloading method and device, storage medium and electronic device
EP2878140B1 (en) Wireless firmware upgrades to an alarm security panel
EP1911251A1 (en) System and method for provisioning a user device
CN101436138A (en) Control device and control method for software upgrade and dynamic rolling back
WO2014146256A1 (en) Upgrade method, intelligent terminal, and upgrade system
CN113312064B (en) Method and device for installing and configuring physical machine and computer readable medium
US20150113423A1 (en) System and method to configure a field device
WO2015103967A1 (en) Application categorization method, application categorization apparatus, and service server
CN107644075B (en) Method and device for collecting page information
CN110647739A (en) Software installation detection method, device, terminal and storage medium
CN106549789A (en) A kind of method and system for realizing that server is installed
CN103200022B (en) A kind of data download abnormality eliminating method, equipment and system
CN113849228A (en) Operating system batch deployment method, system, terminal and storage medium
CN107844597B (en) Game application management method, electronic device and computer readable medium
US10193737B2 (en) Method for performing communication between browser and mobile terminal, and browser apparatus
CN114221866A (en) Method, device and medium for upgrading terminal
CN110018838B (en) Method and system for configuring programs in android medical terminal
CN112104698A (en) Method for accessing vehicle-mounted terminal to gateway, related equipment and medium
CN116737662A (en) Method, device, electronic equipment and storage medium for processing business data
CA2548783A1 (en) Method and apparatus for a client call service
CN113064616A (en) Software updating method and device, storage medium and electronic equipment
CN111638896A (en) Upgrading method, upgrading device, storage medium, processor and mobile terminal
CN113742110A (en) Message transmission method and device, electronic equipment and storage medium

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