WO2021051922A1 - 一种群组传输数据的方法、终端及计算机可读存储介质 - Google Patents

一种群组传输数据的方法、终端及计算机可读存储介质 Download PDF

Info

Publication number
WO2021051922A1
WO2021051922A1 PCT/CN2020/098444 CN2020098444W WO2021051922A1 WO 2021051922 A1 WO2021051922 A1 WO 2021051922A1 CN 2020098444 W CN2020098444 W CN 2020098444W WO 2021051922 A1 WO2021051922 A1 WO 2021051922A1
Authority
WO
WIPO (PCT)
Prior art keywords
group
terminal
configuration file
registration configuration
data
Prior art date
Application number
PCT/CN2020/098444
Other languages
English (en)
French (fr)
Inventor
陈建江
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2021051922A1 publication Critical patent/WO2021051922A1/zh

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration

Definitions

  • the present invention relates to the field of communication technology, and in particular to a method, terminal and computer-readable storage medium for group transmission of data.
  • data exchange between mobile terminals usually needs to be forwarded through a base station.
  • a base station server For a group composed of multiple mobile terminal users, when one user (assuming user A) wants to share data in the group, user A first sends the data to the base station server, and then the base station server forwards the data to the group other members.
  • the embodiment of the present invention provides a method, a terminal, and a computer-readable storage medium for group transmission of data.
  • An embodiment of the present invention provides a method for group transmission of data, including: a terminal that needs to share data modifies a group registration configuration file, and the terminal is set as a temporary master control device in the group registration configuration file; data needs to be shared
  • the terminal establishes a connection with other group members, and sends the modified group registration configuration file to other group members who have successfully established a connection; the terminal that needs to share data sends shared data to other group members who have successfully established a connection.
  • An embodiment of the present invention provides a terminal, including: a memory, a processor, and a program for group transmission of data stored on the memory and running on the processor, wherein the program for group transmission of data is
  • the processor implements the steps of the method for group transmission of data when executed.
  • An embodiment of the present invention provides a computer-readable storage medium that stores a program for group transmission of data, wherein the program for group transmission of data is executed by a processor to implement the steps of the above method for group transmission of data.
  • Figure 1-a is a schematic diagram of data exchange between terminals in a D2D communication system
  • Figure 1-b is a schematic diagram of another type of terminal exchanging data in a D2D communication system
  • FIG. 2 is a flowchart of a method for group transmission of data according to Embodiment 1 of the present invention
  • FIG. 3 is a schematic diagram of an apparatus for group transmission of data according to Embodiment 2 of the present invention.
  • Example 4 is a schematic diagram of a terminal supporting D2D technology in Example 1 of the present invention.
  • Example 5 is a flowchart of a method for establishing a group registration configuration file according to Example 2 of the present invention.
  • Example 6 is a flowchart of a method for sharing group information in Example 3 of the present invention.
  • FIG. 7 is a flowchart of a method for obtaining missing group shared information according to Example 4 of the present invention.
  • Example 8 is a flowchart of a method for adding group members according to Example 5 of the present invention.
  • Fig. 9 is a schematic diagram of a terminal according to an embodiment of the present invention.
  • D2D (Device to Device, device-to-device) communication is proposed by the 3GPP (3rd Generation partnership project, third-generation partnership project) organization under the control of the communication system, allowing terminals to have no basic network facilities.
  • 3GPP 3rd Generation partnership project, third-generation partnership project
  • D2D technology can improve the spectrum efficiency of the communication system, and to a certain extent solve the problem of the lack of spectrum resources of the wireless communication system.
  • D2D technology can also effectively reduce terminal transmission power, reduce battery consumption, and extend mobile phone battery life. Even in the absence of network coverage, terminals using D2D technology can also perform short-distance communication.
  • D2D Device to Device
  • the application of D2D can alleviate the pressure of the terminal to transmit data through the base station.
  • Figure 1-a through the use of D2D technology, two terminal users under the same base station communicate with each other, and the data between the two end users can be transmitted directly to each other instead of being forwarded through the base station.
  • Figure 1-b is another form of D2D data exchange. Without the participation of the base station, two terminal users can exchange data and signaling.
  • D2D technology divides user permissions into two categories: restricted discovery and public discovery.
  • Restricted discovery means that the terminal is not allowed to be detected without explicit permission.
  • Public discovery means that as long as the current terminal is a neighboring device of another device, it may be detected and a connection can be established.
  • an embodiment of the present invention provides a method for group transmission of data, including:
  • Step S110 the terminal that needs to share data modifies the group registration configuration file, and sets the terminal as a temporary master control device in the group registration configuration file;
  • Step S120 the terminal that needs to share data establishes a connection with other group members, and sends the modified group registration configuration file to the other group members who have successfully established a connection;
  • step S130 the terminal that needs to share data sends the shared data to other group members that have successfully established a connection.
  • the method further includes:
  • the terminal that needs to share data counts the reception of shared data in the group, updates the group registration configuration file according to the reception, and records the synchronization statistics of this shared data in the group registration configuration file, and
  • the updated group registration configuration file is sent to other group members who have successfully established connections.
  • the method further includes:
  • the terminal that wants to establish a group searches for surrounding terminals, determines a list of group members according to the search results, establishes a group based on the list of group members, sets this terminal as the group owner terminal, and other members in the group as group members terminal;
  • the group owner terminal establishes a group registration configuration file, records the registration information of all members in the group in the group registration configuration file, sets this terminal as a temporary master control device, and all group member terminals as temporary client devices;
  • the temporary master device has the temporary authority to send and receive data
  • the temporary client device has the temporary authority to receive data;
  • the group master terminal establishes a connection with all group member terminals, and sends a group registration configuration file to the group member terminals that have successfully established connections.
  • the method further includes:
  • the terminal that wants to invite other terminals to join the group searches for surrounding terminals, determines a new group member list according to the search results, determines the invitee terminal according to the new group member list, and sets the invitee terminal as a new Crew member terminal;
  • Terminals that want to invite other terminals to join the group modify the group registration configuration file, add the registration information of the new group member terminal in the group registration configuration file, and set this terminal as the temporary master control device, the new group member The terminal is set as a temporary client device;
  • the temporary master control device terminal establishes connections with all group member terminals, and sends the modified group registration configuration file to the group member terminals that have successfully established connections.
  • the method further includes:
  • the temporary master control device counts the reception of the group registration configuration file in the group, updates the group registration configuration file according to the reception, and records the synchronization of the group registration configuration file in the group registration configuration file Situation statistical information, sending the updated group registration configuration file to the temporary client device that successfully establishes a connection.
  • the method further includes:
  • the temporary client device After receiving the group registration configuration file, the temporary client device updates the locally saved group registration configuration file according to the received group registration configuration file;
  • the method further includes:
  • the shared data synchronization statistics information recorded in the received group registration configuration file is compared with the shared data synchronization statistics information in the locally saved group registration configuration file, and it is determined that there is no shared data in the terminal.
  • select a terminal from the group member terminals that have received the shared data not received by the terminal as the target terminal establish a connection with the target terminal, and obtain the shared data from the target terminal.
  • the method further includes:
  • Modifying the group registration configuration file by the temporary client device updating the synchronization statistics information of the shared data in the group registration configuration file, and setting the terminal as a temporary master control device;
  • the temporary master control device terminal establishes connections with all group member terminals, and sends the modified group registration configuration file to the group member terminals that have successfully established connections.
  • the method further includes:
  • the temporary client device re-selects a terminal from the group member terminals that have received the shared data not received by the terminal as the new target terminal, tries to establish a connection with the new target terminal and obtains the shared data.
  • the group registration configuration file includes registration information of all members in the group and synchronization status information of shared data
  • the registration information of the group members includes: the device identification of the terminal;
  • the synchronization status information of the shared data includes at least one of the following information: a publisher of the shared data, a list of recipients of the shared data, a list of when the shared data is received, and a list of unreceivers of the shared data.
  • an embodiment of the present invention provides an apparatus for group transmission of data, including:
  • the configuration file modification module 10 is used for a terminal that needs to share data to modify a group registration configuration file, and set this terminal as a temporary master control device in the group registration configuration file;
  • the configuration file sending module 20 is used for the terminal that needs to share data to establish a connection with other group members, and send the modified group registration configuration file to other group members who have successfully established a connection;
  • the data sending module 30 is used for terminals that need to share data to send shared data to other group members that have successfully established a connection;
  • the temporary master device can send and receive data in the group, and the temporary client device can only receive data in the group.
  • the device further includes:
  • the first information statistics module 40 is configured to collect statistics on the reception of shared data in the group by the terminal that needs to share data, update the group registration configuration file according to the reception, and record this time in the group registration configuration file. Sharing statistics on the synchronization of data, and sending the updated group registration configuration file to other group members who have successfully established a connection;
  • the device further includes: a group establishment module 40;
  • the group establishment module 40 is used for a terminal that wants to establish a group to search for surrounding terminals, determine a list of group members according to the search results, establish a group according to the list of group members, and set this terminal as a group owner terminal.
  • the other members in the group are set as group member terminals; the group owner terminal establishes a group registration configuration file, records the registration information of all members in the group in the group registration configuration file, and sets this terminal as a temporary master control device.
  • the group member terminal is set as a temporary client device; the group owner terminal establishes a connection with all group member terminals, and sends the group registration configuration file to the group member terminal that successfully establishes the connection; among them, the temporary master control device has temporary data sending and receiving data Permission, the temporary client device has the temporary permission to receive data.
  • the device further includes: a group expansion module 50;
  • the group expansion module 50 is used for terminals that want to invite other terminals to join the group to search for peripheral terminals, determine a new group member list according to the search result, determine the invitee terminal according to the new group member list, and compare all
  • the invitee’s terminal is set as a new group member terminal; the terminal that wants to invite other terminals to join the group modify the group registration configuration file, add the registration information of the new group member terminal in the group registration configuration file, and change
  • This terminal is set as a temporary master control device, and the new group member terminal is set as a temporary client device; the temporary master control device terminal establishes a connection with all group member terminals, and sends the modified group registration configuration to the group member terminal that has successfully established a connection file.
  • the device further includes:
  • the second information statistics module 60 is used for the temporary master control device to count the reception of the group registration configuration file in the group, update the group registration configuration file according to the reception, and record in the group registration configuration file Send the updated group registration configuration file to the temporary client device that successfully establishes the connection with the statistical information of the synchronization situation of the group registration configuration file this time.
  • the device further includes: a configuration file update module 70;
  • the configuration file update module 70 is used for the temporary client device to update the locally saved group registration configuration file according to the received group registration configuration file after receiving the group registration configuration file.
  • the device further includes: a data update module 80;
  • the data update module 80 is used for the temporary client device, after receiving the group registration configuration file, to synchronize statistics of the shared data recorded in the received group registration configuration file with the locally saved group registration configuration
  • the shared data synchronization statistics information in the file is compared.
  • a terminal is selected as the target terminal from the group member terminals that have received the shared data not received by the terminal.
  • the target terminal establishes a connection and obtains the shared data from the target terminal.
  • the data update module 80 is further configured to modify the group registration configuration file after the temporary client device obtains the shared data from the target terminal: update the group registration configuration file For the synchronization status statistics information of the shared data, this terminal is set as the temporary master control device; the temporary master control device terminal establishes connections with all group member terminals, and sends the modified group registration configuration file to the group member terminals that have successfully established connections .
  • the data update module 80 is also used for the temporary client device when determining that the terminal has an event that shared data has not been received, if the connection establishment with the target terminal fails, the temporary client device will download from The group member terminals that have received the shared data not received by the terminal again select a terminal as the new target terminal, try to establish a connection with the new target terminal and obtain the shared data.
  • the group registration configuration file includes registration information of all members in the group and synchronization status information of shared data
  • the registration information of the group members includes: the device identification of the terminal;
  • the synchronization status information of the shared data includes at least one of the following information: a publisher of the shared data, a list of recipients of the shared data, a list of when the shared data is received, and a list of unreceivers of the shared data.
  • an embodiment of the present invention provides a terminal, including:
  • the program for group transmission of data is executed by the processor 902 to achieve the above Steps of the method for group transmission of data in Embodiment 1.
  • An embodiment of the present invention provides a computer-readable storage medium having a program for group transmission data stored on the computer-readable storage medium, and when the program for group transmission data is executed by a processor, the above-mentioned embodiment 1 is implemented. The steps of the method for group transmission of data.
  • this example provides a terminal supporting D2D technology.
  • the terminal includes: a wireless communication module 101, a display module 102, a storage module 103, a central processing module 104, and a near field communication management module 105.
  • the wireless communication module is used for the terminal to transmit signaling and data through a wireless connection
  • Display module used to display terminal operation interface and human-computer interaction information
  • Storage module used to store data and programs
  • Central processing module used to coordinate the work of each module, control and calculate
  • the near field communication module is used for D2D data exchange and coordination processing between terminals, including finding idle channels, controlling wireless transmission power, providing terminal equipment identification numbers, listening to other members of the group broadcast, and setting permissions for near field communication users.
  • This example provides a method to create a group registration profile.
  • mobile phone A, mobile phone B, mobile phone C, and mobile phone D all open the D2D communication mode, and set the user authority to public discovery.
  • a method for establishing a group registration configuration file may include the following steps:
  • Step S101 the group initiator (group owner) creates a new group, searches for peripheral devices, and obtains device information of the peripheral devices;
  • the group initiator (mobile phone A) names the new group, and then searches the surrounding mobile phones by D2D communication, obtains the distribution of surrounding mobile phones, finds mobile phone B, mobile phone C, and mobile phone D, and obtains the device information of each mobile phone.
  • the device information of the D2D device may be: the device identifier, the MAC (Media Access Control, media access control) address of the device,
  • the device identifier may be: IMEI (International Mobile Equipment Identity number), IMSI (International Mobile Subscriber Identity, International Mobile Subscriber Identity), device name, or user-modified owner name, etc.
  • IMEI International Mobile Equipment Identity number
  • IMSI International Mobile Subscriber Identity, International Mobile Subscriber Identity
  • device name or user-modified owner name, etc.
  • Step S102 the group initiator (group owner) determines a list of group members according to the searched D2D devices;
  • the group list includes: mobile phone A, mobile phone B, mobile phone C, and mobile phone D.
  • Step S103 the group initiator (group owner) establishes contact with the group members
  • the group initiator can establish contact with each member of the group separately.
  • the group owner sends a request to establish a connection (referred to as a request to establish a connection) to a group member. If a response instruction returned by the group member is received, and the response instruction indicates that the group member agrees to establish a connection, the connection establishment is determined ; If the response command returned by the group member is not received, it is determined that the connection establishment has failed.
  • the group owner sends a connection request to mobile phone B through D2D communication, and mobile phone B authenticates the connection request sent by mobile phone A. If the pre-set conditions are met, mobile phone B returns a response to mobile phone A The instruction signifies agreement to establish contact. If the pre-set conditions are not met, mobile phone B will display a notification message waiting for the user’s manual confirmation. If the user’s manual confirmation is obtained later, mobile phone B will return a response instruction to mobile phone A to agree to establish contact. If the user’s manual confirmation is not obtained later If confirmed, mobile phone B retains the notification message waiting for the user to manually confirm and waits for the user to process.
  • the pre-set conditions may be matching members in the address book, or an agreed proprietary name, etc.; among them, the agreed proprietary name is such as a certain department, a certain group, etc. .
  • the group owner and group members can also exchange information within a period of time (for example, 30 minutes) after the group owner sends out the request to establish a connection, for example, the agreed communication key, group name, attachment size limit, etc.
  • Step S104 the group initiator (group owner) creates a group registration configuration table
  • the group registration configuration table includes registration information of all group members in the group
  • the group registration configuration table may be a configuration file
  • the registration information of the group members may include the following information: member device identification, member management authority, member temporary authority, and shared information release list;
  • the member device identifiers include: IMEI, IMSI, device name, or owner name modified by the user, etc.
  • the member management authority includes: group owner or ordinary group member;
  • the temporary permissions of members include: host and client; among them, the host has the authority to publish and receive information, and the client has the authority to receive information, but does not have the authority to publish information;
  • the shared information attribute includes at least one of the following: information issuer, information release time, received member list, information name, information type, and information size.
  • Step S105 the group initiator sends the group registration configuration table to the group members
  • the group initiator can send the group registration configuration table to each member in the group separately, or can send the group registration configuration table to all members in the group in a broadcast manner.
  • the broadcast can send the group registration configuration table to all group members on one channel or multiple channels;
  • the group member after receiving the group registration configuration table sent by the group owner, the group member can return a reply message to the group owner. After receiving the reply message, the group owner can register the group registration
  • the receiving state of the group registration configuration table of the group member is set to the received state; if a certain group member does not receive the group registration configuration table sent by the group owner, the group owner can set the group member’s group registration configuration table to the received state.
  • the group registration configuration table receiving state is set to an unreceived state, or the group owner may resend the group registration configuration table to the group members;
  • the group owner sets the status of the receiving group registration configuration table of mobile phone B and mobile phone C to the received state; mobile phone D does not receive the group registration configuration table sent by the group owner
  • the group owner can set the status of receiving the group registration configuration table of mobile phone D to the unreceived state, or the group owner can also resend the group registration configuration table to mobile phone D.
  • This example provides a method for sharing group information. Assume that a group has been established between mobile phone A, mobile phone B, mobile phone C, and mobile phone D. Group members want to share information, and the shared information includes: documents, pictures, videos, music, and so on.
  • a method for sharing group information may include the following steps:
  • Step S101 the mobile phone (such as mobile phone A) that currently needs to publish information modifies the group registration configuration file, and sets its own temporary authority as the host in the group registration configuration file.
  • Step S102 the mobile phone (such as mobile phone A) that currently needs to publish information establishes contact with the mobile phones of other group members;
  • mobile phone A can establish connections with mobile phone B, mobile phone C, and mobile phone D through a point-to-point connection.
  • step S103 the mobile phone (such as mobile phone A) that currently needs to publish information sends the modified group registration configuration file to the mobile phones of other group members that have already established contact in step S102.
  • the temporary permission of the machine can be modified to host in the registry, and then the modified registry is passed to other members of the group, and then the information or attachments are sent.
  • the user clicks to send on the mobile phone interface the user can first put the information or attachments into the local cache, and then send the information or attachments after completing the local host settings and synchronization within the group, so as to maintain the entire group through the registry as a carrier Communication records.
  • the mobile phone (such as mobile phone A) that currently needs to publish information can send the updated group registration configuration file to other group member mobile phones one by one, or broadcast to all groups on one or more channels.
  • the group members send the group registration configuration file.
  • Step S104 the mobile phone that currently needs to publish information sends the information that needs to be shared to the mobile phones of other group members;
  • the mobile phone (mobile phone A) that currently needs to publish information can set itself as a hotspot, and other mobile phones can actively scan the hotspot, access through the group key, and then obtain the information published by mobile phone A.
  • mobile phone A can establish a point-to-point connection with the mobile phones of other group members to transfer information.
  • Step S105 The mobile phone (mobile phone A) that publishes the shared information updates the group registration configuration file according to the status of other group member mobile phones receiving the shared information, and adds an information publishing record to the shared information publishing list, and the information publishing record includes the shared information Attribute information;
  • both mobile phone A and the group members will perform authentication, check the key, member mobile phone ID, etc., at this time, mobile phone A can connect the mobile phone connected to the hotspot with the registry The members in the match, according to the matching situation to determine which mobile phones have received the shared information, which mobile phones did not receive the shared information.
  • the attribute information of the shared information includes: information issuer, information release time, received member list, information name, information type, and information size.
  • Step S106 The mobile phone (mobile phone A) that publishes the shared information sends the updated group registration configuration file to the mobile phones of other group members.
  • step S107 the mobile phones of other group members receive the updated group registration configuration file to synchronize the locally saved group registration configuration file, and the group completes an information release.
  • This example provides a method for obtaining group shared information.
  • a group member mobile phone C
  • the shared information released by the control terminal (mobile phone B) and the updated group registration configuration file are synchronized with the locally saved group registration configuration file.
  • a method for obtaining missing group sharing information may include the following steps:
  • Step S101 the group member (mobile phone C) finds that he is missing the shared information of the first group member's mobile phone (mobile phone A) during the process of synchronizing the group registration configuration file;
  • Step S102 the group member (mobile phone C) initiates a synchronization request to the first group member's mobile phone (mobile phone A), which carries the attribute information of the shared information that it wants to obtain;
  • Step S103 the group member (mobile phone C) fails to obtain the shared information that they want to obtain from the mobile phone of the first group member, and initiates a synchronization request to the mobile phone of the second group member (mobile phone D), which carries the desired shared information Attribute information of shared information;
  • Step S104 the group member (mobile phone C) successfully obtains the shared information they want to obtain from the second group member's mobile phone (mobile phone D), updates the group registration configuration file, and modifies the acquired shares in the shared information release list
  • the information release record corresponding to the information, and the identifier of the mobile phone is added to the list of members who have received the shared information;
  • step S105 the group member (mobile phone C) establishes contact with the mobile phones of other group members, and sends the updated group registration configuration file to the mobile phones of other group members.
  • a method for adding group members may include the following steps:
  • Step S101 the mobile phone (such as mobile phone A) that currently needs to invite other mobile phones to join the group to update the group registration configuration file, and set its own temporary authority as the host in the group registration configuration file;
  • Step S102 mobile phone A searches for peripheral devices, uses the newly discovered mobile phone (such as mobile phone E) as the invitee's mobile phone, and adds the invitee's mobile phone to the group member list;
  • the newly discovered mobile phone such as mobile phone E
  • the group list includes: mobile phone A, mobile phone B, mobile phone C, mobile phone D, and mobile phone E.
  • Step S103 mobile phone A updates the group registration configuration table, adds the information of the new member mobile phone to the group, and sets the temporary authority of the new member mobile phone as the client;
  • Step S104 mobile phone A establishes a connection with group members (mobile phone B, mobile phone C, mobile phone D, and mobile phone E);
  • Step S105 mobile phone A sends a group registration configuration table to group members (mobile phone B, mobile phone C, mobile phone D, and mobile phone E);
  • Step S106 Mobile phone A updates the group registration configuration file according to the status that other group member mobile phones receive the group registration configuration file
  • Step S107 mobile phone A sends the updated group registration configuration file to the mobile phones of other group members;
  • step S108 the mobile phones of other group members receive the updated group registration configuration file to synchronize the locally saved group registration configuration file, and the group completes the addition of new members.
  • the mobile phone that currently needs to invite other mobile phones to join the group may be the group owner or other group member mobile phones authorized by the group owner.
  • the method, device, and terminal for group data transmission provided in the embodiments of the present invention require the terminal sharing data to modify the group registration configuration file, and set the terminal in the group registration configuration file.
  • It is a temporary master device that establishes connections with other group members, sends the modified group registration configuration file to other group members who have successfully established a connection, and sends shared data to other group members who have successfully established a connection.
  • the embodiment of the present invention uses a distributed mechanism for group members, a group registration profile method, and D2D (Device to Device) technology for data sharing, which can effectively reduce the burden of base station data transfer, even when there is no network. Data exchange between group members can also be realized under downloading.
  • the embodiment of the present invention can perform data sharing through the distributed mechanism of group members and the device-to-device D2D communication technology, which effectively reduces the data transfer burden of the base station.
  • Such software may be distributed on a computer-readable medium, and the computer-readable medium may include a computer storage medium (or a non-transitory medium) and a communication medium (or a transitory medium).
  • the term computer storage medium includes volatile and non-volatile data implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Sexual, removable and non-removable media.
  • Computer storage media include but are not limited to RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or Any other medium used to store desired information and that can be accessed by a computer.
  • communication media usually contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as carrier waves or other transmission mechanisms, and may include any information delivery media. .

Landscapes

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

Abstract

一种群组传输数据的方法、终端及计算机可读存储介质。所述群组传输数据的方法,包括:需要共享数据的终端修改群组注册配置文件,在所述群组注册配置文件中将本终端设置为临时主控设备(S110);需要共享数据的终端与其他群组成员建立连接,向成功建立连接的其他群组成员发送修改后的群组注册配置文件(S120);需要共享数据的终端向成功建立连接的其他群组成员发送共享数据(S130)。

Description

一种群组传输数据的方法、终端及计算机可读存储介质
相关申请的交叉引用
本申请基于申请号为201910869098.7、申请日为2019年09月16日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本发明涉及通信技术领域,尤其涉及的是一种群组传输数据的方法、终端及计算机可读存储介质。
背景技术
随着5G(Fifth Generation,第五代移动通信技术)的逐步布网实施,移动终端之间的大数据、大文件、高清视频等数据的传递将成为常态。
相关技术中,移动终端之间交换数据通常需要通过基站进行转发。对于多个移动终端用户构成的群组,当其中一个用户(假设用户A)想要在群内共享数据时,用户A首先将数据发送给基站服务器,然后由基站服务器再把数据转发给群内其他成员。
但是,5G时代用户之间共享文件(例如,高清视频)快速增长,如果沿用传统的中心化(以基站为中心)的数据共享方式,则会给基站带来较大的负担。
发明内容
本发明实施例提供一种群组传输数据的方法、终端及计算机可读存储介质。
本发明实施例提供一种群组传输数据的方法,包括:需要共享数据的终端修改群组注册配置文件,在所述群组注册配置文件中将本终端设置为临时主控设备;需要共享数据的终端与其他群组成员建立连接,向成功建立连接的其他群组成员发送修改后的群组注册配置文件;需要共享数据的终端向成功建立连接的其他群组成员发送共享数据。
本发明实施例提供一种终端,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的群组传输数据的程序,其中,所述群组传输数据的程序被所述处理器执行时实现上述群组传输数据的方法的步骤。
本发明实施例提供一种计算机可读存储介质,存储有群组传输数据的程序,其中,所述群组传输数据的程序被处理器执行时实现上述群组传输数据的方法的步骤。
附图说明
图1-a为D2D通信系统中一种终端之间交换数据的示意图;
图1-b为D2D通信系统中另一种终端之间交换数据的示意图;
图2为本发明实施例1的一种群组传输数据的方法流程图;
图3为本发明实施例2的一种群组传输数据的装置示意图;
图4为本发明示例1的一种支持D2D技术的终端示意图;
图5为本发明示例2的一种建立群组注册配置文件的方法的流程图;
图6为本发明示例3的一种群组信息共享方法的流程图;
图7为本发明示例4的一种获取缺失的群组共享信息的方法流程图;
图8为本发明示例5的一种添加群组成员的方法流程图;
图9为本发明实施例的一种终端的示意图。
具体实施方式
为使本发明的目的、技术方案和优点更加清楚明白,下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本发明中的实施例及实施例中的特征可以相互任意组合。
在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。
D2D(Device to Device,设备到设备)通信是由3GPP(3rd Generation partnership project,第三代合作伙伴计划)组织提出的一种在通信系统的控制下,允许终端之间在没有基础网络设施的情况下,利用小区资源直接进行通信的新技术。D2D技术能够提升通信系统的频谱效率,在一定程度上解决无线通信系统频谱资源匮乏的问题。与此同时,D2D技术还可以有效降低终端发射功率,减少电池消耗,延长手机续航时间。甚至在无网络覆盖情况下,采用了D2D技术的终端也能进行近距离通讯。
D2D(Device to Device,设备到设备)的应用可减缓终端通过基站传递数据的压力。如图1-a所示,通过采用D2D技术,同一基站下的两个终端用户之间进行通信,二者之间的数据可以不通过基站转发,而是相互之间直接传输。图1-b是另一种D2D数据交换形式,在没有基站参与的情况下,两个终端用户之间可以进行数据和信令的交互。
D2D技术把用户权限分为2类:限制发现与公开发现。限制发现是指:终端在没有明确许可的情况下是不允许被检测到的。公开发现是指:只要当前终端是另一个设备的近邻设备,则可能被检测到,进而建立连接。
实施例1
如图2所示,本发明实施例提供了一种群组传输数据的方法,包括:
步骤S110,需要共享数据的终端修改群组注册配置文件,在所述群组注册配置文件中将本终端设置为临时主控设备;
步骤S120,需要共享数据的终端与其他群组成员建立连接,向成功建立连接的其他群组成员发送修改后的群组注册配置文件;
步骤S130,需要共享数据的终端向成功建立连接的其他群组成员发送共享数据。
在一种实施方式中,需要共享数据的终端向成功建立连接的其他群组成员发送共享数据后,所述方法还包括:
需要共享数据的终端统计群组中共享数据的接收情况,根据所述接收情况更新所述群组注册配置文件,在所述群组注册配置文件中记录本次共享数据的同步情况统计信息,将所述更新后的群组注册配置文件发送给成功建立连接的其他群组成员。
在一种实施方式中,所述方法还包括:
想要建立群组的终端搜索周边终端,根据搜索结果确定群组成员名单,根据所述群组成员名单建立群组,将本终端设置为群主终端,群组中的其他成员设置为组员终端;
群主终端建立群组注册配置文件,在所述群组注册配置文件中记录群组中所有成员的注册信息,将本终端设置为临时主控设备,所有组员终端设置为临时客户端设备;其中,临时主控设备具有发送数据和接收数据的临时权限,临时客户端设备具有接收数据的临时权限;
群主终端与所有组员终端建立连接,向成功建立连接的组员终端发送群组注册配置文件。
在一种实施方式中,所述方法还包括:
想要邀请其他终端加入群组的终端搜索周边终端,根据搜索结果确定新的群组成员名单,根据所述新的群组成员名单确定受邀者终端,将所述受邀者终端设置为新的组员终端;
想要邀请其他终端加入群组的终端修改群组注册配置文件,在所述群组注册配置文件中添加新的组员终端的注册信息,将本终端设置为临时主控设备,新的组员终端设置为临时客户端设备;
临时主控设备终端与所有组员终端建立连接,向成功建立连接的组员终端发送修改后的群组注册配置文件。
在一种实施方式中,在临时主控设备向成功建立连接的临时客户端设备发送群组注册配置文件后,所述方法还包括:
临时主控设备统计群组中群组注册配置文件的接收情况,根据所述接收情况更新所述群组注册配置文件,在所述群组注册配置文件中记录本次群组注册配置文件的同步情况统计信息,将所述更新后的群组注册配置文件发送给成功建立连接的临时客户端设备。
在一种实施方式中,所述方法还包括:
临时客户端设备在接收到群组注册配置文件后,根据接收到的群组注册配置文件更新本地保存的群组注册配置文件;
在一种实施方式中,临时客户端设备在接收到群组注册配置文件后,所述方法还包括:
将所述接收到的群组注册配置文件中记录的共享数据同步情况统计信息,与本地保存的群组注册配置文件中的共享数据同步情况统计信息进行比对,在确定本终端存在共享数据未接收的事件时,从已经接收本终端未接收的共享数据的组员终端中选择一个终端作为目标终端,与所述目标终端建立连接并从所述目标终端获取所述共享数据。
在一种实施方式中,在所述临时客户端设备从所述目标终端获取所述共享数据后,所述方法还包括:
所述临时客户端设备修改群组注册配置文件:在所述群组注册配置文件中更新所述共享数据的同步情况统计信息,将本终端设置为临时主控设备;
临时主控设备终端与所有组员终端建立连接,向成功建立连接的组员终端发送修改后的群组注册配置文件。
在一种实施方式中,临时客户端设备在确定本终端存在共享数据未接收的事件时,如果与所述目标终端建立连接失败,则所述方法还包括:
所述临时客户端设备从已经接收本终端未接收的共享数据的组员终端中重新选择一个终端作为新的目标终端,尝试与所述新的目标终端建立连接并获取所述共享数据。
在一种实施方式中,所述群组注册配置文件中包括群组中所有成员的注册信息和共享数据的同步情况信息;
其中,所述群组成员的注册信息包括:终端的设备标识;
其中,共享数据的同步情况信息包括以下信息的至少一种:共享数据的发布者,共享数据的接收者列表、共享数据的接收时间列表、共享数据的未接收者列表。
实施例2
如图3所示,本发明实施例提供了一种群组传输数据的装置,包括:
配置文件修改模块10,用于需要共享数据的终端修改群组注册配置文件,在所述群组注册配置文件中将本终端设置为临时主控设备;
配置文件发送模块20,用于需要共享数据的终端与其他群组成员建立连接,向成功建立连接的其他群组成员发送修改后的群组注册配置文件;
数据发送模块30,用于需要共享数据的终端向成功建立连接的其他群组成员发送共享数据;
其中,临时主控设备能够在群组中发送和接收数据,临时客户端设备只能在群组中接收数据。
在一种实施方式中,所述装置还包括:
第一信息统计模块40,用于需要共享数据的终端统计群组中共享数据的接收情况,根据所述接收情况更新所述群组注册配置文件,在所述群组注册配置文件中记录本次共享数据的同步情况统计信息,将所述更新后的群组注册配置文件发送给成功建立连接的其他群组成员;
在一种实施方式中,所述装置还包括:群组建立模块40;
群组建立模块40,用于想要建立群组的终端搜索周边终端,根据搜索结果确定群组成员名单,根据所述群组成员名单建立群组,将本终端设置为群主终端,群组中的其他成员设置为组员终端;群主终端建立群组注册配置文件,在所述群组注册配置文件中记录群组中所有成员的注册信息,将本终端设置为临时主控设备,所有组员终端设置为临时客户端设备;群主终端与所有组员终端建立连接,向成功建立连接的组员终端发送群组注册配置文件;其中,临时主控设备具有发送数据和接收数据的临时权限,临时客户端设备具有接收数据的临时权限。
在一种实施方式中,所述装置还包括:群组扩充模块50;
群组扩充模块50,用于想要邀请其他终端加入群组的终端搜索周边终端,根据搜索结果确定新的群组成员名单,根据所述新的群组成员名单确定受邀者终端,将所述受邀者终端设置为新的组员终端;想要邀请其他终端加入群组的终端修改群组注册配置文件,在所述群组注册配置文件中添加新的组员终端的注册信息,将本终端设置为临时主控设备,新的组员终端设置为临时客户端设备;临时主控设备终端与所有组员终端建立连接,向成功建立连接的组员终端发送修改后的群组注册配置文件。
在一种实施方式中,所述装置还包括:
第二信息统计模块60,用于临时主控设备统计群组中群组注册配置文件的接收情况,根据所述接收情况更新所述群组注册配置文件,在所述群组注册配置文件中记录本次群组注册配置文件的同步情况统计信息,将所述更新后的群组注册配置文件发送给成功建立连接的临时客户端设备。
在一种实施方式中,所述装置还包括:配置文件更新模块70;
配置文件更新模块70,用于临时客户端设备在接收到群组注册配置文件后,根据接收到的群组注册配置文件更新本地保存的群组注册配置文件。
在一种实施方式中,所述装置还包括:数据更新模块80;
数据更新模块80,用于临时客户端设备在接收到群组注册配置文件后,将所述接收到的群组注册配置文件中记录的共享数据同步情况统计信息,与本地保存的群组注册配置文件中的共享数据同步情况统计信息进行比对,在确定本终端存在共享数据未接收的事件时,从已经接收本终端未接收的共享数据的组员终端中选择一个终端作为目标终端,与所述目标终端建立连接并从所述目标终端获取所述共享数据。
在一种实施方式中,数据更新模块80,还用于所述临时客户端设备从所述目标终端获取所述共享数据后,修改群组注册配置文件:在所述群组注册配置文件中更新所述共享数据的同步情况统计信息,将本终端设置为临时主控设备;临时主控设备终端与所有组员终端建立连接,向成功建立连接的组员终端发送修改后的群组注册配置文件。
在一种实施方式中,数据更新模块80,还用于临时客户端设备在确定本终端存在共享数据未接收的事件时,如果与所述目标终端建立连接失败,则所述临时客户端设备从已经接收本终端未接收的共享数据的组员终端中重新选择一个终端作为新的目标终端,尝试与所述新的目标终端建立连接并获取所述共享数据。
在一种实施方式中,所述群组注册配置文件中包括群组中所有成员的注册信息和共享数据的同步情况信息;
其中,所述群组成员的注册信息包括:终端的设备标识;
其中,共享数据的同步情况信息包括以下信息的至少一种:共享数据的发布者,共享数据的接收者列表、共享数据的接收时间列表、共享数据的未接收者列表。
实施例3
参照图9,本发明实施例提供了一种终端,包括:
存储器901、处理器902及存储在所述存储器901上并可在所述处理器902上运行的群组传输数据的程序,所述群组传输数据的程序被所述处理器902执行时实现上述实施例1中的群组传输数据的方法的步骤。
实施例4
本发明实施例提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有群 组传输数据的程序,所述群组传输数据的程序被处理器执行时实现上述实施例1中的群组传输数据的方法的步骤。
示例1
如图4所示,本示例提供一种支持D2D技术的终端,所述终端包括:无线通信模块101、显示模块102、存储模块103、中央处理模块104和近场通讯管理模块105。
其中,无线通信模块,用于终端通过无线连接传输信令和数据;
显示模块,用于显示终端操作界面,人机交互信息;
存储模块,用于存储数据和程序;
中央处理模块,用于协调各模块工作,进行控制和运算;
近场通讯模块,用于终端之间D2D数据交换协调处理,包括寻找空闲信道,控制无线发射功率,提供终端设备识别号,侦听群组其他成员广播,近场通讯用户权限设置。
示例2
本示例提供一种建立群组注册配置文件的方法。假设手机A、手机B、手机C和手机D都开启D2D通讯方式,并且设置用户权限为公开发现。
如图5所示,一种建立群组注册配置文件的方法可以包括以下步骤:
步骤S101,群组发起者(群主)新建群组,搜索周边设备,获得周边设备的设备信息;
其中,群组发起者(手机A)给新建群组命名,然后以D2D通讯方式搜索周边手机,获取周围手机分布状况,发现手机B,手机C和手机D,并且获得每一个手机的设备信息。
其中,所述D2D设备的设备信息可以是:设备标识、设备的MAC(Media Access Control,媒体访问控制)地址,
其中,设备标识可以是:IMEI(International Mobile Equipment Identity number,国际移动设备识别码)、IMSI(International Mobile Subscriber Identity,国际移动用户识别码)、设备名称,或者用户修改后的机主名称等。
步骤S102,群组发起者(群主)根据搜索到的D2D设备确定群组成员名单;
比如,所述群组名单包括:手机A,手机B,手机C和手机D。
步骤S103,群组发起者(群主)与群组成员建立联系;
其中,群组发起者可以与群组中的每一个成员分别建立联系。群主向某个群组成员发送建立联系请求(简称建联请求),如果接收到该群组成员返回的应答指令,且所述应答指令表示该群组成员同意建立联系,则判定建联成功;如果未接收到该群组成员返回的应 答指令,则判定建联失败。
比如,群主(手机A)以D2D通讯方式向手机B发出建联请求,手机B对手机A发出的建联请求进行鉴权,如果符合事先设定的条件,则手机B向手机A返回应答指令表示同意建立联系。如果不符合事先设定的条件,则手机B显示等待用户手动确认的通知消息,如果后来获得用户的手动确认,则手机B向手机A返回应答指令表示同意建立联系,如果后来未获得用户的手动确认,则手机B保留所述等待用户手动确认的通知消息等待用户处理。
其中,对于群组成员而言,所述事先设定的条件可以是通讯录中匹配的成员,或约定的专有名称等;其中,约定的专有名称比如:某某部门,某某小组等。
其中,群主和群组成员还可以在群主发出建联请求后的一段时间(比如30分钟)内交换信息,比如,约定通讯密钥,群组名称,附件大小限制等。
步骤S104,群组发起者(群主)建立群组注册配置表;
其中,所述群组注册配置表中包括群组中所有群组成员的注册信息;
其中,所述群组注册配置表可以是一个配置文件;
其中,所述群组成员的注册信息可以包括以下信息:成员设备标识、成员管理权限、成员临时权限、共享信息发布列表;
其中,成员设备标识包括:IMEI、IMSI、设备名称,或者用户修改后的机主名称等。
其中,所述成员管理权限包括:群主或普通群组成员;
其中,成员临时权限包括:主控端(host)和客户端(client);其中,主控端具有发布信息和接收信息的权限,客户端具有接收信息的权限,但是没有发布信息的权限;
其中,共享信息发布列表中记录所有共享信息按发布时间排序后的共享信息属性列表;
其中,共享信息属性包括以下至少一种:信息发布者、信息发布时间、已接收成员列表、信息名称、信息类型、信息大小。
步骤S105,群组发起者向群组成员发送群组注册配置表;
其中,群组发起者可以向群组中的每一个成员分别发送群组注册配置表,也可以采用广播的方式向群组中的所有成员发送群组注册配置表。
其中,广播可以在一个信道或多个信道上向所有群组成员发送群组注册配置表;
其中,群组成员在接收到群主发送的群组注册配置表后,可以向群主返回应答消息,所述群主接收到所述应答消息后,可以在群组注册表中,将所述群组成员的群组注册配置表接收状态设置为已接收状态;如果某个群组成员未接收到群主发送的群组注册配置表,则所述群主可以将所述群组成员的群组注册配置表接收状态设置为未接收状态,或者所述 群主也可以向所述群组成员重新发送所述群组注册配置表;
比如,手机B和手机C接收到群主发送的群组注册配置表,则群主将手机B和手机C的接收群组注册配置表的状态设置为已接收状态;手机D没有接收到群主发送的群组注册配置表,则群主可以将手机D的接收群组注册配置表的状态设置为未接收状态,或者群主也可以向手机D重新发送所述群组注册配置表。
示例3
本示例提供一种群组信息共享方法。假设手机A、手机B、手机C和手机D之间已经建立群组。群组成员之间想要共享信息,所述共享信息包括:文档、图片、视频、音乐等。
如图6所示,一种群组信息共享方法可以包括以下步骤:
步骤S101,当前需要发布信息的手机(比如手机A)修改群组注册配置文件,在所述群组注册配置文件中将自己的临时权限设置为主控端(host)。
步骤S102,当前需要发布信息的手机(比如手机A)与其他群组成员手机建立联系;
比如,其他群组成员手机包括手机B,手机C和手机D,则手机A可以通过点对点建立连接的方式与手机B,手机C和手机D分别建立连接。
步骤S103,当前需要发布信息的手机(比如手机A)向步骤S102中已经建立联系的其他群组成员手机发送修改后的群组注册配置文件。
其中,在本机需要发送信息或附件时,可以在注册表中将本机的临时权限修改为host,然后将所述修改后的注册表传递给群组其他成员,再进行信息或附件发送。比如,在手机界面上用户点击发送时可先将信息或附件放入本机缓存,待完成本机host设置并群组内同步后再发送信息或附件,以通过注册表作为载体维持整个群组的通讯记录。
其中,当前需要发布信息的手机(比如手机A)可以向其他群组成员手机逐一发送所述更新后的群组注册配置文件,也可以采用广播的方式在一个或多个信道上向所有的群组成员发送所述群组注册配置文件。
其中,接收到所述更新后的群组注册配置文件后,如果其他群组成员手机也想发布信息,则等待所述手机A信息发布完成后再发送。
步骤S104,当前需要发布信息的手机向其他群组成员手机发送需要共享的信息;
其中,所述当前需要发布信息的手机(手机A)可以将自己设置为热点,其他手机可以主动扫描热点,通过群组密钥接入,然后获取手机A发布的信息。或者手机A可以与其他群组成员手机点对点建立连接传递信息。
步骤S105,发布共享信息的手机(手机A)根据其他群组成员手机接收共享信息的情 况更新群组注册配置文件,在共享信息发布列表中新增信息发布记录,所述信息发布记录包括共享信息的属性信息;
其中,群组成员接入热点(手机A)时,手机A和群组成员双方会进行鉴权,查验密钥,成员手机标识等,此时,手机A可以将接入热点的手机与注册表中的成员进行匹配,根据匹配情况确定哪些手机接收了共享信息,哪些手机没有接收共享信息。
其中,所述共享信息的属性信息包括:信息发布者、信息发布时间、已接收成员列表、信息名称、信息类型、信息大小。
步骤S106,发布共享信息的手机(手机A)向其他群组成员手机发送更新后的群组注册配置文件。
步骤S107,其他群组成员手机接收更新后的群组注册配置文件以同步本地已经保存的群组注册配置文件,群组完成一次信息发布。
示例4
本示例提供一种获取群组共享信息的方法。假设某群组成员(手机C)没有收到信息发布时间较早的临时主控端(手机A)更新的群组注册配置文件以及发布的共享信息,但是接收到了信息发布时间较晚的临时主控端(手机B)发布的共享信息以及更新后的群组注册配置文件,对本地保存的群组注册配置文件进行同步,在同步群组注册配置文件的过程中,发现自己没有接收手机A的共享信息。则手机C可以通过以下的方法重新获得缺失的信息。
如图7所示,一种获取缺失的群组共享信息的方法可以包括以下步骤:
步骤S101,群组成员(手机C)在同步群组注册配置文件的过程中发现自己缺失第一群组成员手机(手机A)的共享信息;
步骤S102,群组成员(手机C)向第一群组成员手机(手机A)发起同步请求,其中携带想要获取的共享信息的属性信息;
步骤S103,群组成员(手机C)未能成功从第一群组成员手机处获取想要获取的共享信息,向第二群组成员手机(手机D)发起同步请求,其中携带想要获取的共享信息的属性信息;
步骤S104,群组成员(手机C)成功从第二群组成员手机(手机D)处获取想要获取的共享信息,更新群组注册配置文件,在共享信息发布列表中修改已经获取到的共享信息对应的信息发布记录,在所述共享信息的已接收成员列表中增加本手机的标识;
步骤S105,群组成员(手机C)与其他群组成员手机建立联系,向其他群组成员手机 发送更新后的群组注册配置文件。
示例5
本示例提供一种添加群组成员的方法。如图8所示,一种添加群组成员的方法可以包括以下步骤:
步骤S101,当前需要邀请其他手机入群的手机(比如手机A)更新群组注册配置文件,在所述群组注册配置文件中将自己的临时权限设置为主控端(host);
步骤S102,手机A搜索周边设备,将新发现的手机(比如手机E)作为受邀者手机,将受邀者手机添加到群组成员名单中;
比如,所述群组名单包括:手机A,手机B,手机C,手机D和手机E。
步骤S103,手机A更新群组注册配置表,在其中增加新入群的成员手机的信息,将新的成员手机的临时权限设置为客户端;
步骤S104,手机A与群组成员(手机B,手机C,手机D和手机E)建立连接;
步骤S105,手机A向群组成员(手机B,手机C,手机D和手机E)发送群组注册配置表;
步骤S106,手机A根据其他群组成员手机接收群组注册配置文件的情况更新群组注册配置文件;
步骤S107,手机A向其他群组成员手机发送更新后的群组注册配置文件;
步骤S108,其他群组成员手机接收更新后的群组注册配置文件以同步本地已经保存的群组注册配置文件,群组完成新成员的添加。
其中,当前需要邀请其他手机入群的手机可以是群主,或者是群主授权的其他群组成员手机。
与相关技术相比,本发明实施例提供的一种群组传输数据的方法、装置及终端,需要共享数据的终端修改群组注册配置文件,在所述群组注册配置文件中将本终端设置为临时主控设备,与其他群组成员建立连接,向成功建立连接的其他群组成员发送修改后的群组注册配置文件,并向成功建立连接的其他群组成员发送共享数据。本发明实施例通过群组成员的分布式机制,以群组注册配置文件方式,D2D(Device to Device,设备到设备)技术进行数据共享,能有效降低基站数据转接负担,甚至在无网络情况下也能实现群组成员之间的数据交换。
本发明实施例能够通过群组成员的分布式机制和设备到设备D2D通信技术进行数据共享,有效降低基站数据转接负担。
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。
需要说明的是,本发明还可有其他多种实施例,在不背离本发明精神及其实质的情况下,熟悉本领域的技术人员可根据本发明作出各种相应的改变和变形,但这些相应的改变和变形都应属于本发明所附的权利要求的保护范围。

Claims (10)

  1. 一种群组传输数据的方法,包括:
    需要共享数据的终端修改群组注册配置文件,在所述群组注册配置文件中将本终端设置为临时主控设备;
    需要共享数据的终端与其他群组成员建立连接,向成功建立连接的其他群组成员发送修改后的群组注册配置文件;
    需要共享数据的终端向成功建立连接的其他群组成员发送共享数据。
  2. 如权利要求1所述的方法,需要共享数据的终端向成功建立连接的其他群组成员发送共享数据后,还包括:
    需要共享数据的终端统计群组中共享数据的接收情况,根据所述接收情况更新所述群组注册配置文件,在所述群组注册配置文件中记录本次共享数据的同步情况统计信息,将所述更新后的群组注册配置文件发送给成功建立连接的其他群组成员。
  3. 如权利要求1所述的方法,还包括:
    想要建立群组的终端搜索周边终端,根据搜索结果确定群组成员名单,根据所述群组成员名单建立群组,将本终端设置为群主终端,群组中的其他成员设置为组员终端;
    群主终端建立群组注册配置文件,在所述群组注册配置文件中记录群组中所有成员的注册信息,将本终端设置为临时主控设备,所有组员终端设置为临时客户端设备;其中,临时主控设备具有发送数据和接收数据的临时权限,临时客户端设备具有接收数据的临时权限;
    群主终端与所有组员终端建立连接,向成功建立连接的组员终端发送群组注册配置文件。
  4. 如权利要求1所述的方法,还包括:
    想要邀请其他终端加入群组的终端搜索周边终端,根据搜索结果确定新的群组成员名单,根据所述新的群组成员名单确定受邀者终端,将所述受邀者终端设置为新的组员终端;
    想要邀请其他终端加入群组的终端修改群组注册配置文件,在所述群组注册配置文件中添加新的组员终端的注册信息,将本终端设置为临时主控设备,新的组员终端设置为临时客户端设备;
    临时主控设备终端与所有组员终端建立连接,向成功建立连接的组员终端发送修改后的群组注册配置文件。
  5. 如权利要求1或2或3或4所述的方法,在临时主控设备向成功建立连接的临时客户端设备发送群组注册配置文件后,还包括:
    临时主控设备统计群组中群组注册配置文件的接收情况,根据所述接收情况更新所述群组注册配置文件,在所述群组注册配置文件中记录本次群组注册配置文件的同步情况统计信息,将所述更新后的群组注册配置文件发送给成功建立连接的临时客户端设备。
  6. 如权利要求5所述的方法,还包括:
    临时客户端设备在接收到群组注册配置文件后,根据接收到的群组注册配置文件更新本地保存的群组注册配置文件。
  7. 如权利要求6所述的方法,临时客户端设备在接收到群组注册配置文件后,其特征在于,还包括:
    将所述接收到的群组注册配置文件中记录的共享数据同步情况统计信息,与本地保存的群组注册配置文件中的共享数据同步情况统计信息进行比对,在确定本终端存在共享数据未接收的事件时,从已经接收本终端未接收的共享数据的组员终端中选择一个终端作为目标终端,与所述目标终端建立连接并从所述目标终端获取所述共享数据。
  8. 如权利要求7所述的方法,在所述临时客户端设备从所述目标终端获取所述共享数据后,还包括:
    所述临时客户端设备修改群组注册配置文件:在所述群组注册配置文件中更新所述共享数据的同步情况统计信息,将本终端设置为临时主控设备;
    临时主控设备终端与所有组员终端建立连接,向成功建立连接的组员终端发送修改后的群组注册配置文件。
  9. 一种终端,包括:
    存储器、处理器及存储在所述存储器上并可在所述处理器上运行的群组传输数据的程序,其中,所述群组传输数据的程序被所述处理器执行时实现上述权利要求1-8中任一项所述的群组传输数据的方法的步骤。
  10. 一种计算机可读存储介质,存储有群组传输数据的程序,其中,所述群组传输数据的程序被处理器执行时实现上述权利要求1-8中任一项所述的群组传输数据的方法的步骤。
PCT/CN2020/098444 2019-09-16 2020-06-28 一种群组传输数据的方法、终端及计算机可读存储介质 WO2021051922A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910869098.7A CN112511993B (zh) 2019-09-16 2019-09-16 一种群组传输数据的方法、装置及终端
CN201910869098.7 2019-09-16

Publications (1)

Publication Number Publication Date
WO2021051922A1 true WO2021051922A1 (zh) 2021-03-25

Family

ID=74883939

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/098444 WO2021051922A1 (zh) 2019-09-16 2020-06-28 一种群组传输数据的方法、终端及计算机可读存储介质

Country Status (2)

Country Link
CN (1) CN112511993B (zh)
WO (1) WO2021051922A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113612812A (zh) * 2021-06-21 2021-11-05 重庆金美通信有限责任公司 一种分布式群组服务器的实现及其数据同步方法
CN113612812B (zh) * 2021-06-21 2024-05-31 重庆金美通信有限责任公司 一种分布式群组服务器的实现及其数据同步方法

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115426614A (zh) * 2021-05-31 2022-12-02 索尼集团公司 用于通信系统的电子设备、方法和存储介质
CN113765682B (zh) * 2021-09-13 2024-05-24 三星电子(中国)研发中心 用于执行群组功能的方法和系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120278389A1 (en) * 2011-04-30 2012-11-01 Samsung Electronics Co., Ltd. Method and system for delegating group ownership in a wi-fi peer to peer network
US20130227152A1 (en) * 2010-11-03 2013-08-29 Lg Electronics Inc. Method for searching for device and communication device using same
CN103327454A (zh) * 2012-03-22 2013-09-25 株式会社泛泰 管理无线直接访问通信组的方法和设备
CN104754523A (zh) * 2013-12-30 2015-07-01 中兴通讯股份有限公司 一种通信方法、终端及通信系统

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103580992A (zh) * 2012-07-19 2014-02-12 奥沃集合公司 网络平台内提供软件工具用以建立群组并在群组成员客户端之间通信的系统和方法
CN105721175A (zh) * 2016-01-21 2016-06-29 阿里巴巴集团控股有限公司 群组处理方法、群组文件处理方法及装置
CN109361638B (zh) * 2017-12-27 2021-06-15 深圳Tcl新技术有限公司 智能设备控制权限共享的方法、系统及存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130227152A1 (en) * 2010-11-03 2013-08-29 Lg Electronics Inc. Method for searching for device and communication device using same
US20120278389A1 (en) * 2011-04-30 2012-11-01 Samsung Electronics Co., Ltd. Method and system for delegating group ownership in a wi-fi peer to peer network
CN103327454A (zh) * 2012-03-22 2013-09-25 株式会社泛泰 管理无线直接访问通信组的方法和设备
CN104754523A (zh) * 2013-12-30 2015-07-01 中兴通讯股份有限公司 一种通信方法、终端及通信系统

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113612812A (zh) * 2021-06-21 2021-11-05 重庆金美通信有限责任公司 一种分布式群组服务器的实现及其数据同步方法
CN113612812B (zh) * 2021-06-21 2024-05-31 重庆金美通信有限责任公司 一种分布式群组服务器的实现及其数据同步方法

Also Published As

Publication number Publication date
CN112511993B (zh) 2023-06-27
CN112511993A (zh) 2021-03-16

Similar Documents

Publication Publication Date Title
JP7086082B2 (ja) 移動通信システムでアクセス及び移動性管理機能を選択するための方法及び装置
USRE48986E1 (en) Method and terminal for establishing a communication connection
US7987360B2 (en) Method for implementing grouping devices and interacting among grouped devices
WO2017012402A1 (zh) 一种网络切片的选择方法及系统
WO2012097731A1 (zh) 基于组的机器类型通信mtc设备的位置管理方法和设备
CN110602682A (zh) 基于蓝牙BLE和mesh混合的网络管理系统和方法
US10420156B2 (en) Wireless communication terminal, wireless communication system, wireless communication method, and non-transitory medium saving program
WO2021051922A1 (zh) 一种群组传输数据的方法、终端及计算机可读存储介质
WO2021197489A1 (zh) 通信系统、方法及装置
WO2020052385A1 (zh) 配置信息获取方法、装置、设备、存储介质及系统
EP3860300B1 (en) Group calling in a mission critical service system
CN102740297B (zh) 一种寻呼方法及寻呼装置、寻呼系统
WO2018010583A1 (zh) 网络系统
WO2020124930A1 (zh) 一种资源的调度、处理方法及装置
WO2016169232A1 (zh) 一种d2d业务组播的认证方法、装置和系统
US20160135017A1 (en) System and method for multiple clients synchronization in wi-fi peer-to-peer group
JP2018533853A (ja) 移動無線通信ネットワークに移動端末の接続を確立するための方法、及び無線アクセスネットワーク構成要素
WO2016131250A1 (zh) 资源共享方法、装置及系统
WO2022222081A1 (zh) 通信方法、装置、设备及存储介质
WO2021208059A1 (zh) 连接建立方法、装置、设备及存储介质
WO2020220843A1 (zh) 一种标识信息发送、接收方法、设备及装置
US10849179B1 (en) Mobile network tool
CN112235331B (zh) 一种数据传输处理方法及设备
WO2021134562A1 (zh) 配置设备更换方法、装置、设备及存储介质
WO2020029784A1 (zh) 地址的获取方法、地址的发送方法及装置

Legal Events

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

Ref document number: 20865527

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20865527

Country of ref document: EP

Kind code of ref document: A1

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

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

122 Ep: pct application non-entry in european phase

Ref document number: 20865527

Country of ref document: EP

Kind code of ref document: A1