CN113765682A - Method and system for performing group functions - Google Patents

Method and system for performing group functions Download PDF

Info

Publication number
CN113765682A
CN113765682A CN202111067856.7A CN202111067856A CN113765682A CN 113765682 A CN113765682 A CN 113765682A CN 202111067856 A CN202111067856 A CN 202111067856A CN 113765682 A CN113765682 A CN 113765682A
Authority
CN
China
Prior art keywords
group
devices
distance
function
pointing relationship
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111067856.7A
Other languages
Chinese (zh)
Inventor
赵洋洋
徐苏琴
谢根英
俞斐
吴蕴知
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Samsung Electronics China R&D Center
Samsung Electronics Co Ltd
Original Assignee
Samsung Electronics China R&D Center
Samsung Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Samsung Electronics China R&D Center, Samsung Electronics Co Ltd filed Critical Samsung Electronics China R&D Center
Priority to CN202111067856.7A priority Critical patent/CN113765682A/en
Publication of CN113765682A publication Critical patent/CN113765682A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • H04W4/08User group management

Landscapes

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

Abstract

A method and system for performing group functions is provided. A system for implementing group functionality in a first device, comprising: the group opening module is configured to open the group function; the mobile terminal includes a group creation module configured to create a group, and a connection module configured to, when a group function is turned on and the group is created, search for one or more devices that have turned on the group function and do not join the group created by the first device and determine a distance and a pointing relationship between the first device and the one or more devices, establish a direct connection between the first device and a second device among the one or more devices when the distance between the first device and the second device is within a preset distance range and there is a pointing relationship between the first device and the second device, and add the second device to the group.

Description

Method and system for performing group functions
Technical Field
The present invention relates to the field of communications, and more particularly, to a method and system for performing group functions.
Background
At present, there are two main ways for a user to transfer a file:
one way is to implement one-to-many data transmission by using bluetooth transmission, which is to search a service device capable of bluetooth connection and perform bluetooth connection with such a service device, and simultaneously acquire data information of the service device, identify a different service device for a matching tag corresponding to each service device, then generate a corresponding key for the service device to perform bluetooth binding, and send a control command to the service device to perform a corresponding action after completing bluetooth binding.
Another way is with social software, a user may create a social group, such as a WeChat group, a QQ group, etc., on the social software and then transmit a file in the social group. However, in many cases, a plurality of users only need to temporarily share files, and if a social group is created every time a file is transmitted, many useless groups and confusion on social software are caused, so that the user is inconvenient to remember and manage, and the user is troublesome to quit the group, so that the user needs to open the social software to find the group and quit. In addition, the file is transmitted through the social group and needs to be processed by the server, the speed of transmitting the file is greatly influenced by a network at the moment, particularly under the outdoor condition, a data network is unstable, the transmission speed is low when the file is transmitted greatly, and user experience is poor; secondly, if files are transmitted through the server, the hidden danger of privacy disclosure is inevitably generated.
However, at present, no matter whether the android device or the iOS device is used, when files are transmitted through bluetooth and Wi-Fi, only point-to-point transmission is supported, and one-time transmission to a plurality of devices is not supported; secondly, when files are transmitted by using Bluetooth and Wi-Fi, a transmission object needs to be selected, and when the number of peripheral devices of a user is large and if the name of a duplicate device exists, the user can hardly select the transmission object quickly.
Disclosure of Invention
According to an exemplary embodiment of the present invention, there is provided a system for implementing a group function in a first device, including: the group opening module is configured to open the group function; the mobile terminal includes a group creation module configured to create a group, and a connection module configured to, when a group function is turned on and the group is created, search for one or more devices that have turned on the group function and do not join the group created by the first device and determine a distance and a pointing relationship between the first device and the one or more devices, establish a direct connection between the first device and a second device among the one or more devices when the distance between the first device and the second device is within a preset distance range and there is a pointing relationship between the first device and the second device, and add the second device to the group.
The connection module may be further configured to: when the group function is opened but the group creation module does not create a group and the first device has been added to another group created by another device, searching for at least one device which has opened the group function and does not join the other group and determining a distance and a pointing relationship between the first device and the at least one device; when the distance between the first device and a third device of the at least one device is within the preset distance range and there is a pointing relationship between the first device and the third device, establishing a direct connection between the first device and the third device and adding the third device to the other group.
When one device in the group sends data, the device in the group directly connected with the device can receive the data and can forward the data to the device in the group indirectly connected with the device step by step.
The connection module may be further configured to: when the second device is disconnected from the first device, a direct connection is established between the first device and a device in the group that is directly connected to the second device.
The connection module may be further configured to: when a first device is added to another group created by another device, a direct connection is established between the first device and all devices in the other group.
The system may also include an exit module configured to cause the first device to exit the joined group when the first device performs a predetermined action.
The connection module may include a positioning module configured to determine a distance and an angle between the first device and the one or more devices, wherein the connection module determines that a pointing relationship exists between the first device and the second device when the angle of the first device and the second device is within a preset angle range.
According to another exemplary embodiment of the present invention, there is provided a method for implementing a group function in a first device, including: determining whether a group function is turned on and a group is created by a first device; when the first device opens the group function and creates a group, searching, by the first device, for one or more devices that have opened the group function and do not join the group created by the first device and determining a distance and a pointing relationship between the first device and the one or more devices; establishing a direct connection between the first device and a second device of the one or more devices and adding the second device to the group by the first device when a distance between the first device and the second device is within a preset distance range and there is a pointing relationship between the first device and the second device.
The method may further comprise: when a first device opens a group function but does not create a group and the first device has been added to another group created by another device, searching, by the first device, for at least one device that has opened a group function and does not join the other group and determining a distance and a pointing relationship between the first device and the at least one device; when the distance between the first device and a third device of the at least one device is within the preset distance range and there is a pointing relationship between the first device and the third device, establishing a direct connection between the first device and the third device, and adding the third device to the other group by the first device.
When one device in the group sends data, the device in the group directly connected with the device can receive the data and can forward the data to the device in the group indirectly connected with the device step by step.
The method may further comprise: when the second device is disconnected from the first device, a direct connection is established between the first device and a device in the group that is directly connected to the second device.
When a first device is added to another group created by another device, a direct connection may be established between the first device and all devices in the other group.
The method may further comprise: when the first device performs the predetermined action, the first device is caused to exit the joined group.
The step of determining the distance and pointing relationship between the first device and the one or more devices may comprise: determining a distance and an angle between a first device and the one or more devices; and determining that a pointing relationship exists between the first device and the second device when the angle between the first device and the second device is within a preset angle range.
According to another exemplary embodiment of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium has stored thereon computer program instructions, which, when executed by a processor, cause the processor to implement the method for implementing group functionality in a first device.
According to another exemplary embodiment of the invention, a system is provided comprising at least one computing device and at least one storage device storing instructions, wherein the instructions, when executed by the at least one computing device, cause the at least one computing device to perform the method for implementing group functionality in a first apparatus.
According to the exemplary embodiment of the invention, the user can quickly establish the decentralized temporary group through simple operation, the localized data transmission of one-to-many devices in the temporary group can be realized, and the user can quickly exit the temporary group.
Drawings
FIG. 1 is a block diagram illustrating a system 100 for implementing group functions in accordance with an exemplary embodiment of the present invention;
fig. 2 is a diagram illustrating determining coordinates of a target device according to an exemplary embodiment of the present invention;
fig. 3 is a diagram illustrating determining a distance between a target device and a group device according to an exemplary embodiment of the present invention;
fig. 4 is a diagram illustrating a data transmission manner between devices in a group according to an exemplary embodiment of the present invention;
FIG. 5 is a diagram illustrating a manner of data transfer between devices in the group of FIG. 4 when a device exits the group, according to an illustrative embodiment of the present invention;
fig. 6 is a diagram illustrating a data transmission manner between devices in a group according to another exemplary embodiment of the present invention;
FIG. 7 illustrates a schematic diagram of a device exiting a group in accordance with an exemplary embodiment of the present invention;
FIG. 8 illustrates a flow chart for identifying a motion state of a device according to an exemplary embodiment of the present invention;
FIG. 9 is a diagram illustrating file transfers among multiple users and multiple devices according to an illustrative embodiment of the present invention;
FIG. 10 is a diagram illustrating file transfers among a plurality of devices of a user according to an illustrative embodiment of the present invention; and
fig. 11 is a flowchart illustrating a method for implementing a group function according to an exemplary embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The embodiments described in the following examples do not represent all embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a block diagram illustrating a system 100 for implementing group functions according to an exemplary embodiment of the present invention. The system 100 may be installed in a variety of electronic devices to enable the electronic devices to implement group functionality. For ease of explanation, it is assumed that a first device has installed the system 100 and can use the system 100 with other devices in which the system 100 is installed to implement group functionality.
The system 100 according to an exemplary embodiment of the present invention may include a group opening module 110, a group creation module 120, and a connection module 130.
The group opening module 110 may be configured to open a group function, and the group creation module 120 may be configured to create a group. In an exemplary embodiment of the present invention, the first device may open the group function using the group opening module 110 and create a group using the group creation module 120 and then join other devices, in which the system 100 is also installed, to the own created group, or the first device may open the group function using only the group opening module 110 and then join a group created by another device without creating a group, which will be explained in detail below.
When a group function is turned on in a first device and a group is created, the connection module 130 may search for one or more devices that have turned on the group function and do not join the group created by the first device and determine a distance and a pointing relationship between the first device and the one or more devices, and when a distance between the first device and a second device of the one or more devices is within a preset distance range and a pointing relationship exists between the first device and the second device, the connection module 130 may establish a direct connection between the first device and the second device and add the second device to the group. Subsequently, the second device joining the group may also search for other devices that have opened the group function and are not joined in the preset distance range of the group, so as to join the device having a pointing relationship with the second device in the group.
And when the group function is turned on in the first device but a group is not created, the first device may be added to another group created by another device in a manner similar to the manner in which the first device adds the second device to the group created by the first device as described above. After the first device has been added to another group created by another device, the connection module 130 of the first device may further search for at least one device that has opened a group function and does not join the another group and determine a distance and a pointing relationship between the first device and the at least one device, and establish a direct connection between the first device and a third device among the at least one device and add the third device to the another group when a distance between the first device and the third device is within the preset distance range and there is a pointing relationship between the first device and the third device.
That is, in an exemplary embodiment of the present invention, devices already in a group may search for and join devices that satisfy the above distance and pointing relationship conditions, but do not join the group, thereby establishing a decentralized temporary group. This will be explained in more detail later.
In an exemplary embodiment of the present invention, the existence of a pointing relationship between devices means that one device points to another device or that the other device points to the device. Whereas the absence of a pointing relationship between devices means that one device is not pointing at another device and that the other device is not pointing at the device.
Further, in the exemplary embodiments of the present invention, for convenience of explanation and distinction, a device that creates a group (e.g., the above-described first device) and a device that has joined the group (e.g., the above-described second device that has joined the group) may be referred to as a group device, and a device that will join the group (but has not yet joined the group) (e.g., the above-described other device searched by the second device) may be referred to as a target device.
According to an exemplary embodiment of the present invention, when device a turns on the group function and creates a group, device a may be referred to as a group device. After the group device a determines that the target device B points to the group device a within the preset distance range, the group device a may establish a direct connection with the target device B, and the group device a joins the target device B to the group of the group device a. At this time, the target device B becomes a group device B, and the group device B can also similarly search for other devices within the preset distance range.
Then, when the group device B determines that the target device C with the group function turned on points to the group device B within the preset distance range, the target device C may establish a direct connection with the group device B, and the group device B joins the target device C to the group where the group device a and the group device B are located. At this time, the target device C becomes a group device C, and the group device C can also similarly search for other devices within the preset distance range.
Optionally, when the group device a determines that the group device a points to the target device D with the group function started within the preset distance range, the group device a may also establish a direct connection with the target device D, and the group device a joins the target device D to the group of the group device a.
Further, according to an exemplary embodiment of the present invention, when the group device a determines that a specific device having a group function turned on has a pointing relationship with the group device a within a preset distance range, and the group device B determines that the specific device also has a pointing relationship with the group device B within the preset distance range, one or both of the group device a and the group device B may establish a direct connection with the specific device and join the specific device in a group of the group device a and the group device B.
For example, when group device a determines that a specific device having a group function turned on has a pointing relationship with group device a within a preset distance range, and group device B determines that the specific device also has a pointing relationship with group device B within the preset distance range, the specific device may compare the distance to group device a with the distance to group device B. For example, if the distance to group device a is greater than the distance to group device B, the particular device may establish a direct connection with group device B and join the group of group device a and group device B; if the distance to group device a is less than the distance to group device B, the particular device may establish a direct connection with group device a and join the group of group device a and group device B.
Alternatively, when the first group device determines that the specific device having the temporary group function turned on has a pointing relationship with the first group device within a preset distance range and the second group device determines that the specific device has a pointing relationship with the second group device within a preset distance range (the groups in which the first group device and the second group device are located are different and are the first group and the second group respectively), the specific device may join the first group and the second group at the same time, or the specific device may select the two groups to determine to join one of the first group and the second group before establishing a direct connection with the first group device and the second group device.
Further, according to an exemplary embodiment of the present invention, when the device a opens the group function but does not create a group, if the device a can be searched by the group device X in another group and the device a and the group device X have a pointing relationship within a predetermined distance range, the group device X can add the device a to the other group, at which time, the device a becomes the group device a of the other group. Subsequently, the device a may also search for other devices within the preset distance range, which is not described herein again.
However, it should be understood that the above description with reference to the drawings is only listed for clearly understanding the technical idea of the present application, and the present application is not limited thereto, and the above-described manner of establishing a group and joining a group is also applied to other cases, for example, even if the first device turns on a group function and creates a group, the first device may be added to a group created by other devices in the above-described manner of joining a group.
The manner in which the group device determines the distance and pointing relationship with the target device is described in detail below.
In an exemplary embodiment of the present invention, the connection module 130 of the group device may include a positioning module (not shown), for example, a UWB positioning module, an RFID positioning module, a bluetooth positioning module, a WiFi positioning module, or a ZigBee positioning module, etc., which is used to determine the distance and pointing relationship between the group device and the target device. For example, when the positioning module included in the connection module 130 is a ZigBee positioning module, a certain number of base stations may be deployed in a specific environment through ZigBee technology, and when the base stations receive information sent by devices in real time, the information is uploaded to a server, and the distance and the pointing relationship between the devices may be determined through calculation processing by the server. For another example, when the positioning module included in the connection module 130 is a UWB positioning module, the positioning module may be configured to determine a distance and an angle between the group device and the target device, wherein the connection module 130 may determine that a pointing relationship exists between the group device and the target device when the angle between the group device and the target device is within a preset angle range.
By way of example only, an example of determining the distance and pointing relationship between a target device and a group device using UWB as a positioning module (hereinafter referred to as a UWB positioning module (not shown)) will be described in detail below in conjunction with fig. 2 and 3 (detailed description will be given below with an example of determining whether a target device is pointing to a group device).
Fig. 2 is a diagram illustrating determining coordinates of a target device according to an exemplary embodiment of the present invention; and fig. 3 is a diagram illustrating determining a distance between a target device and a group device according to an exemplary embodiment of the present invention.
As shown in fig. 2, the UWB positioning module of the group device includes three antennas for illustration (the UWB positioning module may also include more than three antennas). Three antennas of the UWB positioning module can be respectively P in a preset coordinate system1、P2And P3Wherein the three antennas P are connected1、P2And P3The resulting circumcenter O of the triangle may be the origin of coordinates of the preset coordinate system. Here, OP1=OP2=OP3,P1May be P1(x1,y1,0),P2May be P2(x2,y20), and P)3May be P3(x3,y30), in an exemplary embodiment of the invention, the coordinates of all three antennas are known. The target device may be abstracted as a point P in the preset coordinate system, and the coordinate of the point P may be P (x, y, z).
An example of determining the distance of each of the three antennas to the target device is described below.
As shown in FIG. 3, the antenna P of the group device1Can be at time T1Sending a data packet to a target device, the target device being operable at time T2Receiving antenna P from group device1At time T3To the antenna P1Sends back complex data packets and antenna P1Can be at time T4A reply packet is received from the target device. Here, in FIG. 3, TdelayIs the time T at which the target device receives the data packet2And the time T of sending back the complex data packet3The time delay therebetween. T isdelayMay be preset. The TF is a period of time during which a packet or a reply packet is transmitted. The reply packet may include a time T for the target device to receive the packet2About TdelayAnd a time T for the target device to send the reply packet3The information of (1).
The group device may calculate a group in a preset coordinate system by equation (1) belowAntenna P of group equipment1Distance d from target device P1
Figure BDA0003259222820000091
Wherein C is the wave velocity.
In the same way, the antennas P of the target device and the group device can be calculated respectively2And P3A distance d between2And d3
As shown in fig. 2, d has been calculated due to the above steps1、d2And d3Therefore, the coordinates P (x, y, z) of the target device can be calculated by the following equations (2) to (4):
Figure BDA0003259222820000092
thus, the distance OP between the group device and the target device can be calculated.
In addition, it can be calculated by the following equation (5)
Figure BDA0003259222820000094
And
Figure BDA0003259222820000095
wherein the vector of the Y axis is obtained by obtaining the coordinates P (x, Y, z) through the above steps
Figure BDA0003259222820000096
The coordinates are set to (0,1, 0).
Figure BDA0003259222820000093
When the angle θ is less than or equal to the preset angle, it may be determined that the target device is pointed to the group device.
The above examples describe a process of calculating the distance and angle between a group device and a target device based on UWB technology. Those skilled in the art will appreciate that this description is by way of example only, and that the scope of the invention is not limited thereto.
Further, in the exemplary embodiments of the present invention, when a device is added to a group, the device may establish a direct connection only with the device that added the device to the group, or may also establish a direct connection with other devices in the group after joining the group.
The following describes in detail the manner of data transmission between devices in a group.
Fig. 4 is a diagram illustrating a data transmission manner between devices in a group according to an exemplary embodiment of the present invention.
As shown in fig. 4, after the device a determines that the device B, the device C, and the device D have a pointing relationship with the device a within the preset distance range, the device a may establish a direct connection with the device B, the device C, and the device D, and join the device B, the device C, and the device D into a group created by or in which the device a is located, and after the device C determines that the device E has a pointing relationship with the device C within the preset distance range, the device C may establish a direct connection with the device E, and join the device E into a group in which the device C is located, at this time, the device E is indirectly connected with the device a, the device B, and the device D in the group.
In this case, when the a device transmits data, the B device, the C device, and the D device may simultaneously receive the data transmitted by the a device, and after the C device finishes receiving the data, the C device may forward the data to the E device.
Also, in this case, when the C device transmits data, the a device and the E device may simultaneously receive the data transmitted by the C device, and after the a device finishes receiving the data, the a device may forward the data to the D device and the B device.
That is, when a device in a group sends data, the device in the group directly connected to the device receives the data and forwards the data to the device in the group indirectly connected to the device step by step.
Fig. 5 is a diagram illustrating a data transmission manner between devices in the group of fig. 4 when there is a device in the group to exit according to an exemplary embodiment of the present invention.
In the group of fig. 4, if the C device is disconnected from the a device (or the C device exits the group), the C device may transmit information about the E device to the a device, and then the a device may establish a direct connection with the E device. Alternatively, if the C device is disconnected from the a device (or the C device exits the group), the C device may also transmit information about the a device to the E device, and then the E device may establish a direct connection with the a device. That is, when the C device is disconnected from the a device, a direct connection is established between the a device and a device in the group that is directly connected to the C device, so that the disconnection of the C device in the group does not affect one-to-many data transmission between other devices in the group.
In this case, as shown in fig. 5, when the a device transmits data, the E device, the B device, and the D device may simultaneously receive the data transmitted by the a device.
Also, in this case, when the E device transmits data, the a device may receive the data transmitted by the E device, and after the a device completes receiving the data, the a device may forward the data to the B device and the D device.
Fig. 6 is a diagram illustrating a data transmission manner between devices in a group according to another exemplary embodiment of the present invention.
As shown in fig. 6, after the device a determines that the device B has a pointing relationship with the device a within the preset distance range, the device a may establish a direct connection with the device B, and join the device B into a group of the device a; after the B device determines that the C device has a pointing relationship with the B device within a preset distance range, the B device may establish a direct connection with the C device and join the C device into the group, and the B device may send connection information with the C device to the a device to which the B device has been connected, so that the a device may establish a direct connection with the C device newly joining the group. Alternatively, after the C device joins the group, the B device may transmit all its connection information to the C device, so that the C device newly joining the group may establish a direct connection with all devices in the group.
In this case, when the a device transmits data, the B device and the C device may simultaneously receive the data transmitted by the a device. That is, after a device is added to a group, the device establishes direct connections with all devices in the group, and when any device in the group transmits data, other devices in the group than the any device simultaneously receive the data.
In this case, when any device in the group disconnects or exits the group, one-to-many data transmission between other devices in the group is not affected.
In addition, for example, when a specific device joined by a certain device in the group cannot establish a direct connection with the a device due to a long distance, the specific device may search for and establish a direct connection with a device in the group that is within a certain distance range and directly connected with the a device, and when the a device transmits data, the device in the group that is within a certain distance range and directly connected with the a device may receive the data and may forward the data to the specific device. Optionally, when the a device sends data, the certain device that causes the specific device to join the group may forward the data to the specific device.
The devices in the group may connect and transfer data based on the bluetooth protocol, but are not limited thereto, e.g., may also be based on WiFi, RFID, NFC protocols, etc.
The operation of the devices in the group to exit the group is described in detail below. The system 100 according to an exemplary embodiment of the present invention may further include an exit module (not shown) that may be configured to cause a device to exit the joined group when the device performs a predetermined action.
Fig. 7 illustrates a schematic diagram of a device exiting a group according to an exemplary embodiment of the present invention. For example only, in FIG. 7, devices in the group may exit the group by flipping.
The motion state of the device can be identified according to data of a gyroscope, a sensor and the like in the device, and when any device in the group is turned from the front side to the back side within a preset time range (for example, the time of turning degree close to 180 degrees is less than 400ms), the device can directly exit the group.
The preset time range may be an average value obtained by a test with a right-hand flip phone. For example, the preset time range may be set to 400 ms.
As shown in (1) and (2) of fig. 7, the turning of the device from the horizontal front side to the horizontal back side may mean that the absolute value of the number of degrees of the turning of the device about the Y axis is greater than a preset number of degrees, for example, 175 degrees. That is, when the device in the vertical screen is rapidly turned from the front to the left or from the front to the right within a preset time range by more than a preset number of degrees, the device can directly exit the group.
As shown in (3) and (4) of fig. 7, the turning of the device from the horizontal front side to the horizontal back side may mean that the absolute value of the number of degrees of the turning of the device about the X axis is greater than a preset number of degrees, for example, 175 degrees. That is, when the device on the horizontal screen is turned inwards or outwards from the front side within a preset time range, the device can directly exit the group.
Examples of the device flipping quickly are not limited to the above examples, and for example, when the device in the landscape is flipped from the front side quickly to the left or from the right more than a preset number of degrees within a preset time range, the device may also directly exit the group.
The operation of the gyroscope in the device to calculate the flip angle of the device to identify the motion state of the device will be described in detail below in conjunction with fig. 8.
Fig. 8 illustrates a flowchart for identifying a motion state of a device according to an exemplary embodiment of the present invention. By way of example only, a gyroscope is used in fig. 8 to identify the motion state of the device.
The device may register the gyroscope and may specify a polling interval of the gyroscope after the device joins the group (step S801), for example, the polling interval may be specified as 20 ms.
The gyroscope may acquire the speed of the apparatus turning around the X-axis or the Y-axis (step S802), and may calculate the absolute value θ of the angle of the apparatus turning around the X-axis or the Y-axis within a preset time range (e.g., 400ms)xAnd thetay(step S803). When theta isxAnd thetayWhen it is greater than or equal to the preset value or close to the preset value (for example, the preset angle may be pi) (yes at step S804), the device may unregister the gyroscope, and at this time, the device may exit the group (step S805). When theta isxAnd thetayIf the value is smaller than the preset value or not close to the preset value (no in step S804), the device may continue to remain in the group.
The above-described operation of the device to exit the group is only an example, and the operation of the device to exit the group may further include other predetermined actions, such as pressing a predetermined key, tapping a screen, shaking the device, and the like. The operation of the device to exit the group may also be customized by the user. When any device in the group performs a predetermined action, the any device exits the group.
Fig. 9 is a diagram illustrating file transfer between a plurality of users and a plurality of devices according to an exemplary embodiment of the present invention.
First, as shown in (1) in fig. 9, a user a may open a temporary group function on a mobile phone and create a temporary group; as shown in (2) of fig. 9, the user B may open the temporary group function on the mobile phone, and automatically join the temporary group after pointing to the mobile phone of the user a within a predetermined distance range; as shown in (3) of fig. 9, the user C may turn on the temporary group function on the mobile phone, and automatically join the temporary group after pointing to the mobile phone of the user B within a predetermined distance range. As shown in (4) of fig. 9, user a may send the file on his handset to the temporary group, as shown in (5) of fig. 9, which may be received by both user B and user C's handsets. As shown in (6) in fig. 9, if any of the user a, the user B, and the user C turns the handset over, the user exits the temporary group.
Fig. 10 is a diagram illustrating file transfer between one user and a plurality of devices according to an exemplary embodiment of the present invention.
First, as shown in (1) in fig. 10, a user opens a temporary group function on a mobile phone and creates a temporary group; as shown in (2) of fig. 10, the user opens the temporary group function on the television, and points the mobile phone to the television within a predetermined distance range, and the television can automatically join the temporary group; as shown in (3) of fig. 10, the user opens the temporary group function on the notebook computer and points the mobile phone to the notebook computer within a predetermined distance range, and the notebook computer can automatically join the temporary group. As shown in (4) in fig. 10, the user can send a file to the temporary group on the notebook; as shown in (5) in fig. 10, the user can receive the file on a cell phone and a television. As shown in (6) in fig. 10, if the user turns the handset over, the handset exits the temporary group. In addition, the notebook or the television can exit the temporary group in other manners, for example, the notebook or the television exits the temporary group by performing a predetermined operation on the notebook or the television by the user, or the notebook or the television exits the temporary group by performing a predetermined operation on the mobile phone by the user when the mobile phone is in the temporary group.
Fig. 11 is a flowchart illustrating a method for implementing a group function according to an exemplary embodiment of the present invention.
According to an exemplary embodiment of the present invention, first, it is determined whether a group function is turned on and a group is created by a first device (steps S1101 and S1102), and when the group function is turned on and the group is created by the first device (yes at step S1101 and yes at step S1102), one or more devices which have turned on the group function and do not join the group created by the first device are searched by the first device and a distance and a pointing relationship between the first device and the one or more devices are determined (step S1103). When the distance between the first device and a second device of the one or more devices is within the preset distance range and there is a pointing relationship between the first device and the second device, a direct connection is established between the first device and the second device, and the second device is added to the group by the first device (step S1104).
When the first device has opened the group function but has not created a group (yes at step S1101 and no at step S1102), and the first device has been added to another group created by another device (yes at step S1112), searching, by the first device, for at least one device that has opened the group function and has not joined the other group and determining a distance and a pointing relationship between the first device and the at least one device (step S1113). When the distance between the first device and a third device of the at least one device is within the preset distance range and there is a pointing relationship between the first device and the third device, establishing a direct connection between the first device and the third device, and adding the third device to the other group by the first device (step S1114).
In exemplary embodiments of the present invention, the second device and the third device described above represent not only a single device but also a plurality of devices. For example, when distances between a first device and a plurality of second devices of the one or more devices are within a preset distance range and there is a pointing relationship between the first device and the plurality of second devices, direct connections are respectively established between the first device and the plurality of second devices, and the plurality of second devices are added to a group by the first device. Further, after the first device adds the plurality of second devices to the group, the first device may continue to search for other devices to join the group or no longer search for them under a specific operation of the user.
This has already been described in detail above in connection with fig. 1 to 6 and will therefore not be described in detail here.
By identifying the position and the angle between the devices based on a specific positioning technology, when any device has a pointing relationship with the central device, the central device can join the any device into a group of the central device, and meanwhile, the any device can also become the central device, that is, all devices in the group can become the central device, so that more users can conveniently and quickly join the group.
All the devices in the group are connected with each other through a transmission protocol, any device sends a file, and other devices can receive the file, so that a data transmission system of one-to-many devices is constructed, data transmission of the one-to-many devices can be realized without a network server, and privacy disclosure and high requirements on network connection are avoided.
By identifying the action of the equipment in the group, when any equipment in the group executes a preset action (for example, the equipment is turned from the horizontal front to the horizontal back), the any equipment can exit the group, so that the complicated exiting operation after a user joins the group is avoided, and the smooth experience of the user in using the temporary group function is improved.
As an example, an apparatus according to an example embodiment of the present disclosure may be a PC computer, a tablet device, a personal digital assistant, a smartphone, or other device capable of performing the above-described method. The apparatus need not be a single electronic device, but can be any collection of devices or circuits that can perform the methods described herein, either individually or in combination. The smart device may also be part of an integrated control system or system manager, or may be configured as a portable electronic device that interfaces with local or remote (e.g., via wireless transmission).
In an electronic device, a processor may include a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a programmable logic device, a special-purpose processor system, a microcontroller, or a microprocessor. By way of example, and not limitation, processors may also include analog processors, digital processors, microprocessors, multi-core processors, processor arrays, network processors, and the like.
The processor may execute instructions or code stored in the memory, which may also store data. The instructions and data may also be transmitted or received over a network via a network interface device, which may employ any known transmission protocol.
The memory may be integral to the processor, e.g., RAM or flash memory disposed within an integrated circuit microprocessor or the like. Further, the memory may comprise a stand-alone device, such as an external disk drive, storage array, or any other storage device usable by a database system. The memory and the processor may be operatively coupled or may communicate with each other, such as through an I/O port, a network connection, etc., so that the processor can read files stored in the memory.
In addition, the electronic device may also include a video display (such as a liquid crystal display) and a user interaction interface (such as a keyboard, mouse, touch input device, etc.). All components of the electronic device may be connected to each other via a bus and/or a network.
According to an embodiment of the present disclosure, there may also be provided a computer-readable storage medium storing instructions that, when executed by at least one processor, cause the at least one processor to perform a method according to an example embodiment of the present disclosure. Examples of the computer-readable storage medium herein include: read-only memory (ROM), random-access programmable read-only memory (PROM), electrically erasable programmable read-only memory (EEPROM), random-access memory (RAM), dynamic random-access memory (DRAM), static random-access memory (SRAM), flash memory, non-volatile memory, CD-ROM, CD-R, CD + R, CD-RW, CD + RW, DVD-ROM, DVD-R, DVD + R, DVD-RW, DVD + RW, DVD-RAM, BD-ROM, BD-R, BD-R LTH, BD-RE, Blu-ray or compact disc memory, Hard Disk Drive (HDD), solid-state drive (SSD), card-type memory (such as a multimedia card, a Secure Digital (SD) card or a extreme digital (XD) card), magnetic tape, a floppy disk, a magneto-optical data storage device, an optical data storage device, a hard disk, a magnetic tape, a magneto-optical data storage device, a hard disk, a magnetic tape, a magnetic data storage device, a magnetic tape, a magnetic data storage device, a magnetic tape, a magnetic data storage device, a magnetic tape, a magnetic data storage device, a magnetic tape, a magnetic data storage device, A solid state disk, and any other device configured to store and provide a computer program and any associated data, data files, and data structures to a processor or computer in a non-transitory manner such that the processor or computer can execute the computer program. The computer program in the computer-readable storage medium described above can be run in an environment deployed in a computer apparatus, such as a client, a host, a proxy device, a server, and the like, and further, in one example, the computer program and any associated data, data files, and data structures are distributed across a networked computer system such that the computer program and any associated data, data files, and data structures are stored, accessed, and executed in a distributed fashion by one or more processors or computers.
According to an embodiment of the present disclosure, there may also be provided a computer program product in which instructions are executable by at least one processor in an electronic device to perform a method according to an exemplary embodiment of the present disclosure.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the claims.

Claims (16)

1. A system for implementing group functionality in a first device, comprising:
the group opening module is configured to open the group function;
a group creation module configured to create a group, an
A connection module configured to, when a group function is turned on and a group is created, search for one or more devices that have turned on the group function and do not join the group created by the first device and determine a distance and a pointing relationship between the first device and the one or more devices, establish a direct connection between the first device and a second device among the one or more devices when the distance between the first device and the second device is within a preset distance range and the pointing relationship exists between the first device and the second device, and add the second device to the group.
2. The system of claim 1, wherein the connection module is further configured to:
when the group function is opened but the group creation module does not create a group and the first device has been added to another group created by another device, searching for at least one device which has opened the group function and does not join the other group and determining a distance and a pointing relationship between the first device and the at least one device;
when the distance between the first device and a third device of the at least one device is within the preset distance range and there is a pointing relationship between the first device and the third device, establishing a direct connection between the first device and the third device and adding the third device to the other group.
3. The system of claim 1, wherein when one device in the group transmits data, the device in the group directly connected to the device receives the data and forwards the data to the device in the group indirectly connected to the device in a progressive manner.
4. The system of claim 1, wherein the connection module is further configured to:
when the second device is disconnected from the first device, a direct connection is established between the first device and a device in the group that is directly connected to the second device.
5. The system of claim 1, wherein the connection module is further configured to:
when a first device is added to another group created by another device, a direct connection is established between the first device and all devices in the other group.
6. The system of claim 1, further comprising: an exit module configured to, in response to the exit module,
when the first device performs the predetermined action, the first device is caused to exit the joined group.
7. The system of claim 2, wherein the connection module comprises:
a positioning module configured to determine a distance and an angle between a first device and the one or more devices,
when the angle between the first device and the second device is within a preset angle range, the connection module determines that a pointing relationship exists between the first device and the second device.
8. A method for implementing group functionality in a first device, comprising:
determining whether a group function is turned on and a group is created by a first device;
when the first device opens the group function and creates a group, searching, by the first device, for one or more devices that have opened the group function and do not join the group created by the first device and determining a distance and a pointing relationship between the first device and the one or more devices;
establishing a direct connection between the first device and a second device of the one or more devices and adding the second device to the group by the first device when a distance between the first device and the second device is within a preset distance range and there is a pointing relationship between the first device and the second device.
9. The method of claim 8, further comprising:
when a first device opens a group function but does not create a group and the first device has been added to another group created by another device, searching, by the first device, for at least one device that has opened a group function and does not join the other group and determining a distance and a pointing relationship between the first device and the at least one device;
when the distance between the first device and a third device of the at least one device is within the preset distance range and there is a pointing relationship between the first device and the third device, establishing a direct connection between the first device and the third device, and adding the third device to the other group by the first device.
10. The method of claim 8, wherein when one device in the group transmits data, the device in the group directly connected to the device receives the data and forwards the data to the device in the group indirectly connected to the device in a progressive manner.
11. The method of claim 8, further comprising:
when the second device is disconnected from the first device, a direct connection is established between the first device and a device in the group that is directly connected to the second device.
12. The method of claim 8, wherein,
when a first device is added to another group created by another device, a direct connection is established between the first device and all devices in the other group.
13. The method of claim 8, further comprising:
when the first device performs the predetermined action, the first device is caused to exit the joined group.
14. The method of claim 9, wherein,
the step of determining the distance and pointing relationship between the first device and the one or more devices comprises: determining a distance and an angle between a first device and the one or more devices; and
and when the angle between the first device and the second device is within a preset angle range, determining that a pointing relationship exists between the first device and the second device.
15. A computer readable storage medium having computer program instructions stored thereon, which when executed by a processor, cause the processor to implement the method of any one of claims 8 to 14.
16. A system comprising at least one computing device and at least one storage device storing instructions that, when executed by the at least one computing device, cause the at least one computing device to perform the method of any of claims 8 to 14.
CN202111067856.7A 2021-09-13 2021-09-13 Method and system for performing group functions Pending CN113765682A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111067856.7A CN113765682A (en) 2021-09-13 2021-09-13 Method and system for performing group functions

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111067856.7A CN113765682A (en) 2021-09-13 2021-09-13 Method and system for performing group functions

Publications (1)

Publication Number Publication Date
CN113765682A true CN113765682A (en) 2021-12-07

Family

ID=78795228

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111067856.7A Pending CN113765682A (en) 2021-09-13 2021-09-13 Method and system for performing group functions

Country Status (1)

Country Link
CN (1) CN113765682A (en)

Citations (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070263560A1 (en) * 2006-05-10 2007-11-15 Mikko Saarisalo Push-to-talk over cellular group set-up and handling using near field communication (NFC)
CN101384025A (en) * 2007-09-04 2009-03-11 英华达(南京)科技有限公司 Method for sharing video and audio file of mobile terminal device in the same group
CN103164494A (en) * 2011-12-16 2013-06-19 三星电子(中国)研发中心 Group association device and group association method used for carrying out group association according to file eigenvalues
CN103345361A (en) * 2013-06-26 2013-10-09 腾讯科技(北京)有限公司 Group joining method and relevant devices and systems
CN103702291A (en) * 2012-09-27 2014-04-02 中兴通讯股份有限公司 Wi-Fi (wireless fidelity)-based group establishing method and WiFi directly-connecting equipment
CN104468335A (en) * 2014-12-11 2015-03-25 北京奇虎科技有限公司 Communication method and device based on relative position information
US20160012729A1 (en) * 2014-07-08 2016-01-14 The Toronto-Dominion Bank Systems and methods for providing sensor-based location proximity detection and notification
CN105338491A (en) * 2015-11-19 2016-02-17 杨川林 Mobile phone based multi-user real-time dynamic range and azimuth monitoring method
EP3046371A1 (en) * 2015-01-15 2016-07-20 Gogotick, S.L. Method for exchanging information between a group of emitter receiver devices
US20160295353A1 (en) * 2015-03-31 2016-10-06 Line Corporation Terminal devices, information processing methods, and computer readable storage mediums
CN106557376A (en) * 2016-11-30 2017-04-05 北京奇虎科技有限公司 Terminal unit and its group's foundation, Adding Way and device and server
CN107087009A (en) * 2017-06-15 2017-08-22 深圳市海曼科技有限公司 A kind of realization method and system of collaborative share
CN107094280A (en) * 2016-09-13 2017-08-25 口碑控股有限公司 A kind of customer group establishment, resource allocation methods and equipment
CN107360636A (en) * 2017-07-18 2017-11-17 广东欧珀移动通信有限公司 A kind of data transmission method, device, terminal and computer-readable recording medium
WO2018018866A1 (en) * 2016-07-29 2018-02-01 中兴通讯股份有限公司 Data sharing method and device
CN108429751A (en) * 2018-03-15 2018-08-21 广州优视网络科技有限公司 File transfer control method, device and computer readable storage medium, terminal
CN109302677A (en) * 2018-10-31 2019-02-01 北京德润誉达科技有限公司 Group's Adding Way and device based on user location
CN111835530A (en) * 2020-07-10 2020-10-27 Oppo广东移动通信有限公司 Group joining method and device
CN112118539A (en) * 2019-06-20 2020-12-22 青岛海信移动通信技术股份有限公司 Method and device for device information interaction between terminals
CN112511993A (en) * 2019-09-16 2021-03-16 中兴通讯股份有限公司 Method, device and terminal for group data transmission
CN113038627A (en) * 2019-12-05 2021-06-25 华为技术有限公司 File sharing method, mobile device and computer storage medium
US20210256037A1 (en) * 2020-02-15 2021-08-19 Near Pte. Ltd. Method for real-time cohort creation based on entity attributes derived from partially observable location data

Patent Citations (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070263560A1 (en) * 2006-05-10 2007-11-15 Mikko Saarisalo Push-to-talk over cellular group set-up and handling using near field communication (NFC)
CN101384025A (en) * 2007-09-04 2009-03-11 英华达(南京)科技有限公司 Method for sharing video and audio file of mobile terminal device in the same group
CN103164494A (en) * 2011-12-16 2013-06-19 三星电子(中国)研发中心 Group association device and group association method used for carrying out group association according to file eigenvalues
CN103702291A (en) * 2012-09-27 2014-04-02 中兴通讯股份有限公司 Wi-Fi (wireless fidelity)-based group establishing method and WiFi directly-connecting equipment
CN103345361A (en) * 2013-06-26 2013-10-09 腾讯科技(北京)有限公司 Group joining method and relevant devices and systems
US20160012729A1 (en) * 2014-07-08 2016-01-14 The Toronto-Dominion Bank Systems and methods for providing sensor-based location proximity detection and notification
CN104468335A (en) * 2014-12-11 2015-03-25 北京奇虎科技有限公司 Communication method and device based on relative position information
EP3046371A1 (en) * 2015-01-15 2016-07-20 Gogotick, S.L. Method for exchanging information between a group of emitter receiver devices
US20160295353A1 (en) * 2015-03-31 2016-10-06 Line Corporation Terminal devices, information processing methods, and computer readable storage mediums
CN105338491A (en) * 2015-11-19 2016-02-17 杨川林 Mobile phone based multi-user real-time dynamic range and azimuth monitoring method
WO2018018866A1 (en) * 2016-07-29 2018-02-01 中兴通讯股份有限公司 Data sharing method and device
CN107094280A (en) * 2016-09-13 2017-08-25 口碑控股有限公司 A kind of customer group establishment, resource allocation methods and equipment
CN106557376A (en) * 2016-11-30 2017-04-05 北京奇虎科技有限公司 Terminal unit and its group's foundation, Adding Way and device and server
CN107087009A (en) * 2017-06-15 2017-08-22 深圳市海曼科技有限公司 A kind of realization method and system of collaborative share
CN107360636A (en) * 2017-07-18 2017-11-17 广东欧珀移动通信有限公司 A kind of data transmission method, device, terminal and computer-readable recording medium
CN108429751A (en) * 2018-03-15 2018-08-21 广州优视网络科技有限公司 File transfer control method, device and computer readable storage medium, terminal
CN109302677A (en) * 2018-10-31 2019-02-01 北京德润誉达科技有限公司 Group's Adding Way and device based on user location
CN112118539A (en) * 2019-06-20 2020-12-22 青岛海信移动通信技术股份有限公司 Method and device for device information interaction between terminals
CN112511993A (en) * 2019-09-16 2021-03-16 中兴通讯股份有限公司 Method, device and terminal for group data transmission
CN113038627A (en) * 2019-12-05 2021-06-25 华为技术有限公司 File sharing method, mobile device and computer storage medium
US20210256037A1 (en) * 2020-02-15 2021-08-19 Near Pte. Ltd. Method for real-time cohort creation based on entity attributes derived from partially observable location data
CN111835530A (en) * 2020-07-10 2020-10-27 Oppo广东移动通信有限公司 Group joining method and device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
XIAOPING WANG; JUN LUO; YUNHAO LIU; SHANSHAN LI; DEZUN DONG: "Component-Based Localization in Sparse Wireless Networks", IEEE/ACM TRANSACTIONS ON NETWORKING, 30 April 2011 (2011-04-30) *
朱春江;丁革媛;孙咏;贾军营;: "群组聊天业务在IMS客户端的设计与实现", 计算机工程与设计, no. 07, 16 July 2011 (2011-07-16) *
薛烨: "基于地理围栏动态分配群组成员的信息交换平台", 中国优秀硕士论文电子期刊网, 15 August 2015 (2015-08-15) *

Similar Documents

Publication Publication Date Title
US20210204127A1 (en) Image Sharing Method and System, and Electronic Device
US11372537B2 (en) Image sharing method and electronic device
CN106797553B (en) Method for connecting to external device and electronic device implementing the method
US11341882B2 (en) Electronic device, method, and computer readable medium for providing screen sharing service through external electronic device
JP2017530564A (en) Connection state prompting method and apparatus
KR20140123076A (en) A device control method and apparatus
EP3097743B1 (en) Electronic device for controlling an external device using a number and method thereof
CN108280020B (en) Monitoring method and device of computer equipment, terminal and computer storage medium
EP3039556B1 (en) Method, apparatus, and recording medium for interworking with external terminal
US20150293670A1 (en) Method for operating message and electronic device therefor
CN103826208A (en) Wireless interaction method, terminal and system
US11323880B2 (en) Method for wireless connection and electronic device therefor
US20150326705A1 (en) Mobile Device Data Transfer Using Location Information
EP3171608B1 (en) Playing device grouping control method and user terminal
US20160050280A1 (en) Wireless Access Point for Facilitating Bidirectional, Application-Layer Communication Among Computing Devices
CN113765682A (en) Method and system for performing group functions
WO2016095449A1 (en) Virtual desktop display method, terminal and storage medium
JP6900546B2 (en) Image sharing methods and electronic devices
CN112822790B (en) Data transmission method and device, electronic equipment and computer readable storage medium
US20180121073A1 (en) Gesture based smart download
NL2031499B1 (en) Input device screen-share facilitation
CN113867592A (en) Information display method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination