WO2021185254A1 - Content sharing method, and electronic device - Google Patents

Content sharing method, and electronic device Download PDF

Info

Publication number
WO2021185254A1
WO2021185254A1 PCT/CN2021/081109 CN2021081109W WO2021185254A1 WO 2021185254 A1 WO2021185254 A1 WO 2021185254A1 CN 2021081109 W CN2021081109 W CN 2021081109W WO 2021185254 A1 WO2021185254 A1 WO 2021185254A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
uwb
uwb communication
communication module
coordinate information
Prior art date
Application number
PCT/CN2021/081109
Other languages
French (fr)
Chinese (zh)
Inventor
王智鹏
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021185254A1 publication Critical patent/WO2021185254A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages

Definitions

  • the embodiments of the present invention relate to the field of communication technology, and in particular, to a content sharing method and electronic equipment.
  • an electronic device can share the content it plays with other electronic devices for playback.
  • the user when the user needs to share content played by one electronic device (hereinafter referred to as electronic device 1) to another electronic device (hereinafter referred to as electronic device 2) for playback, the user can first trigger the establishment of electronic device 1 and electronic device 2 Communication connection; then, the user can input on the electronic device 1 to trigger the electronic device 1 to share the content it plays with the electronic device 2. In this way, since the user needs to operate on the electronic device 1 before the electronic device 1 can share the content it plays with the electronic device 2, the process of sharing content between electronic devices is complicated.
  • the embodiments of the present invention provide a content sharing method and electronic equipment, so as to solve the problem that the process of sharing content between electronic equipment is complicated.
  • the present invention is implemented as follows:
  • an embodiment of the present invention provides a content sharing method that can be applied to a first electronic device.
  • the method includes determining a playback source device; and determining a second electronic device located in a target direction, and the target direction is based on The position where the first electronic device is located is determined; and the playback source device is controlled to share the target content, and the target content is the content currently output by the playback source device.
  • an embodiment of the present invention provides an electronic device.
  • the electronic device may be a first electronic device.
  • the electronic device may include a determining module and a control module; the determining module is used to determine the playback source device; The second electronic device in the direction, the target direction is determined according to the first electronic device; the control module is used to control the playback source device determined by the determining module to share the target content with the second electronic device determined by the determining module, and the target content is the current playback source device The content of the output.
  • an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored on the memory and running on the processor.
  • the computer program can implement the above-mentioned first aspect when the computer program is executed by the processor. The steps of the content sharing method.
  • an embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored.
  • the computer program is executed by a processor, the steps of the content sharing method in the first aspect can be implemented.
  • an embodiment of the present invention provides a computer program product, which is executed by at least one processor to implement the content sharing method as in the above-mentioned first aspect.
  • an embodiment of the present invention provides an electronic device, including an electronic device configured to execute the content sharing method as described in the first aspect.
  • the first electronic device can determine the playback source device; and determine the second electronic device located in the target direction (determined according to the orientation of the first electronic device); and control the playback source device to the second electronic device
  • the device shares the content currently output by the playback source device.
  • FIG. 1 is a schematic diagram of a possible structure of a UWB communication system related to an embodiment of the present invention
  • FIG. 2 is one of the schematic diagrams of a content sharing method provided by an embodiment of the present invention.
  • Figure 3 is one of the schematic diagrams of the positional relationship between electronic devices in an embodiment of the present invention.
  • FIG. 6 is a second schematic diagram of a content sharing method provided by an embodiment of the present invention.
  • FIG. 7 is one of the schematic diagrams of the positional relationship of at least two UWB communication modules in an embodiment of the present invention.
  • FIG. 9 is the third schematic diagram of the positional relationship of at least two UWB communication modules in the embodiment of the present invention.
  • FIG. 10 is the fourth schematic diagram of the positional relationship of at least two UWB communication modules in the embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention.
  • FIG. 12 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present invention.
  • first and second in this document are used to distinguish different objects, rather than to describe a specific order of objects.
  • first electronic device and the second electronic device are used to distinguish different electronic devices, rather than to describe the specific order of the electronic devices.
  • words such as “exemplary” or “for example” are used to represent examples, illustrations, or illustrations. Any embodiment or design solution described as “exemplary” or “for example” in the embodiments of the present invention should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as “exemplary” or “for example” are used to present related concepts in a specific manner.
  • plural means two or more than two, for example, a plurality of elements means two or more elements, and so on.
  • Ultra Wide Band (UWB) communication module refers to a communication module that uses nanosecond non-sine wave narrow pulses for information transmission. Since the UWB communication module uses ultra-wide baseband pulses with extremely wide spectrum (ie, nanosecond non-sinusoidal narrow pulses) for information transmission, the UWB communication module can also be called a baseband communication module or a wireless carrier communication module. Among them, the UWB communication module can be used not only for information transmission, but also for distance measurement and precise positioning.
  • UWB positioning system refers to a UWB communication system composed of multiple UWB communication modules, for example, 4 UWB communication modules; the UWB coordinate information of each UWB communication module in these UWB communication modules has been determined.
  • the UWB positioning system can accurately locate an object (which can be any possible object such as an object, an animal, or a person) that is within the positioning range of the UWB positioning system and is provided with a UWB communication module.
  • the above-mentioned UWB positioning system can position at least two UWB communication modules in the first electronic device.
  • the first electronic device can obtain the information of the at least two UWB communication modules based on the UWB positioning system.
  • UWB coordinate information can be obtained.
  • the embodiment of the present invention provides a content sharing method and electronic device.
  • the method can be applied to a first electronic device.
  • the first electronic device can determine the playback source device; ) On the second electronic device; and control the playback source device to share the content currently output by the playback source device with the second electronic device.
  • the first electronic device can automatically control the playback source device to share its current output content with the first electronic device.
  • the second electronic device so that the second electronic device can output the content output by the playback source device in real time, without the user manually triggering sharing, thereby simplifying the process of sharing content between electronic devices and improving user experience.
  • the communication system involved in the embodiment of the present invention is mainly a communication system for communication between an electronic device and an electronic device.
  • the communication system may include at least two electronic devices, and the at least two electronic devices may exchange information through a wireless network.
  • the above-mentioned wireless network may be a UWB network, a wireless broadband wi-fi (Wireless-fidelity, Wi-fi) network, a long-term evolution LTE (Local Terminal Emulator, LTE) network, a future 5G network, etc. Any possible wireless network can be determined according to actual usage requirements.
  • the wireless network as the UWB network
  • the above-mentioned communication system as the UWB communication system as an example, the communication system involved in the content sharing method provided by the embodiment of the present invention will be exemplarily described below.
  • FIG. 1 shows a schematic diagram of a possible architecture of a UWB communication system involved in an embodiment of the present invention.
  • the UWB communication system includes at least two electronic devices, for example, an electronic device 11, an electronic device 12, and an electronic device 13.
  • Each of the at least two electronic devices includes a UWB communication module . Therefore, the electronic devices in the communication system can realize UWB communication based on the UWB communication module included in the communication system.
  • the above-mentioned electronic device 11 may be the playback source device in the embodiment of the present invention
  • the above-mentioned electronic device 12 may be the first electronic device in the embodiment of the present invention
  • the above-mentioned electronic device 13 may be The second electronic device in the embodiment of the present invention.
  • the electronic device 12 may receive the identification (hereinafter referred to as identification 1) sent by the electronic device 11, and if the identification 1 is included in the electronic device 12, it is determined that the electronic device 11 is the playback source device, and then, The electronic device 12 can determine whether there is an electronic device in the target direction of the electronic device 12.
  • the electronic device 12 can obtain the identification of the electronic device 13 and control the electronic device 11 to the electronic device.
  • the device 13 shares its current output content.
  • the electronic device 12 can control the electronic device 11 to input the current output content of the electronic device 11 to the electronic device 13 by sending indication information including the identification of the electronic device 13 to the electronic device 11.
  • the electronic device 13 can be made to output the content output by the electronic device 11 in real time, without the user manually triggering sharing, so that the process of sharing content between electronic devices can be simplified and the user experience can be improved.
  • the electronic device in the embodiment of the present invention may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). , PDA), etc.
  • the non-mobile electronic device may be a personal computer (PC), a television (television, TV), a teller machine, or a self-service machine, etc., which is not specifically limited in the embodiment of the present invention.
  • the execution subject of the content sharing method provided by the embodiment of the present invention may be the above-mentioned electronic device, or may be a functional module and/or functional entity in the electronic device that can implement the content sharing method, which can be specifically determined according to actual usage requirements.
  • the embodiments of the present invention are not limited. The following takes an electronic device as an example to illustrate the content sharing method provided by the embodiment of the present invention.
  • the content sharing method provided by the embodiment of the present invention can be executed in a scenario where a user needs to share content currently output by one electronic device with another electronic device.
  • the content sharing method provided by the embodiment of the present invention can be executed in the following two scenarios (ie, scenario 1 and scenario 2).
  • the user can trigger the first electronic device to first determine whether there is a second electronic device in the target direction; if the first electronic device determines that there is a second electronic device in the target direction, the first electronic device can share its current output content with The second electronic device, in this way, can enable the second electronic device to output the content output by the playback source device in real time, without the need for the user to manually trigger sharing, thereby simplifying the process of sharing content between electronic devices.
  • the user needs to share the content currently output by one electronic device (such as the playback source device in the embodiment of the present invention) with other electronic devices (such as the second electronic device in the embodiment of the present invention); then The user can trigger another electronic device (for example, the first electronic device in the embodiment of the present invention) to send instruction information, and the instruction information is used to instruct the one electronic device to share the output content with the other electronic device.
  • one electronic device such as the playback source device in the embodiment of the present invention
  • other electronic devices such as the second electronic device in the embodiment of the present invention
  • the first electronic device may first determine whether there is a playback source device within its communication range. If there is a playback source device within the communication range of the first electronic device, the first electronic device may determine whether there is a second electronic device in the target direction. Device; so if there is a second electronic device in the target direction of the first electronic device, the first electronic device can control the playback source device to share its current output content to the second electronic device, so that the second electronic device can be made in real time
  • the content output by the playback source device is output, and the user does not need to manually trigger sharing, thereby simplifying the process of sharing content between electronic devices.
  • the above-mentioned method for the first electronic device to determine whether there is a playback source device within its communication range may include: determining whether the first electronic device has received an identifier for indicating the other electronic device sent by another electronic device within its communication range If no identifier is received, the first electronic device can determine that there is no playback source device within its communication range. If an identifier (for example, the first identifier in the embodiment of the present invention) is received, the first electronic device may further determine whether the stored identifier includes the first identifier.
  • the first electronic device can determine that there is a playback source device within its communication range; if the identifier stored by the first electronic device does not include the first identifier, the first electronic device It can be determined that there is no playback source device within its communication range.
  • the communication range of the first electronic device refers to a preset distance range with the location of the first electronic device as the center of the circle.
  • the foregoing target direction is determined according to the orientation of the first electronic device. If the first electronic device determines that there is no second electronic device in its target direction, the first electronic device may output a prompt message to prompt the user to update the position (ie, position and/or orientation) prescribed by the first electronic device. In this way, the first electronic device can re-determine the target direction according to its updated orientation; and determine the above-mentioned second electronic device according to the re-determined target direction.
  • an embodiment of the present invention provides a content sharing method, and the method may include the following S201 to S203.
  • S201 The first electronic device determines the playback source device.
  • the first electronic device may be a wearable electronic device, for example, it may be smart glasses or a smart helmet. Specifically, it can be determined according to actual use requirements, and the embodiment of the present invention does not limit it.
  • the playback source device is any electronic device that currently outputs content.
  • the above-mentioned playback source device may be the same electronic device as the first electronic device (mode 1), or may be an electronic device different from the first electronic device (mode 2), which may be specifically based on The actual use requirements are determined, which is not limited in the embodiment of the present invention.
  • the foregoing playback source device is the same electronic device as the first electronic device.
  • the foregoing playback source device is an electronic device different from the first electronic device.
  • the method for determining the playback source device by the first electronic device will be exemplarily described in combination with the above-mentioned mode one and the above-mentioned mode two respectively.
  • Method 1 The playback source device is the same electronic device as the first electronic device
  • the first electronic device is the playback source device.
  • the first electronic device when the first electronic device is started up, it can be considered that the first electronic device has determined that the playback source device is completed, that is, after the first electronic device is started up, the first electronic device can automatically determine it as the playback source device. That is, in this case, the first electronic device is the playback source device.
  • the playback source device is an electronic device different from the first electronic device
  • the foregoing S201 may be specifically implemented by the following S201a to S201c.
  • the first electronic device receives the first identifier sent by the third electronic device.
  • the above-mentioned first identifier may be used to indicate the third electronic device.
  • the number of third electronic devices is not limited. That is, the number of the third electronic device can be one or more than one. Correspondingly, the number of the aforementioned first identifiers may be one or multiple.
  • one first identifier indicates one third electronic device, and different first identifiers indicate different electronic devices.
  • the above-mentioned first identification may be the device identification of the third electronic device, or may be the identification of a communication module (for example, a UWB communication module) included in the third electronic device, etc., which may be unique.
  • the identifier that indicates the third electronic device can be specifically determined according to actual use requirements, which is not limited in the embodiment of the present invention.
  • the first electronic device since the first identification is sent by the third electronic device, if the first electronic device receives the first identification sent by the third electronic device, the first electronic device can determine that the third electronic device is in the powered-on state , So as to determine that the third electronic device is outputting content (for example, display screen, play music, play video, etc.).
  • content for example, display screen, play music, play video, etc.
  • the above-mentioned method for the first electronic device to receive the first identifier sent by the third electronic device may include the following method 1 and method 2.
  • Each electronic device in the above communication system periodically sends a broadcast message.
  • the broadcast message can carry the identity of the sender.
  • the broadcast message can be used to determine the proximity of the sender (for example, the sender-centric preset Within the distance) whether there are other electronic devices.
  • the third electronic device A response message may be returned to the first electronic device, and the response message carries the identifier of the third electronic device.
  • the first electronic device can obtain the identification of the third electronic device from the response message.
  • Each electronic device in the above-mentioned communication system periodically sends a broadcast message.
  • the broadcast message may include the sender’s identity.
  • the broadcast message may be used to determine the vicinity of the sender (for example, the sender-centric preset Within the distance) whether there are other electronic devices.
  • the first electronic device when the first electronic device receives other electronic devices in its vicinity, taking the above-mentioned third electronic device as an example, after sending a broadcast message, the first electronic device can obtain the third electronic device's information from the broadcast message. logo.
  • the first electronic device determines whether the stored identifier includes the first identifier.
  • At least one identification may be stored in the first electronic device, where each identification in the at least one identification may indicate one electronic device, and different identifications may be used to indicate different electronic devices.
  • the first electronic device may first determine whether the stored identifier includes the first identifier. If the identifier stored by the first electronic device includes the first identifier, the first electronic device may continue to execute the following S201c. If the identifier stored by the first electronic device does not include the first identifier, the first electronic device may output first prompt information to ask the user whether the user needs to store the first identifier; in this case, if the user triggers the first electronic device to store the first identifier The first identification, after storing the first identification, the first electronic device may continue to execute S201c below. If the user does not trigger the storage of the first identification, the first electronic device may return to the foregoing S201a to continue execution.
  • the first electronic device determines that the third electronic device is the playback source device.
  • the first electronic device may select the third electronic device with the highest frequency of historical shared content among these third electronic devices. 3.
  • the electronic device is determined to be the playback source device.
  • the first electronic device may sort the stored identities.
  • the first electronic device may determine the third electronic device indicated by the first identification ranked first among the first identifications as the playback source device. It can be understood that the first electronic device may also adopt any other possible manners to determine a playback source device from a plurality of third electronic devices, which may be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
  • the first electronic device can automatically determine the playback source device according to the identification sent by other electronic devices, without the user manually selecting the playback source device, the process of determining the playback source device can be simplified.
  • the playback source device can be determined according to the identifier that uniquely indicates the electronic device, the accuracy of determining the playback source device can be improved.
  • the first electronic device after the first electronic device determines the playback source device, it can determine whether there is an electronic device in the target direction of the first electronic device, and if there is an electronic device in the target direction (for example, the second electronic device described below) ), the first electronic device can continue to execute S202 below. If there is no electronic device in the target direction, the first electronic device may output second prompt information to prompt the user that there is no electronic device capable of receiving shared content in the target direction of the first electronic device.
  • the first electronic device determines a second electronic device located in a target direction of the first electronic device.
  • the above-mentioned target direction may be determined according to the orientation of the first electronic device.
  • the above-mentioned target direction changes as the orientation of the first electronic device changes.
  • the above-mentioned target direction may be used to indicate the direction in which the face of the user who uses the first electronic device faces.
  • the position of the electronic device within its communication range (for example, it may be coordinate information) can be determined through the positioning system where the first electronic device is located. , Thereby determining that the second electronic device is located in the target direction of the first electronic device according to the position.
  • the direction of the rays directed by the first electronic device to the second electronic device is the above-mentioned target direction.
  • the first electronic device may determine the electronic device closest to the first electronic device as the second electronic device.
  • the device may also determine all the multiple electronic devices as the second electronic device, which may be specifically determined according to actual use requirements, which is not limited in the embodiment of the present invention.
  • the above-mentioned target direction may be any direction relative to the first electronic device.
  • the above-mentioned target direction may be an upward direction relative to the first electronic device, a downward direction relative to the first electronic device, a leftward direction relative to the first electronic device, or a direction relative to the first electronic device.
  • Any possible direction such as the direction of an electronic device. Specifically, it can be determined according to actual use requirements, and the embodiment of the present invention does not limit it.
  • the second electronic device determined by the electronic device is also different.
  • Figure 3 it is a schematic diagram of the positional relationship of the electronic equipment. If the target direction is the leftward direction relative to the first electronic device as an example, the first electronic device 30 can determine that the electronic device 31 located on the left side of the first electronic device 30 (ie, the target direction) is the second electronic device. If the target direction is a direction to the right (ie, the target direction) relative to the first electronic device, the first electronic device 30 may determine that the electronic device 32 located on the right side of the first electronic device 30 is the second electronic device.
  • the arrow 33 in FIG. 3 indicates a direction to the left relative to the first electronic device
  • the arrow 34 in FIG. 3 indicates a direction to the right relative to the first electronic device.
  • the second electronic device may be a device for which the user needs to share content, that is, the user needs to share the content currently output by the playback source device to the second electronic device.
  • S203 The first electronic device controls the playback source device to share the target content with the second electronic device.
  • the aforementioned target content may be the content currently output by the playback source device.
  • the content currently output by the playback source device may be visual content and/or auditory content.
  • the content in the visual form may be a video, a picture, a user interface, a text, or a startup screen, etc.
  • the auditory content can be music or video. Specifically, it can be determined according to actual use requirements, and the embodiment of the present invention does not limit it.
  • the playback source device can use any possible communication methods such as UWB communication methods, Wi-Fi communication methods, and LTE communication methods to share the target content with the second electronic device.
  • any possible communication methods such as UWB communication methods, Wi-Fi communication methods, and LTE communication methods to share the target content with the second electronic device.
  • UWB communication methods such as Wi-Fi communication methods, and LTE communication methods.
  • the UWB communication method can use nanosecond non-sine wave narrow pulses for information transmission, if the playback source device can use UWB communication to share the target content with the second electronic device, it can ensure that the target content is high. Speed and low latency transmission, so as to ensure that the output effect of the target content on the second electronic device is better, and the user experience is improved.
  • any two electronic devices among the first electronic device, the playback source device, and the second electronic device is less than or equal to the maximum UWB communication distance. In this way, it can be ensured that the communication quality of the communication between any two electronic devices among the first electronic device, the playback source device, and the second electronic device is better.
  • the foregoing S203 may be specifically implemented by the following S203a.
  • the first electronic device sends target indication information to the playback source device.
  • the above-mentioned target indication information may be used to instruct the playback source device to share the target content with the second electronic device.
  • the playback source device can share its current output content with the second electronic device after receiving the above-mentioned target indication message.
  • the first electronic device may adopt any possible communication method such as UWB communication method, Wi-Fi communication method, LTE communication method, etc., to send the target indication message to the playback source device.
  • any possible communication method such as UWB communication method, Wi-Fi communication method, LTE communication method, etc.
  • UWB communication method Wi-Fi communication method
  • LTE communication method etc.
  • it can be determined according to actual use requirements, and the embodiment of the present invention does not limit it.
  • the target indication message may include an identifier indicating the second electronic device (hereinafter referred to as the second identifier).
  • the second identifier indicating the second electronic device
  • the first electronic device first acquires the second identifier before sending the target indication information to the playback source device.
  • the method for obtaining the second identifier by the first electronic device reference may be made to the related description of the method for obtaining the first identifier by the first electronic device in the foregoing embodiment. In order to avoid repetition, details are not described herein again.
  • the target indication message includes the second identifier indicating the second electronic device, the accuracy of the first electronic device controlling the playback source device to share the target content with the second electronic device can be ensured.
  • the electronic device located in the target direction of the first electronic device may be the above-mentioned playback source device, that is, the playback source device is the same as the second electronic device, that is, the second electronic device is the same as the second electronic device.
  • the content currently output by the device is the above-mentioned target content.
  • the foregoing S203a may be specifically implemented by the following S203a1 and S203a2.
  • the first electronic device determines whether the second electronic device is the same as the playback source device.
  • the first electronic device may first determine whether the second electronic device is the same as the playback source device; if the second electronic device is the same as the playback source device, the first electronic device is the same as the playback source device.
  • the electronic device can re-determine the second electronic device, that is, return to the foregoing S202 to continue execution; if the second electronic device is different from the playback source device, the first electronic device can continue to execute the following S203a2.
  • the first electronic device may obtain the second identifier for indicating the second electronic device from the second electronic device. Then, the first electronic device may compare the second identification with the first identification, and if the second identification is the same as the first identification, it means that the second electronic device is the same as the playback source device. If the second identifier is different from the first identifier, it means that the second electronic device is different from the playback source device.
  • the first electronic device sends a target indication message to the playback source device.
  • the first electronic device since the first electronic device sends the target indication information to the playback source device only when the playback source device and the second electronic device are different electronic devices, not only can the playback source device be accurately controlled to the second electronic device Devices share target content and can save network resources.
  • the communication range of the first electronic device includes the electronic device 3, the electronic device 4, and the electronic device 5, and the target direction is an upward direction relative to the first electronic device.
  • the first electronic device 40 may determine the first electronic device 40 as the playback source device, and the electronic device 4 located above the first electronic device 40 may be determined as the second electronic device .
  • the first electronic device 40 can share its currently displayed content to the electronic device 4.
  • the electronic device 4 may display the content currently displayed by the first electronic device 40.
  • the communication range of the first electronic device includes the electronic device 3, the electronic device 4, and the electronic device 5; the first identifier indicates the electronic device 3, and the identifier stored by the first electronic device includes The first identification; the target direction is the upward direction relative to the first electronic device. Then, if the first electronic device receives the first identifier, as shown in (a) of FIG. 5, the first electronic device 40 can determine that the electronic device 3 is the playback source device and will be located above the The electronic device 4 is determined to be the second electronic device.
  • the first electronic device 40 may send an instruction message to the electronic device 3 (that is, the above-mentioned target instruction message), and the instruction message may be used to instruct the electronic device 3 to share the content currently displayed by the electronic device 3 with the electronic device 4. Therefore, after receiving the instruction message, the electronic device 3 can share its currently displayed content with the electronic device 4. Therefore, as shown in (b) of FIG. 5, the content displayed by the electronic device 3 can be displayed on the electronic device 4 in real time.
  • the electronic device 3 that is, the above-mentioned target instruction message
  • the first electronic device determines the playback source device
  • the first electronic device can automatically control the playback source device to The currently output content is shared with the second electronic device, so that the second electronic device can output the content output by the playback source device in real time without the user manually triggering sharing, thereby simplifying the process of sharing content between electronic devices and improving user experience.
  • the communication mode between any two electronic devices among the first electronic device, the playback source device, and the second electronic device may be a UWB communication mode.
  • the first electronic device, the playback source device, and the second electronic device are all provided with a UWB communication module, so that the UWB communication between any two electronic devices among the first electronic device, the playback source device, and the second electronic device
  • the communication can be implemented through UWB communication modules provided in the first electronic device, the playback source device, and the second electronic device.
  • the first electronic device may include at least two UWB communication modules.
  • the first electronic device may first use UWB technology (referring to UWB communication technology and UWB positioning technology) according to the above-mentioned at least two UWB communication modules to determine the above Target direction. Specifically, the first electronic device may first obtain the UWB coordinate information of the at least two UWB communication modules, and determine the target direction according to the obtained UWB coordinate information, and after determining the target direction, determine the second electronic device located in the target direction. equipment.
  • UWB technology referring to UWB communication technology and UWB positioning technology
  • the first electronic device may obtain the UWB coordinate information of the above-mentioned at least two UWB communication modules from the UWB positioning system where the first electronic device is located.
  • UWB positioning system please refer to the related description of the UWB positioning system in the above-mentioned term explanation section. In order to avoid repetition, it will not be repeated here.
  • the UWB coordinate information of the above-mentioned at least two UWB communication modules may be two-dimensional coordinate information or three-dimensional coordinate information, which can be specifically determined according to actual use requirements, and is not limited in the embodiment of the present invention.
  • the first electronic device may determine the target direction before determining the playback source device, or may determine the target direction after determining the playback source device, which can be determined according to actual usage requirements. Not limited. The following uses an example for the first electronic device to determine the target direction after determining the playback source device.
  • the content sharing method provided in the embodiment of the present invention may further include the following S204.
  • the first electronic device determines the target direction according to the UWB coordinate information of the at least two UWB communication modules.
  • the number of the above-mentioned at least two UWB communication modules is different, and the method for determining the target direction by the first electronic device is also different. Taking the number of the at least two UWB communication modules as 2 and the number of the at least two UWB communication modules as 3 as examples, the method for determining the target direction by the first electronic device will be exemplarily described below.
  • the number of the above-mentioned at least two UWB communication modules is two.
  • the aforementioned at least two UWB communication modules include a first UWB communication module and a second UWB communication module, that is, the number of the at least two UWB communication modules is 2 pcs.
  • the above S204 can be specifically implemented by the following S204a and S204b.
  • the first electronic device determines a first straight line where the first UWB communication module and the second UWB communication module are located according to the UWB coordinate information of the first UWB communication module and the UWB coordinate information of the second UWB communication module.
  • the first straight line where the first UWB communication module and the second UWB communication module are located refers to the connection between the UWB coordinate information of the first UWB communication module and the UWB coordinate information of the second UWB communication module.
  • Straight line determined by the line.
  • the above-mentioned first straight line may be a straight line determined by point A and point B.
  • the first electronic device determines the same direction as the first preset direction in the direction pointed by the first straight line as the target direction.
  • the direction pointed by the first straight line includes two directions, namely: the direction in which the first UWB communication module points to the second UWB communication module and the direction in which the second UWB communication module points to the first UWB communication module.
  • the direction of the module namely: the direction in which the first UWB communication module points to the second UWB communication module and the direction in which the second UWB communication module points to the first UWB communication module. The direction of the module.
  • the position of the first UWB communication module is point A
  • the position of the second UWB communication module is point B
  • the UWB coordinate information of point A is (x1, y1, z1)
  • B The UWB coordinate information of the point is (x2, y2, z2);
  • the direction pointed by the first straight line 50 is the direction from point A to point B, that is, the direction shown by arrow 52; and the direction from point B to point A , Which is the direction shown by arrow 51.
  • the first preset direction may be a direction in which the first UWB communication module points to the second UWB communication module, or may be a direction in which the second UWB communication module points to the first UWB communication module.
  • it can be determined according to actual use requirements, and the embodiment of the present invention does not limit it.
  • the above-mentioned first preset direction may be used to indicate the gaze direction of the user.
  • the above-mentioned first UWB communication module and the second UWB communication module may be UWB communication modules arranged on the same temple of the smart glasses .
  • the smart glasses 60 may include two lens rings 61 and two temples 62. One end of each of the two temples is respectively connected with the corresponding ring of the temple. Then, the first UWB communication module 63 and the second UWB communication module 64 may be respectively arranged at both ends of one temple 62.
  • the first UWB communication module 63 and the second UWB communication module 64 are respectively arranged at both ends of a temple 62 of the smart glasses 60. Then, the first straight line where the first UWB communication module 63 and the second UWB communication module 64 are located is the straight line 67 shown by the dashed line, so that the smart glasses 60 can communicate with the second UWB according to the UWB coordinate information of the first UWB communication module 63
  • the UWB coordinate information of the module 64 determines that the two directions pointed by the straight line 67 are the direction shown by the arrow 65 and the direction shown by the arrow 66.
  • the smart glasses 60 can determine that the target direction is the direction shown by the arrow 65 in FIG. 8; if the first preset direction is the second The UWB communication module points to the direction of the first UWB communication module, and the target direction may be the direction shown by arrow 66 in FIG. 8. It should be noted that, since the first preset direction is used to indicate the gaze direction of the user, the first preset direction is usually the direction shown by the arrow 66.
  • the first electronic device determines the first electronic device according to the UWB coordinate information of the two UWB communication modules in the first electronic device and the first preset direction.
  • the target direction may be the gaze direction of the user, so that the second electronic device determined by the first electronic device according to the target direction can meet the needs of the user, which can improve the user experience.
  • the number of the above-mentioned at least two UWB communication modules is 3.
  • the above-mentioned at least two UWB communication modules include a first UWB communication module, a second UWB communication module, and a third UWB communication module that form a right-angled triangle in a positional relationship.
  • UWB communication modules that is, the number of the at least two UWB communication modules is three.
  • the position of the first UWB communication module is point A
  • the position of the second UWB communication module is point B
  • the position of the third UWB communication module is point C
  • the line between point A and point B can form the hypotenuse of the right triangle
  • the line between point A and point C can form a right side of the right triangle
  • the line between point B and point C It can form another right-angle side of the right-angled triangle.
  • the foregoing S204 may be specifically implemented by the following S204c to S204e.
  • the first electronic device determines that the third UWB communication module is on the hypotenuse of the right triangle according to the UWB coordinate information of the first UWB communication module, the UWB coordinate information of the second UWB communication module, and the UWB coordinate information of the third UWB communication module.
  • UWB coordinate information of the vertical point UWB coordinate information of the vertical point.
  • hypotenuse of the above-mentioned right triangle is a line segment connecting the UWB coordinate information of the first UWB communication module and the UWB coordinate information of the second UWB communication module.
  • the position of the vertical point on the hypotenuse of the three UWB communication module is point P; also suppose that the UWB coordinate information of the first UWB communication module is (0, 0, 6), and the UWB coordinate information of the second UWB communication module is (0 ,14,0), the UWB coordinate information of the third UWB communication module is (0,0,0); then, the first electronic device can use the UWB coordinate information of the first UWB communication module and the UWB coordinate information of the second UWB communication module The UWB coordinate information of the third UWB communication module and the UWB coordinate information of the third UWB communication module determine that the UWB coordinate information of the vertical point on the hypotenuse of the third UWB communication module is (0, 2, 5).
  • the first electronic device determines the second straight line where the third UWB communication module and the vertical point are located according to the UWB coordinate information of the third UWB communication module and the UWB coordinate information of the vertical point.
  • the above-mentioned vertical point is the vertical point of the third UWB communication module on the hypotenuse of the above-mentioned right triangle.
  • the second straight line refers to a straight line determined by a connection line between the UWB coordinate information of the third UWB communication module and the UWB coordinate information of the above-mentioned vertical point.
  • the first electronic device can determine the second straight line 90 according to the UWB coordinate information of point P and the UWB coordinate information of point C.
  • the first electronic device determines a direction that is the same as the second preset direction in the direction pointed by the second straight line as the target direction.
  • the directions pointed by the second straight line are two directions, respectively: the direction in which the third UWB communication module points to the vertical point, and the direction in which the vertical point points to the third UWB communication module.
  • the direction of the second straight line 90 is the direction from point C to point P, that is, the direction shown by arrow 91, and the direction from point P to point C, that is, arrow 92 Direction.
  • the second preset direction may be a direction in which the third UWB communication module points to the vertical point, or a direction in which the vertical point points to the third UWB communication module. Specifically, it can be determined according to actual use requirements, and the embodiment of the present invention does not limit it.
  • the first electronic device may determine the direction shown by arrow 91 as the target direction;
  • the second preset direction is the direction in which the vertical point points to the third UWB communication module, the first electronic device may determine the direction shown by the arrow 92 as the target direction.
  • the above-mentioned second preset direction may be used to indicate the gaze direction of the user who uses the first electronic device.
  • the first electronic device is smart glasses.
  • the first electronic device 80 includes two temples 81 and two temples 82; for each temple 82 of the two temples 82, one end of the temple corresponds to the temple.
  • the lens ring 81 is connected.
  • the first UWB communication module 83 may be arranged on the connecting area 84 between the two lens rings 81, and the second UWB communication module 85 and the third UWB communication module 86 may be arranged on both ends of the same temple.
  • the first UWB communication module, the second UWB communication module, and the third UWB communication module may form a right triangle.
  • two UWB communication modules and three UWB communication modules are set in the first electronic device as an example.
  • the first electronic device can still determine the above-mentioned target direction through the UWB positioning system. Specifically, it can be determined according to actual use requirements, and the embodiment of the present invention does not limit it.
  • the target direction is determined by the first electronic device according to the UWB coordinate information of at least two UWB communication modules included in the first electronic device, and the first electronic device is a wearable electronic device, it can be guaranteed to be located
  • the electronic device in the target direction is the electronic device in the user's line of sight, that is, the electronic device that the user needs to share content, so as to ensure that the second electronic device determined by the first electronic device according to the target direction meets the actual use needs of the user.
  • an embodiment of the present invention provides an electronic device 900.
  • the electronic device 900 may be a first electronic device.
  • the electronic device 900 may include a determination module 901 and a control module 902.
  • the determining module 901 can be used to determine the playback source device; and to determine the second electronic device located in the target direction, the target direction can be determined according to the orientation of the first electronic device; the control module 902 can be used to control the determination module determined
  • the playback source device shares the target content with the second electronic device determined by the determining module, and the target content may be content currently output by the playback source device.
  • the above-mentioned determining module 901 may include a receiving sub-module and a determining sub-module.
  • the receiving sub-module can be used to receive the first identification sent by the third electronic device, the first identification can be used to indicate the third electronic device; the determining sub-module can be used to include the first identification in the identification stored by the first electronic device In the case of identification, it is determined that the third electronic device is the playback source device.
  • the aforementioned control module 902 may include a sending sub-module.
  • the sending submodule may be used to send target indication information to the playback source device, and the target indication information may be used to instruct the playback source device to share the target content with the second electronic device.
  • the foregoing sending submodule may be specifically used to send target indication information to the playback source device when the second electronic device is different from the playback source device.
  • the above-mentioned first electronic device may include at least two ultra-wideband UWB communication modules; the determining module 901 may also be used to determine the second electronic device located in the target direction according to the The UWB coordinate information of at least two UWB communication modules determines the target direction.
  • the above-mentioned at least two UWB communication modules may include a first UWB communication module and a second UWB communication module;
  • the UWB coordinate information of the second UWB communication module determines the first straight line where the first UWB communication module and the second UWB communication module are located; and the direction pointed to by the first straight line is the same as the first preset direction The direction is determined as the target direction.
  • the above-mentioned at least two UWB communication modules include a first UWB communication module, a second UWB communication module, and a third UWB communication module that form a right-angled triangle in a positional relationship;
  • the determining module 901 can be specifically Used to determine the UWB coordinate information of the vertical point of the third UWB communication module on the hypotenuse of the right triangle according to the UWB coordinate information of the first UWB communication module and the UWB coordinate information of the second UWB communication module; and according to the third UWB communication
  • the UWB coordinate information of the module and the UWB coordinate information of the vertical point determine the third UWB communication module and the second straight line where the vertical point is located; and the direction pointed to by the second straight line is the same as the second preset direction
  • the direction is determined as the target direction.
  • the hypotenuse of the right triangle may be a line segment connecting the UWB coordinate information of the first UWB communication module and the UWB coordinate information of the
  • the distance between the first electronic device, the playback source device, and the second electronic device is less than or equal to the maximum UWB communication distance.
  • the electronic device 900 provided in the embodiment of the present invention can implement the various processes implemented by the electronic device shown in the foregoing method embodiments. In order to avoid repetition, details are not described herein again.
  • the embodiment of the present invention provides an electronic device, which can be applied to a first electronic device, the first electronic device can determine the playback source device; and determine the second electronic device located in the target direction (determined according to the orientation of the first electronic device) Device; and control the playback source device to share the content currently output by the playback source device with the second electronic device.
  • the first electronic device determines the playback source device
  • the first electronic device can automatically control the playback source device to share its current output content with the first electronic device.
  • the second electronic device so that the second electronic device can output the content output by the playback source device in real time, without the user manually triggering sharing, thereby simplifying the process of sharing content between electronic devices.
  • FIG. 12 is a schematic diagram of the hardware structure of an electronic device that implements various embodiments of the present invention.
  • the electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, and a memory 109 , The processor 110, and the power supply 111 and other components.
  • the structure of the electronic device shown in FIG. 12 does not constitute a limitation on the electronic device.
  • the electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, in-vehicle electronic devices, wearable devices, and pedometers.
  • the processor 110 is used to determine the playback source device; and determine the second electronic device located in the target direction; and control the playback source device to share the target content with the second electronic device; the target direction is based on the orientation of the first electronic device Confirm that the target content is the content currently output by the playback source device.
  • the determination module 901 in the above-mentioned structural schematic diagram of the electronic device may be implemented by the above-mentioned processor 110 and the radio frequency unit 101.
  • the control module 902 in the above-mentioned structural schematic diagram of the electronic device may be implemented by the above-mentioned radio frequency unit 101.
  • An embodiment of the present invention provides an electronic device.
  • the electronic device may be a first electronic device, and the first electronic device may determine the playback source device; Second electronic device; and control the playback source device to share the content currently output by the playback source device with the second electronic device.
  • the first electronic device determines the playback source device
  • the first electronic device can automatically control the playback source device to share its current output content with the first electronic device.
  • the second electronic device so that the second electronic device can output the content output by the playback source device in real time, without the user manually triggering sharing, thereby simplifying the process of sharing content between electronic devices.
  • the radio frequency unit 101 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 110; in addition, Uplink data is sent to the base station.
  • the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.
  • the electronic device provides users with wireless broadband Internet access through the network module 102, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 103 can convert the audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output it as sound. Moreover, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic device 100 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 104 is used to receive audio or video signals.
  • the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042.
  • the graphics processing unit 1041 is used to capture images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
  • the processed image frame can be displayed on the display unit 106.
  • the image frame processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the network module 102.
  • the microphone 1042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode.
  • the electronic device 100 further includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 1061 and the display panel 1061 when the electronic device 100 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 105 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 106 is used to display information input by the user or information provided to the user.
  • the display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 107 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device.
  • the user input unit 107 includes a touch panel 1071 and other input devices 1072.
  • the touch panel 1071 also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1071 or near the touch panel 1071. operate).
  • the touch panel 1071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 110, the command sent by the processor 110 is received and executed.
  • the touch panel 1071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 107 may also include other input devices 1072.
  • other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 1071 can be overlaid on the display panel 1061.
  • the touch panel 1071 detects a touch operation on or near it, it transmits it to the processor 110 to determine the type of the touch event, and then the processor 110 determines the type of touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 1061.
  • the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated
  • the implementation of the input and output functions of the electronic device is not specifically limited here.
  • the interface unit 108 is an interface for connecting an external device with the electronic device 100.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 108 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 100 or can be used to connect to the electronic device 100 and the external device. Transfer data between devices.
  • the memory 109 can be used to store software programs and various data.
  • the memory 109 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 110 is the control center of the electronic device, which uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes software programs and/or modules stored in the memory 109, and calls data stored in the memory 109 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • the processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc.
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110.
  • the electronic device 100 may also include a power source 111 (such as a battery) for supplying power to various components.
  • a power source 111 such as a battery
  • the power source 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the electronic device 100 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present invention also provides an electronic device, including a processor 110 as shown in FIG. 12, a memory 109, a computer program stored in the memory 109 and running on the processor 110, the computer
  • the program is executed by the processor 110, each process of the foregoing method embodiment is realized, and the same technical effect can be achieved. In order to avoid repetition, details are not described herein again.
  • the embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer program is executed by a processor, each process of the foregoing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, I won’t repeat them here.
  • the computer-readable storage medium may include read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc.
  • the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.
  • a storage medium such as ROM/RAM, magnetic disk,
  • the optical disc includes several instructions to make an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

