WO2018113112A1 - 双***双向控制的方法和装置 - Google Patents

双***双向控制的方法和装置 Download PDF

Info

Publication number
WO2018113112A1
WO2018113112A1 PCT/CN2017/077305 CN2017077305W WO2018113112A1 WO 2018113112 A1 WO2018113112 A1 WO 2018113112A1 CN 2017077305 W CN2017077305 W CN 2017077305W WO 2018113112 A1 WO2018113112 A1 WO 2018113112A1
Authority
WO
WIPO (PCT)
Prior art keywords
system device
service
data forwarding
address
virtual network
Prior art date
Application number
PCT/CN2017/077305
Other languages
English (en)
French (fr)
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 WO2018113112A1 publication Critical patent/WO2018113112A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus

Definitions

  • the present invention relates to the field of intelligent terminals, and in particular, to a method and apparatus for dual system bidirectional control.
  • the two system devices are the primary system device and the secondary system device, and the primary system device is connected to the secondary system device through the ADB (Android Debug Bridge). And send control instructions.
  • ADB Android Debug Bridge
  • control commands sent by the ADB can only achieve one-way control of the slave system device by the master system device.
  • the present invention provides a dual system bidirectional control method and apparatus for achieving free control between two system devices in a dual system device.
  • the first aspect adopts a two-system two-way control method, including:
  • the monitoring of the port of the primary system device and the preset two-way control service of the slave system device is started, and the socket connection of the two-way control service and the data forwarding service is established correspondingly;
  • the data channel formed by the socket connection sends the remote control command to the other party.
  • the monitoring of the port for the preset two-way control service of the main system device and the slave system device, after the socket connection of the two-way control service and the data forwarding service is established further includes:
  • a data connection with a corresponding data forwarding service is implemented through a socket connection, and the broadcast two-way control service is enabled.
  • the generating a virtual network card for the primary system device and the secondary system device, and generating an IP address for the virtual network card includes:
  • Generating a second IP address in the primary system device and generating a second virtual network card from the system device by using an ADB command, and assigning the second IP address to the second virtual network card.
  • the socket connection of the data forwarding service of the primary system device and the secondary system device according to the IP address including:
  • the ADB command is used to start the data forwarding service of the slave system device by using the first IP address and the port number of the data forwarding service of the primary system device as a parameter;
  • the data channel formed by the socket connection sends the remote control instruction to the other party, specifically:
  • the remote control command is sequentially connected to the system through the corresponding socket connection via the system device, the data forwarding service, and another system.
  • the device's data forwarding service sends a two-way control service to another system device to cause another system device to respond to the remote control command.
  • the second aspect employs a dual system bidirectional control device comprising:
  • a virtual network card unit configured to generate a virtual network card for the primary system device and the secondary system device, respectively, and generate an IP address for the virtual network card;
  • a first connection unit configured to establish, according to the IP address, a socket connection of the primary system device and a data forwarding service of the slave system device;
  • a second connection unit configured to enable the primary system device and the port of the system device to listen to the connection from the preset two-way control service, and establish a socket connection between the two-way control service and the data forwarding service;
  • an instruction sending unit configured to send, by the master system device or the slave system device, a data channel formed by the socket connection to the other party.
  • the device further includes:
  • connection broadcast unit is configured to implement a data connection with the corresponding data forwarding service through the socket connection when the two-way control service is started, and the broadcast two-way control service is enabled.
  • the virtual network card unit includes:
  • a first virtual module configured to generate a first virtual network card for the primary system device, generate a first IP address for the first virtual network card, and enable a data forwarding service of the primary system device;
  • a second virtual module configured to generate a second IP address on the primary system device, and pass the ADB command Generating a second virtual network card from the system device, and assigning the second IP address to the second virtual network card.
  • the first connecting unit includes:
  • An instruction sending module configured to start, by using an ADB command, a first data address and a port number of a data forwarding service of the primary system device as a parameter to initiate a data forwarding service from the system device;
  • an instruction response module configured to establish, by the slave system device, a socket connection of the data forwarding service of the primary system device and the secondary system device according to the first IP address and a port number of a data forwarding service of the primary system device.
  • the command sending unit is specifically configured to: when the main system device or the remote control command is detected from the bidirectional control service of the system device, connect the remote control command to the corresponding socket through the system device in sequence
  • the two-way control service, the data forwarding service, and the data forwarding service of another system device transmit a two-way control service to another system device to cause another system device to respond to the remote control command.
  • the present invention generates a virtual network card for the primary system device and the secondary system device, and generates an IP address for the virtual network card; and establishes a socket connection between the primary system device and the data forwarding service of the secondary system device according to the IP address;
  • the monitoring of the port of the primary system device and the preset two-way control service of the slave system device is started, and the socket connection of the two-way control service and the data forwarding service is established correspondingly, and finally the two-way control service between the two systems is established.
  • the data channel for controlling the transmission of instructions, the dual-system-based interactive device can select one of the two system devices as the control body to control the other in various application scenarios, and the socket connection provides more convenient and greater bandwidth control.
  • the solution has better security at the same time.
  • Embodiment 1 is a flow chart of a method for dual system bidirectional control in Embodiment 1 of the present invention
  • FIG. 2A is a flowchart of a method for bidirectional control of dual systems in Embodiment 2 of the present invention
  • FIG. 2B is a structural diagram of a software system of a dual system in Embodiment 2 of the present invention.
  • FIG. 2C is a structural diagram of a network connection of a dual system in Embodiment 2 of the present invention.
  • FIG. 3 is a schematic structural diagram of an apparatus for bidirectional control of a dual system according to Embodiment 3 of the present invention.
  • FIG. 4 is a schematic structural diagram of an apparatus for bi-system bidirectional control in Embodiment 4 of the present invention.
  • FIG. 1 is a flowchart of a method for bidirectional control of dual systems according to Embodiment 1 of the present invention.
  • the method of this embodiment may be implemented by a dual-system bi-directionally controlled device, which may be implemented by hardware and/or software, and generally can be independently configured to implement the method of the embodiment in the interaction device.
  • the method for bi-system bidirectional control in this embodiment includes:
  • the main system device controls the slave system device mainly through ADB, and the physical connection for realizing ADB data transmission is mainly USB (Universal Serial Bus), and the transmission speed of ADB data transmission itself is compared. Slow, and if you want to control the main system equipment from the system equipment, you need to carry out a more complex data change process, and can not directly achieve direct transmission at both ends.
  • USB Universal Serial Bus
  • a virtual network card is generated based on the network cards of the two system devices, and an IP address that is only known to each other is set for the virtual network card, which is equivalent to establishing a special data transmission channel through the virtual network card, and data in the data transmission channel. Transmission is equivalent to transmission over the network, with ideal bandwidth, and a point-to-point closed data transmission channel with good security.
  • the network connection channel establishes the socket connection of the main system device and the data forwarding service from the system device, and the data transmission channel is dedicated and the status between the two system devices is equal in the data channel of the socket connection, and the control can be realized.
  • the instruction is free to transfer between two system devices.
  • the two-way control service is a customized service for realizing data transmission between different structural layers within the system device.
  • a data connection between the bottom layers of the two system devices is established.
  • a socket connection between the preset two-way control service and the data forwarding service is further established.
  • a channel is formed from the application layer of the system device, the architecture layer to the system kernel, to the system kernel of the other system device, and the architecture layer, that is, the application layer.
  • the channel is implemented based on the socket connection and can carry the control command. Two-way transmission of data for two-way control.
  • Step S14 When the main system device or the slave system device detects the remote control command, the data channel formed by the socket connection sends a remote control command to the other party.
  • the data channel formed by the socket connection is sent to the other party, and the other system device receives the remote control command according to the set control.
  • the protocol responds to remote control commands.
  • the technical solution in this embodiment generates a virtual network card for the primary system device and the secondary system device, and generates an IP address for the virtual network card, and establishes the primary system device and the secondary system device according to the IP address.
  • a socket connection of the data forwarding service enabling the monitoring of the port of the primary system device and the preset two-way control service of the slave system device, corresponding to establishing a socket connection between the two-way control service and the data forwarding service.
  • FIG. 2A is a flowchart of a method for bi-system bidirectional control provided by Embodiment 2 of the present invention.
  • the architecture of the dual system software system shown in FIG. 2B and the architecture of the dual system network connection shown in FIG. 2C are comprehensively explained.
  • the method includes:
  • Step S21 Generate a first virtual network card for the primary system device, and generate a first IP address for the first virtual network card. Address, open the data forwarding service of the main system device.
  • An NIC eth0:1 is virtualized on the eth0 NIC of the primary system device, and an IP address is randomly generated for eth0:1.
  • the IP address of eth0:1 can be specially set, for example, starting with 169.254.
  • the operating systems of the two system devices are described based on the Android system. For details, refer to FIG. 2B.
  • the main system device can start the data forwarding service of the Linux system layer.
  • the data forwarding service is the communication between the two Android systems. Once the data forwarding service is established, it represents the data forwarding service between the two ends. Communication can be done.
  • Step S22 Generate a second IP address in the main system device, and generate a second virtual network card from the system device by using the ADB command, and allocate the second IP address to the second virtual network card.
  • the related operation of establishing a connection from the system device is performed by the main system device, and a second IP address is generated in the main system device (the same as the first IP address, and special settings can also be made, for example, starting with 169.254), and the ADB command is used.
  • the second virtual network card is generated from the system device, and the second IP address is allocated to the second virtual network, the IP addresses of the two system devices are established, and the socket connection can be implemented based on the network.
  • Step S23 The ADB command is used to start the data forwarding service of the slave system device by using the first IP address and the port number of the data forwarding service of the primary system device as parameters.
  • Step S24 Establish a socket connection between the primary system device and the data forwarding service of the secondary system device by the slave system device according to the first IP address and the port number of the data forwarding service of the primary system device.
  • the forwarding service of the primary system device and the forwarding service of the secondary system device can be connected through a socket in the case where each knows the port number and IP address of the other party. After the data forwarding service is started and connected, each port is simultaneously enabled to listen to the connection from the Android two-way control service.
  • the data forwarding service of the Linux system layer is only responsible for forwarding the received data to the Android two-way control. The service, or forward the received data to the Android layer, is not responsible for data processing.
  • Step S25 When the two-way control service is started, the data connection with the corresponding data forwarding service is implemented through the socket connection, and the broadcast two-way control service is started.
  • the data connection with the corresponding data forwarding service is realized through the socket connection.
  • the two-way control service for transmitting the Android system broadcast notification application is already available. A two-way control command can be sent.
  • Step S26 When the main system device or the remote control command is detected from the bidirectional control service of the system device, the remote control command is sequentially connected through the corresponding socket through the bidirectional control service of the system device, the data forwarding service, and the other system device.
  • the data forwarding service sends a two-way control service to another system device to cause another system device to respond to the remote control command.
  • the application layer application receives the two-way control service in the system through the AIDL (Android Interface Definition Language) after receiving the broadcast on the two-way control connection, and the application sends the interface exposed by the two-way control service to another system.
  • Control commands the Android layer sends data to the Linux system layer through a socket connection, and the Linux system layer transfers data to the Linux system layer of another system device through a socket connection, and then another Linux system layer passes the data through the socket.
  • the word connection forwards the data to the two-way control service of the Android layer.
  • the Android layer two-way control service parses the command in the message, and then responds according to the command, that is, the two-way control can be completed.
  • sending commands to control the volume of the entire system, adjusting the brightness of the entire system, switching the input channel signals, etc. requires the Salve machine to send commands.
  • the HOST machine is operated.
  • the two-way control service based on the socket connection can conveniently handle the control operation in any direction between the two system devices.
  • the technical solution in this embodiment generates a virtual network card for the primary system device and the secondary system device, and generates an IP address for the virtual network card, and establishes the primary system device and the secondary system device according to the IP address.
  • a socket connection of the data forwarding service enabling the monitoring of the port of the primary system device and the preset two-way control service of the slave system device, corresponding to establishing a socket connection between the two-way control service and the data forwarding service.
  • FIG. 3 is a schematic structural diagram of a device for bi-system bidirectional control according to Embodiment 3 of the present invention.
  • the device may be implemented by hardware and/or software, and may be independently configured in an interaction device to implement the device in this embodiment.
  • the dual-system bidirectional control device specifically includes: a virtual network card unit 10, a first connection unit 20, and a second connection unit 30;
  • a virtual network card unit 10 configured to generate a virtual network card for the primary system device and the secondary system device, respectively, and generate an IP address for the virtual network card;
  • a first connection unit 20 configured to establish, according to the IP address, a socket connection of the primary system device and a data forwarding service from the system device;
  • a second connection unit 30 configured to enable the primary system device and the port of the system device to listen to the connection from the preset two-way control service, and establish a socket connection between the two-way control service and the data forwarding service;
  • the command sending unit 50 is configured to send the remote control command to the other party through the data channel formed by the socket connection when the master system device or the slave system device detects the remote control command.
  • the cooperative operation of the foregoing units generates a virtual network card for the primary system device and the secondary system device respectively, and generates an IP address for the virtual network card; and the primary system device and the secondary system device are established according to the IP address.
  • a socket connection of the data forwarding service enabling the monitoring of the port of the primary system device and the preset two-way control service of the slave system device, corresponding to establishing a socket connection between the two-way control service and the data forwarding service.
  • FIG. 4 is a schematic structural diagram of a device for bi-system bidirectional control according to Embodiment 4 of the present invention.
  • the device may be implemented by hardware and/or software, and may be independently configured in the terminal device to implement the embodiment.
  • the device for bi-system bidirectional control specifically includes: The network card unit 10, the first connection unit 20 and the second connection unit 30;
  • a virtual network card unit 10 configured to generate a virtual network card for the primary system device and the secondary system device, respectively, and generate an IP address for the virtual network card;
  • a first connection unit 20 configured to establish, according to the IP address, a socket connection of the primary system device and a data forwarding service from the system device;
  • a second connection unit 30 configured to enable the primary system device and the port of the system device to listen to the connection from the preset two-way control service, and establish a socket connection between the two-way control service and the data forwarding service;
  • the command sending unit 50 is configured to send the remote control command to the other party through the data channel formed by the socket connection when the master system device or the slave system device detects the remote control command.
  • the device further includes:
  • the connection broadcast unit 40 is configured to implement a data connection with a corresponding data forwarding service through a socket connection when the two-way control service is started, and the broadcast two-way control service is enabled.
  • the virtual network card unit 10 includes:
  • the first virtual module 11 is configured to generate a first virtual network card for the primary system device, generate a first IP address for the first virtual network card, and enable a data forwarding service of the primary system device;
  • the second virtual module 12 is configured to generate a second IP address in the primary system device, and generate a second virtual network card from the system device by using an ADB command, and allocate the second IP address to the second virtual network card.
  • the first connecting unit 20 includes:
  • the command sending module 21 is configured to start, by using an ADB command, the data forwarding service from the system device by using the first IP address and the port number of the data forwarding service of the primary system device as a parameter;
  • the command response module 22 is configured to establish, by the slave system device, a socket connection of the data forwarding service of the primary system device and the slave system device according to the first IP address and a port number of a data forwarding service of the primary system device. .
  • the command sending unit 50 is specifically configured to: when the remote control command is detected by the primary system device or the bidirectional control service of the system device, connect the remote control command to the system device through the corresponding socket connection.
  • the two-way control service, the data forwarding service, and the data forwarding service of another system device are sent to the two-way control service of another system device to cause another system device to respond to the remote control command.
  • the cooperative operation of the foregoing units generates a virtual network card for the primary system device and the secondary system device respectively, and generates an IP address for the virtual network card; and the primary system device and the secondary system device are established according to the IP address.
  • a socket connection of the data forwarding service enabling the monitoring of the port of the primary system device and the preset two-way control service of the slave system device, corresponding to establishing a socket connection between the two-way control service and the data forwarding service
  • the data channel for the control command transmission of the two-way control service between the two systems is established, and the interaction device based on the dual system can select one of the two system devices as the control body to control the other in various application scenarios, the socket Connections provide a more convenient and larger bandwidth data transmission solution with better security.
  • the data transmission based on the socket connection and the response of the control command increase the degree of freedom of control and enhance the user experience in the interaction process.
  • the dual system bidirectional control device provided in the foregoing embodiment may perform the dual system bidirectional control method provided by any embodiment of the present invention, and has corresponding functional modules and beneficial effects for performing the method.
  • the dual system provided by any embodiment of the present invention may perform the dual system bidirectional control method provided by any embodiment of the present invention, and has corresponding functional modules and beneficial effects for performing the method.
  • the method of two-way control may perform the dual system bidirectional control method provided by any embodiment of the present invention, and has corresponding functional modules and beneficial effects for performing the method.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Selective Calling Equipment (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种双***双向控制的方法和装置。该方法包括:分别为主***设备和从***设备生成虚拟网卡并为虚拟网卡生成IP地址;根据IP地址建立主***设备和从***设备的数据转发服务的套接字连接;开启对主***设备和从***设备的预设的双向控制服务的端口的监听,对应建立双向控制服务与数据转发服务的套接字连接,最终建立双***之间双向控制服务的控制指令传输的数据通道,当主***设备或从***设备检测到远程控制指令时,通过该数据通道向对方发送远程控制指令。基于双***的交互设备能够在各种应用场景下选择两个***设备中的一个作为控制主体对另一个进行控制,套接字连接提供更加方便和更大带宽的数据传输方案,同时具备更好的安全性。

Description

双***双向控制的方法和装置 技术领域
本发明涉及智能终端领域,尤其涉及一种双***双向控制的方法和装置。
背景技术
现有的许多交互设备为提高设备软硬件升级的便利性,数据传输显示的安全性,常采用两个Android***设备。
在Android双***方案中,为了在两个***之间进行通信,两个***设备分别为主***设备和从***设备,主***设备通过ADB(Android Debug Bridge,Android调试桥)连接至从***设备并发送控制指令。
但是通过ADB发送的控制指令只能实现主***设备对从***设备的单向控制。
发明内容
本发明提供一种双***双向控制的方法和装置,以实现双***设备中两个***设备之间的自由控制。
第一方面采用一种双***双向控制的方法,包括:
分别为主***设备和从***设备生成虚拟网卡并为所述虚拟网卡生成IP地址;
根据所述IP地址建立所述主***设备和从***设备的数据转发服务的套接字连接;
开启对所述主***设备和从***设备的预设的双向控制服务的端口的监听,对应建立所述双向控制服务与数据转发服务的套接字连接;
当所述主***设备或从***设备检测到远程控制指令时,通过所述套接字连接形成的数据通道向对方发送所述远程控制指令。
其中,所述开启对所述主***设备和从***设备的预设的双向控制服务的端口的监听,对应建立所述双向控制服务与数据转发服务的套接字连接之后,还包括:
当所述双向控制服务启动时,通过套接字连接实现与对应的数据转发服务的数据连接,并广播双向控制服务已开启。
其中,所述分别为主***设备和从***设备生成虚拟网卡并为所述虚拟网卡生成IP地址,包括:
为主***设备生成第一虚拟网卡并为所述第一虚拟网卡生成第一IP地址,开启所述主***设备的数据转发服务;
在所述主***设备生成第二IP地址,并通过ADB命令在从***设备生成第二虚拟网卡,将所述第二IP地址分配给所述第二虚拟网卡。
其中,所述根据所述IP地址建立所述主***设备和从***设备的数据转发服务的套接字连接,包括:
通过ADB命令将第一IP地址和主***设备的数据转发服务的端口号作为参数启动从***设备的数据转发服务;
由所述从***设备根据所述第一IP地址和主***设备的数据转发服务的端口号,建立所述主***设备和从***设备的数据转发服务的套接字连接。
其中,所述当所述主***设备或从***设备检测到远程控制指令时,通过 所述套接字连接形成的数据通道向对方发送所述远程控制指令,具体为:
当所述主***设备或从***设备的双向控制服务检测到远程控制指令时,将所述远程控制指令通过对应的套接字连接依次经由***设备的双向控制服务、数据转发服务、另一***设备的数据转发服务发送到另一***设备的双向控制服务,以使另一***设备对所述远程控制指令进行响应。
第二方面采用一种双***双向控制的装置,包括:
虚拟网卡单元,用于分别为主***设备和从***设备生成虚拟网卡并为所述虚拟网卡生成IP地址;
第一连接单元,用于根据所述IP地址建立所述主***设备和从***设备的数据转发服务的套接字连接;
第二连接单元,用于开启所述主***设备和从***设备的端口监听来自预设的双向控制服务的连接,各自建立双向控制服务与数据转发服务的套接字连接;
指令发送单元,用于当所述主***设备或从***设备检测到远程控制指令时,通过所述套接字连接形成的数据通道向对方发送。
其中,所述装置,还包括:
连接广播单元,用于当所述双向控制服务启动时,通过套接字连接实现与对应的数据转发服务的数据连接,并广播双向控制服务已开启。
其中,所述虚拟网卡单元,包括:
第一虚拟模块,用于为主***设备生成第一虚拟网卡并为所述第一虚拟网卡生成第一IP地址,开启所述主***设备的数据转发服务;
第二虚拟模块,用于在所述主***设备生成第二IP地址,并通过ADB命令 在从***设备生成第二虚拟网卡,将所述第二IP地址分配给所述第二虚拟网卡。
其中,所述第一连接单元,包括:
指令发送模块,用于通过ADB命令将第一IP地址和主***设备的数据转发服务的端口号作为参数启动从***设备的数据转发服务;
指令响应模块,用于由所述从***设备根据所述第一IP地址和主***设备的数据转发服务的端口号建立所述主***设备和从***设备的数据转发服务的套接字连接。
其中,所述指令发送单元,具体用于当所述主***设备或从***设备的双向控制服务检测到远程控制指令时,将所述远程控制指令通过对应的套接字连接依次经由***设备的双向控制服务、数据转发服务、另一***设备的数据转发服务发送到另一***设备的双向控制服务,以使另一***设备对所述远程控制指令进行响应。
本发明通过分别为主***设备和从***设备生成虚拟网卡并为所述虚拟网卡生成IP地址;根据所述IP地址建立所述主***设备和从***设备的数据转发服务的套接字连接;开启对所述主***设备和从***设备的预设的双向控制服务的端口的监听,对应建立所述双向控制服务与数据转发服务的套接字连接,最终建立双***之间双向控制服务的控制指令传输的数据通道,基于双***的交互设备能够在各种应用场景下选择两个***设备中的一个作为控制主体对另一个进行控制,套接字连接提供更加方便和更大带宽的控制方案,同时具备更好的安全性。
附图说明
图1是本发明实施例一中的双***双向控制的方法的流程图;
图2A是本发明实施例二中的双***双向控制的方法的流程图;
图2B是本发明实施例二中的双***的软件***的架构图;
图2C是本发明实施例二中的双***的网络连接的架构图;
图3是本发明实施例三中的双***双向控制的装置的结构示意图;
图4是本发明实施例四中的双***双向控制的装置的结构示意图。
具体实施方式
下面结合附图并通过具体实施方式来进一步说明本发明的技术方案。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。
在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各步骤描述成顺序的处理,但是其中的许多步骤可以被并行地、并发地或者同时实施。此外,各步骤的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。
实施例一
图1为本发明实施例一提供的一种双***双向控制的方法的流程图。本实施例的方法可以由双***双向控制的装置来执行,该装置可通过硬件和/或软件的方式实现,并一般可独立的配置在交互设备内实现本实施例的方法。
请参考图1,本实施例中的双***双向控制的方法,包括:
S11、分别为主***设备和从***设备生成虚拟网卡并为虚拟网卡生成IP地址。
双***的交互设备,主***设备对从***设备的控制主要通过ADB实现,实现ADB数据传输的物理连接主要是USB(Universal Serial Bus,通用串行总线),ADB的数据传输本身的传输速度比较慢,并且如果要实现从***设备对主***设备的控制,需要进行较为复杂的数据变化过程,不能直接实现两端的直接传输。
在本方案中,基于两个***设备的网卡,生成虚拟网卡,并为虚拟网卡设定仅互相可知的IP地址,相当于通过虚拟网卡建立专门的数据传输通道,在该数据传输通道内的数据传输相当于通过网络传输,具备理想的带宽,并且点对点的封闭的数据传输通道具备良好的安全性。
S12、根据IP地址建立主***设备和从***设备的数据转发服务的套接字连接。
以网络连接的通道建立主***设备和从***设备的数据转发服务的套接字连接,数据传输的通道专用并且在套接字连接的数据通道中两个***设备间的地位平等,能实现控制指令在两个***设备间的自由传输。
S13、开启对主***设备和从***设备的预设的双向控制服务的端口的监听,对应建立双向控制服务与数据转发服务的套接字连接。
双向控制服务是自定义的服务,用于实现***设备内部不同结构层之间的数据传输。在前序步骤中建立的是两个***设备的底层间的数据连接,在这一步骤中,进一步建立预设的双向控制服务与数据转发服务之间的套接字连接, 最终形成从一个***设备的应用层、架构层到***内核、再到另一个***设备的***内核、架构层即应用层的通道,该通道基于套接字连接实现,能进行携带有控制指令的数据的双向传输,实现双向控制。
步骤S14、当主***设备或从***设备检测到远程控制指令时,通过套接字连接形成的数据通道向对方发送远程控制指令。
当主***设备或从***设备检测到需要发送到另一个***设备的远程控制指令时,通过套接字连接形成的数据通道向对方发送,另一个***设备接收到远程控制指令后根据设定的控制协议对远程控制指令进行响应。
综上所述,本实施例的技术方案,通过分别为主***设备和从***设备生成虚拟网卡并为所述虚拟网卡生成IP地址;根据所述IP地址建立所述主***设备和从***设备的数据转发服务的套接字连接;开启对所述主***设备和从***设备的预设的双向控制服务的端口的监听,对应建立所述双向控制服务与数据转发服务的套接字连接,最终建立双***之间双向控制服务的控制指令传输的数据通道,基于双***的交互设备能够在各种应用场景下选择两个***设备中的一个作为控制主体对另一个进行控制,套接字连接提供更加方便和更大带宽的数据传输方案,同时具备更好的安全性。
实施例二
图2A为本发明实施例二提供的双***双向控制的方法的流程图。在本实施例中,为描述清楚,结合图2B所示的双***的软件***的架构和图2C所示的双***的网络连接的架构进行综合说明。如图2A所示,该方法包括:
步骤S21、为主***设备生成第一虚拟网卡并为第一虚拟网卡生成第一IP 地址,开启主***设备的数据转发服务。
在主***设备的eth0网卡上虚拟一个网卡eth0:1,并且为eth0:1随机生成一个IP地址,为避免IP地址冲突,eth0:1的IP地址可进行特别设定,例如以169.254开头。在本实施例中,两个***设备的操作***基于Android***进行描述,具体架构可以参考图2B。主***设备在设定好IP地址后,即可启动Linux***层的数据转发服务,数据转发服务是两个Android***之间的通信,一旦数据转发服务建立即代表数据转发服务两端之间的通信就可以进行。
步骤S22、在主***设备生成第二IP地址,并通过ADB命令在从***设备生成第二虚拟网卡,将第二IP地址分配给第二虚拟网卡。
在从***设备建立连接的相关操作通过主***设备执行,在主***设备中生成第二IP地址(与第一IP地址相同,也可进行特别设定,例如以169.254开头),并通过ADB命令在从***设备生成第二虚拟网卡,并将第二IP地址分配给第二虚拟网络,两个***设备的IP地址建立后即可基于网络实现套接字连接。
步骤S23、通过ADB命令将第一IP地址和主***设备的数据转发服务的端口号作为参数启动从***设备的数据转发服务。
步骤S24、由从***设备根据第一IP地址和主***设备的数据转发服务的端口号,建立主***设备和从***设备的数据转发服务的套接字连接。
主***设备的转发服务和从***设备的转发服务在各自知道对方的端口号以及IP地址的情况下,两个数据转发服务可以通过套接字连接。数据转发服务启动并且连接后,各自同时开启端口监听各自来自Android双向控制服务的连接。Linux***层的数据转发服务只负责将收到的数据转发给Android双向控 制服务,或者将收到的数据转发给Android层,不负责数据处理。
步骤S25、当双向控制服务启动时,通过套接字连接实现与对应的数据转发服务的数据连接,并广播双向控制服务已开启。
Android***的双向控制服务启动后,通过套接字连接实现与对应的数据转发服务的数据连接,一旦与Linux***层的数据转发服务相连接,则发送Android***广播通知应用双向控制服务已经可用,可以发送双向控制命令。
步骤S26、当主***设备或从***设备的双向控制服务检测到远程控制指令时,将远程控制指令通过对应的套接字连接依次经由***设备的双向控制服务、数据转发服务、另一***设备的数据转发服务发送到另一***设备的双向控制服务,以使另一***设备对远程控制指令进行响应。
应用层的应用收到双向控制连接上的广播后通过AIDL(Android Interface Definition Language,Android接口定义语言)连接上***中的双向控制服务,应用通过调用双向控制服务暴露出来的接口向另一个***发送控制命令,Android层通过套接字连接发送数据给Linux***层,Linux***层则将数据通过套接字连接传输给另一个***设备的Linux***层,然后另一个Linux***层将数据通过套接字连接转发数据给Android层的双向控制服务。Android层双向控制服务收到数据之后解析得到消息中的命令,然后根据命令做出对应的响应,即可以完成双向控制。
在一个具体的应用场景中,以会议平板为例。现在会议平板大多数尺寸很大,一次性安装后可能需要很久才升级一次硬件。但是CPU、内存却是每年都会推陈出新。因此可以将常用的Android模块作为一个可插拔模块,当有性能更强的模块时候,直接换上性能更强的模块即可,极大的节省了用户的成本。 在上述设计架构下,将负责音视频输入输出和显示的TV方案Android***作为HOST机(主***设备),可插拔的模块作为Slave机(从***设备),用户插上可插拔模块使用的时候,用户操作只在Slave机,所以二者***需要互通,例如发送命令去控制整个***的音量大小,调整整个***的亮度,切换输入的通道信号等整机状态,都需要Salve机发送命令个HOST机去操作,在本方案中,基于套接字连接的双向控制服务能方便的处理两个***设备间任意方向的控制操作。
综上所述,本实施例的技术方案,通过分别为主***设备和从***设备生成虚拟网卡并为所述虚拟网卡生成IP地址;根据所述IP地址建立所述主***设备和从***设备的数据转发服务的套接字连接;开启对所述主***设备和从***设备的预设的双向控制服务的端口的监听,对应建立所述双向控制服务与数据转发服务的套接字连接,最终建立双***之间双向控制服务的控制指令传输的数据通道,基于双***的交互设备能够在各种应用场景下选择两个***设备中的一个作为控制主体对另一个进行控制,套接字连接提供更加方便和更大带宽的数据传输方案,同时具备更好的安全性。同时,基于套接字连接的数据传输以及控制指令的响应提高了控制的自由度,增强了交互过程中的用户体验。
实施例三
图3所示为本发明实施例三提供的双***双向控制的装置的结构示意图,该装置可通过硬件和/或软件的方式实现,并一般可独立的配置在交互设备实现本实施例的装置。如图3所示,所述双***双向控制的装置具体包括:虚拟网卡单元10、第一连接单元20和第二连接单元30;
虚拟网卡单元10,用于分别为主***设备和从***设备生成虚拟网卡并为所述虚拟网卡生成IP地址;
第一连接单元20,用于根据所述IP地址建立所述主***设备和从***设备的数据转发服务的套接字连接;
第二连接单元30,用于开启所述主***设备和从***设备的端口监听来自预设的双向控制服务的连接,各自建立双向控制服务与数据转发服务的套接字连接;
指令发送单元50,用于当所述主***设备或从***设备检测到远程控制指令时,通过所述套接字连接形成的数据通道向对方发送所述远程控制指令。
综上所述,上述各单元的协同运转,通过分别为主***设备和从***设备生成虚拟网卡并为所述虚拟网卡生成IP地址;根据所述IP地址建立所述主***设备和从***设备的数据转发服务的套接字连接;开启对所述主***设备和从***设备的预设的双向控制服务的端口的监听,对应建立所述双向控制服务与数据转发服务的套接字连接,最终建立双***之间双向控制服务的控制指令传输的数据通道,基于双***的交互设备能够在各种应用场景下选择两个***设备中的一个作为控制主体对另一个进行控制,套接字连接提供更加方便和更大带宽的数据传输方案,同时具备更好的安全性。
实施例四
图4所示为本发明实施例四提供的双***双向控制的装置的结构示意图,该装置可通过硬件和/或软件的方式实现,并一般可独立的配置在终端设备的实现本实施例的装置。如图4所示,所述双***双向控制的装置具体包括:虚拟 网卡单元10、第一连接单元20和第二连接单元30;
虚拟网卡单元10,用于分别为主***设备和从***设备生成虚拟网卡并为所述虚拟网卡生成IP地址;
第一连接单元20,用于根据所述IP地址建立所述主***设备和从***设备的数据转发服务的套接字连接;
第二连接单元30,用于开启所述主***设备和从***设备的端口监听来自预设的双向控制服务的连接,各自建立双向控制服务与数据转发服务的套接字连接;
指令发送单元50,用于当所述主***设备或从***设备检测到远程控制指令时,通过所述套接字连接形成的数据通道向对方发送所述远程控制指令。
其中,所述装置,还包括:
连接广播单元40,用于当所述双向控制服务启动时,通过套接字连接实现与对应的数据转发服务的数据连接,并广播双向控制服务已开启。
其中,所述虚拟网卡单元10,包括:
第一虚拟模块11,用于为主***设备生成第一虚拟网卡并为所述第一虚拟网卡生成第一IP地址,开启所述主***设备的数据转发服务;
第二虚拟模块12,用于在所述主***设备生成第二IP地址,并通过ADB命令在从***设备生成第二虚拟网卡,将所述第二IP地址分配给所述第二虚拟网卡。
其中,所述第一连接单元20,包括:
指令发送模块21,用于通过ADB命令将第一IP地址和主***设备的数据转发服务的端口号作为参数启动从***设备的数据转发服务;
指令响应模块22,用于由所述从***设备根据所述第一IP地址和主***设备的数据转发服务的端口号建立所述主***设备和从***设备的数据转发服务的套接字连接。
其中,所述指令发送单元50,具体用于当所述主***设备或从***设备的双向控制服务检测到远程控制指令时,将所述远程控制指令通过对应的套接字连接依次经由***设备的双向控制服务、数据转发服务、另一***设备的数据转发服务发送到另一***设备的双向控制服务,以使另一***设备对所述远程控制指令进行响应。
综上所述,上述各单元的协同运转,通过分别为主***设备和从***设备生成虚拟网卡并为所述虚拟网卡生成IP地址;根据所述IP地址建立所述主***设备和从***设备的数据转发服务的套接字连接;开启对所述主***设备和从***设备的预设的双向控制服务的端口的监听,对应建立所述双向控制服务与数据转发服务的套接字连接,最终建立双***之间双向控制服务的控制指令传输的数据通道,基于双***的交互设备能够在各种应用场景下选择两个***设备中的一个作为控制主体对另一个进行控制,套接字连接提供更加方便和更大带宽的数据传输方案,同时具备更好的安全性。同时,基于套接字连接的数据传输以及控制指令的响应提高了控制的自由度,增强了交互过程中的用户体验。
上述实施例中提供的双***双向控制的装置可执行本发明任意实施例所提供的双***双向控制的方法,具备执行该方法相应的功能模块和有益效果。未在上述实施例中详尽描述的技术细节,可参见本发明任意实施例所提供的双系 统双向控制的方法。
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。

Claims (10)

  1. 一种双***双向控制的方法,其特征在于,包括:
    分别为主***设备和从***设备生成虚拟网卡并为所述虚拟网卡生成IP地址;
    根据所述IP地址建立所述主***设备和从***设备的数据转发服务的套接字连接;
    开启对所述主***设备和从***设备的预设的双向控制服务的端口的监听,对应建立所述双向控制服务与数据转发服务的套接字连接;
    当所述主***设备或从***设备检测到远程控制指令时,通过所述套接字连接形成的数据通道向对方发送所述远程控制指令。
  2. 根据权利要求1所述的方法,其特征在于,所述开启对所述主***设备和从***设备的预设的双向控制服务的端口的监听,对应建立所述双向控制服务与数据转发服务的套接字连接之后,还包括:
    当所述双向控制服务启动时,通过套接字连接实现与对应的数据转发服务的数据连接,并广播双向控制服务已开启。
  3. 根据权利要求1所述的方法,其特征在于,所述分别为主***设备和从***设备生成虚拟网卡并为所述虚拟网卡生成IP地址,包括:
    为主***设备生成第一虚拟网卡并为所述第一虚拟网卡生成第一IP地址,开启所述主***设备的数据转发服务;
    在所述主***设备生成第二IP地址,并通过ADB命令在从***设备生成第二虚拟网卡,将所述第二IP地址分配给所述第二虚拟网卡。
  4. 根据权利要求3所述的方法,其特征在于,所述根据所述IP地址建立所述主***设备和从***设备的数据转发服务的套接字连接,包括:
    通过ADB命令将第一IP地址和主***设备的数据转发服务的端口号作为参数启动从***设备的数据转发服务;
    由所述从***设备根据所述第一IP地址和主***设备的数据转发服务的端口号,建立所述主***设备和从***设备的数据转发服务的套接字连接。
  5. 根据权利要求1所述的方法,其特征在于,所述当所述主***设备或从***设备检测到远程控制指令时,通过所述套接字连接形成的数据通道向对方发送所述远程控制指令,具体为:
    当所述主***设备或从***设备的双向控制服务检测到远程控制指令时,将所述远程控制指令通过对应的套接字连接依次经由***设备的双向控制服务、数据转发服务、另一***设备的数据转发服务发送到另一***设备的双向控制服务,以使另一***设备对所述远程控制指令进行响应。
  6. 一种双***双向控制的装置,其特征在于,包括:
    虚拟网卡单元,用于分别为主***设备和从***设备生成虚拟网卡并为所述虚拟网卡生成IP地址;
    第一连接单元,用于根据所述IP地址建立所述主***设备和从***设备的数据转发服务的套接字连接;
    第二连接单元,用于开启所述主***设备和从***设备的端口监听来自预设的双向控制服务的连接,各自建立双向控制服务与数据转发服务的套接字连接;
    指令发送单元,用于当所述主***设备或从***设备检测到远程控制指令时,通过所述套接字连接形成的数据通道向对方发送所述远程控制指令。
  7. 根据权利要求6所述的装置,其特征在于,所述装置,还包括:
    连接广播单元,用于当所述双向控制服务启动时,通过套接字连接实现与对应的数据转发服务的数据连接,并广播双向控制服务已开启。
  8. 根据权利要求6所述的装置,其特征在于,所述虚拟网卡单元,包括:
    第一虚拟模块,用于为主***设备生成第一虚拟网卡并为所述第一虚拟网卡生成第一IP地址,开启所述主***设备的数据转发服务;
    第二虚拟模块,用于在所述主***设备生成第二IP地址,并通过ADB命令在从***设备生成第二虚拟网卡,将所述第二IP地址分配给所述第二虚拟网卡。
  9. 根据权利要求8所述的装置,其特征在于,所述第一连接单元,包括:
    指令发送模块,用于通过ADB命令将第一IP地址和主***设备的数据转发服务的端口号作为参数启动从***设备的数据转发服务;
    指令响应模块,用于由所述从***设备根据所述第一IP地址和主***设备的数据转发服务的端口号建立所述主***设备和从***设备的数据转发服务的套接字连接。
  10. 根据权利要求6所述的装置,其特征在于,所述指令发送单元,具体用于当所述主***设备或从***设备的双向控制服务检测到远程控制指令时,将所述远程控制指令通过对应的套接字连接依次经由***设备的双向控制服务、数据转发服务、另一***设备的数据转发服务发送到另一***设备的双向控制服务,以使另一***设备对所述远程控制指令进行响应。
PCT/CN2017/077305 2016-12-20 2017-03-20 双***双向控制的方法和装置 WO2018113112A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611184994.2 2016-12-20
CN201611184994.2A CN106776398A (zh) 2016-12-20 2016-12-20 双***双向控制的方法和装置

Publications (1)

Publication Number Publication Date
WO2018113112A1 true WO2018113112A1 (zh) 2018-06-28

Family

ID=58894074

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/077305 WO2018113112A1 (zh) 2016-12-20 2017-03-20 双***双向控制的方法和装置

Country Status (2)

Country Link
CN (1) CN106776398A (zh)
WO (1) WO2018113112A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113806117A (zh) * 2021-11-18 2021-12-17 北京鲸鲮信息***技术有限公司 双***广播方法、装置、电子设备及计算机可读存储介质

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107562373B (zh) * 2017-08-07 2021-02-23 广州视源电子科技股份有限公司 多***u盘读取方法、装置、可读存储介质和计算机设备
CN107729032A (zh) * 2017-09-08 2018-02-23 广州视源电子科技股份有限公司 开机动画更新方法、智能终端及可存储介质
CN108280020B (zh) * 2018-01-23 2021-09-14 广州视源电子科技股份有限公司 计算机设备的监控方法、装置、终端及计算机存储介质
CN112272202B (zh) * 2020-09-18 2022-11-15 苏州浪潮智能科技有限公司 一种管理软件服务端与***内部组件的通信方法及***
CN112887401B (zh) * 2021-01-25 2021-09-17 宁波均联智行科技股份有限公司 一种基于多个操作***的网络访问方法及车机***
CN113535325A (zh) * 2021-06-29 2021-10-22 惠州华阳通用电子有限公司 一种基于虚拟网卡的双***调试方法
CN118265018A (zh) * 2022-12-28 2024-06-28 锐捷网络股份有限公司 一种控制消息通信方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867510A (zh) * 2010-05-31 2010-10-20 江苏中科梦兰电子科技有限公司 板级双***互联方法
KR20110064539A (ko) * 2009-12-08 2011-06-15 주식회사 케이티 다수의 가상머신을 이용한 네트워크 시뮬레이션 장치 및 그 방법
CN104317661A (zh) * 2014-11-04 2015-01-28 上海斐讯数据通信技术有限公司 嵌入式双***的***间通信方法及装置
CN105260250A (zh) * 2015-09-10 2016-01-20 烽火通信科技股份有限公司 一种Linux***与Android***的双***通信装置
CN105808364A (zh) * 2016-03-15 2016-07-27 广州视睿电子科技有限公司 融合PC***和android***的双***通信方法和***

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020942B (zh) * 2016-05-05 2019-03-26 四川安嵌科技有限公司 一种基于多***的WiFi设备复用方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110064539A (ko) * 2009-12-08 2011-06-15 주식회사 케이티 다수의 가상머신을 이용한 네트워크 시뮬레이션 장치 및 그 방법
CN101867510A (zh) * 2010-05-31 2010-10-20 江苏中科梦兰电子科技有限公司 板级双***互联方法
CN104317661A (zh) * 2014-11-04 2015-01-28 上海斐讯数据通信技术有限公司 嵌入式双***的***间通信方法及装置
CN105260250A (zh) * 2015-09-10 2016-01-20 烽火通信科技股份有限公司 一种Linux***与Android***的双***通信装置
CN105808364A (zh) * 2016-03-15 2016-07-27 广州视睿电子科技有限公司 融合PC***和android***的双***通信方法和***

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113806117A (zh) * 2021-11-18 2021-12-17 北京鲸鲮信息***技术有限公司 双***广播方法、装置、电子设备及计算机可读存储介质

Also Published As

Publication number Publication date
CN106776398A (zh) 2017-05-31

Similar Documents

Publication Publication Date Title
WO2018113112A1 (zh) 双***双向控制的方法和装置
CN109743370B (zh) 基于sd-wan的混合云连接方法及***
KR102110698B1 (ko) 단말기 상호 연결 방법, 장치 및 저장 매체
WO2019090902A1 (zh) 屏幕共享的方法、装置、电子设备及存储介质
KR101842559B1 (ko) 단말기, 서버, 및 단말기 제어 방법
WO2018120493A1 (zh) 通信连接建立方法、***、移动终端、车载设备及对应设备和计算机存储介质
WO2014067256A1 (zh) 一种遥控方法、智能终端及智能遥控***
KR101996896B1 (ko) 가상 디바이스 드라이버를 이용한 리소스 공유 방법 및 그 전자 디바이스
WO2019200928A1 (zh) 智能交互一体机
WO2015196330A1 (zh) 一种路由设备的操作方法、路由设备和终端设备
CN106850554B (zh) 双***定向连接的方法和装置
WO2017125016A1 (zh) 更改虚拟网卡配置信息的方法、设备及***
JPWO2020039844A1 (ja) 車載通信装置及び車載システム
WO2019071809A1 (zh) 交互智能平板、数据的传输方法、装置及存储介质
WO2020114185A1 (zh) 云端机器人的通信方法、装置、存储介质以及电子设备
JP6493236B2 (ja) 通信方法、通信プログラム、及び、サーバ
US10887401B2 (en) Device connection method and terminal
KR102164903B1 (ko) 장치에 추가 기능을 제공하기 위한 디바이스, 시스템, 및 방법
CN106878467B (zh) 远程控制设备的方法及远程控制***
WO2019237227A1 (zh) 一种控制方法、主机、从机、移动终端及控制***
CN104135540A (zh) 基于智能终端的远程语音控制技术的方法、智能终端和pc
CN115883572A (zh) 外设共享方法及装置
CN107277107B (zh) 应用调试方法、装置及***
JP3913608B2 (ja) 全ての知的タイプなモジュールが同一の使用者入出力インターフェースを共用できる知的タイプな装置
WO2015067052A1 (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: 17882524

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: 17882524

Country of ref document: EP

Kind code of ref document: A1