WO2016023344A1 - 获取多媒体数据流的方法及装置 - Google Patents

获取多媒体数据流的方法及装置 Download PDF

Info

Publication number
WO2016023344A1
WO2016023344A1 PCT/CN2015/071881 CN2015071881W WO2016023344A1 WO 2016023344 A1 WO2016023344 A1 WO 2016023344A1 CN 2015071881 W CN2015071881 W CN 2015071881W WO 2016023344 A1 WO2016023344 A1 WO 2016023344A1
Authority
WO
WIPO (PCT)
Prior art keywords
data stream
multimedia data
target camera
target
camera device
Prior art date
Application number
PCT/CN2015/071881
Other languages
English (en)
French (fr)
Inventor
李飞云
高自光
陈灏
Original Assignee
小米科技有限责任公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 小米科技有限责任公司 filed Critical 小米科技有限责任公司
Priority to BR112015007842A priority Critical patent/BR112015007842A2/pt
Priority to JP2016541808A priority patent/JP6101872B2/ja
Priority to KR1020157008128A priority patent/KR20160030464A/ko
Priority to RU2015114087A priority patent/RU2612389C2/ru
Priority to MX2015004790A priority patent/MX353881B/es
Priority to US14/809,466 priority patent/US20160050237A1/en
Publication of WO2016023344A1 publication Critical patent/WO2016023344A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00127Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
    • H04N1/00204Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a digital computer or a digital computer system, e.g. an internet server
    • H04N1/00209Transmitting or receiving image data, e.g. facsimile data, via a computer, e.g. using e-mail, a computer network, the internet, I-fax
    • H04N1/00214Transmitting or receiving image data, e.g. facsimile data, via a computer, e.g. using e-mail, a computer network, the internet, I-fax details of transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/66Remote control of cameras or camera parts, e.g. by remote control devices
    • H04N23/661Transmitting camera control signals through networks, e.g. control via the Internet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00127Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
    • H04N1/00204Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a digital computer or a digital computer system, e.g. an internet server
    • H04N1/00209Transmitting or receiving image data, e.g. facsimile data, via a computer, e.g. using e-mail, a computer network, the internet, I-fax
    • H04N1/00214Transmitting or receiving image data, e.g. facsimile data, via a computer, e.g. using e-mail, a computer network, the internet, I-fax details of transmission
    • H04N1/00217Transmitting or receiving image data, e.g. facsimile data, via a computer, e.g. using e-mail, a computer network, the internet, I-fax details of transmission only involving computer data transmission protocols, e.g. SMTP, WAP or HTTP
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00127Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
    • H04N1/00249Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a photographic apparatus, e.g. a photographic printer or a projector
    • H04N1/00251Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a photographic apparatus, e.g. a photographic printer or a projector with an apparatus for taking photographic images, e.g. a camera
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/0035User-machine interface; Control console
    • H04N1/00405Output means
    • H04N1/00408Display of information to the user, e.g. menus
    • H04N1/0044Display of information to the user, e.g. menus for image preview or review, e.g. to help the user position a sheet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/4223Cameras
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/765Interface circuits between an apparatus for recording and another apparatus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/0008Connection or combination of a still picture apparatus with another apparatus
    • H04N2201/0013Arrangements for the control of the connected apparatus by the still picture apparatus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/0008Connection or combination of a still picture apparatus with another apparatus
    • H04N2201/0034Details of the connection, e.g. connector, interface
    • H04N2201/0037Topological details of the connection
    • H04N2201/0039Connection via a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/0008Connection or combination of a still picture apparatus with another apparatus
    • H04N2201/0034Details of the connection, e.g. connector, interface
    • H04N2201/0048Type of connection
    • H04N2201/0055By radio
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/0008Connection or combination of a still picture apparatus with another apparatus
    • H04N2201/0074Arrangements for the control of a still picture apparatus by the connected apparatus

Definitions

  • the present disclosure relates to the field of terminal technologies, and in particular, to a method and an apparatus for acquiring a multimedia data stream.
  • the terminal can control the camera device remotely through the network to preview the multimedia data stream captured by the camera device.
  • the terminal controls the camera device to start the preview operation, it needs to establish a Socket socket connection with the camera device, and then send a command for transmitting the multimedia data stream to the camera device through the Socket connection, and then receive and preview the camera device to shoot. Multimedia data stream. Finally, the terminal disconnects the Socket connection with the imaging device when receiving the operation of suspending the preview.
  • the terminal Each time the terminal starts the preview operation, it needs to establish a Socket connection with the camera device, and then perform the operation of transmitting and displaying the multimedia data stream. This method takes a long time and cannot preview the content captured by the camera in real time, thereby reducing the control of the camera device. effectiveness.
  • embodiments of the present disclosure provide a method and apparatus for acquiring a multimedia data stream.
  • the technical solution is as follows:
  • a method for obtaining a multimedia data stream including:
  • the method further includes:
  • the target imaging device in the smart device list is in an offline state and the local end is in the same network as the target imaging device, sending a startup command to the target imaging device; and updating an online state of the target imaging device.
  • the method further includes:
  • the NAT traversal technology is used to establish a Socket connection, and then a start command is sent to the network device accessed by the target camera device. Updating the online status of the target camera device.
  • the method further includes:
  • the receiving the multimedia data stream that is transmitted by the target imaging device, and displaying the multimedia data stream After the specified preview interface the method further includes:
  • an apparatus for acquiring a multimedia data stream includes:
  • Establishing a connection module configured to establish a socket Socket connection with the target camera device when the preset trigger event is triggered;
  • a first sending module configured to send, by the Socket connection, a command for transmitting a multimedia data stream to the target camera device when detecting an event of initiating preview
  • a receiving module configured to receive a multimedia data stream transmitted by the target imaging device
  • a display module configured to display the multimedia data stream in a specified preview interface.
  • the establishing a connection module includes:
  • An obtaining unit configured to acquire a smart device list when an application for managing the smart device is started
  • a determining unit configured to determine that a preset trigger event is triggered when the target camera device exists in the smart device list and the target camera device is in an online state
  • the apparatus further includes:
  • a second sending module configured to send a startup command to the target imaging device when the target imaging device in the smart device list is in an offline state and the local end is in the same network as the target imaging device;
  • the first update module is configured to update an online state of the target imaging device.
  • the apparatus further includes:
  • a third sending module configured to: after the target camera device in the smart device list is offline and the local device is not in the same network as the target camera device, establish a Socket connection by using NAT traversing technology, and then connect to the target camera device The incoming network device sends a start command;
  • a second update module configured to update an online state of the target imaging device.
  • the device further includes:
  • Closing the module when the event of pausing the preview is detected, closing the specified preview interface
  • a second sending module configured to send, by using a Socket connection between the target imaging devices, a command to suspend transmission of the multimedia data stream to the target imaging device.
  • the apparatus further includes:
  • an apparatus for acquiring a multimedia data stream includes:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • the Socket connection with the target camera device is established when the preset trigger event is triggered, and the command for transmitting the multimedia data stream is sent through the Socket connection when the event of starting the preview is detected, and the multimedia data stream transmitted by the target camera device is received. For display.
  • the content captured by the target camera device is acquired through a pre-established Socket connection, thereby improving the real-time performance of the preview and controlling the efficiency of the target camera device, and reducing the preview operation. delay.
  • FIG. 1 is a flowchart of a method for acquiring a multimedia data stream according to an exemplary embodiment
  • FIG. 2 is a flowchart of a method for acquiring a multimedia data stream according to an exemplary embodiment
  • FIG. 3 is a flowchart of a method for starting a target imaging device in a method for acquiring a multimedia data stream according to an exemplary embodiment
  • FIG. 4 is a flowchart of another method for starting a target imaging device in a method for acquiring a multimedia data stream according to an exemplary embodiment
  • FIG. 5 is a flowchart of a method for acquiring a multimedia data stream according to an exemplary embodiment
  • FIG. 6 is a schematic diagram of an interface of a smart device list according to an exemplary embodiment
  • FIG. 7 is a schematic diagram of an interface of a preview interface according to an exemplary embodiment
  • FIG. 8 is a block diagram of an apparatus for acquiring a multimedia data stream according to an exemplary embodiment
  • FIG. 9 is a block diagram of an apparatus for acquiring a multimedia data stream, according to an exemplary embodiment.
  • An embodiment of the present disclosure provides a method for acquiring a multimedia data stream.
  • the method embodiment is applied to a terminal. Referring to FIG. 1, the method process includes:
  • step 101 when a preset trigger event is triggered, a socket Socket connection with the target camera device is established;
  • step 102 when an event of starting preview is detected, a command for transmitting a multimedia data stream is sent to the target camera device through a Socket connection;
  • step 103 the multimedia data stream transmitted by the target camera device is received, and the multimedia data stream is displayed in the designated preview interface.
  • NAT traversal technology is required to establish a Socket connection.
  • NAT Network Address Translation traversal
  • TCP/IP Transmission Control Protocol/Internet Protocol
  • NAT device The problem of establishing a connection between them.
  • the embodiment of the present disclosure establishes a Socket connection with the target camera device when the preset trigger event is triggered, and sends a command for transmitting the multimedia data stream through the Socket connection when detecting the event of starting the preview, and receives the target camera device transmission.
  • the multimedia data stream is displayed for display.
  • the content captured by the target camera device is acquired through a pre-established Socket connection, which improves the real-time performance of the preview and controls the efficiency of the target imaging device, and reduces the delay after the preview operation.
  • An embodiment of the present disclosure provides a method for acquiring a multimedia data stream.
  • the method embodiment is applied to a terminal. Referring to FIG. 2, the method process includes:
  • step 201 when the preset trigger event is triggered, a socket Socket connection with the target camera device is established.
  • the smart device list managed by itself is acquired and displayed after the application is started. At this time, it is determined whether there is an associated target imaging device in the smart device list. If the target imaging device is present, it is further determined that the connection state of the target imaging device is an online state. If it is online, it is determined that the preset trigger event is triggered.
  • the smart device list includes an identifier of the smart device that has been associated in the terminal, an online time, and a corresponding connection state.
  • the connection status may include an online status and an offline status.
  • the smart device may indicate that the smart device is in an online state by using an identifier corresponding to the first color, and the smart device is in an offline state by using an identifier corresponding to the second color.
  • the smart device in the online state is a smart device that is in a boot state and accesses the network through the network device; the smart device in the offline state is a boot device, but the smart device that does not access the network through the network device or the smart device that is not in the boot state.
  • the terminal may send a startup command to the offline smart device to enable the smart device to start, and update the status of the smart device to the network device or the server from the offline state to the online state.
  • step 201 can be implemented by the following steps:
  • step 2011 when the application for managing the smart device is started, the smart device list is acquired;
  • step 2012 if there is a target imaging device in the smart device list and the target imaging device is in an online state, it is determined that the preset triggering event is triggered;
  • step 2013, a Socket connection is established with the target camera device.
  • the process of step 2013 is to create a background thread, and perform an operation of establishing a Socket connection with the target camera device through the background thread.
  • the port number of the audio stream in the multimedia data stream transmitted between the terminal and the target camera device, the port number of the transmitted video stream, and the port number of the transmission control signaling are negotiated. After the command to transmit the multimedia data stream is triggered, the corresponding content is transmitted according to each port number.
  • the terminal and the target imaging device with Wi-Fi function are in the network of the same network device, and the target imaging device updates its online state in the network device after being powered on.
  • the terminal launches an application for managing smart devices After that, the online status of each smart device is obtained from the network device and the smart device list in the terminal is updated. At this time, the target imaging device in the smart device list acquired by the terminal is in an online state.
  • the terminal and the target camera device with Wi-Fi function are not in the network of the same network device, and after the target camera device is powered on, the online state is sent to the cloud server through the network device, and the target camera is updated by the cloud server.
  • the online status of the device After the terminal starts the application for managing the smart device, the network queries the cloud server to obtain the online status of each smart device and updates the smart device list in the terminal. At this time, the target imaging device in the smart device list acquired by the terminal is in an online state.
  • NAT traversal technology is required to establish a Socket connection.
  • the preset trigger event may also include other methods, such as: triggering a preset trigger event when the terminal accesses the network.
  • the embodiment of the present disclosure does not limit the triggering manner of triggering the preset trigger event.
  • step 202 when an event to initiate preview is detected, a command to transmit a multimedia data stream is transmitted to the target camera device through the Socket connection.
  • step 203 the multimedia data stream transmitted by the target camera device is received, and the multimedia data stream is displayed in the designated preview interface.
  • the audio stream, the video stream, and the control signaling in the multimedia data stream are transmitted through the port number negotiated in step 2013.
  • a preview interface is created in an application for managing a smart device, and a multimedia data stream is displayed in the preview interface.
  • step 204 when an event of pausing preview is detected, the specified preview interface is closed.
  • step 205 a command to suspend transmission of the multimedia data stream is transmitted to the target imaging device through the Socket connection between the target imaging devices.
  • the Socket connection between the terminal and the target camera device is not disconnected, and the state of the connection is maintained, so that the user is used to close the application for managing the smart device.
  • the multimedia data stream can be transmitted and displayed in real time without re-establishing the Socket connection between the terminal and the target camera device, thereby ensuring that the user views the smoothness of the captured content in the target camera device. degree.
  • step 205 the process between step 202 and step 205 can be repeatedly performed. And when it is finally necessary to exit the application for managing the smart device, step 206 is performed. Therefore, the embodiments of the present disclosure do not limit the order relationship between the steps.
  • step 206 when the application for managing the smart device is turned off, the Socket connection with the target camera device is disconnected.
  • the terminal and the target imaging device are not used until the application for managing the smart device is turned off.
  • the Socket connection between them is disconnected.
  • the embodiment of the present disclosure establishes a Socket connection with the target camera device when the preset trigger event is triggered, and sends a command for transmitting the multimedia data stream through the Socket connection when detecting the event of starting the preview, and receives the target camera device transmission.
  • the multimedia data stream is displayed for display.
  • the content captured by the target camera device is acquired through a pre-established Socket connection, which improves the real-time performance of the preview and controls the efficiency of the target imaging device, and reduces the delay after the preview operation.
  • the Socket connection with the target camera device is disconnected, so that when the application for managing the smart device is not closed, The Socket connection can be used to preview the content captured by the target camera device in real time.
  • An embodiment of the present disclosure provides a method for starting a target imaging device in a method for acquiring a multimedia data stream. As shown in FIG. 3, the method embodiment is applied to a terminal, where the method includes:
  • step 301 when the application for managing the smart device is activated, the smart device list is acquired.
  • the target imaging device in the acquired smart device list is in an offline state.
  • step 302 if the target imaging device in the smart device list is in an offline state and the local end is in the same network as the target imaging device, a startup command is sent to the target imaging device.
  • the terminal and the target camera device are in the same network, that is, the terminal and the target camera device jointly access the same network device, for example, the user is at home, the corresponding terminal is located at home, and the target camera is also located at home, and the terminal and the target camera are connected.
  • the same network device which can be a router.
  • the startup command sent by the terminal to the target camera device may be directly sent by the terminal to the target camera device through the network; or the network device may receive the start command sent by the terminal, and then forwarded to the target camera device through the network device.
  • the target camera device in the sleep state After receiving the startup command sent by the terminal, the target camera device in the sleep state starts the wake-up process to enter the normal use state. At this time, the target camera device sends a command to update the state of the device to the network device, so that the network device sets the state of the target camera by The offline status is updated to online status.
  • step 303 the online state of the target imaging device is updated.
  • the smart device list in the terminal needs to be updated at this time to reacquire the online state of the target camera.
  • the method of updating is that the terminal sends a request for updating the smart device list to the network device, so as to obtain the state of each smart device saved in the network device.
  • the triggering process of step 303 may be triggered by the user manually updating the smart device list; or, the operation mode of automatically updating the smart device list after the sending start command is set to trigger.
  • the embodiment of the present disclosure sends a startup command to the target imaging device in an offline state to activate the target imaging device in the sleep state, thereby establishing a Socket connection between the terminal and the target imaging device.
  • An embodiment of the present disclosure provides a method for starting a target imaging device in a method for acquiring a multimedia data stream. As shown in FIG. 4, the method embodiment is applied to a terminal, where the method includes:
  • step 401 when the application for managing the smart device is activated, the smart device list is acquired.
  • the target imaging device in the acquired smart device list is in an offline state.
  • step 402 if the target camera device in the smart device list is offline and the local device is not in the same network as the target camera device, the NAT traversing technology is used to establish a Socket connection and then access the target camera device.
  • the network device sends a start command.
  • the terminal and the target camera device are not in the same network, that is, the terminal and the target camera device are respectively connected to different network devices, and each network device accesses the network.
  • the user is in the unit
  • the corresponding terminal is located in the unit
  • the target camera is located in the home.
  • the target camera accesses the network device in the home
  • the network device can be a router.
  • the NAT traversal technology is used to establish a Socket connection, and then the startup command sent by the terminal to the target camera device needs to be sent to the network device accessed by the target camera device, and then forwarded by the network device to the target camera device.
  • the target camera device in the sleep state After receiving the startup command sent by the terminal, the target camera device in the sleep state starts the wake-up process to enter the normal use state, and the target camera device sends a command to update the state of the target to the cloud server, so that the cloud server sets the state of the target camera by The offline status is updated to online status.
  • step 403 the online state of the target imaging device is updated.
  • the smart device list in the terminal needs to be updated at this time to reacquire the online state of the target camera.
  • the method of updating is that the terminal sends a request for updating the smart device list to the cloud server to obtain the state of each smart device saved in the cloud server.
  • the triggering process of step 403 may be triggered by the user manually updating the smart device list; or, the operation mode of automatically updating the smart device list after the sending start command is set to trigger.
  • the embodiment of the present disclosure sends a startup command to the target imaging device in an offline state to activate the target imaging device in the sleep state, thereby establishing a Socket connection between the terminal and the target imaging device.
  • the method for obtaining a multimedia data stream provided by the embodiment of the present disclosure is described as an example in which the user is in the company viewing the home through the camera device. As shown in FIG. 5, the method process includes:
  • step 501 when the application for managing the smart device is started, the smart device list in the home is obtained through the cloud server.
  • the smart device in the home updates the online status of the smart device to the cloud server through the network device in the home, and the cloud server is used to record the online state of each smart device in the smart device list associated with the user terminal.
  • the figure shows an interface diagram of a smart device list.
  • the user terminal is currently associated with three
  • the smart devices are smart cameras, set-top boxes and smart TVs.
  • the smart camera's logo in the smart device list is light, which means the device is online, and the set-top box and smart TV are in the smart device list.
  • a dark color indicates that the device is offline.
  • step 502 it is determined in the smart device list that there is a smart camera and the smart camera is in an online state.
  • step 503 a Socket connection is established with the smart camera.
  • NAT traversal technology is required to establish a Socket connection.
  • step 504 when it is detected that the user initiates an event of previewing the smart camera shooting content in the smart device list, a command to transmit the multimedia data stream is sent to the smart camera through the Socket connection.
  • step 505 the multimedia data stream transmitted by the smart camera is received, and the multimedia data stream is displayed in a preview interface specified in the terminal screen.
  • the figure shows an interface diagram of the preview interface.
  • These include display areas for displaying multimedia data streams transmitted by the smart camera, and various control buttons for controlling the smart camera, such as: back button, switch button, camera button, full screen display button, and the like.
  • step 506 when it is detected that the user pauses the preview of the smart camera shooting content in the preview interface, the preview interface is closed.
  • the preview interface is closed when the event of previewing the content of the smart camera is paused, and the screen returns to the interface for displaying the smart device list.
  • step 507 a command to suspend transmission of the multimedia data stream is sent to the smart camera via a Socket connection between the smart cameras.
  • the user may repeatedly perform the steps between step 304 and step 307 to preview the content captured by the smart camera through a Socket connection between the pre-established terminal and the smart camera.
  • step 508 when the application for managing the smart device is turned off, the Socket connection with the smart camera is disconnected.
  • the embodiment of the present disclosure detects that the user initiates previewing the content of the smart camera shooting content in the smart device list by establishing a Socket connection with the smart camera when the smart camera is present and the smart camera is in the online state.
  • the command for transmitting the multimedia data stream is sent through the Socket connection, and the multimedia data stream transmitted by the smart camera is received for display.
  • the multimedia data stream transmitted by the smart camera is suspended, and the connection state of the Socket connection is maintained.
  • the content captured by the target camera device is acquired through a pre-established Socket connection, which improves the real-time performance of the preview and controls the efficiency of the target imaging device, and reduces the delay after the preview operation.
  • the Socket connection with the target camera device is disconnected, so that when the application for managing the smart device is not closed, The Socket connection allows real-time preview of the content captured by the smart camera.
  • An embodiment of the present disclosure provides an apparatus for acquiring a multimedia data stream.
  • the apparatus includes:
  • the first sending module 802 is configured to send a command for transmitting the multimedia data stream to the target camera device through the Socket connection when detecting the event of starting the preview;
  • the receiving module 803 is configured to receive a multimedia data stream transmitted by the target camera device
  • the display module 804 is configured to display the multimedia data stream in a specified preview interface.
  • the establishing the connection module 801 includes:
  • An obtaining unit configured to acquire a smart device list when an application for managing the smart device is started
  • a determining unit configured to determine that a preset trigger event is triggered when the target camera device exists in the smart device list and the target camera device is in an online state
  • a connection unit is established for establishing a Socket connection with the target camera device.
  • the device further comprises:
  • a second sending module 805, configured to send a start command to the target imaging device when the target imaging device in the smart device list is in an offline state and the local end is in the same network as the target imaging device;
  • the first update module 806 is configured to update an online state of the target imaging device.
  • the device further comprises:
  • the third sending module 807 is configured to establish a Socket connection by using a NAT traversing technology to the target imaging device when the target imaging device in the smart device list is in an offline state and the local end is not in the same network as the target imaging device.
  • the accessed network device sends a start command.
  • the second update module 808 is configured to update an online state of the target imaging device.
  • the device further comprises:
  • the closing module 809 is configured to close the specified preview interface when detecting the event of pausing the preview
  • the fourth sending module 810 is configured to send, by using a Socket connection between the target imaging devices, a command to suspend transmission of the multimedia data stream to the target imaging device.
  • the device further comprises:
  • the disconnection module 811 is configured to disconnect the Socket connection with the target imaging device when the application for managing the smart device is turned off.
  • the embodiment of the present disclosure establishes a Socket connection with the target camera device when the preset trigger event is triggered, and sends a command for transmitting the multimedia data stream through the Socket connection when the event of starting the preview is detected, and receives the target camera.
  • FIG. 9 is a block diagram of an apparatus 900 for acquiring a multimedia data stream, according to an exemplary embodiment.
  • device 900 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
  • device 900 can include one or more of the following components: processing component 902, memory 904, power component 906, multimedia component 908, audio component 910, input/output (I/O) interface 912, sensor component 914, And a communication component 916.
  • Processing component 902 typically controls the overall operation of device 900, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
  • Processing component 902 can include one or more processors 920 to execute instructions to perform all or part of the steps described above.
  • processing component 902 can include one or more modules to facilitate interaction between component 902 and other components.
  • processing component 902 can include a multimedia module to facilitate interaction between multimedia component 908 and processing component 902.
  • Memory 904 is configured to store various types of data to support operation at device 900. Examples of such data include instructions for any application or method operating on device 900, contact data, phone book data, messages, pictures, videos, and the like.
  • the memory 904 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM Programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Disk Disk or Optical Disk.
  • Power component 906 provides power to various components of device 900.
  • Power component 906 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 900.
  • the multimedia component 908 includes a screen between the device 900 and the user that provides an output interface.
  • the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor can sense not only the boundaries of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
  • the multimedia component 908 includes a front camera and/or a rear camera. When the device 900 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
  • the audio component 910 is configured to output and/or input an audio signal.
  • audio component 910 includes a microphone (MIC) that is configured to receive an external audio signal when device 900 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
  • the received audio signal may be further stored in memory 904 or via Communication component 916 sends.
  • the audio component 910 also includes a speaker for outputting an audio signal.
  • the I/O interface 912 provides an interface between the processing component 902 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or 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 914 includes one or more sensors for providing device 900 with various aspects of status assessment.
  • sensor component 914 can detect an open/closed state of device 900, a relative positioning of components, such as a display and a keypad of device 900, and sensor component 914 can also detect a change in position of device 900 or a component of device 900, user The presence or absence of contact with device 900, device 900 orientation or acceleration/deceleration and temperature variation of device 900.
  • Sensor assembly 914 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor component 914 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 916 is configured to facilitate wired or wireless communication between device 900 and other devices.
  • the device 900 can access a wireless network based on a communication standard, such as WI-FI, 2G or 3G, or a combination thereof.
  • communication component 916 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
  • communication component 916 also includes a near field communication (NFC) module to facilitate short range communication.
  • NFC near field communication
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • device 900 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 A gate array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable A gate array
  • controller microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • non-transitory computer readable storage medium comprising instructions, such as a memory 904 comprising instructions executable by processor 920 of apparatus 900 to perform the above method.
  • the non-transitory computer readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
  • the embodiment of the present disclosure establishes a Socket connection with the target camera device when the preset trigger event is triggered, and sends a command for transmitting the multimedia data stream through the Socket connection when detecting the event of starting the preview, and receives the target camera device transmission.
  • the multimedia data stream is displayed for display.
  • the content captured by the target camera device is acquired through a pre-established Socket connection, which improves the real-time performance of the preview and controls the efficiency of the target imaging device, and reduces the delay after the preview operation.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Abstract