A content sharing method, and an electronic device, relating to the technical field of communications. The method comprises: determining a play source device (S201); determining a second electronic device located in a target direction, wherein the target direction is determined according to the orientation where a first electronic device is located (S202); and controlling the play source device to share target content, wherein the target content is the content that is currently output by the play source device (S203). The method is applied to a scenario in which one electronic device shares content with other electronic devices.

Description

内容共享方法及电子设备Content sharing method and electronic equipment
相关申请的交叉引用Cross-references to related applications
本申请主张在2020年03月20日在中国提交的中国专利申请号No.202010202014.7的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 202010202014.7 filed in China on March 20, 2020, the entire content of which is incorporated herein by reference.
技术领域Technical field
本发明实施例涉及通信技术领域,尤其涉及一种内容共享方法及电子设备。The embodiments of the present invention relate to the field of communication technology, and in particular, to a content sharing method and electronic equipment.
背景技术Background technique
随着通信技术的发展,电子设备的功能越来越丰富。例如,一个电子设备可以将其播放的内容共享给其它电子设备播放。With the development of communication technology, the functions of electronic devices are becoming more and more abundant. For example, an electronic device can share the content it plays with other electronic devices for playback.
具体的,当用户需求将一个电子设备(以下称为电子设备1)播放的内容共享给另一电子设备(以下称为电子设备2)播放时,用户可以先触发电子设备1与电子设备2建立通信连接;然后,用户可以在电子设备1上输入,以触发电子设备1将其播放的内容共享给电子设备2。如此,由于需要用户在电子设备1上操作之后,电子设备1才能将其播放的内容共享给电子设备2,因此使得电子设备之间共享内容的过程复杂。Specifically, when the user needs to share content played by one electronic device (hereinafter referred to as electronic device 1) to another electronic device (hereinafter referred to as electronic device 2) for playback, the user can first trigger the establishment of electronic device 1 and electronic device 2 Communication connection; then, the user can input on the electronic device 1 to trigger the electronic device 1 to share the content it plays with the electronic device 2. In this way, since the user needs to operate on the electronic device 1 before the electronic device 1 can share the content it plays with the electronic device 2, the process of sharing content between electronic devices is complicated.
发明内容Summary of the invention
本发明实施例提供一种内容共享方法及电子设备,以解决电子设备之间共享内容的过程复杂的问题。The embodiments of the present invention provide a content sharing method and electronic equipment, so as to solve the problem that the process of sharing content between electronic equipment is complicated.
为了解决上述技术问题,本发明是这样实现的:In order to solve the above technical problems, the present invention is implemented as follows:
第一方面,本发明实施例提供了一种内容共享方法,该方法可以应用于第一电子设备,该方法包括,确定播放源设备;且确定位于目标方向上的第二电子设备,目标方向根据第一电子设备所处的方位确定;并控制播放源设备共享目标内容,目标内容为播放源设备当前输出的内容。In the first aspect, an embodiment of the present invention provides a content sharing method that can be applied to a first electronic device. The method includes determining a playback source device; and determining a second electronic device located in a target direction, and the target direction is based on The position where the first electronic device is located is determined; and the playback source device is controlled to share the target content, and the target content is the content currently output by the playback source device.
第二方面,本发明实施例提供了一种电子设备,该电子设备可以为第一电子设备,该电子设备可以包括确定模块和控制模块;确定模块,用于确定播放源设备;且确定位于目标方向上的第二电子设备,目标方向根据第一电子设备确定;控制模块,用于控制确定模块确定的播放源设备向确定模块确定的第二电子设备共享目标内容,目标内容为播放源设备当前输出的内容。In the second aspect, an embodiment of the present invention provides an electronic device. The electronic device may be a first electronic device. The electronic device may include a determining module and a control module; the determining module is used to determine the playback source device; The second electronic device in the direction, the target direction is determined according to the first electronic device; the control module is used to control the playback source device determined by the determining module to share the target content with the second electronic device determined by the determining module, and the target content is the current playback source device The content of the output.
第三方面,本发明实施例提供了一种电子设备,包括处理器、存储器及存储在存储器上并可在处理器上运行的计算机程序,计算机程序被处理器执行时可以实现上述第一方面的内容共享方法的步骤。In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored on the memory and running on the processor. The computer program can implement the above-mentioned first aspect when the computer program is executed by the processor. The steps of the content sharing method.
第四方面,本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时可以实现上述第一方面的内容共享方法的步骤。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the content sharing method in the first aspect can be implemented.
第五方面,本发明实施例提供了一种计算机程序产品,该计算机程序产品被至少一个处理器执行以实现如上述第一方面的内容共享方法。In a fifth aspect, an embodiment of the present invention provides a computer program product, which is executed by at least one processor to implement the content sharing method as in the above-mentioned first aspect.
第六方面,本发明实施例提供了一种电子设备,包括电子设备被配置成用于执行如上述第一方面的内容共享方法。In a sixth aspect, an embodiment of the present invention provides an electronic device, including an electronic device configured to execute the content sharing method as described in the first aspect.
在本发明实施例中,第一电子设备可以确定播放源设备;且确定位于目标方向(根据第一电子设备所处的方位确定)上的第二电子设备;并控制播放源设备向第二电子设备共享播放源设备当前输出的内容。通过该方案,在第一电子设备确定播放源设备之后,若第一电子设备确定目标方向上存在第二电子设备,则第一电子设备可以自动控制播放源设备将其当前输出的内容共享给第二电子设备,以使得第二电子设备可以实时输出播放源设备输出的内容,无需用户再手动触发共享,从而可以简化电子设备之间共享内容的过程,提高用户体验。In the embodiment of the present invention, the first electronic device can determine the playback source device; and determine the second electronic device located in the target direction (determined according to the orientation of the first electronic device); and control the playback source device to the second electronic device The device shares the content currently output by the playback source device. With this solution, after the first electronic device determines the playback source device, if the first electronic device determines that there is a second electronic device in the target direction, the first electronic device can automatically control the playback source device to share its current output content with the first electronic device. The second electronic device, so that the second electronic device can output the content output by the playback source device in real time, without the user manually triggering sharing, thereby simplifying the process of sharing content between electronic devices and improving user experience.
附图说明Description of the drawings
图1为本发明实施例所涉及的UWB通信系统的一种可能的结构示意图;FIG. 1 is a schematic diagram of a possible structure of a UWB communication system related to an embodiment of the present invention;
图2为本发明实施例提供的内容共享方法的示意图之一;FIG. 2 is one of the schematic diagrams of a content sharing method provided by an embodiment of the present invention;
图3为本发明实施例中电子设备之间的位置关系示意图之一;Figure 3 is one of the schematic diagrams of the positional relationship between electronic devices in an embodiment of the present invention;
图4为本发明实施例中电子设备之间的位置关系示意图之二;4 is the second schematic diagram of the positional relationship between electronic devices in the embodiment of the present invention;
图5为本发明实施例中电子设备之间的位置关系示意图之三;5 is the third schematic diagram of the positional relationship between electronic devices in the embodiment of the present invention;
图6为本发明实施例提供的内容共享方法的示意图之二;FIG. 6 is a second schematic diagram of a content sharing method provided by an embodiment of the present invention;
图7为本发明实施例中至少两个UWB通信模块的位置关系示意图之一;FIG. 7 is one of the schematic diagrams of the positional relationship of at least two UWB communication modules in an embodiment of the present invention;
图8为本发明实施例中至少两个UWB通信模块的位置关系示意图之二;8 is the second schematic diagram of the positional relationship of at least two UWB communication modules in the embodiment of the present invention;
图9为本发明实施例中至少两个UWB通信模块的位置关系示意图之三;9 is the third schematic diagram of the positional relationship of at least two UWB communication modules in the embodiment of the present invention;
图10为本发明实施例中至少两个UWB通信模块的位置关系示意图之四;10 is the fourth schematic diagram of the positional relationship of at least two UWB communication modules in the embodiment of the present invention;
图11为本发明实施例提供的电子设备的结构示意图;FIG. 11 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention;
图12为本发明实施例提供的电子设备的硬件示意图。FIG. 12 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
本文中术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。The term "and/or" in this article refers to an association relationship that describes associated objects, which means that there can be three types of relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, and B exists alone These three situations. The symbol "/" in this document represents the relationship that the associated object is or, for example, A/B represents A or B.
本文中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一电子设备和第二电子设备等是用于区别不同的电子设备,而不是用于描述电子设备的特定顺序。The terms "first" and "second" in this document are used to distinguish different objects, rather than to describe a specific order of objects. For example, the first electronic device and the second electronic device are used to distinguish different electronic devices, rather than to describe the specific order of the electronic devices.
在本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以 具体方式呈现相关概念。In the embodiments of the present invention, words such as "exemplary" or "for example" are used to represent examples, illustrations, or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present invention should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as "exemplary" or "for example" are used to present related concepts in a specific manner.
在本发明实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个元件是指两个或者两个以上的元件等。In the description of the embodiments of the present invention, unless otherwise specified, the meaning of "plurality" means two or more than two, for example, a plurality of elements means two or more elements, and so on.
下面首先对本申请的权利要求书和说明书中涉及的一些名词或者术语进行解释说明。The following first explains some terms or terms involved in the claims and specification of this application.
超带宽UWB(Ultra Wide Band,UWB)通信模块:是指采用纳秒级的非正弦波窄脉冲进行信息传输的通信模块。由于UWB通信模块采用频谱极宽的超宽基带脉冲(即纳秒级的非正弦窄脉冲)进行信息传输,因此,UWB通信模块也可以称为基带通信模块或无线载波通信模块。其中,UWB通信模块不但可以用于信息传输,而且可以用于距离测量和精确定位。Ultra Wide Band (UWB) communication module: refers to a communication module that uses nanosecond non-sine wave narrow pulses for information transmission. Since the UWB communication module uses ultra-wide baseband pulses with extremely wide spectrum (ie, nanosecond non-sinusoidal narrow pulses) for information transmission, the UWB communication module can also be called a baseband communication module or a wireless carrier communication module. Among them, the UWB communication module can be used not only for information transmission, but also for distance measurement and precise positioning.
UWB定位系统:是指由多个UWB通信模块,例如可以为4个UWB通信模块,构成的UWB通信系统;这些UWB通信模块中的每个UWB通信模块的UWB坐标信息已确定。其中,UWB定位系统可以对处于该UWB定位系统的定位范围内且设置有UWB通信模块的对象(可以为物体、动物、或者人等任意可能的对象)进行精确定位。UWB positioning system: refers to a UWB communication system composed of multiple UWB communication modules, for example, 4 UWB communication modules; the UWB coordinate information of each UWB communication module in these UWB communication modules has been determined. Among them, the UWB positioning system can accurately locate an object (which can be any possible object such as an object, an animal, or a person) that is within the positioning range of the UWB positioning system and is provided with a UWB communication module.
例如,本发明实施例中,上述UWB定位系统可以对第一电子设备中的至少两个UWB通信模块定位,如此,第一电子设备可以基于该UWB定位系统,获取该至少两个UWB通信模块的UWB坐标信息。For example, in the embodiment of the present invention, the above-mentioned UWB positioning system can position at least two UWB communication modules in the first electronic device. In this way, the first electronic device can obtain the information of the at least two UWB communication modules based on the UWB positioning system. UWB coordinate information.
本发明实施例提供一种内容共享方法及电子设备,该方法可以应用于第一电子设备,第一电子设备可以确定播放源设备;且确定位于目标方向(根据第一电子设备所处的方位确定)上的第二电子设备;并控制播放源设备向第二电子设备共享播放源设备当前输出的内容。通过该方案,在第一电子设备确定播放源设备之后,若第一电子设备确定目标方向上存在第二电子设备,则第一电子设备可以自动控制播放源设备将其当前输出的内容共享给第二电子设备,以使得第二电子设备可以实时输出播放源设备输出的内容,无需用户再手动触发共享,从而可以简化电子设备之间共享内容的过程,提高用户体验。The embodiment of the present invention provides a content sharing method and electronic device. The method can be applied to a first electronic device. The first electronic device can determine the playback source device; ) On the second electronic device; and control the playback source device to share the content currently output by the playback source device with the second electronic device. With this solution, after the first electronic device determines the playback source device, if the first electronic device determines that there is a second electronic device in the target direction, the first electronic device can automatically control the playback source device to share its current output content with the first electronic device. The second electronic device, so that the second electronic device can output the content output by the playback source device in real time, without the user manually triggering sharing, thereby simplifying the process of sharing content between electronic devices and improving user experience.
本发明实施例涉及的通信系统主要为电子设备与电子设备之间通信的通信系统。该通信系统中可以包括至少两个电子设备,且该至少两个电子设备可以通过无线网络进行信息交互。The communication system involved in the embodiment of the present invention is mainly a communication system for communication between an electronic device and an electronic device. The communication system may include at least two electronic devices, and the at least two electronic devices may exchange information through a wireless network.
可选地,本发明实施例中,上述无线网络可以为UWB网络、无线宽带wi-fi(Wireless-fidelity,Wi-fi)网络、长期演进LTE(Local Terminal Emulator,LTE)网络,未来5G网络等任意可能的无线网络,具体可以根据实际使用需求确定。Optionally, in the embodiment of the present invention, the above-mentioned wireless network may be a UWB network, a wireless broadband wi-fi (Wireless-fidelity, Wi-fi) network, a long-term evolution LTE (Local Terminal Emulator, LTE) network, a future 5G network, etc. Any possible wireless network can be determined according to actual usage requirements.
下面以无线网络为UWB网络,即上述通信系统为UWB通信系统为例,对本发明实施例提供的内容共享方法所涉及的通信系统进行示例性地说明。Taking the wireless network as the UWB network, that is, the above-mentioned communication system as the UWB communication system, as an example, the communication system involved in the content sharing method provided by the embodiment of the present invention will be exemplarily described below.
图1示出了本发明实施例所涉及的UWB通信系统的一种可能的架构示意图。如图1所示,该UWB通信系统中包括至少两个电子设备,例如,电子设备11、电子设备12和电子设备13;该至少两个电子设备中的每个电子设备中均包括UWB通信模块。从而该通信系统中的电子设备之间可以基于其包括的UWB通信模块实现UWB通信。FIG. 1 shows a schematic diagram of a possible architecture of a UWB communication system involved in an embodiment of the present invention. As shown in FIG. 1, the UWB communication system includes at least two electronic devices, for example, an electronic device 11, an electronic device 12, and an electronic device 13. Each of the at least two electronic devices includes a UWB communication module . Therefore, the electronic devices in the communication system can realize UWB communication based on the UWB communication module included in the communication system.
需要说明的是,本发明实施例中,上述电子设备11可以为本发明实施例中的播放源设备,上述电子设备12可以为本发明实施例中的第一电子设备,上述电子设备13可以为 本发明实施例中的第二电子设备。本发明实施例中,电子设备12可以接收电子设备11发送的标识(以下称为标识1),并在电子设备12中包括该标识1的情况下,确定电子设备11为播放源设备,然后,电子设备12可以确定电子设备12的目标方向上的是否存在电子设备,若电子设备13处于电子设备12的目标方向上,则电子设备12可以获取电子设备13的标识,并控制电子设备11向电子设备13共享其当前输出的内容,例如,电子设备12可以通过向电子设备11发送包括电子设备13的标识的指示信息的方式,控制电子设备11向电子设备13输入电子设备11当前输出的内容。如此,可以使得电子设备13实时输出电子设备11输出的内容,无需用户再手动触发共享,从而可以简化电子设备之间共享内容的过程,提高用户体验。It should be noted that in the embodiment of the present invention, the above-mentioned electronic device 11 may be the playback source device in the embodiment of the present invention, the above-mentioned electronic device 12 may be the first electronic device in the embodiment of the present invention, and the above-mentioned electronic device 13 may be The second electronic device in the embodiment of the present invention. In the embodiment of the present invention, the electronic device 12 may receive the identification (hereinafter referred to as identification 1) sent by the electronic device 11, and if the identification 1 is included in the electronic device 12, it is determined that the electronic device 11 is the playback source device, and then, The electronic device 12 can determine whether there is an electronic device in the target direction of the electronic device 12. If the electronic device 13 is in the target direction of the electronic device 12, the electronic device 12 can obtain the identification of the electronic device 13 and control the electronic device 11 to the electronic device. The device 13 shares its current output content. For example, the electronic device 12 can control the electronic device 11 to input the current output content of the electronic device 11 to the electronic device 13 by sending indication information including the identification of the electronic device 13 to the electronic device 11. In this way, the electronic device 13 can be made to output the content output by the electronic device 11 in real time, without the user manually triggering sharing, so that the process of sharing content between electronic devices can be simplified and the user experience can be improved.
本发明实施例中的电子设备可以为移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本发明实施例不作具体限定。The electronic device in the embodiment of the present invention may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). , PDA), etc. The non-mobile electronic device may be a personal computer (PC), a television (television, TV), a teller machine, or a self-service machine, etc., which is not specifically limited in the embodiment of the present invention.
本发明实施例提供的内容共享方法的执行主体可以为上述的电子设备,也可以为该电子设备中能够实现该内容共享方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本发明实施例不作限定。下面以电子设备为例,对本发明实施例提供的内容共享方法进行示例性的说明。The execution subject of the content sharing method provided by the embodiment of the present invention may be the above-mentioned electronic device, or may be a functional module and/or functional entity in the electronic device that can implement the content sharing method, which can be specifically determined according to actual usage requirements. The embodiments of the present invention are not limited. The following takes an electronic device as an example to illustrate the content sharing method provided by the embodiment of the present invention.
本发明实施例提供的内容共享方法可以在用户需求将一个电子设备当前输出的内容,共享给另一个电子设备的场景下执行。The content sharing method provided by the embodiment of the present invention can be executed in a scenario where a user needs to share content currently output by one electronic device with another electronic device.
具体地,本发明实施例提供的内容共享方法可以在下述的两种场景(即场景1和场景2)下执行。Specifically, the content sharing method provided by the embodiment of the present invention can be executed in the following two scenarios (ie, scenario 1 and scenario 2).
场景1:scene 1:
本发明实施例中,若用户需求将一个电子设备(例如本发明实施例中的第一电子设备)当前输出的内容,共享给其他电子设备(例如本发明实施例中的第二电子设备);则用户可以触发第一电子设备先确定其目标方向上是否存在第二电子设备;若第一电子设备确定目标方向上存在第二电子设备,则第一电子设备可以将其当前输出的内容共享给第二电子设备,如此,可以使得第二电子设备实时输出播放源设备输出的内容,无需用户再手动触发共享,从而可以简化电子设备之间共享内容的过程。In the embodiment of the present invention, if the user needs to share the content currently output by one electronic device (for example, the first electronic device in the embodiment of the present invention) to other electronic devices (for example, the second electronic device in the embodiment of the present invention); Then the user can trigger the first electronic device to first determine whether there is a second electronic device in the target direction; if the first electronic device determines that there is a second electronic device in the target direction, the first electronic device can share its current output content with The second electronic device, in this way, can enable the second electronic device to output the content output by the playback source device in real time, without the need for the user to manually trigger sharing, thereby simplifying the process of sharing content between electronic devices.
场景2Scene 2
本发明实施例中,若用户需求将一个电子设备(例如本发明实施例中的播放源设备)当前输出的内容,共享给其他电子设备(例如本发明实施例中的第二电子设备);则用户可以触发另一个电子设备(例如本发明实施例中的第一电子设备)发送指示信息,该指示信息用于指示该一个电子设备将其输出的内容共享给该其他电子设备。In the embodiment of the present invention, if the user needs to share the content currently output by one electronic device (such as the playback source device in the embodiment of the present invention) with other electronic devices (such as the second electronic device in the embodiment of the present invention); then The user can trigger another electronic device (for example, the first electronic device in the embodiment of the present invention) to send instruction information, and the instruction information is used to instruct the one electronic device to share the output content with the other electronic device.
具体的,第一电子设备可以先确定其通信范围内是否存在播放源设备,若第一电子设备的通信范围内存在播放源设备,则第一电子设备可以确定其目标方向上是否存在第二电子设备;从而若第一电子设备的目标方向上存在第二电子设备,则第一电子设备可以控制播放源设备将其当前输出的内容共享给第二电子设备,如此,可以使得第二电子设备实时 输出播放源设备输出的内容,无需用户再手动触发共享,从而可以简化电子设备之间共享内容的过程。Specifically, the first electronic device may first determine whether there is a playback source device within its communication range. If there is a playback source device within the communication range of the first electronic device, the first electronic device may determine whether there is a second electronic device in the target direction. Device; so if there is a second electronic device in the target direction of the first electronic device, the first electronic device can control the playback source device to share its current output content to the second electronic device, so that the second electronic device can be made in real time The content output by the playback source device is output, and the user does not need to manually trigger sharing, thereby simplifying the process of sharing content between electronic devices.
其中,上述第一电子设备确定其通信范围内是否存在播放源设备的方法可以包括:确定第一电子设备是否接收到其通信范围内的其它电子设备发送的、用于指示该其它电子设备的标识,若未接收到任何标识,则第一电子设备可以确定其通信范围内不存在播放源设备。若接收到标识(例如本发明实施例中的第一标识),则第一电子设备可以进一步确定其存储的标识中是否包括第一标识。若第一电子设备存储的标识中包括第一标识,则第一电子设备可以确定其通信范围内存在播放源设备;若第一电子设备存储的标识中不包括第一标识,则第一电子设备可以确定其通信范围内不存在播放源设备。Wherein, the above-mentioned method for the first electronic device to determine whether there is a playback source device within its communication range may include: determining whether the first electronic device has received an identifier for indicating the other electronic device sent by another electronic device within its communication range If no identifier is received, the first electronic device can determine that there is no playback source device within its communication range. If an identifier (for example, the first identifier in the embodiment of the present invention) is received, the first electronic device may further determine whether the stored identifier includes the first identifier. If the identifier stored by the first electronic device includes the first identifier, the first electronic device can determine that there is a playback source device within its communication range; if the identifier stored by the first electronic device does not include the first identifier, the first electronic device It can be determined that there is no playback source device within its communication range.
需要说明的是,本发明实施例中,第一电子设备的通信范围是指以第一电子设备所处的位置为圆心的预设距离范围内。It should be noted that, in the embodiment of the present invention, the communication range of the first electronic device refers to a preset distance range with the location of the first electronic device as the center of the circle.
可选地,本发明实施例中,在上述场景1和上述场景2中,上述目标方向为根据第一电子设备所处的方位确定的。若第一电子设备确定其目标方向上不存在第二电子设备,则第一电子设备可以输出一个提示信息,以提示用户更新第一电子设备所处方位(即位置和/或朝向)。如此,第一电子设备可以根据其更新后所处的方位,重新确定目标方向;并根据重新确定的目标方向,确定上述第二电子设备。Optionally, in this embodiment of the present invention, in the foregoing scenario 1 and the foregoing scenario 2, the foregoing target direction is determined according to the orientation of the first electronic device. If the first electronic device determines that there is no second electronic device in its target direction, the first electronic device may output a prompt message to prompt the user to update the position (ie, position and/or orientation) prescribed by the first electronic device. In this way, the first electronic device can re-determine the target direction according to its updated orientation; and determine the above-mentioned second electronic device according to the re-determined target direction.
下面具体结合各个附图对本发明实施例提供的内容共享方法进行示例性地描述。The content sharing method provided by the embodiments of the present invention will be exemplarily described below in detail with reference to the respective drawings.
如图2所示,本发明实施例提供一种内容共享方法,该方法可以包括下述的S201至S203。As shown in FIG. 2, an embodiment of the present invention provides a content sharing method, and the method may include the following S201 to S203.
S201、第一电子设备确定播放源设备。S201: The first electronic device determines the playback source device.
可选地,本发明实施例中,第一电子设备可以为穿戴式电子设备,例如,可以为智能眼镜或智能头盔等。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the first electronic device may be a wearable electronic device, for example, it may be smart glasses or a smart helmet. Specifically, it can be determined according to actual use requirements, and the embodiment of the present invention does not limit it.
本发明实施例中,播放源设备为当前输出内容的任意电子设备。In the embodiment of the present invention, the playback source device is any electronic device that currently outputs content.
可选地,本发明实施例中,上述播放源设备可以为与第一电子设备相同的电子设备(方式一),也可以为与第一电子设备不同的电子设备(方式二),具体可以根据实际使用需求确定,本发明实施例不作限定。例如,在上述场景1中,上述播放源设备为与第一电子设备相同的电子设备。在上述场景2中,上述播放源设备为与第一电子设备不同的电子设备。Optionally, in the embodiment of the present invention, the above-mentioned playback source device may be the same electronic device as the first electronic device (mode 1), or may be an electronic device different from the first electronic device (mode 2), which may be specifically based on The actual use requirements are determined, which is not limited in the embodiment of the present invention. For example, in the foregoing scenario 1, the foregoing playback source device is the same electronic device as the first electronic device. In the foregoing scenario 2, the foregoing playback source device is an electronic device different from the first electronic device.
下面分别结合上述方式一和上述方式二对第一电子设备确定播放源设备的方法进行示例性地说明。Hereinafter, the method for determining the playback source device by the first electronic device will be exemplarily described in combination with the above-mentioned mode one and the above-mentioned mode two respectively.
方式一:播放源设备为与第一电子设备相同的电子设备Method 1: The playback source device is the same electronic device as the first electronic device
本发明实施例中,第一电子设备即为播放源设备。In the embodiment of the present invention, the first electronic device is the playback source device.
本发明实施例中,第一电子设备启动完成,即可认为第一电子设备确定播放源设备完成,即第一电子设备启动完成后,第一电子设备即可自动将其确定为播放源设备,也即这种情况下,第一电子设备即为播放源设备。In the embodiment of the present invention, when the first electronic device is started up, it can be considered that the first electronic device has determined that the playback source device is completed, that is, after the first electronic device is started up, the first electronic device can automatically determine it as the playback source device. That is, in this case, the first electronic device is the playback source device.
方式二:播放源设备为与第一电子设备不同的电子设备Method 2: The playback source device is an electronic device different from the first electronic device
可选地,本发明实施例中,上述S201具体可以通过下述的S201a至S201c实现。Optionally, in the embodiment of the present invention, the foregoing S201 may be specifically implemented by the following S201a to S201c.
S201a、第一电子设备接收第三电子设备发送的第一标识。S201a. The first electronic device receives the first identifier sent by the third electronic device.
其中,上述第一标识可以用于指示第三电子设备。Wherein, the above-mentioned first identifier may be used to indicate the third electronic device.
本发明实施例中,不限定第三电子设备的数量。即第三电子设备的数量可以为一个,也可以对多个。相应的,上述第一标识的数量可以为一个,可以为多个。In the embodiment of the present invention, the number of third electronic devices is not limited. That is, the number of the third electronic device can be one or more than one. Correspondingly, the number of the aforementioned first identifiers may be one or multiple.
可选地,本发明实施例中,一个第一标识指示一个第三电子设备,不同第一标识指示不同的电子设备。Optionally, in this embodiment of the present invention, one first identifier indicates one third electronic device, and different first identifiers indicate different electronic devices.
可选地,本发明实施例中,上述第一标识可以为第三电子设备的设备标识,或者可以为第三电子设备中包括的通信模块(例如可以为UWB通信模块)的标识等任意可以唯一指示第三电子设备的标识,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in the embodiment of the present invention, the above-mentioned first identification may be the device identification of the third electronic device, or may be the identification of a communication module (for example, a UWB communication module) included in the third electronic device, etc., which may be unique. The identifier that indicates the third electronic device can be specifically determined according to actual use requirements, which is not limited in the embodiment of the present invention.
本发明实施例中,由于第一标识为第三电子设备发送的,因此若第一电子设备接收到第三电子设备发送的第一标识,则第一电子设备可以确定第三电子设备处于开机状态,从而确定第三电子设备正在输出内容(例如显示画面、播放音乐、播放视频等)。In the embodiment of the present invention, since the first identification is sent by the third electronic device, if the first electronic device receives the first identification sent by the third electronic device, the first electronic device can determine that the third electronic device is in the powered-on state , So as to determine that the third electronic device is outputting content (for example, display screen, play music, play video, etc.).
可选地,本发明实施例中,上述第一电子设备接收第三电子设备发送的第一标识的方法可以包括以下的方法1和方法2。Optionally, in the embodiment of the present invention, the above-mentioned method for the first electronic device to receive the first identifier sent by the third electronic device may include the following method 1 and method 2.
方法1:上述通信系统中的各个电子设备分别周期性地发送广播消息,该广播消息中可以携带发送者的标识,该广播消息可以用于确定发送者附近(例如以发送者为中心的预设距离范围内)是否存在其他电子设备。Method 1: Each electronic device in the above communication system periodically sends a broadcast message. The broadcast message can carry the identity of the sender. The broadcast message can be used to determine the proximity of the sender (for example, the sender-centric preset Within the distance) whether there are other electronic devices.
具体的,在第一电子设备发送该广播消息之后,如果第一电子设备附近存在其他电子设备,以上述第三电子设备为例,那么第三电子设备接收到该广播消息之后,第三电子设备可以向第一电子设备回复响应消息,该响应消息中携带第三电子设备的标识。在第一电子设备接收到第三电子设备发送的响应消息之后,第一电子设备即可从该响应消息中获取第三电子设备的标识。Specifically, after the first electronic device sends the broadcast message, if there are other electronic devices near the first electronic device, taking the above-mentioned third electronic device as an example, then after the third electronic device receives the broadcast message, the third electronic device A response message may be returned to the first electronic device, and the response message carries the identifier of the third electronic device. After the first electronic device receives the response message sent by the third electronic device, the first electronic device can obtain the identification of the third electronic device from the response message.
方法2:上述通信系统中的各个电子设备分别周期性地发送广播消息,该广播消息中可以包括发送者的标识,该广播消息可以用于确定发送者附近(例如以发送者为中心的预设距离范围内)是否存在其他电子设备。Method 2: Each electronic device in the above-mentioned communication system periodically sends a broadcast message. The broadcast message may include the sender’s identity. The broadcast message may be used to determine the vicinity of the sender (for example, the sender-centric preset Within the distance) whether there are other electronic devices.
具体的,当第一电子设备接收到位于其附近的其他电子设备,以上述第三电子设备为例,发送的广播消息之后,第一电子设备即可从该广播消息中获取第三电子设备的标识。Specifically, when the first electronic device receives other electronic devices in its vicinity, taking the above-mentioned third electronic device as an example, after sending a broadcast message, the first electronic device can obtain the third electronic device's information from the broadcast message. Logo.
S201b、第一电子设备确定其存储的标识中是否包括第一标识。S201b. The first electronic device determines whether the stored identifier includes the first identifier.
本发明实施例中,第一电子设备中可以存储至少一个标识,其中,该至少一个标识中的每个标识可以指示一个电子设备,且不同的标识可以用于指示不同的电子设备。In the embodiment of the present invention, at least one identification may be stored in the first electronic device, where each identification in the at least one identification may indicate one electronic device, and different identifications may be used to indicate different electronic devices.
本发明实施例中,第一电子设备接收到第一标识之后,可以先判断其存储的标识中是否包括第一标识。若第一电子设备存储的标识中包括第一标识,则第一电子设备可以继续执行下述的S201c。若第一电子设备存储的标识中不包括第一标识,则第一电子设备可以输出第一提示信息,以询问用户是否需求存储第一标识;这种情况下,若用户触发第一电子设备存储第一标识,则第一电子设备在存储第一标识之后,可以继续执行下述的S201c,若用户未触发存储第一标识,则第一电子设备可以返回上述S201a继续执行。In the embodiment of the present invention, after receiving the first identifier, the first electronic device may first determine whether the stored identifier includes the first identifier. If the identifier stored by the first electronic device includes the first identifier, the first electronic device may continue to execute the following S201c. If the identifier stored by the first electronic device does not include the first identifier, the first electronic device may output first prompt information to ask the user whether the user needs to store the first identifier; in this case, if the user triggers the first electronic device to store the first identifier The first identification, after storing the first identification, the first electronic device may continue to execute S201c below. If the user does not trigger the storage of the first identification, the first electronic device may return to the foregoing S201a to continue execution.
S201c、第一电子设备确定第三电子设备为播放源设备。S201c. The first electronic device determines that the third electronic device is the playback source device.
可选地,本发明实施例中,一种可能的方式中,当第三电子设备的数量为多个时, 第一电子设备可以将这些第三电子设备中,历史共享内容的频率最高的第三电子设备确定为播放源设备。另一种可能的方式中,第一电子设备可以将其存储的标识排序,如此,当第三电子设备的数量为多个时,第一电子设备存储的标识中可能包括多个第一标识,从而第一电子设备可以将这些第一标识中,排序在最前面的第一标识指示的第三电子设备确定为播放源设备。可以理解,第一电子设备还可以采用其他任意可能的方式,从多个第三电子设备中确定出一个播放源设备,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in an embodiment of the present invention, in a possible manner, when the number of third electronic devices is multiple, the first electronic device may select the third electronic device with the highest frequency of historical shared content among these third electronic devices. 3. The electronic device is determined to be the playback source device. In another possible manner, the first electronic device may sort the stored identities. In this way, when the number of third electronic devices is multiple, the stored identities of the first electronic device may include multiple first identities, Therefore, the first electronic device may determine the third electronic device indicated by the first identification ranked first among the first identifications as the playback source device. It can be understood that the first electronic device may also adopt any other possible manners to determine a playback source device from a plurality of third electronic devices, which may be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
本发明实施例中,由于第一电子设备根据其他电子设备发送的标识,即可自动确定播放源设备,而无需用户手动选择播放源设备,因此可以简化确定播放源设备的过程。In the embodiment of the present invention, since the first electronic device can automatically determine the playback source device according to the identification sent by other electronic devices, without the user manually selecting the playback source device, the process of determining the playback source device can be simplified.
进一步地,由于播放源设备可以根据唯一指示电子设备的标识确定,因此可以提高确定播放源设备的准确性。Further, since the playback source device can be determined according to the identifier that uniquely indicates the electronic device, the accuracy of determining the playback source device can be improved.
可选地,本发明实施例中,第一电子设备确定播放源设备之后,可以确定第一电子设备的目标方向上是否存在电子设备,若目标方向上存在电子设备(例如下述第二电子设备),则第一电子设备可以继续执行下述的S202。若目标方向上不存在电子设备,则第一电子设备可以输出第二提示信息,以提示用户第一电子设备的目标方向上无能够接收共享内容的电子设备。Optionally, in this embodiment of the present invention, after the first electronic device determines the playback source device, it can determine whether there is an electronic device in the target direction of the first electronic device, and if there is an electronic device in the target direction (for example, the second electronic device described below) ), the first electronic device can continue to execute S202 below. If there is no electronic device in the target direction, the first electronic device may output second prompt information to prompt the user that there is no electronic device capable of receiving shared content in the target direction of the first electronic device.
S202、第一电子设备确定位于第一电子设备的目标方向上的第二电子设备。S202: The first electronic device determines a second electronic device located in a target direction of the first electronic device.
其中,上述目标方向可以根据第一电子设备所处的方位确定。Wherein, the above-mentioned target direction may be determined according to the orientation of the first electronic device.
本发明实施例中,上述目标方向随着第一电子设备所处的方位的变化而变化。In the embodiment of the present invention, the above-mentioned target direction changes as the orientation of the first electronic device changes.
本发明实施例中,上述目标方向可以用于表示使用第一电子设备的用户的面部朝向的方向。In the embodiment of the present invention, the above-mentioned target direction may be used to indicate the direction in which the face of the user who uses the first electronic device faces.
可选地,本发明实施例中,第一电子设备确定播放源设备之后,可以通过第一电子设备所处的定位系统,确定其通信范围内的电子设备的位置(例如,可以为坐标信息),从而根据该位置,确定第二电子设备位于第一电子设备的目标方向上。本发明实施例中,第一电子设备指向第二电子设备的射线方向为上述目标方向。Optionally, in this embodiment of the present invention, after the first electronic device determines the playback source device, the position of the electronic device within its communication range (for example, it may be coordinate information) can be determined through the positioning system where the first electronic device is located. , Thereby determining that the second electronic device is located in the target direction of the first electronic device according to the position. In the embodiment of the present invention, the direction of the rays directed by the first electronic device to the second electronic device is the above-mentioned target direction.
可选地,本发明实施例中,当位于第一电子设备的目标方向上的电子设备的数量为多个时,第一电子设备可以将距离第一电子设备最近的电子设备确定为第二电子设备,也可以将该多个电子设备全部确定为第二电子设备,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, when the number of electronic devices located in the target direction of the first electronic device is multiple, the first electronic device may determine the electronic device closest to the first electronic device as the second electronic device. The device may also determine all the multiple electronic devices as the second electronic device, which may be specifically determined according to actual use requirements, which is not limited in the embodiment of the present invention.
对于第一电子设备确定目标方向的具体方法将在下述实施例中进行详细描述,为了避免重复,此处不予赘述。The specific method for the first electronic device to determine the target direction will be described in detail in the following embodiments, and in order to avoid repetition, it will not be repeated here.
可选地,本发明实施例中,上述目标方向可以为相对于第一电子设备的任意方向。具体的,上述目标方向可以为相对于第一电子设备向上的方向,可以为相对于第一电子设备向下的方向,可以为相对于第一电子设备向左的方向,还可以为相对于第一电子设备的方向等任意可能的方向。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the above-mentioned target direction may be any direction relative to the first electronic device. Specifically, the above-mentioned target direction may be an upward direction relative to the first electronic device, a downward direction relative to the first electronic device, a leftward direction relative to the first electronic device, or a direction relative to the first electronic device. Any possible direction such as the direction of an electronic device. Specifically, it can be determined according to actual use requirements, and the embodiment of the present invention does not limit it.
可选地,本发明实施例中,目标方向不同,则电子设备确定的第二电子设备也不同。如图3所示,为电子设备的位置关系示意图。若以目标方向为相对于第一电子设 备向左的方向为例,则第一电子设备30可以确定位于第一电子设备30左侧(即目标方向)的电子设备31为第二电子设备。若目标方向为相对于第一电子设备向右(即目标方向)的方向,则第一电子设备30可以确定位于第一电子设备30右侧的电子设备32为第二电子设备。Optionally, in this embodiment of the present invention, if the target direction is different, the second electronic device determined by the electronic device is also different. As shown in Figure 3, it is a schematic diagram of the positional relationship of the electronic equipment. If the target direction is the leftward direction relative to the first electronic device as an example, the first electronic device 30 can determine that the electronic device 31 located on the left side of the first electronic device 30 (ie, the target direction) is the second electronic device. If the target direction is a direction to the right (ie, the target direction) relative to the first electronic device, the first electronic device 30 may determine that the electronic device 32 located on the right side of the first electronic device 30 is the second electronic device.
需要说明的是,图3中的箭头33表示相对于第一电子设备向左的方向,图3中的箭头34表示相对于第一电子设备向右的方向。It should be noted that the arrow 33 in FIG. 3 indicates a direction to the left relative to the first electronic device, and the arrow 34 in FIG. 3 indicates a direction to the right relative to the first electronic device.
本发明实施例中,第二电子设备可以为用户需求被共享内容的设备,即用户需求将播放源设备当前输出的内容共享至第二电子设备。In the embodiment of the present invention, the second electronic device may be a device for which the user needs to share content, that is, the user needs to share the content currently output by the playback source device to the second electronic device.
S203、第一电子设备控制播放源设备向第二电子设备共享目标内容。S203: The first electronic device controls the playback source device to share the target content with the second electronic device.
其中,上述目标内容可以为播放源设备当前输出的内容。Wherein, the aforementioned target content may be the content currently output by the playback source device.
可选地,本发明实施例中,播放源设备当前输出的内容可以为视觉形式的内容和/或听觉形式的内容。例如,视觉形式的内容可以为视频、图片、用户界面、文本,或开机画面等。听觉形式的内容可以为音乐或视频等。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the content currently output by the playback source device may be visual content and/or auditory content. For example, the content in the visual form may be a video, a picture, a user interface, a text, or a startup screen, etc. The auditory content can be music or video. Specifically, it can be determined according to actual use requirements, and the embodiment of the present invention does not limit it.
可选地,本发明实施例中,播放源设备可以采用UWB通信方式、wi-fi通信方式、LTE通信方式等任意可能的通信方式,向第二电子设备共享目标内容。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the playback source device can use any possible communication methods such as UWB communication methods, Wi-Fi communication methods, and LTE communication methods to share the target content with the second electronic device. Specifically, it can be determined according to actual use requirements, and the embodiment of the present invention does not limit it.
本发明实施例中,由于UWB通信方式可以采用纳秒级的非正弦波窄脉冲进行信息传输,因此若播放源设备可以采用UWB通信方式向第二电子设备共享目标内容,则可以确保目标内容高速度、低延迟地传输,从而确保目标内容在第二电子设备上的输出效果较好,提升用户体验感。In the embodiment of the present invention, since the UWB communication method can use nanosecond non-sine wave narrow pulses for information transmission, if the playback source device can use UWB communication to share the target content with the second electronic device, it can ensure that the target content is high. Speed and low latency transmission, so as to ensure that the output effect of the target content on the second electronic device is better, and the user experience is improved.
可选地,本发明实施例中,当第一电子设备、播放源设备和第二电子设备之间采用UWB通信时,第一电子设备、播放源设备和第二电子设备中任意两个电子设备之间的距离,均小于或等于最大的UWB通信距离。如此,可以确保第一电子设备、播放源设备和第二电子设备中任意两个电子设备之间通信的通信质量较好。Optionally, in the embodiment of the present invention, when UWB communication is adopted between the first electronic device, the playback source device, and the second electronic device, any two electronic devices among the first electronic device, the playback source device, and the second electronic device The distance between them is less than or equal to the maximum UWB communication distance. In this way, it can be ensured that the communication quality of the communication between any two electronic devices among the first electronic device, the playback source device, and the second electronic device is better.
可选地,本发明实施例中,在上述方式一中,上述S203具体可以通过下述的S203a实现。Optionally, in the embodiment of the present invention, in the foregoing manner 1, the foregoing S203 may be specifically implemented by the following S203a.
S203a、第一电子设备向播放源设备发送目标指示信息。S203a. The first electronic device sends target indication information to the playback source device.
其中,上述目标指示信息可以用于指示播放源设备向第二电子设备共享目标内容。Wherein, the above-mentioned target indication information may be used to instruct the playback source device to share the target content with the second electronic device.
可选地,本发明实施例中,播放源设备接收到上述目标指示消息之后即可向第二电子设备共享其当前输出的内容。Optionally, in this embodiment of the present invention, the playback source device can share its current output content with the second electronic device after receiving the above-mentioned target indication message.
可选地,本发明实施例中,第一电子设备可以采用UWB通信方式、wi-fi通信方式、LTE通信方式等任意可能的通信方式,向播放源设备发送目标指示消息。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the first electronic device may adopt any possible communication method such as UWB communication method, Wi-Fi communication method, LTE communication method, etc., to send the target indication message to the playback source device. Specifically, it can be determined according to actual use requirements, and the embodiment of the present invention does not limit it.
可选地,本发明实施例中,上述目标指示消息中可以包括指示第二电子设备的标识(以下称为第二标识)。如此,可以保证播放源设备向第二电子设备共享目标内容的精确性。Optionally, in the embodiment of the present invention, the target indication message may include an identifier indicating the second electronic device (hereinafter referred to as the second identifier). In this way, the accuracy of the target content shared by the playback source device with the second electronic device can be ensured.
需要说明的是,本发明实施例中,第一电子设备向播放源设备发送上述目标指示信息之前,以先获取上述第二标识。对于第一电子设备获取第二标识的方法可以参考 上述实施例中,第一电子设备获取第一标识的方法的相关描述,为了避免重复,此处不再赘述。It should be noted that, in this embodiment of the present invention, the first electronic device first acquires the second identifier before sending the target indication information to the playback source device. For the method for obtaining the second identifier by the first electronic device, reference may be made to the related description of the method for obtaining the first identifier by the first electronic device in the foregoing embodiment. In order to avoid repetition, details are not described herein again.
本发明实施例中,由于目标指示消息中包括指示第二电子设备的第二标识,因此可以保证第一电子设备控制播放源设备向第二电子设备共享目标内容的准确性。In the embodiment of the present invention, since the target indication message includes the second identifier indicating the second electronic device, the accuracy of the first electronic device controlling the playback source device to share the target content with the second electronic device can be ensured.
可以理解,本发明实施例中,在上述方式一中,位于第一电子设备的目标方向上的电子设备可能为上述播放源设备,即播放源设备与第二电子设备相同,也即第二电子设备当前输出的内容即为上述目标内容。如此若第一电子设备向播放源设备发送上述目标指示消息,则会造成网络资源的浪费。It can be understood that, in the embodiment of the present invention, in the above mode 1, the electronic device located in the target direction of the first electronic device may be the above-mentioned playback source device, that is, the playback source device is the same as the second electronic device, that is, the second electronic device is the same as the second electronic device. The content currently output by the device is the above-mentioned target content. In this way, if the first electronic device sends the above-mentioned target indication message to the playback source device, it will cause a waste of network resources.
可选地,本发明实施例中,在上述方式一中,为了避免浪费网络资源,上述S203a具体可以通过下述的S203a1和S203a2实现。Optionally, in the embodiment of the present invention, in the foregoing manner 1, in order to avoid wasting network resources, the foregoing S203a may be specifically implemented by the following S203a1 and S203a2.
S203a1、第一电子设备判断第二电子设备与播放源设备是否相同。S203a1. The first electronic device determines whether the second electronic device is the same as the playback source device.
可选地,本发明实施例中,第一电子设备在确定第二电子设备之后,可以先判断第二电子设备与播放源设备是否相同;若第二电子设备与播放源设备相同,则第一电子设备可以重新确定第二电子设备,即返回上述S202继续执行;若第二电子设备与播放源设备不同,则第一电子设备可以继续执行下述的S203a2。Optionally, in this embodiment of the present invention, after determining the second electronic device, the first electronic device may first determine whether the second electronic device is the same as the playback source device; if the second electronic device is the same as the playback source device, the first electronic device is the same as the playback source device. The electronic device can re-determine the second electronic device, that is, return to the foregoing S202 to continue execution; if the second electronic device is different from the playback source device, the first electronic device can continue to execute the following S203a2.
具体的,第一电子设备确定第二电子设备之后,可以从第二电子设备获取用于指示第二电子设备的第二标识。然后,第一电子设备可以将第二标识与第一标识进行比对,若第二标识与第一标识相同,则表示第二电子设备与播放源设备相同。若第二标识与第一标识不同,则表示第二电子设备与播放源设备不同。Specifically, after the first electronic device determines the second electronic device, it may obtain the second identifier for indicating the second electronic device from the second electronic device. Then, the first electronic device may compare the second identification with the first identification, and if the second identification is the same as the first identification, it means that the second electronic device is the same as the playback source device. If the second identifier is different from the first identifier, it means that the second electronic device is different from the playback source device.
S203a2、第一电子设备向播放源设备发送目标指示消息。S203a2. The first electronic device sends a target indication message to the playback source device.
对于S203a2的描述具体可以参见上述S203a中的相关描述,为了避免重复,此处不再赘述。For the description of S203a2, please refer to the related description in S203a. In order to avoid repetition, it will not be repeated here.
本发明实施例中,由于第一电子设备在播放源设备与第二电子设备为不同电子设备的情况下,才向播放源设备发送目标指示信息,因此不但可以准确控制播放源设备向第二电子设备共享目标内容,而且可以节省网络资源。In the embodiment of the present invention, since the first electronic device sends the target indication information to the playback source device only when the playback source device and the second electronic device are different electronic devices, not only can the playback source device be accurately controlled to the second electronic device Devices share target content and can save network resources.
下面再结合图4和图5对本发明实施例提供的内容共享方法进行示例性地说明。The content sharing method provided by the embodiment of the present invention will be exemplarily described below in conjunction with FIG. 4 and FIG. 5.
示例性地,在上述方式一中,假设第一电子设备的通信范围内包括电子设备3、电子设备4和电子设备5,目标方向为相对于第一电子设备向上的方向。那么,如图4中的(a)所示,第一电子设备40可以将第一电子设备40确定为播放源设备,且将位于第一电子设备40上方的电子设备4确定为第二电子设备。然后第一电子设备40可以将其当前显示的内容共享给电子设备4。在第一电子设备40将其当前显示的内容共享给电子设备4的过程中,如图4中的(b)所示,电子设备4上可以显示第一电子设备40当前显示的内容。Exemplarily, in the foregoing manner 1, it is assumed that the communication range of the first electronic device includes the electronic device 3, the electronic device 4, and the electronic device 5, and the target direction is an upward direction relative to the first electronic device. Then, as shown in FIG. 4(a), the first electronic device 40 may determine the first electronic device 40 as the playback source device, and the electronic device 4 located above the first electronic device 40 may be determined as the second electronic device . Then the first electronic device 40 can share its currently displayed content to the electronic device 4. In the process of the first electronic device 40 sharing its currently displayed content to the electronic device 4, as shown in (b) in FIG. 4, the electronic device 4 may display the content currently displayed by the first electronic device 40.
又示例性地,在上述方式二中,第一电子设备的通信范围内包括电子设备3、电子设备4和电子设备5;第一标识指示电子设备3,且第一电子设备存储的标识中包括第一标识;目标方向为相对于第一电子设备向上的方向。那么,若第一电子设备接收到第一标识,则如图5中的(a)所示,第一电子设备40可以确定电子设备3为播放源设备,且将位于第一电子设备40上方的电子设备4确定为第二电子设备。然后第一电子设备40可以向电子设备3发送一个指示消息(即上述目标指示消息),该指示消 息可以用于指示电子设备3向电子设备4共享电子设备3当前显示的内容。从而电子设备3接收到该指示消息之后,可以向电子设备4共享其当前显示的内容。从而,如图5中的(b)所示,电子设备4上可以实时显示电子设备3显示的内容。In another example, in the second manner, the communication range of the first electronic device includes the electronic device 3, the electronic device 4, and the electronic device 5; the first identifier indicates the electronic device 3, and the identifier stored by the first electronic device includes The first identification; the target direction is the upward direction relative to the first electronic device. Then, if the first electronic device receives the first identifier, as shown in (a) of FIG. 5, the first electronic device 40 can determine that the electronic device 3 is the playback source device and will be located above the The electronic device 4 is determined to be the second electronic device. Then, the first electronic device 40 may send an instruction message to the electronic device 3 (that is, the above-mentioned target instruction message), and the instruction message may be used to instruct the electronic device 3 to share the content currently displayed by the electronic device 3 with the electronic device 4. Therefore, after receiving the instruction message, the electronic device 3 can share its currently displayed content with the electronic device 4. Therefore, as shown in (b) of FIG. 5, the content displayed by the electronic device 3 can be displayed on the electronic device 4 in real time.
本发明实施例提供的内容共享方法中,在第一电子设备确定播放源设备之后,若第一电子设备确定目标方向上存在第二电子设备,则第一电子设备可以自动控制播放源设备将其当前输出的内容共享给第二电子设备,以使得第二电子设备可以实时输出播放源设备输出的内容,无需用户再手动触发共享,从而可以简化电子设备之间共享内容的过程,提高用户体验。In the content sharing method provided by the embodiment of the present invention, after the first electronic device determines the playback source device, if the first electronic device determines that there is a second electronic device in the target direction, the first electronic device can automatically control the playback source device to The currently output content is shared with the second electronic device, so that the second electronic device can output the content output by the playback source device in real time without the user manually triggering sharing, thereby simplifying the process of sharing content between electronic devices and improving user experience.
可选地,本发明实施例中,第一电子设备、播放源设备和第二电子设备中的任意两个电子设备之间的通信方式可以为UWB通信方式。具体的,第一电子设备、播放源设备和第二电子设备中均设置有UWB通信模块,从而,第一电子设备、播放源设备和第二电子设备中的任意两个电子设备之间的UWB通信,可以通过设置在第一电子设备、播放源设备和第二电子设备中的UWB通信模块实现。其中,第一电子设备中可以包括至少两个UWB通信模块。Optionally, in this embodiment of the present invention, the communication mode between any two electronic devices among the first electronic device, the playback source device, and the second electronic device may be a UWB communication mode. Specifically, the first electronic device, the playback source device, and the second electronic device are all provided with a UWB communication module, so that the UWB communication between any two electronic devices among the first electronic device, the playback source device, and the second electronic device The communication can be implemented through UWB communication modules provided in the first electronic device, the playback source device, and the second electronic device. Wherein, the first electronic device may include at least two UWB communication modules.
可选地,本发明实施例中,第一电子设备在确定第二电子设备之前,可以先根据上述至少两个UWB通信模块,采用UWB技术(是指UWB通信技术和UWB定位技术),确定上述目标方向。具体的,第一电子设备可以先获取上述至少两个UWB通信模块的UWB坐标信息,并根据获取的UWB坐标信息确定上述目标方向,且在确定目标方向之后,确定位于目标方向上的第二电子设备。Optionally, in this embodiment of the present invention, before determining the second electronic device, the first electronic device may first use UWB technology (referring to UWB communication technology and UWB positioning technology) according to the above-mentioned at least two UWB communication modules to determine the above Target direction. Specifically, the first electronic device may first obtain the UWB coordinate information of the at least two UWB communication modules, and determine the target direction according to the obtained UWB coordinate information, and after determining the target direction, determine the second electronic device located in the target direction. equipment.
本发明实施例中,第一电子设备可以从第一电子设备所处的UWB定位系统获取上述至少两个UWB通信模块的UWB坐标信息。对于UWB定位系统的描述具体可以参见上述名词解释部分对UWB定位系统的相关描述,为了避免重复,此处不再赘述。In the embodiment of the present invention, the first electronic device may obtain the UWB coordinate information of the above-mentioned at least two UWB communication modules from the UWB positioning system where the first electronic device is located. For the specific description of the UWB positioning system, please refer to the related description of the UWB positioning system in the above-mentioned term explanation section. In order to avoid repetition, it will not be repeated here.
可选地,本发明实施例中,上述至少两个UWB通信模块的UWB坐标信息可以为二维坐标信息,也可以为三维坐标信息,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in the embodiment of the present invention, the UWB coordinate information of the above-mentioned at least two UWB communication modules may be two-dimensional coordinate information or three-dimensional coordinate information, which can be specifically determined according to actual use requirements, and is not limited in the embodiment of the present invention.
可以理解,本发明实施例中,第一电子设备可以在确定播放源设备之前先确定目标方向,也可以在确定播放源设备之后再确定目标方向,具体可以根据实际使用需求确定,本发明实施例不作限定。下面以第一电子设备在确定播放源设备之后再确定目标方向为例进行示意。It can be understood that, in the embodiment of the present invention, the first electronic device may determine the target direction before determining the playback source device, or may determine the target direction after determining the playback source device, which can be determined according to actual usage requirements. Not limited. The following uses an example for the first electronic device to determine the target direction after determining the playback source device.
示例性地,本发明实施例中,结合上述图2,如图6所示,在上述S202之前,本发明实施例提供的内容共享方法还可以包括下述的S204。Exemplarily, in the embodiment of the present invention, in conjunction with the foregoing FIG. 2, as shown in FIG. 6, before the foregoing S202, the content sharing method provided in the embodiment of the present invention may further include the following S204.
S204、第一电子设备根据至少两个UWB通信模块的UWB坐标信息,确定目标方向。S204. The first electronic device determines the target direction according to the UWB coordinate information of the at least two UWB communication modules.
可选地,本发明实施例中,上述至少两个UWB通信模块的数量不同,第一电子设备确定目标方向的方法也不同。下面分别以该至少两个UWB通信模块的数量为2和该至少两个UWB通信模块的数量为3为例,对第一电子设备确定目标方向的方法进行示例性地说明。Optionally, in the embodiment of the present invention, the number of the above-mentioned at least two UWB communication modules is different, and the method for determining the target direction by the first electronic device is also different. Taking the number of the at least two UWB communication modules as 2 and the number of the at least two UWB communication modules as 3 as examples, the method for determining the target direction by the first electronic device will be exemplarily described below.
一种可能的实现方式:上述至少两个UWB通信模块的数量为2。A possible implementation manner: the number of the above-mentioned at least two UWB communication modules is two.
可选地,本发明实施例中,在一种可能的实现方式中,上述至少两个UWB通信模块 包括第一UWB通信模块和第二UWB通信模块,即该至少两个UWB通信模块的数量为2个。这种情况下,上述S204具体可以通过下述的S204a和S204b实现。Optionally, in the embodiment of the present invention, in a possible implementation manner, the aforementioned at least two UWB communication modules include a first UWB communication module and a second UWB communication module, that is, the number of the at least two UWB communication modules is 2 pcs. In this case, the above S204 can be specifically implemented by the following S204a and S204b.
S204a、第一电子设备根据第一UWB通信模块的UWB坐标信息和第二UWB通信模块的UWB坐标信息,确定第一UWB通信模块和第二UWB通信模块所在的第一直线。S204a: The first electronic device determines a first straight line where the first UWB communication module and the second UWB communication module are located according to the UWB coordinate information of the first UWB communication module and the UWB coordinate information of the second UWB communication module.
可选地,本发明实施例中,第一UWB通信模块和第二UWB通信模块所在的第一直线是指第一UWB通信模块的UWB坐标信息和第二UWB通信模块的UWB坐标信息的连线确定的直线。Optionally, in the embodiment of the present invention, the first straight line where the first UWB communication module and the second UWB communication module are located refers to the connection between the UWB coordinate information of the first UWB communication module and the UWB coordinate information of the second UWB communication module. Straight line determined by the line.
示例性地,如图7所示,假设第一UWB通信模块的位置为A点,第二UWB通信模块的位置为B点;那么上述第一直线可以为A点和B点确定的直线50。Exemplarily, as shown in FIG. 7, suppose that the position of the first UWB communication module is point A, and the position of the second UWB communication module is point B; then the above-mentioned first straight line may be a straight line determined by point A and point B. .
S204b、第一电子设备将第一直线所指的方向上,与第一预设方向相同的方向确定为目标方向。S204b. The first electronic device determines the same direction as the first preset direction in the direction pointed by the first straight line as the target direction.
可选地,本发明实施例中,第一直线所指的方向包括两个方向,分别为:第一UWB通信模块指向第二UWB通信模块的方向和第二UWB通信模块指向第一UWB通信模块的方向。Optionally, in the embodiment of the present invention, the direction pointed by the first straight line includes two directions, namely: the direction in which the first UWB communication module points to the second UWB communication module and the direction in which the second UWB communication module points to the first UWB communication module. The direction of the module.
示例性地,如图7所示,假设第一UWB通信模块的位置为A点,第二UWB通信模块的位置为B点;且A点的UWB坐标信息为(x1,y1,z1),B点的UWB坐标信息为(x2,y2,z2);那么,第一直线50所指的方向为A点指向B点的方向,即箭头52所示的方向;和B点指向A点的方向,即箭头51所示的方向。Exemplarily, as shown in FIG. 7, suppose that the position of the first UWB communication module is point A, and the position of the second UWB communication module is point B; and the UWB coordinate information of point A is (x1, y1, z1), B The UWB coordinate information of the point is (x2, y2, z2); then, the direction pointed by the first straight line 50 is the direction from point A to point B, that is, the direction shown by arrow 52; and the direction from point B to point A , Which is the direction shown by arrow 51.
可选地,本发明实施例中,第一预设方向可以为第一UWB通信模块指向第二UWB通信模块的方向,或者可以为第二UWB通信模块指向第一UWB通信模块的方向。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in the embodiment of the present invention, the first preset direction may be a direction in which the first UWB communication module points to the second UWB communication module, or may be a direction in which the second UWB communication module points to the first UWB communication module. Specifically, it can be determined according to actual use requirements, and the embodiment of the present invention does not limit it.
可选地,本发明实施例中,上述第一预设方向可以用于表示用户的注视方向。Optionally, in this embodiment of the present invention, the above-mentioned first preset direction may be used to indicate the gaze direction of the user.
可选地,本发明实施例中,以第一电子设备为智能眼镜为例,上述第一UWB通信模块和第二UWB通信模块可以为设置在该智能眼镜的同一个镜腿上的UWB通信模块。具体的,如图8所示,该智能眼镜60可以包括两个镜圈61和两个镜腿62。该两个镜腿中的每个镜腿的一端分别与该镜腿对应的镜圈连接。那么,第一UWB通信模块63和第二UWB通信模块64可以分别设置在一个镜腿62的两端。Optionally, in the embodiment of the present invention, taking the first electronic device as smart glasses as an example, the above-mentioned first UWB communication module and the second UWB communication module may be UWB communication modules arranged on the same temple of the smart glasses . Specifically, as shown in FIG. 8, the smart glasses 60 may include two lens rings 61 and two temples 62. One end of each of the two temples is respectively connected with the corresponding ring of the temple. Then, the first UWB communication module 63 and the second UWB communication module 64 may be respectively arranged at both ends of one temple 62.
下面再结合图8对上述S204a和S204b进行示例性地说明。The above S204a and S204b will be exemplarily described below in conjunction with FIG. 8.
示例性地,以第一电子设备为智能眼镜为例,如图8所示,第一UWB通信模块63和第二UWB通信模块64分别设置在该智能眼镜60的一个镜腿62的两端。那么,第一UWB通信模块63和第二UWB通信模块64所在的第一直线为虚线所示的直线67,从而智能眼镜60可以根据第一UWB通信模块63的UWB坐标信息和第二UWB通信模块64的UWB坐标信息,确定该直线67所指的两个方向为箭头65所示的方向和箭头66所示的方向。若第一预设方向为第一UWB通信模块指向第二UWB通信模块的方向,则智能眼镜60可以确定目标方向为图8中的箭头65所示的方向;若第一预设方向为第二UWB通信模块指向第一UWB通信模块的方向,则目标方向可以为图8中的箭头66所示的方向。需要说明的是,由于第一预设方向用于表示用户的注视方向,因此,第一预设方向通常为箭头66所示的方向。Illustratively, taking the first electronic device as smart glasses as an example, as shown in FIG. 8, the first UWB communication module 63 and the second UWB communication module 64 are respectively arranged at both ends of a temple 62 of the smart glasses 60. Then, the first straight line where the first UWB communication module 63 and the second UWB communication module 64 are located is the straight line 67 shown by the dashed line, so that the smart glasses 60 can communicate with the second UWB according to the UWB coordinate information of the first UWB communication module 63 The UWB coordinate information of the module 64 determines that the two directions pointed by the straight line 67 are the direction shown by the arrow 65 and the direction shown by the arrow 66. If the first preset direction is the direction in which the first UWB communication module points to the second UWB communication module, the smart glasses 60 can determine that the target direction is the direction shown by the arrow 65 in FIG. 8; if the first preset direction is the second The UWB communication module points to the direction of the first UWB communication module, and the target direction may be the direction shown by arrow 66 in FIG. 8. It should be noted that, since the first preset direction is used to indicate the gaze direction of the user, the first preset direction is usually the direction shown by the arrow 66.
本发明实施例中,由于第一预设方向可以用于表示用户的注视方向,因此第一电子设备根据第一电子设备中的两个UWB通信模块的UWB坐标信息和第一预设方向确定的目标方向可以为用户的注视方向,从而可以使得第一电子设备根据目标方向确定的第二电子设备能够满足用户需求,如此可以提高用户体验。In the embodiment of the present invention, since the first preset direction can be used to indicate the gaze direction of the user, the first electronic device determines the first electronic device according to the UWB coordinate information of the two UWB communication modules in the first electronic device and the first preset direction. The target direction may be the gaze direction of the user, so that the second electronic device determined by the first electronic device according to the target direction can meet the needs of the user, which can improve the user experience.
另一种可能的实现方式:上述至少两个UWB通信模块的数量为3。Another possible implementation manner: the number of the above-mentioned at least two UWB communication modules is 3.
可选地,本发明实施例中,在另一种可能的实现方式中,上述至少两个UWB通信模块包括位置关系上,构成直角三角形的第一UWB通信模块、第二UWB通信模块和第三UWB通信模块,即该至少两个UWB通信模块的数量为3个。Optionally, in the embodiment of the present invention, in another possible implementation manner, the above-mentioned at least two UWB communication modules include a first UWB communication module, a second UWB communication module, and a third UWB communication module that form a right-angled triangle in a positional relationship. UWB communication modules, that is, the number of the at least two UWB communication modules is three.
示例性地,假设第一UWB通信模块的位置为A点,第二UWB通信模块的位置为B点,第三UWB通信模块的位置为C点,那么,如图9中的(a)所示,A点和B点之间的连线可以构成该直角三角形的斜边,A点和C点之间的连线可以构成该直角三角形的一个直角边,B点和C点之间的连线可以构成该直角三角形的另一个直角边。Exemplarily, assuming that the position of the first UWB communication module is point A, the position of the second UWB communication module is point B, and the position of the third UWB communication module is point C, then, as shown in (a) in Figure 9 , The line between point A and point B can form the hypotenuse of the right triangle, the line between point A and point C can form a right side of the right triangle, the line between point B and point C It can form another right-angle side of the right-angled triangle.
可选地,本发明实施例中,上述S204具体可以通过下述的S204c至S204e实现。Optionally, in the embodiment of the present invention, the foregoing S204 may be specifically implemented by the following S204c to S204e.
S204c、第一电子设备根据第一UWB通信模块的UWB坐标信息、第二UWB通信模块的UWB坐标信息和第三UWB通信模块的UWB坐标信息,确定第三UWB通信模块在直角三角形的斜边上的垂点的UWB坐标信息。S204c. The first electronic device determines that the third UWB communication module is on the hypotenuse of the right triangle according to the UWB coordinate information of the first UWB communication module, the UWB coordinate information of the second UWB communication module, and the UWB coordinate information of the third UWB communication module. UWB coordinate information of the vertical point.
其中,上述直角三角形的斜边为连接第一UWB通信模块的UWB坐标信息和第二UWB通信模块的UWB坐标信息的线段。Wherein, the hypotenuse of the above-mentioned right triangle is a line segment connecting the UWB coordinate information of the first UWB communication module and the UWB coordinate information of the second UWB communication module.
下面结合图9对上述S204c进行示例性地描述。The above S204c will be exemplarily described below with reference to FIG. 9.
示例性地,如图9中的(b)所示,假设第一UWB通信模块的位置为A点,第二UWB通信模块的位置为B点,第三UWB通信模块的位置为C点,第三UWB通信模块的在斜边上的垂点的位置为P点;又假设第一UWB通信模块的UWB坐标信息为(0,0,6),第二UWB通信模块的UWB坐标信息为(0,14,0),第三UWB通信模块的UWB坐标信息为(0,0,0);那么,第一电子设备可以根据第一UWB通信模块的UWB坐标信息、第二UWB通信模块的UWB坐标信息和第三UWB通信模块的UWB坐标信息,确定第三UWB通信模块的在斜边上的垂点的UWB坐标信息为(0,2,5)。Illustratively, as shown in Figure 9(b), suppose the position of the first UWB communication module is point A, the position of the second UWB communication module is point B, the position of the third UWB communication module is point C, and the position of the third UWB communication module is point C. The position of the vertical point on the hypotenuse of the three UWB communication module is point P; also suppose that the UWB coordinate information of the first UWB communication module is (0, 0, 6), and the UWB coordinate information of the second UWB communication module is (0 ,14,0), the UWB coordinate information of the third UWB communication module is (0,0,0); then, the first electronic device can use the UWB coordinate information of the first UWB communication module and the UWB coordinate information of the second UWB communication module The UWB coordinate information of the third UWB communication module and the UWB coordinate information of the third UWB communication module determine that the UWB coordinate information of the vertical point on the hypotenuse of the third UWB communication module is (0, 2, 5).
S204d、第一电子设备根据第三UWB通信模块的UWB坐标信息和垂点的UWB坐标信息,确定第三UWB通信模块和垂点所在的第二直线。S204d. The first electronic device determines the second straight line where the third UWB communication module and the vertical point are located according to the UWB coordinate information of the third UWB communication module and the UWB coordinate information of the vertical point.
本发明实施例中,上述垂点为第三UWB通信模块在上述直角三角形的斜边上的垂点。In the embodiment of the present invention, the above-mentioned vertical point is the vertical point of the third UWB communication module on the hypotenuse of the above-mentioned right triangle.
可选地,本发明实施例中,第二直线是指第三UWB通信模块的UWB坐标信息和上述垂点的UWB坐标信息的连线确定的直线。Optionally, in the embodiment of the present invention, the second straight line refers to a straight line determined by a connection line between the UWB coordinate information of the third UWB communication module and the UWB coordinate information of the above-mentioned vertical point.
例如,如图9中的(b)所示,假设第三UWB通信模块的位置为C点,上述垂点的位置为P点,且C点的UWB坐标信息为(0,0,0),P点的UWB坐标信息为(0,2,5),那么,第一电子设备可以根据P点的UWB坐标信息和C点的UWB坐标信息确定第二直线90。For example, as shown in (b) of Figure 9, suppose that the position of the third UWB communication module is point C, the position of the above-mentioned vertical point is point P, and the UWB coordinate information of point C is (0, 0, 0), The UWB coordinate information of point P is (0, 2, 5), then the first electronic device can determine the second straight line 90 according to the UWB coordinate information of point P and the UWB coordinate information of point C.
S204e、第一电子设备将第二直线所指的方向上,与第二预设方向相同的方向确定为目标方向。S204e: The first electronic device determines a direction that is the same as the second preset direction in the direction pointed by the second straight line as the target direction.
本发明实施例中,第二直线所指的方向为两个方向,分别为:第三UWB通信模 块指向该垂点的方向、该垂点指向第三UWB通信模块的方向。例如,如图9中的(b)所示,第二直线90的方向为点C指向点P的方向,即箭头91所示的方向,和点P指向点C的方向,即箭头92所示的方向。In the embodiment of the present invention, the directions pointed by the second straight line are two directions, respectively: the direction in which the third UWB communication module points to the vertical point, and the direction in which the vertical point points to the third UWB communication module. For example, as shown in (b) in Figure 9, the direction of the second straight line 90 is the direction from point C to point P, that is, the direction shown by arrow 91, and the direction from point P to point C, that is, arrow 92 Direction.
可选地,本发明实施例中,上述第二预设方向可以为第三UWB通信模块指向上述垂点的方向,或者为上述垂点指向第三UWB通信模块的方向。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in the embodiment of the present invention, the second preset direction may be a direction in which the third UWB communication module points to the vertical point, or a direction in which the vertical point points to the third UWB communication module. Specifically, it can be determined according to actual use requirements, and the embodiment of the present invention does not limit it.
例如,如图9中的(b)所示,当第二预设方向为第三UWB通信模块指向上述垂点的方向时,第一电子设备可以将箭头91所示的方向确定为目标方向;当第二预设方向为上述垂点指向第三UWB通信模块的方向时,第一电子设备可以将箭头92所示的方向确定为目标方向。For example, as shown in FIG. 9(b), when the second preset direction is the direction in which the third UWB communication module points to the above-mentioned vertical point, the first electronic device may determine the direction shown by arrow 91 as the target direction; When the second preset direction is the direction in which the vertical point points to the third UWB communication module, the first electronic device may determine the direction shown by the arrow 92 as the target direction.
本发明实施例中,上述第二预设方向可以用于表示使用第一电子设备的用户的注视方向。In the embodiment of the present invention, the above-mentioned second preset direction may be used to indicate the gaze direction of the user who uses the first electronic device.
下面再结合图10对上述另一种可能的实现方式中,上述至少两个UWB通信模块在第一电子设备中的相对位置进行示例性地说明。The relative positions of the above-mentioned at least two UWB communication modules in the first electronic device in the above-mentioned another possible implementation manner will be exemplarily described below with reference to FIG. 10.
可选地,本发明实施例中,以第一电子设备为智能眼镜为例。如图10所示,第一电子设备80包括两个镜圈81和两个镜腿82;对于该两个镜腿82中的每个镜腿82,一个镜腿的一端与该镜腿对应的镜圈81连接。那么,上述第一UWB通信模块83可以设置在上述两个镜圈81之间的连接区域84上,第二UWB通信模块85和第三UWB通信模块86可以设置在该同一镜腿的两端。Optionally, in this embodiment of the present invention, it is taken as an example that the first electronic device is smart glasses. As shown in FIG. 10, the first electronic device 80 includes two temples 81 and two temples 82; for each temple 82 of the two temples 82, one end of the temple corresponds to the temple. The lens ring 81 is connected. Then, the first UWB communication module 83 may be arranged on the connecting area 84 between the two lens rings 81, and the second UWB communication module 85 and the third UWB communication module 86 may be arranged on both ends of the same temple.
需要说明的是,本发明实施例中,当智能眼镜的镜腿处于展开状态时,第一UWB通信模块、第二UWB通信模块和第三UWB通信模块可以构成一个直角三角形。It should be noted that, in the embodiment of the present invention, when the temples of the smart glasses are in the unfolded state, the first UWB communication module, the second UWB communication module, and the third UWB communication module may form a right triangle.
本发明实施例中,由于上述三个UWB通信模块处于同一平面内,因此可以确保将第二直线所指的方向上,与第二预设方向相同的方向确定为目标方向的准确性。In the embodiment of the present invention, since the above-mentioned three UWB communication modules are in the same plane, the accuracy of determining the same direction as the second preset direction in the direction pointed by the second straight line as the target direction can be ensured.
需要说明的是,本发明实施例中,上述一种可能的实现方式和上述另一种可能的实现方式中,是以第一电子设备中设置2个UWB通信模块和3个UWB通信模块为例,对第一电子设备通过UWB定位系统,确定上述目标方向的方法进行示例性地说明的。实际实现中,当第一电子设备中可以设置更多UWB通信模块(例如4个UWB通信模块、5个UWB通信模块)或者更少UWB通信模块(例如1个UWB通信模块)时,第一电子设备仍然可以通过UWB定位系统,确定上述目标方向。具体可以根据实际使用需求确定,本发明实施例不作限定。It should be noted that in the embodiment of the present invention, in the foregoing one possible implementation manner and the foregoing another possible implementation manner, two UWB communication modules and three UWB communication modules are set in the first electronic device as an example. Exemplarily describes the method for the first electronic device to determine the above-mentioned target direction through the UWB positioning system. In actual implementation, when more UWB communication modules (for example, 4 UWB communication modules, 5 UWB communication modules) or fewer UWB communication modules (for example, 1 UWB communication module) can be set in the first electronic device, the first electronic device The device can still determine the above-mentioned target direction through the UWB positioning system. Specifically, it can be determined according to actual use requirements, and the embodiment of the present invention does not limit it.
本发明实施例中,由于目标方向为第一电子设备根据第一电子设备中包括的至少两个UWB通信模块的UWB坐标信息确定的,而第一电子设备为穿戴式电子设备,因此可以保证位于目标方向上的电子设备为用户视线方向上的电子设备,即用户需求共享内容的电子设备,从而可以确保第一电子设备根据目标方向确定的第二电子设备满足用户的实际使用需求。In the embodiment of the present invention, since the target direction is determined by the first electronic device according to the UWB coordinate information of at least two UWB communication modules included in the first electronic device, and the first electronic device is a wearable electronic device, it can be guaranteed to be located The electronic device in the target direction is the electronic device in the user's line of sight, that is, the electronic device that the user needs to share content, so as to ensure that the second electronic device determined by the first electronic device according to the target direction meets the actual use needs of the user.
需要说明的是,本发明实施例中,上述各个方法附图所示的内容共享方法均是以结合本发明实施例中的一个附图为例示例性的说明的。具体实现时,上述各个方法附图所示的内容共享方法还可以结合上述实施例中示意的其它可以结合的任意附图实现,此处不再赘述。It should be noted that, in the embodiment of the present invention, the content sharing methods shown in each of the above method drawings are all exemplified in conjunction with a drawing in the embodiment of the present invention. In specific implementation, the content sharing methods shown in the figures of the above methods can also be implemented in combination with any other figures that can be combined as illustrated in the above embodiments, and will not be repeated here.
如图11所示,本发明实施例提供一种电子设备900,该电子设备900可以为第一电子设备,该电子设备900可以包括确定模块901和控制模块902。确定模块901,可以用于确定播放源设备;且确定位于目标方向上的第二电子设备,目标方向可以根据第一电子设备所处的方位确定;控制模块902,可以用于控制确定模块确定的播放源设备向确定模块确定的第二电子设备共享目标内容,目标内容可以为播放源设备当前输出的内容。As shown in FIG. 11, an embodiment of the present invention provides an electronic device 900. The electronic device 900 may be a first electronic device. The electronic device 900 may include a determination module 901 and a control module 902. The determining module 901 can be used to determine the playback source device; and to determine the second electronic device located in the target direction, the target direction can be determined according to the orientation of the first electronic device; the control module 902 can be used to control the determination module determined The playback source device shares the target content with the second electronic device determined by the determining module, and the target content may be content currently output by the playback source device.
可选地,本发明实施例中,上述确定模块901可以包括接收子模块和确定子模块。接收子模块,可以用于接收第三电子设备发送的第一标识,第一标识可以用于指示第三电子设备;确定子模块,可以用于在第一电子设备存储的标识中包括接第一标识的情况下,确定第三电子设备为播放源设备。Optionally, in this embodiment of the present invention, the above-mentioned determining module 901 may include a receiving sub-module and a determining sub-module. The receiving sub-module can be used to receive the first identification sent by the third electronic device, the first identification can be used to indicate the third electronic device; the determining sub-module can be used to include the first identification in the identification stored by the first electronic device In the case of identification, it is determined that the third electronic device is the playback source device.
可选地,本发明实施例中,上述控制模块902可以包括发送子模块。发送子模块,可以用于向播放源设备发送目标指示信息,目标指示信息可以用于指示播放源设备向第二电子设备共享述目标内容。Optionally, in this embodiment of the present invention, the aforementioned control module 902 may include a sending sub-module. The sending submodule may be used to send target indication information to the playback source device, and the target indication information may be used to instruct the playback source device to share the target content with the second electronic device.
可选地,本发明实施例中,上述发送子模块,具体可以用于在第二电子设备与播放源设备不同的情况下,向播放源设备发送目标指示信息。Optionally, in the embodiment of the present invention, the foregoing sending submodule may be specifically used to send target indication information to the playback source device when the second electronic device is different from the playback source device.
可选地,本发明实施例中,上述第一电子设备中可以包括至少两个超带宽UWB通信模块;确定模块901,还可以用于在确定位于目标方向上的第二电子设备之前,根据该至少两个UWB通信模块的UWB坐标信息,确定目标方向。Optionally, in the embodiment of the present invention, the above-mentioned first electronic device may include at least two ultra-wideband UWB communication modules; the determining module 901 may also be used to determine the second electronic device located in the target direction according to the The UWB coordinate information of at least two UWB communication modules determines the target direction.
可选地,本发明实施例中,上述至少两个UWB通信模块可以包括第一UWB通信模块和第二UWB通信模块;确定模块901,具体可以用于根据第一UWB通信模块的UWB坐标信息和第二UWB通信模块的UWB坐标信息,确定第一UWB通信模块和第二UWB通信模块所在的第一直线;且将该第一直线所指的方向上,与第一预设方向相同的方向确定为目标方向。Optionally, in the embodiment of the present invention, the above-mentioned at least two UWB communication modules may include a first UWB communication module and a second UWB communication module; The UWB coordinate information of the second UWB communication module determines the first straight line where the first UWB communication module and the second UWB communication module are located; and the direction pointed to by the first straight line is the same as the first preset direction The direction is determined as the target direction.
可选地,本发明实施例中,上述至少两个UWB通信模块包括位置关系上,构成直角三角形的第一UWB通信模块、第二UWB通信模块和第三UWB通信模块;确定模块901,具体可以用于根据第一UWB通信模块的UWB坐标信息和第二UWB通信模块的UWB坐标信息,确定第三UWB通信模块在直角三角形的斜边上的垂点的UWB坐标信息;且根据第三UWB通信模块的UWB坐标信息和该垂点的UWB坐标信息,确定第三UWB通信模块和该垂点所在的第二直线;以及将该第二直线所指的方向上,与第二预设方向相同的方向确定为所述目标方向。其中,直角三角形的斜边可以为连接第一UWB通信模块的UWB坐标信息和第二UWB通信模块的UWB坐标信息的线段。Optionally, in the embodiment of the present invention, the above-mentioned at least two UWB communication modules include a first UWB communication module, a second UWB communication module, and a third UWB communication module that form a right-angled triangle in a positional relationship; the determining module 901 can be specifically Used to determine the UWB coordinate information of the vertical point of the third UWB communication module on the hypotenuse of the right triangle according to the UWB coordinate information of the first UWB communication module and the UWB coordinate information of the second UWB communication module; and according to the third UWB communication The UWB coordinate information of the module and the UWB coordinate information of the vertical point determine the third UWB communication module and the second straight line where the vertical point is located; and the direction pointed to by the second straight line is the same as the second preset direction The direction is determined as the target direction. The hypotenuse of the right triangle may be a line segment connecting the UWB coordinate information of the first UWB communication module and the UWB coordinate information of the second UWB communication module.
可选地,本发明实施例中,上述第一电子设备、播放源设备和第二电子设备之间的距离,小于或等于最大的UWB通信距离。Optionally, in the embodiment of the present invention, the distance between the first electronic device, the playback source device, and the second electronic device is less than or equal to the maximum UWB communication distance.
本发明实施例提供的电子设备900能够实现上述方法实施例所示的电子设备实现的各个过程,为避免重复,这里不再赘述。The electronic device 900 provided in the embodiment of the present invention can implement the various processes implemented by the electronic device shown in the foregoing method embodiments. In order to avoid repetition, details are not described herein again.
本发明实施例提供一种电子设备,可以应用于第一电子设备,第一电子设备可以确定播放源设备;且确定位于目标方向(根据第一电子设备所处的方位确定)上的第二电子设备;并控制播放源设备向第二电子设备共享播放源设备当前输出的内容。通 过该方案,在第一电子设备确定播放源设备之后,若第一电子设备确定目标方向上存在第二电子设备,则第一电子设备可以自动控制播放源设备将其当前输出的内容共享给第二电子设备,以使得第二电子设备可以实时输出播放源设备输出的内容,无需用户再手动触发共享,从而可以简化电子设备之间共享内容的过程。The embodiment of the present invention provides an electronic device, which can be applied to a first electronic device, the first electronic device can determine the playback source device; and determine the second electronic device located in the target direction (determined according to the orientation of the first electronic device) Device; and control the playback source device to share the content currently output by the playback source device with the second electronic device. With this solution, after the first electronic device determines the playback source device, if the first electronic device determines that there is a second electronic device in the target direction, the first electronic device can automatically control the playback source device to share its current output content with the first electronic device. The second electronic device, so that the second electronic device can output the content output by the playback source device in real time, without the user manually triggering sharing, thereby simplifying the process of sharing content between electronic devices.
图12为实现本发明各个实施例的一种电子设备的硬件结构示意图。如图12所示,该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图12中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、以及计步器等。FIG. 12 is a schematic diagram of the hardware structure of an electronic device that implements various embodiments of the present invention. As shown in FIG. 12, the electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, and a memory 109 , The processor 110, and the power supply 111 and other components. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 12 does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout. In the embodiments of the present invention, electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, in-vehicle electronic devices, wearable devices, and pedometers.
其中,处理器110,用于确定播放源设备;且确定位于目标方向上的第二电子设备;并控制播放源设备向第二电子设备共享目标内容;目标方向根据第一电子设备所处的方位确定,目标内容为播放源设备当前输出的内容。The processor 110 is used to determine the playback source device; and determine the second electronic device located in the target direction; and control the playback source device to share the target content with the second electronic device; the target direction is based on the orientation of the first electronic device Confirm that the target content is the content currently output by the playback source device.
可以理解,本发明实施例中,上述电子设备的结构示意图(例如图11)中的确定模块901可以通过上述处理器110和射频单元101实现。上述电子设备的结构示意图(例如图11)中的控制模块902可以通过上述射频单元101实现。It can be understood that, in the embodiment of the present invention, the determination module 901 in the above-mentioned structural schematic diagram of the electronic device (for example, FIG. 11) may be implemented by the above-mentioned processor 110 and the radio frequency unit 101. The control module 902 in the above-mentioned structural schematic diagram of the electronic device (for example, FIG. 11) may be implemented by the above-mentioned radio frequency unit 101.
本发明实施例提供一种电子设备,该电子设备可以为第一电子设备,第一电子设备可以确定播放源设备;且确定位于目标方向(根据第一电子设备所处的方位确定)上的第二电子设备;并控制播放源设备向第二电子设备共享播放源设备当前输出的内容。通过该方案,在第一电子设备确定播放源设备之后,若第一电子设备确定目标方向上存在第二电子设备,则第一电子设备可以自动控制播放源设备将其当前输出的内容共享给第二电子设备,以使得第二电子设备可以实时输出播放源设备输出的内容,无需用户再手动触发共享,从而可以简化电子设备之间共享内容的过程。An embodiment of the present invention provides an electronic device. The electronic device may be a first electronic device, and the first electronic device may determine the playback source device; Second electronic device; and control the playback source device to share the content currently output by the playback source device with the second electronic device. With this solution, after the first electronic device determines the playback source device, if the first electronic device determines that there is a second electronic device in the target direction, the first electronic device can automatically control the playback source device to share its current output content with the first electronic device. The second electronic device, so that the second electronic device can output the content output by the playback source device in real time, without the user manually triggering sharing, thereby simplifying the process of sharing content between electronic devices.
应理解的是,本发明实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 110; in addition, Uplink data is sent to the base station. Generally, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.
电子设备通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides users with wireless broadband Internet access through the network module 102, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与电子设备100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。The audio output unit 103 can convert the audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output it as sound. Moreover, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic device 100 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(graphics processing unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像 数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。The input unit 104 is used to receive audio or video signals. The input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042. The graphics processing unit 1041 is used to capture images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed. The processed image frame can be displayed on the display unit 106. The image frame processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the network module 102. The microphone 1042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode.
电子设备100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在电子设备100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The electronic device 100 further includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light. The proximity sensor can close the display panel 1061 and the display panel 1061 when the electronic device 100 is moved to the ear. / Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 105 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)等形式来配置显示面板1061。The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
用户输入单元107可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 107 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071, also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1071 or near the touch panel 1071. operate). The touch panel 1071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 110, the command sent by the processor 110 is received and executed. In addition, the touch panel 1071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may also include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图12中,触控面板1071与显示面板1061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, the touch panel 1071 can be overlaid on the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits it to the processor 110 to determine the type of the touch event, and then the processor 110 determines the type of touch event according to the touch. The type of event provides corresponding visual output on the display panel 1061. Although in FIG. 12, the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated The implementation of the input and output functions of the electronic device is not specifically limited here.
接口单元108为外部装置与电子设备100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如, 数据信息、电力等等)并且将接收到的输入传输到电子设备100内的一个或多个元件或者可以用于在电子设备100和外部装置之间传输数据。The interface unit 108 is an interface for connecting an external device with the electronic device 100. For example, the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc. The interface unit 108 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 100 or can be used to connect to the electronic device 100 and the external device. Transfer data between devices.
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 109 can be used to store software programs and various data. The memory 109 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc. In addition, the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器110是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器110可包括一个或多个处理单元;可选的,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The processor 110 is the control center of the electronic device, which uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes software programs and/or modules stored in the memory 109, and calls data stored in the memory 109 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole. The processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc. The adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110.
电子设备100还可以包括给各个部件供电的电源111(比如电池),可选的,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The electronic device 100 may also include a power source 111 (such as a battery) for supplying power to various components. Optionally, the power source 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
另外,电子设备100包括一些未示出的功能模块,在此不再赘述。In addition, the electronic device 100 includes some functional modules not shown, which will not be repeated here.
可选的,本发明实施例还提供一种电子设备,包括如图12所示的处理器110,存储器109,存储在存储器109上并可在所述处理器110上运行的计算机程序,该计算机程序被处理器110执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present invention also provides an electronic device, including a processor 110 as shown in FIG. 12, a memory 109, a computer program stored in the memory 109 and running on the processor 110, the computer When the program is executed by the processor 110, each process of the foregoing method embodiment is realized, and the same technical effect can be achieved. In order to avoid repetition, details are not described herein again.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,该计算机可读存储介质可以包括只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the foregoing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, I won’t repeat them here. Wherein, the computer-readable storage medium may include read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements that are not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台电子设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above implementation manners, those skilled in the art can clearly understand that the above-mentioned embodiment method can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the application are described above with reference to the accompanying drawings, but the application is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of this application, many forms can be made without departing from the purpose of this application and the scope of protection of the claims, all of which fall within the protection of this application.

Claims (18)

  1. 一种内容共享方法,应用于第一电子设备,所述方法包括:A content sharing method applied to a first electronic device, the method including:
    确定播放源设备;Determine the playback source device;
    确定位于目标方向上的第二电子设备,所述目标方向根据所述第一电子设备所处的方位确定;Determining a second electronic device located in a target direction, the target direction being determined according to the orientation of the first electronic device;
    控制所述播放源设备向所述第二电子设备共享目标内容,所述目标内容为所述播放源设备当前输出的内容。Controlling the playback source device to share target content with the second electronic device, where the target content is the content currently output by the playback source device.
  2. 根据权利要求1所述的方法,其中,所述确定播放源设备,包括:The method according to claim 1, wherein the determining the playback source device comprises:
    接收第三电子设备发送的第一标识,所述第一标识用于指示所述第三电子设备;Receiving a first identifier sent by a third electronic device, where the first identifier is used to indicate the third electronic device;
    在所述第一电子设备存储的标识中包括所述第一标识的情况下,确定所述第三电子设备为所述播放源设备。In the case that the first identifier is included in the identifier stored by the first electronic device, it is determined that the third electronic device is the playback source device.
  3. 根据权利要求1所述的方法,其中,所述控制所述播放源设备向所述第二电子设备共享目标内容,包括:The method according to claim 1, wherein the controlling the playback source device to share the target content with the second electronic device comprises:
    向所述播放源设备发送目标指示信息,所述目标指示信息用于指示所述播放源设备向所述第二电子设备共享所述目标内容。Sending target indication information to the playback source device, where the target indication information is used to instruct the playback source device to share the target content with the second electronic device.
  4. 根据权利要求3所述的方法,其中,所述向所述播放源设备发送目标指示信息,包括:The method according to claim 3, wherein the sending target indication information to the playback source device comprises:
    在所述第二电子设备与所述播放源设备不同的情况下,向所述播放源设备发送所述目标指示信息。In a case where the second electronic device is different from the playback source device, sending the target indication information to the playback source device.
  5. 根据权利要求1至4中任一项所述的方法,其中,所述第一电子设备中包括至少两个超带宽UWB通信模块;The method according to any one of claims 1 to 4, wherein the first electronic device includes at least two ultra-bandwidth UWB communication modules;
    所述确定位于目标方向上的第二电子设备之前,所述方法还包括:Before the determining the second electronic device located in the target direction, the method further includes:
    根据所述至少两个UWB通信模块的UWB坐标信息,确定所述目标方向。The target direction is determined according to the UWB coordinate information of the at least two UWB communication modules.
  6. 根据权利要求5所述的方法,其中,所述至少两个UWB通信模块包括第一UWB通信模块和第二UWB通信模块;The method according to claim 5, wherein the at least two UWB communication modules include a first UWB communication module and a second UWB communication module;
    所述根据所述至少两个UWB通信模块的UWB坐标信息,确定所述目标方向,包括:The determining the target direction according to the UWB coordinate information of the at least two UWB communication modules includes:
    根据所述第一UWB通信模块的UWB坐标信息和所述第二UWB通信模块的UWB坐标信息,确定所述第一UWB通信模块和所述第二UWB通信模块所在的第一直线;Determine the first straight line where the first UWB communication module and the second UWB communication module are located according to the UWB coordinate information of the first UWB communication module and the UWB coordinate information of the second UWB communication module;
    将所述第一直线所指的方向上,与第一预设方向相同的方向确定为所述目标方向。A direction that is the same as the first preset direction in the direction pointed by the first straight line is determined as the target direction.
  7. 根据权利要求5所述的方法,其中,所述至少两个UWB通信模块包括位置关系上,构成直角三角形的第一UWB通信模块、第二UWB通信模块和第三UWB通信模块;The method according to claim 5, wherein the at least two UWB communication modules comprise a first UWB communication module, a second UWB communication module, and a third UWB communication module that form a right-angled triangle in a positional relationship;
    所述根据所述至少两个UWB通信模块的UWB坐标信息,确定所述目标方向,包括:The determining the target direction according to the UWB coordinate information of the at least two UWB communication modules includes:
    根据所述第一UWB通信模块的UWB坐标信息、所述第二UWB通信模块的UWB坐标信息和所述第三UWB通信模块的UWB坐标信息,确定所述第三UWB通信模块在所述直角三角形的斜边上的垂点的UWB坐标信息,所述斜边为连接所述第一UWB 通信模块的UWB坐标信息和所述第二UWB通信模块的UWB坐标信息的线段;According to the UWB coordinate information of the first UWB communication module, the UWB coordinate information of the second UWB communication module, and the UWB coordinate information of the third UWB communication module, it is determined that the third UWB communication module is in the right triangle UWB coordinate information of the vertical point on the hypotenuse, where the hypotenuse is a line segment connecting the UWB coordinate information of the first UWB communication module and the UWB coordinate information of the second UWB communication module;
    根据所述第三UWB通信模块的UWB坐标信息和所述垂点的UWB坐标信息,确定所述第三UWB通信模块和所述垂点所在的第二直线;Determine the second straight line where the third UWB communication module and the vertical point are located according to the UWB coordinate information of the third UWB communication module and the UWB coordinate information of the vertical point;
    将所述第二直线所指的方向上,与第二预设方向相同的方向确定为所述目标方向。A direction that is the same as the second preset direction in the direction pointed by the second straight line is determined as the target direction.
  8. 一种电子设备,所述电子设备为第一电子设备,所述电子设备包括确定模块和控制模块;An electronic device, the electronic device is a first electronic device, and the electronic device includes a determination module and a control module;
    所述确定模块,用于确定播放源设备;且确定位于目标方向上的第二电子设备,所述目标方向根据所述第一电子设备所处的方位确定;The determining module is configured to determine a playback source device; and determine a second electronic device located in a target direction, the target direction being determined according to the orientation of the first electronic device;
    所述控制模块,用于控制所述确定模块确定的所述播放源设备向所述确定模块确定的第二电子设备共享目标内容,所述目标内容为所述播放源设备当前输出的内容。The control module is configured to control the playback source device determined by the determination module to share target content with the second electronic device determined by the determination module, and the target content is the content currently output by the playback source device.
  9. 根据权利要求8所述的电子设备,其中,所述确定模块包括接收子模块和确定子模块;The electronic device according to claim 8, wherein the determining module includes a receiving sub-module and a determining sub-module;
    所述接收子模块,用于接收第三电子设备发送的第一标识,所述第一标识用于指示所述第三电子设备;The receiving submodule is configured to receive a first identifier sent by a third electronic device, where the first identifier is used to indicate the third electronic device;
    所述确定子模块,用于在所述第一电子设备存储的标识中包括所述第一标识的情况下,确定所述第三电子设备为所述播放源设备。The determining submodule is configured to determine that the third electronic device is the playback source device when the first identifier is included in the identifier stored by the first electronic device.
  10. 根据权利要求8所述的电子设备,其中,所述控制模块包括发送子模块;The electronic device according to claim 8, wherein the control module comprises a sending sub-module;
    所述发送子模块,用于向所述播放源设备发送目标指示信息,所述目标指示信息用于指示所述播放源设备向所述第二电子设备共享所述目标内容。The sending submodule is configured to send target indication information to the playback source device, where the target indication information is used to instruct the playback source device to share the target content with the second electronic device.
  11. 根据权利要求10所述的电子设备,其中,所述发送子模块,具体用于在所述第二电子设备与所述播放源设备不同的情况下,向所述播放源设备发送所述目标指示信息。The electronic device according to claim 10, wherein the sending submodule is specifically configured to send the target indication to the playback source device when the second electronic device is different from the playback source device information.
  12. 根据权利要求8至11中任一项所述的电子设备,其中,所述第一电子设备中包括至少两个超带宽UWB通信模块;The electronic device according to any one of claims 8 to 11, wherein the first electronic device includes at least two ultra-bandwidth UWB communication modules;
    所述确定模块,还用于在确定位于所述目标方向上的所述第二电子设备之前,根据所述至少两个UWB通信模块的UWB坐标信息,确定所述目标方向。The determining module is further configured to determine the target direction according to UWB coordinate information of the at least two UWB communication modules before determining the second electronic device located in the target direction.
  13. 根据权利要求12所述的电子设备,其中,所述至少两个UWB通信模块包括第一UWB通信模块和第二UWB通信模块;The electronic device according to claim 12, wherein the at least two UWB communication modules include a first UWB communication module and a second UWB communication module;
    所述确定模块,具体用于根据所述第一UWB通信模块的UWB坐标信息和所述第二UWB通信模块的UWB坐标信息,确定所述第一UWB通信模块和所述第二UWB通信模块所在的第一直线;且将所述第一直线所指的方向上,与第一预设方向相同的方向确定为所述目标方向。The determining module is specifically configured to determine where the first UWB communication module and the second UWB communication module are located according to the UWB coordinate information of the first UWB communication module and the UWB coordinate information of the second UWB communication module The first straight line; and in the direction pointed by the first straight line, the same direction as the first preset direction is determined as the target direction.
  14. 根据权利要求12所述的电子设备,其中,所述至少两个UWB通信模块包括位置关系上,构成直角三角形的第一UWB通信模块、第二UWB通信模块和第三UWB通信模块;The electronic device according to claim 12, wherein the at least two UWB communication modules comprise a first UWB communication module, a second UWB communication module, and a third UWB communication module that form a right triangle in a positional relationship;
    所述确定模块,具体用于根据所述第一UWB通信模块的UWB坐标信息、所述第二UWB通信模块的UWB坐标信息和所述第三UWB通信模块的UWB坐标信息,确定所述第三UWB通信模块在所述直角三角形的斜边上的垂点的UWB坐标信息;且根据所述第三UWB通信模块的UWB坐标信息和所述垂点的UWB坐标信息,确定所述 第三UWB通信模块和所述垂点所在的第二直线;以及将所述第二直线所指的方向上,与第二预设方向相同的方向确定为所述目标方向;The determining module is specifically configured to determine the third UWB coordinate information according to the UWB coordinate information of the first UWB communication module, the UWB coordinate information of the second UWB communication module, and the UWB coordinate information of the third UWB communication module. UWB coordinate information of the vertical point of the UWB communication module on the hypotenuse of the right-angled triangle; and determining the third UWB communication according to the UWB coordinate information of the third UWB communication module and the UWB coordinate information of the vertical point A second straight line where the module and the vertical point are located; and determining the same direction as the second preset direction in the direction pointed by the second straight line as the target direction;
    其中,所述斜边为连接所述第一UWB通信模块的UWB坐标信息和所述第二UWB通信模块的UWB坐标信息的线段。Wherein, the hypotenuse is a line segment connecting the UWB coordinate information of the first UWB communication module and the UWB coordinate information of the second UWB communication module.
  15. 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时可以实现如权利要求1至7中任一项所述的内容共享方法的步骤。An electronic device comprising a processor, a memory, and a computer program stored on the memory and capable of running on the processor. The computer program can be implemented by the processor as in claims 1 to 7 Any of the steps of the content sharing method.
  16. 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时可以实现如权利要求1至7中任一项所述的内容共享方法的步骤。A computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the steps of the content sharing method according to any one of claims 1 to 7 can be realized.
  17. 一种计算机程序产品,所述计算机程序产品被至少一个处理器执行以实现如权利要求1至7中任一项所述的内容共享方法。A computer program product, which is executed by at least one processor to implement the content sharing method according to any one of claims 1 to 7.
  18. 一种电子设备,包括所述电子设备被配置成用于执行如权利要求1至7中任一项所述的内容共享方法。An electronic device, comprising the electronic device configured to execute the content sharing method according to any one of claims 1 to 7.
