WO2022247747A1 - Information sharing method and apparatus, and electronic device and medium - Google Patents

Information sharing method and apparatus, and electronic device and medium Download PDF

Info

Publication number
WO2022247747A1
WO2022247747A1 PCT/CN2022/094108 CN2022094108W WO2022247747A1 WO 2022247747 A1 WO2022247747 A1 WO 2022247747A1 CN 2022094108 W CN2022094108 W CN 2022094108W WO 2022247747 A1 WO2022247747 A1 WO 2022247747A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
shared
information
shared space
target device
Prior art date
Application number
PCT/CN2022/094108
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 WO2022247747A1 publication Critical patent/WO2022247747A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Definitions

  • the present application belongs to the technical field of communication, and specifically relates to an information sharing method, device, electronic equipment and medium.
  • the current information sharing usually uses wireless transmission technology, such as bluetooth or local area network to share information.
  • wireless transmission technology such as bluetooth or local area network
  • Bluetooth connection usually only one-to-one information sharing can be realized, and for LAN connection, participating devices usually need to be connected in the same local area network, resulting in low flexibility and convenience of information sharing.
  • the purpose of the embodiments of the present application is to provide an information sharing method, device, electronic device and medium, which can solve the problem of low flexibility and convenience of information sharing.
  • the embodiment of the present application provides an information sharing method, the method comprising:
  • an information sharing device comprising:
  • the first obtaining module is used to obtain the spatial location information of the target device
  • a first sharing module configured to share target information with the target device when it is determined that the target device is in a first shared space based on the spatial position information.
  • an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, the program or instruction being The processor implements the steps of the method described in the first aspect when executed.
  • an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented .
  • the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect the method described.
  • an embodiment of the present application provides a computer program product, the computer program product is stored in a non-transitory storage medium, and the computer program product is executed by at least one processor to implement the computer program product described in the first aspect. described method.
  • the target information is shared with the target device. There is no need to establish a wired or wireless connection between the first device and the target device.
  • the first shared space as a medium, information sharing can be realized by controlling the spatial position of the target device, so that information between devices Sharing is more flexible and convenient.
  • FIG. 1 is one of the flow charts of an information sharing method provided in an embodiment of the present application.
  • Fig. 2 is a schematic diagram of a three-dimensional coordinate system provided by the embodiment of the present application.
  • FIG. 3 is a schematic diagram of a shared space and a shared screen provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a display interface of a shared screen provided by an embodiment of the present application.
  • FIG. 5 is one of the schematic diagrams of a display interface of a first device provided in an embodiment of the present application.
  • FIG. 6 is the second flow chart of an information sharing method provided by an embodiment of the present application.
  • FIG. 7 is the second schematic diagram of a display interface of a first device provided in an embodiment of the present application.
  • Fig. 8 is the third schematic diagram of the display interface of a first device provided by the embodiment of the present application.
  • FIG. 9 is a fourth schematic diagram of a display interface of a first device provided in an embodiment of the present application.
  • FIG. 10 is a structural diagram of an information sharing device provided in an embodiment of the present application.
  • FIG. 11 is one of the structural diagrams of an electronic device provided in the embodiment of the present application.
  • FIG. 12 is a second structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 1 is a flow chart of an information sharing method provided by an embodiment of the present application.
  • the method includes the following steps:
  • Step 101 acquiring spatial location information of a target device.
  • the information sharing method may be executed by the first device, and the target device may be any device except the first device, which may be determined according to the actual situation. limited.
  • the first device may establish a three-dimensional coordinate system based on a visible space, and the spatial position information may include real-time spatial position coordinates of the target device in the three-dimensional coordinate system.
  • the three-dimensional coordinate system takes the center of gravity of the first device as an origin, and determines an X axis, a Y axis, and a Z axis based on an attitude of the first device. For example, as shown in FIG. 2, if the first device 10 is placed flat on the desktop, the center of gravity of the first device 10 is the origin O of the three-dimensional coordinate system, and the Z axis of the three-dimensional coordinate system is perpendicular to the first device 10.
  • the display screen extends upwards, the X-axis of the three-dimensional coordinate system extends from the top side to the bottom side of the first device 10 along the length direction of the first device 10, and the Y-axis of the three-dimensional coordinate system extends along the width direction of the first device 10 extending from the left side of the first device 10 to the right side. It can be understood that the manner of determining the three-dimensional coordinate system is not limited thereto, and this embodiment of the present application does not make a limitation here.
  • the first device may acquire the spatial location information of the target device based on a related communication technology.
  • Step 102 Share target information with the target device when it is determined that the target device is in the first shared space based on the spatial location information.
  • the first shared space is the space range determined by the first device, and if the target device is within the space range corresponding to the first shared space, the first device can share the Target information is shared to the target device.
  • the first shared space may be any limited space in the three-dimensional coordinate system.
  • the first device may determine the space range corresponding to the first shared space based on default settings, or determine the space range corresponding to the first shared space based on user-defined settings.
  • the spatial range corresponding to the first shared space may be a set of multiple spatial position coordinates, specifically including spatial position coordinates of multiple spatial position points located in the first shared space.
  • the first shared space is a cuboid space centered on the center of gravity of the first device, and the edge length of the cuboid space is based on a default setting or a user's own The definition setting is determined.
  • the first shared space A is a cubic space centered on the center of gravity of the first device 10 and whose sides are all 5 meters long.
  • the first device After the first device obtains the real-time spatial position coordinates of the target device, it may determine whether the target device is in the In the first shared space, if it belongs, it may be determined that the target device is in the first shared space. The first device may also determine whether the target device is in the first shared space based on the positional relationship between the spatial location point corresponding to the target device and the first shared space. Depending on circumstances, the embodiments of the present application are not limited here.
  • the target information includes, but is not limited to, information such as documents, pictures, videos, audios, and program interfaces of application programs.
  • the target information may be stored locally on the first device, or may be obtained by the first device through a network or other means, which may be determined according to actual conditions, and is not limited in this embodiment of the present application.
  • the first device may send the target information to the target device when it is determined that the target device is in the first shared space;
  • a program interface of a program when the first device determines that the target device is in the first shared space, it may generate screen projection information of the program interface, and send the screen projection information to the target device , the target device may display the program interface based on the screen projection information.
  • the first device predetermines a space range corresponding to the first shared space.
  • the first device may wait for the device to enter the first sharing space .
  • the first device shares the target information with the target device.
  • Implementation form 2 The first device predetermines a space range corresponding to the first shared space. After the first device determines that the target device is in the first shared space, the first device may determine the target information that needs to be shared, for example, receiving the file executed by the user on the sharing interface of the target device Select Action and share the target information to the target device.
  • Implementation form 3 After the first device acquires the spatial location information of the target device, it determines the first shared space based on the spatial location information of the target device. For example, the first shared space is based on the The center of gravity of the target device is the center, and the edge length is a cuboid space with a preset value. After the first device determines the target information that needs to be shared, the target information may be shared with the target device.
  • the step of the first device determining the space range corresponding to the first shared space may be executed simultaneously or sequentially, and the execution order may be determined according to actual conditions, which is not limited in this embodiment of the present application.
  • the first device determines that the target device is in the first shared space based on the positional relationship between the target device and the first shared space , share the target information to the target device. There is no need to establish a wired or wireless connection between the first device and the target device.
  • the first shared space as a medium, information sharing can be realized by controlling the spatial position of the target device, so that information between devices Sharing is more flexible and convenient.
  • the method before the sharing of target information to the target device, the method further includes:
  • the first shared space is created based on the space range set by the first input.
  • the user can customize the space range corresponding to the first shared space, and the first device can obtain the space range corresponding to the first shared space set by the user by receiving the user's first input.
  • the personalized needs of the users can be met, and the users can correspondingly set up the first sharing spaces of different spatial ranges in different sharing scenarios, which further improves the flexibility and convenience of information sharing between devices.
  • the first device may display a setting interface related to information sharing based on the user's touch input or voice input, and the setting interface may include controls for setting the space range corresponding to the first shared space
  • the first input may include at least one of click input, double-click input, long-press input, slide input, or keyboard input of the control by the user through a touch device such as a finger or a stylus, which may be determined according to actual conditions,
  • a touch device such as a finger or a stylus
  • the input parameters of the first input may include but not limited to one or more parameters among the shape, center point, and size of the first shared space, which may be determined according to the actual situation, and are not limited in this embodiment of the present application.
  • the first device may determine a space range corresponding to the first shared space based on the first input parameter.
  • the shape of the first shared space may be cuboid space, spherical space, etc.; the parameter value of the center point of the first shared space may be the center point of the first shared space in the three-dimensional coordinate system
  • the spatial position coordinates may also be the positional relationship of the center point of the first shared space relative to the first device; the size of the first shared space depends on the shape of the first shared space, for example, If the first shared space is set as a cuboid space, the size of the first shared space includes the edge length of the first shared space, or, if the first shared space is set as a spherical space, the first shared space The size of the space includes the radius or diameter of the first shared space.
  • the sharing of target information to the target device under the condition that the target device is determined to be in the first shared space based on the spatial location information includes:
  • the target information is shared with the target device.
  • the first device on the basis that the target device is in the first shared space, the first device needs to have the sharing permission before the first device shares the target information with the target device, so as to Improve the security of information sharing.
  • the target device has a sharing permission that satisfies at least one of the following:
  • the first item, the target device has the sharing permission of the first device, and the sharing permission of the first device refers to the permission to share the information shared by the first device.
  • the first device may pre-configure the sharing rights of each device, and when it is determined that the target device is in the first shared space, the first device may acquire the the sharing permission of the target device, to determine whether the target device has the sharing permission of the first device, and if the target device has the sharing permission of the first device, share the target information to all target device.
  • the first device may configure a shared device list, and the shared device list may include devices that are currently in the first shared space, and may also include devices that were once in the first shared space.
  • It can include devices added by the user; the user can perform input to configure the sharing permissions of each device in the shared device list in batches, for example, device 1 has the sharing permission of the first device, and device 2 has the sharing permission of the first device sharing permission of the first device, and device 3 does not have the sharing permission of the first device.
  • the first device may configure the sharing permission of the target device when it is determined that the target device is in the first shared space.
  • the first device may display a sharing authority setting interface, and the first device may receive user input to determine the target device.
  • Device sharing permissions when the first device determines that the target device is in the first shared space, it may display a sharing authority setting interface, and the first device may receive user input to determine the target device. Device sharing permissions.
  • the first device may pre-configure sharing permissions for each type of information, and when it is determined that the target device is in the first shared space, the first device may obtain the sharing permission of the target device to determine whether the target device has the permission to share the target information, and if the target device has the permission to share the target information, share the target information to the target device.
  • the sharing permission of the target information refers to the sharing permission of the source application of the target information, for example, the sharing permission of the photo refers to the sharing permission of the photo album application.
  • the first device may configure a shared application list, and the shared application list may include all applications on the first device;
  • the sharing permission of the application program optionally including which devices the information of the application program can be shared with; or which information in the application program can be shared with which devices, for example, photos involving privacy in the photo album application program , you can set the sharing permissions for devices of family members, but not for devices of non-family members.
  • the first device may configure the sharing permission of the target information when it is determined that the target device is in the first shared space.
  • the first device may display a list of currently shareable information, and the first device may receive the user's Select Input to determine which information in the information list can be shared with the target device.
  • the third item, the access password provided by the target device matches the access password set by the first device.
  • the first device may be pre-configured with a first access password.
  • the first device may receive a second access password sent by the target device to determine whether the second access password is the same as the first access password match.
  • an interface for setting a first access password may be displayed, and the first device may receive user input, to determine the first access password.
  • the first access password may be randomly generated.
  • the first device when it determines the first shared space, it may also create a virtual screen corresponding to the first shared space, denoted as the first shared screen here.
  • the first shared screen can be used to display the target information, which can further improve the flexibility of information sharing between devices and make information sharing more interactive.
  • the first shared screen may be a virtual screen projected by the first device based on a virtual reality (Virtual Reality, VR) technology, and the virtual screen is visible when the user wears a VR device.
  • the first shared screen may be a two-dimensional screen or a three-dimensional screen; the first shared screen may be projected on any position in the first shared space, or projected on the first shared space any position outside.
  • the first device determines the space range corresponding to the first shared space, it may also determine the projected position of the first shared screen, and the projected position of the first shared screen may be based on default settings or user-defined The setting is OK.
  • the first shared screen B is projected on a plane in the first shared space A. As shown in FIG.
  • the target information is a document file or a photo.
  • the first shared screen may display the file identification of the target information, such as an icon of a document file or a thumbnail of a photo; the first shared screen may also display the content of the target information, For example, the specific text content of a document file or the original image of a photo.
  • the target device may store the target information locally without displaying the content of the target information; the target The device may also display the content of the target information after receiving the target information.
  • the target information is video or audio.
  • the first shared screen may display a file identifier of the target information, such as an icon of a video file or an audio file; the first shared screen may also play the content of the target information.
  • the target device may store the target information locally after receiving the target information without playing the content of the target information; the target The device may also play the content of the target information after receiving the target information.
  • the target information is a program interface of an application program.
  • the first shared screen may display the program interface.
  • the target device receives the shared information of the program interface, such as screen projection information, and displays the program interface based on the shared information.
  • the method before sharing the target information to the target device, the method further includes: receiving a first input from the user, the first input is used to set The space range corresponding to the first shared space is also used to set the first shared screen; in response to the first input, based on the space range set by the first input and the first shared screen, create the The first shared space and project the first shared screen.
  • the user can customize the first shared screen through the first input to meet the individual needs of the user.
  • the user can set different shared screens correspondingly in different sharing scenarios, which further improves the Flexibility and ease of information sharing between devices.
  • the first device may display a setting interface related to information sharing based on the user's touch input or voice input
  • the setting interface may include controls for setting the first shared screen
  • the second An input may include at least one of click input, double-click input, long-press input, slide input, or keyboard input of the control by the user through a touch device such as a finger or a stylus, which may be determined according to the actual situation. It is not limited here.
  • the input parameters of the first input may include one or more parameters of the shape, center point, and size of the first shared screen, and also include a projection position of the first shared screen.
  • the shape of the first shared screen may be a rectangle, a circle, etc.
  • the parameter value of the center point of the first shared screen may be the space of the center point of the first shared screen in the three-dimensional coordinate system
  • the position coordinates may also be the positional relationship of the center point of the first shared screen relative to the first device; the size of the first shared screen depends on the shape of the first shared screen.
  • the first shared screen is set as a rectangle, and the size of the first shared screen includes a side length or a diagonal length of the first shared screen, or, if the first shared screen is set as a circle, the The size of the first shared screen includes a radius or diameter of the first shared space.
  • the first device may determine the application scenario of the target information based on the type of the target information or the source application of the target information, and then based on the application scenario, determine The parameter value of the first shared screen.
  • the target information is a Word document
  • the aspect ratio of the first shared screen can meet the A4 standard; also exemplary, if the target information is a video playback interface in a video application, The aspect ratio of the first shared screen may be 16:9.
  • the first device may display the parameter value as a recommended parameter value for the user to determine or select.
  • the sharing of target information to the target device under the condition that the target device is determined to be in the first shared space based on the spatial location information includes:
  • the target device In the case that the target device is in the first shared space, obtain the first motion trajectory of the first virtual control on the first shared screen;
  • the first shared screen is the virtual control corresponding to the first shared space
  • the first virtual control is used to identify the position of the target device, and the first movement trajectory is determined based on the movement trajectory of the target device;
  • the target information is shared with the target device.
  • the first shared screen is projected correspondingly to the first shared space, and the interface displayed on the first shared screen is represented here as a display interface of the first shared screen.
  • the display interface of the first shared screen includes the target area, and the user controls the movement of the target device so that the first virtual control moves on the display interface of the first shared screen.
  • the first device determines that the target device joins the current information sharing scene, and can share the target information with the target device.
  • an immersive information sharing experience can be provided for users, and the fun and safety of information sharing can be improved.
  • each player device may perform an operation of joining a game through the method provided in this embodiment.
  • the display interface of the first sharing screen may be a program interface of an application program that currently needs to share information, or may be a display interface dedicated to information sharing.
  • the target area may be in any shape, and the first virtual control may be a cursor, a thumbnail, etc., which may be determined according to actual conditions, and are not limited in this embodiment of the present application.
  • the display interface of the first shared screen B includes a target area 20, and a first virtual control 30 is displayed at the same time. The user of the target device controls the movement of the target device.
  • the first virtual control 30 Can move in the display interface of the first shared screen B.
  • the target device may control the movement of the target device based on the guidance information so that the first virtual control is in the within the target area.
  • the guidance information includes the following three implementation forms:
  • the first device displays the guidance information.
  • the first device may display the guide information when it is determined that the target device is in the first shared space.
  • the first device displays a first guide interface, and the first guide interface uses to display the guidance information.
  • the first guide interface includes a second control for identifying the position of the target device, and when the target device moves, the first virtual control can follow the target device in the first shared screen display interface, and the second control can follow the target device to move in the first guide interface; the user of the target device can control the movement of the target device based on the first guide interface, and
  • the first virtual control may be located in a target area of the first shared screen. For example, as shown in FIG.
  • the display interface of the first device is a first guide interface C
  • the first guide interface C includes a specific area 40
  • Implementation form 2 The first device outputs the guidance information by voice.
  • the first device may output information by voice to guide the user of the target device to control the movement of the target device, so that the first virtual control is within the target area.
  • Implementation form 3 The target device displays the guidance information.
  • the target device may display the guidance information.
  • the target device when the first device determines that the target device is in the first shared space, it may send the guidance information to the target device; in another implementation form, The target device may display the guide information when it is determined that it is in the first shared space.
  • the target device displays a second guidance interface, and the second guidance interface is used to display the guidance information.
  • the second guide interface includes a third control for identifying the position of the target device, and when the target device moves, the first virtual control can follow the target device at the third control. a shared screen display interface, and the third control can follow the target device to move in the second guidance interface.
  • the user of the target device can control the movement of the target device according to the second guidance interface, and when the third control is in a specific area of the second guidance interface, the first virtual control can be within the target area of the first shared screen.
  • the method further includes:
  • the second A device may stop sharing the target information with the target device, so as to reduce unnecessary data processing and eliminate the impact on other devices in the information sharing scene.
  • the first device when the first device determines that the first virtual control is outside the target area, it may remind the target device through prompt information, so as to remind the user of the target device Controlling the target device to return to the previous position, for example, displaying and outputting prompt information or voice output prompt information. If the first virtual control is not recovered within the target area within a preset time, the first device may stop sharing the target information with the target device.
  • the first device when the deviation distance of the first virtual control is within a preset threshold range, the first device may correspondingly adjust the projection position of the first shared screen so that the first A virtual control returns to be within the target area; in the case that the deviation distance of the first virtual control exceeds a preset threshold range, the first device may stop sharing the target information with the target device.
  • the deviation distance of the first virtual control may be the shortest linear distance between the first virtual control and the edge of the target area.
  • the interface displayed on the first shared screen is a program interface of a first application program
  • the program interface of the first application program includes the target area, so
  • the target area includes a first area and a second area; after acquiring the first motion track of the first virtual control on the first shared screen, the method further includes:
  • the first target parameter is used to indicate the device attribute of the target device in the first application program, and the value of the first parameter is different from the value of the second parameter.
  • the interface displayed on the first shared screen is the program interface of the first application program
  • the target area includes the first area and the second area, and different areas correspond to different device attributes
  • the device An attribute may be used to identify the identity of the device within said first application.
  • the user of the target device can control the movement of the target device so that the first virtual control is in the first area or the second area, so as to select the device attribute of the target device in the first application program , by using the display information of the first sharing screen, related program functions in the information sharing scene can be realized, and the interactivity of information sharing can be further improved.
  • the first device may predetermine the correspondence between device attributes and regions in the first application program.
  • the first area corresponds to a teacher device
  • the second area corresponds to a student device
  • the first area and the second area The areas correspond to different player devices.
  • the target area 20 includes a first area 21 and a second area 22
  • the first area 21 corresponds to the player 1 device
  • the second area 22 corresponds to the player 2 device.
  • the target area may also include other areas other than the first area and the second area, the number of the areas is not limited, and may be determined according to the device attributes in the first application program , it is only described here that the target area includes the first area and the second area as an example.
  • the correspondence may include a one-to-one correspondence, that is, a device attribute corresponds to an area, for example, the first area corresponds to player 1 equipment, the second area corresponds to player 2 equipment, and the third area corresponds to player 3 equipment; the correspondence may also include a one-to-many correspondence, that is, one equipment attribute corresponds to multiple areas, for example, the first area corresponds to teacher equipment, and the second area and the third area correspond to students equipment.
  • the parameter value of the first target parameter corresponding to the target device is changed by the The first parameter value is modified to the second parameter value.
  • the user of the target device can change the device attribute in the first application program by controlling the movement of the target device, which improves the flexibility and convenience in the process of information sharing and interaction.
  • the interface displayed on the first shared screen includes a program interface of a second application program, and the first shared screen is a virtual screen corresponding to the first shared space; after acquiring the spatial location information of the target device, the method also includes:
  • the second target parameter is used to indicate the device attribute of the target device in the second application program.
  • the interface displayed on the first shared screen includes the program interface of the second application program, and the first device may determine the The order in which the target device enters the first shared space, different orders correspond to different device attributes, and the device attributes can be used to identify the identity of the device in the second application program.
  • the first shared space By using the first shared space, related program functions in the information sharing scene can be realized, and the interactivity of information sharing can be further improved.
  • the first application program and the second application program may be the same or different, and the first device may be based on when the target device enters the first shared space, the first shared space has The number of existing devices determines the sequence of the target devices. For example, when the target device enters the first shared space, there are already 2 devices in the first shared space, and the sequence of the target devices is 3 .
  • the first device may predetermine a correspondence between device attributes and sequences in the second application program, and the correspondence may include a one-to-one correspondence, that is, one device attribute corresponds to one sequence, for example, Sequence 1 corresponds to Player 1's device, Sequence 2 corresponds to Player 2's device, and Sequence 3 corresponds to Player 3's device; the correspondence may also include a one-to-many correspondence, that is, one device attribute corresponds to multiple sequences, for example, Sequence 1 corresponds to For teacher devices, sequence 2 and sequence 3 correspond to student devices.
  • the program interface of the second application program includes N areas, and there is a corresponding relationship among the device attributes, order, and areas in the second application program, and the first device can be configured according to The order in which the target device enters the first shared space determines the device attribute of the target device in the second application program, and determines the area corresponding to the target device.
  • the target information is shared with the target device only when the first virtual control is in an area corresponding to the target device.
  • the correspondence may include a one-to-one correspondence, that is, a device attribute corresponds to an order and an area.
  • a one-to-one correspondence that is, a device attribute corresponds to an order and an area.
  • order 1 corresponds to area 21 and player 1 equipment
  • order 2 corresponds to Area 22 and player 2 equipment
  • the correspondence may also include a one-to-many correspondence, that is, a device attribute corresponds to multiple sequences or multiple areas, and the sequence and the area may be one-to-one
  • the relationship may also be a one-to-many relationship, which may be determined according to actual conditions, and is not limited in this embodiment of the present application.
  • the first device may highlight this area on the program interface of the second application program, for example, display a border of the area in a blinking manner, Alternatively, the frame of this area is displayed in a color different from that of other areas, so as to prompt the user of the target device to control the movement of the target device to move the first virtual control into this area.
  • the number of the shared spaces may be multiple, and here, the first shared space and the second shared space are taken as an example for description, and are not specifically limited.
  • the first shared space is used to share the program interface of the first application program
  • the second shared space is used to share the program interface of the second application program; or, the first shared space is used to share the program interface of the second application program.
  • a target device shares the target information
  • the second shared space is used to share the target information with a second target device; or, the first shared space is used to share the first information, and the second shared space is used to For sharing the second information, the type of the second information is different from the type of the first information.
  • Embodiment 1 The first shared space is used to share the program interface of the first application program, and the second shared space is used to share the program interface of the second application program, and the first application program is different from the second application program .
  • a shared space is used to share a program interface of an application.
  • the first device can also create matching sharing spaces according to application scenarios of different application programs.
  • the first device can also determine the parameter value of the shared screen according to the application scenarios of different applications, which improves the adaptability between information sharing and application scenarios.
  • the first device can share the program interfaces of multiple application programs at the same time, and the target device can enter the corresponding shared space as required, which further improves the efficiency and convenience of information sharing.
  • the sharing target information to the target device includes:
  • the method also includes:
  • the program interface of the second application program is shared to the target device.
  • the first device when the spatial position of the target device moves between two or more shared spaces, the first device may also correspondingly switch the program interface currently shared with the target device.
  • the target device can move the spatial position as required, that is, change the program interface participating in the sharing, which further improves the efficiency and convenience of information sharing.
  • the first shared space is used to share the program interface of the first application program
  • the second shared space is used to share the program interface of the second application program
  • the first shared space and the second shared space Shared spaces include target spaces
  • the sharing of target information to the target device under the condition that the target device is determined to be in the first shared space based on the spatial location information includes:
  • the spatial range corresponding to the first shared space may overlap with the spatial range corresponding to the second shared space.
  • the overlapping spatial range is represented here for the target space.
  • the first device may display the first control for the user to select between the program interface of the first application program and the program interface of the second application program.
  • the first control may be a function box, and the function box may receive the second input from the user to determine the target shared space.
  • the second input may include at least one of click input, double-click input, long-press input, slide input, or keyboard input of the first control by the user through a touch device such as a finger or a stylus. It is determined that the embodiments of the present application are not limited here.
  • the method further includes: The program interface shared by the target shared space is displayed on the sharing screen.
  • the first device may determine the parameter value of the first shared screen to project the first shared screen according to the application scenario of the shared program interface, and display the first shared screen on the first shared screen. program interface.
  • the first shared space is used for a playback interface of a shared video
  • the first shared space is used for a display interface of a shared document.
  • the first shared screen with an aspect ratio of 16:9 can be projected, and the video playback interface can be displayed on the first shared screen;
  • the first device determines the presentation interface of the shared document based on the second input it can The first shared screen whose aspect ratio meets the A4 standard is projected, and a display interface of the document is displayed on the first shared screen.
  • Embodiment 2 The first shared space is used to share the target information with a first target device, and the second shared space is used to share the target information with a second target device. In this way, when the first device shares information with multiple devices at the same time, the mutual influence of different devices in the information sharing process can be eliminated, and the security and privacy of information sharing can be improved.
  • Embodiment 3 The first shared space is used to share first information, and the second shared space is used to share second information, where the type of the second information is different from the type of the first information.
  • one shared space is used to share one type of information.
  • the first device may also create matching shared spaces according to different types of information.
  • the first device may also determine parameter values of the shared screen according to different types of information, which improves the adaptability between information sharing and application scenarios.
  • the first device is device 1
  • the target device includes device 2, device 3 and device 4
  • the target information is the program interface corresponding to game application 1, as follows Referred to as the target program interface.
  • the specific implementation process is as follows:
  • Step 1 The device 1 receives a sharing input from the user acting on the target program interface.
  • the device 1 displays a target program interface D, and the target program interface D includes a control 60 for sharing the current interface.
  • the device 1 receives a user's click input on the control 60, and in response to the click input, step 2 is performed.
  • Step 2 Device 1 creates a shared space and projects a shared screen, and displays a target program interface on the shared screen.
  • the device 1 displays the program interface E of the information sharing program in response to the click input acting on the sharing control 60 , as shown in FIG. 8 .
  • the program interface E of the information sharing program includes a control 70 for creating a shared space.
  • the device 1 receives a user's click input on the control 70, and in response to the click input, displays a setting interface F of the shared space, as shown in FIG. 9 .
  • the setting interface F of the shared space includes a control 71 for setting the shared space.
  • the device 1 receives a click input acting on the control 71, and in response to the click input, displays the setting interface of the shared space, and the user can determine the space range corresponding to the shared space based on the requirements of the game scene 1, and the shared space.
  • the projection position and size of the screen, the device 1 creates the shared space and projects the shared screen based on the user's input.
  • the setting interface F of the shared space also includes a control 72 for setting device permissions, and the device 1 receives a click input acting on the control 72 to display the setting interface of the device permissions, and the device 1 determines the sharing of each device based on the user's input. Permissions. In this embodiment, it is assumed that device 1 determines that device 2, device 3, and device 4 have the sharing permission of device 1 by receiving input from the user, and device 5 does not have the sharing permission of device 1.
  • the setting interface F of the shared space also includes a control 73 for setting the access password, and the device 1 receives the click input acting on the control 73 to display the setting interface of the access password, and the device 1 receives the user's input to determine the access password of the shared space .
  • the setting interface F of the shared space also includes a control 74 for setting information permissions, and the device 1 can receive a click input acting on the control 74 to display the setting interface of the information permissions, and the device 1 determines the sharing permissions of each information based on the user's input
  • device 1 determines that device 2, device 3, and device 4 have the sharing authority of the target program interface by receiving user input, and device 5 does not have the sharing authority of the target program interface.
  • device 1 After the user finishes setting the shared space, device 1 can create a shared space A and project a shared screen B, as shown in Figure 3, and display the target program interface on the shared screen B, as shown in Figure 4. It should be noted that, if the user does not set the size or shape of the shared screen, the device 1 may determine the shared screen B as a square as shown in FIG. 4 based on the game scene 1 .
  • Step 3 The device 2 enters the shared space, and determines whether the virtual cursor of the device 2 is in the target area of the shared screen.
  • a virtual cursor 30 for identifying the position of device 2 will be displayed on shared screen B, and the user controls the movement of device 2, and virtual cursor 30 will follow the device 2's motion moves in shared screen B.
  • the device 1 will display the first guidance interface C, the first guidance interface C includes The cursor 50 used to identify the position of the device 2 , the user controls the movement of the device 2 , and the cursor 50 will move in the first guidance interface C following the movement of the device 2 .
  • This step can be understood as the operation of "joining the game” in the game scene 1, and the first guide interface C can guide the user to control the movement of the device 2 so that the cursor 50 can move to the desired position of the user.
  • the virtual cursor 30 can be moved to the area 21 corresponding to "Player 1" in the shared screen B. After that, proceed to step 4.
  • Step 4 Device 2 matches the access code.
  • device 1 may prompt device 2 to enter the access password through a prompt message. If the access password is correct, device 2 joins game scene 1 and determines that device 2 is Player 1, then proceed to step 5; if the access password is incorrect, proceed to step 6.
  • Step 5 The device 2 receives the screen projection information of the target program interface, and displays the target program interface based on the screen projection information.
  • device 1 determines that device 2 joins game scene 1 as player 1 .
  • the device 2 may receive the screen projection information of the target program interface, and display the target program interface based on the screen projection information. After that, proceed to step 6.
  • Step 6 Device 1 waits for Device 3 and Device 4 to join the game.
  • Device 1 waits for Device 3 and Device 4 to join the game based on the process performed by Device 2 above, and starts a four-player game.
  • device 1 can determine its player identity according to the order in which device 2, device 3 and device 4 enter the shared space. Enter the shared space sequentially, then after the device 2 enters the shared space, the device 1 can blink and display the area 41 shown in FIG. 5 on the first guidance interface C to prompt the user of the device 2 to control the device 2 The movement causes the cursor 50 to move into the area 41, thereby occupying the identity of Player 1, and then entering the waiting state. After the device 3 enters the shared space, the device 1 can blink and display the area 42 shown in FIG. , to occupy the identity of player 2, device 4 can refer to the above description to join the game.
  • the device 2 After the device 2, the device 3 and the device 4 join the shared space and start the game, the device 2, the device 3 and the device 4 can monitor whether there is a user's face in the visible area of the camera through their own front cameras. If a device detects that there is no human face in the visible area of the camera, device 1 can send a warning message to remind users of other devices that someone is currently "hanging up” and confirm whether to end the game. After confirming to end the game, the device 2, device 3 and device 4 will no longer display the target program interface.
  • Deviating from the guideline setting After device 2, device 3 and device 4 join the shared space and start the game, if device 1 determines that the virtual cursor used to identify the position of device 2 on the shared screen deviates from the area where it is located, device 1 can send a prompt message, To prompt the user of the device 2 to be in a deviated state, and to confirm whether to end the game. After confirming that the game is not over, the device 1 can guide the user of the device 2 to control the movement of the device 2 through the first guide interface, so that the virtual cursor of the device 2 is in the corresponding area again, and continue the game.
  • the information sharing method provided in the embodiment of the present application may be executed by an information sharing device, or a control module in the information sharing device for executing the information sharing method.
  • the information sharing device executed by the information sharing device is taken as an example to describe the information sharing device provided in the embodiment of the present application.
  • FIG. 10 is a structural diagram of an information sharing device provided by an embodiment of the present application.
  • the information sharing device 1000 includes:
  • the first acquiring module 1001 is configured to acquire the spatial location information of the target device
  • the first sharing module 1002 is configured to share target information with the target device when it is determined that the target device is in a first shared space based on the spatial position information.
  • the first sharing module 1002 includes:
  • a first acquiring unit configured to acquire a first motion track of a first virtual control on a first shared screen when the target device is in the first shared space;
  • the first shared screen is the A virtual screen corresponding to the first shared space, the first virtual control is used to identify the position of the target device, and the first motion track is determined based on the motion track of the target device;
  • a first sharing unit configured to share the target information with the target device when it is determined based on the first motion track that the first virtual control is within the target area of the first shared screen.
  • the information sharing device 1000 further includes:
  • a first control module configured to stop sharing the target information to the target device when the first virtual control is outside the target area of the first shared screen.
  • the interface displayed on the first shared screen is a program interface of a first application program
  • the program interface of the first application program includes the target area
  • the target area includes a first area and a second area
  • the information sharing device 1000 also includes:
  • a second acquisition module configured to acquire a first parameter of a first target parameter corresponding to the first area when it is determined that the first virtual control is in the first area based on the first motion trajectory value
  • a first association module configured to associate the first parameter value with the target device
  • a third acquiring module configured to acquire the first value of the first target parameter corresponding to the second area when it is determined that the first virtual control is in the second area based on the first motion track.
  • a second association module configured to associate the second parameter value with the target device
  • the first target parameter is used to indicate the device attribute of the target device in the first application program, and the value of the first parameter is different from the value of the second parameter.
  • the interface displayed on the first shared screen is the program interface of the second application program, and the first shared screen is a virtual screen corresponding to the first shared space; the information sharing apparatus 1000 further includes:
  • a first determining module configured to determine the order in which the target devices enter the first shared space when it is determined that the target device is in the first shared space based on the spatial position information
  • a second determining module configured to determine the parameter value of the second target parameter corresponding to the target device based on the correspondence between the sequence and the parameter value of the second target parameter;
  • the second target parameter is used to indicate the device attribute of the target device in the second application program.
  • the information sharing device 1000 further includes:
  • the first receiving module is configured to receive a first input from a user, and the first input is used to set a space range corresponding to the first shared space;
  • a first creating module configured to create the first shared space based on the space range set by the first input in response to the first input.
  • the first shared space is used to share the program interface of the first application program
  • the second shared space is used to share the program interface of the second application program
  • the first shared space is used to share the target information with a first target device
  • the second shared space is used to share the target information with a second target device
  • the first shared space is used to share first information
  • the second shared space is used to share second information, where the type of the second information is different from the type of the first information.
  • the first shared space is used for sharing the program interface of the first application program
  • the second shared space is used for sharing the program interface of the second application program
  • the first sharing module 1002 is specifically used for:
  • the information sharing device 1000 also includes:
  • a second sharing module configured to share the program interface of the second application program with the target device when the target device moves from the first shared space to the second shared space.
  • the first shared space is used to share the program interface of the first application
  • the second shared space is used to share the program interface of the second application
  • the first shared space and the second shared The spaces all include the target space
  • the first sharing module 1002 includes:
  • a first display unit configured to display a first control when the target device is in the target space
  • a first receiving unit configured to receive a second input from a user on the first control
  • a first determining unit configured to determine a target shared space in the first shared space and the second shared space in response to the second input
  • the second sharing unit is configured to share the program interface shared by the target shared space to the target device.
  • the information sharing apparatus 1000 can implement each process implemented by the first device in the above method embodiment, and can achieve the same beneficial effect. To avoid repetition, details are not repeated here.
  • the target Information is shared to the target device. There is no need to establish a wired or wireless connection between the information sharing device and the target device.
  • the first shared space as a medium, information sharing can be realized by controlling the spatial position of the target device, so that information between devices Sharing is more flexible and convenient.
  • the information sharing device in the embodiment of the present application may be a device, or a component, an integrated circuit, or a chip in a terminal.
  • the device may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, tablet computer, notebook computer, palmtop computer, vehicle electronic device, wearable device, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant).
  • assistant, PDA personal digital assistant
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • the information sharing device in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
  • the embodiment of the present application further provides an electronic device 1100, including a processor 1101, a memory 1102, and programs or instructions stored in the memory 1102 and operable on the processor 1101,
  • an electronic device 1100 including a processor 1101, a memory 1102, and programs or instructions stored in the memory 1102 and operable on the processor 1101,
  • the program or instruction is executed by the processor 1101
  • each process of the above-mentioned information sharing method embodiment can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 12 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 1200 includes, but is not limited to: a radio frequency unit 1201, a network module 1202, an audio output unit 1203, an input unit 1204, a sensor 1205, a display unit 1206, a user input unit 1207, an interface unit 1208, a memory 1209, and a processor 1210, etc. part.
  • the electronic device 1200 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 1210 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions.
  • a power supply such as a battery
  • the structure of the electronic device shown in FIG. 12 does not constitute a limitation to the electronic device.
  • the electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, and details will not be repeated here. .
  • processor 1210 is used for:
  • the processor 1210 is specifically configured to:
  • the target device In the case that the target device is in the first shared space, obtain the first motion trajectory of the first virtual control on the first shared screen;
  • the first shared screen is the virtual control corresponding to the first shared space
  • the first virtual control is used to identify the position of the target device, and the first movement trajectory is determined based on the movement trajectory of the target device;
  • the target information is shared with the target device.
  • the processor 1210 is further configured to stop sharing the target information to the target device when the first virtual control is outside the target area of the first shared screen.
  • the interface displayed on the first shared screen is a program interface of a first application program
  • the program interface of the first application program includes the target area
  • the target area includes a first area and a second area
  • Processor 1210 also for:
  • the first target parameter is used to indicate the device attribute of the target device in the first application program, and the value of the first parameter is different from the value of the second parameter.
  • the interface displayed on the first shared screen is a program interface of the second application program, and the first shared screen is a virtual screen corresponding to the first shared space; the processor 1210 is further configured to:
  • the second target parameter is used to indicate the device attribute of the target device in the second application program.
  • the user input unit 1207 is configured to receive a first input from a user, and the first input is used to set a space range corresponding to the first shared space;
  • the processor 1210 is further configured to, in response to the first input, create the first shared space based on the space range set by the first input.
  • the first shared space is used to share the program interface of the first application program
  • the second shared space is used to share the program interface of the second application program
  • the first shared space is used to share the target information with a first target device
  • the second shared space is used to share the target information with a second target device
  • the first shared space is used to share first information
  • the second shared space is used to share second information, where the type of the second information is different from the type of the first information.
  • the first shared space is used to share the program interface of the first application program
  • the second shared space is used to share the program interface of the second application program
  • the processor 1210 is specifically configured to share the program interface of the first application program The program interface is shared to the target device
  • the processor 1210 is further configured to share the program interface of the second application program to the target device when the target device moves from the first shared space to the second shared space.
  • the first shared space is used to share the program interface of the first application
  • the second shared space is used to share the program interface of the second application
  • the first shared space and the second shared Each space includes a target space; a display unit 1206, configured to display a first control when the target device is in the target space;
  • the user input unit 1207 is further configured to receive a second input from the user on the first control
  • Processor 1210 also for:
  • the electronic device provided in this embodiment shares the target information when it is determined that the target device is in the first shared space based on the positional relationship between the target device and the first shared space. to the target device. There is no need to establish a wired or wireless connection between the electronic device and the target device.
  • the first shared space as a medium, information sharing can be realized by controlling the spatial position of the target device, so that information sharing between devices More flexible, more convenient.
  • the input unit 1204 may include a graphics processor (Graphics Processing Unit, GPU) 12041 and a microphone 12042, and the graphics processor 12041 is used for the image capture device (such as the image data of the still picture or video obtained by the camera) for processing.
  • the display unit 1206 may include a display panel 12061, and the display panel 12061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 1207 includes a touch panel 12071 and other input devices 12072 . Touch panel 12071, also called touch screen.
  • the touch panel 12071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 12072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • the memory 1209 can be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • the processor 1210 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 1210 .
  • the embodiment of the present application also provides a readable storage medium, the readable storage medium may be nonvolatile or volatile, the readable storage medium stores programs or instructions, and the programs or instructions are stored in When executed by the processor, the various processes of the foregoing information sharing method embodiments can be achieved, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the processor is the processor in the electronic device described in the above embodiments.
  • the readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
  • the embodiment of the present application also provides a computer program product, the computer program product is stored in a non-transitory storage medium, and the computer program product is executed by at least one processor to implement the various processes of the above information sharing method embodiment , and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
  • the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above information sharing method embodiment
  • the chip includes a processor and a communication interface
  • the communication interface is coupled to the processor
  • the processor is used to run programs or instructions to implement the above information sharing method embodiment
  • chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
  • the term “comprising”, “comprising” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase “comprising a " does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
  • the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present application belongs to the technical field of communications. Disclosed are an information sharing method and apparatus, and an electronic device and a medium. The information sharing method comprises: acquiring spatial position information of a target device; and when it is determined, on the basis of the spatial position information, that the target device is in a first shared space, sharing the target information to the target device.