本公开公开了一种获取多媒体数据流的方法及装置,属于终端技术领域。方法包括:当预设触发事件触发时,建立与目标摄像设备之间的套接字Socket连接;当检测到启动预览的事件时,通过Socket连接向目标摄像设备发送传输多媒体数据流的命令;接收目标摄像设备传输的多媒体数据流,并将多媒体数据流显示于指定的预览界面中。通过在预设触发事件触发时建立与目标摄像设备之间的Socket连接,在检测到启动预览的事件时通过该Socket连接下发传输多媒体数据流的命令,并接收目标摄像设备传输的多媒体数据流以进行显示。在用户进行预览时通过预先建立的Socket连接获取目标摄像设备拍摄的内容,提高了预览的实时性以及控制目标摄像设备的效率,降低了预览操作后的延迟。

Description

获取多媒体数据流的方法及装置
本申请基于申请号为201410403536.8、申请日为2014年08月15日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本公开涉及终端技术领域,特别涉及一种获取多媒体数据流的方法及装置。
背景技术
随着终端技术和通信技术的发展,带有Wi-Fi(Wireless-Fidelity,无线保真)的摄像设备得到了广泛的普及。终端可以通过网络在异地对摄像设备进行控制,以预览摄像设备拍摄的多媒体数据流。
终端在每次控制摄像设备启动预览操作时,都需要建立与摄像设备之间的Socket套接字连接,再通过该Socket连接向摄像设备发送传输多媒体数据流的命令,之后接收并预览摄像设备拍摄的多媒体数据流。最后,终端在接收到暂停预览的操作时,将与摄像设备之间的Socket连接断开。
发明人发现相关技术至少存在以下问题:
终端每次启动预览操作都需要建立与摄像设备之间的Socket连接,再进行传输和显示多媒体数据流的操作,该方式耗时较长无法实时的预览摄像头拍摄的内容,降低了控制摄像设备的效率。
发明内容
为了解决相关技术的问题,本公开实施例提供了一种获取多媒体数据流的方法及装置。所述技术方案如下:
根据本公开实施例的第一方面,提供一种获取多媒体数据流的方法,包括:
当预设触发事件触发时,建立与目标摄像设备之间的套接字Socket连接;
当检测到启动预览的事件时,通过所述Socket连接向所述目标摄像设备发送传输多媒体数据流的命令;
接收所述目标摄像设备传输的多媒体数据流,并将所述多媒体数据流显示于指定的预览界面中。
在第一方面的第一种可能的实现方式中,所述当预设触发事件触发时,建立与目标摄像设备之间的套接字Socket连接,包括:
在用于管理智能设备的应用被启动时,获取智能设备列表;
如果所述智能设备列表中存在有目标摄像设备且所述目标摄像设备为在线状态,则确定预设触发事件被触发;
建立与所述目标摄像设备之间的Socket连接。
结合第一方面的第一种可能的实现方式,在第二种可能的实现方式中,所述获取智能设备列表之后,所述方法还包括:
如果所述智能设备列表中的目标摄像设备为离线状态且本端与所述目标摄像设备在同一网络时,向所述目标摄像设备发送启动命令;更新所述目标摄像设备的在线状态。
结合第一方面的第一种可能的实现方式,在第三种可能的实现方式中,所述获取智能设备列表之后,所述方法还包括:
如果所述智能设备列表中的目标摄像设备为离线状态且本端与所述目标摄像设备不在同一网络时,采用NAT穿越技术建立Socket连接后向所述目标摄像设备接入的网络设备发送启动命令;更新所述目标摄像设备的在线状态。
在第一方面的第四种可能的实现方式中,所述接收所述目标摄像设备传输的多媒体数据流,并将所述多媒体数据流显示于指定的预览界面中之后,所述方法还包括:
当检测到暂停预览的事件时,关闭所述指定的预览界面;
通过所述目标摄像设备之间的Socket连接向所述目标摄像设备发送暂停传输多媒体数据流的命令。
结合第一方面或第一方面的第一种可能的实现方式,在第五种可能的实现方式中,所述接收所述目标摄像设备传输的多媒体数据流,并将所述多媒体数据流显示于指定的预览界面中之后,所述方法还包括:
当所述用于管理智能设备的应用被关闭时,则断开与所述目标摄像设备之间的Socket连接。
根据本公开实施例的第二方面,提供一种获取多媒体数据流的装置,包括:
建立连接模块,用于在预设触发事件触发时,建立与目标摄像设备之间的套接字Socket连接;
第一发送模块,用于在检测到启动预览的事件时,通过所述Socket连接向所述目标摄像设备发送传输多媒体数据流的命令;
接收模块,用于接收所述目标摄像设备传输的多媒体数据流;
显示模块,用于将所述多媒体数据流显示于指定的预览界面中。
在第二方面的第一种可能的实现方式中,所述建立连接模块,包括:
获取单元,用于在用于管理智能设备的应用被启动时,获取智能设备列表;
确定单元,用于在所述智能设备列表中存在有目标摄像设备且所述目标摄像设备为在线状态时,确定预设触发事件被触发;
建立连接单元,用于建立与所述目标摄像设备之间的Socket连接。
结合第二方面的第一种可能的实现方式,在第二种可能的实现方式中,所述装置还包括:
第二发送模块,用于在所述智能设备列表中的目标摄像设备为离线状态且本端与所述目标摄像设备在同一网络时,向所述目标摄像设备发送启动命令;
第一更新模块,用于更新所述目标摄像设备的在线状态。
结合第二方面的第一种可能的实现方式,在第三种可能的实现方式中,所述装置还包括:
第三发送模块,用于在所述智能设备列表中的目标摄像设备为离线状态且本端与所述目标摄像设备不在同一网络时,采用NAT穿越技术建立Socket连接后向所述目标摄像设备接入的网络设备发送启动命令;
第二更新模块,用于更新所述目标摄像设备的在线状态。
在第二方面的第四种可能的实现方式中,所述装置还包括:
关闭模块,用于当检测到暂停预览的事件时,关闭所述指定的预览界面;
第二发送模块,用于通过所述目标摄像设备之间的Socket连接向所述目标摄像设备发送暂停传输多媒体数据流的命令。
结合第二方面或第二方面的第一种可能的实现方式,在第五种可能的实现方式中,所述装置还包括:
断开连接模块,用于当所述用于管理智能设备的应用被关闭时,则断开与所述目标摄像设备之间的Socket连接。
根据本公开实施例的第三方面,提供一种获取多媒体数据流的装置,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:
当预设触发事件触发时,建立与目标摄像设备之间的套接字Socket连接;
当检测到启动预览的事件时,通过所述Socket连接向所述目标摄像设备发送传输多媒体数据流的命令;
接收所述目标摄像设备传输的多媒体数据流,并将所述多媒体数据流显示于指定的预览界面中。
本公开的实施例提供的技术方案可以包括以下有益效果:
通过在预设触发事件触发时建立与目标摄像设备之间的Socket连接,在检测到启动预览的事件时通过该Socket连接下发传输多媒体数据流的命令,并接收目标摄像设备传输的多媒体数据流以进行显示。在用户进行预览时通过预先建立的Socket连接获取目标摄像设备拍摄的内容,提高了预览的实时性以及控制目标摄像设备的效率,降低了预览操作后的 延迟。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。
图1是本公开是根据一示例性实施例示出的获取多媒体数据流的方法流程图;
图2是本公开是根据一示例性实施例示出的获取多媒体数据流的方法流程图;
图3是本公开是根据一示例性实施例示出的获取多媒体数据流的方法中启动目标摄像设备的方法流程图;
图4是本公开是根据一示例性实施例示出的获取多媒体数据流的方法中另一种启动目标摄像设备的方法流程图;
图5是本公开是根据一示例性实施例示出的获取多媒体数据流的方法流程图;
图6是本公开是根据一示例性实施例示出的智能设备列表的界面示意图;
图7是本公开是根据一示例性实施例示出的预览界面的界面示意图;
图8是本公开是根据一示例性实施例示出的获取多媒体数据流的装置框图;
图9是本公开是根据一示例性实施例示出的获取多媒体数据流的装置框图。
具体实施方式
为使本公开的目的、技术方案和优点更加清楚,下面将结合附图对本公开实施方式作进一步地详细描述。
实施例一
本公开实施例提供了一种获取多媒体数据流的方法,本方法实施例应用于终端中,参见图1,方法流程包括:
在步骤101中,当预设触发事件触发时,建立与目标摄像设备之间的套接字Socket连接;
在步骤102中,当检测到启动预览的事件时,通过Socket连接向目标摄像设备发送传输多媒体数据流的命令;
在步骤103中,接收目标摄像设备传输的多媒体数据流,并将多媒体数据流显示于指定的预览界面中。
当本端与目标摄像设备不在同一网络下,需要采用NAT穿越技术建立Socket连接。NAT穿越(Network Address Translation traversal,网络地址转换穿越)涉及TCP/IP(Transmission Control Protocol/Internet Protocol,传输控制协议/因特网互联协议)网络中在处于使用了NAT设备的私有TCP/IP网络中的主机之间建立连接的问题。
本公开实施例通过在预设触发事件触发时建立与目标摄像设备之间的Socket连接,在检测到启动预览的事件时通过该Socket连接下发传输多媒体数据流的命令,并接收目标摄像设备传输的多媒体数据流以进行显示。在用户进行预览时通过预先建立的Socket连接获取目标摄像设备拍摄的内容,提高了预览的实时性以及控制目标摄像设备的效率,降低了预览操作后的延迟。
实施例二
本公开实施例提供了一种获取多媒体数据流的方法,本方法实施例应用于终端中,参见图2,方法流程包括:
在步骤201中,当预设触发事件触发时,建立与目标摄像设备之间的套接字Socket连接。
在本公开实施例中,通过在终端中启动用于管理智能设备的应用,在该应用启动后会获取并显示自身管理的智能设备列表。此时,判断该智能设备列表中是否存在有已关联的目标摄像设备。如果存在目标摄像设备则进一步的判断该目标摄像设备的连接状态为在线状态。如果为在线状态则确定预设触发事件被触发。
其中,智能设备列表中包括有在终端中已关联的智能设备的标识,在线时间以及对应的连接状态。其中,连接状态可以包括在线状态和离线状态,在智能设备列表中可以通过第一颜色对应的标识来表示该智能设备为在线状态,通过第二颜色对应的标识来表示该智能设备为离线状态。
在线状态的智能设备为处于开机状态,并且通过网络设备接入网络的智能设备;离线状态的智能设备为开机状态,但未通过网络设备接入网络的智能设备或者未处于开机状态的智能设备。可选的,终端可以向离线状态的智能设备发送启动命令,以使智能设备启动,并向网络设备或服务器更新该智能设备的状态由离线状态为在线状态。
相应的,步骤201可以通过以下步骤来实现:
在步骤2011中,在用于管理智能设备的应用被启动时,获取智能设备列表;
在步骤2012中,如果智能设备列表中存在有目标摄像设备且目标摄像设备为在线状态,则确定预设触发事件被触发;
在步骤2013中,建立与目标摄像设备之间的Socket连接。
其中,步骤2013的过程为创建后台线程,并通过该后台线程执行建立与目标摄像设备之间的Socket连接的操作。该过程中会协商终端与目标摄像设备之间传输多媒体数据流中的音频流的端口号,传输视频流的端口号以及传输控制信令的端口号。在之后触发传输多媒体数据流的命令后会根据各个端口号分别传输相应的内容。
本公开实施例的实施场景可以包括两种:
第一种,终端与具备Wi-Fi功能的目标摄像设备处于同一个网络设备的网络内,目标摄像设备开机后将自身的在线状态更新在网络设备内。终端启动用于管理智能设备的应用 后,从网络设备内获取到各个智能设备的在线状态并更新终端中的智能设备列表。此时,终端获取到的智能设备列表中的目标摄像设备为在线状态。
第二种,终端与具备Wi-Fi功能的目标摄像设备未处于同一个网络设备的网络内,目标摄像设备开机后将自身的在线状态通过网络设备发送给云端服务器,由云端服务器更新该目标摄像设备的在线状态。终端启动用于管理智能设备的应用后,通过网络查询云端服务器中获取到各个智能设备的在线状态并更新终端中的智能设备列表。此时,终端获取到的智能设备列表中的目标摄像设备为在线状态。当本终端与目标摄像设备不在同一网络下,需要采用NAT穿越技术建立Socket连接。
可选的,预设的触发事件还可以包括其他方式,例如:终端在接入网络时触发预设的触发事件等方式。本公开实施例并不限定触发该预设的触发事件的触发方式。
在步骤202中,当检测到启动预览的事件时,通过Socket连接向目标摄像设备发送传输多媒体数据流的命令。
用户在智能设备列表中选取进入该目标摄像设备的预览界面时,会触发启动预览的事件。
在步骤203中,接收目标摄像设备传输的多媒体数据流,并将多媒体数据流显示于指定的预览界面中。
例如,通过步骤2013中协商的端口号,传输多媒体数据流中的音频流、视频流以及控制信令。
在用于管理智能设备的应用中创建预览界面,并在该预览界面中显示多媒体数据流。
在步骤204中,当检测到暂停预览的事件时,关闭指定的预览界面。
在用户需要暂停预览多媒体数据流时,通过在预览界面中点击退出的按钮,则会触发暂停预览的事件,此时将创建的预览界面关闭。
在步骤205中,通过目标摄像设备之间的Socket连接向目标摄像设备发送暂停传输多媒体数据流的命令。
其中,发送暂停传输多媒体数据流的命令之后,终端与目标摄像设备之间的Socket连接并不进行断开,一直保持连接的状态,以便用户在关闭用于管理智能设备的应用之前,在用于管理智能设备的应用中再次触发启动预览的事件时,可以实时的传输并显示多媒体数据流,无需重新建立终端与目标摄像设备之间的Socket连接,进而确保用户查看目标摄像设备中拍摄内容的流畅度。
相应的,在步骤205结束后可以重复执行步骤202至步骤205之间的流程。并在最终需要退出用于管理智能设备的应用时,再执行步骤206。因此,本公开实施例不限定步骤之间的先后关系。
在步骤206中,当用于管理智能设备的应用被关闭时,则断开与目标摄像设备之间的Socket连接。
在本公开实施例中,直到用于管理智能设备的应用关闭时,才将终端与目标摄像设备 之间的Socket连接进行断开处理。
本公开实施例通过在预设触发事件触发时建立与目标摄像设备之间的Socket连接,在检测到启动预览的事件时通过该Socket连接下发传输多媒体数据流的命令,并接收目标摄像设备传输的多媒体数据流以进行显示。在用户进行预览时通过预先建立的Socket连接获取目标摄像设备拍摄的内容,提高了预览的实时性以及控制目标摄像设备的效率,降低了预览操作后的延迟。
进一步的,在预设触发事件中用于管理智能设备的应用被关闭时,则断开与目标摄像设备之间的Socket连接,以使用户在用于管理智能设备的应用未被关闭时,都可以通过该Socket连接实时的预览目标摄像设备拍摄的内容。
本公开实施例提供了一种获取多媒体数据流的方法中启动目标摄像设备的方法,如图3所示,本方法实施例应用于终端中,该方法包括:
在步骤301中,在用于管理智能设备的应用被启动时,获取智能设备列表。
在本公开实施例中,获取到的智能设备列表中的目标摄像设备为离线状态。
在步骤302中,如果所述智能设备列表中的目标摄像设备为离线状态且本端与目标摄像设备在同一网络时,向所述目标摄像设备发送启动命令。
其中,终端与目标摄像设备在同一网络,即终端和目标摄像设备共同接入同一个网络设备,例如:用户身处于家中,相应的终端位于家中且目标摄像头也位于家中,终端和目标摄像头都接入同一个网络设备,该网络设备可以为路由器。
其中,终端向目标摄像设备发送的启动命令,可以通过网络直接由终端发送给目标摄像设备;也可以通过网络设备接收该终端发送的启动命令,再通过网络设备转发给目标摄像设备。
处于休眠状态的目标摄像设备在接收到终端发送的启动命令以后,启动唤醒流程进入正常使用状态,此时目标摄像设备向网络设备发送更新自身状态的命令,以使网络设备将目标摄像头的状态由离线状态更新为在线状态。
在步骤303中,更新所述目标摄像设备的在线状态。
由于终端在步骤301中获取到的智能设备列表中目标摄像设备为离线状态,此时需要更新终端中的智能设备列表,以重新获取到目标摄像头的在线状态。其中,更新的方式为终端向网络设备发送更新智能设备列表的请求,以获取网络设备中保存的各智能设备的状态。
步骤303的触发过程可以由用户手动进行更新智能设备列表的操作进行触发;或者,设置发送启动命令后预设时间自动更新智能设备列表的操作方式进行触发。
本公开实施例通过对处于离线状态的目标摄像设备发送启动命令,以启动处于休眠状态的目标摄像设备,进而可以建立终端与目标摄像设备之间的Socket连接。
本公开实施例提供了一种获取多媒体数据流的方法中另一种启动目标摄像设备的方法,如图4所示,本方法实施例应用于终端中,该方法包括:
在步骤401中,在用于管理智能设备的应用被启动时,获取智能设备列表。
在本公开实施例中,获取到的智能设备列表中的目标摄像设备为离线状态。
在步骤402中,如果所述智能设备列表中的目标摄像设备为离线状态且本端与所述目标摄像设备不在同一网络时,采用NAT穿越技术建立Socket连接后向所述目标摄像设备接入的网络设备发送启动命令。
其中,终端与目标摄像设备未在同一网络,即终端和目标摄像设备分别接入不同的网络设备,并由各个网络设备接入网络。例如:用户身处于单位中,相应的终端位于单位中,而目标摄像头位于家中,终端接入单位的网络设备中,目标摄像头接入家中的网络设备,该网络设备可以为路由器。
采用NAT穿越技术建立Socket连接,然后终端向目标摄像设备发送的启动命令,需要发送给目标摄像设备接入的网络设备,再由网络设备转发给目标摄像设备
处于休眠状态的目标摄像设备在接收到终端发送的启动命令以后,启动唤醒流程进入正常使用状态,此时目标摄像设备向云端服务器发送更新自身状态的命令,以使云端服务器将目标摄像头的状态由离线状态更新为在线状态。
在步骤403中,更新所述目标摄像设备的在线状态。
由于终端在步骤401中获取到的智能设备列表中目标摄像设备为离线状态,此时需要更新终端中的智能设备列表,以重新获取到目标摄像头的在线状态。其中,更新的方式为终端向云端服务器发送更新智能设备列表的请求,以获取云端服务器中保存的各智能设备的状态。
步骤403的触发过程可以由用户手动进行更新智能设备列表的操作进行触发;或者,设置发送启动命令后预设时间自动更新智能设备列表的操作方式进行触发。
本公开实施例通过对处于离线状态的目标摄像设备发送启动命令,以启动处于休眠状态的目标摄像设备,进而可以建立终端与目标摄像设备之间的Socket连接。
实施例三
以用户身处于公司通过摄像设备查看家中情况为例,对本公开实施例提供的获取多媒体数据流的方法进行说明,如图5所示,方法流程包括:
在步骤501中,在用于管理智能设备的应用被启动时,通过云端服务器获取家中智能设备列表。
其中,在本公开实施例中,家中的智能设备通过家中的网络设备将自身的在线状态更新给云端服务器,云端服务器用于记录用户终端关联的智能设备列表中各智能设备的在线状态。
如图6所示,该图示出了智能设备列表的界面示意图。其中,用户终端当前关联有三 台智能设备,分别为智能摄像头、机顶盒以及智能电视,如图中所示,智能摄像头在智能设备列表中的标识为浅色即表示该设备为在线状态,而机顶盒和智能电视在智能设备列表中的表示为深色即表示该设备为离线状态。
在步骤502中,在智能设备列表中确定存在有智能摄像头且智能摄像头为在线状态。
在步骤503中,建立与智能摄像头之间的Socket连接。当本端与目标摄像设备不在同一网络下,需要采用NAT穿越技术建立Socket连接。
在步骤504中,当检测到用户在智能设备列表中启动预览智能摄像头拍摄内容的事件时,通过Socket连接向智能摄像头发送传输多媒体数据流的命令。
在步骤505中,接收智能摄像头传输的多媒体数据流,并将多媒体数据流显示于终端屏幕中指定的预览界面中。
如图7所示,该图示出了预览界面的界面示意图。其中包括显示智能摄像头传输的多媒体数据流的显示区域,以及控制智能摄像头的各种控制按钮,例如:后退按钮、开关按钮、拍照按钮、全屏显示按钮等。
在步骤506中,当检测到用户在预览界面中暂停预览智能摄像头拍摄内容的事件时,关闭预览界面。
其中,用户在终端的预览界面中点击后退按钮时会触发暂停预览智能摄像头拍摄内容的事件时关闭预览界面,此时会回到显示智能设备列表的界面。
在步骤507中,通过智能摄像头之间的Socket连接向智能摄像头发送暂停传输多媒体数据流的命令。
用户在对用于管理智能设备的应用关闭前,可以重复执行步骤304-步骤307之间的步骤,以通过预先建立的终端与智能摄像头之间的Socket连接预览智能摄像头拍摄的内容。
在步骤508中,当用于管理智能设备的应用被关闭时,则断开与智能摄像头之间的Socket连接。
本公开实施例通过在在智能设备列表中确定存在有智能摄像头且智能摄像头为在线状态时建立与智能摄像头之间的Socket连接,在检测到用户在智能设备列表中启动预览智能摄像头拍摄内容的事件时通过该Socket连接下发传输多媒体数据流的命令,并接收智能摄像头传输的多媒体数据流以进行显示。在检测到用户在预览界面中暂停预览智能摄像头拍摄内容的事件时,暂停接收智能摄像头传输的多媒体数据流,并维持该Socket连接的连接状态。在用户进行预览时通过预先建立的Socket连接获取目标摄像设备拍摄的内容,提高了预览的实时性以及控制目标摄像设备的效率,降低了预览操作后的延迟。
进一步的,在预设出发事件中用于管理智能设备的应用被关闭时,则断开与目标摄像设备之间的Socket连接,以使用户在用于管理智能设备的应用未被关闭时,都可以通过该Socket连接实时的预览智能摄像头拍摄的内容。
实施例四
本公开实施例提供了一种获取多媒体数据流的装置,参见图8,该装置包括:
建立连接模块801,用于在预设触发事件触发时,建立与目标摄像设备之间的套接字Socket连接;
第一发送模块802,用于在检测到启动预览的事件时,通过Socket连接向目标摄像设备发送传输多媒体数据流的命令;
接收模块803,用于接收目标摄像设备传输的多媒体数据流;
显示模块804,用于将多媒体数据流显示于指定的预览界面中。
其中,建立连接模块801,包括:
获取单元,用于在用于管理智能设备的应用被启动时,获取智能设备列表;
确定单元,用于在智能设备列表中存在有目标摄像设备且目标摄像设备为在线状态时,确定预设触发事件被触发;
建立连接单元,用于建立与目标摄像设备之间的Socket连接。
其中,所述装置还包括:
第二发送模块805,用于在所述智能设备列表中的目标摄像设备为离线状态且本端与所述目标摄像设备在同一网络时,向所述目标摄像设备发送启动命令;
第一更新模块806,用于更新所述目标摄像设备的在线状态。
其中,所述装置还包括:
第三发送模块807,用于在所述智能设备列表中的目标摄像设备为离线状态且本端与所述目标摄像设备不在同一网络时,采用NAT穿越技术建立Socket连接后向所述目标摄像设备接入的网络设备发送启动命令;
第二更新模块808,用于更新所述目标摄像设备的在线状态。
其中,装置还包括:
关闭模块809,用于当检测到暂停预览的事件时,关闭指定的预览界面;
第四发送模块810,用于通过目标摄像设备之间的Socket连接向目标摄像设备发送暂停传输多媒体数据流的命令。
其中,装置还包括:
断开连接模块811,用于当用于管理智能设备的应用被关闭时,则断开与目标摄像设备之间的Socket连接。
本公开实施例通过在预设触发事件触发时建立与目标摄像设备之间的Socket连接,在检测到启动预览的事件时通过该Socket连接下发传输多媒体数据流的命令,并接收目标摄 像设备传输的多媒体数据流以进行显示。在用户进行预览时通过预先建立的Socket连接获取目标摄像设备拍摄的内容,提高了预览的实时性以及控制目标摄像设备的效率,降低了预览操作后的延迟。
实施例五
图9是根据一示例性实施例示出的一种用于获取多媒体数据流的装置900的框图。例如,装置900可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。
参照图9,装置900可以包括以下一个或多个组件:处理组件902,存储器904,电力组件906,多媒体组件908,音频组件910,输入/输出(I/O)的接口912,传感器组件914,以及通信组件916。
处理组件902通常控制装置900的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件902可以包括一个或多个处理器920来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件902可以包括一个或多个模块,便于处理组件902和其他组件之间的交互。例如,处理组件902可以包括多媒体模块,以方便多媒体组件908和处理组件902之间的交互。
存储器904被配置为存储各种类型的数据以支持在设备900的操作。这些数据的示例包括用于在装置900上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器904可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电力组件906为装置900的各种组件提供电力。电力组件906可以包括电源管理系统,一个或多个电源,及其他与为装置900生成、管理和分配电力相关联的组件。
多媒体组件908包括在装置900和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件908包括一个前置摄像头和/或后置摄像头。当设备900处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件910被配置为输出和/或输入音频信号。例如,音频组件910包括一个麦克风(MIC),当装置900处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器904或经由 通信组件916发送。在一些实施例中,音频组件910还包括一个扬声器,用于输出音频信号。
I/O接口912为处理组件902和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件914包括一个或多个传感器,用于为装置900提供各个方面的状态评估。例如,传感器组件914可以检测到设备900的打开/关闭状态,组件的相对定位,例如组件为装置900的显示器和小键盘,传感器组件914还可以检测装置900或装置900一个组件的位置改变,用户与装置900接触的存在或不存在,装置900方位或加速/减速和装置900的温度变化。传感器组件914可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件914还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件914还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件916被配置为便于装置900和其他设备之间有线或无线方式的通信。装置900可以接入基于通信标准的无线网络,如WI-FI,2G或3G,或它们的组合。在一个示例性实施例中,通信组件916经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,通信组件916还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置900可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器904,上述指令可由装置900的处理器920执行以完成上述方法。例如,非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
本公开实施例通过在预设触发事件触发时建立与目标摄像设备之间的Socket连接,在检测到启动预览的事件时通过该Socket连接下发传输多媒体数据流的命令,并接收目标摄像设备传输的多媒体数据流以进行显示。在用户进行预览时通过预先建立的Socket连接获取目标摄像设备拍摄的内容,提高了预览的实时性以及控制目标摄像设备的效率,降低了预览操作后的延迟。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者 适应性变化遵循本发明的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权利要求指出。
应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制。

Claims (13)

  1. 一种获取多媒体数据流的方法,其特征在于,所述方法包括:
    当预设触发事件触发时,建立与目标摄像设备之间的套接字Socket连接;
    当检测到启动预览的事件时,通过所述Socket连接向所述目标摄像设备发送传输多媒体数据流的命令;
    接收所述目标摄像设备传输的多媒体数据流,并将所述多媒体数据流显示于指定的预览界面中。
  2. 根据权利要求1所述的方法,其特征在于,所述当预设触发事件触发时,建立与目标摄像设备之间的套接字Socket连接,包括:
    在用于管理智能设备的应用被启动时,获取智能设备列表;
    如果所述智能设备列表中存在有目标摄像设备且所述目标摄像设备为在线状态,则确定预设触发事件被触发;
    建立与所述目标摄像设备之间的Socket连接。
  3. 根据权利要求2所述的方法,其特征在于,所述获取智能设备列表之后,所述方法还包括:
    如果所述智能设备列表中的目标摄像设备为离线状态且本端与所述目标摄像设备在同一网络时,向所述目标摄像设备发送启动命令;更新所述目标摄像设备的在线状态。
  4. 根据权利要求2所述的方法,其特征在于,所述获取智能设备列表之后,所述方法还包括:
    如果所述智能设备列表中的目标摄像设备为离线状态且本端与所述目标摄像设备不在同一网络时,采用NAT穿越技术建立Socket连接后向所述目标摄像设备接入的网络设备发送启动命令;更新所述目标摄像设备的在线状态。
  5. 根据权利要求1所述的方法,其特征在于,所述接收所述目标摄像设备传输的多媒体数据流,并将所述多媒体数据流显示于指定的预览界面中之后,所述方法还包括:
    当检测到暂停预览的事件时,关闭所述指定的预览界面;
    通过所述目标摄像设备之间的Socket连接向所述目标摄像设备发送暂停传输多媒体数据流的命令。
  6. 根据权利要求1或2所述的方法,其特征在于,所述接收所述目标摄像设备传输的多媒体数据流,并将所述多媒体数据流显示于指定的预览界面中之后,所述方法还包括:
    当所述用于管理智能设备的应用被关闭时,则断开与所述目标摄像设备之间的Socket 连接。
  7. 一种获取多媒体数据流的装置,其特征在于,所述装置包括:
    建立连接模块,用于在预设触发事件触发时,建立与目标摄像设备之间的套接字Socket连接;
    第一发送模块,用于在检测到启动预览的事件时,通过所述Socket连接向所述目标摄像设备发送传输多媒体数据流的命令;
    接收模块,用于接收所述目标摄像设备传输的多媒体数据流;
    显示模块,用于将所述多媒体数据流显示于指定的预览界面中。
  8. 根据权利要求7所述的装置,其特征在于,所述建立连接模块,包括:
    获取单元,用于在用于管理智能设备的应用被启动时,获取智能设备列表;
    确定单元,用于在所述智能设备列表中存在有目标摄像设备且所述目标摄像设备为在线状态时,确定预设触发事件被触发;
    建立连接单元,用于建立与所述目标摄像设备之间的Socket连接。
  9. 根据权利要求8所述的装置,其特征在于,所述装置还包括:
    第二发送模块,用于在所述智能设备列表中的目标摄像设备为离线状态且本端与所述目标摄像设备在同一网络时,向所述目标摄像设备发送启动命令;
    第一更新模块,用于更新所述目标摄像设备的在线状态。
  10. 根据权利要求8所述的装置,其特征在于,所述装置还包括:
    第三发送模块,用于在所述智能设备列表中的目标摄像设备为离线状态且本端与所述目标摄像设备不在同一网络时,采用NAT穿越技术建立Socket连接后向所述目标摄像设备接入的网络设备发送启动命令;
    第二更新模块,用于更新所述目标摄像设备的在线状态。
  11. 根据权利要求7所述的装置,其特征在于,所述装置还包括:
    关闭模块,用于当检测到暂停预览的事件时,关闭所述指定的预览界面;
    第四发送模块,用于通过所述目标摄像设备之间的Socket连接向所述目标摄像设备发送暂停传输多媒体数据流的命令。
  12. 根据权利要求7或8所述的装置,其特征在于,所述装置还包括:
    断开连接模块,用于当所述用于管理智能设备的应用被关闭时,则断开与所述目标摄像设备之间的Socket连接。
  13. 一种获取多媒体数据流的装置,其特征在于,包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为:
    当预设触发事件触发时,建立与目标摄像设备之间的套接字Socket连接;
    当检测到启动预览的事件时,通过所述Socket连接向所述目标摄像设备发送传输多媒体数据流的命令;
    接收所述目标摄像设备传输的多媒体数据流,并将所述多媒体数据流显示于指定的预览界面中。