PCT/CN2021/081109 2020-03-20 2021-03-16 Content sharing method, and electronic device WO2021185254A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010202014.7A CN111399792B (en) 2020-03-20 2020-03-20 Content sharing method and electronic equipment
CN202010202014.7 2020-03-20

Publications (1)

Publication Number Publication Date
WO2021185254A1 true WO2021185254A1 (en) 2021-09-23

Family

ID=71435273

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/081109 WO2021185254A1 (en) 2020-03-20 2021-03-16 Content sharing method, and electronic device

Country Status (2)

Country Link
CN (1) CN111399792B (en)
WO (1) WO2021185254A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111399792B (en) * 2020-03-20 2023-01-17 维沃移动通信有限公司 Content sharing method and electronic equipment
CN112130788A (en) * 2020-08-05 2020-12-25 华为技术有限公司 Content sharing method and device
CN112954596B (en) * 2021-03-09 2023-02-28 北京小米移动软件有限公司 Data sharing method, device, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101682837A (en) * 2007-06-12 2010-03-24 诺基亚公司 establishing wireless links via orientation
CN106817396A (en) * 2015-12-02 2017-06-09 联发科技(新加坡)私人有限公司 The method and electronic equipment of selected target equipment
US20190155463A9 (en) * 2015-06-30 2019-05-23 Motorola Mobility Llc Method and apparatus for controlling sharing of selected content between a portable communication device and a target device
CN110389736A (en) * 2019-06-05 2019-10-29 华为技术有限公司 A kind of throwing screen display methods and electronic equipment
CN110597473A (en) * 2019-07-30 2019-12-20 华为技术有限公司 Screen projection method and electronic equipment
CN110996136A (en) * 2019-12-04 2020-04-10 聚好看科技股份有限公司 Video resource display method and device
CN111399792A (en) * 2020-03-20 2020-07-10 维沃移动通信有限公司 Content sharing method and electronic equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105321373B (en) * 2015-09-06 2017-08-18 浙江科技学院 A kind of large parking lot vehicle guide system and its bootstrap technique
CN106603609A (en) * 2015-10-16 2017-04-26 中兴通讯股份有限公司 File sending and transmission method and device
CN110861087A (en) * 2019-11-22 2020-03-06 深圳市优必选科技股份有限公司 Robot initialization positioning method and device, mobile robot and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101682837A (en) * 2007-06-12 2010-03-24 诺基亚公司 establishing wireless links via orientation
US20190155463A9 (en) * 2015-06-30 2019-05-23 Motorola Mobility Llc Method and apparatus for controlling sharing of selected content between a portable communication device and a target device
CN106817396A (en) * 2015-12-02 2017-06-09 联发科技(新加坡)私人有限公司 The method and electronic equipment of selected target equipment
CN110389736A (en) * 2019-06-05 2019-10-29 华为技术有限公司 A kind of throwing screen display methods and electronic equipment
CN110597473A (en) * 2019-07-30 2019-12-20 华为技术有限公司 Screen projection method and electronic equipment
CN110996136A (en) * 2019-12-04 2020-04-10 聚好看科技股份有限公司 Video resource display method and device
CN111399792A (en) * 2020-03-20 2020-07-10 维沃移动通信有限公司 Content sharing method and electronic equipment

Also Published As

Publication number Publication date
CN111399792A (en) 2020-07-10
CN111399792B (en) 2023-01-17

Similar Documents

Publication Publication Date Title
WO2021098678A1 (en) Screencast control method and electronic device
WO2021185254A1 (en) Content sharing method, and electronic device
US20200257433A1 (en) Display method and mobile terminal
WO2021083087A1 (en) Screen capturing method and terminal device
WO2021013009A1 (en) Photographing method and terminal device
WO2020186964A1 (en) Audio signal outputting method and terminal device
WO2020216129A1 (en) Parameter acquisition method and terminal device
WO2019196691A1 (en) Keyboard interface display method and mobile terminal
WO2021129529A1 (en) Device switching method and related device
WO2021036623A1 (en) Display method and electronic device
WO2021098633A1 (en) Information display and transmission methods, and electronic device
WO2020253340A1 (en) Navigation method and mobile terminal
WO2021109959A1 (en) Application sharing method and electronic device
WO2021057545A1 (en) Multi-network access method and terminal device
WO2021121237A1 (en) Video stream clipping method and electronic device
CN109144703B (en) Multitask processing method and terminal equipment thereof
WO2020156123A1 (en) Information processing method and terminal device
WO2020181954A1 (en) Application program control method and terminal device
WO2020155980A1 (en) Control method and terminal device
WO2021147911A1 (en) Mobile terminal, method for detecting image capturing mode, and storage medium
WO2021129771A1 (en) Application sharing method, first electronic device, and computer-readable storage medium
WO2021104266A1 (en) Object display method and electronic device
WO2021104232A1 (en) Display method and electronic device
WO2021115220A1 (en) Information sharing method, electronic device and computer-readable storage medium
WO2021083090A1 (en) Message sending method and mobile terminal

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21770905

Country of ref document: EP

Kind code of ref document: A1

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 23.02.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21770905

Country of ref document: EP

Kind code of ref document: A1