WO2024012292A1 - 远程拍摄方法、装置、设备及存储介质 - Google Patents

远程拍摄方法、装置、设备及存储介质 Download PDF

Info

Publication number
WO2024012292A1
WO2024012292A1 PCT/CN2023/105211 CN2023105211W WO2024012292A1 WO 2024012292 A1 WO2024012292 A1 WO 2024012292A1 CN 2023105211 W CN2023105211 W CN 2023105211W WO 2024012292 A1 WO2024012292 A1 WO 2024012292A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
multicast
local area
shooting
area network
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.)
Ceased
Application number
PCT/CN2023/105211
Other languages
English (en)
French (fr)
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 Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to US18/876,179 priority Critical patent/US20250386095A1/en
Publication of WO2024012292A1 publication Critical patent/WO2024012292A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • 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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5069Address allocation for group communication, multicast communication or broadcast communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]

Definitions

  • the present disclosure relates to the field of information interaction technology, and in particular, to a remote shooting method, device, electronic equipment, computer-readable storage medium, computer program product, and computer program.
  • the shooting screen of the shooting terminal needs to be shared with the remote control terminal, so that the remote control terminal can control the shooting terminal Take remote shots.
  • the remote control terminal can be discovered through User Datagram Protocol (UDP) broadcast in the wireless network or the local area network corresponding to the hotspot that the shooting terminal is connected to, thereby connecting the shooting terminal and the remote control terminal and then transmitting
  • UDP User Datagram Protocol
  • TCP Transmission Control Protocol
  • the present disclosure provides a remote shooting method, device, electronic equipment, computer-readable storage medium, computer program product, and computer program.
  • an embodiment of the present disclosure provides a remote shooting method, including:
  • the first terminal receives a remote shooting request, the remote shooting request is used to instruct the first terminal to search for a second terminal, and the second terminal is used to send a shooting instruction to the first terminal;
  • the first terminal determines the host Internet protocol address range of the second terminal in the local area network
  • the first terminal sends a unicast message to the second terminal, the unicast message is used to request to obtain the information of the second terminal in the local area network .
  • an embodiment of the present disclosure provides a remote shooting device, including:
  • a receiving module configured for the first terminal to receive a remote shooting request, the remote shooting request is used to instruct the first terminal to search for a second terminal, and the second terminal is used to send a shooting instruction to the first terminal;
  • a processing module configured to determine the host Internet protocol address range of the second terminal in the local area network if the multicast of the local area network corresponding to the wireless network or hotspot accessed by the first terminal is abnormal;
  • a sending module configured to send a unicast message to the second terminal according to the host Internet protocol address range of the second terminal, where the unicast message is used to request to obtain information about the second terminal in the local area network.
  • an electronic device including:
  • Memory used to store computer programs
  • the processor is configured to implement the remote shooting method as described in the above first aspect and various possible designs of the first aspect by executing the computer program.
  • embodiments of the present disclosure provide a computer-readable storage medium.
  • Computer-executable instructions are stored in the computer-readable storage medium.
  • the processor executes the computer-executable instructions, the above first aspect and the first aspect are implemented. Remote shooting methods are described in terms of various possible designs.
  • embodiments of the present disclosure provide a computer program product, including a computer program that, when executed by a processor, implements the remote shooting method described in the above first aspect and various possible designs of the first aspect.
  • embodiments of the present disclosure provide a computer program that, when executed by a processor, implements the remote shooting method described in the above first aspect and various possible designs of the first aspect.
  • Figure 1 is a schematic diagram of an application scenario of a remote shooting method provided by an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of a remote shooting method provided by an embodiment of the present disclosure.
  • FIG. 3 is a schematic flowchart of another remote shooting method provided by an embodiment of the present disclosure.
  • FIG. 4 is a schematic flowchart of yet another remote shooting method provided by an embodiment of the present disclosure.
  • FIG. 5 is a structural block diagram of a remote shooting device provided by an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of an electronic device according to an example embodiment of the present disclosure.
  • the term “include” and its variations are open-ended, ie, “including but not limited to.”
  • the term “based on” means “based at least in part on.”
  • the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one additional embodiment”; the term “some embodiments” means “at least some implementations”. Example”. Relevant definitions of other terms will be given in the description below.
  • the shooting screen of the shooting terminal needs to be shared with the remote control terminal, so that the remote control terminal can control the shooting terminal Take remote shots.
  • the remote control terminal can be discovered through UDP broadcast in the wireless network or the local area network corresponding to the hotspot that the shooting terminal is connected to, so that after connecting the shooting terminal and the remote control terminal, the video preview frame and shooting instructions are transmitted through TCP.
  • UDP broadcast in the wireless network or the local area network corresponding to the hotspot that the shooting terminal is connected to, so that after connecting the shooting terminal and the remote control terminal, the video preview frame and shooting instructions are transmitted through TCP.
  • receiving relevant data entirely through UDP broadcast will increase the workload of the router, and because some routers will restrict UDP broadcast or multicast, it is impossible to ensure that the shooting terminal and the remote control terminal establish a remote shooting connection.
  • embodiments of the present disclosure provide a remote shooting method, device, equipment and storage medium.
  • the multicast When the multicast is abnormal, by determining the host Internet protocol address range of the second terminal in the local area network, traverse to the third terminal in the local area network.
  • the second terminal sends a unicast message, thereby ensuring that the shooting terminal and the remote control terminal establish a remote shooting connection.
  • Figure 1 is a schematic diagram of an application scenario of a remote shooting method provided by an embodiment of the present application.
  • the user before the user uses the shooting terminal 101 to shoot, the user can search for the remote control terminal 102 in the wireless network or the local area network corresponding to the hotspot that the shooting terminal 101 is connected to, thereby sharing the shooting screen of the shooting terminal 101 with the remote control terminal 102, and controls the photography terminal 101 to perform remote photography through the remote control terminal 102.
  • the shooting terminal 101 searches for the remote control terminal 102, it can establish a remote shooting connection with the remote control terminal 102, and then the remote control terminal 102 sends a shooting instruction to the shooting terminal 101.
  • the shooting terminal 101 is a terminal with shooting function
  • the shooting terminal 101 and the remote control terminal 102 can be a tablet computer (Portable Android Device, referred to as PAD), a computer with a wireless transceiver function, or a virtual reality (Virtual Reality, referred to as VR) terminal.
  • PAD Portable Android Device
  • VR virtual reality
  • AR augmented reality
  • the device used to implement the function of the terminal may be a terminal, or may be a device capable of supporting the terminal to implement the function, such as a chip system, and the device may be installed in the terminal.
  • the chip system may be composed of chips, or may include chips and other discrete devices.
  • the remote shooting device can be part or all of a certain device, such as a terminal device or a processor of the terminal device.
  • FIG. 2 is a schematic flowchart of a remote shooting method provided by an embodiment of the present disclosure.
  • the execution subject of this embodiment is the first terminal.
  • This embodiment involves the process of how the first terminal searches for the second terminal that is a remote control terminal.
  • This remote shooting method includes:
  • the first terminal receives a remote shooting request.
  • the remote shooting request is used to instruct the first terminal to search for the second terminal.
  • the second terminal is used to send a shooting instruction to the first terminal.
  • the user before the user uses the first terminal to perform remote shooting, the user can input a remote shooting request to the first terminal, so that the first terminal searches for the second terminal as the remote control terminal.
  • the above-mentioned first terminal may be a photography terminal that performs photography, such as a mobile phone, a tablet computer, a camera, etc.
  • the above-mentioned second terminal is a remote control terminal that shares the shooting screen of the first terminal and sends shooting instructions to the first terminal, such as a smart watch, a mobile phone, a remote control, etc.
  • the embodiments of the present application do not limit how to input a remote shooting request to the first terminal.
  • the user can input a remote shooting request to the first terminal by triggering corresponding controls on the first terminal.
  • the first terminal determines the host Internet protocol address range of the second terminal in the local area network.
  • the first terminal when the first terminal receives a remote shooting request input by the user, it first attempts to use multicast to search for the second terminal. If the multicast is abnormal in the wireless network or the local area network corresponding to the hotspot that the first terminal accesses, then the first terminal will Determine the host Internet Protocol address (Internet Protocol, IP for short) range of the second terminal in the local area network.
  • Internet Protocol Internet Protocol
  • the embodiments of the present application do not limit the type of the above multicast.
  • the above multicast may be UDP multicast.
  • wireless networks or hotspots can include WiFi, mobile phone hotspots, car hotspots, etc.
  • the first terminal may first determine whether the first terminal is connected to a wireless network or hotspot. If the first terminal is not connected to a wireless network or hotspot, prompt information may be displayed on the display interface of the first terminal. The information is used to prompt the user to connect the first terminal to the wireless network or hotspot. If the first terminal accesses the wireless network or hotspot, it joins the multicast and starts listening to the multicast. Subsequently, the first terminal can determine whether multicast is normally enabled. If the multicast is normal, a multicast message is sent to the second terminal in the local area network. The multicast message is also used to request to obtain the information of the second terminal in the local area network. If the multicast is abnormal, the host Internet protocol address range of the second terminal is determined in the local area network.
  • the first terminal can be determined by whether the first terminal receives a feedback message sent by the second terminal within a preset time after sending the multicast. to make sure.
  • the preset time may be 3 seconds. If the first terminal receives at least one feedback message sent by the second terminal within 3 seconds after sending the multicast, it is determined that the multicast is normal. If the first terminal does not receive at least one feedback message sent by the second terminal within 3 seconds after sending the multicast, it is determined that the multicast is abnormal.
  • the first terminal first uses multicast to search for the second terminal. Since multicast is used to replace broadcast, the number of terminals that receive data during the search for the second terminal can be reduced, thereby reducing the workload of the router. .
  • the embodiments of the present application do not limit how to determine the host Internet protocol address range of the second terminal.
  • the host of the second terminal can be determined based on the local Internet protocol address and subnet mask in the local area network. Internet Protocol address range.
  • the first terminal sends a unicast message to the second terminal.
  • the unicast message is used to request to obtain the information of the second terminal in the local area network.
  • the first terminal when it determines the Internet protocol address range of the second terminal in the local area network, it can traversely send a unicast message to the second terminal according to the host Internet protocol address range of the second terminal, thereby obtaining the second terminal Information.
  • the second terminal may send a feedback message to the first terminal, where the feedback message includes information about the second terminal. Subsequently, the first terminal updates the list of second terminals to which the first terminal can connect based on the feedback message.
  • the first terminal may display a list of connectable second terminals so that the user can select the second terminal to establish a remote shooting connection. After the user selects a suitable second terminal, the user can input an instruction message to the first terminal so that the first terminal establishes a remote shooting connection with the selected second terminal.
  • the remote shooting connection is used to share the shooting screen of the first terminal with the second terminal and send shooting instructions to the first terminal through the second terminal.
  • the first terminal may determine that sending the unicast message fails. At this time, the first terminal may determine whether to send the unicast message according to the local Internet protocol of the first terminal.
  • the address generates a QR code and displays the QR code.
  • the user can directly use the second terminal to scan the QR code, so that the second terminal obtains the local Internet protocol address of the first terminal, so as to establish a remote shooting connection between the first terminal and the second terminal.
  • the preset time may be 5 seconds, 10 seconds, 30 seconds, etc.
  • a remote shooting connection between the first terminal and the second terminal can be directly established by sending a unicast message or generating a QR code to scan, thereby improving the success rate of establishing a remote shooting connection.
  • the first terminal first receives a remote shooting request, the remote shooting request is used to instruct the first terminal to search for the second terminal, and the second terminal is used to send a shooting instruction to the first terminal. Subsequently, if the multicast of the local area network corresponding to the wireless network or hotspot accessed by the first terminal is abnormal, the first terminal determines the host Internet protocol address range of the second terminal in the local area network. Finally, according to the host Internet protocol address range of the second terminal, the first terminal sends a unicast message to the second terminal, and the unicast message is used to request to obtain the information of the second terminal in the local area network.
  • the host Internet protocol address range of the second terminal can be determined in the LAN, thereby traversing the unicast message to the second terminal in the LAN, ensuring that the first terminal used for shooting and The second terminal used for remote control establishes a remote shooting connection.
  • FIG. 3 is a schematic flowchart of another remote photography method provided by an embodiment of the present disclosure. As shown in Figure 3, the remote photography method includes:
  • the first terminal After the first terminal turns on the wireless network or hotspot function, the first terminal searches for a second terminal that provides services through the multi-point connection function of the target operating system.
  • the wireless network or hotspot function can be a WiFi function, a hotspot function, etc.
  • the embodiments of the present disclosure do not limit the target operating system, such as IOS system, Android system, etc.
  • the target operating system is an IOS system
  • the first terminal receives the information of the second terminal sent by the second terminal.
  • the information of the second terminal is carried in a unicast message, a multicast message or an additional message of the multipoint connection function.
  • the first terminal updates the list of second terminals to which the first terminal can connect based on the information of the second terminal.
  • the first terminal can not only search for the second terminal by sending multicast information and unicast messages, but can also use the multi-point connection function of the target operating system to search for the second terminal.
  • the list of second terminals to which the first terminal can connect includes indication information, and the indication information is used to indicate the operating system of the second terminal.
  • the indication information in the list of second terminals to which the first terminal can be connected may indicate the dimension information of each second terminal, and may include the name of the second terminal and the name of the operating system. If the operating system is an IOS system, the above instruction information may further include the name of the IOS device.
  • the name of the operating system can indicate the type information of the operating system. For example, if the character at a specific position in the name of the operating system is 1, the operating system can be an IOS system; if the character at a specific position in the name of the operating system is 2, the operating system can be an Android system.
  • Figure 4 is a schematic flowchart of yet another remote photography method provided by an embodiment of the present disclosure. As shown in Figure 4, the remote photography method includes:
  • S401 Receive a remote shooting request.
  • the remote shooting request is used to instruct the first terminal to search for the second terminal.
  • the second terminal is used to send a shooting instruction to the first terminal.
  • S402. Determine whether the wireless network or hotspot is turned on.
  • step S404 If yes, execute step S404; if not, execute step S403.
  • step S405 If yes, execute step S405; if not, execute step S407.
  • step S416 If yes, execute step S416; if not, execute step S407.
  • S407. Determine whether to access the wireless network or hotspot.
  • step S408 If yes, execute step S408; if not, execute step S403.
  • step S412 If yes, execute step S412; if not, execute step S410.
  • step S416 If yes, execute step S416; if not, execute step S412.
  • S412. Determine the host Internet protocol address range of the second terminal in the local area network.
  • step S416 If yes, execute step S416; if not, execute step S415.
  • step S418 is executed.
  • S417 Receive indication information input by the user, where the indication information is used to indicate the second terminal selected from the list of second terminals.
  • the first terminal first receives a remote shooting request, the remote shooting request is used to instruct the first terminal to search for the second terminal, and the second terminal is used to send a shooting instruction to the first terminal. Subsequently, if the multicast of the local area network corresponding to the wireless network or hotspot accessed by the first terminal is abnormal, the first terminal determines the host Internet protocol address range of the second terminal in the local area network. Finally, according to the host Internet protocol address range of the second terminal, the first terminal sends a unicast message to the second terminal, and the unicast message is used to request to obtain the information of the second terminal in the local area network.
  • the host Internet protocol address range of the second terminal can be determined in the LAN, thereby traversing the unicast message to the second terminal in the LAN, ensuring that the first terminal used for shooting and The second terminal used for remote control establishes a remote shooting connection.
  • FIG. 5 is a structural block diagram of a remote shooting device provided by an embodiment of the present disclosure.
  • the remote shooting device 500 includes: a receiving module 501 , a processing module 502 and a sending module 503 .
  • the receiving module 501 is used for the first terminal to receive a remote shooting request, the remote shooting request is used to instruct the first terminal to search for the second terminal, and the second terminal is used to send a shooting instruction to the first terminal;
  • the processing module 502 is used to determine the host Internet protocol address range of the second terminal in the local area network if the multicast of the local area network corresponding to the wireless network or hotspot accessed by the first terminal is abnormal;
  • the sending module 503 is configured to send a unicast message to the second terminal according to the host Internet protocol address range of the second terminal.
  • the unicast message is used to request to obtain the information of the second terminal in the local area network.
  • the processing module 502 is specifically configured to determine the host Internet protocol address range of the second terminal according to the local Internet protocol address and subnet mask in the local area network.
  • the receiving module 501 is also configured to receive a feedback message sent by the second terminal, where the feedback message contains information about the second terminal;
  • the processing module 502 is also configured to update the list of second terminals to which the first terminal can connect based on the feedback message.
  • the processing module 502 is also configured to select a second terminal that establishes a remote shooting connection with the first terminal from the list of second terminals according to the instruction information input by the user.
  • the method is to share the shooting screen of the first terminal with the second terminal and send the shooting instruction input by the user to the first terminal through the second terminal.
  • the processing module 502 is also configured to generate a QR code according to the local Internet protocol address of the first terminal if the feedback message sent by the second terminal is not received within a preset time.
  • the second terminal is caused to establish a remote shooting connection with the first terminal according to the local Internet protocol address of the first terminal when scanning the QR code.
  • the processing module 502 is also used to join and monitor the multicast; determine whether the multicast is normally enabled;
  • the sending module 503 is also used to send a multicast message to the second terminal in the local area network if the multicast is normal.
  • the multicast message is used to request to obtain the information of the second terminal in the local area network.
  • the processing module 502 is also used to determine whether to access the wireless network or hotspot; if the first terminal does not access the wireless network or hotspot, display a prompt on the display interface of the first terminal information, The prompt information is used to prompt the user to connect the first terminal to the wireless network or hotspot.
  • the processing module 502 is specifically configured to join and listen to the groupcast if the first terminal accesses the wireless network or hotspot.
  • the processing module 502 is also configured to search for a second terminal that provides services through the multi-point connection function of the target operating system after the first terminal turns on the wireless network or hotspot function;
  • the receiving module 501 is also used to receive the information of the second terminal sent by the second terminal;
  • the processing module 502 is also configured to update the list of second terminals to which the first terminal can connect based on the information of the second terminal.
  • the information also for the second terminal is carried in a unicast message, a multicast message, or an additional message of the multipoint connection function.
  • the list of second terminals to which the first terminal can be connected also contains indication information, and the indication information is used to indicate the operating system of the second terminal.
  • FIG. 6 is a schematic structural diagram of an electronic device according to an example embodiment of the present disclosure. As shown in FIG. 6 , it shows a schematic structural diagram of an electronic device 600 suitable for implementing embodiments of the present disclosure.
  • Terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (Personal Digital Assistant, PDA for short), tablet computers (Portable Android Device, PAD for short), portable multimedia Players (Portable Media Player, PMP for short), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), wearable electronic devices and other mobile terminals with image acquisition functions, as well as external devices with image acquisition functions such as digital TVs, desktop computers, smart home devices, etc. Get the fixed terminal of the device.
  • the electronic device shown in FIG. 6 is only an example and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.
  • the electronic device 600 may include a processing device (such as a central processing unit, a graphics processor, etc.) 601, which may process data according to a program stored in a read-only memory (Read Only Memory, ROM for short) 602 or from a storage device. 608 loads the program in the random access memory (Random Access Memory, RAM for short) 603 to perform various appropriate actions and processing. In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored.
  • the processing device 601, ROM 602 and RAM 603 are connected to each other via a bus 604.
  • An input/output (I/O for short) interface 605 is also connected to bus 604.
  • the memory is used to store programs for executing the methods of each of the above method embodiments; the processor is configured to execute the programs stored in the memory to implement the functions of the above embodiments of the present disclosure and/or other desired functions.
  • the following devices can be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a Liquid Crystal Display (LCD). ), an output device 607 such as a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. Communication device 609 may allow electronic device 600 to communicate wirelessly or wiredly with other devices to exchange data.
  • FIG. 6 illustrates electronic device 600 with various means, it should be understood that implementation or availability of all illustrated means is not required. More or fewer means may alternatively be implemented or provided.
  • embodiments of the present disclosure include a computer program product including, hosted on a non-transitory computer A computer program on a readable medium, the computer program containing program code for performing the method shown in the flowchart of an embodiment of the present disclosure.
  • the computer program may be downloaded and installed from the network via communication device 609, or from storage device 608, or from ROM 602.
  • the processing device 601 the above functions defined in the method of the embodiment of the present disclosure are performed.
  • the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two.
  • the computer-readable storage medium may be, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination thereof. More specific examples of computer readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard drives, RAM, ROM, Erasable Programmable Read Only Memory (EPROM for short) or flash memory, optical fiber, portable compact disk read only memory (Compact Disk Read Only Memory (CD-ROM for short)), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above.
  • a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device .
  • Program code contained on a computer-readable medium can be transmitted using any appropriate medium, including but not limited to: wires, optical cables, radio frequency (Radio Frequency, RF for short), etc., or any suitable combination of the above.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; it may also exist independently without being assembled into the electronic device.
  • the computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device performs the above method.
  • Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and Includes conventional procedural programming languages—such as "C” or similar programming languages.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
  • the remote computer can be connected to the user's computer through any kind of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or it can be connected to an external computer Computer (e.g. connected via the Internet using an Internet service provider).
  • LAN Local Area Network
  • WAN Wide Area Network
  • the client and server can communicate using any currently known or future developed network protocol such as Hyper Text Transfer Protocol (HTTP), and can communicate with any form or medium.
  • Digital data communications e.g., communications networks
  • Examples of communication networks include LANs, WANs, the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
  • each block in the flowchart or block diagram may represent a module, segment, or portion of code that contains one or more logic functions that implement the specified executable instructions.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown one after another may actually execute substantially in parallel, or they may sometimes execute in the reverse order, depending on the functionality involved.
  • each block of the block diagram and/or flowchart illustration, and combinations of blocks in the block diagram and/or flowchart illustration can be implemented by special purpose hardware-based systems that perform the specified functions or operations. , or can be implemented using a combination of specialized hardware and computer instructions.
  • the modules involved in the embodiments of the present disclosure can be implemented in software or hardware. Among them, the name of the module does not constitute a limitation on the unit itself under certain circumstances.
  • exemplary types of hardware logic components include: Field Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Products ( Application Specific Standard Parts (ASSP for short), System on Chip (SOC for short), Complex Programmable Logic Device (CPLD for short), etc.
  • FPGA Field Programmable Gate Array
  • ASIC Application Specific Integrated Circuit
  • ASSP Application Specific Standard Parts
  • SOC System on Chip
  • CPLD Complex Programmable Logic Device
  • computer-readable media may be tangible media that may contain or store a program for use by or in connection with an instruction execution system, apparatus, or device.
  • the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium.
  • Computer-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any suitable combination of the foregoing. More specific examples of computer-readable storage media may include electrical connections based on one or more wires, portable computer disks, hard drives, RAM, ROM), EPROM or flash memory, optical fiber, CD-ROM, optical storage devices, magnetic storage equipment, or any suitable combination of the above.
  • a remote shooting method including:
  • the first terminal receives a remote shooting request, the remote shooting request is used to instruct the first terminal to search for a second terminal, and the second terminal is used to send a shooting instruction to the first terminal;
  • the first terminal determines the host Internet protocol address range of the second terminal in the local area network
  • the first terminal sends a unicast message to the second terminal, the unicast message is used to request to obtain the information of the second terminal in the local area network .
  • the first terminal determines the host Internet protocol address range of the second terminal in the local area network, including:
  • the first terminal determines the host Internet protocol address range of the second terminal based on the local Internet protocol address and subnet mask in the local area network.
  • the method further includes:
  • the first terminal receives a feedback message sent by the second terminal, where the feedback message contains information about the second terminal;
  • the first terminal updates a list of second terminals to which the first terminal can connect based on the feedback message.
  • the method further includes:
  • the first terminal selects from the list of second terminals a second terminal that establishes a remote shooting connection with the first terminal according to the instruction information input by the user.
  • the remote shooting connection is used to connect the first terminal to the first terminal.
  • the shooting screen is shared with the second terminal and the shooting instruction input by the user is sent to the first terminal through the second terminal.
  • the method further includes:
  • the first terminal If the feedback message sent by the second terminal is not received within the preset time, the first terminal generates a QR code according to the local Internet protocol address of the first terminal, so that the second terminal scans all the QR codes.
  • the QR code When using the QR code, the remote shooting connection is established with the first terminal according to the local Internet protocol address of the first terminal.
  • the first terminal determines the first terminal in the local area network. Before the host Internet protocol address range of the second terminal is determined, the method further includes:
  • the first terminal joins and monitors the multicast
  • the first terminal determines whether the multicast is normally enabled
  • the first terminal sends a multicast message to the second terminal in the local area network, and the multicast message is used to request to obtain the information of the second terminal in the local area network. .
  • the method before the first terminal joins and listens to the groupcast, the method further includes:
  • the first terminal determines whether to access a wireless network or hotspot
  • the first terminal displays prompt information on the display interface of the first terminal, and the prompt information is used to prompt the user to connect the first terminal to the wireless network or hotspot. Connect to a wireless network or hotspot.
  • the first terminal joins and monitors the groupcast, including:
  • the first terminal accesses the wireless network or hotspot, the first terminal joins and monitors the multicast.
  • the method further includes:
  • the first terminal After the first terminal turns on the wireless network or hotspot function, the first terminal searches for a second terminal that provides services through the multi-point connection function of the target operating system;
  • the first terminal receives the information of the second terminal sent by the second terminal;
  • the first terminal updates a list of second terminals to which the first terminal can connect based on the information of the second terminal.
  • the information of the second terminal is carried in a unicast message, a multicast message, or an additional message of the multipoint connection function.
  • the list of second terminals to which the first terminal can be connected includes indication information, and the indication information is used to indicate the operating system of the second terminal.
  • a remote shooting device including:
  • a receiving module configured for the first terminal to receive a remote shooting request, the remote shooting request is used to instruct the first terminal to search for a second terminal, and the second terminal is used to send a shooting instruction to the first terminal;
  • a processing module configured to determine the host Internet protocol address range of the second terminal in the local area network if the multicast of the local area network corresponding to the wireless network or hotspot accessed by the first terminal is abnormal;
  • a sending module configured to send a unicast message to the second terminal according to the host Internet protocol address range of the second terminal, where the unicast message is used to request acquisition of information about the second terminal in the local area network.
  • the processing module is specifically configured to determine the host Internet protocol address range of the second terminal according to the local Internet protocol address and subnet mask in the local area network.
  • the receiving module is further configured to receive a feedback message sent by the second terminal, where the feedback message contains information about the second terminal;
  • the processing module is further configured to update a list of second terminals to which the first terminal can connect based on the feedback message.
  • the processing module is further configured to select a second terminal that establishes a remote shooting connection with the first terminal from the list of second terminals according to the instruction information input by the user.
  • the remote shooting connection is used to share the shooting screen of the first terminal with the second terminal and send the shooting instruction input by the user to the first terminal through the second terminal.
  • the processing module is further configured to, if the feedback message sent by the second terminal is not received within a preset time, generate a message based on the local Internet protocol address of the first terminal. QR code, so that the second terminal establishes the remote shooting connection with the first terminal according to the local Internet protocol address of the first terminal when scanning the QR code.
  • the processing module is also used to join and monitor the multicast; determine whether the multicast is normally enabled;
  • the sending module is also configured to send a multicast message to the second terminal in the local area network if the multicast is normal.
  • the multicast message is used to request to obtain the second terminal in the local area network. Terminal information.
  • the processing module is also used to determine whether to access a wireless network or hotspot; if the first terminal does not access the wireless network or hotspot, in the first Prompt information is displayed on the display interface of the terminal, and the prompt information is used to prompt the user to connect the first terminal to a wireless network or hotspot.
  • the processing module is specifically configured to join and monitor the groupcast if the first terminal accesses the wireless network or hotspot.
  • the processing module is further configured to search for a second terminal that provides services through the multi-point connection function of the target operating system after the first terminal turns on the wireless network or hotspot function;
  • the receiving module is also used to receive the information of the second terminal sent by the second terminal;
  • the processing module is also configured to update a list of second terminals to which the first terminal can connect based on the information of the second terminal.
  • the information also for the second terminal is carried in a unicast message, a multicast message, or an additional message of the multipoint connection function.
  • an electronic device including:
  • Memory used to store computer programs
  • the processor is configured to implement the remote shooting method as described in the above first aspect and various possible designs of the first aspect by executing the computer program.
  • embodiments of the present disclosure provide a computer-readable storage medium.
  • Computer-executable instructions are stored in the computer-readable storage medium.
  • the processor executes the computer-executed instructions, the above first aspect and the first aspect are implemented. Remote shooting methods are described in terms of various possible designs.
  • embodiments of the present disclosure provide a computer program product, including a computer program that, when executed by a processor, implements the remote shooting method described in the above first aspect and various possible designs of the first aspect.
  • embodiments of the present disclosure provide a computer program that, when executed by a processor, implements the remote shooting method described in the above first aspect and various possible designs of the first aspect.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本公开提供一种远程拍摄方法、装置、电子设备、计算机可读存储介质、计算机程序产品及计算机程序。本公开提供的远程拍摄方法,第一终端接收远程拍摄请求,该远程拍摄请求用于指示第一终端搜索第二终端,第二终端用于向第一终端发送拍摄指令;若第一终端接入的无线网络或热点对应的局域网的组播异常,第一终端在局域网中确定第二终端的主机互联网协议地址范围;根据第二终端的主机互联网协议地址范围,第一终端向第二终端发送单播消息。

Description

远程拍摄方法、装置、设备及存储介质
相关申请的交叉引用
本申请要求于2022年07月15日提交中国专利局、申请号为202210836979.0、申请名称为“远程拍摄方法、装置、设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本公开涉及信息交互技术领域,尤其涉及一种远程拍摄方法、装置、电子设备、计算机可读存储介质、计算机程序产品及计算机程序。
背景技术
日常生活中,用户经常会使用拍摄终端进行自拍或让他人协助拍摄。但在一些情况下,用户调整拍摄终端的姿态后,可能会出现不方便进行拍摄的情况,此时,需要通过将拍摄终端的拍摄画面共享给远程控制终端,从而使远程控制终端可以控制拍摄终端进行远程拍摄。
相关技术中,可以在拍摄终端接入的无线网络或热点对应的局域网中通过用户数据报协议(User Datagram Protocol,简称UDP)广播来发现远程控制终端,从而连接拍摄终端和远程控制终端后通过传输控制协议(Transmission Control Protocol,简称TCP)传输视频预览帧和传递拍摄指令。
然而,完全通过UDP广播接收相关数据,会增加路由器工作负荷,并且,由于部分路由器会限制UDP广播或组播,从而无法保证拍摄终端和远程控制终端建立远程拍摄连接。
发明内容
本公开提供一种远程拍摄方法、装置、电子设备、计算机可读存储介质、计算机程序产品及计算机程序。
第一方面,本公开实施例提供一种远程拍摄方法,包括:
第一终端接收远程拍摄请求,所述远程拍摄请求用于指示所述第一终端搜索第二终端,所述第二终端用于向所述第一终端发送拍摄指令;
若所述第一终端接入的无线网络或热点对应的局域网的组播异常,则所述第一终端在所述局域网中确定所述第二终端的主机互联网协议地址范围;
根据所述第二终端的主机互联网协议地址范围,所述第一终端向所述第二终端发送单播消息,所述单播消息用于请求在所述局域网中获取所述第二终端的信息。
第二方面,本公开实施例提供一种远程拍摄装置,包括:
接收模块,用于第一终端接收远程拍摄请求,所述远程拍摄请求用于指示所述第一终端搜索第二终端,所述第二终端用于向所述第一终端发送拍摄指令;
处理模块,用于若所述第一终端接入的无线网络或热点对应的局域网的组播异常,则在所述局域网中确定所述第二终端的主机互联网协议地址范围;
发送模块,用于根据所述第二终端的主机互联网协议地址范围,向所述第二终端发送单播消息,所述单播消息用于请求在所述局域网中获取所述第二终端的信息。
第三方面,本公开实施例提供一种电子设备,包括:
处理器;以及
存储器,用于存储计算机程序;
其中,所述处理器被配置为通过执行所述计算机程序来实现如上第一方面以及第一方面各种可能的设计中所述的远程拍摄方法。
第四方面,本公开实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如上第一方面以及第一方面各种可能的设计中所述的远程拍摄方法。
第五方面,本公开实施例提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如上第一方面以及第一方面各种可能的设计中所述的远程拍摄方法。
第六方面,本公开实施例提供一种计算机程序,所述计算机程序被处理器执行时实现如上第一方面以及第一方面各种可能的设计中所述的远程拍摄方法。
附图说明
为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本申请实施例提供的一种远程拍摄方法的应用场景示意图。
图2为本公开实施例提供的一种远程拍摄方法的流程示意图。
图3为本公开实施例提供的另一种远程拍摄方法的流程示意图。
图4为本公开实施例提供的再一种远程拍摄方法的流程示意图。
图5为本公开实施例提供的一种远程拍摄装置的结构框图。
图6为本公开根据一示例实施例示出的电子设备的结构示意图。
具体实施方式
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施 例”。其他术语的相关定义将在下文描述中给出。
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。
日常生活中,用户经常会使用拍摄终端进行自拍或让他人协助拍摄。但在一些情况下,用户调整拍摄终端的姿态后,可能会出现不方便进行拍摄的情况,此时,需要通过将拍摄终端的拍摄画面共享给远程控制终端,从而使远程控制终端可以控制拍摄终端进行远程拍摄。
相关技术中,可以在拍摄终端接入的无线网络或热点对应的局域网中通过UDP广播来发现远程控制终端,从而连接拍摄终端和远程控制终端后通过TCP传输视频预览帧和传递拍摄指令。然而,完全通过UDP广播接收相关数据,会增加路由器工作负荷,并且,由于部分路由器会限制UDP广播或组播,从而无法保证拍摄终端和远程控制终端建立远程拍摄连接。
为解决上述问题,本公开实施例提供一种远程拍摄方法、装置、设备及存储介质,在组播异常时,通过在局域网中确定第二终端的主机互联网协议地址范围,遍历向局域网中的第二终端发送单播消息,从而保证了拍摄终端和远程控制终端建立远程拍摄连接。
下面对于本申请涉及的远程拍摄方法的应用场景进行说明。
图1为本申请实施例提供的一种远程拍摄方法的应用场景示意图。如图1所示,当用户使用拍摄终端101进行拍摄前,可以在拍摄终端101接入的无线网络或热点对应的局域网中搜索远程控制终端102,从而将拍摄终端101的拍摄画面共享给远程控制终端102,并通过远程控制终端102控制拍摄终端101进行远程拍摄。当拍摄终端101搜索到远程控制终端102后,可以与远程控制终端102建立远程拍摄连接,随后,由远程控制终端102向拍摄终端101发送拍摄指令。
其中,拍摄终端101为具有拍摄功能的终端,拍摄终端101和远程控制终端102可以为平板电脑(Portable Android Device,简称PAD)、带无线收发功能的电脑、虚拟现实(Virtual Reality,简称VR)终端设备、增强现实(Augmented Reality,简称AR)终端设备、工业控制(Industrial Control)中的无线终端、无人驾驶(Self-Driving)中的无线终端、远程手术(Remote Medical Surgery)中的无线终端、智能电网(Smart Grid)中的无线终端、智慧家庭(Smart Home)中的无线终端等。本申请实施例中,用于实现终端的功能的装置可以是终端,也可以是能够支持终端实现该功能的装置,例如芯片系统,该装置可以被安装在终端中。本申请实施例中,芯片系统可以由芯片构成,也可以包括芯片和其他分立器件。
应理解,本申请技术方案的应用场景可以是图1中的场景,但不限于此,还可以应用于其他需要远程拍摄的场景中。
可以理解,上述远程拍摄方法可以通过本申请实施例提供的远程拍摄装置实现,远程拍摄装置可以是某个设备的部分或全部,例如为终端设备或终端设备的处理器。
下面以具体地实施例对本公开实施例的技术方案进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例不再赘述。
参考图2,图2为本公开实施例提供的一种远程拍摄方法的流程示意图。本实施例的执行主体为第一终端,本实施例涉及的第一终端如何搜索作为远程控制终端的第二终端的过程。该远程拍摄方法包括:
S201、第一终端接收远程拍摄请求,远程拍摄请求用于指示第一终端搜索第二终端,第二终端用于向第一终端发送拍摄指令。
在本公开中,当用户使用第一终端进行远程拍摄前,可以向第一终端输入远程拍摄请求,从而使第一终端搜索作为远程控制终端的第二终端。
应理解,上述第一终端可以为进行拍摄的拍摄终端,例如,手机、平板电脑、相机等。上述第二终端为共享第一终端的拍摄画面并向第一终端发送拍摄指令的远程控制终端,例如,智能手表、手机、遥控器等。
应理解,本申请实施例对于如何向第一终端输入远程拍摄请求不做限制,在一些实施例中,用户可以通过在第一终端上触发相应控件,向第一终端输入远程拍摄请求。
S202、若第一终端接入的无线网络或热点对应的局域网的组播异常,则第一终端在局域网中确定第二终端的主机互联网协议地址范围。
在本公开中,当第一终端接收到用户输入的远程拍摄请求后,首先尝试使用组播搜索第二终端,若第一终端接入的无线网络或热点对应的局域网中组播异常,则在局域网中确定第二终端的主机互联网协议地址(Internet Protocol,简称IP)范围。
应理解,本申请实施例对于上述组播的类型不做限制,在一些实施例中,上述组播可以为UDP组播。
其中,无线网络或热点可以包括WiFi、手机热点、车载热点等。
在一些实施例中,第一终端首先可以确定第一终端是否接入无线网络或热点,若第一终端未接入无线网络或热点,则可以在第一终端的显示界面上显示提示信息,提示信息用于提示用户将第一终端接入无线网络或热点。若第一终端接入无线网络或热点,则加入组播并开始监听组播。随后,第一终端可以确定组播是否正常开启。若组播正常,则在局域网中向第二终端发送组播消息,组播消息也用于请求在局域网中获取第二终端的信息。若组播异常,则在局域网中确定第二终端的主机互联网协议地址范围。
在本申请实施例中,对于如何确实组播是否正常开启不做限制,在一些实施例中,可以通过第一终端在发送组播后的预设时间内是否收到第二终端发送的反馈消息来确定。示例性的,该预设时间可以为3秒。若第一终端在发送组播后的3秒内,接收到至少一个第二终端发送的反馈消息,则确定组播正常。若第一终端在发送组播后的3秒内,未接收到至少一个第二终端发送的反馈消息,则确定组播异常。
在本公开中,第一终端首先使用组播来搜索第二终端,由于使用组播来替换广播,从而可以减少在搜索第二终端的过程中收到数据的终端,从而可以降低路由器的工作负荷。
应理解,本申请实施例对于如何确定第二终端的主机互联网协议地址范围也不做限制,在一些实施例中,可以根据局域网中的本地互联网协议地址和子网掩码,确定第二终端的主机互联网协议地址范围。
S203、根据第二终端的主机范围,第一终端向第二终端发送单播消息,单播消息用于请求在局域网中获取第二终端的信息。
在本步骤中,当第一终端在局域网中确定第二终端的互联网协议地址范围后,可以根据第二终端的主机互联网协议地址范围,遍历向第二终端发送单播消息,从而获取第二终端的信息。
在一些实施例中,当第二终端接收到单播消息后,可以向第一终端发送反馈消息,该反馈消息中包含有第二终端的信息。随后,第一终端基于反馈消息,更新第一终端可连接的第二终端的列表。
在一些实施例中,第一终端可以显示可连接的第二终端的列表,以便用户选择建立远程拍摄连接的第二终端。当用户选择出合适的第二终端后,可以向第一终端输入指示消息,以便第一终端与选择出的第二终端建立远程拍摄连接。
其中,远程拍摄连接用于将第一终端的拍摄画面共享给第二终端并通过第二终端向第一终端发送拍摄指令。
在另一些实施例中,若预设时间内未接收到第二终端发送的反馈消息,则第一终端可以确定发送单播消息失败,此时,第一终端可以根据第一终端的本地互联网协议地址生成二维码,并显示该二维码。用户可以直接使用第二终端扫描该二维码,从而使第二终端获取第一终端的本地互联网协议地址,以便建立第一终端与第二终端之间的远程拍摄连接。需要说明的是,本申请实施例对于预设时间的长短不做限制,在一些实施例中,预设时间可以为5秒、10秒、30秒等。
本公开中,在组播异常时,可以通过发送单播消息或者生成二维码扫描的方式直接建立第一终端和第二终端之间的远程拍摄连接,从而提高了建立远程拍摄连接的成功率。
本公开实施例提供的远程拍摄方法,第一终端首先接收远程拍摄请求,该远程拍摄请求用于指示第一终端搜索第二终端,第二终端用于向第一终端发送拍摄指令。随后,若第一终端接入的无线网络或热点对应的局域网的组播异常,则第一终端在局域网中确定第二终端的主机互联网协议地址范围。最后,根据第二终端的主机互联网协议地址范围,第一终端向第二终端发送单播消息,单播消息用于请求在局域网中获取第二终端的信息。通过该方式,在组播异常时,可以通过在局域网中确定第二终端的主机互联网协议地址范围,从而遍历向局域网中的第二终端发送单播消息,可以保证用于拍摄的第一终端和用于远程控制的第二终端建立远程拍摄连接。
在上述实施例的基础上,若第一终端和第二终端为特定的目标操作系统,则可以直接使用该目标操作系统的多点连接功能搜索提供服务的第二终端。图3为本公开实施例提供的另一种远程拍摄方法的流程示意图,如图3所示,该远程拍摄方法包括:
S301、在第一终端开启无线网络或热点功能后,第一终端通过目标操作系统的多点连接功能搜索提供服务的第二终端。
其中,无线网络或热点功能可以为WiFi功能、热点功能等。
应理解,本公开实施例对于目标操作系统不做限制,例如IOS系统、安卓系统等。示例性的,若目标操作系统为IOS系统,则可以通过多点连接功能直接使用WiFi Direct的方式搜索第二终端,只需打开WiFi功能,无需连接WiFi,可以更为快捷的建立第一终端和第二终端之间的远程拍摄连接。
S302、第一终端接收第二终端发送的第二终端的信息。
其中,第二终端的信息承载于单播消息、组播消息或多点连接功能的附加消息中。
S303、第一终端根据第二终端的信息,更新第一终端可连接的第二终端的列表。
在一些实施例中,第一终端不但可以使用发送组播信息、单播消息的方式搜索第二终端,同时还可以使用目标操作系统的多点连接功能搜索第二终端。相应的,在更新第一终端可连接的第二终端的列表时为了进行区分,第一终端可连接的第二终端的列表中包含有指示信息,指示信息用于指示第二终端的操作系统。
示例性的,上述第一终端可连接的第二终端的列表中的指示信息可以指示各个第二终端的维度的信息,可以包括第二终端的名称、操作系统的名称。若操作系统为IOS系统,则上述指示信息可以进一步包含IOS设备的名称。
其中,操作系统的名称可以指示操作系统的类型信息。示例性的,若操作系统的名称中特定位置的字符为1,则该操作系统可以为IOS系统,若操作系统的名称中特定位置的字符为2,则该操作系统可以为安卓系统。
在上述实施例的基础上,下面提供一种完成的远程拍摄方法。图4为本公开实施例提供的再一种远程拍摄方法的流程示意图,如图4所示,该远程拍摄方法包括:
S401、接收远程拍摄请求,远程拍摄请求用于指示第一终端搜索第二终端,第二终端用于向第一终端发送拍摄指令。
S402、确定无线网络或热点是否打开。
若是,则执行步骤S404,若否,则执行步骤S403。
S403、在第一终端的显示界面上显示提示信息。
S404、确定第一终端是否为目标操作系统。
若是,则执行步骤S405,若否,则执行步骤S407。
S405、通过目标操作系统的多点连接功能搜索提供服务的第二终端。
S406、确定是否接收到第二终端的反馈信息。
若是,则执行步骤S416,若否,则执行步骤S407。
S407、确定是否接入无线网络或热点。
若是,则执行步骤S408,若否,则执行步骤S403。
S408、加入组播组,开始监听。
S409、确定组播是否异常。
若是,则执行步骤S412,若否,则执行步骤S410。
S410、发送组播消息。
S411、是否接收到第二终端的反馈信息。
若是,则执行步骤S416,若否,则执行步骤S412。
S412、在局域网中确定第二终端的主机互联网协议地址范围。
S413、根据第二终端的主机互联网协议地址范围,向第二终端发送单播消息。
S414、是否接收到第二终端的反馈信息。
若是,则执行步骤S416,若否,则执行步骤S415。
S415、根据第一终端的本地互联网协议地址生成二维码。
在步骤S415之后,执行步骤S418。
S416、根据第二终端的信息,更新第一终端可连接的第二终端的列表。
S417、接收用户输入的指示信息,该指示信息用于指示从第二终端的列表中选择的第二终端。
S418、建立第一终端和第二终端之间的远程拍摄连接。
本公开实施例提供的远程拍摄方法,第一终端首先接收远程拍摄请求,该远程拍摄请求用于指示第一终端搜索第二终端,第二终端用于向第一终端发送拍摄指令。随后,若第一终端接入的无线网络或热点对应的局域网的组播异常,则第一终端在局域网中确定第二终端的主机互联网协议地址范围。最后,根据第二终端的主机互联网协议地址范围,第一终端向第二终端发送单播消息,单播消息用于请求在局域网中获取第二终端的信息。通过该方式,在组播异常时,可以通过在局域网中确定第二终端的主机互联网协议地址范围,从而遍历向局域网中的第二终端发送单播消息,可以保证用于拍摄的第一终端和用于远程控制的第二终端建立远程拍摄连接。
对应于上文实施例的远程拍摄方法,图5为本公开实施例提供的一种远程拍摄装置的结构框图。为了便于说明,仅示出了与本公开实施例相关的部分。参照图5,该远程拍摄装置500包括:接收模块501、处理模块502和发送模块503。
接收模块501,用于第一终端接收远程拍摄请求,远程拍摄请求用于指示第一终端搜索第二终端,第二终端用于向第一终端发送拍摄指令;
处理模块502,用于若第一终端接入的无线网络或热点对应的局域网的组播异常,则在局域网中确定第二终端的主机互联网协议地址范围;
发送模块503,用于根据第二终端的主机互联网协议地址范围,向第二终端发送单播消息,单播消息用于请求在局域网中获取第二终端的信息。
根据本公开的一个或多个实施例,处理模块502,具体用于根据局域网中的本地互联网协议地址和子网掩码,确定第二终端的主机互联网协议地址范围。
根据本公开的一个或多个实施例,接收模块501,还用于接收第二终端发送的反馈消息,反馈消息中包含有第二终端的信息;
处理模块502,还用于根据反馈消息,更新第一终端可连接的第二终端的列表。
根据本公开的一个或多个实施例,处理模块502,还用于根据用户输入的指示信息,从第二终端的列表中选择与第一终端建立远程拍摄连接的第二终端,远程拍摄连接用于将第一终端的拍摄画面共享给第二终端并通过第二终端向第一终端发送用户输入的拍摄指令。
根据本公开的一个或多个实施例,处理模块502,还用于若预设时间内未接收到第二终端发送的反馈消息,则根据第一终端的本地互联网协议地址生成二维码,以使第二终端在扫描二维码时根据第一终端的本地互联网协议地址与第一终端建立远程拍摄连接。
根据本公开的一个或多个实施例,处理模块502,还用于加入并监听组播;确定组播是否正常开启;
发送模块503,还用于若组播正常,则在局域网中向第二终端发送组播消息,组播消息用于请求在局域网中获取第二终端的信息。
根据本公开的一个或多个实施例,处理模块502,还用于确定是否接入无线网络或热点;若第一终端未接入无线网络或热点,则在第一终端的显示界面上显示提示信息, 提示信息用于提示用户将第一终端接入无线网络或热点。
根据本公开的一个或多个实施例,处理模块502,具体用于若第一终端接入无线网络或热点,则加入并监听组播。
根据本公开的一个或多个实施例,处理模块502,还用于在第一终端开启无线网络或热点功能后,通过目标操作系统的多点连接功能搜索提供服务的第二终端;
接收模块501,还用于接收第二终端发送的第二终端的信息;
处理模块502,还用于根据第二终端的信息,更新第一终端可连接的第二终端的列表。
根据本公开的一个或多个实施例,还用于第二终端的信息承载于单播消息、组播消息或多点连接功能的附加消息中。
根据本公开的一个或多个实施例,还用于第一终端可连接的第二终端的列表中包含有指示信息,指示信息用于指示第二终端的操作系统。
值得说明的,图5所示实施例提供的远程拍摄装置,可用于执行上述任一实施例提供的方法,具体实现方式和技术效果类似,这里不再赘述。
图6为本公开根据一示例实施例示出的电子设备的结构示意图。如图6所示,其示出了适于用来实现本公开实施例的电子设备600的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、个人数字助理(Personal Digital Assistant,简称PDA)、平板电脑(Portable Android Device,简称PAD)、便携式多媒体播放器(Portable Media Player,简称PMP)、车载终端(例如车载导航终端)、可穿戴电子设备等等具有图像获取功能的移动终端以及诸如数字TV、台式计算机、智能家居设备等等外接有具有图像获取设备的固定终端。图6示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图6所示,电子设备600可以包括处理装置(例如中央处理器、图形处理器等)601,其可以根据存储在只读存储器(Read Only Memory,简称ROM)602中的程序或者从存储装置608加载到随机访问存储器(Random Access Memory,简称RAM)603中的程序而执行各种适当的动作和处理。在RAM 603中,还存储有电子设备600操作所需的各种程序和数据。处理装置601、ROM 602以及RAM 603通过总线604彼此相连。输入/输出(Input/Output,简称I/O)接口605也连接至总线604。存储器用于存储执行上述各个方法实施例方法的程序;处理器被配置为执行存储器中存储的程序,以实现上文的本公开的实施例的功能以及/或者其它期望的功能。
通常,以下装置可以连接至I/O接口605:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置606;包括例如液晶显示器(Liquid Crystal Display,简称LCD)、扬声器、振动器等的输出装置607;包括例如磁带、硬盘等的存储装置608;以及通信装置609。通信装置609可以允许电子设备600与其他设备进行无线或有线通信以交换数据。虽然图6示出了具有各种装置的电子设备600,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机 可读介质上的计算机程序,该计算机程序包含用于执行本公开实施例的流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置609从网络上被下载和安装,或者从存储装置608被安装,或者从ROM 602被安装。在该计算机程序被处理装置601执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、RAM、ROM、可擦式可编程只读存储器(Erasable Programmable Read Only Memory,简称EPROM)或闪存、光纤、便携式紧凑磁盘只读存储器(Compact Disk Read Only Memory,简称CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、射频(Radio Frequency,简称RF)等等,或者上述的任意合适的组合。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备执行上述方法。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(Local Area Network,简称LAN)或广域网(Wide Area Network,简称WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
在一些实施方式中,客户端、服务器可以利用诸如超文本传输协议(Hyper Text Transfer Protocol,简称HTTP)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括LAN,WAN,网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序 产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的模块可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,模块的名称在某种情况下并不构成对该单元本身的限定。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(Field Programmable Gate Array,简称FPGA)、专用集成电路(Application Specific Integrated Circuit,简称ASIC)、专用标准产品(Application Specific Standard Parts,简称ASSP)、片上系统(System on Chip,简称SOC)、复杂可编程逻辑设备(Complex Programmable Logic Device,简称CPLD)等等。
在本公开的上下文中,计算机可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。计算机可读介质可以是计算机可读信号介质或计算机可读储存介质。计算机可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。计算机可读存储介质的更具体示例可以包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、RAM、ROM)、EPROM或快闪存储器、光纤、CD-ROM、光学储存设备、磁储存设备、或上述内容的任何合适组合。
第一方面,根据本公开的一个或多个实施例,提供了一种远程拍摄方法,包括:
第一终端接收远程拍摄请求,所述远程拍摄请求用于指示所述第一终端搜索第二终端,所述第二终端用于向所述第一终端发送拍摄指令;
若所述第一终端接入的无线网络或热点对应的局域网的组播异常,则所述第一终端在所述局域网中确定所述第二终端的主机互联网协议地址范围;
根据所述第二终端的主机互联网协议地址范围,所述第一终端向所述第二终端发送单播消息,所述单播消息用于请求在所述局域网中获取所述第二终端的信息。
根据本公开的一个或多个实施例,所述第一终端在所述局域网中确定所述第二终端的主机互联网协议地址范围,包括:
所述第一终端根据所述局域网中的本地互联网协议地址和子网掩码,确定所述第二终端的主机互联网协议地址范围。
根据本公开的一个或多个实施例,在所述第一终端向所述第二终端发送单播消息之后,所述方法还包括:
所述第一终端接收所述第二终端发送的反馈消息,所述反馈消息中包含有所述第二终端的信息;
所述第一终端根据所述反馈消息,更新所述第一终端可连接的第二终端的列表。
根据本公开的一个或多个实施例,在所述第一终端根据所述反馈消息,更新所述第一终端可连接的第二终端的列表之后,所述方法还包括:
所述第一终端根据用户输入的指示信息,从所述第二终端的列表中选择与所述第一终端建立远程拍摄连接的第二终端,所述远程拍摄连接用于将所述第一终端的拍摄画面共享给所述第二终端并通过所述第二终端向所述第一终端发送用户输入的拍摄指令。
根据本公开的一个或多个实施例,在所述第一终端向所述第二终端发送单播消息之后,所述方法还包括:
若预设时间内未接收到所述第二终端发送的反馈消息,则所述第一终端根据所述第一终端的本地互联网协议地址生成二维码,以使所述第二终端在扫描所述二维码时根据所述第一终端的本地互联网协议地址与所述第一终端建立所述远程拍摄连接。
根据本公开的一个或多个实施例,在所述若所述第一终端接入的无线网络或热点对应的局域网的组播异常,则所述第一终端在所述局域网中确定所述第二终端的主机互联网协议地址范围之前,所述方法还包括:
所述第一终端加入并监听所述组播;
所述第一终端确定所述组播是否正常开启;
若所述组播正常,则所述第一终端在所述局域网中向所述第二终端发送组播消息,所述组播消息用于请求在所述局域网中获取所述第二终端的信息。
根据本公开的一个或多个实施例,在所述第一终端加入并监听所述组播之前,所述方法还包括:
所述第一终端确定是否接入无线网络或热点;
若所述第一终端未接入所述无线网络或热点,则所述第一终端在所述第一终端的显示界面上显示提示信息,所述提示信息用于提示用户将所述第一终端接入无线网络或热点。
根据本公开的一个或多个实施例,所述第一终端加入并监听所述组播,包括:
若所述第一终端接入所述无线网络或热点,则所述第一终端加入并监听所述组播。
根据本公开的一个或多个实施例,在所述第一终端接收远程拍摄请求之后,所述方法还包括:
在所述第一终端开启无线网络或热点功能后,所述第一终端通过目标操作系统的多点连接功能搜索提供服务的第二终端;
所述第一终端接收所述第二终端发送的所述第二终端的信息;
所述第一终端根据所述第二终端的信息,更新所述第一终端可连接的第二终端的列表。
根据本公开的一个或多个实施例,所述第二终端的信息承载于单播消息、组播消息或所述多点连接功能的附加消息中。
根据本公开的一个或多个实施例,所述第一终端可连接的第二终端的列表中包含有指示信息,所述指示信息用于指示所述第二终端的操作系统。
第二方面,根据本公开的一个或多个实施例,提供了一种远程拍摄装置,包括:
接收模块,用于第一终端接收远程拍摄请求,所述远程拍摄请求用于指示所述第一终端搜索第二终端,所述第二终端用于向所述第一终端发送拍摄指令;
处理模块,用于若所述第一终端接入的无线网络或热点对应的局域网的组播异常,则在所述局域网中确定所述第二终端的主机互联网协议地址范围;
发送模块,用于根据所述第二终端的主机互联网协议地址范围,向所述第二终端发送单播消息,所述单播消息用于请求在所述局域网中获取所述第二终端的信息。
根据本公开的一个或多个实施例,所述处理模块,具体用于根据所述局域网中的本地互联网协议地址和子网掩码,确定所述第二终端的主机互联网协议地址范围。
根据本公开的一个或多个实施例,所述接收模块,还用于接收所述第二终端发送的反馈消息,所述反馈消息中包含有所述第二终端的信息;
所述处理模块,还用于根据所述反馈消息,更新所述第一终端可连接的第二终端的列表。
根据本公开的一个或多个实施例,所述处理模块,还用于根据用户输入的指示信息,从所述第二终端的列表中选择与所述第一终端建立远程拍摄连接的第二终端,所述远程拍摄连接用于将所述第一终端的拍摄画面共享给所述第二终端并通过所述第二终端向所述第一终端发送用户输入的拍摄指令。
根据本公开的一个或多个实施例,所述处理模块,还用于若预设时间内未接收到所述第二终端发送的反馈消息,则根据所述第一终端的本地互联网协议地址生成二维码,以使所述第二终端在扫描所述二维码时根据所述第一终端的本地互联网协议地址与所述第一终端建立所述远程拍摄连接。
根据本公开的一个或多个实施例,所述处理模块,还用于加入并监听所述组播;确定所述组播是否正常开启;
所述发送模块,还用于若所述组播正常,则在所述局域网中向所述第二终端发送组播消息,所述组播消息用于请求在所述局域网中获取所述第二终端的信息。
根据本公开的一个或多个实施例,所述处理模块,还用于确定是否接入无线网络或热点;若所述第一终端未接入所述无线网络或热点,则在所述第一终端的显示界面上显示提示信息,所述提示信息用于提示用户将所述第一终端接入无线网络或热点。
根据本公开的一个或多个实施例,所述处理模块,具体用于若所述第一终端接入所述无线网络或热点,则加入并监听所述组播。
根据本公开的一个或多个实施例,所述处理模块,还用于在所述第一终端开启无线网络或热点功能后,通过目标操作系统的多点连接功能搜索提供服务的第二终端;
所述接收模块,还用于接收第二终端发送的第二终端的信息;
所述处理模块,还用于根据第二终端的信息,更新第一终端可连接的第二终端的列表。
根据本公开的一个或多个实施例,还用于第二终端的信息承载于单播消息、组播消息或多点连接功能的附加消息中。
第三方面,本公开实施例提供一种电子设备,包括:
处理器;以及
存储器,用于存储计算机程序;
其中,所述处理器被配置为通过执行所述计算机程序来实现如上第一方面以及第一方面各种可能的设计中所述的远程拍摄方法。
第四方面,本公开实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如上第一方面以及第一方面各种可能的设计中所述的远程拍摄方法。
第五方面,本公开实施例提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如上第一方面以及第一方面各种可能的设计中所述的远程拍摄方法。
第六方面,本公开实施例提供一种计算机程序,所述计算机程序被处理器执行时实现如上第一方面以及第一方面各种可能的设计中所述的远程拍摄方法。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。

Claims (16)

  1. 一种远程拍摄方法,包括:
    第一终端接收远程拍摄请求,所述远程拍摄请求用于指示所述第一终端搜索第二终端,所述第二终端用于向所述第一终端发送拍摄指令;
    若所述第一终端接入的无线网络或热点对应的局域网的组播异常,则所述第一终端在所述局域网中确定所述第二终端的主机互联网协议地址范围;
    根据所述第二终端的主机互联网协议地址范围,所述第一终端向所述第二终端发送单播消息,所述单播消息用于请求在所述局域网中获取所述第二终端的信息。
  2. 根据权利要求1所述的方法,其中,所述第一终端在所述局域网中确定所述第二终端的主机互联网协议地址范围,包括:
    所述第一终端根据所述局域网中的本地互联网协议地址和子网掩码,确定所述第二终端的主机互联网协议地址范围。
  3. 根据权利要求1或2所述的方法,其中,在所述第一终端向所述第二终端发送单播消息之后,所述方法还包括:
    所述第一终端接收所述第二终端发送的反馈消息,所述反馈消息中包含有所述第二终端的信息;
    所述第一终端根据所述反馈消息,更新所述第一终端可连接的第二终端的列表。
  4. 根据权利要求3所述的方法,其中,在所述第一终端根据所述反馈消息,更新所述第一终端可连接的第二终端的列表之后,所述方法还包括:
    所述第一终端根据用户输入的指示信息,从所述第二终端的列表中选择与所述第一终端建立远程拍摄连接的第二终端,所述远程拍摄连接用于将所述第一终端的拍摄画面共享给所述第二终端并通过所述第二终端向所述第一终端发送用户输入的拍摄指令。
  5. 根据权利要求1所述的方法,其中,在所述第一终端向所述第二终端发送单播消息之后,所述方法还包括:
    若预设时间内未接收到所述第二终端发送的反馈消息,则所述第一终端根据所述第一终端的本地互联网协议地址生成二维码,以使所述第二终端在扫描所述二维码时根据所述第一终端的本地互联网协议地址与所述第一终端建立所述远程拍摄连接。
  6. 根据权利要求1至5中任一项所述的方法,其中,在所述若所述第一终端接入的无线网络或热点对应的局域网的组播异常,则所述第一终端在所述局域网中确定所述第二终端的主机互联网协议地址范围之前,所述方法还包括:
    所述第一终端加入并监听所述组播;
    所述第一终端确定所述组播是否正常开启;
    若所述组播正常,则所述第一终端在所述局域网中向所述第二终端发送组播消息,所述组播消息用于请求在所述局域网中获取所述第二终端的信息。
  7. 根据权利要求6所述的方法,其中,在所述第一终端加入并监听所述组播之前,所述方法还包括:
    所述第一终端确定是否接入无线网络或热点;
    若所述第一终端未接入所述无线网络或热点,则所述第一终端在所述第一终端的显示界面上显示提示信息,所述提示信息用于提示用户将所述第一终端接入无线网络或热点。
  8. 根据权利要求7所述的方法,其中,所述第一终端加入并监听所述组播,包括:
    若所述第一终端接入所述无线网络或热点,则所述第一终端加入并监听所述组播。
  9. 根据权利要求1所述的方法,其中,在所述第一终端接收远程拍摄请求之后,所述方法还包括:
    在所述第一终端开启无线网络或热点功能后,所述第一终端通过目标操作系统的多点连接功能搜索提供服务的第二终端;
    所述第一终端接收所述第二终端发送的所述第二终端的信息;
    所述第一终端根据所述第二终端的信息,更新所述第一终端可连接的第二终端的列表。
  10. 根据权利要求9所述的方法,其中,所述第二终端的信息承载于单播消息、组播消息或所述多点连接功能的附加消息中。
  11. 根据权利要求9所述的方法,其中,所述第一终端可连接的第二终端的列表中包含有指示信息,所述指示信息用于指示所述第二终端的操作系统。
  12. 一种远程拍摄装置,包括:
    接收模块,用于第一终端接收远程拍摄请求,所述远程拍摄请求用于指示所述第一终端搜索第二终端,所述第二终端用于向所述第一终端发送拍摄指令;
    处理模块,用于若所述第一终端接入的无线网络或热点对应的局域网的组播异常,则在所述局域网中确定所述第二终端的主机互联网协议地址范围;
    发送模块,用于根据所述第二终端的主机互联网协议地址范围,向所述第二终端发送单播消息,所述单播消息用于请求在所述局域网中获取所述第二终端的信息。
  13. 一种电子设备,包括:
    处理器;以及
    存储器,用于存储计算机程序;
    其中,所述处理器被配置为通过执行所述计算机程序来实现权利要求1至11中任一项所述的远程拍摄方法。
  14. 一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如权利要求1至11中任一项所述的远程拍摄方法。
  15. 一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如权利要求1至11中任一项所述的远程拍摄方法。
  16. 一种计算机程序,所述计算机程序被处理器执行时实现如权利要求1至11中任一项所述的远程拍摄方法。
PCT/CN2023/105211 2022-07-15 2023-06-30 远程拍摄方法、装置、设备及存储介质 Ceased WO2024012292A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US18/876,179 US20250386095A1 (en) 2022-07-15 2023-06-30 Remote photographing method and apparatus, device, and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210836979.0A CN117440062A (zh) 2022-07-15 2022-07-15 远程拍摄方法、装置、设备及存储介质
CN202210836979.0 2022-07-15

Publications (1)

Publication Number Publication Date
WO2024012292A1 true WO2024012292A1 (zh) 2024-01-18

Family

ID=89535510

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/105211 Ceased WO2024012292A1 (zh) 2022-07-15 2023-06-30 远程拍摄方法、装置、设备及存储介质

Country Status (3)

Country Link
US (1) US20250386095A1 (zh)
CN (1) CN117440062A (zh)
WO (1) WO2024012292A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106817529A (zh) * 2015-11-27 2017-06-09 谢成火 一种响应式远程拍摄方法、响应式远程拍摄服务装置
US20180212788A1 (en) * 2017-01-26 2018-07-26 International Business Machines Corporation Multicast helper to link virtual extensible lans
US20200213200A1 (en) * 2018-12-31 2020-07-02 Sling Media Pvt Ltd Multi-unicast discovery of devices on a network
CN112584049A (zh) * 2020-12-22 2021-03-30 Oppo广东移动通信有限公司 远程交互方法及装置、电子设备、存储介质
CN113765967A (zh) * 2020-09-11 2021-12-07 北京沃东天骏信息技术有限公司 设备搜索方法、装置、设备及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106817529A (zh) * 2015-11-27 2017-06-09 谢成火 一种响应式远程拍摄方法、响应式远程拍摄服务装置
US20180212788A1 (en) * 2017-01-26 2018-07-26 International Business Machines Corporation Multicast helper to link virtual extensible lans
US20200213200A1 (en) * 2018-12-31 2020-07-02 Sling Media Pvt Ltd Multi-unicast discovery of devices on a network
CN113765967A (zh) * 2020-09-11 2021-12-07 北京沃东天骏信息技术有限公司 设备搜索方法、装置、设备及存储介质
CN112584049A (zh) * 2020-12-22 2021-03-30 Oppo广东移动通信有限公司 远程交互方法及装置、电子设备、存储介质

Also Published As

Publication number Publication date
CN117440062A (zh) 2024-01-23
US20250386095A1 (en) 2025-12-18

Similar Documents

Publication Publication Date Title
JP7509998B2 (ja) 画面共有方法、装置及び電子機器
US12438996B2 (en) Video call method and apparatus, and electronic device and storage medium
WO2023279891A1 (zh) 投屏设备的发现方法、装置、电子设备和存储介质
US12132690B2 (en) Sharing method and apparatus, electronic device, storage medium, and computer program product
US12389328B2 (en) Device power saving method and device power saving apparatus
CN105335120A (zh) 一种多屏输入/输出控制方法、设备及系统
JP7692535B2 (ja) 周波数領域リソース決定方法、装置および記憶媒体
CN114762403B (zh) 定位参考信号配置方法、配置装置及存储介质
CN110753334A (zh) 蓝牙通信方法和具有蓝牙通信功能的装置及设备
US20230388981A1 (en) Wireless sensing resource coordination method and apparatus, and storage medium
US12574365B2 (en) Method, apparatus, storage medium and electronic device for network authentication
WO2024012292A1 (zh) 远程拍摄方法、装置、设备及存储介质
WO2022022712A1 (zh) 信息传输方法、装置、多卡终端及可读存储介质
CN113507750B (zh) 终端的控制方法、装置、终端和存储介质
JP6839281B2 (ja) システム情報の送信のための方法及び装置
WO2023005898A1 (zh) 多终端联合会话管理方法、网络侧设备及终端
CN113438266B (zh) 可穿戴按摩仪数据的获取方法、装置、设备和存储介质
US12177138B2 (en) Method, device and storage medium for transmitting data
WO2022206831A1 (zh) 通信方式确定方法、装置及相关设备
CN114025412A (zh) 业务访问方法、系统、装置及存储介质
CN116346975A (zh) 同步通话记录的方法、电子设备及可读存储介质
WO2022204973A1 (zh) 一种策略确定方法、策略确定装置及存储介质
CN116419371A (zh) 通信连接的建立方法、装置、设备、存储介质和程序产品
US20250158946A1 (en) Object operation method and apparatus, electronic device and storage medium
CN117714461A (zh) 网络连接方法、装置、电子设备和存储介质

Legal Events

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

Ref document number: 23838784

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 18876179

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 07.05.2025)

122 Ep: pct application non-entry in european phase

Ref document number: 23838784

Country of ref document: EP

Kind code of ref document: A1

WWP Wipo information: published in national office

Ref document number: 18876179

Country of ref document: US