CN106533848B - data acquisition method and device - Google Patents

data acquisition method and device Download PDF

Info

Publication number
CN106533848B
CN106533848B CN201610892235.5A CN201610892235A CN106533848B CN 106533848 B CN106533848 B CN 106533848B CN 201610892235 A CN201610892235 A CN 201610892235A CN 106533848 B CN106533848 B CN 106533848B
Authority
CN
China
Prior art keywords
equipment
port
data
routing
shooting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610892235.5A
Other languages
Chinese (zh)
Other versions
CN106533848A (en
Inventor
钱庄
陈勇
李政
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610892235.5A priority Critical patent/CN106533848B/en
Publication of CN106533848A publication Critical patent/CN106533848A/en
Application granted granted Critical
Publication of CN106533848B publication Critical patent/CN106533848B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The disclosure provides a data acquisition method and device, and belongs to the technical field of networks. The method comprises the following steps: when the shooting equipment is detected through the designated port, connection is established with the shooting equipment, and the designated port is a port working in a client mode; acquiring data stored in the shooting equipment through an appointed interface on the routing equipment, wherein the appointed interface is an interface authorized by a manufacturer of the shooting equipment; and sending the data to the terminal equipment. In the disclosure, the routing device detects the shooting device in the hotspot mode through the port working in the client mode, and accesses the shooting device as an access device, and further obtains the data stored in the shooting device through an interface authorized by a shooting device manufacturer, and forwards the data to the terminal device. The method for acquiring the data by the terminal device takes the routing device as the transfer, is not limited by the limitation of a shooting device manufacturer on the interface on the terminal device, is suitable for most terminal devices, and has high universality.

Description

data acquisition method and device
Technical Field
the present disclosure relates to the field of network technologies, and in particular, to a data acquisition method and apparatus.
background
with wide deployment of WiFi (Wireless Fidelity) and increasingly powerful functions of the shooting device, the shooting device may also be configured with a WiFi module to implement a WiFi function. Through the WiFi function, terminal equipment such as a mobile phone and a computer can be connected with the shooting equipment so as to access data such as pictures and videos of the shooting equipment.
In the related art, the terminal device obtains data stored in the shooting device in a WiFi connection mode with the shooting device, for example, the mobile phone obtains data such as a photo and a video in the shooting device through a data interface authorized by a shooting device manufacturer on the mobile phone by connecting a WiFi module of the shooting device.
Disclosure of Invention
to overcome the problems in the related art, the present disclosure provides a data acquisition method and apparatus.
According to a first aspect of the embodiments of the present disclosure, there is provided a data acquisition method, including:
When shooting equipment is detected through a designated port, connection is established with the shooting equipment, and the designated port is a port working in a client mode;
Acquiring data stored in the shooting equipment through a specified interface on the routing equipment, wherein the specified interface is an interface authorized by a manufacturer of the shooting equipment;
And sending the data to the terminal equipment.
According to the method provided by the embodiment of the disclosure, the routing device detects the shooting device in the hotspot mode through the port working in the client mode, when the shooting device is detected, the routing device can use the routing device as an access device to access the shooting device, and then obtains the data stored in the shooting device through an interface authorized by a manufacturer of the shooting device on the routing device, and forwards the data to the terminal device. The method for acquiring the shooting equipment data by the terminal equipment by taking the routing equipment as the transit is not limited by the limitation of a shooting equipment manufacturer on an interface on the terminal equipment, is suitable for most terminal equipment, and has high universality.
In a first implementation manner of the first aspect, the establishing a connection with a shooting device when the shooting device is detected through a designated port includes:
When the shooting device is detected through the designated port, judging whether the shooting device exists in the connection history of the routing device or not;
and if so, establishing connection with the shooting equipment.
According to the method provided by the embodiment of the disclosure, when the routing device detects the shooting device through the designated port, the routing device can establish efficient connection with the shooting device which is already connected according to the connection history.
in a second implementation manner of the first aspect, the sending the data to the terminal device includes:
When a data acquisition request of the terminal equipment is received, the data is sent to the terminal equipment; or the like, or, alternatively,
And when the setting information of the routing equipment indicates that the data is automatically synchronized to the terminal equipment, if the data stored in the shooting equipment is acquired, the data is sent to the terminal equipment.
according to the method provided by the embodiment of the disclosure, the routing device can send the data to the terminal device through the acquisition request of the terminal device, and can also directly write the data into the terminal device, so that the flexibility is high, and the selectivity is strong.
In a third implementation manner of the first aspect, the designated port is used for periodically detecting the shooting device.
according to the method provided by the embodiment of the disclosure, the detection of the shooting device is kept by setting the designated port, so that the routing device can be conveniently and automatically and efficiently connected with the shooting device.
in a fourth implementation form of the first aspect, the method further includes: and encapsulating the data by using a general local area network file sharing protocol.
in the method provided by the embodiment of the present disclosure, the routing device encapsulates the data through the local area network sharing protocol, so that the data can be efficiently transmitted between the routing device and the local area network device.
according to a second aspect of the embodiments of the present disclosure, there is provided a data acquisition method, including:
the method comprises the steps that a routing equipment management interface is displayed, the routing equipment management interface is used for displaying shooting equipment and data acquisition options, wherein the shooting equipment and the data acquisition options are connected with routing equipment through a designated port of the routing equipment, and the designated port is a port working in a client mode;
When the triggering operation of the data acquisition option is detected, sending a data acquisition request to the routing equipment;
And receiving data sent by the routing equipment, wherein the data is acquired from the shooting equipment by the routing equipment through a specified interface, and the specified interface is an interface authorized by a manufacturer of the shooting equipment.
according to the method provided by the embodiment of the disclosure, when the routing device establishes connection with the shooting device through the port working in the client mode and acquires data stored in the shooting device through the interface authorized by the shooting device manufacturer on the routing device, the terminal device issues a data acquisition request to the routing device and receives the data sent by the routing device. The method for acquiring the shooting equipment data by the terminal equipment by taking the routing equipment as the transit is not limited by the limitation of a shooting equipment manufacturer on an interface on the terminal equipment, is suitable for most terminal equipment, and has high universality.
in a first implementation form of the second aspect, the method further comprises:
When the trigger operation of the shooting device is detected in the routing device management interface, displaying a data management interface, wherein the data management interface is used for displaying an automatic acquisition setting option;
and when the starting operation of the automatic acquisition setting option is detected, modifying the setting information of the routing equipment into specified information, wherein the specified information is used for indicating that the data is automatically synchronized to the terminal equipment.
according to the method provided by the embodiment of the disclosure, the automatic synchronization function of the routing device can be started on the data management interface, so that the data transmission between the routing device and the terminal device is more intelligent.
in a second implementation form of the second aspect, the method further comprises:
the data management interface is further used for displaying data storage mode setting options, and when triggering operation on the data storage mode setting options is detected, at least one data storage mode is displayed.
The method provided by the embodiment of the disclosure can freely select the storage mode of the data on the data management interface, so that the data storage has selectivity and controllability.
In a third implementation form of the second aspect, the method further comprises:
The data management interface is further used for displaying data viewing options, and when the triggering operation of the data viewing options is detected, the stored data is displayed.
According to the method provided by the embodiment of the disclosure, the data viewing options are set and displayed on the data management interface, so that the transmitted data can be viewed at any time in the process of transmitting the data to the terminal equipment by the routing equipment, and a user can know the data transmission condition.
In a fourth implementation form of the second aspect, the method further comprises:
the data management interface is further used for displaying a pop-up device option, when triggering operation of the pop-up device option is detected, sending a pop-up device instruction to the routing device, and disconnecting the connection between the routing device and the shooting device.
according to the method provided by the embodiment of the disclosure, the pop-up equipment option is set on the data management interface, so that the routing equipment can be disconnected from the shooting equipment at any time, and the intelligent degree is high.
according to a third aspect of the embodiments of the present disclosure, there is provided a data acquisition apparatus including:
The connection module is used for establishing connection with the shooting equipment when the shooting equipment is detected through a designated port, wherein the designated port is a port working in a client mode;
The acquisition module is used for acquiring data stored in the shooting equipment through a specified interface on the routing equipment, wherein the specified interface is an interface authorized by a manufacturer of the shooting equipment;
And the sending module is used for sending the data to the terminal equipment.
In a first implementation manner of the third aspect, the connection module includes:
The judging submodule is used for judging whether the shooting equipment exists in the connection history record of the routing equipment or not when the shooting equipment is detected through the specified port;
and the connection sub-module is used for establishing connection with the shooting equipment if the connection sub-module is positive.
in a second implementation manner of the third aspect, the sending module includes:
the first sending submodule is used for sending the data to the terminal equipment when receiving a data acquisition request of the terminal equipment; or the like, or, alternatively,
And the second sending submodule is used for sending the data to the terminal equipment if the data stored in the shooting equipment is obtained when the setting information of the routing equipment indicates that the data is automatically synchronized to the terminal equipment.
in a third implementation manner of the third aspect, the designated port is used for periodically detecting the shooting device.
in a fourth implementation manner of the third aspect, the apparatus further includes:
And the encapsulation module is used for encapsulating the data by using a universal local area network file sharing protocol.
according to a fourth aspect of the embodiments of the present disclosure, there is provided a data acquisition apparatus including:
The system comprises a first display module, a second display module and a third display module, wherein the first display module is used for displaying a routing equipment management interface, the routing equipment management interface is used for displaying shooting equipment and data acquisition options, the shooting equipment and the data acquisition options are connected with routing equipment through a specified port of the routing equipment, and the specified port is a port working in a client mode;
A sending module, configured to send a data acquisition request to the routing device when a trigger operation on the data acquisition option is detected;
And the receiving module is used for receiving the data sent by the routing equipment, the data is acquired from the shooting equipment by the routing equipment through a specified interface, and the specified interface is an interface authorized by a manufacturer of the shooting equipment.
In a first implementation form of the fourth aspect, the apparatus further comprises:
the second display module is used for displaying a data management interface when the trigger operation of the shooting device is detected in the routing device management interface, wherein the data management interface is used for displaying an automatic acquisition setting option;
And the modification module is used for modifying the setting information of the routing equipment into specified information when the starting operation of the automatic acquisition setting option is detected, wherein the specified information is used for indicating that data is automatically synchronized to the terminal equipment.
in a second implementation manner of the fourth aspect, the second display module is further configured to display a data storage mode setting option on the data management interface;
The second display module is further configured to display at least one data storage mode when the trigger operation for the data storage mode setting option is detected.
In a third implementation manner of the fourth aspect, the second display module is further configured to display a data viewing option on the data management interface;
the second display module is further configured to display the stored data when the trigger operation on the data viewing option is detected.
in a fourth implementation manner of the fourth aspect, the second display module is further configured to display a pop-up device option on the data management interface;
And the second display module is further used for sending an ejection device instruction to the routing device when the trigger operation of the ejection device option is detected, and disconnecting the connection with the shooting device by the routing device.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a data acquisition apparatus including:
A processor;
a memory for storing processor-executable instructions;
Wherein the processor is configured to:
When shooting equipment is detected through a designated port, connection is established with the shooting equipment, and the designated port is a port working in a client mode;
Acquiring data stored in the shooting equipment through a specified interface on the routing equipment, wherein the specified interface is an interface authorized by a manufacturer of the shooting equipment;
And sending the data to the terminal equipment.
according to a sixth aspect of the embodiments of the present disclosure, there is provided a data acquisition apparatus including:
a processor;
A memory for storing processor-executable instructions;
Wherein the processor is configured to:
The method comprises the steps that a routing equipment management interface is displayed, the routing equipment management interface is used for displaying shooting equipment and data acquisition options, wherein the shooting equipment and the data acquisition options are connected with routing equipment through a designated port of the routing equipment, and the designated port is a port working in a client mode;
When the triggering operation of the data acquisition option is detected, sending a data acquisition request to the routing equipment;
And receiving data sent by the routing equipment, wherein the data is acquired from the shooting equipment by the routing equipment through a specified interface, and the specified interface is an interface authorized by a manufacturer of the shooting equipment.
it is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow chart illustrating a method of data acquisition according to an exemplary embodiment.
FIG. 2 is a flow chart illustrating a method of data acquisition according to an exemplary embodiment.
Fig. 3 is a schematic diagram of an implementation environment of a data acquisition method provided by the present disclosure.
FIG. 4 is a flow chart illustrating a method of data acquisition according to an exemplary embodiment.
fig. 5 is an illustration of a management interface of a routing device, according to an example embodiment.
FIG. 6 is an illustration of a data management interface, according to an example embodiment.
FIG. 7 is an illustration of a data management interface, according to an example embodiment.
FIG. 8 is an illustration of a data management interface, according to an example embodiment.
FIG. 9 is a block diagram illustrating a data acquisition device according to an example embodiment.
Fig. 10 is a block diagram illustrating a connection module 901 according to an example embodiment.
Fig. 11 is a block diagram illustrating a transmitting module 903 according to an example embodiment.
Fig. 12 is a block diagram illustrating a transmitting module 903 according to an example embodiment.
FIG. 13 is a block diagram illustrating a data acquisition device according to an example embodiment.
fig. 14 is a block diagram illustrating a data acquisition device according to an example embodiment.
FIG. 15 is a block diagram illustrating a data acquisition device according to an example embodiment.
Fig. 16 is a block diagram illustrating a data acquisition device 1600 according to an example embodiment.
fig. 17 is a block diagram illustrating a routing device 1700 according to an example embodiment.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more apparent, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.
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 implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a data acquisition method according to an exemplary embodiment, where the data acquisition method is used in a routing device, as shown in fig. 1, and includes the following steps:
in step 101, when a shooting device is detected through a designated port, the shooting device is connected to the shooting device, and the designated port is a port operating in a client mode.
In step 102, the data stored in the shooting device is acquired through a specified interface on the routing device, wherein the specified interface is an interface authorized by a manufacturer of the shooting device.
In step 103, the data is transmitted to the terminal device.
according to the method provided by the embodiment of the disclosure, the routing device detects the shooting device in the hotspot mode through the port working in the client mode, when the shooting device is detected, the routing device can use the routing device as an access device to access the shooting device, and then obtains the data stored in the shooting device through an interface authorized by a manufacturer of the shooting device on the routing device, and forwards the data to the terminal device. The method for acquiring the shooting equipment data by the terminal equipment by taking the routing equipment as the transit is not limited by the limitation of a shooting equipment manufacturer on an interface on the terminal equipment, is suitable for most terminal equipment, and has high universality.
In one possible implementation, when the photographing apparatus is detected through the designated port, establishing a connection with the photographing apparatus includes:
when the shooting device is detected through the designated port, judging whether the shooting device exists in the connection history of the routing device;
If so, establishing connection with the shooting equipment.
In one possible implementation, sending the data to the terminal device includes:
When a data acquisition request of the terminal equipment is received, the data is sent to the terminal equipment; or the like, or, alternatively,
And when the setting information of the routing equipment indicates that the data is automatically synchronized to the terminal equipment, if the data stored in the shooting equipment is acquired, the data is sent to the terminal equipment.
In one possible implementation, a port is designated for periodically probing the capture device.
In one possible implementation, the method further comprises: the data is encapsulated using a general local area network file sharing protocol.
all the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
Fig. 2 is a flowchart illustrating a data acquisition method according to an exemplary embodiment, where as shown in fig. 2, the data acquisition method is used in a terminal device, and includes the following steps:
in step 201, a routing device management interface is displayed, where the routing device management interface is used to display a shooting device and a data acquisition option that have established a connection with a routing device through a specified port of the routing device, and the specified port is a port operating in a client mode.
In step 202, when a triggering operation for the data acquisition option is detected, a data acquisition request is sent to the routing device.
in step 203, data sent by the routing device is received, and the data is obtained from the shooting device by the routing device through a specified interface, wherein the specified interface is an interface authorized by a manufacturer of the shooting device.
according to the method provided by the embodiment of the disclosure, when the routing device establishes connection with the shooting device through the port working in the client mode and acquires data stored in the shooting device through the interface authorized by the shooting device manufacturer on the routing device, the terminal device issues a data acquisition request to the routing device and receives the data sent by the routing device. The method for acquiring the shooting equipment data by the terminal equipment by taking the routing equipment as the transit is not limited by the limitation of a shooting equipment manufacturer on an interface on the terminal equipment, is suitable for most terminal equipment, and has high universality.
In one possible implementation, the method further comprises:
When the trigger operation of the shooting device is detected in the routing device management interface, displaying a data management interface, wherein the data management interface is used for displaying an automatic acquisition setting option;
when the starting operation of the automatic acquisition setting option is detected, the setting information of the routing equipment is modified into the specified information, and the specified information is used for indicating that the data is automatically synchronized to the terminal equipment.
In one possible implementation, the method further comprises:
The data management interface is further used for displaying data storage mode setting options, and when triggering operation on the data storage mode setting options is detected, at least one data storage mode is displayed.
in one possible implementation, the method further comprises:
The data management interface is further used for displaying a data viewing option, and when the triggering operation of the data viewing option is detected, the stored data is displayed.
In one possible implementation, the method further comprises:
The data management interface is also used for displaying a pop-up device option, and when the trigger operation of the pop-up device option is detected, sending a pop-up device instruction to the routing device, and disconnecting the connection with the shooting device by the routing device.
All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
fig. 3 is a schematic diagram of an implementation environment of a data acquisition method provided by the present disclosure, and as shown in fig. 3, the implementation environment includes a routing device 301, a terminal device 302, and a shooting device 303.
The routing device 301 may be a router installed in a local area network or other intermediate devices for network access;
The terminal device 302 may be a mobile terminal such as a mobile phone and a computer. The terminal device 302 may install a routing device management APP (Application), where the APP is used to control and manage a routing device, and the terminal device 302 may access the routing device to connect to a network;
The shooting device 303 may be a smart camera or a smart camcorder.
In the embodiment of the present disclosure, a user may perform a manual operation on the routing device APP of the terminal device 302 to issue a data acquisition request to the routing device 301, and the terminal device 302 detects the user operation and sends the data acquisition request to the routing device 301. Upon receiving the data acquisition request, the routing device 301 transmits the data stored in the photographing device 303 to the terminal device 302.
in another embodiment of the present disclosure, the user may also perform a manual operation on the routing device management webpage to issue a data acquisition request, detect the user operation by the webpage server, and send the data acquisition request to the routing device 301. Upon receiving the data acquisition request, the routing device 301 transmits the data stored in the photographing device 303 to the terminal device 302.
the APP may provide a routing device setting interface, and the routing device setting interface may be used to bind a routing device. For example, a user may obtain an account on the APP by applying for or registering, and after logging in the account, input device information of a routing device to be managed, such as a Media Access Control (MAC) address, a device unique identification code, and the like, on the routing device setting interface, so as to bind the routing device with the login account of the user.
It should be noted that the binding may refer to binding on a routing device or binding on an application server providing a background service for the APP.
The binding on the routing device may refer to that a direct connection, such as a bluetooth connection or an NFC (Near Field Communication ) connection, may be established between the terminal and the routing device, so that the routing device may manage and control the routing device according to the binding relationship and according to a manual operation of the terminal on the APP.
In addition, the binding on the routing device may refer to that the connection between the terminal and the routing device may be established through an application server, so that the application server may manage and control the routing device according to the binding relationship and according to the manual operation of the terminal on the APP.
certainly, the user can set a management password on the routing device setting interface, if any management and control operation needs to be performed on the routing device, the password needs to be input first, and the routing device responds to the operation only when the password passes the verification, so that the security of the routing device is improved.
In both the above two manners, what is finally achieved is that the routing device 301 receives the data acquisition request sent from the terminal device 302, and sends the data stored in the shooting device 303 to the terminal device 302. In the following embodiment, a data acquisition request is sent from the terminal device 302 to the routing device 301, and after the routing device 301 receives the request, the data stored in the shooting device 303 is sent to the terminal device 302 without paying attention to whether the data passes through the server instead.
FIG. 4 is a flow chart illustrating a method of data acquisition, as shown in FIG. 4, including the steps of:
in step 401, the routing device probes the shooting device through a designated port, where the designated port is a port operating in the client mode.
the routing device may probe the capture device through a port operating in client mode. The routing device in the client mode may access itself as an access device to a device that is a WiFi hotspot. In the embodiment of the present disclosure, the shooting device is set to be in the hotspot mode, so that the shooting device can be accessed by other devices as a WiFi hotspot.
the designated port may be any port on the routing device that operates in client mode. When there is a detection requirement, the routing device may obtain the designated port, and the specific obtaining method includes: acquiring an idle port from the existing ports of the routing equipment, and setting the working mode of the idle port as a client mode to obtain a designated port; or, on the basis of the existing port of the routing device, a new port is created, and the working mode of the new port is set to be the client mode, so as to obtain the designated port.
Of course, the designated port may be a port used in a history connection process of the routing device and the photographing device. The routing device may store the port number of the designated port in advance, and when there is a probing requirement, the routing device may acquire the port number of the designated port and perform probing through the designated port. After the routing device and the shooting device are connected, the routing device may periodically and automatically detect the shooting device by using the designated port, where a period of the automatic detection may be set by a terminal user on a routing device management APP on the terminal device, for example, the period may be set according to a data update period of the shooting device, and if the shooting device user uses the shooting device to shoot new photos and videos every week, the data update period of the shooting device is one week, and the period of the automatic detection by the routing device may be set to one week.
In a possible implementation manner, when there is a detection requirement, the routing device determines whether the routing device has a designated port, and if the routing device does not have the designated port, the designated port may be actively acquired, and the method for acquiring the designated port is the same as the method for acquiring the designated port, which is not described herein again.
It should be noted that the detection requirement may refer to an arrival of an automatic detection period or a reception of a detection instruction of the terminal device, and this is not specifically limited by the present disclosure.
in step 402, the routing device establishes a connection with the camera device when the camera device is detected through the designated port.
when the routing device detects the photographing device through the designated port, selection may be performed by the designated device by transmitting device information of the photographing device to the designated device. And when receiving an instruction sent by the appointed equipment and used for determining to select the shooting equipment, connecting the routing equipment with the shooting equipment.
Of course, if the routing device has established a connection with the photographing device, device information of the photographing device is stored in the history of the routing device. Therefore, when the photographing apparatus is detected through the designated port, the routing apparatus may determine whether the photographing apparatus exists in the connection history of the routing apparatus, and if so, establish a connection with the photographing apparatus.
in this case, the connection is directly judged by the routing device through the connection history record whether the photographing device has been previously connected without sending an instruction for determining selection of the photographing device through the designated device, and if so, the connection is established with the photographing device, so that the connection can be efficiently established.
In step 403, the routing device obtains the data stored in the shooting device through a specified interface on the routing device, where the specified interface is an interface authorized by the manufacturer of the shooting device.
the data stored in the shooting device can be data newly obtained by the shooting device at present, and after the connection with the routing device is established, the routing device can access the storage space of the shooting device through the designated interface to acquire the data stored in the shooting device.
The designated interface may be an original interface on the routing device, and the original interface may be authorized by a manufacturer of the shooting device through authentication and the like when the shooting device leaves a factory, so as to become an interface authorized by the manufacturer of the shooting device. Of course, the specified interface may also be created by the routing device during the use process, for example, when the routing device management APP is installed on the terminal, the specified interface may be initialized on the routing device through the routing device management APP.
In step 404, the routing device encapsulates the data using a generic local area network file sharing protocol.
the data is packaged, so that the data can be transmitted more accurately and more efficiently between different devices. In this embodiment of the present disclosure, the routing device may encapsulate the data acquired by the routing device using a specified protocol, where the specified protocol is a protocol commonly followed by the routing device and the terminal device for communicating and transmitting data.
For example, the specified protocol may be a local area network file sharing protocol, i.e., a protocol under which communication between local area network devices and file sharing is achieved. The general local area Network file sharing protocol may be an SMB (Server message block) protocol, an NFS (Network file system), a DLNA (digital living Network Alliance), and the like. Through the local area network file sharing protocol, devices in the local area network can realize file sharing, for example, a routing device can establish a local area network, and other devices can be connected with the routing device, so as to share files of the routing device.
after the routing device obtains the data stored in the shooting device, the routing device can use the universal local area network file sharing protocol to package the data, so that the data can be efficiently transmitted between the routing device and other local area network devices.
In step 405, the terminal device sends a data acquisition request to the routing device.
through steps 401 to 404, the routing device acquires the data stored in the shooting device, and encapsulates the data using a local area network file sharing protocol. Therefore, the terminal device in the local area network can send a data acquisition request to the routing device if it wants to acquire the data.
in the embodiment of the present disclosure, a user issues a data acquisition request to the routing device by performing manual operation on the terminal device. For example, a user may log in a routing device management APP on a terminal device, and enter a management interface of the routing device 1 according to a binding relationship between the APP and the routing device, as shown in fig. 5, fig. 5 is a management interface of a routing device according to an exemplary embodiment, where the management interface of the routing device is used to display, a specified port of the routing device 1 working in a client mode through the routing device 1, a shooting device with which a connection is established, and a data acquisition option (such as import in fig. 5). The routing device management interface can also display the intelligent devices such as the intelligent device 1, the intelligent device 2 and the intelligent device 3 which are accessed into the routing device 1, and in order to enable a user to know the network conditions of the devices, the network speed corresponding to the intelligent device can be displayed at the corresponding position of each intelligent device.
The user may click on the import, i.e. data acquisition option, on the right side of the capture device in fig. 5 to trigger the sending of the data acquisition request. And when the terminal equipment detects the triggering operation of the data acquisition option, sending a data acquisition request to the routing equipment.
of course, the user may also click on this entry of the shooting device in fig. 5 to view and manage the data of the shooting device acquired by the routing device. When the trigger operation of the shooting device is detected in the routing device management interface, the terminal device displays a data management interface, as shown in fig. 6, where fig. 6 is a data management interface according to an exemplary embodiment.
In the embodiment of the present disclosure, the data management interface is configured to display an automatic acquisition setting option (for example, automatic import in fig. 6), and a user may perform a manual operation on the automatic acquisition setting option to start an automatic acquisition function. When the starting operation of the automatic acquisition setting option is detected, the terminal equipment modifies the setting information of the routing equipment into the specified information, and the specified information is used for indicating the automatic synchronization of data to the terminal equipment.
The data management interface is also used to display a data storage mode setting option (such as the photo storage mode in fig. 6) on which the user can manually operate to view all data storage modes. When the triggering operation of the data storage mode setting option is detected, the terminal device displays at least one data storage mode, and the data storage mode can be uniformly stored.
the data management interface is also used for displaying a data viewing option (such as viewing imported photos and videos in fig. 6), and a user can manually operate the data viewing option to view data acquired and stored by the terminal device. When the triggering operation of the data viewing option is detected, the terminal equipment displays the stored data.
the data management interface is also used to display a pop-up device option (such as the pop-up device in fig. 6) on which the user can manually operate to instruct the router to disconnect from the camera device. When the triggering operation of the pop-up device option is detected, the terminal device sends a pop-up device instruction to the routing device, and the routing device disconnects the connection with the shooting device.
it should be noted that: the actual display forms of the routing device management interface and the data management interface may not be limited to the above forms, for example, in the actual display, only one or several of the above forms may be displayed, and the specific content of each item may also have different expression modes.
In step 406, when receiving the data acquisition request, the routing device transmits the data to the terminal device.
When receiving a data acquisition request of the local area network terminal device, the routing device responds to the request and sends the acquired data of the shooting device to the terminal device.
Steps 405 to 406 are cases where the terminal device actively acquires data by sending a data acquisition request to the routing device in the lan. In another embodiment of the present disclosure, the end user may further perform a manual operation on the terminal device when acquiring the data for the first time, so as to set the routing device to automatically synchronize the data with the terminal device.
For example, the end user may modify the setting information of the routing device to be automatically acquired when acquiring data for the first time, and start the automatic import option as shown in fig. 6. The automatic import means that: when the setting information of the routing equipment indicates that the data is automatically synchronized to the terminal equipment, if the data stored in the shooting equipment is acquired, the routing equipment sends the data to the terminal equipment.
it should be noted that: if the data acquisition process of the embodiment of the present disclosure is regarded as a data backup process, the embodiment of the present disclosure is directed to the case of incremental backup, that is, the routing device only sends the new data of the shooting device to the terminal device, that is, the terminal device acquires the new data of the shooting device, so that it is possible to prevent the terminal device from acquiring repeated data. In another embodiment of the present disclosure, the data backup may also be a full backup, that is, the routing device sends all data of the shooting device to the terminal device, and the terminal device may store the data in its storage in a manner of overwriting the original data, or may directly store the data in its storage in an additional manner.
in step 407, the terminal device receives the data, and when all the data are stored in the storage of the terminal device, the terminal device displays an interface for successful acquisition.
In order to make the end user know the progress of data acquisition, during the process that the routing device sends data to the terminal device and the terminal device receives the data, an interface for prompting that the data is being acquired as shown in fig. 7 and an interface for prompting that the data is successfully acquired as shown in fig. 8 are displayed, fig. 7 is a data management interface shown according to an exemplary embodiment, and fig. 8 is a data management interface shown according to an exemplary embodiment.
In the embodiment of the disclosure, the routing device detects the shooting device in the hotspot mode through the port working in the client mode, and when the shooting device is detected, the routing device can access the shooting device as an access device, and further obtains the data stored in the shooting device through an interface authorized by a manufacturer of the shooting device on the routing device, and forwards the data to the terminal device. The method for acquiring the shooting equipment data by the terminal equipment by taking the routing equipment as the transit is not limited by the limitation of a shooting equipment manufacturer on an interface on the terminal equipment, is suitable for most terminal equipment, and has high universality.
The terminal device can actively acquire the data from the routing device, and the routing device can directly write the data into the terminal device, so that the data acquisition mode is selectable and more intelligent.
FIG. 9 is a block diagram illustrating a data acquisition device according to an example embodiment. Referring to fig. 9, the apparatus includes a connection module 901, an acquisition module 902, and a transmission module 903.
The connection module 901 is configured to establish a connection with a photographing apparatus when the photographing apparatus is detected through a designated port, which is a port operating in a client mode.
The obtaining module 902 is configured to obtain the data stored in the camera through a specified interface on the routing device, where the specified interface is an interface authorized by a manufacturer of the camera.
the sending module 903 is configured to send the data to the terminal device.
In one possible implementation, referring to fig. 10, fig. 10 is a block diagram illustrating a connection module 901 according to an exemplary embodiment, where the connection module 901 includes:
A determination sub-module configured to determine whether the photographing apparatus exists in the connection history of the routing apparatus when the photographing apparatus is detected through the designated port;
And the connection sub-module is configured to establish connection with the shooting device if the connection sub-module is positive.
In one possible implementation, referring to fig. 11, fig. 11 is a block diagram illustrating a sending module 903 according to an exemplary embodiment, where the sending module 903 includes:
The first sending submodule is configured to send the data to the terminal equipment when a data acquisition request of the terminal equipment is received; or, referring to fig. 12, fig. 12 is a block diagram illustrating a sending module 903 according to an exemplary embodiment, where the sending module 903 includes:
And the second sending submodule is configured to send the data to the terminal equipment if the data stored in the shooting equipment is acquired when the setting information of the routing equipment indicates that the data is automatically synchronized to the terminal equipment.
in one possible implementation, the designated port is used to periodically probe the capture device.
In one possible implementation, referring to fig. 13, fig. 13 is a block diagram illustrating a data acquisition apparatus according to an exemplary embodiment, the apparatus further comprising:
An encapsulation module 904 configured to encapsulate the data using a general local area network file sharing protocol.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
fig. 14 is a block diagram illustrating a data acquisition device according to an example embodiment. Referring to fig. 14, the apparatus includes a first display module 1401, a transmitting module 1402 and a receiving module 1403.
The first display module 1401 is configured to display a routing device management interface, where the routing device management interface is configured to display a shooting device that has established a connection with a routing device through a specified port of the routing device, and a data acquisition option, where the specified port is a port operating in a client mode.
The sending module 1402 is configured to send a data acquisition request to the routing device when a triggering operation for the data acquisition option is detected.
The receiving module 1403 is configured to receive data sent by the routing device, where the data is obtained by the routing device from the shooting device through a specified interface, and the specified interface is an interface authorized by a manufacturer of the shooting device.
In one possible implementation, referring to fig. 15, fig. 15 is a block diagram illustrating a data acquisition apparatus according to an exemplary embodiment, the apparatus further comprising:
A second display module 1404 configured to display a data management interface for displaying an automatic acquisition setting option when a trigger operation for the photographing device is detected in the routing device management interface;
a modification module 1405 configured to modify, when the start operation of the automatic acquisition setting option is detected, the setting information of the routing device to specification information indicating that data is automatically synchronized with the terminal device.
In one possible implementation, the second display module 1404 is further configured to display a data storage mode setting option on the data management interface;
the second display module 1404 is further configured to display at least one data storage mode when a triggering operation for the data storage mode setting option is detected.
In one possible implementation, the second display module 1404 is further configured to display data viewing options on the data management interface;
the second display module 1404 is further configured to display the stored data when a triggering operation for the data viewing option is detected.
in one possible implementation, the second display module 1404 is further configured to display a pop-up device option on the data management interface;
the second display module 1404 is further configured to send a pop-up device instruction to the routing device to disconnect the connection with the photographing device by the routing device when the trigger operation for the pop-up device option is detected.
Fig. 16 is a block diagram illustrating a data acquisition device 1600 according to an example embodiment. For example, apparatus 1600 may be a terminal device, such as a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and so forth.
Referring to fig. 16, apparatus 1600 may include one or more of the following components: processing component 1602, memory 1604, power component 1606, multimedia component 1608, audio component 1610, input/output (I/O) interface 1612, sensor component 1614, and communications component 1616.
The processing component 1602 generally controls overall operation of the device 1600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1602 may include one or more processors 1620 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1602 can include one or more modules that facilitate interaction between the processing component 1602 and other components. For example, the processing component 1602 can include a multimedia module to facilitate interaction between the multimedia component 1608 and the processing component 1602.
the memory 1604 is configured to store various types of data to support operation at the apparatus 1600. Examples of such data include instructions for any application or method operating on device 1600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1604 may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
A power supply component 1606 provides power to the various components of the device 1600. The power components 1606 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 1600.
the multimedia component 1608 includes a screen that provides an output interface between the device 1600 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1608 comprises a front-facing camera and/or a rear-facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 1600 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
the audio component 1610 is configured to output and/or input an audio signal. For example, audio component 1610 includes a Microphone (MIC) configured to receive external audio signals when apparatus 1600 is in an operational mode, such as a call mode, recording mode, and voice recognition mode. The received audio signal may further be stored in the memory 1604 or transmitted via the communications component 1616. In some embodiments, audio component 1610 further includes a speaker for outputting audio signals.
the I/O interface 1612 provides an interface between the processing component 1602 and peripheral interface modules, such as keyboards, click wheels, buttons, and the like. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
Sensor assembly 1614 includes one or more sensors for providing status assessment of various aspects to device 1600. For example, sensor assembly 1614 can detect an open/closed state of device 1600, the relative positioning of components, such as a display and keypad of device 1600, a change in position of device 1600 or a component of device 1600, the presence or absence of user contact with device 1600, orientation or acceleration/deceleration of device 1600, and a change in temperature of device 1600. The sensor assembly 1614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
the communications component 1616 is configured to facilitate communications between the apparatus 1600 and other devices in a wired or wireless manner. The device 1600 may access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1616 also includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
in an exemplary embodiment, the apparatus 1600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described data acquisition methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 1604 comprising instructions, executable by the processor 1620 of the apparatus 1600 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium having instructions therein, which when executed by a processor of a mobile terminal, enable the mobile terminal to perform the above-described data acquisition method.
fig. 17 is a block diagram illustrating a routing device 1700 according to an example embodiment. Referring to fig. 17, routing device 1700 includes a processing component 1722 that further includes one or more processors and memory resources, represented by memory 1732, for storing instructions, such as applications, that are executable by processing component 1722. The application programs stored in memory 1732 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1722 is configured to execute instructions to perform the data acquisition methods described above.
the routing device 1700 may also include a power component 1726 configured to perform power management of the routing device 1700, a wired or wireless network interface 1750 configured to connect the routing device 1700 to a network, and an input output (I/O) interface 1758. The routing device 1700 may operate based on an operating system stored in memory 1732, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (24)

1. A data acquisition method is applied to a routing device and comprises the following steps:
When shooting equipment is detected through a designated port, connection is established with the shooting equipment, the designated port is a port working in a client mode, and the shooting equipment works in a hot spot mode; the appointed port is obtained by the routing equipment acquiring an idle port from the existing ports and setting the working mode of the idle port to be a client mode; or, the specified port is obtained by the routing device creating a new port on the basis of the existing port and setting the working mode of the new port to be a client mode; or the specified port is a port used in the historical connection process of the routing equipment and the shooting equipment;
Acquiring data stored in the shooting equipment through a specified interface on the routing equipment, wherein the specified interface is an interface authorized by a manufacturer of the shooting equipment;
And sending the data to the terminal equipment.
2. the method of claim 1, wherein establishing a connection with a camera device when the camera device is detected through a designated port comprises:
When the shooting device is detected through the designated port, judging whether the shooting device exists in the connection history of the routing device or not;
and if so, establishing connection with the shooting equipment.
3. The method of claim 1, wherein sending the data to a terminal device comprises:
When a data acquisition request of the terminal equipment is received, the data is sent to the terminal equipment; or the like, or, alternatively,
And when the setting information of the routing equipment indicates that the data is automatically synchronized to the terminal equipment, if the data stored in the shooting equipment is acquired, the data is sent to the terminal equipment.
4. The method of claim 1, wherein the designated port is used to periodically probe the capture device.
5. The method of claim 1, further comprising: and encapsulating the data by using a general local area network file sharing protocol.
6. A data acquisition method is applied to terminal equipment and comprises the following steps:
The method comprises the steps that a routing equipment management interface is displayed, the routing equipment management interface is used for displaying shooting equipment and data acquisition options, the shooting equipment and the data acquisition options are connected with the routing equipment through a designated port of the routing equipment, the designated port is a port working in a client mode, and the shooting equipment works in a hot spot mode; the appointed port is obtained by the routing equipment acquiring an idle port from the existing ports and setting the working mode of the idle port to be a client mode; or, the specified port is obtained by the routing device creating a new port on the basis of the existing port and setting the working mode of the new port to be a client mode; or the specified port is a port used in the historical connection process of the routing equipment and the shooting equipment;
When the triggering operation of the data acquisition option is detected, sending a data acquisition request to the routing equipment;
And receiving data sent by the routing equipment, wherein the data is acquired from the shooting equipment by the routing equipment through a specified interface, and the specified interface is an interface authorized by a manufacturer of the shooting equipment.
7. The method of claim 6, further comprising:
When the trigger operation of the shooting device is detected in the routing device management interface, displaying a data management interface, wherein the data management interface is used for displaying an automatic acquisition setting option;
And when the starting operation of the automatic acquisition setting option is detected, modifying the setting information of the routing equipment into specified information, wherein the specified information is used for indicating that the data is automatically synchronized to the terminal equipment.
8. The method of claim 7, further comprising:
The data management interface is further used for displaying data storage mode setting options, and when triggering operation on the data storage mode setting options is detected, at least one data storage mode is displayed.
9. The method of claim 7, further comprising:
the data management interface is further used for displaying data viewing options, and when the triggering operation of the data viewing options is detected, the stored data is displayed.
10. the method of claim 7, further comprising:
The data management interface is further used for displaying a pop-up device option, when triggering operation of the pop-up device option is detected, sending a pop-up device instruction to the routing device, and disconnecting the connection between the routing device and the shooting device.
11. a data acquisition apparatus, wherein the apparatus is applied to a routing device, and the apparatus comprises:
The connection module is used for establishing connection with the shooting equipment when the shooting equipment is detected through a designated port, wherein the designated port is a port working in a client mode, and the shooting equipment works in a hot spot mode; the appointed port is obtained by the routing equipment acquiring an idle port from the existing ports and setting the working mode of the idle port to be a client mode; or, the specified port is obtained by the routing device creating a new port on the basis of the existing port and setting the working mode of the new port to be a client mode; or the specified port is a port used in the historical connection process of the routing equipment and the shooting equipment;
The acquisition module is used for acquiring data stored in the shooting equipment through a specified interface on the routing equipment, wherein the specified interface is an interface authorized by a manufacturer of the shooting equipment;
And the sending module is used for sending the data to the terminal equipment.
12. The apparatus of claim 11, wherein the connection module comprises:
The judging submodule is used for judging whether the shooting equipment exists in the connection history record of the routing equipment or not when the shooting equipment is detected through the specified port;
and the connection sub-module is used for establishing connection with the shooting equipment if the connection sub-module is positive.
13. the apparatus of claim 11, wherein the sending module comprises:
the first sending submodule is used for sending the data to the terminal equipment when receiving a data acquisition request of the terminal equipment; or the like, or, alternatively,
and the second sending submodule is used for sending the data to the terminal equipment if the data stored in the shooting equipment is obtained when the setting information of the routing equipment indicates that the data is automatically synchronized to the terminal equipment.
14. the apparatus of claim 11, wherein the designated port is configured to periodically probe the capture device.
15. The apparatus of claim 11, further comprising:
And the encapsulation module is used for encapsulating the data by using a universal local area network file sharing protocol.
16. A data acquisition device, characterized in that, the device is applied to a terminal device, the device includes:
the system comprises a first display module, a second display module and a third display module, wherein the first display module is used for displaying a routing equipment management interface, the routing equipment management interface is used for displaying shooting equipment and data acquisition options, the shooting equipment and the data acquisition options are connected with the routing equipment through a specified port of the routing equipment, the specified port is a port working in a client mode, and the shooting equipment works in a hot spot mode; the appointed port is obtained by the routing equipment acquiring an idle port from the existing ports and setting the working mode of the idle port to be a client mode; or, the specified port is obtained by the routing device creating a new port on the basis of the existing port and setting the working mode of the new port to be a client mode; or the specified port is a port used in the historical connection process of the routing equipment and the shooting equipment;
A sending module, configured to send a data acquisition request to the routing device when a trigger operation on the data acquisition option is detected;
And the receiving module is used for receiving the data sent by the routing equipment, the data is acquired from the shooting equipment by the routing equipment through a specified interface, and the specified interface is an interface authorized by a manufacturer of the shooting equipment.
17. the apparatus of claim 16, further comprising:
The second display module is used for displaying a data management interface when the trigger operation of the shooting device is detected in the routing device management interface, wherein the data management interface is used for displaying an automatic acquisition setting option;
and the modification module is used for modifying the setting information of the routing equipment into specified information when the starting operation of the automatic acquisition setting option is detected, wherein the specified information is used for indicating that data is automatically synchronized to the terminal equipment.
18. The apparatus of claim 17,
The second display module is further used for displaying data storage mode setting options on the data management interface;
The second display module is further configured to display at least one data storage mode when the trigger operation for the data storage mode setting option is detected.
19. The apparatus of claim 17,
The second display module is further used for displaying data viewing options on the data management interface;
The second display module is further configured to display the stored data when the trigger operation on the data viewing option is detected.
20. the apparatus of claim 17,
the second display module is further used for displaying pop-up equipment options on the data management interface;
The second display module is further configured to send a pop-up device instruction to the routing device when the trigger operation on the pop-up device option is detected, and the routing device disconnects the shooting device.
21. A data acquisition apparatus, wherein the apparatus is applied to a routing device, and the apparatus comprises:
A processor;
A memory for storing processor-executable instructions;
wherein the processor is configured to:
when shooting equipment is detected through a designated port, connection is established with the shooting equipment, the designated port is a port working in a client mode, and the shooting equipment works in a hot spot mode; the appointed port is obtained by the routing equipment acquiring an idle port from the existing ports and setting the working mode of the idle port to be a client mode; or, the specified port is obtained by the routing device creating a new port on the basis of the existing port and setting the working mode of the new port to be a client mode; or the specified port is a port used in the historical connection process of the routing equipment and the shooting equipment;
Acquiring data stored in the shooting equipment through a specified interface on the routing equipment, wherein the specified interface is an interface authorized by a manufacturer of the shooting equipment;
and sending the data to the terminal equipment.
22. A data acquisition device, characterized in that, the device is applied to a terminal device, the device includes:
A processor;
A memory for storing processor-executable instructions;
Wherein the processor is configured to:
The method comprises the steps that a routing equipment management interface is displayed, the routing equipment management interface is used for displaying shooting equipment and data acquisition options, the shooting equipment and the data acquisition options are connected with the routing equipment through a designated port of the routing equipment, the designated port is a port working in a client mode, and the shooting equipment works in a hot spot mode; the appointed port is obtained by the routing equipment acquiring an idle port from the existing ports and setting the working mode of the idle port to be a client mode; or, the specified port is obtained by the routing device creating a new port on the basis of the existing port and setting the working mode of the new port to be a client mode; or the specified port is a port used in the historical connection process of the routing equipment and the shooting equipment;
When the triggering operation of the data acquisition option is detected, sending a data acquisition request to the routing equipment;
And receiving data sent by the routing equipment, wherein the data is acquired from the shooting equipment by the routing equipment through a specified interface, and the specified interface is an interface authorized by a manufacturer of the shooting equipment.
23. A non-transitory computer-readable storage medium containing instructions that are executed by a processor of a routing device to implement the data acquisition method of any one of claims 1 to 5.
24. A non-transitory computer-readable storage medium, wherein the storage medium contains instructions, and the instructions in the storage medium are executed by a processor of a terminal device to implement the data acquisition method according to any one of claims 6 to 10.
CN201610892235.5A 2016-10-13 2016-10-13 data acquisition method and device Active CN106533848B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610892235.5A CN106533848B (en) 2016-10-13 2016-10-13 data acquisition method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610892235.5A CN106533848B (en) 2016-10-13 2016-10-13 data acquisition method and device

Publications (2)

Publication Number Publication Date
CN106533848A CN106533848A (en) 2017-03-22
CN106533848B true CN106533848B (en) 2019-12-13

Family

ID=58331678

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610892235.5A Active CN106533848B (en) 2016-10-13 2016-10-13 data acquisition method and device

Country Status (1)

Country Link
CN (1) CN106533848B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115242817B (en) * 2022-07-21 2023-10-24 阿里巴巴(中国)有限公司 Data access processing method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202218267U (en) * 2011-08-03 2012-05-09 北京同步科技有限公司 Multimedia information system capable of instantly publishing shooting images
CN102724375A (en) * 2012-06-20 2012-10-10 唐亮 Transmission device and method capable of connecting digital camera and intelligent mobile phone and transmitting image file
CN104184944A (en) * 2014-08-15 2014-12-03 小米科技有限责任公司 Method and device for obtaining multimedia data streams
CN104219781A (en) * 2013-06-05 2014-12-17 北京国信冠群技术有限公司 System and method for exchanging data between intelligent terminals
CN105138285A (en) * 2015-08-11 2015-12-09 小米科技有限责任公司 Shooting data sharing method, apparatus and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8436887B2 (en) * 2009-11-13 2013-05-07 Samsung Electronics Co., Ltd. Mobile terminal, display apparatus and control method thereof
KR20140111859A (en) * 2013-03-12 2014-09-22 삼성전자주식회사 Method and device for sharing content

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202218267U (en) * 2011-08-03 2012-05-09 北京同步科技有限公司 Multimedia information system capable of instantly publishing shooting images
CN102724375A (en) * 2012-06-20 2012-10-10 唐亮 Transmission device and method capable of connecting digital camera and intelligent mobile phone and transmitting image file
CN104219781A (en) * 2013-06-05 2014-12-17 北京国信冠群技术有限公司 System and method for exchanging data between intelligent terminals
CN104184944A (en) * 2014-08-15 2014-12-03 小米科技有限责任公司 Method and device for obtaining multimedia data streams
CN105138285A (en) * 2015-08-11 2015-12-09 小米科技有限责任公司 Shooting data sharing method, apparatus and device

Also Published As

Publication number Publication date
CN106533848A (en) 2017-03-22

Similar Documents

Publication Publication Date Title
US10560491B2 (en) Methods and apparatuses for binding with device
EP3182670B1 (en) Device binding method, server and recording medium
US10098166B2 (en) Method and device for wireless connection establishment
EP3076716A1 (en) Method and apparatus for network access
US10608988B2 (en) Method and apparatus for bluetooth-based identity recognition
KR101779544B1 (en) Method, device, program and recording medium for establishing connection
US10027549B2 (en) Method and apparatus for displaying router setup interface
EP3125615B1 (en) Method, apparatus and system for a smart device to access a router
CN104580401A (en) Connecting method and device
JP6422997B2 (en) Business process execution method, apparatus, system, program, and recording medium
EP2981116B1 (en) Method and apparatus for accessing wi-fi network and computer program product
CN104602112A (en) Configuration method and device
WO2017166761A1 (en) Method and device for sharing media data between terminals
CN109451877B (en) Unmanned aerial vehicle control method and device, unmanned aerial vehicle and remote control equipment
CN109451786B (en) Unmanned aerial vehicle management method and device and communication connection establishment method and device
JP2017514428A (en) Network connection method, apparatus, program, and recording medium
CN104684106A (en) Network connection method and device
CN104199677A (en) System reinstalling method and device and corresponding device
EP3035646B1 (en) Method and device for starting application
CN111277984A (en) Wireless local area network access method and device
CN105791409B (en) Remote connection establishing method and device
CN106550482B (en) Communication connection establishing method and device and electronic equipment
CN105472006A (en) File transfer method, device and system
CN106533848B (en) data acquisition method and device
US9674768B2 (en) Method and device for accessing wireless network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant