CN111786961A - Method, device and equipment for remotely connecting iOS equipment - Google Patents

Method, device and equipment for remotely connecting iOS equipment Download PDF

Info

Publication number
CN111786961A
CN111786961A CN202010526662.8A CN202010526662A CN111786961A CN 111786961 A CN111786961 A CN 111786961A CN 202010526662 A CN202010526662 A CN 202010526662A CN 111786961 A CN111786961 A CN 111786961A
Authority
CN
China
Prior art keywords
ios
equipment
application
socket
management
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.)
Pending
Application number
CN202010526662.8A
Other languages
Chinese (zh)
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.)
Hangzhou Hikvision System Technology Co Ltd
Original Assignee
Hangzhou Hikvision System 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 Hangzhou Hikvision System Technology Co Ltd filed Critical Hangzhou Hikvision System Technology Co Ltd
Priority to CN202010526662.8A priority Critical patent/CN111786961A/en
Publication of CN111786961A publication Critical patent/CN111786961A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
    • 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/10Program control for peripheral devices
    • G06F13/102Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application provides a method, a device and equipment for remotely connecting iOS equipment, comprising the following steps: sending a connection request for connecting the iOS application to the iOS device to the management device through socket connection between a first socket established on the device and a second socket on the management device, so that the management device determines a target iOS device which can be connected with the iOS application from all iOS devices currently connected with the management device through iOS drive; and acquiring target iOS equipment determined by the management equipment through the iOS drive, and displaying the target iOS equipment to a user so as to control the iOS to remotely connect the iOS equipment to be connected when the situation that the iOS equipment to be connected is selected from the target iOS equipment by the user is acquired. By using the method provided by the application, the iOS equipment can be remotely connected.

Description

Method, device and equipment for remotely connecting iOS equipment
Technical Field
The present application relates to the field of computer communications, and in particular, to a method, an apparatus, and a device for remotely connecting an iOS device.
Background
The iOS system is a mobile operating system developed by apple inc. A device having this iOS system is generally referred to as an iOS device. For example, an iPhone device (apple smartphone), an iPad device (apple tablet), and the like.
Typically, a user wants to develop, debug, and test an iOS device, and needs to download an iOS application for connecting the iOS device on an electronic device (such as a user computer). For example, iOS applications that are now commonly used may include IDE (integrated development Environment), iTunes (an application), and so on. The user may then connect the iOS device to the electronic device via a USB (Universal Serial Bus) line. The user can develop, test, debug and the like the iOS device through the iOS application.
However, the development, test, and debugging operations of the existing iOS device are short-range operations, and the remote debugging, test, and other business operations of the iOS device have become the appeal of users, so how to remotely connect the iOS device and the development, debugging, test, and other operations of the iOS device become the problem to be solved urgently.
Disclosure of Invention
In view of this, the present application provides a method, an apparatus, and a device for remotely connecting an iOS device, which are used to implement remote connection of the iOS device.
Specifically, the method is realized through the following technical scheme:
according to a first aspect of the present application, there is provided a method of remotely connecting an iOS device, the method being applied to an electronic device, comprising:
sending a connection request of connecting an iOS application to an iOS device to a management device through a socket connection between a first socket established on the device and a second socket on the management device, so that the management device determines a target iOS device which can be currently connected by the iOS application from all iOS devices currently connected by the management device through an iOS drive; the first socket corresponds to an iOS application on the device, and the second socket corresponds to an iOS drive which is communicated with the iOS device on the management device;
and acquiring target iOS equipment determined by the management equipment through the iOS drive, and displaying the target iOS equipment to a user so as to control the iOS application to remotely connect the iOS equipment to be connected when acquiring that the user selects the iOS equipment to be connected from the target iOS equipment.
Optionally, the sending, by a socket connection between a first socket created on the device and a second socket on the management device, a connection request for connecting the iOS application to the iOS device to the management device, so that the management device determines, through an iOS driver, a target iOS device that the iOS application can currently connect to from all iOS devices currently connected to the management device, includes:
and under the condition that a device connection event corresponding to the iOS application is detected, sending a connection request for connecting the iOS application with the iOS device to the management device through the socket connection, so that the management device selects the iOS device with the access authority of the client from all currently connected iOS devices as the target iOS device according to the information of the client in the connection request, wherein the information of the client is the information of the client with the authority of accessing the management device.
Optionally, the method further includes:
sending an authority application request to the management device through a client of the device, wherein the authority application request comprises: client information and device information of N iOS devices, wherein N is more than or equal to 1;
receiving a response message of successful permission application returned by the management device when the client side is verified to have the permission to access any iOS device in the N iOS devices;
the target iOS device is at least one of the arbitrary iOS devices.
Optionally, the first socket is established in a case where the response message is received.
According to a second aspect of the present application, there is provided a method of remotely connecting an iOS device, the method being applied to a management device, comprising:
receiving a connection request of the iOS application connection iOS device sent by the electronic device through the socket connection between a second socket established on the device and a first socket on the electronic device; the first socket corresponds to an iOS application on the electronic equipment, and the second socket corresponds to an iOS drive which is communicated with the iOS equipment on the equipment;
and determining target iOS equipment which can be currently connected by the iOS application from all iOS equipment currently connected by the management equipment according to the connection request and through the iOS driver, so that the iOS application is controlled to be remotely connected with the iOS equipment to be connected when the management equipment acquires the iOS equipment to be connected which is selected by a user from the target iOS equipment.
Optionally, the determining, according to the connection request and through the iOS driver, a target iOS device that the iOS application can currently connect to from all iOS devices currently connected to the management device includes:
determining all iOS devices currently connected with the management device through the iOS driver;
and searching the iOS equipment with the access authority of the client from all the determined iOS equipment according to the recorded authority list and the information of the client carried in the connection request, and taking the searched iOS equipment as target iOS equipment.
Optionally, the method further includes:
receiving an authority application request sent by the electronic equipment, wherein the authority application request comprises: information of a client and device information of N iOS devices, wherein N is more than or equal to 1;
detecting whether the client has the access authority of each iOS device;
if the client has the access right for accessing any iOS device in the N iOS devices, creating a corresponding relation between the information of the client and the device information of any iOS device in the recorded permission list, and returning a response message that the permission application is successful to the client of the electronic device.
Optionally, the detecting whether the client indicated by the client information has the access right of each iOS device includes:
for each iOS device, detecting whether the iOS device meets a preset condition, if so, determining that the client has the access authority of the iOS device, and if not, determining that the client does not have the access authority of the iOS device;
wherein the preset conditions include: the iOS device is not occupied by other clients and/or the load of the iOS device is below a preset load threshold.
According to a third aspect of the present application, there is provided an apparatus for remotely connecting an iOS device, the apparatus being applied to an electronic device, comprising:
the iOS application is used for sending a connection request of the iOS application for connecting the iOS device to the management device through socket connection between a first socket established on the device and a second socket on the management device, so that the management device determines a target iOS device which can be currently connected by the iOS application from all iOS devices currently connected by the management device through iOS driving; the first socket corresponds to an iOS application on the device, and the second socket corresponds to an iOS drive which is communicated with the iOS device on the management device;
and the iOS application is used for acquiring the target iOS equipment determined by the management equipment through the iOS drive, displaying the target iOS equipment to a user, and controlling the iOS application to remotely connect the iOS equipment to be connected when the iOS equipment to be connected is acquired and selected from the target iOS equipment by the user.
According to a fourth aspect of the present application, there is provided an apparatus for remotely connecting an iOS device, the apparatus being applied to a management device, comprising:
the iOS driver is used for receiving a connection request of the iOS application connection iOS device sent by the electronic device through the socket connection between a second socket established on the device and a first socket on the electronic device; the first socket corresponds to an iOS application on the electronic equipment, and the second socket corresponds to an iOS drive which is communicated with the iOS equipment on the equipment;
and the iOS driver is used for determining target iOS equipment which can be currently connected by the iOS application from all iOS equipment currently connected by the management equipment according to the connection request and through the iOS driver, so that the management equipment controls the iOS application to remotely connect the iOS equipment to be connected when acquiring the iOS equipment to be connected which is selected by a user from the target iOS equipment.
According to a fifth aspect of the present application, there is provided an electronic device comprising a readable storage medium and a processor;
wherein the readable storage medium is configured to store machine executable instructions;
the processor is configured to read the machine executable instructions on the readable storage medium and execute the instructions to implement the method of the first aspect.
According to a sixth aspect of the present application, there is provided a management device, the device comprising a readable storage medium and a processor;
wherein the readable storage medium is configured to store machine executable instructions;
the processor is configured to read the machine executable instructions on the readable storage medium and execute the instructions to implement the method of the second aspect.
According to a seventh aspect of the present application, a computer-readable storage medium is provided, in which a computer program is stored, which, when executed by a processor, implements the method of the first or second aspect.
As can be seen from the above description, on one hand, the iOS device is connected to the management device through the USB data line, the iOS driver of the remote connection management device for the iOS application of the electronic device is implemented by establishing a socket connection between the iOS application of the remote electronic device and the iOS driver on the management device, and the remote connection to the iOS device is implemented by the remotely connected iOS driver.
On the other hand, on the basis of realizing remote connection of the iOS device, the authentication function is added, so that the control of the management device on the access authority of the iOS device is realized.
Drawings
FIG. 1 is a schematic diagram of a networking of existing iOS device connections;
FIG. 2 is a network architecture diagram of a remotely connected iOS device shown in an exemplary embodiment of the present application;
FIG. 3 is a flow chart illustrating a method of remotely connecting an iOS device according to an exemplary embodiment of the present application;
FIG. 4 is a flow chart illustrating a method of remotely connecting an iOS device according to an exemplary embodiment of the present application;
FIG. 5 is a flow chart illustrating another remotely connected iOS device according to an exemplary embodiment of the present application;
FIG. 6a is a network architecture diagram of another remotely connected iOS device shown in an exemplary embodiment of the present application;
FIG. 6b is an interaction diagram illustrating a remotely connected iOS device according to an exemplary embodiment of the present application;
FIG. 7 is a diagram illustrating a hardware configuration of an electronic device according to an exemplary embodiment of the present application;
FIG. 8 is a block diagram illustrating an apparatus for remotely connecting an iOS device according to an exemplary embodiment of the present application;
FIG. 9 is a hardware block diagram of a management device shown in an exemplary embodiment of the present application;
fig. 10 is a block diagram illustrating an apparatus for remotely connecting an iOS device according to an exemplary embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
In the existing iOS device connection technology, typically, a user directly connects an iOS device to an electronic device through a USB data line, and the user performs operations such as development and testing on the iOS device through an iOS application on the electronic device.
The following conventional iOS device connection technique is described below.
Referring to fig. 1, fig. 1 is a schematic diagram of networking of existing iOS device connections.
In this networking, the iOS device and the electronic device are directly connected through a USB data line.
1. iOS device
An iOS device refers to a device having an iOS system. Such as an iPhone device, an ipad device, an iPod Touch device, etc.
2. Electronic device
The electronic device refers to a device which can be used by a user. The electronic device may be a user computer, a notebook, etc., and is only exemplary and not particularly limited thereto.
The electronic device includes: iOS applications and iOS drivers.
1) iOS application
The iOS application refers to application software that can connect the iOS device. For example, the iOS application may include client software such as Xcode, iTunes, and the like. Xcode is the most commonly used IDE for developing iOS applications, and can debug iOS applications after connecting iOS devices. The iTunes is an application program capable of controlling the iOS device, and may be an iPhone screenshot, reading and writing a file in the iPhone, installing and uninstalling an application in the iPhone, acquiring device information, and the like.
Of course, the iOS application is only exemplarily described here, and is not particularly limited.
2) iOS driver
The iOS driver is a program for driving the iOS device. Specifically, the iOS driver may convert TCP data transmitted by the iOS application into USB data and then transmit the USB data to the iOS device, similar to a conversion tool of the TCP data and the USB data, and the iOS driver converts USB data transmitted by the iOS device into TCP data and transmits the TCP data to the iOS application.
When the operating system of the electronic device is the mac OS operating system, the iOS driver is usbmuxd. Certainly, when the operating system of the electronic device is other operating systems, such as an Android system, a Linux system, a Window system, and the like, these systems also have corresponding iOS drivers (such as usbmux d), which is not described herein again.
In the existing iOS device connection technology, the iOS device can be connected to the electronic device through a USB data line. The user can debug, test and the like the iOS device through the iOS application. Specifically, the iOS application may call an interface of the iOS driver, and send TCP data related to an operation to be performed by the user to the iOS driver. The iOS driver may convert the TCP data into USB data and then transmit the USB data to the iOS device. In addition, the iOS driver may also convert USB data returned by the iOS device into TCP data and send the TCP data to the iOS application.
However, as can be seen from the above description, the conventional operations on the iOS device are all short-range operations, and the remote operation of debugging, testing, and the like on the iOS device has become the appeal of users, so how to remotely connect the iOS device, the development, debugging, testing, and the like on the iOS device becomes an urgent problem to be solved.
The application aims to provide a mode for remotely connecting iOS equipment, and in the application, the electronic equipment, the management equipment and the iOS equipment are included. The iOS equipment is connected with the management equipment through a USB interface. The electronic device is remotely connected with the iOS device through the management device.
In the application, the remote connection of the electronic equipment to the iOS device is realized by establishing socket connection between the iOS application of the electronic equipment and the iOS driver on the management equipment.
In addition, in the embodiment of the application, on the basis of realizing remote connection of the iOS device, the authentication function is added, so that the control of the management device on the access authority of the iOS device is realized.
The method for remotely connecting the iOS device provided by the present application is explained in detail below.
Referring to fig. 2, fig. 2 is a network architecture diagram of a remotely connected iOS device according to an exemplary embodiment of the present application.
The network architecture includes: iOS devices, electronic devices, and management devices (also referred to as special purpose computers).
1. iOS device
An iOS device refers to a device having an iOS system. Such as an iPhone device, an iPad device, an iPod Touch device, etc.
2. Electronic device
The electronic equipment refers to electronic equipment which can be used by a user and can be connected with the iOS equipment. The electronic device may be a user computer, a notebook, etc., and is only exemplary and not particularly limited thereto.
The electronic device includes an iOS application and an iOS driver. The iOS application and iOS driver can be referred to the above description and will not be described here. In practical applications, the electronic device may further include other software modules, which are only exemplary and not specifically limited herein.
3. Management device
The management device is used for managing one or more iOS devices. The iOS device is connected to the management device. For example, the management device is connected to the iOS device via a USB data line.
The management apparatus includes: an iOS driver, and the like. The iOS driver may only include the iOS driver described above, and of course, in the embodiment of the present application, other functional modules, such as an authentication module, are also included in the iOS driver. The iOS driver is only exemplified here and is not particularly limited.
Referring to fig. 3, fig. 3 is a flow chart illustrating a method for remotely connecting an iOS device according to an exemplary embodiment of the present application. The method can be applied to electronic equipment and can comprise the following steps.
Step 301: the electronic equipment sends a connection request for connecting the iOS application with the iOS equipment to the management equipment through socket connection between a first socket established on the electronic equipment and a second socket on the management equipment, so that the management equipment determines target iOS equipment which can be currently connected with the iOS application from all iOS equipment currently connected with the management equipment through iOS driving; the first socket corresponds to an iOS application on the device, and the second socket corresponds to an iOS drive which is communicated with the iOS device on the management device.
When implemented, the electronic device may create a first socket corresponding to an iOS application on the device. A second socket corresponding to the iOS driver on the management device may be created on the management device. The time for creating the first socket and the second socket is not limited, and the first socket and the second socket can be created just before socket connection.
Then, the electronic device may send a socket connection establishment request to the management device, where the socket connection establishment request carries information of the first socket.
After receiving the socket connection establishment request, the management device may establish a socket connection between the first socket and the second socket according to the information of the first socket.
In the embodiment of the application, since the iOS application calls the interface of the iOS driver on the electronic device to communicate with the iOS device through the iOS driver as the default mode of the electronic device when communicating with the iOS device, in order to enable the iOS application on the electronic device to communicate with the iOS device, the iOS driver on the management device is connected to communicate with the iOS device through the socket connection instead of calling the iOS driver of the electronic device to communicate with the iOS device. Therefore, in this embodiment of the application, after the first socket is created, the electronic device further needs to modify an interface for calling the iOS driver on the electronic device into an interface for calling the first socket, and modify the name of the first socket into the name of the iOS driver, so that when the iOS application communicates with the iOS device, the communication content is sent to the iOS driver on the management device through socket connection, and then the iOS driver performs protocol format conversion on the communication content and sends the communication content to the iOS device.
After the socket connection is successfully established, the electronic device may send a connection request for connecting the iOS application to the iOS device to the management device through the established socket connection. For example, in an optional implementation manner, after the socket connection is established, if the electronic device detects that an external device (e.g., a user, etc.) triggers a device connection event in the iOS application, the electronic device may send, to the management device, a connection request for connecting the iOS application to the iOS device through the socket connection. Here, the timing of the connection request is not carried out
When the management device receives the connection request through the socket connection, all iOS devices currently connected to the management device can be acquired through the iOS driver, and a target iOS device to which the iOS application is currently connectable is determined from all iOS devices currently connected.
For example, upon determination, the management device may take all iOS devices currently connected by the management device as target iOS devices to which the iOS application can be connected. Of course, in practical applications, the management device may also determine the target iOS device in other manners, which is not specifically limited herein. For example, the management device may select an iOS device that is not occupied by other clients among all iOS devices currently connected as a target iOS device.
Step 302: the electronic equipment acquires the target iOS equipment determined by the management equipment through the iOS drive, displays the target iOS equipment to a user, and controls the iOS application to be remotely connected with the iOS equipment to be connected when the target iOS equipment is acquired and selected by the user from the target iOS equipment.
After determining the target iOS device, the management device may return device information (such as a device identifier, a device status, and the like) of the target iOS device to the electronic device through the socket connection.
The electronic device may present the target iOS device to the user. For example, the electronic device may present the target iOS device to the user on the iOS application.
The user can select the iOS device to be connected from the displayed target iOS devices, and after the electronic device detects that the user selects the iOS device to be connected, the iOS application can be controlled to remotely connect the iOS device to be connected.
As is apparent from the above description, in the present application, an iOS device is connected to a management device, an iOS driver of a remote connection management device of an iOS application of an electronic device is realized by establishing a socket connection between the iOS application of the remote electronic device and an iOS driver on the management device, and a remote connection to the iOS device is realized by the remotely connected iOS driver.
Referring to fig. 4, fig. 4 is a flowchart illustrating a method for remotely connecting an iOS device, which may be applied to a management device and may include the following steps, according to an exemplary embodiment of the present application.
Step 401: the management equipment is connected with a first socket on the electronic equipment through a socket established on the management equipment, and receives a connection request of the iOS application connection iOS equipment sent by the electronic equipment; the first socket corresponds to an iOS application on the electronic device, and the second socket corresponds to an iOS drive on the device, which communicates with the iOS device.
Step 402: and the management equipment determines target iOS equipment which can be currently connected by the iOS application from all iOS equipment currently connected by the management equipment according to the connection request and through the iOS drive, so that when the management equipment acquires the iOS equipment to be connected selected by the user from the target iOS equipment, the iOS application is controlled to be remotely connected with the iOS equipment to be connected.
In this example, in the case where the management device receives the connection request through the socket connection, all iOS devices currently connected to the management device may be acquired through the iOS driver, and a target iOS device to which the iOS application is currently connectable may be determined from all iOS devices currently connected.
For example, upon determination, the management device may take all iOS devices currently connected by the management device as target iOS devices to which the iOS application can be connected. Of course, in practical applications, the management device may also determine the target iOS device in other manners, which is not specifically limited herein. For example, the management device may select an iOS device that is not occupied by other clients among all iOS devices currently connected as a target iOS device.
After determining the target iOS device, the management device may return device information (such as a device identifier, a device status, and the like) of the target iOS device to the electronic device through the socket connection.
The electronic device may present the target iOS device to the user. For example, the electronic device may present the target iOS device to the user on the iOS application.
The user can select the iOS device to be connected from the displayed target iOS devices, and after the electronic device detects that the user selects the iOS device to be connected, the iOS application can be controlled to remotely connect the iOS device to be connected.
As is apparent from the above description, in the present application, an iOS device is connected to a management device, an iOS driver of a remote connection management device of an iOS application of an electronic device is realized by establishing a socket connection between the iOS application of the remote electronic device and an iOS driver on the management device, and a remote connection to the iOS device is realized by the remotely connected iOS driver.
In addition, in order to facilitate management of the iOS device, the application also sets a device management mechanism such as access authentication of the iOS device on the basis of realizing remote connection of the iOS device, so as to realize management of the iOS device.
In implementation, the electronic device is further configured with a client, and the client is used for managing the iOS device, managing access rights of a user who logs in the client, and the like. Optionally, the server corresponding to the client is deployed on the management device.
For example, the client may obtain identity information of a user who logs in the client, and send the identity information to the management device for identity authentication, and after the authentication is passed, the client may authorize the user to access the management device (for example, apply for an access right of a certain iOS device), and authorize the user to access an iOS application on the electronic device (for example, connect the iOS device through the iOS application, and operate the connected iOS device, and the like).
The client may be client software on the electronic device, or may be other web pages such as a web browser, and the client is only exemplary and not limited to the specific example.
An embodiment of implementing iOS device management provided by the present application is described in detail below with reference to fig. 5.
Referring to fig. 5, fig. 5 is a flow chart illustrating another method for remotely connecting an iOS device according to an exemplary embodiment of the present application, which may include the following steps.
Step 501: and the electronic equipment sends an authority application request to the management equipment through the client configured on the equipment.
When the method is implemented, a user can log in the client firstly, and after the user successfully logs in the client, the user can use the iOS device use authority application function provided in the client. For example, the user may click the permission application option on the client page and select N iOS devices that the user wants to use from the iOS device list presented by the client for the user, or the user may input N iOS devices that the user wants to use on the client page. Wherein N is greater than or equal to 1.
When the electronic device detects that the user triggers the iOS device usage permission application function in the client, a permission application request can be sent to the management device. The permission request includes: client information, device information for the N iOS devices. Wherein the device information of the N iOS devices.
Wherein, the client information may include: the user information registered in the client and the information related to the client are only exemplary and are not limited to the client information.
Step 502: the management device detects whether the client has access rights of the N iOS devices.
When receiving the permission application request, the management device can detect whether the client has the access permission of the N iOS devices.
For example, in determining whether the client has access rights of N iOS devices, the management device detects, for each iOS device, whether the iOS device satisfies a preset condition. And if the iOS device meets the preset condition, determining that the client has the access right of the iOS device, and if the iOS device does not meet the preset condition, determining that the client does not have the access right of the iOS device.
Wherein, the preset condition may include: the iOS device is not occupied by other clients and/or the load of the iOS device is below a preset load threshold.
For example, if the iOS device is not occupied by other clients, it is determined that the iOS device satisfies the preset condition, and if the iOS device is occupied by other clients, it is determined that the iOS device does not satisfy the preset condition.
Or if the load of the iOS device is lower than a preset load threshold, determining that the iOS device meets a preset condition, and if the load of the iOS device is greater than or equal to the preset threshold, determining that the iOS device does not meet the preset condition.
Or if the iOS device is not occupied by other clients and the load is lower than a preset load threshold, determining that the iOS device meets a preset condition. And if the iOS device is occupied by other clients and/or the load is greater than or equal to a preset load threshold, determining that the iOS device does not meet the preset condition.
Here, the preset condition is only exemplarily described, and is not particularly limited.
Step 503: when the management device determines that the client has an access right for accessing any iOS device in the N iOS devices, the management device creates a second socket corresponding to the iOS drive on the management device, and creates a corresponding relation between the client information and the device information of the any iOS device in an authority list.
It should be noted that, in the embodiment shown in fig. 5, the iOS driver integrates the driver function of the iOS driver and the authentication function.
Step 504: and when the management device determines that the client has the access right for accessing any iOS device in the N iOS devices, the management device returns a response message of success of the permission application to the electronic device.
Step 505: the method comprises the steps that under the condition that the electronic equipment receives a response message that an authority application is successful, a first socket corresponding to an iOS application on the electronic equipment is created, and socket connection is established between the first socket and a second socket through a combined management device.
The creating mode of the first socket and the creating mode of the socket connection can be referred to in step 301, and are not described herein again.
Step 506: and the electronic equipment sends a connection request for connecting the iOS application with the iOS equipment to the management equipment through the socket connection.
In an embodiment of the application, after the user logs in the client, the client may grant the user access right to access the iOS application on the electronic device.
For example, when a user wants to connect an iOS device using an iOS application, the user may trigger a device connection option on the iOS application.
When the electronic device detects a device connection event corresponding to the iOS application triggered by a user, the electronic device can send a connection request for connecting the iOS application with the iOS device to an iOS driver on the management device through socket connection through the iOS application. The connection request carries client information.
Step 507: and the management equipment determines target iOS equipment which can be currently connected by the iOS application from all iOS equipment currently connected by the management equipment through the iOS drive according to the connection request.
In implementation, the management device may determine, through the iOS driver, all iOS devices to which the management device is currently connected. And then, the management equipment searches the iOS equipment with the access authority of the client from all the determined iOS equipment according to the recorded authority list and the information of the client carried in the connection request, and takes the searched iOS equipment as target iOS equipment.
For example, the management device may determine, through the iOS driver, all iOS devices currently connected to the management device, to obtain the first iOS device set.
In addition, the management device may also search all iOS devices corresponding to the client information in the recorded permission list to obtain a second iOS device set.
Then, the management device may determine that the first iOS device and the second iOS device intersect, and take the iOS device in the intersection as a target iOS device to which the management device is currently connected and to which the client has access rights.
Step 508: the management device returns the device information of the target iOS device to the iOS application of the electronic device through the socket connection.
Step 509: the electronic equipment displays the target iOS equipment to the user through the iOS application, and remotely connects the iOS equipment to be connected after the iOS equipment to be connected selected by the user from the target iOS equipment is obtained.
As can be seen from the above description, on one hand, the iOS device is connected to the management device through the USB data line, the iOS driver of the remote connection management device for the iOS application of the electronic device is implemented by establishing a socket connection between the iOS application of the remote electronic device and the iOS driver on the management device, and the remote connection to the iOS device is implemented by the remotely connected iOS driver.
On the other hand, on the basis of realizing remote connection of the iOS device, the authentication function is added, so that the control of the management device on the access authority of the iOS device is realized.
Referring to fig. 6a, fig. 6a is a block diagram illustrating another networking architecture of a remotely connected iOS device according to an exemplary embodiment of the present application.
The networking includes: an electronic device, a management device, and an iOS device.
The electronic equipment is connected with the management equipment through the Internet, and the iOS equipment is connected with the management equipment through a USB (universal serial bus) line. In practical applications, the management device may be connected to one or more electronic devices, and the management device may also be connected to one or more iOS devices, which are only exemplary and not specifically limited herein.
1. Electronic device
The electronic device may include: a client and an iOS application. For details, see the description of the client and the iOS application above, which is not described herein again.
2. Management device
The management apparatus includes: a management module and an iOS driver.
The management module stores a permission list. The management module can be used for carrying out authentication, recording and the like of authority application. The management module is only exemplified and not particularly limited herein.
The iOS driver in the embodiment of the present application includes not only a driver function but also an authentication function, and the iOS driver in the present application includes an existing iOS driver and also includes an authentication module. The iOS driver is only exemplified here and is not particularly limited.
And the authentication module in the iOS driver is connected with the iOS driver.
The second socket corresponding to the iOS driver is the second socket corresponding to the authentication module in the iOS driver.
When a user operates the iOS device through the iOS application on the electronic device, the iOS application can send data to an authentication module in the iOS driver through socket connection, the authentication module forwards the data to the iOS driver, the iOS driver performs protocol format conversion on the data, and sends the converted data to the iOS device.
Another method for remotely connecting iOS devices provided by the present application is described in detail below with reference to fig. 6a and 6 b.
Referring to fig. 6b, fig. 6b is an interaction diagram illustrating a remotely connected iOS device according to an exemplary embodiment of the present application, which may include the following steps.
Step 601: and the client on the electronic equipment sends a permission application request to a management module of the management equipment.
When the method is implemented, a user can log in the client firstly, and after the user successfully logs in the client, the user can use the iOS device use authority application function provided in the client. For example, the user may click the permission application option on the client page and select N iOS devices that the user wants to use from the iOS device list presented by the client for the user, or the user may input N iOS devices that the user wants to use on the client page. Wherein N is greater than or equal to 1.
When a client on the electronic device detects that a user triggers the usage permission application function of the iOS device, a permission application request can be sent to a management module of the management device. The permission request includes: client information, device information for the N iOS devices. Wherein the device information of the N iOS devices.
Wherein, the client information may include: the user information registered in the client and the information related to the client are only exemplary and are not limited to the client information.
Step 602: the management module of the management device detects whether the client has access rights of the N iOS devices.
When receiving the permission application request, the management module of the management device can detect whether the client has the access permission of the N iOS devices.
For example, in determining whether the client has access rights for N iOS devices, the management module detects, for each iOS device, whether the iOS device satisfies a preset condition. And if the iOS device meets the preset condition, determining that the client has the access right of the iOS device, and if the iOS device does not meet the preset condition, determining that the client does not have the access right of the iOS device.
Wherein, the preset condition may include: the iOS device is not occupied by other clients and/or the load of the iOS device is below a preset load threshold.
For example, if the iOS device is not occupied by other clients, it is determined that the iOS device satisfies the preset condition, and if the iOS device is occupied by other clients, it is determined that the iOS device does not satisfy the preset condition.
Or if the load of the iOS device is lower than a preset load threshold, determining that the iOS device meets a preset condition, and if the load of the iOS device is greater than or equal to the preset threshold, determining that the iOS device does not meet the preset condition.
Or if the iOS device is not occupied by other clients and the load is lower than a preset load threshold, determining that the iOS device meets a preset condition. And if the iOS device is occupied by other clients and the load is greater than or equal to a preset load threshold value, determining that the iOS device does not meet a preset condition.
Here, the preset condition is only exemplarily described, and is not particularly limited.
Step 603: when the management module determines that the client has an access right for accessing any iOS device in the N iOS devices, the management module creates a second socket corresponding to an iOS drive on the management device, and creates a corresponding relation between the client information and the device information of the any iOS device in an authority list.
Step 604: and the management module returns a response message of successful permission application to the electronic equipment.
Step 605: the method comprises the steps that under the condition that a client of the electronic equipment receives a response message that an authority application is successful, a first socket corresponding to an iOS application on the electronic equipment is created, and socket connection is established between the first socket and a second socket by combining a management module of the management equipment.
During implementation, the client of the electronic device creates a first socket when receiving a response message that the permission application is successful, modifies the name of the first socket into the name of the iOS driver on the electronic device, and modifies an interface for calling the iOS driver on the electronic device into an interface for calling the first socket.
Then, the client of the electronic device may send a socket connection establishment request to a management module of the management device, where the socket connection establishment request carries information of the first socket.
After receiving the socket connection establishment request, the management module of the management device can establish a socket connection between the first socket and the second socket according to the information of the first socket.
Step 606: and the iOS application sends a connection request to an authentication module of the management equipment through the socket connection.
In an embodiment of the application, after the user logs in the client, the client may grant the user access right to access the iOS application on the electronic device.
For example, when a user wants to connect an iOS device using an iOS application, the user may trigger a device connection option on the iOS application.
When the iOS application detects a device connection event which is triggered by a user and corresponds to the iOS application, the iOS application calls an interface of the iOS driver by default, but the interface of the iOS driver on the device is modified into an interface for calling the first socket, so that the interface for calling the iOS driver by the iOS application is the interface for calling the first socket, the first socket can be called on the premise of not changing the calling mode of the existing iOS application, and the connection request is sent to the authentication module through socket connection. The connection request carries client information.
For example, the connection request is as follows:
Figure BDA0002532172260000161
it should be noted that the format of the above data is plist, similar to XML, which is a data exchange format defined by apple. The main load information carried by the method is the part between < ditt > and </ditt > tags, the name of the information is between < key > and </key > tags, and the row next to the < key > is the specific content of the information. The information related to this scheme is Message Type, and its information content is "Listen". This message means that the iOS application wants to listen which iOS devices can connect to.
Step 607: the authentication module on the management device sends the connection request to the iOS driver.
For example, the authentication module may send the connection request to the iOS driver.
Step 608: and the iOS driver returns the iOS equipment which is currently connected with the management equipment to the authentication module.
After receiving the connection request, the iOS driver may send a response message indicating that the connection request is successful to the authentication module, and then return the iOS device that the management device is currently connectable to the authentication module.
The response message indicating that the connection request is successful may be as follows:
Figure BDA0002532172260000171
the MessageType in this message is "Result", Number is "0", meaning that the request Result of the connection request message is 0, that is to say that the just-previous connection request has succeeded (indicating a request failure if Number is not 0).
The message returned by the iOS driver to the authentication module and carrying the iOS device to which the management device is currently connected may be as follows:
Figure BDA0002532172260000172
Figure BDA0002532172260000181
this Message with Message Type Attached indicates that an iOS device with a serial number (SerialNumber) of 78c9b43f5959e724b7721ef3d5d5bed2 has been connected to the computer. This message also carries some other information about the device, such as 480Mbps connection speed, USB connection type, etc. If N iOS devices are connected to the management device, N blocks of data as above are transmitted consecutively, one iOS device at a time
Step 609: and the authentication module sends a query request carrying the client information to the management module.
Step 610: and the management module returns the information of all iOS devices corresponding to the client information to the authentication module.
Note that, the present application does not limit the timing of step 607 and step 609 as long as the logic is satisfied.
Step 611: and the authentication module determines the target iOS equipment which is currently connected with the management equipment and has the access right of the client from the iOS equipment returned by the iOS driver and the iOS equipment returned by the management module.
For example, the authentication module may determine an intersection between the iOS device returned by the iOS driver and the iOS device returned by the management module, and use the iOS device in the intersection as a target iOS device to which the management device is currently connected and to which the client has access right.
Step 612: and the authentication module sends the device information of the target iOS device to the iOS application of the electronic device.
Step 613: the iOS application can display a connectable target iOS device to a user, and remotely connect the iOS device to be connected after acquiring the iOS device to be connected selected by the user from the target iOS device.
The user can select the iOS device to be connected from the displayed target iOS devices, and after the iOS application detects the iOS device to be connected selected by the user, the iOS device to be connected can be remotely connected.
In addition, in the embodiment of the present application, a release manner of the usage right of the iOS device is further provided:
in an alternative release mode, the client of the electronic device may send a request for canceling the usage right to the management device, where the request includes information of the client and iOS device information that needs to cancel the right. After receiving the request, the management device may delete the correspondence between the information of the client in the permission list and the iOS device information that needs to cancel the permission.
In another optional release manner, each corresponding relationship in the authority list configures an aging duration. The management module of the management device can periodically delete the corresponding relation of the aging time length overtime in the authority list, thereby releasing the use authority of the iOS device in the corresponding relation.
In another optional implementation manner, when detecting that the iOS device does not satisfy the connection condition, the management module of the management device releases the usage right of the iOS device, and deletes the corresponding relationship of the iOS device in the right list. For example, when detecting that the load of the iOS device exceeds a preset threshold, the management module releases the usage right of the iOS device. Here, the connection condition is merely exemplified and not particularly limited.
In addition, in this embodiment of the application, after releasing the usage rights of some iOS devices, if the authentication module in the iOS driver receives an operation message sent by the iOS application for the iOS device for which the rights are released, the management module may return a message that the rights have been released to the iOS application. Or after releasing the use permission of some iOS devices, the management module may return a prompt message to the client of the electronic device to prompt the user that the use permission of some iOS devices is released.
As can be seen from the above description, on the one hand, the iOS device is connected to the management device, the iOS driver of the remote connection management device for the iOS application of the electronic device is implemented by establishing a socket connection between the iOS application of the remote electronic device and the iOS driver on the management device, and the remote connection to the iOS device is implemented by the remotely connected iOS driver.
On the other hand, on the basis of realizing remote connection of the iOS device, the authentication function is added, so that the control of the management device on the access authority of the iOS device is realized.
Referring to fig. 7, fig. 7 is a hardware structure diagram of an electronic device according to an exemplary embodiment of the present application.
The electronic device may include: a communication interface 701, a processor 702, a machine-readable storage medium 703, and a bus 704; the communication interface 701, the processor 702, and the machine-readable storage medium 703 are in communication with one another via a bus 704. The processor 702 may perform the remote-connected iOS device method described above by reading and executing machine-executable instructions in the machine-readable storage medium 703 corresponding to the remote-connected iOS device control logic.
The machine-readable storage medium 703 as referred to herein may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and the like. For example, the machine-readable storage medium may be: volatile memory, non-volatile memory, or similar storage media. In particular, the machine-readable storage medium 703 may be RAM (random Access Memory), flash Memory, a storage drive (e.g., a hard disk drive), a solid state drive, any type of storage disk (e.g., a compact disk, a DVD, etc.), or similar storage medium, or a combination thereof.
Referring to fig. 8, fig. 8 is a block diagram illustrating an apparatus for remotely connecting an iOS device according to an exemplary embodiment of the present application, where the apparatus is applicable to the electronic device shown in fig. 7, and may include:
the iOS application 801 is configured to send a connection request for connecting the iOS application to the management device through a socket connection between a first socket created on the device and a second socket on the management device, so that the management device determines, through an iOS driver, a target iOS device that the iOS application can currently connect to from all iOS devices currently connected to the management device; the first socket corresponds to an iOS application on the device, and the second socket corresponds to an iOS drive which is communicated with the iOS device on the management device;
and the iOS application 801 is configured to acquire a target iOS device determined by the management device through the iOS driver, and display the target iOS device to a user, so that when the target iOS device is acquired that the user selects an iOS device to be connected from the target iOS device, the iOS application is controlled to remotely connect the iOS device to be connected.
Optionally, the iOS application 801 sends a connection request for connecting the iOS application to the iOS device to the management device through a socket connection between a first socket created on the device and a second socket on the management device, to determine a target iOS device connectable by the iOS application from among all iOS devices currently connected by the management device through the iOS driver, a connection request for the iOS application to connect to the iOS device is sent to the management device through the socket connection when a device connection event corresponding to the iOS application is detected, so that the management device selects an iOS device with the access right of the client from all currently connected iOS devices as the target iOS device according to the information of the client in the connection request, the information of the client is the information of the client with the authority of accessing the management equipment.
Optionally, the apparatus further comprises:
the client 802 is further configured to send an authority application request to the management device, where the authority application request includes: client information and device information of N iOS devices, wherein N is more than or equal to 1; receiving a response message of successful permission application returned by the management device when the client side is verified to have the permission to access any iOS device in the N iOS devices;
the target iOS device is at least one of the arbitrary iOS devices.
Optionally, the first socket is established in a case where the response message is received.
Referring to fig. 9, fig. 9 is a hardware structure diagram of a management device according to an exemplary embodiment of the present application.
The management apparatus may include: a communication interface 901, a processor 902, a machine-readable storage medium 903, and a bus 904; wherein the communication interface 901, the processor 902, and the machine-readable storage medium 903 communicate with one another over a bus 904. The processor 902 may perform the remote-connected iOS device method described above by reading and executing machine-executable instructions in the machine-readable storage medium 903 corresponding to the remote-connected iOS device control logic.
The machine-readable storage medium 903 referred to herein may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and the like. For example, the machine-readable storage medium may be: volatile memory, non-volatile memory, or similar storage media. In particular, the machine-readable storage medium 903 may be a RAM (random Access Memory), a flash Memory, a storage drive (e.g., a hard drive), a solid state drive, any type of storage disk (e.g., a compact disk, a DVD, etc.), or similar storage medium, or a combination thereof.
Referring to fig. 10, fig. 10 is a block diagram illustrating an apparatus for remotely connecting an iOS device according to an exemplary embodiment of the present application, where the apparatus is applicable to the management device shown in fig. 9, and may include:
the iOS driver 1001 is configured to receive, through a socket connection between a second socket created on the device and a first socket on the electronic device, a connection request sent by the electronic device for connecting the iOS application to the iOS device; the first socket corresponds to an iOS application on the electronic equipment, and the second socket corresponds to an iOS drive which is communicated with the iOS equipment on the equipment;
and the iOS driver 1001 is configured to determine, according to the connection request, a target iOS device to which the iOS application is currently connectable from all iOS devices currently connected to the management device, so that when acquiring the to-be-connected iOS device selected by the user from the target iOS device, the management device controls the iOS application to remotely connect the to-be-connected iOS device.
Optionally, the iOS driver 1002 includes: an authentication module 10011 and an iOS driver 10012;
an authentication module 10011, configured to determine, through the iOS driver, all iOS devices currently connected to the management device, search, according to the recorded permission list and the information of the client carried in the connection request, for the iOS device having the access permission at the client from all determined iOS devices, and use the searched iOS device as the target iOS device.
Optionally, the apparatus further comprises:
the management module 1002 is further configured to receive an authority application request sent by the electronic device, where the authority application request includes: information of a client and device information of N iOS devices, wherein N is more than or equal to 1; detecting whether the client has the access authority of each iOS device; if the client has the access authority for accessing any iOS device in the N iOS devices, creating a corresponding relation between the client information and the device information of any iOS device in the recorded authority list, and returning a response message of success authority application to the client of the electronic device.
Optionally, the management module 1002 is specifically configured to, when detecting whether the client indicated by the client information has an access right of each iOS device, detect, for each iOS device, whether the iOS device satisfies a preset condition, if yes, determine that the client has the access right of the iOS device, and if not, determine that the client does not have the access right of the iOS device;
wherein the preset conditions include: the iOS device is not occupied by other clients and/or the load of the iOS device is below a preset load threshold.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the application. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (13)

1. A method for remotely connecting iOS equipment, which is applied to electronic equipment and comprises the following steps:
sending a connection request of connecting an iOS application to an iOS device to a management device through a socket connection between a first socket established on the device and a second socket on the management device, so that the management device determines a target iOS device which can be currently connected by the iOS application from all iOS devices currently connected by the management device through an iOS drive; the first socket corresponds to an iOS application on the device, and the second socket corresponds to an iOS drive which is communicated with the iOS device on the management device;
and acquiring target iOS equipment determined by the management equipment through the iOS drive, and displaying the target iOS equipment to a user so as to control the iOS application to remotely connect the iOS equipment to be connected when acquiring that the user selects the iOS equipment to be connected from the target iOS equipment.
2. The method according to claim 1, wherein the sending, to the management device, a connection request for connecting an iOS application to an iOS device through a socket connection between a first socket that has been created on the present device and a second socket on the management device, to determine, by the management device, a target iOS device to which the iOS application is currently connectable, from among all iOS devices currently connected to the management device, through an iOS driver, includes:
and under the condition that a device connection event corresponding to the iOS application is detected, sending a connection request for connecting the iOS application with the iOS device to the management device through the socket connection, so that the management device selects the iOS device with the access authority of the client from all currently connected iOS devices as the target iOS device according to the information of the client in the connection request, wherein the information of the client is the information of the client with the authority of accessing the management device.
3. The method of claim 1, further comprising:
sending an authority application request to the management device through a client of the device, wherein the authority application request comprises: information of a client and device information of N iOS devices, wherein N is more than or equal to 1;
receiving a response message of successful permission application returned by the management device when the client side is verified to have the permission to access any iOS device in the N iOS devices;
the target iOS device is at least one of the arbitrary iOS devices.
4. The method of claim 3, wherein the first socket is established if the response message is received.
5. A method for remotely connecting iOS equipment, which is applied to management equipment and comprises the following steps:
receiving a connection request of connecting an iOS application with an iOS device, wherein the connection request is sent by the electronic device through a socket connection between a second socket established on the electronic device and a first socket on the electronic device; the first socket corresponds to an iOS application on the electronic equipment, and the second socket corresponds to an iOS drive which is communicated with the iOS equipment on the equipment;
and determining target iOS equipment which can be currently connected by the iOS application from all iOS equipment currently connected by the management equipment according to the connection request and through the iOS driver, so that the iOS application is controlled to be remotely connected with the iOS equipment to be connected when the management equipment acquires the iOS equipment to be connected which is selected by a user from the target iOS equipment.
6. The method according to claim 5, wherein the determining, from all the iOS devices currently connected to the management device, a target iOS device to which the iOS application is currently connectable by the iOS driver according to the connection request comprises:
determining all iOS devices currently connected with the management device through the iOS driver;
and searching the iOS equipment with the access authority of the client from all the determined iOS equipment according to the recorded authority list and the information of the client carried in the connection request, and taking the searched iOS equipment as target iOS equipment.
7. The method of claim 5, further comprising:
receiving an authority application request sent by the electronic equipment, wherein the authority application request comprises: information of a client and device information of N iOS devices, wherein N is more than or equal to 1;
detecting whether the client has the access authority of each iOS device;
if the client has the access right for accessing any iOS device in the N iOS devices, creating a corresponding relation between the information of the client and the device information of any iOS device in the recorded permission list, and returning a response message that the permission application is successful to the client of the electronic device.
8. The method of claim 7, wherein the detecting whether the client has the access right of each iOS device comprises:
for each iOS device, detecting whether the iOS device meets a preset condition, if so, determining that the client has the access authority of the iOS device, and if not, determining that the client does not have the access authority of the iOS device;
wherein the preset conditions include: the iOS device is not occupied by other clients and/or the load of the iOS device is below a preset load threshold.
9. An apparatus for remotely connecting an iOS device, the apparatus being applied to an electronic device, comprising:
the iOS application is used for sending a connection request of the iOS application for connecting the iOS device to the management device through socket connection between a first socket established on the device and a second socket on the management device, so that the management device determines a target iOS device which can be currently connected by the iOS application from all iOS devices currently connected by the management device through iOS driving; the first socket corresponds to an iOS application on the device, and the second socket corresponds to an iOS drive which is communicated with the iOS device on the management device;
and the iOS application is used for acquiring the target iOS equipment determined by the management equipment through the iOS drive, displaying the target iOS equipment to a user, and controlling the iOS application to remotely connect the iOS equipment to be connected when the iOS equipment to be connected is acquired and selected from the target iOS equipment by the user.
10. An apparatus for remotely connecting an iOS device, the apparatus being applied to a management device, comprising:
the iOS driver is used for receiving a connection request of an iOS application connection iOS device sent by the electronic device through the socket connection between a second socket established on the device and a first socket on the electronic device; the first socket corresponds to an iOS application on the electronic equipment, and the second socket corresponds to an iOS drive which is communicated with the iOS equipment on the equipment;
and the iOS driver is used for determining target iOS equipment which can be currently connected by the iOS application from all iOS equipment currently connected by the management equipment according to the connection request and through the iOS driver, so that the management equipment controls the iOS application to remotely connect the iOS equipment to be connected when acquiring the iOS equipment to be connected which is selected by a user from the target iOS equipment.
11. An electronic device, characterized in that the device comprises a readable storage medium and a processor;
wherein the readable storage medium is configured to store machine executable instructions;
the processor configured to read the machine executable instructions on the readable storage medium and execute the instructions to implement the steps of the method of any one of claims 1-4.
12. A management device, the device comprising a readable storage medium and a processor;
wherein the readable storage medium is configured to store machine executable instructions;
the processor is configured to read the machine executable instructions on the readable storage medium and execute the instructions to implement the steps of the method of any one of claims 5 to 8.
13. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 8.
CN202010526662.8A 2020-06-10 2020-06-10 Method, device and equipment for remotely connecting iOS equipment Pending CN111786961A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010526662.8A CN111786961A (en) 2020-06-10 2020-06-10 Method, device and equipment for remotely connecting iOS equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010526662.8A CN111786961A (en) 2020-06-10 2020-06-10 Method, device and equipment for remotely connecting iOS equipment

Publications (1)

Publication Number Publication Date
CN111786961A true CN111786961A (en) 2020-10-16

Family

ID=72756208

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010526662.8A Pending CN111786961A (en) 2020-06-10 2020-06-10 Method, device and equipment for remotely connecting iOS equipment

Country Status (1)

Country Link
CN (1) CN111786961A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110153716A1 (en) * 2009-12-21 2011-06-23 Microsoft Corporation Enabling virtual desktop connections to remote clients
CN104519129A (en) * 2014-12-16 2015-04-15 京信通信系统(中国)有限公司 Data transmission method, device and system
US20180063185A1 (en) * 2016-09-01 2018-03-01 Vmware, Inc. Method and system for preventing unauthorized access to smart card devices in a remote desktop infrastructure
CN110232272A (en) * 2019-05-14 2019-09-13 上海家可科技有限公司 Mobile device control method and device, server
CN110602143A (en) * 2019-09-30 2019-12-20 东莞市李群自动化技术有限公司 Method, system and readable storage medium for realizing communication between PC (personal computer) end and remote equipment
CN110879676A (en) * 2018-09-05 2020-03-13 优视科技有限公司 Debugging control method, master control device, debugging server, controlled device and system
CN111182008A (en) * 2018-11-09 2020-05-19 微软技术许可有限责任公司 Establishing socket connections in user space

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110153716A1 (en) * 2009-12-21 2011-06-23 Microsoft Corporation Enabling virtual desktop connections to remote clients
CN104519129A (en) * 2014-12-16 2015-04-15 京信通信系统(中国)有限公司 Data transmission method, device and system
US20180063185A1 (en) * 2016-09-01 2018-03-01 Vmware, Inc. Method and system for preventing unauthorized access to smart card devices in a remote desktop infrastructure
CN110879676A (en) * 2018-09-05 2020-03-13 优视科技有限公司 Debugging control method, master control device, debugging server, controlled device and system
CN111182008A (en) * 2018-11-09 2020-05-19 微软技术许可有限责任公司 Establishing socket connections in user space
CN110232272A (en) * 2019-05-14 2019-09-13 上海家可科技有限公司 Mobile device control method and device, server
CN110602143A (en) * 2019-09-30 2019-12-20 东莞市李群自动化技术有限公司 Method, system and readable storage medium for realizing communication between PC (personal computer) end and remote equipment

Similar Documents

Publication Publication Date Title
US10177992B2 (en) Application store interface for remote management of client devices
US8433655B2 (en) Software installation system and method
EP2989543B1 (en) Method and device for updating client
CN111782416B (en) Data reporting method, device, system, terminal and computer readable storage medium
CN101594376B (en) Method and corresponding device for registering CIM provider to CIMOM
US20140071476A1 (en) Server system, method for printing system, and storage medium
US10203923B2 (en) Linking a roaming device to a network-enabled resource through a cloud service using an address obtained through a local interaction
US20180212950A1 (en) Communication system and registration server
CN101808176A (en) Image forming apparatus, license management system and license management method
US20150138587A1 (en) Printing system, terminal apparatus, and printer
EP2770768A2 (en) Method and system for replacing an se key of a mobile terminal
JP2008139996A (en) Information leakage prevention system and data storage method
CN112543431A (en) Account synchronization method, medium and server
KR101203741B1 (en) System and method for widget service based on smart card, and smart card applied to the same
US9577967B2 (en) Method and system for managing an informational site using a social networking application
WO2002039246A2 (en) Systems and method for remote management of printing devices
US7778660B2 (en) Mobile communications terminal, information transmitting system and information receiving method
CN111786961A (en) Method, device and equipment for remotely connecting iOS equipment
US10628220B2 (en) Information processing system, information processing method, and non-transitory computer-readable storage medium for storing program
CN103729152A (en) Method and equipment for sharing disk of Android
KR20210042063A (en) A method, a device, equipment and a storage medium for locating terminal
US10623241B2 (en) Network device and method therefor
CN112291285A (en) File transmission method and device for cloud desktop and terminal peripheral equipment
CN111338898A (en) Application state acquisition method and device, electronic equipment and readable storage medium
CN107766093B (en) Function module sharing method and client

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20201016

RJ01 Rejection of invention patent application after publication