Description

信息共享方法、装置、电子设备及介质Information sharing method, device, electronic device and medium
相关申请的交叉引用Cross References to Related Applications
本申请主张在2021年05月27日在中国提交的中国专利申请No.202110585419.8的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202110585419.8 filed in China on May 27, 2021, the entire contents of which are hereby incorporated by reference.
技术领域technical field
本申请属于通信技术领域,具体涉及一种信息共享方法、装置、电子设备及介质。The present application belongs to the technical field of communication, and specifically relates to an information sharing method, device, electronic equipment and medium.
背景技术Background technique
移动互联网时代,人们使用移动设备进行信息共享越来越普遍。In the era of mobile Internet, it is becoming more and more common for people to use mobile devices to share information.
目前的信息共享,通常是通过无线传输技术,例如蓝牙或者局域网来共享信息。其中,针对蓝牙连接,通常只能实现一对一的信息共享,针对局域网连接,参与设备通常需要连接在同一局域网中,导致信息共享的灵活性较低,且便捷性也较低。The current information sharing usually uses wireless transmission technology, such as bluetooth or local area network to share information. Among them, for Bluetooth connection, usually only one-to-one information sharing can be realized, and for LAN connection, participating devices usually need to be connected in the same local area network, resulting in low flexibility and convenience of information sharing.
发明内容Contents of the invention
本申请实施例的目的是提供一种信息共享方法、装置、电子设备及介质,能够解决信息共享的灵活性和便捷性较低的问题。The purpose of the embodiments of the present application is to provide an information sharing method, device, electronic device and medium, which can solve the problem of low flexibility and convenience of information sharing.
第一方面,本申请实施例提供了一种信息共享方法,所述方法包括:In the first aspect, the embodiment of the present application provides an information sharing method, the method comprising:
获取目标设备的空间位置信息;Obtain the spatial location information of the target device;
在基于所述空间位置信息,确定所述目标设备处于第一共享空间内的情况下,将目标信息共享至所述目标设备。If it is determined that the target device is in the first shared space based on the space position information, share target information to the target device.
第二方面,本申请实施例提供了一种信息共享装置,所述装置包括:In a second aspect, an embodiment of the present application provides an information sharing device, the device comprising:
第一获取模块,用于获取目标设备的空间位置信息;The first obtaining module is used to obtain the spatial location information of the target device;
第一共享模块,用于在基于所述空间位置信息,确定所述目标设备处于第一共享空间内的情况下,将目标信息共享至所述目标设备。A first sharing module, configured to share target information with the target device when it is determined that the target device is in a first shared space based on the spatial position information.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、 存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, the program or instruction being The processor implements the steps of the method described in the first aspect when executed.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented .
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In the fifth aspect, the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect the method described.
第六方面,本申请实施例提供了一种计算机程序产品,所述计算机程序产品被存储在非瞬态的存储介质中,所述计算机程序产品被至少一个处理器执行以实现如第一方面所述的方法。In a sixth aspect, an embodiment of the present application provides a computer program product, the computer program product is stored in a non-transitory storage medium, and the computer program product is executed by at least one processor to implement the computer program product described in the first aspect. described method.
在本申请实施例中,基于所述目标设备与所述第一共享空间之间的位置关系,在确定所述目标设备处于所述第一共享空间内的情况下,将所述目标信息共享至所述目标设备。所述第一设备与所述目标设备之间无需建立有线或者无线连接,以所述第一共享空间作为媒介,通过控制所述目标设备的空间位置就可实现信息共享,使得设备之间的信息共享更加灵活,更加便捷。In this embodiment of the present application, based on the positional relationship between the target device and the first shared space, if it is determined that the target device is in the first shared space, the target information is shared with the target device. There is no need to establish a wired or wireless connection between the first device and the target device. Using the first shared space as a medium, information sharing can be realized by controlling the spatial position of the target device, so that information between devices Sharing is more flexible and convenient.
附图说明Description of drawings
图1是本申请实施例提供的一种信息共享方法的流程图之一;FIG. 1 is one of the flow charts of an information sharing method provided in an embodiment of the present application;
图2是本申请实施例提供的一种三维坐标系的示意图;Fig. 2 is a schematic diagram of a three-dimensional coordinate system provided by the embodiment of the present application;
图3是本申请实施例提供的一种共享空间和共享屏幕的示意图;FIG. 3 is a schematic diagram of a shared space and a shared screen provided by an embodiment of the present application;
图4是本申请实施例提供的一种共享屏幕的显示界面的示意图;FIG. 4 is a schematic diagram of a display interface of a shared screen provided by an embodiment of the present application;
图5是本申请实施例提供的一种第一设备的显示界面的示意图之一;FIG. 5 is one of the schematic diagrams of a display interface of a first device provided in an embodiment of the present application;
图6是本申请实施例提供的一种信息共享方法的流程图之二;FIG. 6 is the second flow chart of an information sharing method provided by an embodiment of the present application;
图7是本申请实施例提供的一种第一设备的显示界面的示意图之二;FIG. 7 is the second schematic diagram of a display interface of a first device provided in an embodiment of the present application;
图8是本申请实施例提供的一种第一设备的显示界面的示意图之三;Fig. 8 is the third schematic diagram of the display interface of a first device provided by the embodiment of the present application;
图9是本申请实施例提供的一种第一设备的显示界面的示意图之四;FIG. 9 is a fourth schematic diagram of a display interface of a first device provided in an embodiment of the present application;
图10是本申请实施例提供的一种信息共享装置的结构图;FIG. 10 is a structural diagram of an information sharing device provided in an embodiment of the present application;
图11是本申请实施例提供的一种电子设备的结构图之一;FIG. 11 is one of the structural diagrams of an electronic device provided in the embodiment of the present application;
图12是本申请实施例提供的一种电子设备的结构图之二。FIG. 12 is a second structural diagram of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The following will clearly describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of them. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in this application belong to the protection scope of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It should be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application can be practiced in sequences other than those illustrated or described herein, and that references to "first," "second," etc. distinguish Objects are generally of one type, and the number of objects is not limited. For example, there may be one or more first objects. In addition, "and/or" in the specification and claims means at least one of the connected objects, and the character "/" generally means that the related objects are an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的信息共享方法进行详细地说明。The information sharing method provided by the embodiment of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
请参见图1,图1是本申请实施例提供的一种信息共享方法的流程图。Please refer to FIG. 1 . FIG. 1 is a flow chart of an information sharing method provided by an embodiment of the present application.
如图1所示,所述方法包括以下步骤:As shown in Figure 1, the method includes the following steps:
步骤101、获取目标设备的空间位置信息。 Step 101, acquiring spatial location information of a target device.
本申请实施例中,所述信息共享方法可以由第一设备执行,所述目标设备可以为除所述第一设备外的任意一个设备,具体可根据实际情况决定,本申请实施例在此不作限定。In the embodiment of the present application, the information sharing method may be executed by the first device, and the target device may be any device except the first device, which may be determined according to the actual situation. limited.
具体实现时,所述第一设备可以基于可视空间建立三维坐标系,所述空间位置信息可以包括所述目标设备在所述三维坐标系中的实时空间位置坐标。在一种示例性地实现形式,所述三维坐标系以所述第一设备的重心为原点,并基于所述第一设备的姿态确定X轴、Y轴和Z轴。例如,如图2所示,第一设备10平置于桌面上,则第一设备10的重心为所述三维坐标系的原点O,所述三维坐标系的Z轴垂直于第一设备10的显示屏向上延伸,所述三维坐标系的X轴沿第一设备10的长度方向自第一设备10的顶侧向底侧延伸,所述 三维坐标系的Y轴沿第一设备10的宽度方向自第一设备10的左侧向右侧延伸。可以理解的是,所述三维坐标系的确定方式并不限于此,本申请实施例在此不作限定。During specific implementation, the first device may establish a three-dimensional coordinate system based on a visible space, and the spatial position information may include real-time spatial position coordinates of the target device in the three-dimensional coordinate system. In an exemplary implementation form, the three-dimensional coordinate system takes the center of gravity of the first device as an origin, and determines an X axis, a Y axis, and a Z axis based on an attitude of the first device. For example, as shown in FIG. 2, if the first device 10 is placed flat on the desktop, the center of gravity of the first device 10 is the origin O of the three-dimensional coordinate system, and the Z axis of the three-dimensional coordinate system is perpendicular to the first device 10. The display screen extends upwards, the X-axis of the three-dimensional coordinate system extends from the top side to the bottom side of the first device 10 along the length direction of the first device 10, and the Y-axis of the three-dimensional coordinate system extends along the width direction of the first device 10 extending from the left side of the first device 10 to the right side. It can be understood that the manner of determining the three-dimensional coordinate system is not limited thereto, and this embodiment of the present application does not make a limitation here.
所述第一设备可以基于相关通信技术获取所述目标设备的空间位置信息。The first device may acquire the spatial location information of the target device based on a related communication technology.
步骤102、在基于所述空间位置信息,确定所述目标设备处于第一共享空间内的情况下,将目标信息共享至所述目标设备。Step 102: Share target information with the target device when it is determined that the target device is in the first shared space based on the spatial location information.
本申请实施例中,所述第一共享空间为所述第一设备确定的空间范围,若所述目标设备处于所述第一共享空间对应的空间范围内,所述第一设备可以将所述目标信息共享至所述目标设备。In this embodiment of the present application, the first shared space is the space range determined by the first device, and if the target device is within the space range corresponding to the first shared space, the first device can share the Target information is shared to the target device.
具体实现时,所述第一共享空间可以为所述三维坐标系中的任意有限空间。所述第一设备可以基于默认设置确定所述第一共享空间对应的空间范围,也可以基于用户的自定义设置确定所述第一共享空间对应的空间范围。所述第一共享空间对应的空间范围可以为多个空间位置坐标的集合,具体包括位于所述第一共享空间内的多个空间位置点的空间位置坐标。在一种示例性地实现形式中,所述第一共享空间为一长方体空间,所述长方体空间以所述第一设备的重心为中心,所述长方体空间的棱长基于默认设置或者用户的自定义设置确定,例如,如图3所示,第一共享空间A为以第一设备10的重心为中心,棱长均为5米的立方体空间。During specific implementation, the first shared space may be any limited space in the three-dimensional coordinate system. The first device may determine the space range corresponding to the first shared space based on default settings, or determine the space range corresponding to the first shared space based on user-defined settings. The spatial range corresponding to the first shared space may be a set of multiple spatial position coordinates, specifically including spatial position coordinates of multiple spatial position points located in the first shared space. In an exemplary implementation form, the first shared space is a cuboid space centered on the center of gravity of the first device, and the edge length of the cuboid space is based on a default setting or a user's own The definition setting is determined. For example, as shown in FIG. 3 , the first shared space A is a cubic space centered on the center of gravity of the first device 10 and whose sides are all 5 meters long.
所述第一设备获取所述目标设备的实时空间位置坐标后,可以基于所述实时空间位置坐标是否属于所述第一共享空间对应的空间位置坐标集合,来确定所述目标设备是否处于所述第一共享空间内,若属于,则可以确定所述目标设备处于所述第一共享空间内。所述第一设备也可以基于所述目标设备对应的空间位置点与所述第一共享空间之间的位置关系,来确定所述目标设备是否处于所述第一共享空间内,具体可根据实际情况决定,本申请实施例在此不作限定。After the first device obtains the real-time spatial position coordinates of the target device, it may determine whether the target device is in the In the first shared space, if it belongs, it may be determined that the target device is in the first shared space. The first device may also determine whether the target device is in the first shared space based on the positional relationship between the spatial location point corresponding to the target device and the first shared space. Depending on circumstances, the embodiments of the present application are not limited here.
所述目标信息包括但不限于文档、图片、视频、音频、应用程序的程序界面等信息。所述目标信息可以存储于所述第一设备本地,也可以由所述第一设备通过网络或者其他途径获取,具体可根据实际情况决定,本申请实施例在此不作限定。对于文档、图片、视频、音频等文件形式的信息,所述第 一设备在确定所述目标设备处于第一共享空间内的情况下,可以将所述目标信息发送至所述目标设备;对于应用程序的程序界面,所述第一设备在确定所述目标设备处于第一共享空间内的情况下,可以生成所述程序界面的投屏信息,并将所述投屏信息发送至所述目标设备,所述目标设备可以基于所述投屏信息,显示所述程序界面。The target information includes, but is not limited to, information such as documents, pictures, videos, audios, and program interfaces of application programs. The target information may be stored locally on the first device, or may be obtained by the first device through a network or other means, which may be determined according to actual conditions, and is not limited in this embodiment of the present application. For information in the form of documents, pictures, videos, audios, etc., the first device may send the target information to the target device when it is determined that the target device is in the first shared space; A program interface of a program, when the first device determines that the target device is in the first shared space, it may generate screen projection information of the program interface, and send the screen projection information to the target device , the target device may display the program interface based on the screen projection information.
本申请实施例中,可选地,包括以下三种实现形式:In the embodiment of this application, optionally, the following three implementation forms are included:
实现形式一、所述第一设备预先确定有所述第一共享空间对应的空间范围。当所述第一设备确定需要共享的所述目标信息时,例如,接收到用户在所述目标信息的显示界面执行的分享操作后,所述第一设备可以等待设备进入所述第一共享空间。当确定所述目标设备处于所述第一共享空间内时,所述第一设备将所述目标信息共享至所述目标设备。Implementation form 1. The first device predetermines a space range corresponding to the first shared space. When the first device determines that the target information needs to be shared, for example, after receiving a sharing operation performed by the user on the display interface of the target information, the first device may wait for the device to enter the first sharing space . When it is determined that the target device is in the first shared space, the first device shares the target information with the target device.
实现形式二、所述第一设备预先确定有所述第一共享空间对应的空间范围。当所述第一设备确定所述目标设备处于所述第一共享空间内后,所述第一设备可以确定需要共享的目标信息,例如,接收到用户在所述目标设备的共享界面执行的文件选择操作,并将所述目标信息共享至所述目标设备。Implementation form 2: The first device predetermines a space range corresponding to the first shared space. After the first device determines that the target device is in the first shared space, the first device may determine the target information that needs to be shared, for example, receiving the file executed by the user on the sharing interface of the target device Select Action and share the target information to the target device.
实现形式三、所述第一设备在获取所述目标设备的空间位置信息后,基于所述目标设备的空间位置信息确定所述第一共享空间,例如,所述第一共享空间为以所述目标设备的重心为中心,棱长为预设值的长方体空间。当所述第一设备确定需要共享的所述目标信息后,可以将所述目标信息共享至所述目标设备。Implementation form 3. After the first device acquires the spatial location information of the target device, it determines the first shared space based on the spatial location information of the target device. For example, the first shared space is based on the The center of gravity of the target device is the center, and the edge length is a cuboid space with a preset value. After the first device determines the target information that needs to be shared, the target information may be shared with the target device.
可以理解的是,所述第一设备确定所述第一共享空间对应的空间范围的步骤、所述第一设备确定所述目标信息的步骤、所述第一设备确定所述目标设备是否处于所述第一共享空间的步骤可以同时执行,也可以依次执行,且执行的顺序可以根据实际情况决定,本申请实施例并不作限定。It can be understood that the step of the first device determining the space range corresponding to the first shared space, the step of the first device determining the target information, the first device determining whether the target device is in the The above-mentioned steps of the first shared space may be executed simultaneously or sequentially, and the execution order may be determined according to actual conditions, which is not limited in this embodiment of the present application.
本申请实施例提供的信息共享方法,所述第一设备基于所述目标设备与所述第一共享空间之间的位置关系,在确定所述目标设备处于所述第一共享空间内的情况下,将所述目标信息共享至所述目标设备。所述第一设备与所述目标设备之间无需建立有线或者无线连接,以所述第一共享空间作为媒介,通过控制所述目标设备的空间位置就可实现信息共享,使得设备之间的信息 共享更加灵活,更加便捷。In the information sharing method provided in the embodiment of the present application, the first device determines that the target device is in the first shared space based on the positional relationship between the target device and the first shared space , share the target information to the target device. There is no need to establish a wired or wireless connection between the first device and the target device. Using the first shared space as a medium, information sharing can be realized by controlling the spatial position of the target device, so that information between devices Sharing is more flexible and convenient.
可选地,在所述将目标信息共享至所述目标设备之前,所述方法还包括:Optionally, before the sharing of target information to the target device, the method further includes:
接收用户的第一输入,所述第一输入用于设置所述第一共享空间对应的空间范围;receiving a first input from a user, where the first input is used to set a space range corresponding to the first shared space;
响应于所述第一输入,基于所述第一输入设置的空间范围,创建所述第一共享空间。In response to the first input, the first shared space is created based on the space range set by the first input.
本实施例中,用户可以自定义设置所述第一共享空间对应的空间范围,所述第一设备可以通过接收用户的第一输入,获取用户设置的所述第一共享空间对应的空间范围。这样可以满足用户的个性化需求,用户可以在不同的共享场景下,对应设置不同空间范围的第一共享空间,进一步提升了设备之间信息共享的灵活性和便捷性。In this embodiment, the user can customize the space range corresponding to the first shared space, and the first device can obtain the space range corresponding to the first shared space set by the user by receiving the user's first input. In this way, the personalized needs of the users can be met, and the users can correspondingly set up the first sharing spaces of different spatial ranges in different sharing scenarios, which further improves the flexibility and convenience of information sharing between devices.
具体实现时,所述第一设备可以基于用户的触控输入或者语音输入,显示与信息共享相关的设置界面,所述设置界面可以包括用于设置所述第一共享空间对应的空间范围的控件,所述第一输入可以包括用户通过手指或者手写笔等触控装置在该控件的点击输入、双击输入、长按输入、滑动输入或者键盘输入中的至少一项,具体可根据实际情况决定,本申请实施例在此不作限定。During specific implementation, the first device may display a setting interface related to information sharing based on the user's touch input or voice input, and the setting interface may include controls for setting the space range corresponding to the first shared space The first input may include at least one of click input, double-click input, long-press input, slide input, or keyboard input of the control by the user through a touch device such as a finger or a stylus, which may be determined according to actual conditions, The embodiments of the present application are not limited here.
所述第一输入的输入参数可以包括但不限于所述第一共享空间的形状、中心点、尺寸中的一项或者多项参数,具体可根据实际情况决定,本申请实施例在此不作限定。所述第一设备可以基于所述第一输入的输入参数确定所述第一共享空间对应的空间范围。其中,所述第一共享空间的形状可以为长方体空间、球体空间等;所述第一共享空间的中心点的参数值可以为所述第一共享空间的中心点在所述三维坐标系中的空间位置坐标,也可以为所述第一共享空间的中心点相对于所述第一设备的位置关系;所述第一共享空间的尺寸取决于所述第一共享空间的形状,示例性地,若所述第一共享空间设置为长方体空间,所述第一共享空间的尺寸包括所述第一共享空间的棱长,或者,若所述第一共享空间设置为球体空间,所述第一共享空间的尺寸包括所述第一共享空间的半径或者直径。The input parameters of the first input may include but not limited to one or more parameters among the shape, center point, and size of the first shared space, which may be determined according to the actual situation, and are not limited in this embodiment of the present application. . The first device may determine a space range corresponding to the first shared space based on the first input parameter. Wherein, the shape of the first shared space may be cuboid space, spherical space, etc.; the parameter value of the center point of the first shared space may be the center point of the first shared space in the three-dimensional coordinate system The spatial position coordinates may also be the positional relationship of the center point of the first shared space relative to the first device; the size of the first shared space depends on the shape of the first shared space, for example, If the first shared space is set as a cuboid space, the size of the first shared space includes the edge length of the first shared space, or, if the first shared space is set as a spherical space, the first shared space The size of the space includes the radius or diameter of the first shared space.
可选地,所述在基于所述空间位置信息,确定所述目标设备处于第一共 享空间内的情况下,将目标信息共享至所述目标设备,包括:Optionally, the sharing of target information to the target device under the condition that the target device is determined to be in the first shared space based on the spatial location information includes:
在基于所述空间位置信息,确定所述目标设备处于第一共享空间内,且所述目标设备具有共享权限的情况下,将所述目标信息共享至所述目标设备。If it is determined based on the space position information that the target device is in the first shared space and the target device has a sharing authority, the target information is shared with the target device.
本实施例中,在所述目标设备处于所述第一共享空间内的基础上,需要所述目标设备具有共享权限,所述第一设备才将所述目标信息共享至所述目标设备,以提高信息共享的安全性。In this embodiment, on the basis that the target device is in the first shared space, the first device needs to have the sharing permission before the first device shares the target information with the target device, so as to Improve the security of information sharing.
具体实现时,可选地,所述目标设备具有共享权限满足以下至少一项:During specific implementation, optionally, the target device has a sharing permission that satisfies at least one of the following:
第一项、所述目标设备具有所述第一设备的共享权限,所述第一设备的共享权限是指共享所述第一设备共享的信息的权限。The first item, the target device has the sharing permission of the first device, and the sharing permission of the first device refers to the permission to share the information shared by the first device.
具体实现时,在一种实现形式中,所述第一设备可以预先配置各设备的共享权限,在确定所述目标设备处于所述第一共享空间内时,所述第一设备可以获取所述目标设备的共享权限,以确定所述目标设备是否具有所述第一设备的共享权限,并在所述目标设备具有所述第一设备的共享权限的情况下,将所述目标信息共享至所述目标设备。示例性地,所述第一设备可以配置共享设备列表,所述共享设备列表可以包括当前处于所述第一共享空间内的设备,也可以包括曾经处于所述第一共享空间内的设备,还可以包括用户自行添加的设备;用户可以执行输入,以批量配置所述共享设备列表中各设备的共享权限,例如,设备1具有所述第一设备的共享权限,设备2具有所述第一设备的共享权限,设备3不具有所述第一设备的共享权限。During specific implementation, in one implementation form, the first device may pre-configure the sharing rights of each device, and when it is determined that the target device is in the first shared space, the first device may acquire the the sharing permission of the target device, to determine whether the target device has the sharing permission of the first device, and if the target device has the sharing permission of the first device, share the target information to all target device. Exemplarily, the first device may configure a shared device list, and the shared device list may include devices that are currently in the first shared space, and may also include devices that were once in the first shared space. It can include devices added by the user; the user can perform input to configure the sharing permissions of each device in the shared device list in batches, for example, device 1 has the sharing permission of the first device, and device 2 has the sharing permission of the first device sharing permission of the first device, and device 3 does not have the sharing permission of the first device.
在另一种实现形式中,所述第一设备可以在确定所述目标设备处于所述第一共享空间内的情况下,配置所述目标设备的共享权限。示例性地,所述第一设备在确定所述目标设备处于所述第一共享空间的情况下,可以显示共享权限的设置界面,所述第一设备可以接收用户的输入,以确定所述目标设备的共享权限。In another implementation form, the first device may configure the sharing permission of the target device when it is determined that the target device is in the first shared space. Exemplarily, when the first device determines that the target device is in the first shared space, it may display a sharing authority setting interface, and the first device may receive user input to determine the target device. Device sharing permissions.
第二项、所述目标设备具有所述目标信息的共享权限,所述目标信息的共享权限是指所述目标设备具有共享所述目标信息的权限。The second item, the target device has the permission to share the target information, and the target information sharing permission means that the target device has the permission to share the target information.
具体实现时,在一种实现形式中,所述第一设备可以预先配置各信息类型的共享权限,在确定所述目标设备处于所述第一共享空间内时,所述第一设备可以获取所述目标设备的共享权限,以确定所述目标设备是否具有共享 所述目标信息的权限,并在所述目标设备具有共享所述目标信息的权限的情况下,将所述目标信息共享至所述目标设备。在一种具体的实现形式中,所述目标信息的共享权限是指所述目标信息的来源应用程序的共享权限,例如,照片的共享权限是指相册应用程序的共享权限。示例性地,所述第一设备可以配置共享应用程序列表,所述共享应用程序列表可以包括所述第一设备上所有应用程序;用户可以执行输入,以批量配置所述共享应用程序列表中各应用程序的共享权限,可选地,包括所述应用程序的信息可以分享至哪些设备;或者可以包括所述应用程序中的哪些信息可以分享至哪些设备,例如,相册应用程序中涉及隐私的照片,可以设置家庭成员的设备具有共享权限,而非家庭成员的设备不具有共享权限。During specific implementation, in an implementation form, the first device may pre-configure sharing permissions for each type of information, and when it is determined that the target device is in the first shared space, the first device may obtain the sharing permission of the target device to determine whether the target device has the permission to share the target information, and if the target device has the permission to share the target information, share the target information to the target device. In a specific implementation form, the sharing permission of the target information refers to the sharing permission of the source application of the target information, for example, the sharing permission of the photo refers to the sharing permission of the photo album application. Exemplarily, the first device may configure a shared application list, and the shared application list may include all applications on the first device; The sharing permission of the application program, optionally including which devices the information of the application program can be shared with; or which information in the application program can be shared with which devices, for example, photos involving privacy in the photo album application program , you can set the sharing permissions for devices of family members, but not for devices of non-family members.
在另一种实现形式中,所述第一设备可以在确定所述目标设备处于所述第一共享空间内的情况下,配置所述目标信息的共享权限。在一种具体的实现形式中,所述第一设备在确定所述目标设备处于所述第一共享空间内的情况下,可以显示当前可共享的信息列表,所述第一设备可以接收用户的选择输入,确定所述信息列表中的哪些信息可以共享至所述目标设备。In another implementation form, the first device may configure the sharing permission of the target information when it is determined that the target device is in the first shared space. In a specific implementation form, when it is determined that the target device is in the first shared space, the first device may display a list of currently shareable information, and the first device may receive the user's Select Input to determine which information in the information list can be shared with the target device.
第三项、所述目标设备提供的访问密码与所述第一设备设置的访问密码相匹配。The third item, the access password provided by the target device matches the access password set by the first device.
具体实现时,在一种实现形式中,所述第一设备可以预先配置第一访问密码。当确定所述目标设备处于所述第一共享空间内时,所述第一设备可以接收所述目标设备发送的第二访问密码,以确定所述第二访问密码与所述第一访问密码是否匹配。在另一种实现形式中,当所述第一设备确定所述目标设备处于所述第一共享空间的情况下,可以显示设置第一访问密码的界面,所述第一设备可以接收用户输入,以确定所述第一访问密码。在又一种实现形式中,当所述第一设备确定所述目标设备处于所述第一共享空间的情况下,可以随机生成第一访问密码。During specific implementation, in an implementation form, the first device may be pre-configured with a first access password. When it is determined that the target device is in the first shared space, the first device may receive a second access password sent by the target device to determine whether the second access password is the same as the first access password match. In another implementation form, when the first device determines that the target device is in the first shared space, an interface for setting a first access password may be displayed, and the first device may receive user input, to determine the first access password. In yet another implementation form, when the first device determines that the target device is in the first shared space, the first access password may be randomly generated.
可选地,所述第一设备在确定所述第一共享空间时,还可以创建所述第一共享空间对应的虚拟屏幕,在此表示为所述第一共享屏幕。所述第一共享屏幕可以用于显示所述目标信息,可以进一步提高设备之间的信息共享的灵活性,且使得信息共享的交互性更强。Optionally, when the first device determines the first shared space, it may also create a virtual screen corresponding to the first shared space, denoted as the first shared screen here. The first shared screen can be used to display the target information, which can further improve the flexibility of information sharing between devices and make information sharing more interactive.
具体实现时,所述第一共享屏幕可以是所述第一设备基于虚拟现实(Virtual Reality,VR)技术投射的虚拟屏幕,所述虚拟屏幕在用户佩戴VR设备的情况下可见。所述第一共享屏幕可以是二维屏幕,也可以是三维屏幕;所述第一共享屏幕可以投射于所述第一共享空间内的任一位置上,也可以投射于所述第一共享空间外的任一位置上。所述第一设备在确定所述第一共享空间对应的空间范围时,还可以确定所述第一共享屏幕投射的位置,所述第一共享屏幕投射的位置可以基于默认设置或者用户的自定义设置确定。示例性地,如图3所示,第一共享屏幕B投射于第一共享空间A内的一个平面上。During specific implementation, the first shared screen may be a virtual screen projected by the first device based on a virtual reality (Virtual Reality, VR) technology, and the virtual screen is visible when the user wears a VR device. The first shared screen may be a two-dimensional screen or a three-dimensional screen; the first shared screen may be projected on any position in the first shared space, or projected on the first shared space any position outside. When the first device determines the space range corresponding to the first shared space, it may also determine the projected position of the first shared screen, and the projected position of the first shared screen may be based on default settings or user-defined The setting is OK. Exemplarily, as shown in FIG. 3 , the first shared screen B is projected on a plane in the first shared space A. As shown in FIG.
本实施例中,基于所述目标信息类型的不同,所述第一共享屏幕展示所述目标信息的实现形式存在区别。可选地,包括以下三种实现形式:In this embodiment, based on the different types of the target information, there are differences in the implementation forms of displaying the target information on the first shared screen. Optionally, the following three implementation forms are included:
实现形式一、所述目标信息为文档文件或者照片。对于此类型的目标信息,所述第一共享屏幕可以显示所述目标信息的文件标识,例如文档文件的图标或者照片的缩略图;所述第一共享屏幕也可以显示所述目标信息的内容,例如文档文件的具体文字内容或者照片的原始图像。当所述第一设备将所述目标信息共享至所述目标设备后,所述目标设备可以在接收所述目标信息后将其存储于本地,而不显示所述目标信息的内容;所述目标设备也可以在接收所述目标信息后显示所述目标信息的内容。Implementation form 1. The target information is a document file or a photo. For this type of target information, the first shared screen may display the file identification of the target information, such as an icon of a document file or a thumbnail of a photo; the first shared screen may also display the content of the target information, For example, the specific text content of a document file or the original image of a photo. After the first device shares the target information with the target device, the target device may store the target information locally without displaying the content of the target information; the target The device may also display the content of the target information after receiving the target information.
实现形式二、所述目标信息为视频或者音频。对于此类型的目标信息,所述第一共享屏幕可以显示所述目标信息的文件标识,例如视频文件或者音频文件的图标;所述第一共享屏幕也可以播放所述目标信息的内容。当所述第一设备将所述目标信息共享至所述目标设备后,所述目标设备可以在接收所述目标信息后将其存储于本地,而不播放所述目标信息的内容;所述目标设备也可以在接收所述目标信息后播放所述目标信息的内容。Implementation form 2. The target information is video or audio. For this type of target information, the first shared screen may display a file identifier of the target information, such as an icon of a video file or an audio file; the first shared screen may also play the content of the target information. After the first device shares the target information with the target device, the target device may store the target information locally after receiving the target information without playing the content of the target information; the target The device may also play the content of the target information after receiving the target information.
实现形式三、所述目标信息为应用程序的程序界面。对于此类型的目标信息,所述第一共享屏幕可以显示所述程序界面。当所述第一设备将所述目标信息共享至所述目标设备后,所述目标设备接收所述程序界面的共享信息,例如投屏信息,并基于所述共享信息显示所述程序界面。Implementation form 3. The target information is a program interface of an application program. For this type of target information, the first shared screen may display the program interface. After the first device shares the target information to the target device, the target device receives the shared information of the program interface, such as screen projection information, and displays the program interface based on the shared information.
本实施例中,在一种可选地实施方式中,在所述将目标信息共享至所述目标设备之前,所述方法还包括:接收用户的第一输入,所述第一输入用于 设置所述第一共享空间对应的空间范围,还用于设置所述第一共享屏幕;响应于所述第一输入,基于所述第一输入设置的空间范围和所述第一共享屏幕,创建所述第一共享空间并投射所述第一共享屏幕。In this embodiment, in an optional implementation manner, before sharing the target information to the target device, the method further includes: receiving a first input from the user, the first input is used to set The space range corresponding to the first shared space is also used to set the first shared screen; in response to the first input, based on the space range set by the first input and the first shared screen, create the The first shared space and project the first shared screen.
本实施方式中,用户可以通过所述第一输入自定义设置所述第一共享屏幕,以满足用户的个性化需求,用户可以在不同的共享场景下,对应设置不同的共享屏幕,进一步提升了设备之间信息共享的灵活性和便捷性。In this embodiment, the user can customize the first shared screen through the first input to meet the individual needs of the user. The user can set different shared screens correspondingly in different sharing scenarios, which further improves the Flexibility and ease of information sharing between devices.
具体实现时,所述第一设备可以基于用户的触控输入或者语音输入,显示与信息共享相关的设置界面,所述设置界面可以包括用于设置所述第一共享屏幕的控件,所述第一输入可以包括用户通过手指或者手写笔等触控装置在该控件的点击输入、双击输入、长按输入、滑动输入或者键盘输入中的至少一项,具体可根据实际情况决定,本申请实施例在此不作限定。During specific implementation, the first device may display a setting interface related to information sharing based on the user's touch input or voice input, and the setting interface may include controls for setting the first shared screen, and the second An input may include at least one of click input, double-click input, long-press input, slide input, or keyboard input of the control by the user through a touch device such as a finger or a stylus, which may be determined according to the actual situation. It is not limited here.
所述第一输入的输入参数可以包括所述第一共享屏幕的形状、中心点、尺寸中的一项或者多项参数,还包括所述第一共享屏幕的投射位置。其中,所述第一共享屏幕的形状可以为矩形、圆形等;所述第一共享屏幕的中心点的参数值可以为所述第一共享屏幕的中心点在所述三维坐标系中的空间位置坐标,也可以为所述第一共享屏幕的中心点相对于所述第一设备的位置关系;所述第一共享屏幕的尺寸取决于所述第一共享屏幕的形状,示例性地,若所述第一共享屏幕设置为长方形,所述第一共享屏幕的尺寸包括所述第一共享屏幕的边长或者对角线长度,或者,若所述第一共享屏幕设置为圆形,所述第一共享屏幕的尺寸包括所述第一共享空间的半径或者直径。The input parameters of the first input may include one or more parameters of the shape, center point, and size of the first shared screen, and also include a projection position of the first shared screen. Wherein, the shape of the first shared screen may be a rectangle, a circle, etc.; the parameter value of the center point of the first shared screen may be the space of the center point of the first shared screen in the three-dimensional coordinate system The position coordinates may also be the positional relationship of the center point of the first shared screen relative to the first device; the size of the first shared screen depends on the shape of the first shared screen. For example, if The first shared screen is set as a rectangle, and the size of the first shared screen includes a side length or a diagonal length of the first shared screen, or, if the first shared screen is set as a circle, the The size of the first shared screen includes a radius or diameter of the first shared space.
在另一种可选地实施方式中,所述第一设备可以基于所述目标信息的类型或者所述目标信息的来源应用程序确定所述目标信息的应用场景,进而基于所述应用场景,确定所述第一共享屏幕的参数值。示例性地,若所述目标信息为Word文档,所述第一共享屏幕的长宽比可以满足A4标准;又示例性地,若所述目标信息为视频应用程序中某一视频的播放界面,所述第一共享屏幕的长宽比可以为16:9。具体实现时,进一步地,所述第一设备可以在确定所述第一共享屏幕的参数值后,显示所述参数值,以作为推荐参数值供用户确定或者选择。In another optional implementation manner, the first device may determine the application scenario of the target information based on the type of the target information or the source application of the target information, and then based on the application scenario, determine The parameter value of the first shared screen. Exemplarily, if the target information is a Word document, the aspect ratio of the first shared screen can meet the A4 standard; also exemplary, if the target information is a video playback interface in a video application, The aspect ratio of the first shared screen may be 16:9. During specific implementation, further, after determining the parameter value of the first shared screen, the first device may display the parameter value as a recommended parameter value for the user to determine or select.
可选地,所述在基于所述空间位置信息,确定所述目标设备处于第一共 享空间内的情况下,将目标信息共享至所述目标设备,包括:Optionally, the sharing of target information to the target device under the condition that the target device is determined to be in the first shared space based on the spatial location information includes:
在所述目标设备处于所述第一共享空间内的情况下,获取第一虚拟控件在第一共享屏幕上的第一运动轨迹;所述第一共享屏幕为所述第一共享空间对应的虚拟屏幕,所述第一虚拟控件用于标识所述目标设备的位置,所述第一运动轨迹是基于所述目标设备的运动轨迹确定的;In the case that the target device is in the first shared space, obtain the first motion trajectory of the first virtual control on the first shared screen; the first shared screen is the virtual control corresponding to the first shared space On a screen, the first virtual control is used to identify the position of the target device, and the first movement trajectory is determined based on the movement trajectory of the target device;
在基于所述第一运动轨迹,确定所述第一虚拟控件处于所述第一共享屏幕的目标区域内的情况下,将所述目标信息共享至所述目标设备。If it is determined based on the first motion trajectory that the first virtual control is within the target area of the first shared screen, the target information is shared with the target device.
本实施例中,所述第一共享空间对应投射有所述第一共享屏幕,所述第一共享屏幕上显示的界面在此表示为所述第一共享屏幕的显示界面。所述第一共享屏幕的显示界面包括所述目标区域,用户控制所述目标设备运动,以使所述第一虚拟控件在所述第一共享屏幕的显示界面上移动。当所述第一虚拟空间处于所述目标区域内的情况下,所述第一设备确定所述目标设备加入当前信息共享场景,可以向所述目标设备共享所述目标信息。通过这种交互式的操作,可以为用户提供沉浸式的信息共享体验,提高信息共享的趣味性和安全性。示例性地,在多人游戏场景中,各玩家设备可以通过本实施例提供的方法执行加入游戏的操作。In this embodiment, the first shared screen is projected correspondingly to the first shared space, and the interface displayed on the first shared screen is represented here as a display interface of the first shared screen. The display interface of the first shared screen includes the target area, and the user controls the movement of the target device so that the first virtual control moves on the display interface of the first shared screen. When the first virtual space is in the target area, the first device determines that the target device joins the current information sharing scene, and can share the target information with the target device. Through this interactive operation, an immersive information sharing experience can be provided for users, and the fun and safety of information sharing can be improved. Exemplarily, in a multiplayer game scenario, each player device may perform an operation of joining a game through the method provided in this embodiment.
具体实现时,所述第一共享屏幕的显示界面可以为当前需要共享信息的应用程序的程序界面,也可以为专用于信息共享的显示界面。所述目标区域可以为任意形状,所述第一虚拟控件可以为光标、缩略图等,具体可根据实际情况决定,本申请实施例在此不作限定。示例性地,如图4所示,第一共享屏幕B的显示界面包括目标区域20,同时显示有第一虚拟控件30,所述目标设备的用户控制所述目标设备移动,第一虚拟控件30可以在第一共享屏幕B的显示界面中移动。During specific implementation, the display interface of the first sharing screen may be a program interface of an application program that currently needs to share information, or may be a display interface dedicated to information sharing. The target area may be in any shape, and the first virtual control may be a cursor, a thumbnail, etc., which may be determined according to actual conditions, and are not limited in this embodiment of the present application. Exemplarily, as shown in FIG. 4, the display interface of the first shared screen B includes a target area 20, and a first virtual control 30 is displayed at the same time. The user of the target device controls the movement of the target device. The first virtual control 30 Can move in the display interface of the first shared screen B.
用户可以通过佩戴AR设备或者其他形式看到所述第一共享屏幕的显示界面,并通过控制所述目标设备运动,以使所述第一虚拟控件处于所述目标区域。在用户没有佩戴AR设备或者其他无法肉眼看到所述第一共享屏幕的显示界面的情况下,所述目标设备可以基于指引信息,控制所述目标设备运动,以使所述第一虚拟控件处于所述目标区域内。可选地,所述指引信息包括以下三种实现形式:The user can see the display interface of the first shared screen by wearing an AR device or in other forms, and control the movement of the target device so that the first virtual control is in the target area. In the case that the user is not wearing an AR device or cannot see the display interface of the first shared screen with naked eyes, the target device may control the movement of the target device based on the guidance information so that the first virtual control is in the within the target area. Optionally, the guidance information includes the following three implementation forms:
实现形式一、所述第一设备显示所述指引信息。Implementation form 1. The first device displays the guidance information.
本实现形式中,所述第一设备在确定所述目标设备处于所述第一共享空间内的情况下,可以显示所述指引信息。在一种具体的实现形式中,所述第一设备在确定所述目标设备处于所述第一共享空间内的情况下,所述第一设备显示第一指引界面,所述第一指引界面用于显示所述指引信息。示例性地,所述第一指引界面包括用于标识所述目标设备位置的第二控件,在所述目标设备运动时,所述第一虚拟控件可以跟随所述目标设备在所述第一共享屏幕的显示界面中移动,以及所述第二控件可以跟随所述目标设备在所述第一指引界面中移动;所述目标设备的用户可以基于所述第一指引界面,控制所述目标设备运动,在使所述第二控件处于所述第一指引界面的特定区域内时,可以使所述第一虚拟控件处于所述第一共享屏幕的目标区域内。例如,如图5所示,所述第一设备的显示界面为第一指引界面C,第一指引界面C包括特定区域40,同时显示有第二控件50,所述目标设备的用户控制所述目标设备移动,第二控件50可以在第一指引界面C中移动。In this implementation form, the first device may display the guide information when it is determined that the target device is in the first shared space. In a specific implementation form, when the first device determines that the target device is in the first shared space, the first device displays a first guide interface, and the first guide interface uses to display the guidance information. Exemplarily, the first guide interface includes a second control for identifying the position of the target device, and when the target device moves, the first virtual control can follow the target device in the first shared screen display interface, and the second control can follow the target device to move in the first guide interface; the user of the target device can control the movement of the target device based on the first guide interface, and When the second control is located in a specific area of the first guidance interface, the first virtual control may be located in a target area of the first shared screen. For example, as shown in FIG. 5 , the display interface of the first device is a first guide interface C, the first guide interface C includes a specific area 40, and displays a second control 50 at the same time, and the user of the target device controls the The target device moves, and the second control 50 can move in the first guidance interface C.
实现形式二、所述第一设备通过语音输出所述指引信息。Implementation form 2: The first device outputs the guidance information by voice.
具体实现时,所述第一设备可以通过语音输出信息,来指引所述目标设备的用户控制所述目标设备运动,以使所述第一虚拟控件处于所述目标区域内。During specific implementation, the first device may output information by voice to guide the user of the target device to control the movement of the target device, so that the first virtual control is within the target area.
实现形式三、所述目标设备显示所述指引信息。Implementation form 3: The target device displays the guidance information.
本实现形式中,所述目标设备可以显示所述指引信息。在一种实现形式中,所述第一设备在确定所述目标设备处于所述第一共享空间内的情况下,可以向所述目标设备发送所述指引信息;在另一种实现形式中,所述目标设备在确定其处于所述第一共享空间内的情况下,可以显示所述指引信息。在一种具体的实现形式中,所述目标设备显示第二指引界面,所述第二指引界面用于显示所述指引信息。示例性地,所述第二指引界面包括用于标识所述目标设备位置的第三控件,在所述目标设备运动的情况下,所述第一虚拟控件可以跟随所述目标设备在所述第一共享屏幕的显示界面中移动,以及所述第三控件可以跟随所述目标设备在所述第二指引界面中移动。所述目标设备的用户可以根据所述第二指引界面,控制所述目标设备运动,在使所述第三 控件处于所述第二指引界面的特定区域内时,可使所述第一虚拟控件处于所述第一共享屏幕的目标区域内。In this implementation form, the target device may display the guidance information. In one implementation form, when the first device determines that the target device is in the first shared space, it may send the guidance information to the target device; in another implementation form, The target device may display the guide information when it is determined that it is in the first shared space. In a specific implementation form, the target device displays a second guidance interface, and the second guidance interface is used to display the guidance information. Exemplarily, the second guide interface includes a third control for identifying the position of the target device, and when the target device moves, the first virtual control can follow the target device at the third control. a shared screen display interface, and the third control can follow the target device to move in the second guidance interface. The user of the target device can control the movement of the target device according to the second guidance interface, and when the third control is in a specific area of the second guidance interface, the first virtual control can be within the target area of the first shared screen.
本实施例中,在一种可选地实施方式中,所述将所述目标信息共享至所述目标设备之后,所述方法还包括:In this embodiment, in an optional implementation manner, after the target information is shared with the target device, the method further includes:
在所述第一虚拟控件处于所述第一共享屏幕的目标区域外的情况下,停止将所述目标信息共享至所述目标设备。If the first virtual control is outside the target area of the first shared screen, stop sharing the target information to the target device.
本实施方式中,当所述目标设备退出信息共享场景,或者其他原因而使所述第一虚拟控件偏离所述目标区域,即所述第一虚拟控件处于所述目标区域外时,所述第一设备可以停止向所述目标设备共享所述目标信息,以减少不必要的数据处理,同时消除对信息共享场景中其他设备的影响。In this embodiment, when the target device exits the information sharing scene, or the first virtual control deviates from the target area due to other reasons, that is, the first virtual control is outside the target area, the second A device may stop sharing the target information with the target device, so as to reduce unnecessary data processing and eliminate the impact on other devices in the information sharing scene.
在一种实现形式中,所述第一设备在确定所述第一虚拟控件处于所述目标区域外的情况下,可以通过提示信息对所述目标设备进行提醒,以提醒所述目标设备的用户控制所述目标设备恢复至先前位置,例如显示输出的提示信息或者语音输出的提示信息。若在预设时间内所述第一虚拟控件未恢复至处于所述目标区域内,所述第一设备可以停止向所述目标设备共享所述目标信息。In an implementation form, when the first device determines that the first virtual control is outside the target area, it may remind the target device through prompt information, so as to remind the user of the target device Controlling the target device to return to the previous position, for example, displaying and outputting prompt information or voice output prompt information. If the first virtual control is not recovered within the target area within a preset time, the first device may stop sharing the target information with the target device.
在一种实现形式中,在所述第一虚拟控件的偏离距离处于预设阈值范围内的情况下,所述第一设备可以对应调整所述第一共享屏幕的投射位置,以使所述第一虚拟控件恢复至处于所述目标区域内;在所述第一虚拟控件的偏离距离超出预设阈值范围的情况下,所述第一设备可以停止向所述目标设备共享所述目标信息。具体实现时,所述第一虚拟控件的偏离距离可以为所述第一虚拟控件与所述目标区域的边缘的最短直线距离。In an implementation form, when the deviation distance of the first virtual control is within a preset threshold range, the first device may correspondingly adjust the projection position of the first shared screen so that the first A virtual control returns to be within the target area; in the case that the deviation distance of the first virtual control exceeds a preset threshold range, the first device may stop sharing the target information with the target device. During specific implementation, the deviation distance of the first virtual control may be the shortest linear distance between the first virtual control and the edge of the target area.
本实施例中,在一种可选地实施方式中,所述第一共享屏幕上显示的界面为第一应用程序的程序界面,所述第一应用程序的程序界面包括所述目标区域,所述目标区域包括第一区域和第二区域;所述获取第一虚拟控件在第一共享屏幕上的第一运动轨迹之后,所述方法还包括:In this embodiment, in an optional implementation manner, the interface displayed on the first shared screen is a program interface of a first application program, and the program interface of the first application program includes the target area, so The target area includes a first area and a second area; after acquiring the first motion track of the first virtual control on the first shared screen, the method further includes:
在基于所述第一运动轨迹,确定所述第一虚拟控件处于所述第一区域内的情况下,获取所述第一区域对应的第一目标参数的第一参数值;If it is determined that the first virtual control is in the first area based on the first motion trajectory, acquiring a first parameter value of a first target parameter corresponding to the first area;
将所述第一参数值与所述目标设备进行关联;associating the first parameter value with the target device;
在基于所述第一运动轨迹,确定所述第一虚拟控件处于所述第二区域内的情况下,获取所述第二区域对应的所述第一目标参数的第二参数值;Acquiring a second parameter value of the first target parameter corresponding to the second area when it is determined that the first virtual control is in the second area based on the first motion trajectory;
将所述第二参数值与所述目标设备进行关联;associating the second parameter value with the target device;
其中,所述第一目标参数用于指示所述目标设备在所述第一应用程序中的设备属性,所述第一参数值和所述第二参数值取值不同。Wherein, the first target parameter is used to indicate the device attribute of the target device in the first application program, and the value of the first parameter is different from the value of the second parameter.
本实施方式中,所述第一共享屏幕上显示的界面为第一应用程序的程序界面,且所述目标区域包括第一区域和第二区域,不同的区域对应不同的设备属性,所述设备属性可以用于标识设备在所述第一应用程序中的身份。所述目标设备的用户可以控制所述目标设备运动,以使所述第一虚拟控件处于所述第一区域或者第二区域,以选择所述目标设备在所述第一应用程序中的设备属性,利用所述第一共享屏幕的显示信息,可以实现在信息共享场景中的相关程序功能,进一步提高信息共享的交互性。In this embodiment, the interface displayed on the first shared screen is the program interface of the first application program, and the target area includes the first area and the second area, and different areas correspond to different device attributes, and the device An attribute may be used to identify the identity of the device within said first application. The user of the target device can control the movement of the target device so that the first virtual control is in the first area or the second area, so as to select the device attribute of the target device in the first application program , by using the display information of the first sharing screen, related program functions in the information sharing scene can be realized, and the interactivity of information sharing can be further improved.
具体实现时,所述第一设备可以预先确定所述第一应用程序中的设备属性与区域之间的对应关系。示例性地,在在线教育应用程序中,所述第一区域对应教师设备,所述第二区域对应学生设备;又示例性地,在游戏应用程序中,所述第一区域和所述第二区域对应不同的玩家设备,例如,如图4所示,目标区域20包括第一区域21和第二区域22,第一区域21对应玩家1设备、第二区域22对应玩家2设备。需要说明的是,所述目标区域还可以包括所述第一区域和所述第二区域之外的其他区域,所述区域的数量不限,可以根据所述第一应用程序中的设备属性确定,在此仅以所述目标区域包括所述第一区域和所述第二区域为例进行说明。所述对应关系可以包括一对一的对应关系,即一种设备属性对应一个区域,例如,所述第一区域对应玩家1设备,所述第二区域对应玩家2设备,第三区域对应玩家3设备;所述对应关系还可以包括一对多的对应关系,即一种设备属性对应多个区域,例如,所述第一区域对应教师设备,所述第二区域和所述第三区域对应学生设备。During specific implementation, the first device may predetermine the correspondence between device attributes and regions in the first application program. Exemplarily, in an online education application program, the first area corresponds to a teacher device, and the second area corresponds to a student device; also exemplary, in a game application program, the first area and the second area The areas correspond to different player devices. For example, as shown in FIG. 4 , the target area 20 includes a first area 21 and a second area 22 , the first area 21 corresponds to the player 1 device, and the second area 22 corresponds to the player 2 device. It should be noted that the target area may also include other areas other than the first area and the second area, the number of the areas is not limited, and may be determined according to the device attributes in the first application program , it is only described here that the target area includes the first area and the second area as an example. The correspondence may include a one-to-one correspondence, that is, a device attribute corresponds to an area, for example, the first area corresponds to player 1 equipment, the second area corresponds to player 2 equipment, and the third area corresponds to player 3 equipment; the correspondence may also include a one-to-many correspondence, that is, one equipment attribute corresponds to multiple areas, for example, the first area corresponds to teacher equipment, and the second area and the third area correspond to students equipment.
在一种实现形式中,在所述第一虚拟控件从所述第一区域移动至所述第二区域的情况下,将所述目标设备对应的所述第一目标参数的参数值由所述第一参数值修改为所述第二参数值。这样,所述目标设备的用户可以通过控制所述目标设备运动来更换在所述第一应用程序中的设备属性,提高了信息 共享交互过程中的灵活性和便捷性。In an implementation form, when the first virtual control moves from the first area to the second area, the parameter value of the first target parameter corresponding to the target device is changed by the The first parameter value is modified to the second parameter value. In this way, the user of the target device can change the device attribute in the first application program by controlling the movement of the target device, which improves the flexibility and convenience in the process of information sharing and interaction.
可选地,第一共享屏幕上显示的界面包括第二应用程序的程序界面,所述第一共享屏幕为所述第一共享空间对应的虚拟屏幕;所述获取目标设备的空间位置信息之后,所述方法还包括:Optionally, the interface displayed on the first shared screen includes a program interface of a second application program, and the first shared screen is a virtual screen corresponding to the first shared space; after acquiring the spatial location information of the target device, The method also includes:
在基于所述空间位置信息,确定所述目标设备处于第一共享空间内的情况下,确定所述目标设备进入所述第一共享空间的顺序;In a case where it is determined that the target device is in the first shared space based on the space position information, determine an order in which the target device enters the first shared space;
基于所述顺序与第二目标参数的参数值之间的对应关系,确定所述目标设备对应的所述第二目标参数的参数值;determining a parameter value of the second target parameter corresponding to the target device based on a correspondence relationship between the order and a parameter value of a second target parameter;
其中,所述第二目标参数用于指示所述目标设备在所述第二应用程序中的设备属性。Wherein, the second target parameter is used to indicate the device attribute of the target device in the second application program.
本实施例中,所述第一共享屏幕上显示的界面包括第二应用程序的程序界面,所述第一设备在确定所述目标设备处于所述第一共享空间内的情况下,可以确定所述目标设备进入所述第一共享空间的顺序,不同的顺序对应不同的设备属性,所述设备属性可以用于标识设备在所述第二应用程序中的身份。利用所述第一共享空间,可以实现在信息共享场景中的相关程序功能,进一步提高信息共享的交互性。In this embodiment, the interface displayed on the first shared screen includes the program interface of the second application program, and the first device may determine the The order in which the target device enters the first shared space, different orders correspond to different device attributes, and the device attributes can be used to identify the identity of the device in the second application program. By using the first shared space, related program functions in the information sharing scene can be realized, and the interactivity of information sharing can be further improved.
具体实现时,所述第一应用程序与所述第二应用程序可以相同或者不同,所述第一设备可以根据所述目标设备进入所述第一共享空间时,所述第一共享空间中已经存在的设备数量确定所述目标设备的顺序,例如,在所述目标设备进入所述第一共享空间时,所述第一共享空间中已经存在2台设备,则所述目标设备的顺序为3。所述第一设备可以预先确定所述第二应用程序中的设备属性与顺序之间的对应关系,所述对应关系可以包括一对一的对应关系,即一种设备属性对应一个顺序,例如,顺序1对应玩家1设备,顺序2对应玩家2设备,顺序3对应玩家3设备;所述对应关系还可以包括一对多的对应关系,即一种设备属性对应多个顺序,例如,顺序1对应教师设备,顺序2和顺序3对应学生设备。During specific implementation, the first application program and the second application program may be the same or different, and the first device may be based on when the target device enters the first shared space, the first shared space has The number of existing devices determines the sequence of the target devices. For example, when the target device enters the first shared space, there are already 2 devices in the first shared space, and the sequence of the target devices is 3 . The first device may predetermine a correspondence between device attributes and sequences in the second application program, and the correspondence may include a one-to-one correspondence, that is, one device attribute corresponds to one sequence, for example, Sequence 1 corresponds to Player 1's device, Sequence 2 corresponds to Player 2's device, and Sequence 3 corresponds to Player 3's device; the correspondence may also include a one-to-many correspondence, that is, one device attribute corresponds to multiple sequences, for example, Sequence 1 corresponds to For teacher devices, sequence 2 and sequence 3 correspond to student devices.
在一种实现形式中,所述第二应用程序的程序界面包括N个区域,所述第二应用程序中的设备属性、顺序和区域三者之间存在对应关系,所述第一设备可以根据所述目标设备进入所述第一共享空间的顺序,确定所述目标设 备在所述第二应用程序中的设备属性,以及确定所述目标设备对应的区域。在所述第一虚拟控件处于所述目标设备对应的区域内的情况下,才将所述目标信息共享至所述目标设备。In one implementation form, the program interface of the second application program includes N areas, and there is a corresponding relationship among the device attributes, order, and areas in the second application program, and the first device can be configured according to The order in which the target device enters the first shared space determines the device attribute of the target device in the second application program, and determines the area corresponding to the target device. The target information is shared with the target device only when the first virtual control is in an area corresponding to the target device.
具体实现时,所述对应关系可以包括一对一的对应关系,即一种设备属性对应一个顺序和一个区域,例如,如图4所示,顺序1对应区域21和玩家1设备,顺序2对应区域22和玩家2设备;所述对应关系还可以包括一对多的对应关系,即一种设备属性对应多个顺序或者多个区域,所述顺序和所述区域之间可以是一对一的关系,也可以是一对多的关系,具体可根据实际情况决定,本申请实施例在此不作限定。在一种具体的实现形式中,所述第一设备在确定所述目标设备对应的区域后,可以在所述第二应用程序的程序界面上突出显示该区域,例如闪烁显示该区域的边框,或者使用与其他区域不同的颜色显示该区域的边框,以提示所述目标设备的用户控制所述目标设备运动使所述第一虚拟控件移动至该区域内。During specific implementation, the correspondence may include a one-to-one correspondence, that is, a device attribute corresponds to an order and an area. For example, as shown in FIG. 4, order 1 corresponds to area 21 and player 1 equipment, and order 2 corresponds to Area 22 and player 2 equipment; the correspondence may also include a one-to-many correspondence, that is, a device attribute corresponds to multiple sequences or multiple areas, and the sequence and the area may be one-to-one The relationship may also be a one-to-many relationship, which may be determined according to actual conditions, and is not limited in this embodiment of the present application. In a specific implementation form, after the first device determines the area corresponding to the target device, it may highlight this area on the program interface of the second application program, for example, display a border of the area in a blinking manner, Alternatively, the frame of this area is displayed in a color different from that of other areas, so as to prompt the user of the target device to control the movement of the target device to move the first virtual control into this area.
本申请实施例中,所述共享空间的数量可以为多个,在此以包括第一共享空间和第二共享空间为例进行说明,并不作具体限定。In the embodiment of the present application, the number of the shared spaces may be multiple, and here, the first shared space and the second shared space are taken as an example for description, and are not specifically limited.
可选地,所述第一共享空间用于共享第一应用程序的程序界面,所述第二共享空间用于共享第二应用程序的程序界面;或者,所述第一共享空间用于向第一目标设备共享所述目标信息,所述第二共享空间用于向第二目标设备共享所述目标信息;或者,所述第一共享空间用于共享第一信息,所述第二共享空间用于共享第二信息,所述第二信息的类型与所述第一信息的类型不同。Optionally, the first shared space is used to share the program interface of the first application program, and the second shared space is used to share the program interface of the second application program; or, the first shared space is used to share the program interface of the second application program. A target device shares the target information, and the second shared space is used to share the target information with a second target device; or, the first shared space is used to share the first information, and the second shared space is used to For sharing the second information, the type of the second information is different from the type of the first information.
本实施例中,包括三种实施方式:In this embodiment, three implementation modes are included:
实施方式一、所述第一共享空间用于共享第一应用程序的程序界面,第二共享空间用于共享第二应用程序的程序界面,所述第一应用程序与所述第二应用程序不同。Embodiment 1. The first shared space is used to share the program interface of the first application program, and the second shared space is used to share the program interface of the second application program, and the first application program is different from the second application program .
本实施方式中,一个共享空间用于共享一个应用程序的程序界面。这样,可以消除不同应用程序的信息在共享过程中的相互影响,所述第一设备也可以根据不同应用程序的应用场景创建相匹配的共享空间。在投射有共享屏幕的情况下,所述第一设备还可以根据不同应用程序的应用场景确定共享屏幕 的参数值,提高了信息共享与应用场景之间的适配性。此外,所述第一设备可以同时共享多个应用程序的程序界面,所述目标设备可以根据需要进入对应的共享空间,进一步提高了信息共享的效率和便捷性。In this embodiment, a shared space is used to share a program interface of an application. In this way, the mutual influence of information of different application programs in the sharing process can be eliminated, and the first device can also create matching sharing spaces according to application scenarios of different application programs. In the case of projecting a shared screen, the first device can also determine the parameter value of the shared screen according to the application scenarios of different applications, which improves the adaptability between information sharing and application scenarios. In addition, the first device can share the program interfaces of multiple application programs at the same time, and the target device can enter the corresponding shared space as required, which further improves the efficiency and convenience of information sharing.
在一种实现形式中,所述将目标信息共享至所述目标设备,包括:In an implementation form, the sharing target information to the target device includes:
将所述第一应用程序的程序界面共享至所述目标设备;sharing the program interface of the first application program to the target device;
所述方法还包括:The method also includes:
在所述目标设备从所述第一共享空间移动至所述第二共享空间的情况下,将所述第二应用程序的程序界面共享至所述目标设备。When the target device moves from the first shared space to the second shared space, the program interface of the second application program is shared to the target device.
本实现形式中,当所述目标设备的空间位置在两个或者多个共享空间之间移动时,所述第一设备也可以对应切换当前共享至所述目标设备的程序界面。所述目标设备可以根据需要移动空间位置,即可改变参与共享的程序界面,进一步提高了信息共享的效率和便捷性。In this implementation form, when the spatial position of the target device moves between two or more shared spaces, the first device may also correspondingly switch the program interface currently shared with the target device. The target device can move the spatial position as required, that is, change the program interface participating in the sharing, which further improves the efficiency and convenience of information sharing.
在一种实现形式中,所述第一共享空间用于共享第一应用程序的程序界面,第二共享空间用于共享第二应用程序的程序界面,所述第一共享空间和所述第二共享空间均包括目标空间;In one implementation form, the first shared space is used to share the program interface of the first application program, the second shared space is used to share the program interface of the second application program, and the first shared space and the second shared space Shared spaces include target spaces;
所述在基于所述空间位置信息,确定所述目标设备处于第一共享空间内的情况下,将目标信息共享至所述目标设备,包括:The sharing of target information to the target device under the condition that the target device is determined to be in the first shared space based on the spatial location information includes:
在所述目标设备处于所述目标空间的情况下,显示第一控件;displaying a first control if the target device is in the target space;
接收用户对所述第一控件的第二输入;receiving a second input from a user on the first control;
响应于所述第二输入,在所述第一共享空间和所述第二共享空间中,确定目标共享空间;determining a target shared space among the first shared space and the second shared space in response to the second input;
将所述目标共享空间共享的程序界面共享至所述目标设备。Sharing the program interface shared by the target shared space to the target device.
本实现形式中,由于空间范围的有限性,所述第一共享空间对应的空间范围和所述第二共享空间对应的空间范围可能存在重合,为方便描述,所述重合的空间范围在此表示为所述目标空间。在所述目标设备处于所述目标空间的情况下,所述第一设备可以显示所述第一控件,以供用户在所述第一应用程序的程序界面和所述第二应用程序的程序界面中,选择当前需要共享的程序界面,可以消除多个程序界面同时共享时的相互影响,提高信息共享的效率。In this implementation form, due to the limitation of the spatial range, the spatial range corresponding to the first shared space may overlap with the spatial range corresponding to the second shared space. For the convenience of description, the overlapping spatial range is represented here for the target space. In the case that the target device is in the target space, the first device may display the first control for the user to select between the program interface of the first application program and the program interface of the second application program In , select the program interface that needs to be shared currently, which can eliminate the mutual influence when multiple program interfaces are shared at the same time, and improve the efficiency of information sharing.
具体实现时,所述第一控件可以为功能框,所述功能框可接收用户的所述第二输入,以确定所述目标共享空间。所述第二输入可以包括用户通过手指或者手写笔等触控装置在所述第一控件的点击输入、双击输入、长按输入、滑动输入或者键盘输入中的至少一项,具体可根据实际情况决定,本申请实施例在此不作限定。During specific implementation, the first control may be a function box, and the function box may receive the second input from the user to determine the target shared space. The second input may include at least one of click input, double-click input, long-press input, slide input, or keyboard input of the first control by the user through a touch device such as a finger or a stylus. It is determined that the embodiments of the present application are not limited here.
在一种实现形式中,所述响应于所述第二输入,在所述第一共享空间和所述第二共享空间中,确定目标共享空间之后,所述方法还包括:在所述第一共享屏幕上显示所述目标共享空间共享的程序界面。具体实现时,所述第一设备可以根据共享的程序界面的应用场景,确定所述第一共享屏幕的参数值以投射所述第一共享屏幕,并在所述第一共享屏幕上显示所述程序界面。示例性地,所述第一共享空间用于共享视频的播放界面,所述第一共享空间用于共享文档的展示界面,当所述第一设备基于所述第二输入确定共享视频的播放界面时,可以投射长宽比为16:9的第一共享屏幕,并在第一共享屏幕显示视频的播放界面;当所述第一设备基于所述第二输入确定共享文档的展示界面时,可以投射长宽比满足A4标准的第一共享屏幕,并在第一共享屏幕显示文档的展示界面。In an implementation form, after the target shared space is determined in the first shared space and the second shared space in response to the second input, the method further includes: The program interface shared by the target shared space is displayed on the sharing screen. During specific implementation, the first device may determine the parameter value of the first shared screen to project the first shared screen according to the application scenario of the shared program interface, and display the first shared screen on the first shared screen. program interface. Exemplarily, the first shared space is used for a playback interface of a shared video, and the first shared space is used for a display interface of a shared document. When the first device determines the playback interface of a shared video based on the second input , the first shared screen with an aspect ratio of 16:9 can be projected, and the video playback interface can be displayed on the first shared screen; when the first device determines the presentation interface of the shared document based on the second input, it can The first shared screen whose aspect ratio meets the A4 standard is projected, and a display interface of the document is displayed on the first shared screen.
实施方式二、所述第一共享空间用于向第一目标设备共享所述目标信息,所述第二共享空间用于向第二目标设备共享所述目标信息。这样,所述第一设备同时向多个设备共享信息时,可以消除不同设备在信息共享过程中的相互影响,提高信息共享的安全性和隐私性。Embodiment 2: The first shared space is used to share the target information with a first target device, and the second shared space is used to share the target information with a second target device. In this way, when the first device shares information with multiple devices at the same time, the mutual influence of different devices in the information sharing process can be eliminated, and the security and privacy of information sharing can be improved.
实施方式三、所述第一共享空间用于共享第一信息,所述第二共享空间用于共享第二信息,所述第二信息的类型与所述第一信息的类型不同。Embodiment 3: The first shared space is used to share first information, and the second shared space is used to share second information, where the type of the second information is different from the type of the first information.
本实施方式中,一个共享空间用于共享一种信息类型。这样,所述第一设备也可以根据不同信息类型创建相匹配的共享空间。在投射有共享屏幕的情况下,所述第一设备还可以根据不同信息类型确定共享屏幕的参数值,提高了信息共享与应用场景之间的适配性。In this embodiment, one shared space is used to share one type of information. In this way, the first device may also create matching shared spaces according to different types of information. When a shared screen is projected, the first device may also determine parameter values of the shared screen according to different types of information, which improves the adaptability between information sharing and application scenarios.
为方便理解,下面对本申请实施例一种示例性地实施方式进行说明:For the convenience of understanding, an exemplary implementation manner of the embodiment of the present application is described below:
本实施方式中,以游戏场景1为例,所述第一设备为设备1,所述目标设备包括设备2、设备3和设备4,所述目标信息为游戏应用程序1对应的程 序界面,以下简称目标程序界面。如图6所示,具体实现流程如下:In this embodiment, taking game scene 1 as an example, the first device is device 1, the target device includes device 2, device 3 and device 4, and the target information is the program interface corresponding to game application 1, as follows Referred to as the target program interface. As shown in Figure 6, the specific implementation process is as follows:
步骤1:设备1接收用户作用于目标程序界面的分享输入。Step 1: The device 1 receives a sharing input from the user acting on the target program interface.
如图7所示,设备1显示有目标程序界面D,目标程序界面D包括用于分享当前界面的控件60。设备1接收用户作用于控件60的点击输入,响应于所述点击输入,执行步骤2。As shown in FIG. 7 , the device 1 displays a target program interface D, and the target program interface D includes a control 60 for sharing the current interface. The device 1 receives a user's click input on the control 60, and in response to the click input, step 2 is performed.
步骤2:设备1创建共享空间和投射共享屏幕,并在所述共享屏幕上显示目标程序界面。Step 2: Device 1 creates a shared space and projects a shared screen, and displays a target program interface on the shared screen.
设备1响应于作用于分享控件60的点击输入,显示信息共享程序的程序界面E,如图8所示。信息共享程序的程序界面E包括用于创建共享空间的控件70,设备1接收用户作用于控件70的点击输入,响应于所述点击输入,显示共享空间的设置界面F,如图9所示。The device 1 displays the program interface E of the information sharing program in response to the click input acting on the sharing control 60 , as shown in FIG. 8 . The program interface E of the information sharing program includes a control 70 for creating a shared space. The device 1 receives a user's click input on the control 70, and in response to the click input, displays a setting interface F of the shared space, as shown in FIG. 9 .
共享空间的设置界面F包括用于设置所述共享空间的控件71。设备1接收作用于控件71的点击输入,响应于所述点击输入,显示所述共享空间的设置界面,用户可以基于游戏场景1的需求,确定所述共享空间对应的空间范围,以及所述共享屏幕的投射位置和尺寸,设备1基于用户的输入创建所述共享空间和投射所述共享屏幕。The setting interface F of the shared space includes a control 71 for setting the shared space. The device 1 receives a click input acting on the control 71, and in response to the click input, displays the setting interface of the shared space, and the user can determine the space range corresponding to the shared space based on the requirements of the game scene 1, and the shared space. The projection position and size of the screen, the device 1 creates the shared space and projects the shared screen based on the user's input.
此外,共享空间的设置界面F还包括用于设置设备权限的控件72,设备1接收作用于控件72的点击输入,显示所述设备权限的设置界面,设备1基于用户的输入确定各设备的共享权限,本实施方式中,假设设备1通过接收用户的输入,确定设备2、设备3和设备4具有所述设备1的共享权限,设备5不具有设备1的共享权限。共享空间的设置界面F还包括用于设置访问密码的控件73,设备1接收作用于控件73的点击输入,显示访问密码的设置界面,设备1接收用户的输入,确定所述共享空间的访问密码。共享空间的设置界面F还包括用于设置信息权限的控件74,设备1可以接收作用于控件74的点击输入,显示所述信息权限的设置界面,设备1基于用户的输入确定各信息的共享权限,本实施方式中,假设设备1通过接收用户的输入,确定设备2、设备3和设备4具有所述目标程序界面的共享权限,设备5不具有所述目标程序界面的共享权限。In addition, the setting interface F of the shared space also includes a control 72 for setting device permissions, and the device 1 receives a click input acting on the control 72 to display the setting interface of the device permissions, and the device 1 determines the sharing of each device based on the user's input. Permissions. In this embodiment, it is assumed that device 1 determines that device 2, device 3, and device 4 have the sharing permission of device 1 by receiving input from the user, and device 5 does not have the sharing permission of device 1. The setting interface F of the shared space also includes a control 73 for setting the access password, and the device 1 receives the click input acting on the control 73 to display the setting interface of the access password, and the device 1 receives the user's input to determine the access password of the shared space . The setting interface F of the shared space also includes a control 74 for setting information permissions, and the device 1 can receive a click input acting on the control 74 to display the setting interface of the information permissions, and the device 1 determines the sharing permissions of each information based on the user's input In this embodiment, it is assumed that device 1 determines that device 2, device 3, and device 4 have the sharing authority of the target program interface by receiving user input, and device 5 does not have the sharing authority of the target program interface.
设备1在用户完成对所述共享空间的设置后,可以创建共享空间A和投 射共享屏幕B,如图3所示,并在共享屏幕B上显示所述目标程序界面,如图4所示。需要说明的是,在用户未对所述共享屏幕的尺寸或者形状进行设置的情况,设备1可以基于游戏场景1,将共享屏幕B确定为如图4所示的正方形。After the user finishes setting the shared space, device 1 can create a shared space A and project a shared screen B, as shown in Figure 3, and display the target program interface on the shared screen B, as shown in Figure 4. It should be noted that, if the user does not set the size or shape of the shared screen, the device 1 may determine the shared screen B as a square as shown in FIG. 4 based on the game scene 1 .
步骤3:设备2进入所述共享空间内,确定设备2的虚拟光标是否处于所述共享屏幕中的目标区域。Step 3: The device 2 enters the shared space, and determines whether the virtual cursor of the device 2 is in the target area of the shared screen.
设备1在确定设备2在进入所述共享空间内后,如图4所示,共享屏幕B中将显示用于标识设备2位置的虚拟光标30,用户控制设备2运动,虚拟光标30将跟随设备2的运动在共享屏幕B中移动。在用户肉眼无法看到共享屏幕B的情况下,如图5所示,设备1在确定设备2在进入所述共享空间内后,设备1将显示第一指引界面C,第一指引界面C包括用于标识设备2位置的光标50,用户控制设备2运动,光标50将跟随设备2的运动在第一指引界面C中移动。本步骤可以理解为游戏场景1中“加入游戏”的操作,第一指引界面C可以指引用户控制设备2运动,以使光标50移动至用户期望的位置。本实施方式中,假设用户控制设备2运动,使光标50移动至“玩家一”对应的区域41,可以使虚拟光标30在共享屏幕B中移动至“玩家一”对应的区域21。之后,继续执行步骤4。After device 1 determines that device 2 has entered the shared space, as shown in Figure 4, a virtual cursor 30 for identifying the position of device 2 will be displayed on shared screen B, and the user controls the movement of device 2, and virtual cursor 30 will follow the device 2's motion moves in shared screen B. In the case that the user cannot see the shared screen B with naked eyes, as shown in FIG. 5 , after the device 1 determines that the device 2 enters the shared space, the device 1 will display the first guidance interface C, the first guidance interface C includes The cursor 50 used to identify the position of the device 2 , the user controls the movement of the device 2 , and the cursor 50 will move in the first guidance interface C following the movement of the device 2 . This step can be understood as the operation of "joining the game" in the game scene 1, and the first guide interface C can guide the user to control the movement of the device 2 so that the cursor 50 can move to the desired position of the user. In this embodiment, assuming that the user controls the movement of the device 2 to move the cursor 50 to the area 41 corresponding to "Player 1", the virtual cursor 30 can be moved to the area 21 corresponding to "Player 1" in the shared screen B. After that, proceed to step 4.
步骤4:设备2匹配访问密码。Step 4: Device 2 matches the access code.
在设备2的虚拟光标处于所述共享屏幕中的目标区域内后,设备1可以通过提示信息提示设备2输入访问密码,在访问密码正确的情况下,设备2加入游戏场景1并确定设备2为玩家1,之后继续执行步骤5;在访问密码不正确的情况下,继续执行步骤6。After the virtual cursor of device 2 is in the target area on the shared screen, device 1 may prompt device 2 to enter the access password through a prompt message. If the access password is correct, device 2 joins game scene 1 and determines that device 2 is Player 1, then proceed to step 5; if the access password is incorrect, proceed to step 6.
步骤5:设备2接收所述目标程序界面的投屏信息,并基于投屏信息显示所述目标程序界面。Step 5: The device 2 receives the screen projection information of the target program interface, and displays the target program interface based on the screen projection information.
在访问密码正确的情况下,设备1确定设备2以玩家1的身份加入游戏场景1。设备2可以接收所述目标程序界面的投屏信息,并基于投屏信息显示所述目标程序界面。之后,继续执行步骤6。If the access password is correct, device 1 determines that device 2 joins game scene 1 as player 1 . The device 2 may receive the screen projection information of the target program interface, and display the target program interface based on the screen projection information. After that, proceed to step 6.
步骤6:设备1等待设备3和设备4加入游戏。Step 6: Device 1 waits for Device 3 and Device 4 to join the game.
设备1基于上述设备2执行的流程,等待设备3和设备4加入游戏,开 始四人游戏。Device 1 waits for Device 3 and Device 4 to join the game based on the process performed by Device 2 above, and starts a four-player game.
本实施方式中,基于游戏场景1,还可以包括以下功能设定:In this embodiment, based on game scene 1, the following function settings may also be included:
1)等位设定。在设备1创建所述共享空间后,设备1可以根据设备2、设备3和设备4进入所述共享空间的顺序确定其玩家身份,本实施方式中,假设按照设备2、设备3、设备4的顺序依次进入所述共享空间,则在设备2进入所述共享空间后,设备1可以在第一指引界面C上将如图5所示的区域41闪烁显示,以提示设备2的用户控制设备2运动使光标50移动至区域41内,从而占用玩家1的身份,之后进入等位状态。在设备3进入所述共享空间后,设备1可以在第一指引界面C上将如图5所示的区域42闪烁显示,以提示设备3的用户控制设备3运动使光标50移动至区域42内,以占用玩家2的身份,设备4可以参照上述说明加入游戏。1) Equivalent setting. After device 1 creates the shared space, device 1 can determine its player identity according to the order in which device 2, device 3 and device 4 enter the shared space. Enter the shared space sequentially, then after the device 2 enters the shared space, the device 1 can blink and display the area 41 shown in FIG. 5 on the first guidance interface C to prompt the user of the device 2 to control the device 2 The movement causes the cursor 50 to move into the area 41, thereby occupying the identity of Player 1, and then entering the waiting state. After the device 3 enters the shared space, the device 1 can blink and display the area 42 shown in FIG. , to occupy the identity of player 2, device 4 can refer to the above description to join the game.
2)防作弊设定。当设备2、设备3和设备4加入所述共享空间并开始游戏后,设备2、设备3和设备4可以通过其自身的前置摄像头监测摄像头可视区域内是否存在用户的人脸。若某台设备检测到摄像头可视区域内不存在人脸时,设备1可以发出警示消息,以提示其他设备的用户当前有人“挂机”并确认是否结束游戏。在确认结束游戏后,设备2、设备3和设备4将不再显示所述目标程序界面。2) Anti-cheating settings. After the device 2, the device 3 and the device 4 join the shared space and start the game, the device 2, the device 3 and the device 4 can monitor whether there is a user's face in the visible area of the camera through their own front cameras. If a device detects that there is no human face in the visible area of the camera, device 1 can send a warning message to remind users of other devices that someone is currently "hanging up" and confirm whether to end the game. After confirming to end the game, the device 2, device 3 and device 4 will no longer display the target program interface.
3)偏离指引设定。当设备2、设备3和设备4加入所述共享空间并开始游戏后,若设备1确定所述共享屏幕上用于标识设备2位置的虚拟光标偏离其所在的区域,设备1可以发出提示消息,以提示设备2的用户当前处于偏离状态,并确认是否结束游戏。在确认不结束游戏后,设备1可以通过所述第一指引界面指引设备2的用户控制设备2运动,以使设备2的虚拟光标重新处于对应的区域内,并继续游戏。3) Deviating from the guideline setting. After device 2, device 3 and device 4 join the shared space and start the game, if device 1 determines that the virtual cursor used to identify the position of device 2 on the shared screen deviates from the area where it is located, device 1 can send a prompt message, To prompt the user of the device 2 to be in a deviated state, and to confirm whether to end the game. After confirming that the game is not over, the device 1 can guide the user of the device 2 to control the movement of the device 2 through the first guide interface, so that the virtual cursor of the device 2 is in the corresponding area again, and continue the game.
需要说明的是,本申请实施例提供的信息共享方法,执行主体可以为信息共享装置,或者该信息共享装置中的用于执行信息共享方法的控制模块。本申请实施例中以信息共享装置执行信息共享方法为例,说明本申请实施例提供的信息共享装置。It should be noted that, the information sharing method provided in the embodiment of the present application may be executed by an information sharing device, or a control module in the information sharing device for executing the information sharing method. In the embodiment of the present application, the information sharing device executed by the information sharing device is taken as an example to describe the information sharing device provided in the embodiment of the present application.
请参见图10,图10是本申请实施例提供的信息共享装置的结构图。Please refer to FIG. 10 . FIG. 10 is a structural diagram of an information sharing device provided by an embodiment of the present application.
如图10所示,信息共享装置1000包括:As shown in Figure 10, the information sharing device 1000 includes:
第一获取模块1001,用于获取目标设备的空间位置信息;The first acquiring module 1001 is configured to acquire the spatial location information of the target device;
第一共享模块1002,用于在基于所述空间位置信息,确定所述目标设备处于第一共享空间内的情况下,将目标信息共享至所述目标设备。The first sharing module 1002 is configured to share target information with the target device when it is determined that the target device is in a first shared space based on the spatial position information.
可选地,第一共享模块1002包括:Optionally, the first sharing module 1002 includes:
第一获取单元,用于在所述目标设备处于所述第一共享空间内的情况下,获取第一虚拟控件在第一共享屏幕上的第一运动轨迹;所述第一共享屏幕为所述第一共享空间对应的虚拟屏幕,所述第一虚拟控件用于标识所述目标设备的位置,所述第一运动轨迹是基于所述目标设备的运动轨迹确定的;A first acquiring unit, configured to acquire a first motion track of a first virtual control on a first shared screen when the target device is in the first shared space; the first shared screen is the A virtual screen corresponding to the first shared space, the first virtual control is used to identify the position of the target device, and the first motion track is determined based on the motion track of the target device;
第一共享单元,用于在基于所述第一运动轨迹,确定所述第一虚拟控件处于所述第一共享屏幕的目标区域内的情况下,将所述目标信息共享至所述目标设备。A first sharing unit, configured to share the target information with the target device when it is determined based on the first motion track that the first virtual control is within the target area of the first shared screen.
可选地,信息共享装置1000还包括:Optionally, the information sharing device 1000 further includes:
第一控制模块,用于在所述第一虚拟控件处于所述第一共享屏幕的目标区域外的情况下,停止将所述目标信息共享至所述目标设备。A first control module, configured to stop sharing the target information to the target device when the first virtual control is outside the target area of the first shared screen.
可选地,所述第一共享屏幕上显示的界面为第一应用程序的程序界面,所述第一应用程序的程序界面包括所述目标区域,所述目标区域包括第一区域和第二区域;信息共享装置1000还包括:Optionally, the interface displayed on the first shared screen is a program interface of a first application program, the program interface of the first application program includes the target area, and the target area includes a first area and a second area ; The information sharing device 1000 also includes:
第二获取模块,用于在基于所述第一运动轨迹,确定所述第一虚拟控件处于所述第一区域内的情况下,获取所述第一区域对应的第一目标参数的第一参数值;A second acquisition module, configured to acquire a first parameter of a first target parameter corresponding to the first area when it is determined that the first virtual control is in the first area based on the first motion trajectory value;
第一关联模块,用于将所述第一参数值与所述目标设备进行关联;a first association module, configured to associate the first parameter value with the target device;
第三获取模块,用于在基于所述第一运动轨迹,确定所述第一虚拟控件处于所述第二区域内的情况下,获取所述第二区域对应的所述第一目标参数的第二参数值;A third acquiring module, configured to acquire the first value of the first target parameter corresponding to the second area when it is determined that the first virtual control is in the second area based on the first motion track. Two parameter values;
第二关联模块,用于将所述第二参数值与所述目标设备进行关联;a second association module, configured to associate the second parameter value with the target device;
其中,所述第一目标参数用于指示所述目标设备在所述第一应用程序中的设备属性,所述第一参数值和所述第二参数值取值不同。Wherein, the first target parameter is used to indicate the device attribute of the target device in the first application program, and the value of the first parameter is different from the value of the second parameter.
可选地,第一共享屏幕上显示的界面为第二应用程序的程序界面,所述第一共享屏幕为所述第一共享空间对应的虚拟屏幕;信息共享装置1000还包 括:Optionally, the interface displayed on the first shared screen is the program interface of the second application program, and the first shared screen is a virtual screen corresponding to the first shared space; the information sharing apparatus 1000 further includes:
第一确定模块,用于在基于所述空间位置信息,确定所述目标设备处于第一共享空间内的情况下,确定所述目标设备进入所述第一共享空间的顺序;A first determining module, configured to determine the order in which the target devices enter the first shared space when it is determined that the target device is in the first shared space based on the spatial position information;
第二确定模块,用于基于所述顺序与第二目标参数的参数值之间的对应关系,确定所述目标设备对应的所述第二目标参数的参数值;A second determining module, configured to determine the parameter value of the second target parameter corresponding to the target device based on the correspondence between the sequence and the parameter value of the second target parameter;
其中,所述第二目标参数用于指示所述目标设备在所述第二应用程序中的设备属性。Wherein, the second target parameter is used to indicate the device attribute of the target device in the second application program.
可选地,信息共享装置1000还包括:Optionally, the information sharing device 1000 further includes:
第一接收模块,用于接收用户的第一输入,所述第一输入用于设置所述第一共享空间对应的空间范围;The first receiving module is configured to receive a first input from a user, and the first input is used to set a space range corresponding to the first shared space;
第一创建模块,用于响应于所述第一输入,基于所述第一输入设置的空间范围,创建所述第一共享空间。A first creating module, configured to create the first shared space based on the space range set by the first input in response to the first input.
可选地,所述第一共享空间用于共享第一应用程序的程序界面,第二共享空间用于共享第二应用程序的程序界面;Optionally, the first shared space is used to share the program interface of the first application program, and the second shared space is used to share the program interface of the second application program;
或者,所述第一共享空间用于向第一目标设备共享所述目标信息,所述第二共享空间用于向第二目标设备共享所述目标信息;Alternatively, the first shared space is used to share the target information with a first target device, and the second shared space is used to share the target information with a second target device;
或者,所述第一共享空间用于共享第一信息,所述第二共享空间用于共享第二信息,所述第二信息的类型与所述第一信息的类型不同。Alternatively, the first shared space is used to share first information, and the second shared space is used to share second information, where the type of the second information is different from the type of the first information.
可选地,所述第一共享空间用于共享第一应用程序的程序界面,第二共享空间用于共享第二应用程序的程序界面;第一共享模块1002具体用于:Optionally, the first shared space is used for sharing the program interface of the first application program, and the second shared space is used for sharing the program interface of the second application program; the first sharing module 1002 is specifically used for:
将所述第一应用程序的程序界面共享至所述目标设备;sharing the program interface of the first application program to the target device;
信息共享装置1000还包括:The information sharing device 1000 also includes:
第二共享模块,用于在所述目标设备从所述第一共享空间移动至所述第二共享空间的情况下,将所述第二应用程序的程序界面共享至所述目标设备。A second sharing module, configured to share the program interface of the second application program with the target device when the target device moves from the first shared space to the second shared space.
可选地,所述第一共享空间用于共享第一应用程序的程序界面,所述第二共享空间用于共享第二应用程序的程序界面,所述第一共享空间和所述第二共享空间均包括目标空间;第一共享模块1002包括:Optionally, the first shared space is used to share the program interface of the first application, the second shared space is used to share the program interface of the second application, and the first shared space and the second shared The spaces all include the target space; the first sharing module 1002 includes:
第一显示单元,用于在所述目标设备处于所述目标空间的情况下,显示第一控件;a first display unit, configured to display a first control when the target device is in the target space;
第一接收单元,用于接收用户对所述第一控件的第二输入;a first receiving unit, configured to receive a second input from a user on the first control;
第一确定单元,用于响应于所述第二输入,在所述第一共享空间和所述第二共享空间中,确定目标共享空间;A first determining unit, configured to determine a target shared space in the first shared space and the second shared space in response to the second input;
第二共享单元,用于将所述目标共享空间共享的程序界面共享至所述目标设备。The second sharing unit is configured to share the program interface shared by the target shared space to the target device.
本申请实施例中,信息共享装置1000可实现上述方法实施例中所述第一设备实现的各个过程,且可以达到相同有益效果,为避免重复,这里不再赘述。In the embodiment of the present application, the information sharing apparatus 1000 can implement each process implemented by the first device in the above method embodiment, and can achieve the same beneficial effect. To avoid repetition, details are not repeated here.
本申请实施例提供的信息共享装置,基于所述目标设备与所述第一共享空间之间的位置关系,在确定所述目标设备处于所述第一共享空间内的情况下,将所述目标信息共享至所述目标设备。所述信息共享装置与所述目标设备之间无需建立有线或者无线连接,以所述第一共享空间作为媒介,通过控制所述目标设备的空间位置就可实现信息共享,使得设备之间的信息共享更加灵活,更加便捷。In the information sharing apparatus provided in the embodiment of the present application, based on the positional relationship between the target device and the first shared space, when it is determined that the target device is in the first shared space, the target Information is shared to the target device. There is no need to establish a wired or wireless connection between the information sharing device and the target device. Using the first shared space as a medium, information sharing can be realized by controlling the spatial position of the target device, so that information between devices Sharing is more flexible and convenient.
本申请实施例中的信息共享装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性地,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The information sharing device in the embodiment of the present application may be a device, or a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, tablet computer, notebook computer, palmtop computer, vehicle electronic device, wearable device, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant). assistant, PDA), etc., non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
本申请实施例中的信息共享装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The information sharing device in the embodiment of the present application may be a device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
可选地,如图11所示,本申请实施例还提供一种电子设备1100,包括处理器1101,存储器1102,存储在存储器1102上并可在所述处理器1101上运行的程序或指令,该程序或指令被处理器1101执行时实现上述信息共享方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘 述。Optionally, as shown in FIG. 11 , the embodiment of the present application further provides an electronic device 1100, including a processor 1101, a memory 1102, and programs or instructions stored in the memory 1102 and operable on the processor 1101, When the program or instruction is executed by the processor 1101, each process of the above-mentioned information sharing method embodiment can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图12为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 12 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备1200包括但不限于:射频单元1201、网络模块1202、音频输出单元1203、输入单元1204、传感器1205、显示单元1206、用户输入单元1207、接口单元1208、存储器1209、以及处理器1210等部件。The electronic device 1200 includes, but is not limited to: a radio frequency unit 1201, a network module 1202, an audio output unit 1203, an input unit 1204, a sensor 1205, a display unit 1206, a user input unit 1207, an interface unit 1208, a memory 1209, and a processor 1210, etc. part.
本领域技术人员可以理解,电子设备1200还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1210逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图12中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 1200 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 1210 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions. The structure of the electronic device shown in FIG. 12 does not constitute a limitation to the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, and details will not be repeated here. .
其中,处理器1210,用于:Wherein, the processor 1210 is used for:
获取目标设备的空间位置信息;Obtain the spatial location information of the target device;
在基于所述空间位置信息,确定所述目标设备处于第一共享空间内的情况下,将目标信息共享至所述目标设备。If it is determined that the target device is in the first shared space based on the space position information, share target information to the target device.
可选地,处理器1210,具体用于:Optionally, the processor 1210 is specifically configured to:
在所述目标设备处于所述第一共享空间内的情况下,获取第一虚拟控件在第一共享屏幕上的第一运动轨迹;所述第一共享屏幕为所述第一共享空间对应的虚拟屏幕,所述第一虚拟控件用于标识所述目标设备的位置,所述第一运动轨迹是基于所述目标设备的运动轨迹确定的;In the case that the target device is in the first shared space, obtain the first motion trajectory of the first virtual control on the first shared screen; the first shared screen is the virtual control corresponding to the first shared space On a screen, the first virtual control is used to identify the position of the target device, and the first movement trajectory is determined based on the movement trajectory of the target device;
在基于所述第一运动轨迹,确定所述第一虚拟控件处于所述第一共享屏幕的目标区域内的情况下,将所述目标信息共享至所述目标设备。If it is determined based on the first motion trajectory that the first virtual control is within the target area of the first shared screen, the target information is shared with the target device.
可选地,处理器1210,还用于在所述第一虚拟控件处于所述第一共享屏幕的目标区域外的情况下,停止将所述目标信息共享至所述目标设备。Optionally, the processor 1210 is further configured to stop sharing the target information to the target device when the first virtual control is outside the target area of the first shared screen.
可选地,所述第一共享屏幕上显示的界面为第一应用程序的程序界面,所述第一应用程序的程序界面包括所述目标区域,所述目标区域包括第一区域和第二区域;处理器1210,还用于:Optionally, the interface displayed on the first shared screen is a program interface of a first application program, the program interface of the first application program includes the target area, and the target area includes a first area and a second area ; Processor 1210, also for:
在基于所述第一运动轨迹,确定所述第一虚拟控件处于所述第一区域内 的情况下,获取所述第一区域对应的第一目标参数的第一参数值;In the case where it is determined that the first virtual control is within the first area based on the first motion track, acquiring a first parameter value of a first target parameter corresponding to the first area;
将所述第一参数值与所述目标设备进行关联;associating the first parameter value with the target device;
在基于所述第一运动轨迹,确定所述第一虚拟控件处于所述第二区域内的情况下,获取所述第二区域对应的所述第一目标参数的第二参数值;Acquiring a second parameter value of the first target parameter corresponding to the second area when it is determined that the first virtual control is in the second area based on the first motion trajectory;
将所述第二参数值与所述目标设备进行关联;associating the second parameter value with the target device;
其中,所述第一目标参数用于指示所述目标设备在所述第一应用程序中的设备属性,所述第一参数值和所述第二参数值取值不同。Wherein, the first target parameter is used to indicate the device attribute of the target device in the first application program, and the value of the first parameter is different from the value of the second parameter.
可选地,第一共享屏幕上显示的界面为第二应用程序的程序界面,所述第一共享屏幕为所述第一共享空间对应的虚拟屏幕;处理器1210,还用于:Optionally, the interface displayed on the first shared screen is a program interface of the second application program, and the first shared screen is a virtual screen corresponding to the first shared space; the processor 1210 is further configured to:
在基于所述空间位置信息,确定所述目标设备处于第一共享空间内的情况下,确定所述目标设备进入所述第一共享空间的顺序;In a case where it is determined that the target device is in the first shared space based on the space position information, determine an order in which the target device enters the first shared space;
基于所述顺序与第二目标参数的参数值之间的对应关系,确定所述目标设备对应的所述第二目标参数的参数值;determining a parameter value of the second target parameter corresponding to the target device based on a correspondence relationship between the order and a parameter value of a second target parameter;
其中,所述第二目标参数用于指示所述目标设备在所述第二应用程序中的设备属性。Wherein, the second target parameter is used to indicate the device attribute of the target device in the second application program.
可选地,用户输入单元1207,用于接收用户的第一输入,所述第一输入用于设置所述第一共享空间对应的空间范围;Optionally, the user input unit 1207 is configured to receive a first input from a user, and the first input is used to set a space range corresponding to the first shared space;
处理器1210,还用于响应于所述第一输入,基于所述第一输入设置的空间范围,创建所述第一共享空间。The processor 1210 is further configured to, in response to the first input, create the first shared space based on the space range set by the first input.
可选地,所述第一共享空间用于共享第一应用程序的程序界面,第二共享空间用于共享第二应用程序的程序界面;Optionally, the first shared space is used to share the program interface of the first application program, and the second shared space is used to share the program interface of the second application program;
或者,所述第一共享空间用于向第一目标设备共享所述目标信息,所述第二共享空间用于向第二目标设备共享所述目标信息;Alternatively, the first shared space is used to share the target information with a first target device, and the second shared space is used to share the target information with a second target device;
或者,所述第一共享空间用于共享第一信息,所述第二共享空间用于共享第二信息,所述第二信息的类型与所述第一信息的类型不同。Alternatively, the first shared space is used to share first information, and the second shared space is used to share second information, where the type of the second information is different from the type of the first information.
可选地,所述第一共享空间用于共享第一应用程序的程序界面,第二共享空间用于共享第二应用程序的程序界面;处理器1210,具体用于将所述第一应用程序的程序界面共享至所述目标设备;Optionally, the first shared space is used to share the program interface of the first application program, and the second shared space is used to share the program interface of the second application program; the processor 1210 is specifically configured to share the program interface of the first application program The program interface is shared to the target device;
处理器1210,还用于在所述目标设备从所述第一共享空间移动至所述第 二共享空间的情况下,将所述第二应用程序的程序界面共享至所述目标设备。The processor 1210 is further configured to share the program interface of the second application program to the target device when the target device moves from the first shared space to the second shared space.
可选地,所述第一共享空间用于共享第一应用程序的程序界面,所述第二共享空间用于共享第二应用程序的程序界面,所述第一共享空间和所述第二共享空间均包括目标空间;显示单元1206,用于在所述目标设备处于所述目标空间的情况下,显示第一控件;Optionally, the first shared space is used to share the program interface of the first application, the second shared space is used to share the program interface of the second application, and the first shared space and the second shared Each space includes a target space; a display unit 1206, configured to display a first control when the target device is in the target space;
用户输入单元1207,还用于接收用户对所述第一控件的第二输入;The user input unit 1207 is further configured to receive a second input from the user on the first control;
处理器1210,还用于: Processor 1210, also for:
响应于所述第二输入,在所述第一共享空间和所述第二共享空间中,确定目标共享空间;determining a target shared space among the first shared space and the second shared space in response to the second input;
将所述目标共享空间共享的程序界面共享至所述目标设备。Sharing the program interface shared by the target shared space to the target device.
本实施方式提供的电子设备,基于所述目标设备与所述第一共享空间之间的位置关系,在确定所述目标设备处于所述第一共享空间内的情况下,将所述目标信息共享至所述目标设备。所述电子设备与所述目标设备之间无需建立有线或者无线连接,以所述第一共享空间作为媒介,通过控制所述目标设备的空间位置就可实现信息共享,使得设备之间的信息共享更加灵活,更加便捷。The electronic device provided in this embodiment shares the target information when it is determined that the target device is in the first shared space based on the positional relationship between the target device and the first shared space. to the target device. There is no need to establish a wired or wireless connection between the electronic device and the target device. Using the first shared space as a medium, information sharing can be realized by controlling the spatial position of the target device, so that information sharing between devices More flexible, more convenient.
应理解的是,本申请实施例中,输入单元1204可以包括图形处理器(Graphics Processing Unit,GPU)12041和麦克风12042,图形处理器12041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1206可包括显示面板12061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板12061。用户输入单元1207包括触控面板12071以及其他输入设备12072。触控面板12071,也称为触摸屏。触控面板12071可包括触摸检测装置和触摸控制器两个部分。其他输入设备12072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器1209可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器1210可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1210中。It should be understood that, in the embodiment of the present application, the input unit 1204 may include a graphics processor (Graphics Processing Unit, GPU) 12041 and a microphone 12042, and the graphics processor 12041 is used for the image capture device ( Such as the image data of the still picture or video obtained by the camera) for processing. The display unit 1206 may include a display panel 12061, and the display panel 12061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1207 includes a touch panel 12071 and other input devices 12072 . Touch panel 12071, also called touch screen. The touch panel 12071 may include two parts, a touch detection device and a touch controller. Other input devices 12072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here. The memory 1209 can be used to store software programs as well as various data, including but not limited to application programs and operating systems. The processor 1210 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 1210 .
本申请实施例还提供一种可读存储介质,所述可读存储介质可以是非易失的,也可以是易失的,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述信息共享方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium, the readable storage medium may be nonvolatile or volatile, the readable storage medium stores programs or instructions, and the programs or instructions are stored in When executed by the processor, the various processes of the foregoing information sharing method embodiments can be achieved, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
本申请实施例还提供一种计算机程序产品,所述计算机程序产品被存储在非瞬态的存储介质中,所述计算机程序产品被至少一个处理器执行以实现上述信息共享方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a computer program product, the computer program product is stored in a non-transitory storage medium, and the computer program product is executed by at least one processor to implement the various processes of the above information sharing method embodiment , and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述信息共享方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above information sharing method embodiment Each process can achieve the same technical effect, so in order to avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述 实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of computer software products, which are stored in a storage medium (such as ROM/RAM, disk, etc.) , optical disc), including several instructions to enable a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of this application, without departing from the purpose of this application and the scope of protection of the claims, many forms can also be made, all of which belong to the protection of this application.

Claims (22)

  1. 一种信息共享方法,所述方法包括:An information sharing method, the method comprising:
    获取目标设备的空间位置信息;Obtain the spatial location information of the target device;
    在基于所述空间位置信息,确定所述目标设备处于第一共享空间内的情况下,将目标信息共享至所述目标设备。If it is determined that the target device is in the first shared space based on the space position information, share target information to the target device.
  2. 根据权利要求1所述的方法,其中,所述在基于所述空间位置信息,确定所述目标设备处于第一共享空间内的情况下,将目标信息共享至所述目标设备,包括:The method according to claim 1, wherein the sharing of target information to the target device under the condition that the target device is determined to be in the first shared space based on the spatial location information comprises:
    在所述目标设备处于所述第一共享空间内的情况下,获取第一虚拟控件在第一共享屏幕上的第一运动轨迹;所述第一共享屏幕为所述第一共享空间对应的虚拟屏幕,所述第一虚拟控件用于标识所述目标设备的位置,所述第一运动轨迹是基于所述目标设备的运动轨迹确定的;In the case that the target device is in the first shared space, obtain the first motion trajectory of the first virtual control on the first shared screen; the first shared screen is the virtual control corresponding to the first shared space On a screen, the first virtual control is used to identify the position of the target device, and the first movement trajectory is determined based on the movement trajectory of the target device;
    在基于所述第一运动轨迹,确定所述第一虚拟控件处于所述第一共享屏幕的目标区域内的情况下,将所述目标信息共享至所述目标设备。If it is determined based on the first motion trajectory that the first virtual control is within the target area of the first shared screen, the target information is shared with the target device.
  3. 根据权利要求2所述的方法,其中,所述将所述目标信息共享至所述目标设备之后,所述方法还包括:The method according to claim 2, wherein, after the target information is shared with the target device, the method further comprises:
    在所述第一虚拟控件处于所述第一共享屏幕的目标区域外的情况下,停止将所述目标信息共享至所述目标设备。If the first virtual control is outside the target area of the first shared screen, stop sharing the target information to the target device.
  4. 根据权利要求2所述的方法,其中,所述第一共享屏幕上显示的界面为第一应用程序的程序界面,所述第一应用程序的程序界面包括所述目标区域,所述目标区域包括第一区域和第二区域;所述获取第一虚拟控件在第一共享屏幕上的第一运动轨迹之后,所述方法还包括:The method according to claim 2, wherein the interface displayed on the first shared screen is a program interface of a first application program, and the program interface of the first application program includes the target area, and the target area includes The first area and the second area; after acquiring the first motion track of the first virtual control on the first shared screen, the method further includes:
    在基于所述第一运动轨迹,确定所述第一虚拟控件处于所述第一区域内的情况下,获取所述第一区域对应的第一目标参数的第一参数值;If it is determined that the first virtual control is in the first area based on the first motion trajectory, acquiring a first parameter value of a first target parameter corresponding to the first area;
    将所述第一参数值与所述目标设备进行关联;associating the first parameter value with the target device;
    在基于所述第一运动轨迹,确定所述第一虚拟控件处于所述第二区域内的情况下,获取所述第二区域对应的所述第一目标参数的第二参数值;Acquiring a second parameter value of the first target parameter corresponding to the second area when it is determined that the first virtual control is in the second area based on the first motion trajectory;
    将所述第二参数值与所述目标设备进行关联;associating the second parameter value with the target device;
    其中,所述第一目标参数用于指示所述目标设备在所述第一应用程序中的设备属性,所述第一参数值和所述第二参数值取值不同。Wherein, the first target parameter is used to indicate the device attribute of the target device in the first application program, and the value of the first parameter is different from the value of the second parameter.
  5. 根据权利要求1所述的方法,其中,第一共享屏幕上显示的界面为第二应用程序的程序界面,所述第一共享屏幕为所述第一共享空间对应的虚拟屏幕;所述获取目标设备的空间位置信息之后,所述方法还包括:The method according to claim 1, wherein the interface displayed on the first shared screen is the program interface of the second application program, and the first shared screen is a virtual screen corresponding to the first shared space; the acquisition target After the spatial location information of the device, the method further includes:
    在基于所述空间位置信息,确定所述目标设备处于第一共享空间内的情况下,确定所述目标设备进入所述第一共享空间的顺序;In a case where it is determined that the target device is in the first shared space based on the space position information, determine an order in which the target device enters the first shared space;
    基于所述顺序与第二目标参数的参数值之间的对应关系,确定所述目标设备对应的所述第二目标参数的参数值;determining a parameter value of the second target parameter corresponding to the target device based on a correspondence relationship between the order and a parameter value of a second target parameter;
    其中,所述第二目标参数用于指示所述目标设备在所述第二应用程序中的设备属性。Wherein, the second target parameter is used to indicate the device attribute of the target device in the second application program.
  6. 根据权利要求1所述的方法,其中,在所述将目标信息共享至所述目标设备之前,所述方法还包括:The method according to claim 1, wherein, before the sharing of target information to the target device, the method further comprises:
    接收用户的第一输入,所述第一输入用于设置所述第一共享空间对应的空间范围;receiving a first input from a user, where the first input is used to set a space range corresponding to the first shared space;
    响应于所述第一输入,基于所述第一输入设置的空间范围,创建所述第一共享空间。In response to the first input, the first shared space is created based on the space range set by the first input.
  7. 根据权利要求1所述的方法,其中,所述第一共享空间用于共享第一应用程序的程序界面,第二共享空间用于共享第二应用程序的程序界面;The method according to claim 1, wherein the first shared space is used to share the program interface of the first application program, and the second shared space is used to share the program interface of the second application program;
    或者,所述第一共享空间用于向第一目标设备共享所述目标信息,所述第二共享空间用于向第二目标设备共享所述目标信息;Alternatively, the first shared space is used to share the target information with a first target device, and the second shared space is used to share the target information with a second target device;
    或者,所述第一共享空间用于共享第一信息,所述第二共享空间用于共享第二信息,所述第二信息的类型与所述第一信息的类型不同。Alternatively, the first shared space is used to share first information, and the second shared space is used to share second information, where the type of the second information is different from the type of the first information.
  8. 根据权利要求7所述的方法,其中,所述第一共享空间用于共享第一应用程序的程序界面,第二共享空间用于共享第二应用程序的程序界面;The method according to claim 7, wherein the first shared space is used to share the program interface of the first application program, and the second shared space is used to share the program interface of the second application program;
    所述将目标信息共享至所述目标设备,包括:The sharing of target information to the target device includes:
    将所述第一应用程序的程序界面共享至所述目标设备;sharing the program interface of the first application program to the target device;
    所述方法还包括:The method also includes:
    在所述目标设备从所述第一共享空间移动至所述第二共享空间的情况下, 将所述第二应用程序的程序界面共享至所述目标设备。When the target device moves from the first shared space to the second shared space, share the program interface of the second application program to the target device.
  9. 根据权利要求7所述的方法,其中,所述第一共享空间用于共享第一应用程序的程序界面,所述第二共享空间用于共享第二应用程序的程序界面,所述第一共享空间和所述第二共享空间均包括目标空间;The method according to claim 7, wherein the first shared space is used to share the program interface of the first application program, the second shared space is used to share the program interface of the second application program, and the first shared space Both the space and the second shared space include a target space;
    所述在基于所述空间位置信息,确定所述目标设备处于第一共享空间内的情况下,将目标信息共享至所述目标设备,包括:The sharing of target information to the target device under the condition that the target device is determined to be in the first shared space based on the spatial location information includes:
    在所述目标设备处于所述目标空间的情况下,显示第一控件;displaying a first control if the target device is in the target space;
    接收用户对所述第一控件的第二输入;receiving a second input from a user on the first control;
    响应于所述第二输入,在所述第一共享空间和所述第二共享空间中,确定目标共享空间;determining a target shared space among the first shared space and the second shared space in response to the second input;
    将所述目标共享空间共享的程序界面共享至所述目标设备。Sharing the program interface shared by the target shared space to the target device.
  10. 一种信息共享装置,所述装置包括:An information sharing device, the device comprising:
    第一获取模块,用于获取目标设备的空间位置信息;The first obtaining module is used to obtain the spatial location information of the target device;
    第一共享模块,用于在基于所述空间位置信息,确定所述目标设备处于第一共享空间内的情况下,将目标信息共享至所述目标设备。A first sharing module, configured to share target information with the target device when it is determined that the target device is in a first shared space based on the spatial position information.
  11. 根据权利要求10所述的装置,其中,所述第一共享模块包括:The device according to claim 10, wherein the first sharing module comprises:
    第一获取单元,用于在所述目标设备处于所述第一共享空间内的情况下,获取第一虚拟控件在第一共享屏幕上的第一运动轨迹;所述第一共享屏幕为所述第一共享空间对应的虚拟屏幕,所述第一虚拟控件用于标识所述目标设备的位置,所述第一运动轨迹是基于所述目标设备的运动轨迹确定的;A first acquiring unit, configured to acquire a first motion track of a first virtual control on a first shared screen when the target device is in the first shared space; the first shared screen is the A virtual screen corresponding to the first shared space, the first virtual control is used to identify the position of the target device, and the first motion track is determined based on the motion track of the target device;
    第一共享单元,用于在基于所述第一运动轨迹,确定所述第一虚拟控件处于所述第一共享屏幕的目标区域内的情况下,将所述目标信息共享至所述目标设备。A first sharing unit, configured to share the target information with the target device when it is determined based on the first motion track that the first virtual control is within the target area of the first shared screen.
  12. 根据权利要求11所述的装置,其中,所述装置还包括:The device according to claim 11, wherein the device further comprises:
    第一控制模块,用于在所述第一虚拟控件处于所述第一共享屏幕的目标区域外的情况下,停止将所述目标信息共享至所述目标设备。A first control module, configured to stop sharing the target information to the target device when the first virtual control is outside the target area of the first shared screen.
  13. 根据权利要求11所述的装置,其中,所述第一共享屏幕上显示的界面为第一应用程序的程序界面,所述第一应用程序的程序界面包括所述目标区域,所述目标区域包括第一区域和第二区域;所述装置还包括:The device according to claim 11, wherein the interface displayed on the first shared screen is a program interface of a first application program, and the program interface of the first application program includes the target area, and the target area includes a first zone and a second zone; the device further comprising:
    第二获取模块,用于在基于所述第一运动轨迹,确定所述第一虚拟控件处于所述第一区域内的情况下,获取所述第一区域对应的第一目标参数的第一参数值;A second acquisition module, configured to acquire a first parameter of a first target parameter corresponding to the first area when it is determined that the first virtual control is in the first area based on the first motion trajectory value;
    第一关联模块,用于将所述第一参数值与所述目标设备进行关联;a first association module, configured to associate the first parameter value with the target device;
    第三获取模块,用于在基于所述第一运动轨迹,确定所述第一虚拟控件处于所述第二区域内的情况下,获取所述第二区域对应的所述第一目标参数的第二参数值;A third acquiring module, configured to acquire the first value of the first target parameter corresponding to the second area when it is determined that the first virtual control is in the second area based on the first motion track. Two parameter values;
    第二关联模块,用于将所述第二参数值与所述目标设备进行关联;a second association module, configured to associate the second parameter value with the target device;
    其中,所述第一目标参数用于指示所述目标设备在所述第一应用程序中的设备属性,所述第一参数值和所述第二参数值取值不同。Wherein, the first target parameter is used to indicate the device attribute of the target device in the first application program, and the value of the first parameter is different from the value of the second parameter.
  14. 根据权利要求10所述的装置,其中,第一共享屏幕上显示的界面为第二应用程序的程序界面,所述第一共享屏幕为所述第一共享空间对应的虚拟屏幕;所述装置还包括:The device according to claim 10, wherein the interface displayed on the first shared screen is the program interface of the second application program, and the first shared screen is a virtual screen corresponding to the first shared space; the device further include:
    第一确定模块,用于在基于所述空间位置信息,确定所述目标设备处于第一共享空间内的情况下,确定所述目标设备进入所述第一共享空间的顺序;A first determining module, configured to determine the order in which the target devices enter the first shared space when it is determined that the target device is in the first shared space based on the spatial position information;
    第二确定模块,用于基于所述顺序与第二目标参数的参数值之间的对应关系,确定所述目标设备对应的所述第二目标参数的参数值;A second determining module, configured to determine the parameter value of the second target parameter corresponding to the target device based on the correspondence between the sequence and the parameter value of the second target parameter;
    其中,所述第二目标参数用于指示所述目标设备在所述第二应用程序中的设备属性。Wherein, the second target parameter is used to indicate the device attribute of the target device in the second application program.
  15. 根据权利要求10所述的装置,其中,所述装置还包括:The device according to claim 10, wherein the device further comprises:
    第一接收模块,用于接收用户的第一输入,所述第一输入用于设置所述第一共享空间对应的空间范围;The first receiving module is configured to receive a first input from a user, and the first input is used to set a space range corresponding to the first shared space;
    第一创建模块,用于响应于所述第一输入,基于所述第一输入设置的空间范围,创建所述第一共享空间。A first creating module, configured to create the first shared space based on the space range set by the first input in response to the first input.
  16. 根据权利要求10所述的装置,其中,所述第一共享空间用于共享第一应用程序的程序界面,第二共享空间用于共享第二应用程序的程序界面;The device according to claim 10, wherein the first shared space is used to share the program interface of the first application program, and the second shared space is used to share the program interface of the second application program;
    或者,所述第一共享空间用于向第一目标设备共享所述目标信息,所述第二共享空间用于向第二目标设备共享所述目标信息;Alternatively, the first shared space is used to share the target information with a first target device, and the second shared space is used to share the target information with a second target device;
    或者,所述第一共享空间用于共享第一信息,所述第二共享空间用于共 享第二信息,所述第二信息的类型与所述第一信息的类型不同。Alternatively, the first shared space is used to share first information, and the second shared space is used to share second information, and the type of the second information is different from the type of the first information.
  17. 根据权利要求16所述的装置,其中,所述第一共享空间用于共享第一应用程序的程序界面,第二共享空间用于共享第二应用程序的程序界面;所述第一共享模块具体用于:The device according to claim 16, wherein the first shared space is used to share the program interface of the first application program, and the second shared space is used to share the program interface of the second application program; the first shared module specifically Used for:
    将所述第一应用程序的程序界面共享至所述目标设备;sharing the program interface of the first application program to the target device;
    所述装置还包括:The device also includes:
    第二共享模块,用于在所述目标设备从所述第一共享空间移动至所述第二共享空间的情况下,将所述第二应用程序的程序界面共享至所述目标设备。A second sharing module, configured to share the program interface of the second application program with the target device when the target device moves from the first shared space to the second shared space.
  18. 根据权利要求16所述的装置,其中,所述第一共享空间用于共享第一应用程序的程序界面,所述第二共享空间用于共享第二应用程序的程序界面,所述第一共享空间和所述第二共享空间均包括目标空间;The device according to claim 16, wherein the first shared space is used to share the program interface of the first application program, the second shared space is used to share the program interface of the second application program, and the first shared space Both the space and the second shared space include a target space;
    所述第一共享模块包括:The first shared module includes:
    第一显示单元,用于在所述目标设备处于所述目标空间的情况下,显示第一控件;a first display unit, configured to display a first control when the target device is in the target space;
    第一接收单元,用于接收用户对所述第一控件的第二输入;a first receiving unit, configured to receive a second input from a user on the first control;
    第一确定单元,用于响应于所述第二输入,在所述第一共享空间和所述第二共享空间中,确定目标共享空间;A first determining unit, configured to determine a target shared space in the first shared space and the second shared space in response to the second input;
    第二共享单元,用于将所述目标共享空间共享的程序界面共享至所述目标设备。The second sharing unit is configured to share the program interface shared by the target shared space to the target device.
  19. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,其中,所述程序或指令被所述处理器执行时实现如权利要求1-9中任一项所述的信息共享方法的步骤。An electronic device, comprising a processor, a memory, and a program or instruction stored in the memory and operable on the processor, wherein the program or instruction is executed by the processor to achieve claim 1 - the steps of the information sharing method described in any one of 9.
  20. 一种可读存储介质,所述可读存储介质上存储程序或指令,其中,所述程序或指令被处理器执行时实现如权利要求1-9中任一项所述的信息共享方法的步骤。A readable storage medium, on which a program or instruction is stored, wherein, when the program or instruction is executed by a processor, the steps of the information sharing method according to any one of claims 1-9 are realized .
  21. 一种芯片,包括处理器和通信接口,其中,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-9中任一项所述的信息共享方法的步骤。A chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to realize the information sharing according to any one of claims 1-9 method steps.
  22. 一种计算机程序产品,其中,所述计算机程序产品被存储在非瞬态 的可读存储介质中,所述计算机程序产品被至少一个处理器执行以实现如权利要求1-9中任一项所述的信息共享方法的步骤。A computer program product, wherein the computer program product is stored in a non-transitory readable storage medium, and the computer program product is executed by at least one processor to implement the process described in any one of claims 1-9. The steps of the information sharing method described above.
PCT/CN2022/094108 2021-05-27 2022-05-20 Information sharing method and apparatus, and electronic device and medium WO2022247747A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110585419.8 2021-05-27
CN202110585419.8A CN113301506B (en) 2021-05-27 2021-05-27 Information sharing method, device, electronic equipment and medium

Publications (1)

Publication Number Publication Date
WO2022247747A1 true WO2022247747A1 (en) 2022-12-01

Family

ID=77325713

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/094108 WO2022247747A1 (en) 2021-05-27 2022-05-20 Information sharing method and apparatus, and electronic device and medium

Country Status (2)

Country Link
CN (1) CN113301506B (en)
WO (1) WO2022247747A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113301506B (en) * 2021-05-27 2023-07-25 维沃移动通信有限公司 Information sharing method, device, electronic equipment and medium
CN116301516A (en) * 2021-12-21 2023-06-23 北京小米移动软件有限公司 Application sharing method and device, electronic equipment and storage medium
CN116027909B (en) * 2023-03-23 2023-06-16 北京虹宇科技有限公司 Multi-user sharing method, device and equipment for customizable content in three-dimensional space

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190313059A1 (en) * 2018-04-09 2019-10-10 Spatial Systems Inc. Augmented reality computing environments - collaborative workspaces
CN110910510A (en) * 2019-11-25 2020-03-24 深圳传音控股股份有限公司 Method for augmented reality information sharing, terminal, and computer-readable storage medium
CN111124136A (en) * 2019-12-31 2020-05-08 维沃移动通信有限公司 Virtual picture synchronization method and wearable device
WO2020187531A1 (en) * 2019-03-20 2020-09-24 Nokia Technologies Oy An apparatus and associated methods for presentation of presentation data
CN112130788A (en) * 2020-08-05 2020-12-25 华为技术有限公司 Content sharing method and device
CN113301506A (en) * 2021-05-27 2021-08-24 维沃移动通信有限公司 Information sharing method and device, electronic equipment and medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7353034B2 (en) * 2005-04-04 2008-04-01 X One, Inc. Location sharing and tracking using mobile phones or other wireless devices
WO2016127438A1 (en) * 2015-02-15 2016-08-18 华为技术有限公司 Information sharing method and apparatus
CN105100251A (en) * 2015-07-31 2015-11-25 北京金山安全软件有限公司 Information sharing method and device
JP6817736B2 (en) * 2016-07-19 2021-01-20 株式会社Nttファシリティーズ Information sharing support system, information sharing support method, and program
CN111103855A (en) * 2019-12-10 2020-05-05 北京北电科林电子有限公司 Intelligent management system for shared space
CN112785312A (en) * 2021-01-21 2021-05-11 维沃移动通信有限公司 Information sharing method and device, electronic equipment and readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190313059A1 (en) * 2018-04-09 2019-10-10 Spatial Systems Inc. Augmented reality computing environments - collaborative workspaces
WO2020187531A1 (en) * 2019-03-20 2020-09-24 Nokia Technologies Oy An apparatus and associated methods for presentation of presentation data
CN110910510A (en) * 2019-11-25 2020-03-24 深圳传音控股股份有限公司 Method for augmented reality information sharing, terminal, and computer-readable storage medium
CN111124136A (en) * 2019-12-31 2020-05-08 维沃移动通信有限公司 Virtual picture synchronization method and wearable device
CN112130788A (en) * 2020-08-05 2020-12-25 华为技术有限公司 Content sharing method and device
CN113301506A (en) * 2021-05-27 2021-08-24 维沃移动通信有限公司 Information sharing method and device, electronic equipment and medium

Also Published As

Publication number Publication date
CN113301506A (en) 2021-08-24
CN113301506B (en) 2023-07-25

Similar Documents

Publication Publication Date Title
WO2022247747A1 (en) Information sharing method and apparatus, and electronic device and medium
US9628744B2 (en) Display apparatus and control method thereof
US10609135B2 (en) User presence detection and display of private content at a remote collaboration venue
CN112243583B (en) Multi-endpoint mixed reality conference
WO2015188614A1 (en) Method and device for operating computer and mobile phone in virtual world, and glasses using same
US20180011543A1 (en) Information processing apparatus, position information generation method, and information processing system
US11846981B2 (en) Extracting video conference participants to extended reality environment
US9285884B2 (en) Gesture based control application for data sharing
US20130038674A1 (en) System and method for distributing and interacting with images in a network
US10990344B2 (en) Information processing apparatus, information processing system, and information processing method
US20240119682A1 (en) Recording the complete physical and extended reality environments of a user
CN110506264A (en) It is presented for the live ink of live collaboration
US11948263B1 (en) Recording the complete physical and extended reality environments of a user
Machuca et al. 3D mobile interactions for public displays
WO2022151882A1 (en) Virtual reality device
KR20160050664A (en) Electronic device having tactile sensor, method for operating thereof and system
KR101521488B1 (en) Interactive contents system by smart device
JP6935744B2 (en) Data sharing system, information processing device, program, data sharing method
Ballendat Visualization of and interaction with digital devices around large surfaces as a function of proximity
US20230336593A1 (en) Work in VR
US20230334792A1 (en) Interactive reality computing experience using optical lenticular multi-perspective simulation
US20240185546A1 (en) Interactive reality computing experience using multi-layer projections to create an illusion of depth
US20230334790A1 (en) Interactive reality computing experience using optical lenticular multi-perspective simulation
US20230334791A1 (en) Interactive reality computing experience using multi-layer projections to create an illusion of depth
US20230334775A1 (en) VR Capture and Playback

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE