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

Method and system for performing group functions Download PDF

Info

Publication number
CN113765682B
CN113765682B CN202111067856.7A CN202111067856A CN113765682B CN 113765682 B CN113765682 B CN 113765682B CN 202111067856 A CN202111067856 A CN 202111067856A CN 113765682 B CN113765682 B CN 113765682B
Authority
CN
China
Prior art keywords
group
devices
distance
created
function
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.)
Active
Application number
CN202111067856.7A
Other languages
Chinese (zh)
Other versions
CN113765682A (en
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/CN113765682B/en
Publication of CN113765682A publication Critical patent/CN113765682A/en
Application granted granted Critical
Publication of CN113765682B publication Critical patent/CN113765682B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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 are provided. A system for implementing group functionality in a first device, comprising: a group opening module configured to open a group function; a group creation module configured to create a group, and a connection module configured to search for one or more devices that have an on group function and that 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 when the group function is on and the group is created, establish a direct connection between the first device and the second device 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.

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, the file transmission modes of the user mainly include the following two modes:
One way is to implement one-to-many data transmission by using bluetooth transmission, which performs bluetooth connection by searching for service devices that can perform bluetooth connection and performing bluetooth connection with such service devices, and at the same time obtains data information of the service devices, identifies different service devices for a matching tag corresponding to each service device, then generates a corresponding key for the service devices to perform bluetooth binding, and sends a control instruction to the service devices after completing bluetooth binding to perform a corresponding action.
Another way is with social software, the user can create a social group, such as a micro-letter group, QQ group, etc., on the social software, and then transmit the file in the social group. However, in many cases, multiple users only need to temporarily share files, if social groups are created for each file transmission, useless groups on social software are more and chaotic, so that the users are inconvenient to memorize and manage, and users are more cumbersome to log out of the groups, and the users are required to open the social software to find out the groups and log out. In addition, the files are transmitted through the social group and need to be processed through the server, at the moment, the speed of transmitting the files is greatly influenced by the network, particularly, in the outdoor situation, the data network is unstable, the transmission speed is lower when the transmission speed of the files is larger, and the user experience is poor; second, if the file is transmitted through the server, there is necessarily a hidden danger of privacy disclosure.
However, at present, whether the android device or the iOS device transmits files through bluetooth and Wi-Fi, only point-to-point transmission is supported, and one-time transmission to a plurality of devices is not supported; second, when using bluetooth and Wi-Fi to transfer files, it is necessary to select a transfer object, and when there are many peripheral devices of the user, and if there are duplicate device names, it is difficult for the user to quickly select a transfer object.
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: a group opening module configured to open a group function; a group creation module configured to create a group, and a connection module configured to search for one or more devices that have an on group function and that 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 when the group function is on and the group is created, establish a direct connection between the first device and the second device 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.
The connection module may be further configured to: searching for at least one device that has turned on the group function and has not joined another group and determining a distance and pointing relationship between the first device and the at least one device when the group function is turned on but the group creation module has not created a group and the first device has been added to the other group created by the other 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 a pointing relationship exists between the first device and the third device, a direct connection is established between the first device and the third device is added 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 forward the data step by step to the device in the group indirectly connected with the device.
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 further 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 that may be 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 the first device has turned on a group function and whether a group has been created; when the first device opens the group function and creates a group, searching, by the first device, one or more devices that have opened the group function and have not joined the group created by the first device and determining a distance and pointing relationship between the first device and the one or more devices; when the distance between the first device and the 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, 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.
The method may further comprise: when the first device turns on the 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 turned on the group function and does not join the other group and determining a distance and pointing relationship between the first device and the at least one device; when the distance between the first device and the third device of the at least one device is within the preset distance range and a pointing relationship exists between the first device and the third device, a direct connection is established between the first device and the third device, and the third device is added 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 forward the data step by step to the device in the group indirectly connected with the device.
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 a predetermined action, the first device is caused to exit the joined group.
The step of determining a distance and pointing relationship between the first device and the one or more devices may comprise: determining a distance and an angle between the first device and the one or more devices; and wherein when the angle of the first device and the second device is within the preset angle range, determining that a pointing relationship exists between the first device and the second device.
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 functions in a first device.
According to another exemplary embodiment of the present 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 a group function in a first apparatus.
According to the embodiment of the invention, the user can quickly establish the decentralised temporary group through simple operation, localized data transmission of one-to-many equipment 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 according to an exemplary embodiment of the present invention;
Fig. 2 is a diagram illustrating a determination of coordinates of a target device according to an exemplary embodiment of the present invention;
Fig. 3 is a diagram illustrating determination of a distance between a target device and a group device according to an exemplary embodiment of the present invention;
fig. 4 is a schematic diagram illustrating a data transmission manner between devices in a group according to an exemplary embodiment of the present invention;
FIG. 5 is a schematic diagram illustrating a manner of data transfer between devices in the group of FIG. 4 when there are devices in the group exiting, according to an exemplary embodiment of the present invention;
Fig. 6 is a schematic diagram illustrating a data transmission manner between devices in a group according to another exemplary embodiment of the present invention;
FIG. 7 shows a schematic diagram of a device exiting a group in accordance with an exemplary embodiment of the invention;
fig. 8 shows a flowchart for identifying a motion state of a device according to an exemplary embodiment of the present invention;
FIG. 9 is a schematic diagram illustrating file transfer between multiple devices of multiple users according to an exemplary embodiment of the present invention;
FIG. 10 is a diagram illustrating file transfer between a user's multiple devices according to an exemplary 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 enable those of ordinary skill in the art to better understand the technical solutions of the present disclosure, 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 foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The embodiments described in the examples below are not representative of all embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying 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 may use the system 100 to implement group functions with other devices that have installed the system 100.
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 turn on a group function using the group on module 110 and create a group using the group creation module 120 and then join other devices that also install the system 100 to the group created by itself, or the first device may turn on a group function using only the group on module 110 and then join a group created by another device without creating a group, as will be explained in detail below.
When the group function is turned on and the group is created in the first device, the connection module 130 may search 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. Then, the second device joining the group may also search for other devices within a preset distance range that have turned on the group function and have not joined the group, thereby joining the device in a pointing relationship with the second device to the group.
And when the group function is turned on in the first device but the group is not created, the first device may be added to another group created by another device in a similar manner as 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 also search for at least one device that has turned on the group function and has not joined the other group and determine a distance and a pointing relationship between the first device and the at least one device, and when a distance between the first device and a third device of the at least one device is within the preset distance range and a pointing relationship exists between the first device and the third device, establish a direct connection between the first device and the third device and add the third device to the other group.
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 decentralised temporary group. This will be explained in more detail later.
In an exemplary embodiment of the invention, the existence of a pointing relationship between devices means that one device points to another device or that another device points to the device. And the absence of a pointing relationship between devices means that one device does not point to another device and that the other device does not point to the device.
Further, in the exemplary embodiment of the present invention, for convenience of explanation and distinction, a device that created 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 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 a 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 join the target device B to the group of the group device a by the group device a. At this time, the target device B becomes the group device B, and the group device B may 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 into the group where the group device a and the group device B are located. At this time, the target device C becomes the group device C, and the group device C may similarly search for other devices within the preset distance range.
Alternatively, when the group device a determines that the group device a points to the target device D with the group function turned on within the preset distance range, the group device a may also establish a direct connection with the target device D, and join the target device D to the group of the group device a by 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 an on group function 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 to the group of the group device a and the group device B.
For example, when the group device a determines that a specific device that has turned on the group function 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, the specific device may compare the distance with the group device a and the distance with the group device B. For example, if the distance to group device a is greater than the distance to group device B, then that 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, then 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 a specific device that has turned on the temporary group function 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, respectively, the first group and the second group), 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 joining 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 turns on 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 has a pointing relationship with the group device X within a predetermined distance range, the group device X may 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 will not be described here.
However, it should be understood that the above description with reference to the accompanying drawings is merely enumerated for clarity of understanding of the technical concept 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 a 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 location module (not shown), e.g., a UWB location module, an RFID location module, a bluetooth location module, a WiFi location module, or a ZigBee location module, etc., for determining a 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 by ZigBee technology, and when the base stations receive information sent by the devices in real time, the information is uploaded to a server, and the distance and the pointing relationship between the devices can be determined through calculation processing of 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 when the angle of the group device and the target device is within a preset angle range, the connection module 130 may determine that a pointing relationship exists between the group device and the target device.
By way of example only, an example of determining a distance and pointing relationship between a target device and a group device using UWB as a positioning module (hereinafter referred to as UWB positioning module (not shown)) will be described in detail below in connection with fig. 2 and 3 (the detailed description will be given below taking as an example whether the target device points to the group device).
Fig. 2 is a diagram illustrating a determination of coordinates of a target device according to an exemplary embodiment of the present invention; and fig. 3 is a diagram illustrating a determination of 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 is illustrated as including three antennas (the UWB positioning module may further include more than three antennas). The three antennas of the UWB positioning module may be P 1、P2 and P 3 in a preset coordinate system, respectively, where the outer center O of the triangle obtained by connecting the three antennas P 1、P2 and P 3 may be the origin of coordinates of the preset coordinate system. Here, the coordinates of OP 1=OP2=OP3,P1 may be the coordinates of P 1(x1,y1,0),P2 may be P 2(x2,y2, 0) and the coordinates of P 3 may be P 3(x3,y3, 0), the coordinates of all three antennas being known in the exemplary embodiment of the present invention. The target device may be abstracted as a P point in the preset coordinate system, and the coordinates of the P point 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, antenna P 1 of the group device may transmit a data packet to the target device at time T 1, the target device may receive a data packet from antenna P 1 of the group device at time T 2 and transmit a reply data packet to antenna P 1 at time T 3, and antenna P 1 may receive a reply data packet from the target device at time T 4. Here, in fig. 3, T delay is a time delay between a time T 2 when the target device receives the packet and a time T 3 when the reply packet is transmitted. T delay may be preset. The TF is the period of time during which a data packet or reply data packet is transmitted. The reply packet may include information about the time T 2 at which the target device received the packet, information about T delay, and information about the time T 3 at which the target device sent the reply packet.
The group device may calculate a distance d 1 between an antenna P 1 of the group device and the target device P in the preset coordinate system by the following equation (1):
Wherein C is the wave velocity.
In the same way, distances d 2 and d 3 between the antennas P 2 and P 3 of the target device and the group device, respectively, can be calculated.
As shown in fig. 2, since d 1、d2 and d 3 have been calculated in the above steps, the coordinates P (x, y, z) of the target device can be calculated by the following equations (2) to (4):
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)And/>Wherein the coordinates P (x, Y, z) have been obtained by the above procedure, the vector/>, of the Y-axis can be determinedThe coordinates are set to (0, 1, 0).
When the angle θ is less than or equal to the preset angle, it may be determined that the target device is pointing 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 recognize that this description is exemplary only and that the scope of the invention is not so limited.
Furthermore, in 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 manner in which data is transmitted between devices in a group is described in detail below.
Fig. 4 is a schematic 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 a device determines that the B device, the C device, and the D device have a pointing relationship with the a device within a preset distance range, the a device may establish a direct connection with the B device, the C device, and the D device, and join the B device, the C device, and the D device to a group created by or in which the a device is located, and after the C device determines that the E device has a pointing relationship with the C device within a preset distance range, the C device may establish a direct connection with the E device, and join the E device to a group in which the C device is located, where the E device is indirectly connected with the a device, the B device, and the D device 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 completes receiving the data, the C device may forward the data to the E device.
Further, 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 one device in a group transmits data, a device in the group directly connected to the device receives the data and forwards the data stepwise to a device in the group indirectly connected to the device.
Fig. 5 is a schematic diagram illustrating a data transmission manner between devices in the group when there is a device exit in the group of fig. 4 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 disconnects from the a device (or the C device exits the group), the C device may also send information about the a device to the E device, which may then 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 the devices in the group that are directly connected to the C device, such that the disconnection of the C device in the group does not affect the one-to-many data transfer between the 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 data transmitted by the a device.
Further, 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 finishes receiving the data, the a device may forward the data to the B device and the D device.
Fig. 6 is a schematic 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 a device determines that the B device has a pointing relationship with the a device within a preset distance range, the a device may establish a direct connection with the B device, and join the B device into the group of the a device; after the B device determines that the C device has a pointing relationship with the B device within the preset distance range, the B device may establish a direct connection with the C device and join the C device in 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 send all its connection information to the C device so that the C device newly joining the group may establish a direct connection with all the devices in the group.
In this case, when the a device transmits data, the B device and the C device may simultaneously receive data transmitted by the a device. That is, after a device is added to a group, the device establishes a direct connection with all devices in the group, and when any device in the group transmits data, other devices in the group except for the any device receive the data at the same time.
In this case, when any device in the group disconnects or exits the group, one-to-many data transfer between other devices in the group is not affected.
Further, for example, when a specific device in the group, which is joined by a certain device, cannot establish a direct connection with an a device because of a large distance, the specific device may search for a device in the group, which is within a certain distance range and is directly connected with the a device, and establish a direct connection with the device, and when the a device transmits data, the device in the group, which is within a certain distance range and is directly connected with the a device, may receive the data and may forward the data to the specific device. Alternatively, when device a sends data, the certain device that caused the particular device to join the group may forward the data to the particular 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 shows a schematic diagram of a device exiting a group according to an exemplary embodiment of the invention. For example only, in fig. 7, devices in a group may exit the group by flipping.
The motion state of the device can be identified according to the data of a gyroscope, a sensor and the like in the device, and when any device in the group is turned from the front to the back within a preset time range (for example, the time of turning degree is close to 180 degrees is less than 400 ms), the device can directly exit the group.
The preset time range may be an average value obtained by turning the phone test with the right hand. For example, the preset time range may be set to 400ms.
As shown in fig. 7 (1) and (2), the device being flipped from the horizontal front to the horizontal back may refer to the absolute value of the degree of flipping of the device about the Y axis being greater than a preset degree, e.g., 175 degrees. That is, when a device in portrait screen is flipped rapidly left or right from the front more than a preset number of degrees within a preset time frame, the device may exit the group directly.
As shown in fig. 7 (3) and (4), the device being flipped from the horizontal front to the horizontal back may refer to the absolute value of the degree of flipping of the device about the X-axis being greater than a preset degree, e.g., 175 degrees. That is, when the device in the landscape screen is turned inside out or turned outside out from the front more than a preset number of degrees quickly within a preset time range, the device can directly exit the group.
Examples of the device being flipped quickly are not limited to the above examples, and for example, when the device being in the landscape screen is flipped quickly left or right from the front more than a preset number of degrees within a preset time range, the device may also exit the group directly.
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 connection with fig. 8.
Fig. 8 shows a flowchart for identifying a motion state of a device according to an exemplary embodiment of the present invention. For example only, a gyroscope is used in fig. 8 to identify the motion state of the device.
When the device joins the group, the device may register the gyroscope and may specify a polling interval of the gyroscope (step S801), for example, the polling interval may be specified as 20ms.
The gyroscope may acquire a speed at which the device is flipped around the X-axis or the Y-axis (step S802), and may calculate absolute values θ x and θ y of angles at which the device is flipped around the X-axis or the Y-axis within a preset time range (e.g., 400 ms) (step S803). When θ x and θ y are greater than or equal to a preset value or close to a preset value (for example, the preset angle may be pi) (yes at step S804), the device may de-register the gyroscope, at which point the device may exit the group (step S805). When θ x and θ y are less than or not close to the preset value (no at step S804), the device may continue to remain in the group.
The above-described operation of exiting the group of devices is merely an example, and the operation of exiting the group of devices may also include other predetermined actions, such as pressing a predetermined key, tapping a screen, shaking the device, etc. The operation of the device exiting the group may also be user-defined. When any device in the group performs a predetermined action, the any device exits the group.
Fig. 9 is a schematic diagram illustrating file transfer between a plurality of devices of a plurality of users according to an exemplary embodiment of the present invention.
First, as shown in (1) of fig. 9, the user a can open a temporary group function on the handset 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 fig. 9 (4), user a may send a file on his handset to the temporary group, and as shown in fig. 9 (5), both user B and user C's handsets may receive the file. As shown in (6) of fig. 9, if any of the user a, the user B, and the user C turns over the cellular phone, the user exits the temporary group.
Fig. 10 is a schematic diagram illustrating file transfer between a plurality of devices of one user 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, a user opens a temporary group function on a television, directs a 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 and directs the mobile phone to the notebook within a predetermined distance range, and the notebook can automatically join the temporary group. As shown in (4) of fig. 10, the user may send a file to the temporary group on the notebook; as shown in (5) of fig. 10, the user can receive the file on the mobile phone and the television. As shown in fig. 10 (6), if the user turns the handset over, the handset exits the temporary group. In addition, the notebook or television may exit the temporary group by other means, for example, the user performs a predetermined operation on the notebook or television to cause the notebook or television to exit the temporary group, or the user performs a predetermined operation on the mobile phone to cause the notebook or television to exit the temporary group 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 first device has a group function turned on and whether a group is created (steps S1101 and S1102), and when the first device has the group function turned on and the group is created (yes at step S1101 and yes at step S1102), one or more devices that have the group function turned on and have not joined the group created by the first device are searched for 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 the second device of the one or more devices is within the preset distance range and a pointing relationship exists 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 turns on the group function but does not create 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), at least one device that has turned on the group function and has not joined the other group is searched for by the first device and a distance and pointing relationship between the first device and the at least one device is determined (step S1113). When the distance between the first device and the third device of the at least one device is within the preset distance range and a pointing relationship exists between the first device and the third device, a direct connection is established between the first device and the third device, and the third device is added to the other group by the first device (step S1114).
In the exemplary embodiment of the present invention, the above-described second device and third device may represent not only a single device but also a plurality of devices. For example, when a distance between a first device and a plurality of second devices of the one or more devices is within a preset distance range and a pointing relationship exists between the first device and the plurality of second devices, direct connections are established between the first device and the plurality of second devices, respectively, 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 searching for other devices to be added to the group or may not perform a search any more under a specific operation of the user.
This has been described in detail above in connection with fig. 1 to 6, and thus will not be described here again.
By identifying the position and angle between the devices based on a specific positioning technique, when any device has a pointing relationship with the central device, the central device can join the any device into the group of the central device, and at the same time, 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.
Each device in the group is 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 one-to-many devices can be realized without a network server, and privacy leakage and high requirements on network connection are avoided.
By identifying the actions of the devices in the group, when any device in the group performs a predetermined action (for example, turns from the horizontal front surface to the horizontal back surface), the any device can exit the group, so that complex exiting operation after the user joins the group is avoided, and smooth experience of the user when using the temporary group function is improved.
By way of example, an apparatus according to example embodiments of the present disclosure may be a PC computer, tablet device, personal digital assistant, smart phone, or other device capable of performing the above-described methods. Here, the apparatus is not necessarily a single electronic apparatus, but may be any assembly of devices or circuits capable of performing the above-described methods singly 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 either locally or remotely (e.g., via wireless transmission).
In an electronic device, a processor may include a Central Processing Unit (CPU), a Graphics Processor (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, wherein the memory may also store data. The instructions and data may also be transmitted and received over a network via a network interface device, which may employ any known transmission protocol.
The memory may be integrated with the processor, for example, RAM or flash memory disposed within an integrated circuit microprocessor or the like. In addition, the memory may include a stand-alone device, such as an external disk drive, a 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, for example, through an I/O port, a network connection, etc., such that the processor is able to 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, wherein the instructions, 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, nonvolatile 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 optical disk storage, hard Disk Drives (HDD), solid State Disks (SSD), card-type memories (such as multimedia cards, secure Digital (SD) cards or ultra-fast digital (XD) cards), magnetic tapes, floppy disks, magneto-optical data storage devices, hard disks, solid state disks, and any other devices configured to store computer programs and any associated data, data files and data structures in a non-transitory manner and to provide the computer programs and any associated data, data files and data structures to a processor or computer to enable the processor or computer to execute the programs. The computer programs in the computer readable storage media described above can be run in an environment deployed in a computer device, such as a client, host, proxy device, server, etc., and further, in one example, the computer programs and any associated data, data files, and data structures are distributed across networked computer systems such that the computer programs 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, a computer program product may also be provided, instructions in which 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 adaptations, 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 is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the claims.

Claims (12)

1. A system for implementing group functionality in a first device, comprising:
a group opening module configured to open a group function;
a group creation module configured to create a group, and
A connection module configured to:
Searching one or more devices which have the group function turned on 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 when the group function is turned on and the group is created, establishing a direct connection between the first device and the second device 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 adding the second device to the group, and
Searching for at least one device that has turned on the group function and has not joined another group and determining a distance and a pointing relationship between the first device and the at least one device when the group function is turned on but the group creation module does not create a group and the first device has been added to the another group created by the another device, establishing a direct connection between the first device and the third device and adding the third device to the another group when the distance between the first device and the third device is within the preset distance range and the pointing relationship exists between the first device and the third device, and
When one device in the group sends data, the device in the group directly connected with the device receives the data and forwards the data step by step to the device in the group indirectly connected with the device.
2. 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.
3. 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.
4. The system of claim 1, further comprising: an exit module configured to,
When the first device performs a predetermined action, the first device is caused to exit the joined group.
5. The system of claim 1, wherein the connection module comprises:
a positioning module configured to determine a distance and an angle between the first device and the one or more devices,
When the angle between the first device and the second device is within the preset angle range, the connection module determines that a pointing relationship exists between the first device and the second device.
6. A method for implementing group functionality in a first device, comprising:
determining whether the first device has turned on a group function and whether a group has been created;
Searching, by the first device, for one or more devices that have been opened with the group function and that have not joined 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 when the first device has opened the group function and created the group, establishing a direct connection between the first device and the second device when the distance between the first device and a second device of the one or more devices is within a preset distance range and the pointing relationship exists between the first device and the second device, and adding the second device to the group by the first device, and
Searching, by the first device, for at least one device that has been opened with a group function and has not joined the another group and determining a distance and a pointing relationship between the first device and the at least one device when the first device has opened the group function but has not created the group and the first device has been added to the another group created by the another device, establishing a direct connection between the first device and the third device when the distance between the first device and the third device is within the preset distance range and the pointing relationship exists between the first device and the third device, and adding the third device to the another group by the first device, and
When one device in the group sends data, the device in the group directly connected with the device receives the data and forwards the data step by step to the device in the group indirectly connected with the device.
7. The method of claim 6, 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.
8. The method of claim 6, 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.
9. The method of claim 6, further comprising:
When the first device performs a predetermined action, the first device is caused to exit the joined group.
10. The method of claim 6, 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 the first device and the one or more devices; and
And when the angle between the first equipment and the second equipment is within the preset angle range, determining that a pointing relationship exists between the first equipment and the second equipment.
11. A computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, cause the processor to implement the method of any of claims 6 to 10.
12. 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 6-10.
CN202111067856.7A 2021-09-13 2021-09-13 Method and system for performing group functions Active CN113765682B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111067856.7A CN113765682B (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 CN113765682B (en) 2021-09-13 2021-09-13 Method and system for performing group functions

Publications (2)

Publication Number Publication Date
CN113765682A CN113765682A (en) 2021-12-07
CN113765682B true CN113765682B (en) 2024-05-24

Family

ID=78795228

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN113765682B (en)

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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
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

Family Cites Families (4)

* 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)
CA2896406C (en) * 2014-07-08 2018-03-06 The Toronto-Dominion Bank Systems and methods for providing sensor-based location proximity detection and notification
JP6533085B2 (en) * 2015-03-31 2019-06-19 Line株式会社 Terminal, information processing method, and program
US11403324B2 (en) * 2020-02-15 2022-08-02 Near Intelligence Holdings, Inc. Method for real-time cohort creation based on entity attributes derived from partially observable location data

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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
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
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.2011,全文. *
基于地理围栏动态分配群组成员的信息交换平台;薛烨;中国优秀硕士论文电子期刊网;20150815;全文 *
群组聊天业务在IMS客户端的设计与实现;朱春江;丁革媛;孙咏;贾军营;;计算机工程与设计;20110716(07);全文 *

Also Published As

Publication number Publication date
CN113765682A (en) 2021-12-07

Similar Documents

Publication Publication Date Title
US11372537B2 (en) Image sharing method and electronic device
EP3308558B1 (en) Sharing access with a device nearby
WO2018192487A1 (en) Method and apparatus for controlling smart device linkage
US12041447B2 (en) Image sharing method and system, and electronic device
US20150154593A1 (en) Method, server and system for secure payment
EP3039556B1 (en) Method, apparatus, and recording medium for interworking with external terminal
CN110286768B (en) Virtual object display method, terminal device and computer-readable storage medium
EP2706734B1 (en) Method and apparatus for executing an application in a device
US11792865B2 (en) Device binding method and apparatus, and electronic device
US10311715B2 (en) Smart device mirroring
CN108280020B (en) Monitoring method and device of computer equipment, terminal and computer storage medium
CN113874828A (en) Electronic device, method, and computer-readable medium for providing screen sharing service through external electronic device
CN112822430B (en) Conference group merging method and device
CN113765682B (en) Method and system for performing group functions
CN110460642B (en) Method and device for managing reading mode
US11032698B2 (en) Gesture based smart download
KR102279147B1 (en) Access Point wireless access information change method and IOT system using the same
NL2031499B1 (en) Input device screen-share facilitation
US20170013458A1 (en) Electronic devices and method for near field communication between two electronic devices
CN118502843A (en) Operation method and device for applet, electronic equipment and head-mounted display equipment
CN114915914A (en) Terminal switching method and device and electronic equipment

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
GR01 Patent grant
GR01 Patent grant