WO2014183556A1 - Procédé et appareil de traitement d'application - Google Patents

Procédé et appareil de traitement d'application Download PDF

Info

Publication number
WO2014183556A1
WO2014183556A1 PCT/CN2014/076484 CN2014076484W WO2014183556A1 WO 2014183556 A1 WO2014183556 A1 WO 2014183556A1 CN 2014076484 W CN2014076484 W CN 2014076484W WO 2014183556 A1 WO2014183556 A1 WO 2014183556A1
Authority
WO
WIPO (PCT)
Prior art keywords
port information
server
user equipment
named pipe
application processing
Prior art date
Application number
PCT/CN2014/076484
Other languages
English (en)
Chinese (zh)
Inventor
郭伟
姚沛延
Original Assignee
华为终端有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为终端有限公司 filed Critical 华为终端有限公司
Publication of WO2014183556A1 publication Critical patent/WO2014183556A1/fr

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • G06F9/4413Plug-and-play [PnP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/656Updates while running
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • G06F9/4484Executing subprograms
    • G06F9/4486Formation of subprogram jump address
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/566Grouping or aggregating service requests, e.g. for unified processing

Definitions

  • Embodiments of the present invention relate to the field of communications technologies, and in particular, to a method for processing an application program.
  • the server establishes a named pipe between the user equipments corresponding to the port information corresponding to the application processing request, where the named pipes of each user equipment are different, and the named pipe is the server process and one or more A one-way or two-way pipe for communication between the client processes; the server performs application processing on the user equipment corresponding to the named pipe through the named pipe.
  • the method further includes:
  • the server When the server receives the processing completion message sent by the user equipment through the named pipe, the server releases the port information corresponding to the user equipment corresponding to the named pipe by the named pipe.
  • the port information includes a port number and diagnostic service Diag port information; or the port The information includes the port number and debug bridge ADB port information.
  • an embodiment of the present invention provides a server, including:
  • a port information processing module configured to connect to at least one user equipment, and acquire and save port information of each of the user equipments
  • a receiving module configured to receive a startup application processing request sent by the user equipment, and a query module, configured to query port information of each user equipment saved by the port information processing module, and obtain a processing request with the application Corresponding port information;
  • Establishing a pipeline module configured to establish a named pipe between the user equipments corresponding to the port information corresponding to the application processing request, where the named pipes of each user equipment are different, the named pipeline is the server process and one One-way or two-way pipe for communication between multiple client processes;
  • the server further includes: a release module, configured to release the processing when the server receives the processing completion message sent by the user equipment by using the named pipe Name the port corresponding to the user equipment corresponding to the named pipe.
  • the processing method and device of the application program provided by the embodiment of the present invention acquires and saves the port information of each user equipment by connecting the server with the at least one user equipment, and then receives the startup application processing request sent by the user equipment, and queries and saves Port information of each user equipment, obtaining port information corresponding to the application processing request, and then establishing a named pipe between the user equipment corresponding to the port information corresponding to the application processing request, and finally the server corresponding to the named pipe through the named pipe
  • the user device performs application processing. Therefore, the server can simultaneously install, uninstall, and manage the application software for multiple user devices, thereby improving work efficiency.
  • Embodiment 1 is a flowchart of Embodiment 1 of a processing method of an application program according to the present invention
  • Embodiment 1 of a server according to the present invention is a schematic structural diagram of Embodiment 1 of a server according to the present invention.
  • FIG. 3 is a schematic structural diagram of Embodiment 2 of a server according to the present invention. detailed description
  • Embodiment 1 is a flowchart of Embodiment 1 of a method for processing an application of the present invention. As shown in FIG. 1, the method in this embodiment may include:
  • the server is connected to at least one user equipment, and obtains and saves port information of each user equipment.
  • the user equipment may be a terminal device connected to the server.
  • the mobile phone is used as an example, and the mobile phone is inserted into the server through a Universal Serial Bus (USB) port.
  • USB Universal Serial Bus
  • the server obtains and saves the port information of each mobile phone. Specifically, after the mobile phone is inserted into the server, the corresponding port is mapped in the server device manager, and the specific process can be collected by enumerating the registry. Information to all of these ports.
  • the port information includes a port number and a diagnostic service (Diagnostic servces, hereinafter referred to as Diag) port information, wherein the Diag is a bridge between the mobile phone and the server, and the information in the mobile phone can be obtained through the Diag; or the port information includes the port.
  • Diag Diagnostic servces, hereinafter referred to as Diag
  • Number and debug bridge (Android Debug Bridge, hereinafter referred to as: ADB) port information
  • ADB is a tool in the Android system, with this tool you can directly manage the android emulator or real andriod devices, such as mobile phones.
  • the server After the server obtains the port information of each mobile phone, the server starts the service service corresponding to each port number according to the automatic running (AutoRun) service of the mobile phone itself.
  • the service service is an executable file that is injected into the server after the Automn service of the mobile phone itself is started, and is used to operate the port of the mobile phone itself, that is, to
  • the port number is reported to the server. If the port in the port information obtained by the server cannot communicate with the server, it is determined that the server fails to find out the pair. The port should be.
  • the server receives the startup application processing request sent by the user equipment, and queries the saved port information of each user equipment, and obtains port information corresponding to the application processing request.
  • the server establishes a named pipe between the user equipment corresponding to the port information corresponding to the application processing request, where the named pipe of each user device is different, and the named pipe is a communication between the server process and one or more client processes.
  • One-way or two-way pipe One-way or two-way pipe.
  • the server when the server receives the startup application processing request sent by the user equipment, that is, after the application in the server detects the service service initiated by different mobile phones (that is, the mobile phone sends an application request to the server), the query saves.
  • Port information of each user equipment obtaining port information corresponding to the application processing request, and establishing a named pipe between the user equipments corresponding to the port information corresponding to the application processing request.
  • the port information since the port number in each port information corresponds to an independent service service, after the application in the server detects that the mobile phone corresponding to the port information starts the service service, the port information may be used according to the port information.
  • the mobile phone corresponding to the port information sends a command to open the port, thereby opening the port and establishing the command pipeline.
  • the mobile phone that has been transferred may be unplugged.
  • the application in the server may send a shutdown port command to the mobile phone corresponding to the port information, thereby closing the port, and Release the command pipeline.
  • a named pipe is a one-way or two-way pipe between a server process and one or more client processes, and the named pipe can be different between unrelated processes.
  • the server assigns a name to a named pipe. Any process can open the other end of the pipe by that name and communicate with the server process according to the given permissions.
  • the server processes the user equipment corresponding to the named pipe through a named pipe.
  • the server can perform data transmission through the port corresponding to each mobile phone to complete the application software. Installation and uninstallation.
  • the processing method of the application program provided by the embodiment obtains and stores the port information of each user equipment after the server is connected to the at least one user equipment, and then receives the startup application processing request sent by the user equipment, and queries each saved one. Port information of the user equipment, obtaining port information corresponding to the application processing request, and then establishing a named pipe between the user equipment corresponding to the port information corresponding to the application processing request, and finally the server corresponding to the named pipe by the named pipe Perform application processing. Therefore, the server can simultaneously install, uninstall, and manage the application software for multiple user devices, thereby improving work efficiency.
  • the method further includes:
  • the server When the server receives the processing completion message sent by the user equipment through the named pipe, the server releases the port information corresponding to the user equipment corresponding to the named pipe and the named pipe.
  • the transmission progress of each mobile phone may be inconsistent. Some mobile phones may complete the transmission first, and still occupy a USB port. At this time, the mobile phone that has been transmitted may be unplugged, and the mobile phone that is being transmitted is simultaneously Not affected. In this way, a port is released, and then the next mobile phone to be transmitted can be accessed. It should be noted that after accessing the next mobile phone to be transmitted, the server detects the port of the mobile phone to be transmitted, as in the above steps S101-S104.
  • the information when detecting the mobile phone launching application processing request corresponding to the port information, respectively requesting corresponding port information according to the application request and the application program, establishing a named pipe between the mobile phones corresponding to the port information, and finally passing the named pipe. Apply processing to the phone. In addition, the mobile phone that was originally transmitted will not be affected, so it can be repeated cyclically. This greatly improves work efficiency.
  • the aforementioned program can be stored in a computer readable storage medium.
  • the steps including the foregoing method embodiments are performed; and the foregoing storage medium includes: ROM, RAM, magnetic disk or optical disk, etc., which can be stored.
  • the medium of the program code includes: ROM, RAM, magnetic disk or optical disk, etc., which can be stored.
  • the apparatus in this embodiment may include: a port information processing module 11, a receiving module 12, a query module 13, a pipeline module 14 and a processing module 15,
  • the port information processing module 11 is configured to connect to at least one user equipment, and acquire and save port information of each user equipment.
  • the receiving module 12 is configured to receive a startup application processing request sent by the user equipment
  • the querying module 13 is configured to query port information of each user equipment saved by the port information processing module 11 to obtain port information corresponding to the application processing request.
  • the establishing pipeline module 14 is configured to establish a named pipe between the user equipments corresponding to the port information corresponding to the application processing request, wherein the named pipes of each user equipment are different, and the named pipeline is a server process and one or more client processes. One-way or two-way pipe for communication.
  • the processing module 15 is configured to perform application processing on the user equipment corresponding to the named pipe through the named pipe.
  • the device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 1, and the implementation principle is similar, and details are not described herein again.
  • the server provided in this embodiment is connected to the at least one user equipment through the port information processing module, and obtains and stores the port information of each user equipment, and the receiving module receives the startup application processing request sent by the user equipment, and the query module queries and saves the Port information of each user equipment, obtaining port information corresponding to the application processing request, establishing a named pipe between the user equipment corresponding to the port information corresponding to the application processing request by the pipeline module, and finally processing the named module through the named pipe
  • the user equipment corresponding to the pipeline performs application processing. Therefore, the server can install, uninstall, and manage the application software for multiple user devices at the same time, thereby improving work efficiency.
  • FIG. 3 is a schematic structural diagram of a second embodiment of a server according to the present invention.
  • the device of the embodiment is based on the device structure shown in FIG. 2.
  • the device may further include: a release module 16, the release The module 16 is configured to release the port corresponding to the user equipment corresponding to the named pipe when the server receives the processing completion message sent by the user equipment through the named pipe.
  • the device in this embodiment may be used to perform the technical solution shown in the second embodiment of the foregoing method, and the implementation principle is similar, and details are not described herein again.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)
  • Telephonic Communication Services (AREA)

Abstract

Les modes de réalisation de la présente invention concernent un procédé et un appareil de traitement d'application. Le procédé comprend les étapes suivantes : après s'être connecté à un ou plusieurs équipements d'utilisateur, un serveur obtient et enregistre des informations de port de chaque équipement d'utilisateur; il reçoit une demande de débuter un traitement d'application envoyée par un équipement d'utilisateur, il demande les informations de port enregistrées de chaque équipement d'utilisateur, et il obtient des informations de port correspondant à la demande de traitement d'application; le serveur établit un tuyau désigné avec un équipement d'utilisateur qui correspond aux informations de port correspondant à la demande de traitement d'application; et, via le tuyau désigné, le serveur exécute un traitement d'application sur l'équipement d'utilisateur correspondant au tuyau désigné. Le procédé et l'appareil de traitement d'application selon les modes de réalisation de la présente invention mettent simultanément en œuvre la configuration d'applications et l'installation/désinstallation d'une pluralité d'équipements d'utilisateur par un serveur. Ils améliorent également l'efficacité de travail.
PCT/CN2014/076484 2013-05-17 2014-04-29 Procédé et appareil de traitement d'application WO2014183556A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310186219.0 2013-05-17
CN201310186219.0A CN103605529B (zh) 2013-05-17 2013-05-17 应用程序的处理方法和装置

Publications (1)

Publication Number Publication Date
WO2014183556A1 true WO2014183556A1 (fr) 2014-11-20

Family

ID=50123759

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/076484 WO2014183556A1 (fr) 2013-05-17 2014-04-29 Procédé et appareil de traitement d'application

Country Status (2)

Country Link
CN (1) CN103605529B (fr)
WO (1) WO2014183556A1 (fr)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103605529B (zh) * 2013-05-17 2018-01-23 华为终端(东莞)有限公司 应用程序的处理方法和装置
CN104570967B (zh) * 2013-10-17 2017-06-20 北大方正集团有限公司 基于Android***的远程控制方法及***
CN103902391B (zh) * 2014-04-15 2018-04-10 宇龙计算机通信科技(深圳)有限公司 应用程序管理装置和应用程序管理方法
CN104268112A (zh) * 2014-09-19 2015-01-07 福州瑞芯微电子有限公司 一种连接adb设备的方法和装置
CN104410687B (zh) * 2014-11-26 2018-01-19 上海爱数信息技术股份有限公司 一种基于管道的多组进程间数据传递方法
CN105808404B (zh) * 2014-12-31 2018-10-23 成都鼎桥通信技术有限公司 一种基于共享管道的Android设备的调试方法
CN105868109B (zh) * 2016-03-28 2019-03-05 北京奇虎科技有限公司 一种改进的移动端应用测试方法和***
CN108833578B (zh) * 2018-06-30 2021-07-23 武汉斗鱼网络科技有限公司 基于fifo命名管道进行双工通信的方法及相关设备
CN114071628B (zh) * 2022-01-06 2022-04-26 深圳佑驾创新科技有限公司 一种基于安卓***的终端通讯方法、装置及存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101296157A (zh) * 2007-04-26 2008-10-29 北京师范大学珠海分校 多网卡协同通信方法
CN102647625A (zh) * 2012-05-03 2012-08-22 重庆邮电大学 基于端口号和ip地址的多视频转发方法
CN103605529A (zh) * 2013-05-17 2014-02-26 华为终端有限公司 应用程序的处理方法和装置

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7523155B2 (en) * 2004-03-18 2009-04-21 International Business Machines Corporation Method, system and program product for using open mobile alliance (OMA) alerts to send client commands/requests to an OMA DM server
CN101957771A (zh) * 2010-10-18 2011-01-26 彭扬 一种同时为多台手机安装手机软件的方法和装置
CN101996086A (zh) * 2010-11-10 2011-03-30 彭扬 一种通过数据线安装手机软件的方法和装置
CN102122256B (zh) * 2011-03-28 2013-01-09 中国人民解放军国防科学技术大学 一种用于进程间通信的管道式通信方法及***
CN102223655A (zh) * 2011-07-05 2011-10-19 上海市安全生产科学研究所 移动通信的底层多线程数据传输方法
CN102355429A (zh) * 2011-08-12 2012-02-15 北京思创银联科技股份有限公司 基于管道的多进程间消息通信方法
CN103077134B (zh) * 2012-12-27 2015-10-28 飞天诚信科技股份有限公司 一种嵌入式***中实现多管道数据传输的方法和装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101296157A (zh) * 2007-04-26 2008-10-29 北京师范大学珠海分校 多网卡协同通信方法
CN102647625A (zh) * 2012-05-03 2012-08-22 重庆邮电大学 基于端口号和ip地址的多视频转发方法
CN103605529A (zh) * 2013-05-17 2014-02-26 华为终端有限公司 应用程序的处理方法和装置

Also Published As

Publication number Publication date
CN103605529B (zh) 2018-01-23
CN103605529A (zh) 2014-02-26

Similar Documents

Publication Publication Date Title
WO2014183556A1 (fr) Procédé et appareil de traitement d'application
US9342326B2 (en) Allocating identified intermediary tasks for requesting virtual machines within a trust sphere on a processing goal
US20200351354A1 (en) System and method for supporting data communication in a heterogeneous environment
WO2017071207A1 (fr) Procédé d'installation d'application, appareil correspondant, et système d'installation d'application
CN104572564B (zh) 一种实现android移动设备与USB OTG主机通讯的方法
WO2011127860A2 (fr) Procédé, serveur et système de démarrage d'application
WO2018040746A1 (fr) Procédé, dispositif et appareil électronique d'installation de pilote
WO2017080487A1 (fr) Procédé et dispositif d'appel pour bureau en nuage
WO2015192608A1 (fr) Procédé de mise à jour d'une application dans un système android, terminal et support de stockage
KR101754680B1 (ko) 휴대용 통신 디바이스상에서 운영 체제를 복구하는 방법, 장치 및 시스템
WO2011103729A1 (fr) Procédé d'enregistrement, d'annulation de programme d'interprétation de commandes auto défini et système correspondant
WO2012041239A1 (fr) Système et procédé pour le lancement d'un outil d'entrée et dispositif mandataire
WO2018166322A1 (fr) Dispositif et procédé de réparation destinés à une division de système
CN104570967B (zh) 基于Android***的远程控制方法及***
WO2023226670A1 (fr) Procédé et appareil de mise à niveau de micrologiciel d'esim et dispositif et support
CN105704707A (zh) 从设备及其空中升级的方法
CN103442041A (zh) 嵌入式设备固件升级的方法、装置及其***
CN107277107B (zh) 应用调试方法、装置及***
CN109871288B (zh) 执行Android***命令的方法、装置、设备及介质
CN106936869A (zh) 一种基于aoa协议的车机联网方法及***
WO2016161968A1 (fr) Équipement pour une interaction d'informations de sécurité
TWM468695U (zh) 加工設備之雲端連結監控系統
CN105512544A (zh) 一种获取移动终端超级用户权限的方法及装置
WO2015067052A1 (fr) Procédé, dispositif et système pour transmettre des commandes d'essai
CN116339761B (zh) 一种自动化构建镜像模板的方法、***、存储介质、设备

Legal Events

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

Ref document number: 14798609

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14798609

Country of ref document: EP

Kind code of ref document: A1