PCT/CN2015/071881 2014-08-15 2015-01-30 获取多媒体数据流的方法及装置 WO2016023344A1 (zh)

Priority Applications (6)

Application Number Priority Date Filing Date Title
BR112015007842A BR112015007842A2 (pt) 2014-08-15 2015-01-30 método para um terminal adquirir uma sequência de dados de multimídia e dispositivo para aquisição de sequência de dados de multimídia
JP2016541808A JP6101872B2 (ja) 2014-08-15 2015-01-30 マルチメディア・データストリームを取得するための方法及装置、プログラム及び記録媒体
KR1020157008128A KR20160030464A (ko) 2014-08-15 2015-01-30 멀티미디어 데이터 스트림의 획득 방법, 획득 장치, 프로그램 및 기록매체
RU2015114087A RU2612389C2 (ru) 2014-08-15 2015-01-30 Способ и устройство получения потока мультимедийных данных
MX2015004790A MX353881B (es) 2014-08-15 2015-01-30 Método y dispositivo para adquirir flujo de datos de multimedia.
US14/809,466 US20160050237A1 (en) 2014-08-15 2015-07-27 Method and device for acquiring multimedia data stream

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410403536.8 2014-08-15
CN201410403536.8A CN104184944B (zh) 2014-08-15 2014-08-15 获取多媒体数据流的方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/809,466 Continuation US20160050237A1 (en) 2014-08-15 2015-07-27 Method and device for acquiring multimedia data stream

Publications (1)

Publication Number Publication Date
WO2016023344A1 true WO2016023344A1 (zh) 2016-02-18

Family

ID=51965652

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/071881 WO2016023344A1 (zh) 2014-08-15 2015-01-30 获取多媒体数据流的方法及装置

Country Status (8)

Country Link
EP (1) EP2985989B1 (zh)
JP (1) JP6101872B2 (zh)
KR (1) KR20160030464A (zh)
CN (1) CN104184944B (zh)
BR (1) BR112015007842A2 (zh)
MX (1) MX353881B (zh)
RU (1) RU2612389C2 (zh)
WO (1) WO2016023344A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111770208A (zh) * 2019-09-29 2020-10-13 北京沃东天骏信息技术有限公司 一种物联设备的控制方法和装置
CN114461423A (zh) * 2022-02-08 2022-05-10 腾讯科技(深圳)有限公司 一种多媒体流处理方法、设备、存储介质及程序产品

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104184944B (zh) * 2014-08-15 2016-03-16 小米科技有限责任公司 获取多媒体数据流的方法及装置
CN105263134A (zh) * 2015-10-08 2016-01-20 惠州Tcl移动通信有限公司 一种图像传输方法及移动设备
CN106210508B (zh) * 2016-06-24 2019-09-27 维沃移动通信有限公司 一种拍摄预览方法、可穿戴设备及移动终端
KR102593824B1 (ko) 2016-08-31 2023-10-25 삼성전자주식회사 카메라를 제어하기 위한 방법 및 그 전자 장치
CN106533848B (zh) * 2016-10-13 2019-12-13 北京小米移动软件有限公司 数据获取方法及装置
CN106817428A (zh) * 2017-02-13 2017-06-09 浙江风向标科技有限公司 一种离线检测的方法和装置
CN107707972B (zh) * 2017-09-27 2020-12-25 三星电子(中国)研发中心 用于屏幕共享的数据处理方法、装置、系统及电子设备
CN107820100B (zh) * 2017-10-30 2020-08-28 北京四达时代软件技术股份有限公司 互联网音视频播放方法及装置
CN109246123B (zh) * 2018-09-30 2021-10-22 广州酷狗计算机科技有限公司 媒体流获取方法及装置
CN109714318A (zh) * 2018-12-06 2019-05-03 斑马网络技术有限公司 车机控制方法、装置、电子设备及存储介质
CN109717961A (zh) * 2018-12-29 2019-05-07 宋明海 医用设备模式解析平台
CN110213533B (zh) * 2019-05-10 2021-04-30 视联动力信息技术股份有限公司 一种视联网监控视频流的获取方法及装置
CN112073747A (zh) * 2020-09-18 2020-12-11 普联技术有限公司 一种流媒体数据预览方法、用户端设备及中继服务器
CN114422758A (zh) * 2022-01-26 2022-04-29 杭州涂鸦信息技术有限公司 一种设备出流方法、系统、网络摄像机及通信系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724396A (zh) * 2012-07-12 2012-10-10 天瀚科技(吴江)有限公司 基于wifi的无线实时显示、控制及云存储的摄像系统
CN102869123A (zh) * 2012-08-02 2013-01-09 Tcl集团股份有限公司 应用于智能显示设备的虚拟外设数据采集方法及系统
CN103862457A (zh) * 2014-03-13 2014-06-18 湖南信息职业技术学院 一种带视觉系统的服务机器人
CN104184944A (zh) * 2014-08-15 2014-12-03 小米科技有限责任公司 获取多媒体数据流的方法及装置

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1443414B1 (en) * 2001-11-01 2017-04-26 Sony Corporation Communication system and method, information processing terminal and method, and information processing apparatus and method
JP2005176235A (ja) * 2003-12-15 2005-06-30 Canon Inc システム
RU90230U1 (ru) * 2009-04-02 2009-12-27 Общество с ограниченной ответственностью "ДВИН" Система видеонаблюдения с общим сервером в сети интернет
CN101848235B (zh) * 2010-04-16 2012-10-17 北京航空航天大学 一种支持nat穿越的实时多媒体数据p2p传输方案
US9323713B2 (en) * 2011-11-14 2016-04-26 Screenovate Technologies Ltd. Method for automatic establishing wireless connectivity between a mobile wireless device and a target screen for multimedia data streaming
CN102694869B (zh) * 2012-06-06 2015-04-08 广东威创视讯科技股份有限公司 一种信号源的接入方法和系统
CN102868913B (zh) * 2012-09-29 2016-08-17 Tcl数码科技(深圳)有限责任公司 一种远程同步虚拟监控方法及系统
CN103442224A (zh) * 2013-09-09 2013-12-11 杭州巨峰科技有限公司 一种基于nat穿透的视频监控访问策略和实现方法
CN103605342B (zh) * 2013-11-21 2016-02-03 福州大学 基于互联网的远程分布式控制系统及方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724396A (zh) * 2012-07-12 2012-10-10 天瀚科技(吴江)有限公司 基于wifi的无线实时显示、控制及云存储的摄像系统
CN102869123A (zh) * 2012-08-02 2013-01-09 Tcl集团股份有限公司 应用于智能显示设备的虚拟外设数据采集方法及系统
CN103862457A (zh) * 2014-03-13 2014-06-18 湖南信息职业技术学院 一种带视觉系统的服务机器人
CN104184944A (zh) * 2014-08-15 2014-12-03 小米科技有限责任公司 获取多媒体数据流的方法及装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111770208A (zh) * 2019-09-29 2020-10-13 北京沃东天骏信息技术有限公司 一种物联设备的控制方法和装置
CN114461423A (zh) * 2022-02-08 2022-05-10 腾讯科技(深圳)有限公司 一种多媒体流处理方法、设备、存储介质及程序产品

Also Published As

Publication number Publication date
CN104184944B (zh) 2016-03-16
KR20160030464A (ko) 2016-03-18
MX2015004790A (es) 2016-04-27
MX353881B (es) 2018-01-31
EP2985989A1 (en) 2016-02-17
BR112015007842A2 (pt) 2017-07-04
JP2016535544A (ja) 2016-11-10
EP2985989B1 (en) 2020-10-21
JP6101872B2 (ja) 2017-03-22
RU2015114087A (ru) 2016-11-10
RU2612389C2 (ru) 2017-03-09
CN104184944A (zh) 2014-12-03

Similar Documents

Publication Publication Date Title
WO2016023344A1 (zh) 获取多媒体数据流的方法及装置
CN105159672B (zh) 远程协助方法和客户端
WO2016107078A1 (zh) 智能设备的绑定方法和装置
WO2017101517A1 (zh) 设备绑定方法和装置
WO2017071088A1 (zh) 图像获取方法及装置
WO2016192326A1 (zh) 云名片的发送方法和装置
WO2017020408A1 (zh) 视频录制方法和装置
WO2017000490A1 (zh) 报警方法及装置
WO2016023340A1 (zh) 一种切换摄像头的方法和装置
EP3054717A1 (en) Methods and apparatuses for binding with device
WO2016101482A1 (zh) 连接方法及装置
WO2016134600A1 (zh) 智能设备检测方法和装置
WO2017219347A1 (zh) 直播显示方法、装置及系统
WO2017092247A1 (zh) 一种播放多媒体数据的方法、装置及系统
WO2017088376A1 (zh) 连接被控智能设备的方法及装置
KR101808773B1 (ko) 목표 기능의 시작 방법, 장치, 시스템, 프로그램 및 기록매체
KR101845404B1 (ko) 이미지 전송방법, 장치, 프로그램 및 기록매체
WO2017214763A1 (zh) 上传视频的方法、装置及摄像装置
WO2016015403A1 (zh) 一种接入wi-fi网络的方法及装置
WO2015161588A1 (zh) 一种配置拍摄参数的方法及装置
WO2017045299A1 (zh) 连接解除方法及装置
WO2015149524A1 (zh) 处理呼叫占线的方法、装置和系统
WO2020088059A1 (zh) 视频播放方法、视频播放装置、电子设备及存储介质
WO2017008400A1 (zh) 控制智能设备的方法及装置
WO2017148120A1 (zh) 获取图像的方法、装置及系统

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2016541808

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 20157008128

Country of ref document: KR

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: MX/A/2015/004790

Country of ref document: MX

ENP Entry into the national phase

Ref document number: 2015114087

Country of ref document: RU

Kind code of ref document: A

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112015007842

Country of ref document: BR

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

Ref document number: 15832586

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 112015007842

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20150408

122 Ep: pct application non-entry in european phase

Ref document number: 15832586

Country of ref document: EP

Kind code of ref document: A1