WO2017016525A1 - 业务数据的群发送方法、终端及服务器 - Google Patents

业务数据的群发送方法、终端及服务器 Download PDF

Info

Publication number
WO2017016525A1
WO2017016525A1 PCT/CN2016/092408 CN2016092408W WO2017016525A1 WO 2017016525 A1 WO2017016525 A1 WO 2017016525A1 CN 2016092408 W CN2016092408 W CN 2016092408W WO 2017016525 A1 WO2017016525 A1 WO 2017016525A1
Authority
WO
WIPO (PCT)
Prior art keywords
service data
account
server
terminal
request
Prior art date
Application number
PCT/CN2016/092408
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
Priority claimed from CN201510454782.0A external-priority patent/CN106411681B/zh
Priority claimed from CN201510520668.3A external-priority patent/CN106470391B/zh
Application filed by 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Priority to MYPI2017704700A priority Critical patent/MY197378A/en
Publication of WO2017016525A1 publication Critical patent/WO2017016525A1/zh
Priority to US15/715,709 priority patent/US10582563B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/40Connection management for selective distribution or broadcast
    • 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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Definitions

  • the present invention claims the prior application priority of 201510520668.3, which is filed on August 21, 2015, and the name of the invention filed on July 29, 2015, and the title of the invention submitted on July 29, 2015.
  • the method of processing information and the initiating device, the server, and the participating device are disclosed in the priority of the prior application, which is hereby incorporated by reference.
  • the present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for transmitting a group of service data.
  • the business data may be a message (eg, an e-card), a file, a picture (eg, a picture taken), financial data (eg, an online bank account or a data type of a third party payment account that represents the actual financial amount) Or virtual financial data (eg, data in a network game account or a social network application account that represents a numerical type of virtual currency).
  • a message eg, an e-card
  • a file eg, a picture taken
  • financial data eg, an online bank account or a data type of a third party payment account that represents the actual financial amount
  • virtual financial data eg, data in a network game account or a social network application account that represents a numerical type of virtual currency.
  • the sharing of business data between users in the conventional technology is usually based on a social relationship chain between users (such as friends, group friends, alumni, people who may be recognized, etc.) in the social relationship chain, that is, the user only Ability to share business data with users on the social relationship chain.
  • users such as friends, group friends, alumni, people who may be recognized, etc.
  • the user is in a plurality of When a stranger sends business data, the user needs to perform more operations of adding a friend and creating a group to complete the group sending operation, thereby causing insufficient convenience of operation, and a group sending method of business data is proposed.
  • a group sending method for business data comprising:
  • a terminal comprising:
  • a processor for executing the computer readable program code to perform the following operations:
  • a method of forwarding service data between terminals comprising:
  • a server comprising:
  • a processor for executing the computer readable program code to perform the following operations:
  • the initiator of the sending service data does not need to first and after multiple times when sending the service data to the stranger, that is, the user group that is not in the social relationship chain with the initiator. If a stranger adds a friend, the pairing logo can be broadcasted in a short distance directly through the short-range wireless signal, and the pairing identifier can be associated with multiple strangers. That is, the terminal having the same pairing identifier as the initiator's terminal can receive the service data sent by the initiator group, thereby eliminating the cumbersome step of adding a friend and verifying, thereby improving the convenience of operation.
  • the initiator does not need to create a group for multiple recipient accounts, and the group sends the service data through the group, and the server can determine the recipient account according to the pairing identifier.
  • the identity user account then sends the service data to the user account that is the recipient account. This also eliminates the need for the initiator to create a group for the group, thereby improving the convenience of the operation.
  • 1 is a networking diagram of a group sending system for service data in an embodiment
  • FIG. 2 is a sequence diagram of an interaction process between a sender, a receiver, and a server in a group sending system of the foregoing service data;
  • FIG. 3 is a flowchart of a method for sending a group of service data in an embodiment
  • FIG. 4 is a flow chart of a method for receiving grouped service data in an embodiment
  • FIG. 5 is a flow chart of a method for forwarding service data between terminals in an embodiment
  • FIG. 6 is a schematic diagram of a display interface for inputting a data group sending instruction in an application scenario of a red envelope
  • FIG. 7 is a schematic diagram showing a display interface of a recipient account in an application scenario of a red envelope
  • FIG. 8 is a schematic diagram of a service data input interface in an application scenario of a red envelope
  • FIG. 9 is a schematic diagram showing an interface for displaying a red envelope process in an application scenario of a red envelope
  • FIG. 10 is a schematic structural diagram of a group sending apparatus for service data in an embodiment
  • FIG. 11 is a schematic structural diagram of an apparatus for receiving group-transmitted service data in an embodiment
  • FIG. 12 is a schematic structural diagram of an apparatus for forwarding service data between terminals in an embodiment
  • FIG. 13 is a flowchart of a group sending method of service data in another embodiment
  • 15 is a flow chart of a method for receiving group-transmitted service data in another embodiment
  • 16 is a flow chart of a method for receiving grouped service data in another embodiment
  • 17 is a schematic structural diagram of a group sending apparatus for service data in another embodiment
  • FIG. 18 is a schematic structural diagram of an apparatus for forwarding service data between terminals in another embodiment.
  • a group sending mechanism of service data is proposed. As shown in FIG. 1, the group sending mechanism of the service data is based on the computer shown in FIG.
  • the system includes a terminal 10 of a sender account for transmitting a service data group, a server 20 responsible for forwarding service data, and a terminal 30 for receiving a recipient account of the service data group.
  • the group sending mechanism of the service data is divided into three parts, including a group sending method of service data of the terminal 10 running on the sender account, a method of forwarding the service data between the terminals running on the server 20, and running on the receiving A method of receiving the group-issued business data by the terminal 30 of the account.
  • the terminal 10 of the sender account and the terminal 30 of the recipient account may be smart phones, tablets, etc., and are equipped with short-range wireless communication components, such as Near Field Communication (NFC), Bluetooth components, wifi components, or A computer system based on the von Neumann system of the zigbee component.
  • the server 20 responsible for forwarding the business data may be a server device of the social network application.
  • the group sending method of the service data of the terminal 10 running on the sender account, the method of forwarding the service data between the terminals running on the server 20, and the method of receiving the group-issued service data of the terminal 30 running on the receiver account It can depend on a computer program.
  • the group sending method of the service data of the terminal 10 running on the sender account and the method of receiving the group-sending business data of the terminal 30 running on the recipient account may be a client program based on the social network application, and the server 20 runs on the server 20
  • the method of forwarding service data between terminals may be based on a server program of a social network application.
  • the interaction process of the group sending mechanism of the service data is as shown in FIG. 2, wherein the group sending method of the service data of the terminal 10 running on the sender account is as shown in FIG. 3, and includes:
  • Step S102 Receive a data group sending instruction, generate a pairing identifier, and broadcast the pairing identifier by a short-range wireless signal.
  • the user who is the sender of the service data wishes to send the service data group to the stranger, the user can input a data group to the smart terminal to open the group sending function of the service data.
  • the sender needs to log in to the server on the terminal 10 using the account of the social network application before the group sends the service data, and the logged-in user account is the sender account.
  • the terminal After the sender inputs the data group sending command, the terminal generates a pairing identifier, and the pairing identifier can be used to establish a mapping relationship with the terminal of the stranger.
  • the target of the service data sent by the terminal group corresponding to the sender account is the terminal corresponding to the sender account.
  • the pairing identifier may be sent to the terminal corresponding to the other user account by using the short-range wireless signal.
  • the short-range wireless signal may be a wireless signal that propagates over a range of tens of meters, such as an NFC signal, a Bluetooth signal, a wifi signal (a wireless local area network neighbor), or a zigbee signal.
  • the pairing identifier can be broadcast to other terminals through the NFC signal, and other users can establish a connection with the sender's terminal by detecting the short-range wireless signal by bringing the terminal closer to the sender's terminal. Thereby, the pairing identifier is received, and the user account of the social network application registered on the terminal can become the recipient account.
  • Step S104 Upload the pairing identifier to the server, and receive a recipient account corresponding to the pairing identifier returned by the server.
  • the terminal of the sender account can upload the pairing identifier to the server through the pairing initiation request, and the server can receive the pairing identifier.
  • the pairing initiation request may also carry the sender account or the server may obtain the session object session including the sender account through the established connection with the terminal of the sender account, and then obtain the sender account through the session object.
  • the terminal that is in close contact with the terminal of the sender account and obtains the same pairing identity with the sender account by detecting the short-range wireless signal can also establish a connection with the server and join the request through the pairing.
  • the server can search for the user account having the same pairing identifier as the sender account by comparing the pairing identifier, and the user account is the recipient account in the service data group sending.
  • the connection cannot be established with the server, that is, If the server does not receive the pairing join request or the received pairing join request does not include the user account, the user's terminal still cannot receive the service data as the receiver of the service data.
  • the pairing join request including the pairing identifier is successfully uploaded, and the server obtains the user account registered on the terminal used by the user. Thereafter, regardless of whether the user account is in a social relationship chain with the sender account (in the case of a stranger with respect to the sender), it can be used as the recipient account to receive the grouped service data.
  • the terminal of the sender account After receiving the recipient account returned by the server, the terminal of the sender account can display the recipient account in the pairing situation display interface.
  • the process of receiving the recipient account returned by the server by the terminal of the sender account may be a continuous process, that is, the server may receive the user account having the same pairing identifier as the sender account.
  • the account is cached and returned to the sender's account terminal.
  • the terminal of the sender account can receive multiple recipient accounts one after another, and can be added to the pairing situation display interface for the initiator to view.
  • the initiator can view all the recipient accounts in the pairing situation display interface, and can perform the deletion operation after selecting a recipient account.
  • the terminal of the sender account can send the recipient account deleted by the initiator to the server, and the server deletes it in the cache, and the subsequent server does not send the service data sent by the initiator group to the user account.
  • Step S106 Receive input business data.
  • a business data input interface can be presented for the initiator to enter business data.
  • the input business data can be in various data forms, such as files, pictures, values, and the like.
  • the initiator can input the network storage path of the file in the network disk.
  • the photo data selection interface may provide a photo selection box, and the initiator may first select a local photo in the service data input interface.
  • the file is input as business data, and then the photo file is uploaded to a network storage location such as a server or a third-party storage server, and the returned network file of the photo file is obtained.
  • the storage path is then entered as business data.
  • the service data may also be a numeric type, such as a payment amount or a transfer amount, which is numeric data that can be transferred between the sender account and the recipient account.
  • step S106 and step S102 and step S104 does not need to be strictly limited.
  • the initiator may first generate a pairing identifier by inputting a data group, find the terminal of the receiver account, and then input the business data in the displayed business data input interface; or input the business data in the displayed business data input interface, and input the data through the input data.
  • the bulk command generates a pairing identifier and finds the terminal of the recipient account. The two do not conflict.
  • Step S108 Send a service data group sending request according to the service data to the server, and send the service data to the server, where the server sends the service data group to the receiver account according to the service data group sending request.
  • the server sends the service data group to the receiver account according to the service data group sending request.
  • the method for forwarding service data between terminals by the server may be as shown in FIG. 4, including:
  • Step S202 Receive the uploaded pairing identifier, and obtain a sender account corresponding to the pairing identifier.
  • Step S204 Receive a pairing join request, and when the pairing join request includes the pairing identifier, obtain a user account carried in the pairing join request as a recipient account, where the pairing identifier is corresponding to the sender account.
  • the terminal broadcasts to the terminal corresponding to the receiver account by using a short-range wireless signal.
  • Step S206 Receive a service data group sending request uploaded by the terminal corresponding to the sender account, and obtain service data according to the service data group sending request.
  • Step S208 Send the service data to the terminal corresponding to the receiver account.
  • the method for receiving the service data of the group sent by the terminal of the receiver account may be as shown in FIG. 5, including:
  • Step S302 Detect a short-range wireless signal, and acquire a pairing identifier carried by the short-range wireless signal.
  • Step S304 Acquire a recipient account, upload the pairing identifier to the server, and carry the recipient account, the server searches for a sender account corresponding to the pairing identifier, and the server searches for the sender account.
  • Uploaded business data
  • the pairing identifier can be broadcasted by the short-range wireless signal in a small space. If other users want to receive the service data of the group, they can detect the short-range wireless signal by picking up the short-distance wireless signal by using the terminal (which needs to log in first with the user account) to detect the short-range wireless signal, and then extract the pairing identifier carried in the short-range wireless signal. And generate a pairing join request to send to the server. At this time, the logged-in user account corresponding to the pairing join request is the recipient account.
  • the terminal of the receiver account may also display a verification box before sending the pairing join request to the server, and the receiver needs to input the verification information corresponding to the pairing identifier in the verification box.
  • the pairing identifier is a random number "32452”
  • the initiator can observe the pairing identifier and then verbally inform a certain user that if the user wishes to be the recipient, the user's terminal sends a pairing join request to the server.
  • the verification box is displayed, the user is required to manually enter "32452" (informed by the initiator). If the verification is successful, the pairing join request may continue to be sent to the server, meaning that the recipient is the user invited by the initiator, not the user who "steals the pairing identity".
  • Step S306 Receive service data uploaded by the sender account to the server.
  • the service data input by the initiator is a network storage address or a service data of a numerical type for online payment
  • the service data may be sent to the server through the service data group sending request.
  • the business data input by the initiator is a local photo, audio, etc.
  • it may be uploaded to a network storage location such as a server or a third-party storage server, and the returned network storage path of the photo file is obtained, and then returned according to the The network storage path generation service data group sending request corresponding to the actual service data is sent to the server.
  • the server may extract the network storage path of the service data or the service data according to the service data group sending request, and then send the network storage path to the terminal of the receiver account stored in the cache.
  • the terminal corresponding to the receiver account downloads service data according to the network storage path.
  • the service data input by the initiator is a network storage path of a file on a network disk
  • the server may send the network storage path group to all receiver accounts, and the terminal of the receiver account may be stored according to the network.
  • the path download gets the corresponding file.
  • the service data input by the initiator is a locally stored photo, audio or video
  • the service data group sending request includes the network storage of the input photo, audio or video.
  • the path may be sent by the server to all recipient accounts, and the terminal of the recipient account may download the corresponding photo, audio or video according to the network storage path.
  • the data type of the business data can be a numerical value.
  • the steps of receiving the input business data further include:
  • the server And receiving the input service data corresponding to the sender account with a data type of a value, and the server performs a service value transfer between the sender account and the receiver account according to the service data.
  • the service value transfer is to transfer the value type of service data from the attribute value of the sender account to the attribute value of the receiver account. For example, in a mobile payment application scenario, if the service data is a payment amount of 100, the service value transfer is to deduct 100 values from the payment balance of the sender account, and then add a value of 100 to the payment balance of the recipient account. . And the operation is a transactional operation. If the value of 100 is deducted from the payment balance of the sender account and the value of 100 is added to the payment balance of the recipient account, the rollback operation is performed, and the deducted 100 value is returned to the sender account. In the payment balance.
  • the initiator may input the service data to a value corresponding to 100 values of each recipient account, and the initiator may sequentially perform short-range wireless communication with the terminals of the plurality of users after inputting the data group sending instruction.
  • a value of 100 can be added to the payment balance of each recipient account, and the payment balance of the sender account is deducted from the payment balance of 100 each time a recipient account is added.
  • the server may send the prompt information corresponding to the service value transfer to the receiver account to notify.
  • the server may notify the terminal of the recipient account to inform the recipient that the payment balance has increased by 100.
  • the initiator may further input the number of copies parameter, that is, the terminal of the sender account may receive the input in the process of receiving the input service data whose data type corresponding to the sender account is a numerical value.
  • step of transmitting the service data group sending request to the server according to the service data may add the part number parameter to the service data group sending request.
  • the server may divide the service data into the sub-parameter parameters according to the number of copies parameter. And a set of values for extracting the sub-values in the set of sub-values for the recipient account to perform service value transfer.
  • business data can be better managed by dividing business data into multiple shares.
  • the initiator In a group red envelope application scenario (ie, the initiator generates an electronic red envelope using a part of the payment balance of the logged sender account, the electronic red envelope contains the data of the payment value, and then the data of the electronic red envelope is generated with other users.
  • the server transfers the payment value in the electronic red envelope to the payment balance of other user accounts.
  • the user who is the initiator can input the data group sending instruction by clicking the “face-to-face red packet” on the mobile phone interface.
  • the mobile phone interface displays the prompt message that NFC is turned on and prompts close contact with other terminals (ie, “touching” with other terminals).
  • the pairing identifier is generated on the mobile phone of the user as the initiator, and the pairing identifier is broadcast to other peripheral terminals through short-range wireless signals such as NFC.
  • the mobile phone near the originator's user's mobile phone may initiate a pairing join request including the pairing identifier to the server.
  • the server establishes the user account that initiates the pairing join request as the receiver account according to the pairing identifier, so that the mapping relationship between the sender account and the receiver account is established by the pairing identifier.
  • the server may return the recipient account to the terminal of the sender account, and the terminal of the sender account may display the recipient user.
  • FIG. 7 shows a schematic diagram of an interface for displaying a recipient account on a terminal of an initiator account, wherein a user account such as vivi and coco is a recipient account returned by the server.
  • the initiator may first send the pairing identifier to the vivi through the NFC, and after receiving the pairing identifier, the vivi sends the pairing identifier to the server, thereby becoming the recipient account of the initiator.
  • the server may first send the receiver account vivi to the initiator's terminal.
  • the coco also receives the pairing identifier and sends the pairing identifier to the server, thereby becoming the recipient account of the initiator.
  • the server can continue to send the recipient account coco to the initiator's terminal first.
  • the relationship chain addition instruction may be received through the display interface of the receiver account, and the recipient account selected in the display interface corresponding to the relationship chain addition instruction may be obtained.
  • the coco avatar can be selected on the display interface of the display recipient account, and the friend addition application is initiated in the pop-up menu bar, thereby facilitating Establish social connections between users.
  • the initiator can input the service data by clicking the "red envelope” on the interface.
  • the business data input interface can be displayed.
  • the service data input interface in the application scenario is a red packet amount input interface
  • the “red packet number” input by the initiator is the number of copies parameter
  • the “total amount” is the input business data, which is electronic.
  • the red envelope contains the numeric payment value.
  • the step of receiving the input service data corresponding to the sender account and having the data type as a value may further display an identity verification window, and obtain, by using the identity verification window, the input identity verification corresponding to the sender account.
  • the information is sent to the server for verification.
  • the step of generating the service data group sending request according to the service data is sent to the server.
  • the initiator needs to perform identity verification before confirming the group sending.
  • the authentication information may be a password corresponding to the sender account or a third-party payment account and password corresponding to the sender account.
  • the server is allowed to deduct the corresponding service data from the sender's payment balance.
  • the server may divide the service data into a set of sub-values according to the number of copies parameter. For example, if the total amount is 200 and the number of red packets is 10, the server can divide the business data 200 into 10 copies.
  • the division method can be equally divided (in the case of dispatching a fixed red envelope, the initiator can set the amount of the red envelope at one time, thereby improving convenience), and randomly assigning (in the case of red packets, the amount of red packets that each recipient can obtain is a random value, Add interest) or a preset allocation rule grading (for example, assigning more sub-values to female recipients, assigning fewer sub-values to male recipients, or assigning more recipients to ages less than the threshold) Sub-values, etc.) are divided.
  • the service data 200 is divided into 10 equal-part sub-values by means of sharing, and the sub-value set is a set containing 10 sub-values of 20. Then, each time the server receives a pairing join request and establishes a receiver account, the child value of 20 can be extracted in the child value set, and then the service value of the service value of 20 is transferred between the sender account and the receiver account ( In other embodiments, not only the value of 20 may be transferred from the payment balance of the sender account to the payment balance of the recipient, but also the payment balance of the recipient account may be transferred to the sender. In the payment balance of the sender account, for example, the application scenario of the wallet).
  • the terminal of the sender account may also receive the recipient account returned by the server as the received recipient account, and display the prompt effect on the display interface for the received recipient account.
  • the initiator who distributes the red envelope inputs the number of copies parameter and the total amount on the terminal of the sender account, and after the identity verification is performed, the service data group sending request is sent to the server, and then the display is received.
  • the number of red packets and the animation of the red card flying to the recipient's account are displayed on the display interface of the account. If the receiving status returned by the terminal receiving server of the sender account is the received recipient account is vivi, the avatar receiving the vivi is displayed. An animation of the flying red envelope to remind the initiator that vivi has received.
  • the sender account and the avatar of other recipient accounts can also be displayed on the terminal of the recipient account.
  • the prompt information is sent to the recipient account, and the terminal of the recipient account can display the prompt information.
  • the avatar of the initiator "Beiye" and another recipient coco can also be displayed, and the payment value of the 20 value is transferred from the initiator's account to the recipient vivi at the server.
  • a red envelope can be used. That is to say, after the initiator inputs the number of parameters 10, the service data 200 is uploaded to the server, the server can randomly divide the value 200 to obtain 10 sub-values whose numerical values are random to form a sub-value set.
  • the terminal of the recipient account can display the prompt information sent by the server, the total amount of 200, the number of red packets, and the like, and display the icon of the red envelope. Or button.
  • an application receiving instruction is input. That is to say, for the terminal of the recipient account, the input application receiving instruction may be received, and the application receiving instruction is uploaded to the server and carries a time stamp.
  • the server may extract the sub-values in the service data according to the received timestamps to perform service value transfer between the sender account and the receiver account. That is, the server may receive the application receiving instruction uploaded by the terminal corresponding to the receiver account and extract the first timestamp; and sequentially send the service data to the terminal corresponding to the receiver account according to the first timestamp.
  • the first timestamp can be used to sort the recipient accounts, and then the service data is sequentially sent to the terminal corresponding to the receiver account, thereby avoiding chaos and disorder.
  • vivi and coco are both recipient accounts. vivi first clicks on the icon or button for grabbing the red envelope, and after coco, clicks the icon or button for grabbing the red envelope. Therefore, the mobile phone of vivi is the first to upload an application receiving instruction to the server, and the time sequence in which the server receives the application receiving instruction is that vivi is earlier than coco. Therefore, a sub-value is first extracted from the set of sub-values, that is, the sub-value set corresponds to 10 electronic red packets. For collection, one electronic red envelope can be randomly selected from 10 electronic red packets to be distributed to vivi.
  • the coco uploaded application receiving instruction can be processed, and then an electronic red envelope is extracted from the remaining 9 red packets to be distributed to coco. That is to say, the recipient account that preferentially uploads the application receiving instruction is preferentially assigned to the sub-value in the sub-value set to perform the service value transfer.
  • the partial recipient account may not receive the sub-values in the corresponding set of sub-values.
  • the server may obtain the number of recipients of the recipient account when acquiring the user account carried in the pairing join request as the recipient account.
  • the server may also determine whether the number of the recipient is greater than the part number parameter, and if yes, return to the recipient account Receive a failure message.
  • the initiator first inputs the service data and then generates the pairing identifier to match the receiver account
  • the server if the server detects that the number of recipients is greater than the input number of parameters, the server returns to the terminal of the recipient account.
  • a message to receive data failure if the coco is the eleventh recipient account, the coco may prompt the red packet has been robbed after clicking the red envelope button.
  • the server when the server sends the service data to the terminal corresponding to the receiver account, it may also determine whether the sub-value set is empty, and if yes, return the reception failure to the receiver account. Tip message.
  • the server may return the prompt information for receiving the data failure to the terminal of the receiver account. For example, in the above example, if the server extracts the sub-value for coco, if the total amount of 200 business data has been transferred, that is, the 10 electronic red packets that have been divided have been dispatched, then the coco clicks the red envelope button. A message indicating that the red envelope has been grabbed.
  • the server may also acquire a second timestamp of receiving the service data group sending request when receiving the service data group sending request;
  • the server may further determine whether the second timestamp expires, and if so, obtain the remaining sub-values in the set of sub-values, return the remaining sub-values to the sender account, and send the senders The terminal corresponding to the account sends a prompt message.
  • the server can detect the duration of the second timestamp, and the duration is the length of time in which the electronic red envelope is divided. If the length of the undistributed electronic red envelope is too long, the server can end the current service data group, and the remaining The remaining payment values in the 4 red packets are still transferred back to the sender account and the sender's account terminal is notified.
  • the sender's account terminal can display the prompt message to prompt the user that the red envelope distribution activity has ended, and the payment value in the electronic red envelope that has not been sent has been returned to the sender account.
  • the service data is returned to the sender account by judging whether it is timed out, thereby avoiding unnecessary loss of the sender account.
  • a group sending apparatus for service data corresponding to the foregoing group sending method of service data is proposed, and the apparatus includes: pairing identifier generation Module 102, pairing identifier uploading module 104, industry The data input module 106 and the group sending request uploading module 108, wherein:
  • the pairing identifier generating module 102 is configured to receive a data group sending instruction, generate a pairing identifier, and broadcast the pairing identifier by using a short-range wireless signal.
  • the pairing identifier uploading module 104 is configured to upload the pairing identifier to the server, and receive a recipient account corresponding to the pairing identifier returned by the server.
  • the service data input module 106 is configured to receive the input service data.
  • the group sending request uploading module 108 is configured to send a service data group sending request to the server according to the service data, and the server sends the service data group to the terminal corresponding to the receiver account according to the service data group sending request.
  • the service data input module 106 is further configured to acquire a network storage path of the service data.
  • the group sending request uploading module 108 is further configured to send a service data group sending request to the server according to the network storage path of the service data, where the server sends the network storage path group to the terminal corresponding to the receiver account, The terminal corresponding to the receiver account downloads the service data according to the network storage path.
  • the pairing identifier uploading module 104 is further configured to acquire a sender account and upload.
  • the service data input module 106 is further configured to receive the input service data whose data type corresponding to the sender account is a value, and the server is between the sender account and the receiver account according to the service data. Perform business value transfer.
  • the business data input module 106 is further configured to receive the input number of copies parameter.
  • the group sending request uploading module 108 is further configured to add the part number parameter to the service data group sending request, and the server divides the service data into a sub-value set according to the part number parameter according to the part number parameter. Extracting the sub-values in the set of sub-values for the recipient account to perform service value transfer.
  • the device further includes an identity verification module 110, configured to display an identity verification window, and obtain, by using the identity verification window, the input identity verification information corresponding to the sender account, and Sending to the server for verification, and calling the group sending request uploading module when receiving the message of verification verification returned by the server.
  • an identity verification module 110 configured to display an identity verification window, and obtain, by using the identity verification window, the input identity verification information corresponding to the sender account, and Sending to the server for verification, and calling the group sending request uploading module when receiving the message of verification verification returned by the server.
  • the device further includes a group sending status display module 112, configured to display the recipient account on the display interface; and the receiving status returned by the receiving server is received.
  • the recipient account shows the prompt effect for the received recipient account on the display interface.
  • the device further includes a social relationship adding module 114, configured to receive, by using the display interface, a relationship chain adding instruction, and obtain, by the relationship chain adding instruction, a receiving selected in the display interface.
  • the account number is sent to the server according to the selected recipient account generation relationship chain addition request, and the server establishes a relationship chain mapping between the sender account and the selected recipient account.
  • a device for forwarding service data between terminals corresponding to the foregoing method for forwarding service data between terminals includes: a pairing initiation module 202, a receiver adding module 204, a service data receiving module 206, and a service data delivery module 208, wherein:
  • the pairing initiation module 202 is configured to receive the uploaded pairing identifier, and obtain a sender account corresponding to the pairing identifier.
  • a receiver adding module 204 configured to receive a pairing join request, and when the pairing signing request includes the pairing identifier, obtain a user account carried in the pairing joining request as a recipient account, where the pairing identifier is The terminal corresponding to the sender account is broadcasted to the terminal corresponding to the receiver account by a short-range wireless signal.
  • the service data receiving module 206 is configured to receive a service data group sending request uploaded by the terminal corresponding to the sender account, and obtain service data according to the service data group sending request.
  • the service data delivery module 208 is configured to send the service data to the terminal corresponding to the receiver account.
  • the data type of the business data is a numerical value.
  • the service data delivery module 208 is configured to perform service value transfer between the sender account and the receiver account according to the service data, and send prompt information corresponding to the service value transfer to the receiver account.
  • the service data delivery module 208 is further configured to: extract a number parameter of the service value according to the service data group sending request; and divide the service data into a sub-value set according to the part number parameter; The sub-value set extracts a sub-value to perform a service value transfer to the recipient account.
  • the apparatus further includes: an application receiving instruction receiving module 210, configured to receive an application receiving instruction uploaded by the terminal corresponding to the receiver account, and extract a first timestamp.
  • an application receiving instruction receiving module 210 configured to receive an application receiving instruction uploaded by the terminal corresponding to the receiver account, and extract a first timestamp.
  • the service data delivery module 208 is configured to sequentially send the service data to the terminal corresponding to the receiver account according to the first timestamp.
  • the recipient addition module 204 is further configured to obtain the number of recipients of the recipient account.
  • the service data delivery module 208 is configured to determine whether the number of recipients is greater than the number of copies parameter, and if yes, return a prompt message for receiving failure to the recipient account.
  • the service data delivery module 208 is configured to determine whether the set of sub-values is empty, and if so, return the prompt information of the failure to the recipient account.
  • the service data delivery module 208 is configured to acquire a second timestamp that receives the service data group sending request, determine whether the second timestamp is timed out, and if yes, acquire the remaining one of the child value sets.
  • the sub-value returns the remaining sub-values to the sender account, and sends the prompt information to the terminal corresponding to the sender account.
  • a device for receiving group-distributed service data corresponding to the foregoing method for receiving group-transmitted service data includes: a pairing identifier The detecting module 302, the joining pairing module 304, and the data receiving module 306, wherein:
  • the pairing identifier detecting module 302 is configured to detect a short-range wireless signal and acquire a pairing identifier carried by the short-range wireless signal.
  • the pairing module 304 is configured to acquire a recipient account, upload the pairing identifier to the server, and carry the receiver account, and the server searches for a sender account corresponding to the pairing identifier and searches for the server by the server.
  • the data receiving module 306 is configured to receive service data uploaded by the sender account to the server.
  • the data type of the service data is a value
  • the server performs a service value transfer between the sender account and the receiver account according to the service data
  • the data receiving module 306 is configured to receive prompt information corresponding to the service value transfer returned by the server.
  • the apparatus further includes an application receiving module 308, configured to receive an input application receiving instruction, upload the application receiving instruction to a server, and carry a timestamp, and the server receives the The order of the received timestamps extracts the sub-values in the service data and performs service value transfer between the sender account and the recipient account.
  • an application receiving module 308 configured to receive an input application receiving instruction, upload the application receiving instruction to a server, and carry a timestamp, and the server receives the The order of the received timestamps extracts the sub-values in the service data and performs service value transfer between the sender account and the recipient account.
  • the initiator of the sending service data does not need to first and after multiple times when sending the service data to the stranger, that is, the user group that is not in the social relationship chain with the initiator. If a stranger adds a friend, the pairing logo can be broadcasted in a short distance directly through the short-range wireless signal, and the pairing identifier can be associated with multiple strangers. That is, the terminal having the same pairing identifier as the initiator's terminal can receive the service data sent by the initiator group, thereby eliminating the cumbersome step of adding a friend and verifying, thereby improving the convenience of operation.
  • the initiator does not need to create a group for multiple recipient accounts, and the group sends the service data through the group, and the server can determine the recipient account according to the pairing identifier.
  • the identity user account then sends the service data to the user account that is the recipient account. This also eliminates the need for the initiator to create a group for the group, thereby improving the convenience of the operation.
  • the above describes a method for acquiring a recipient account that is not in the social relationship chain by using the pairing identifier, and transmitting the service data group to the terminal corresponding to the recipient account.
  • other methods may be used to implement the sending of the service data group to the terminal corresponding to the recipient account, as long as the identifier can be matched with the recipient account.
  • the group sending method of the service data may be run on the terminal 10 of the sender account, as shown in FIG. 13, including:
  • Step S402 The pairing request is broadcasted by the short-range wireless signal.
  • the short-range wireless signal may be a wireless signal that propagates over a range of tens of meters, such as an NFC signal, a Bluetooth signal, a wifi signal (a wireless local area network neighbor), or a zigbee signal.
  • an NFC chip is installed on the smart terminal, the pairing request can be broadcast to other terminals through the NFC signal, and other users can establish a connection with the sender's terminal by detecting the short-range wireless signal by bringing the terminal closer to the sender's terminal.
  • the user account of the social network application can be registered on the terminal. Become a recipient account.
  • Step S404 Pair with a recipient account that is within the range of the short-range wireless signal and accepts the pairing request.
  • the sender and the receiver may add the other party as a friend in advance, or may not need to add the other party as a friend in advance, and the terminal corresponding to the sender account needs to send the pairing request to the terminal corresponding to the receiver account.
  • the terminal corresponding to the sender account receives the response of the terminal corresponding to the receiver account, that is, the terminal corresponding to the sender account needs to first confirm which terminal or terminals to distribute the service data to.
  • Step S406 Receive input business data.
  • a business data input interface can be presented for the initiator to enter business data.
  • the input business data can be in various data forms, such as files, pictures, values, and the like.
  • the initiator can input the network storage path of the files in the network disk.
  • the photo data input interface may provide a photo selection box, and the initiator may first select the local in the service data input interface.
  • the photo file is input as business data, and then the photo file is uploaded to a network storage location such as a server or a third-party storage server, and the returned network storage path of the photo file is obtained, and then the network storage address is input as business data.
  • the service data may also be of a numerical type, such as a payment amount or a transfer amount, which is numerical data that can be transferred between the sender account and the recipient account.
  • the sender may first broadcast the pairing request through the short-range wireless signal, pair with the recipient account that is within the range of the short-range wireless signal and accept the pairing request, find the terminal corresponding to the recipient account, and then display the service data. Entering service data in the input interface; or inputting service data in the displayed service data input interface, and then broadcasting the pairing request through the short-range wireless signal, and in the range of the short-range wireless signal and accepting the pairing request.
  • the recipient account is paired and the terminal of the recipient account is found. The two do not conflict.
  • Step S408 Generate a service data group sending request according to the service data and send the request to the server, and And sending the service data to the server, where the server sends the service data group to the terminal corresponding to the receiver account according to the service data group sending request.
  • the initiator of the sending service data since the group sending method of the above service data is adopted, the initiator of the sending service data does not send the service data to the stranger, that is, the user group that is not in the social relationship chain with the initiator, the initiator does not You need to add friends to multiple strangers in turn, and you can directly communicate with multiple strangers through short-range wireless signals, and then pair with multiple strangers who accept the pairing request, thus eliminating the cumbersome steps of adding friends and verifying. Improve the convenience of operation.
  • the initiator does not need to create a group for multiple recipient accounts, and the group sends the service data through the group, but can determine the conforming receiver through the short-range wireless signal or the server.
  • the user account of the account identity then sends the service data to the user account as the recipient account, thereby eliminating the initiator's operation of creating a group for the group sending, thereby improving the convenience of operation.
  • the step of broadcasting the pairing request by the short-range wireless signal may include:
  • the step of pairing with the recipient account that is within the range of the short range wireless signal and accepting the pairing request may include:
  • the step of pairing with the recipient account that is in the range of the short-range wireless signal and accepting the pairing request may include:
  • S4022 Receive a response signal that is returned by each of the terminals corresponding to the receiver account according to the short-range wireless signal, where each response signal includes an application identifier corresponding to one of the recipient accounts.
  • the application identifier corresponding to the receiver account may be a plurality of types of unique identifiers, as long as the terminal corresponding to each recipient account is uniquely distinguished on the terminal side corresponding to the sender account, for example, the application identifier corresponding to the receiver account may be a mobile Equipment international identity code (English full name: International Mobile Equipment Identity, English abbreviation: IMEI).
  • IMEI International Mobile Equipment Identity
  • the sender may operate the terminal corresponding to the sender account, input the application identifier corresponding to the receiver account, or correspond to the sender account. End The end obtains the application identifier corresponding to the recipient account through a pre-inquiry.
  • the terminal corresponding to the sender account does not use the server, but obtains the application identifier corresponding to the receiver account directly from the recipient account that accepts the pairing request, thereby completing the pairing. Therefore, the receiver account is omitted from the server. The steps are more efficient.
  • each of the terminals corresponding to the recipient account may further include:
  • S4024 Send an application identifier corresponding to the sender account and an application identifier corresponding to the receiver account to the server.
  • the terminal corresponding to the sender account After the terminal corresponding to the sender account obtains the application identifier corresponding to the receiver account, the terminal corresponding to the sender account passes the application identifier corresponding to the sender account and the application identifier corresponding to the receiver account through the current connection.
  • the network sends the server to the server, and the server can record the information of all the application identifiers.
  • the method may further include:
  • the service data distribution interface is displayed, and the service data acquired by the terminal corresponding to the receiver account is displayed on the service data distribution interface.
  • a service data distribution interface may be created in the terminal corresponding to the sender account.
  • the service data distribution interface may be a distribution interface of the social product, and the terminal corresponding to the sender account needs to distribute the service data to the terminal corresponding to the receiver account.
  • the terminal corresponding to the sender account first enters the service data distribution interface, and displays the service data that the terminal corresponding to the receiver account can obtain in the service data distribution interface, and the user can directly and conveniently use the service data distribution interface of the terminal corresponding to the sender account. See the number of business data that needs to be distributed, and the amount of business data remaining.
  • the step of sending the service data to the server may include:
  • the business data presented in the business data distribution interface is sent to the server.
  • the terminal corresponding to the sender account After the terminal corresponding to the sender account displays the service data on the service data distribution interface, the terminal corresponding to the sender account sends the service data displayed on the service data distribution interface to the server, thereby ensuring the quantity of the service data displayed on the service data distribution interface. The consistency of the amount of business data sent to the server.
  • the terminal corresponding to the sender account first obtains the application identifier corresponding to the receiver account, and then the terminal corresponding to the sender account corresponds to the sender account.
  • the application identifier corresponding to the identifier and the recipient account is sent to the server, and then the terminal corresponding to the sender account sends the service data that the terminal corresponding to the receiver account can obtain to the server, and the server sends the service data to the receiver account at the same time. Terminal.
  • the service data provided by the terminal corresponding to the sender account to the terminal corresponding to the receiver account may be obtained by the terminal corresponding to the receiver account, and the sender does not need to add the receiver as a friend first, and does not need to send the sender first.
  • the terminal establishment group corresponding to the account can complete the distribution of service data, which can simplify the existing business data processing process and improve the efficiency of business data acquisition between users.
  • the method for forwarding service data between the terminals performed by the server may be as shown in FIG. 15 and includes:
  • Step S502 Acquire a sender account and a receiver account, where the recipient account is within the range of the short-range wireless signal of the terminal corresponding to the sender account and accept the pairing request broadcast by the terminal corresponding to the sender account.
  • Step S504 Receive a service data group sending request uploaded by the terminal corresponding to the sender account, and obtain service data according to the service data group sending request.
  • Step S506 Send the service data to the terminal corresponding to the receiver account.
  • the step of obtaining a sender account and a receiver account may include:
  • the step of obtaining a sender account and a receiver account may include:
  • Step S5022 Receive an uploaded application identifier from the terminal corresponding to the sender account, and obtain a sender account and a receiver account corresponding to the application identifier.
  • the service data group sending request includes a part number parameter N of the service value, and the service data is divided into a set of sub-values according to the part number parameter.
  • the method may further include:
  • the packet number parameter N is modified to N-1 according to the service data obtaining request, and sending a service data obtaining response to the first terminal;
  • the number of copies parameter N-1 is sent to each of the terminals corresponding to the recipient account.
  • the terminal corresponding to each receiver account can know that the number of service data distributed by the terminal corresponding to the sender account is N, if the receiver The terminal corresponding to the account wants to obtain one service data of the N service data, and the terminal corresponding to the receiver account sends a service data acquisition request for obtaining a service data from the N service data to the server, and the server receives the corresponding account of the receiver account. Service data acquisition request sent by the terminal.
  • the server corresponding to the first receiver account in the terminal corresponding to the receiver account sends a service data acquisition request to the server, and the server can receive the service data acquisition request sent by the terminal corresponding to the first receiver account, and the server receives the request.
  • the server modifies the N service data into (N-1) service data according to the service data acquisition request, and The terminal corresponding to the first recipient account sends a service data acquisition response.
  • the service data acquisition response is used by the server to indicate that the terminal corresponding to the first receiver account successfully obtains one service data, and the server changes the number of service data from N to (N-1) service data, with the first If the service data of the terminal corresponding to the receiver account is successfully obtained, the number of service data is reduced, and the terminal corresponding to the receiver account can request the server to obtain service data, and the number of service data is continuously reduced until the number of service data is zero.
  • the group sending operation can be ended in time when the service data is distributed (that is, the number of service data is zero), thereby saving system resources.
  • the method further includes:
  • the part number parameter N-1 is greater than 0, the part number parameter N-1 is modified to the part number parameter N-2, and a service data acquisition response is sent to the first terminal or the second terminal, Sending the number of copies parameter N-2 to each terminal of the terminal corresponding to the recipient account;
  • a prompt instruction for completing the distribution of the service data is transmitted to each of the terminals corresponding to the recipient account.
  • the server receives the service data acquisition request sent by the terminal corresponding to the first receiver account, and changes the number of service data from N to (N-1) according to a service data acquired by the terminal corresponding to the first receiver account.
  • Each of the terminals corresponding to the receiver account is modified from the N service data received by the server to (N-1) service data, and the number of service data displayed in the terminal corresponding to the first receiver account at this time. For (N-1), if (N-1) is not zero, the terminal corresponding to the first receiver account may continue to send the service data of obtaining a service data from (N-1) service data to the server.
  • the other terminal in the terminal corresponding to the receiver account may also send a service data acquisition request for acquiring a service data from the (N-1) service data to the server, the server After receiving the service data acquisition request sent by the terminal corresponding to the first recipient account or the terminal corresponding to the second recipient account, the server determines whether (N-1) is greater than 0, that is, the server needs Check whether the N service data distributed by the terminal corresponding to the sender account has been obtained. If (N-1) is greater than 0, the service data remains. If the data is not obtained, the server will (N-1).
  • the service data is modified into (N-2) service data, and the service data acquisition response is sent to the terminal corresponding to the first receiver account or the terminal corresponding to the second receiver account, and the server sends each of the terminals corresponding to the receiver account.
  • Each of the (N-2) service data is transmitted, that is, each of the terminals corresponding to the receiver account can know that the number of service data is (N-2).
  • the terminal corresponding to the first receiver account may further send a service data acquisition request to the server, as long as the number of service data is not zero.
  • the terminal corresponding to the receiver account may further acquire a service data.
  • the process of processing the existing service data after the user receives the service data distributed by another user, the process of collecting the service data ends, and the process cannot be continued.
  • the same user's business data and can only wait for the user to re-deliver business data. For example, a real application scenario existing in the prior art is that a user can only grab one red envelope.
  • the terminal corresponding to the same receiver account (the terminal corresponding to the first receiver account), as long as the number of service data is not zero, the terminal corresponding to the receiver account may be multiple times. Obtain business data and meet the needs of users to obtain business data multiple times.
  • the service data acquisition request sent by the terminal corresponding to the first recipient account received by the server is obtained by the terminal corresponding to the receiver account.
  • the amount of business data sent is to say, the server polls and performs the modification of the N service data according to the chronological order of the service data acquisition requests to the server, and also needs to poll the execution time after the service data acquisition request reaches the time sequence of the server.
  • the terminal 1700 can include at least one processor 1701, such as a CPU, at least one network interface 1704, a user interface 1703, a memory 1705, and at least one communication bus 1702.
  • the communication bus 1702 is used to implement connection communication between these components.
  • the user interface 1703 can include a display and a keyboard.
  • the optional user interface 1703 can also include a standard wired interface and a wireless interface.
  • the network interface 1704 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface).
  • the memory 1705 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
  • the memory 1705 can optionally also be at least one storage device located remotely from the aforementioned processor 1701.
  • the user interface 1703 is mainly used to provide an input interface for the user to acquire data input by the user;
  • the network interface 1704 is mainly used for data transmission with the server; and
  • the processor 1701 can be used to execute the memory.
  • the computer readable program code stored in 1705 performs the following operations:
  • the processor 1701 is configured to execute the computer readable program code to broadcast a pairing request by using a short-range wireless signal, including:
  • the processor configured to execute the computer readable program code to pair with a recipient account that is within the range of the short range wireless signal and accepts the pairing request, including:
  • the processor 1701 is configured to execute the computer readable program code to pair with a recipient account that is within the range of the short range wireless signal and accepts the pairing request, including:
  • each of the terminals corresponding to the receiver account Receiving, by each of the terminals corresponding to the receiver account, a response signal returned according to the short-range wireless signal, where each response signal includes an application identifier corresponding to one of the recipient accounts.
  • the processor 1701 is configured to execute the computer readable program code to receive a response signal returned by each of the terminals corresponding to the receiver account according to the short range wireless signal. Also do the following:
  • the processor 1701 is configured to execute the computer readable program code to receive input service data, including:
  • the processor 1701 is configured to execute the computer readable program code to send a service data group sending request to the server according to the service data, including:
  • Sending a service data group sending request to the server according to the network storage path of the service data, where the server sends the network storage path group to the terminal corresponding to the receiver account, and the terminal corresponding to the receiver account is used according to the The network storage path downloads service data.
  • the processor 1701 is configured to execute the computer readable program code to upload the pairing identifier to a server, including:
  • the data type of the service data is a numerical value
  • the processor 1701 is configured to execute the computer readable program code to receive the input service data, including:
  • the service data performs a service value transfer between the sender account and the recipient account.
  • the processor 1701 is configured to execute the computer readable program code to receive the input service data corresponding to the sender account, including:
  • the processor 1701 is configured to execute the computer readable program code to send a service data group sending request to the server according to the service data, including:
  • the server divides the service data into a sub-value set according to the part number parameter according to the part number parameter, and extracts the receiver account number
  • the sub-values in the set of sub-values are used for business value transfer.
  • the processor 1701 is configured to execute the computer readable program code to receive the input service data corresponding to the sender account, and further perform the following operations:
  • the processor 1701 is configured to execute the computer readable program code to perform after pairing with a recipient account that is within the range of the short range wireless signal and accepts the pairing request. The following operations:
  • the processor 1701 is configured to execute the computer readable program code to send a service data group sending request to the server according to the service data, and further perform the following operations:
  • the receiving status returned by the receiving server is the received recipient account, and the prompt effect is displayed on the display interface for the received recipient account.
  • the processor 1701 is configured to execute the computer readable program code to perform the following operations after the receiver account is displayed on the display interface:
  • the processor 1701 is configured to execute the computer readable program code, After the application identifier corresponding to the sender account and the application identifier corresponding to the receiver account are sent to the server, the following operations are also performed:
  • the processor 1701 is configured to execute the computer readable program code to send the service data to a server, including:
  • the business data presented in the business data distribution interface is sent to the server.
  • the server 1800 can include at least one processor 1801, such as a CPU, at least one network interface 1804, a user interface 1803, a memory 1805, and at least one communication bus 1802.
  • the communication bus 1802 is used to implement connection communication between these components.
  • the user interface 1803 may include a display, a keyboard, and the optional user interface 1803 may also include a standard wired interface and a wireless interface.
  • the network interface 1804 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface).
  • the memory 1805 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
  • the memory 1805 can also optionally be at least one storage device located remotely from the aforementioned processor 1801.
  • the user interface 1803 is mainly used to provide an input interface for the user to acquire data input by the user;
  • the network interface 1804 is mainly used for data transmission with the terminal; and
  • the processor 1801 can be used to execute the memory.
  • the computer readable program code stored in 1805 performs the following operations:
  • the processor 1801 is configured to execute the computer readable program code, To get the sender account and the recipient account, including:
  • the processor 1801 is configured to execute the computer readable program code to obtain a sender account and a receiver account, including:
  • the data type of the service data is a value
  • the processor 1801 is configured to execute the computer readable program code to send the service data to a terminal corresponding to the receiver account, include:
  • the processor 1801 is configured to execute the computer readable program code to receive the service data group sending request uploaded by the terminal corresponding to the sender account, and further perform the following operations:
  • the processor 1801 is configured to execute the computer readable program code to perform service value transfer between the sender account and the receiver account according to the service data, including:
  • the processor 1801 is configured to execute the computer readable program code to perform the following operations before extracting the subvalues into the set of subvalues to perform service value transfer to the recipient account:
  • the processor 1801 is configured to execute the computer readable program code to extract a sub-value in the set of sub-values to perform a service value transfer to a recipient account, including:
  • the processor 1801 is configured to execute the computer readable program code to obtain a sender account and a receiver account, including:
  • the processor 1801 is configured to execute the computer readable program code to extract a sub-value in the set of sub-values to perform a service value transfer to a recipient account, including:
  • the processor 1801 is configured to execute the computer readable program code to send the service data to the terminal corresponding to the receiver account, including:
  • the processor 1801 is configured to execute the computer readable program code to receive a service data group sending request uploaded by the terminal corresponding to the sender account, including:
  • the processor 1801 is configured to execute the computer readable program code, and further perform the following operations:
  • the terminal Determining whether the second timestamp is timed out, if yes, acquiring the remaining sub-values in the set of sub-values, returning the remaining sub-values to the sender account, and corresponding to the sender account
  • the terminal sends a prompt message.
  • the number of copies parameter is N; the processor 1801 is configured to execute the computer readable program code to divide the service data into a set of subvalues according to the number of copies of the parameter, Also do the following:
  • the processor 1801 is configured to execute the computer readable program code to perform the following operations after extracting the sub-values into the sub-value set to perform service value transfer to the recipient account:
  • the number parameter N is modified to N-1 according to the service data acquisition request, and is sent to the first The terminal sends a service data acquisition response;
  • the number of copies parameter N-1 is sent to each of the terminals corresponding to the recipient account.
  • the processor 1801 is configured to execute the computer readable program code to send the copy number parameter N-1 to each terminal of the terminal corresponding to the recipient account. Also do the following:
  • the part number parameter N-1 is greater than 0, the part number parameter N-1 is modified to the part number parameter N-2, and a service data acquisition response is sent to the first terminal or the second terminal, Sending the number of copies parameter N-2 to each terminal of the terminal corresponding to the recipient account;
  • a prompt instruction for completing the distribution of the service data is transmitted to each of the terminals corresponding to the recipient account.
  • the received service data acquisition request sent by the first terminal is a service data acquisition request that is first arrived in the service data acquisition request sent by the terminal corresponding to the receiver account.

Landscapes

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

Abstract

本发明实施例公开了一种业务数据的群发送方法,包括:通过短距无线信号广播配对请求;与处于所述短距无线信号的范围内且接受所述配对请求的接收者账号配对;接收输入的业务数据;根据所述业务数据生成业务数据群发请求发送至服务器,并将所述业务数据发送至服务器,由所述服务器根据所述业务数据群发请求将所述业务数据群发给所述接收者账号对应的终端。本发明中业务数据的群发送方法能够提高群发业务数据的操作的便利性。

Description

业务数据的群发送方法、终端及服务器
本发明要求2015年8月21日递交的发明名称为“业务数据的群发送方法及装置”的申请号为201510520668.3的在先申请优先权,以及2015年7月29日递交的发明名称为“一种信息的处理方法和发起设备、服务器、参与设备”的申请号为201510454782.0的在先申请优先权,上述在先申请的内容以引用的方式并入本文中。
技术领域
本发明涉及计算机技术领域,尤其涉及一种业务数据的群发送方法及装置。
背景技术
传统技术的社交网络应用中,用户之间通常需要进行业务数据的分享。例如,业务数据可以是消息(例如电子贺卡)、文件、图片(例如拍照的图片)、金融数据(例如,网上银行账户或第三方支付账户中的用于表示实际中金融数额的数值类型的数据)或虚拟金融数据(例如,网络游戏账户或社交网络应用账户中的用于表示虚拟货币的数值类型的数据)。
然而,传统技术中用户之间业务数据的分享通常基于用户之间的社交关系链(如好友、群友、校友、可能认识的人等处于社交关系链上的用户),也就是说,用户只能跟社交关系链上用户进行业务数据的分享。若要将业务数据群发给陌生人,即社交网络应用中没有处于社交关系链上的用户,则需要先逐个添加陌生人用户为好友,然后创建群组,将添加的多个陌生人添加到该新创建的群组中,通过群组群发业务数据。
因此,传统技术中的社交网络应用中,用户在向多个陌生人群发业务数据时,该用户需要执行较多添加好友的操作以及创建群组的操作才能完成群发操作,从而导致操作的便利性不足。
发明内容
基于此,为解决上述提到的传统技术中的社交网络应用中,用户在向多个 陌生人群发业务数据时,该用户需要执行较多添加好友的操作以及创建群组的操作才能完成群发操作,从而导致操作的便利性不足的问题,特提出了一种业务数据的群发送方法。
一种业务数据的群发送方法,包括:
通过短距无线信号广播配对请求;
与处于所述短距无线信号的范围内且接受所述配对请求的接收者账号配对;
接收输入的业务数据;
根据所述业务数据生成业务数据群发请求发送至服务器,并将所述业务数据发送至服务器,由所述服务器根据所述业务数据群发请求将所述业务数据群发给所述接收者账号对应的终端。
此外,为解决上述提到的传统技术中的社交网络应用中,用户在向多个陌生人群发业务数据时,该用户需要执行较多添加好友的操作以及创建群组的操作才能完成群发操作,从而导致操作的便利性不足的问题,特提出了一种业务数据的群发送终端。
一种终端,包括:
存储器,存储计算机可读程序代码;以及
处理器,用于执行所述计算机可读程序代码,以执行以下操作:
通过短距无线信号广播配对请求;
与处于所述短距无线信号的范围内且接受所述配对请求的接收者账号配对;
接收输入的业务数据;
根据所述业务数据生成业务数据群发请求发送至服务器,并将所述业务数据发送至服务器,由所述服务器根据所述业务数据群发请求将所述业务数据群发给所述接收者账号对应的终端。
此外,为解决上述提到的传统技术中的社交网络应用中,用户在向多个陌生人群发业务数据时,该用户需要执行较多添加好友的操作以及创建群组的操作才能完成群发操作,从而导致操作的便利性不足的问题,特提出了一种在终 端之间转发业务数据的方法。
一种在终端之间转发业务数据的方法,所述方法包括:
获取发送者账号和接收者账号,所述接收者账号处于所述发送者账号对应的终端的短距无线信号的范围内且接受所述发送者账号对应的终端广播的配对请求;
接收所述发送者账号对应的终端上传的业务数据群发请求,根据所述业务数据群发请求获取业务数据;
将所述业务数据发送给所述接收者账号对应的终端。
此外,为解决上述提到的传统技术中的社交网络应用中,用户在向多个陌生人群发业务数据时,该用户需要执行较多添加好友的操作以及创建群组的操作才能完成群发操作,从而导致操作的便利性不足的问题,特提出了一种在终端之间转发业务数据的服务器。
一种服务器,其特征在于,包括:
存储器,存储计算机可读程序代码;以及
处理器,用于执行所述计算机可读程序代码,以执行以下操作:
获取发送者账号和接收者账号,所述接收者账号处于所述发送者账号对应的终端的短距无线信号的范围内且接受所述发送者账号对应的终端广播的配对请求;
接收所述发送者账号对应的终端上传的业务数据群发请求,根据所述业务数据群发请求获取业务数据;
将所述业务数据发送给所述接收者账号对应的终端。
采用了上述业务数据的群发送方法及装置之后,发送业务数据的发起者在向陌生人即与发起者不处于社交关系链上的用户群发送业务数据时,发起者不需要先依次与多个陌生人添加好友,可直接通过短距无线信号在短距离内广播配对标识,即可通过配对标识与多个陌生人产生关联。即具有与发起者的终端相同的配对标识的终端可接收该发起者群发的业务数据,从而免去了繁琐的添加好友的并验证的步骤,从而提高了操作的便利性。
另外,在上述业务数据的群发送方法及装置中,发起者也不需要为多个接收者账号创建群组,通过群组来群发送业务数据,而可通过服务器根据配对标识确定符合接收者账号身份的用户账号,然后向作为接收者账号的用户账号发送业务数据。从而也免去了发起者针对群发创建群组的操作,从而提高了操作的便利性。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
其中:
图1为一个实施例中一种业务数据的群发送系统的组网图;
图2为上述业务数据的群发送系统中发送者、接收者与服务器之间的交互过程时序图;
图3为一个实施例中一种业务数据的群发送方法的流程图;
图4为一个实施例中一种接收群发的业务数据的方法的流程图;
图5为一个实施例中一种在终端之间转发业务数据的方法的流程图;
图6为一个发红包的应用场景中输入数据群发指令的显示界面的示意图;
图7为一个发红包的应用场景中展示接收者账号的显示界面的示意图;
图8为一个发红包的应用场景中业务数据输入界面的示意图;
图9为一个发红包的应用场景中展示派发红包过程的界面示意图;
图10为一个实施例中一种业务数据的群发送装置的结构示意图;
图11为一个实施例中一种接收群发的业务数据的装置的结构示意图;
图12为一个实施例中一种在终端之间转发业务数据的装置的结构示意图;
图13为另一个实施例中一种业务数据的群发送方法的流程图;
图14为另一个实施例中一种业务数据的群发送方法的流程图;
图15为另一个实施例中一种接收群发的业务数据的方法的流程图;
图16为另一个实施例中一种接收群发的业务数据的方法的流程图;
图17为另一个实施例中一种业务数据的群发送装置的结构示意图;
图18为另一个实施例中一种在终端之间转发业务数据的装置的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
基于此,为解决上述提到的传统技术中的社交网络应用中,用户在向多个陌生人群发业务数据时,该用户需要执行较多添加好友的操作以及创建群组的操作才能完成群发操作,从而导致操作的便利性不足的问题,在一个实施例中,特提出了一种业务数据的群发送机制,如图1所示,该业务数据的群发送机制基于如图1所示的计算机系统,该计算机系统包括业务数据群发送的发送者账号的终端10、负责进行业务数据转发的服务器20以及业务数据群发送的接收者账号的终端30。
该业务数据的群发送机制则分为三个部分,包括运行于发送者账号的终端10的业务数据的群发送方法,运行于服务器20的在终端之间转发业务数据的方法,以及运行于接收者账号的终端30的接收群发的业务数据的方法。发送者账号的终端10和接收者账号的终端30可以是智能手机、平板电脑等安装有短距无线通信组件,例如近场通信组件(英文Near Field Communication,简称NFC)、蓝牙组件、wifi组件或zigbee组件的基于冯诺依曼体系的计算机系统。负责进行业务数据转发的服务器20可以是社交网络应用的服务器设备。
上述运行于发送者账号的终端10的业务数据的群发送方法,运行于服务器20的在终端之间转发业务数据的方法,以及运行于接收者账号的终端30的接收群发的业务数据的方法则可依赖于计算机程序。且运行于发送者账号的终端10的业务数据的群发送方法和运行于接收者账号的终端30的接收群发的业务数据的方法可以是基于社交网络应用的客户端程序,运行于服务器20的在终端之间转发业务数据的方法可基于社交网络应用的服务器程序。
具体的,该业务数据的群发送机制的交互过程可如图2所示,其中,运行于发送者账号的终端10的业务数据的群发送方法可如图3所示,包括:
步骤S102:接收数据群发指令,生成配对标识,通过短距无线信号广播所述配对标识。
作为业务数据的发送者的用户若希望将业务数据群发给陌生人,则可向智能终端输入数据群发指令开启业务数据的群发功能。在本实施例中,发送者在群发业务数据之前需要先在终端10上使用社交网络应用的账号登录服务器,该登录的用户账号即为发送者账号。发送者在输入了数据群发指令之后,终端则生成配对标识,配对标识可用于与陌生人的终端建立映射关系,发送者账号对应的终端群发的业务数据的目标即为与发送者账号对应的终端存储由相同配对标识的其他用户账号的终端。
在本实施例中,发送者账号的终端在生成了配对标识之后,则可通过短距无线信号将配对标识发送给其他用户账号对应的终端。短距无线信号可以是NFC信号、蓝牙信号、wifi信号(无线局域网的网上邻居)或zigbee信号等在数十米范围内传播的无线信号。例如,若智能终端上安装有NFC芯片,则可通过NFC信号向其他终端广播配对标识,其他用户通过将终端靠近发送者的终端,则可通过检测短距无线信号与发送者的终端建立连接,从而接收到该配对标识,该终端上登录社交网络应用的用户账号即可成为接收者账号。
步骤S104:将所述配对标识上传服务器,接收服务器返回的与所述配对标识对应的接收者账号。
在本实施例中,发送者账号的终端可通过配对发起请求将配对标识上传至服务器,服务器即可接收到配对标识。配对发起请求中也可携带发送者账号或者服务器可通过与发送者账号的终端已建立的连接得到包含发送者账号的会话对象session,然后通过会话对象获取到发送者账号。
而如前所述,通过与发送者账号的终端进行近距离接触,并通过检测短距无线信号获取与发送者账号的相同的配对标识的终端则也可与服务器建立连接,并通过配对加入请求发送该相同的配对标识给服务器,服务器即可通过比较配对标识查找与发送者账号具有相同配对标识的用户账号,该用户账号即为业务数据群发中的接收者账号。
也就是说,即使某个用户使用终端靠近发送者账号的终端得到了配对标识,但若该用户的终端上未登录用户账号,或者该用户的终端未处于联网状态,无法与服务器建立连接,即服务器在无法接收到配对加入请求或接收到的配对加入请求中不包含用户账号的情况下,该用户的终端仍然无法作为业务数据的接收者来接收业务数据。
相应的,若该用户使用终端靠近发送者账号的终端得到了配对标识并与服务器建立连接,顺利上传了包含该配对标识的配对加入请求,且服务器获取了该用户使用的终端上登录的用户账号之后,不管该用户账号是否与发送者账号处于社交关系链中(相对于发送者来说,包含了陌生人的情况),均可将其作为接收者账号来接收群发的业务数据。
发送者账号的终端在接收到服务器返回的接收者账号之后,则可在配对情况显示界面中展示接收者账号。需要说明的是,发送者账号的终端接收服务器返回的接收者账号的过程可以是持续的过程,即服务器每接收到包含与发送者账号具有相同的配对标识的用户账号,即可将其作为接收者账号缓存,并返回给发送者账号的终端。发送者账号的终端即可陆续接收到多个接收者账号,且可陆续添加到配对情况显示界面中以供发起者进行查看。
发起者可在配对情况显示界面中查看所有接收者账号,并可在选中某个接收者账号之后执行删除操作。发送者账号的终端即可将发起者删除的接收者账号发送给服务器,由服务器在缓存中将其删除,后续服务器则不会将发起者群发的业务数据发送给该用户账号。
步骤S106:接收输入的业务数据。
可展示业务数据输入界面以供发起者输入业务数据。输入的业务数据可以是多种数据形式,例如文件、图片、数值等类型。
例如,在一个应用场景中,若发起者希望将某个网盘上的文件群发给其他多个用户,则发起者可输入该网盘中文件的网络存储路径。
而在另一个应用场景中,若发起者希望将本地存储的照片群发给其他多个用户,那么,业务数据输入界面中可提供照片选择框,发起者可先在业务数据输入界面选择本地的照片文件作为业务数据输入,然后将该照片文件上传至服务器或第三方存储服务器等网络存储位置,并得到返回的该照片文件的网络存 储路径,然后将该网络存储地址作为业务数据输入。
而在一个移动支付的应用场景中,业务数据也可以是数值类型,例如支付金额或转账金额,该业务数据为可在发送者账户和接收者账户之间进行转移的数值型数据。
需要说明的是,步骤S106与步骤S102、步骤S104的执行顺序并不需要进行严格的限定。发起者可先通过输入数据群发指令生成配对标识,找到接收者账户的终端,再在展示的业务数据输入界面中输入业务数据;也可在展示的业务数据输入界面中输入业务数据,通过输入数据群发指令生成配对标识,找到接收者账户的终端。二者并不冲突。
步骤S108:根据所述业务数据生成业务数据群发请求发送至服务器,并将所述业务数据发送至服务器,由所述服务器根据所述业务数据群发请求将所述业务数据群发给所述接收者账号对应的终端。
另一方面,服务器执行的在终端之间转发业务数据的方法可如图4所示,包括:
步骤S202:接收上传的配对标识,获取与所述配对标识对应的发送者账号。
步骤S204:接收配对加入请求,在所述配对加入请求中包含所述配对标识时,获取所述配对加入请求中携带的用户账号作为接收者账号,所述配对标识为所述发送者账号对应的终端通过短距无线信号广播给所述接收者账号对应的终端。
步骤S206:接收所述发送者账号对应的终端上传的业务数据群发请求,根据所述业务数据群发请求获取业务数据。
步骤S208:将所述业务数据发送给所述接收者账号对应的终端。
而对于接收者账号的终端执行的接收群发的业务数据的方法,则可如图5所示,包括:
步骤S302:检测短距无线信号,获取所述短距无线信号携带的配对标识。
步骤S304:获取接收者账号,将所述配对标识上传至服务器并携带所述接收者账号,由所述服务器查找与所述配对标识对应的发送者账号并由所述服务器查找所述发送者账号上传的业务数据。
也就是说,发起者在输入了数据群发指令,生成了配对标识并上传服务器之后,则可在较小的空间范围内通过短距无线信号广播配对标识。其他用户若希望接收群发的业务数据,则可将其手持的终端(需要先使用用户账号登录)靠近发送者的手机从而检测到短距无线信号,然后提取短距无线信号中携带的配对标识,并生成配对加入请求发送至服务器。此时,配对加入请求对应的已登录的用户账号即为接收者账号。
优选的,接收者账号的终端在发送配对加入请求发送至服务器之前,还可展示验证框,需要接收者在验证框中输入与配对标识对应的验证信息。例如,若配对标识为随机的数字“32452”,发起者可观察到该配对标识,然后口头告知某个用户,若该用户希望成为接收者,则该用户的终端在发送配对加入请求发送至服务器之前展示验证框,需要该用户手动输入“32452”(由发起者口头告知)。若验证成功,则可继续向服务器发送配对加入请求,意味着接收者为发起者所邀请的用户,而不是“偷听到配对标识”的用户。
步骤S306:接收由发送者账号上传至服务器的业务数据。
如上例中,若发起者输入的业务数据为网络存储地址或用于在线支付的数值类型的业务数据,则可将业务数据通过业务数据群发请求发送给服务器。若发起者输入的业务数据为本地的照片、音频等文件,则可先将其上传至服务器或第三方存储服务器等网络存储位置,并得到返回的该照片文件的网络存储路径,然后根据返回的与实际的业务数据对应的网络存储路径生成业务数据群发请求发送给服务器。
在一个实施例中,服务器在接收到业务数据群发请求之后,即可根据业务数据群发请求提取得到业务数据或业务数据的网络存储路径,然后将其发送给缓存中存储的接收者账号的终端,由所述接收者账号对应的终端根据所述网络存储路径下载业务数据。
在一个应用场景中,发起者输入的业务数据为某个网盘上的文件的网络存储路径,则服务器可将该网络存储路径群发给所有接收者账号,接收者账号的终端即可根据网络存储路径下载得到相应的文件。
而在另一个应用场景中,发起者输入的业务数据为本地存储的照片、音频或视频,而业务数据群发请求中则包含了输入的照片、音频或视频的网络存储 路径,则服务器可将该网络存储路径群发给所有接收者账号,接收者账号的终端即可根据网络存储路径下载得到相应的照片、音频或视频。
在另一个实施例中,业务数据的数据类型可以是数值。接收输入的业务数据的步骤还包括:
接收输入的与所述发送者账号对应的数据类型为数值的业务数据,由所述服务器根据所述业务数据在所述发送者账号和所述接收者账号之间进行业务数值转移。
业务数值转移即为将数值类型的业务数据由发送者账号的属性值转移到接收者账号的属性值中。例如,在一个移动支付的应用场景中,若业务数据为支付数额100,则业务数值转移即为将发送者账号的支付余额中扣除100数值,然后再在接收者账号的支付余额中添加100数值。且该操作为事务性操作,若将发送者账号的支付余额中扣除100数值后在接收者账号的支付余额中添加100数值失败,则回滚操作,将扣除的100数值返还到发送者账号的支付余额中。
例如,在一个应用场景中,发起者可输入业务数据为对应每个接收者账号的100数值,则发起者可在输入了数据群发指令之后,依次与多个用户的终端进行短距无线通信传递配对标识,则每个接收者账号的支付余额中均可添加100数值,而发送者账号的支付余额则在每添加一个接收者账号时,扣除100的支付余额。
在本实施例中,服务器在完成发送者账号与接收者账号之间的业务数值转移之后,则可向所述接收者账号发送与业务数值转移对应的提示信息进行通知。如上例中,业务数值转移完成后,接收者账号的支付余额增加了100数值,则服务器可通知接收者账号的终端,告知接收者的支付余额增加了100数值。
进一步的,发起者在输入业务数据时,还可输入份数参数,即发送者账号的终端在接收输入的与所述发送者账号对应的数据类型为数值的业务数据的过程中可接收输入的份数参数;
而根据所述业务数据生成业务数据群发请求发送至服务器的步骤则可在所述业务数据群发请求中添加所述份数参数。
服务器可根据所述份数参数将所述业务数据按照所述份数参数划分为子 数值集合,为所述接收者账号提取所述子数值集合中的子数值进行业务数值转移。
在这种情况下,通过将业务数据划分为多份,可以更好地管理业务数据。
例如,在一个群发红包的应用场景中(即发起者利用登录的发送者账号的支付余额中的一部分生成电子红包,电子红包中包含有支付数值的数据,然后将电子红包的数据与其他用户产生对应关系,服务器则将电子红包中的支付数值转移到其他用户账号的支付余额中),如图6所示,作为发起者的用户可通过点击手机界面上的“面对面红包”输入数据群发指令,手机界面上则展示NFC已开启并提示与其他终端近距离接触的提示信息(即与其他终端“碰一碰”)。作为发起者的用户的手机上此时已生成配对标识,并通过NFC等短距无线信号向周边的其他终端广播该配对标识。
发起者的用户的手机附近的手机在检测到该NFC信号提取了配对标识之后,则可向服务器发起包含该配对标识的配对加入请求。服务器根据该配对标识确立发起该配对加入请求的用户账号为接收者账号,从而通过配对标识建立了发送者账号和接收者账号的映射关系。服务器可将接收者账号返回给发送者账号的终端,发送者账号的终端可展示接收者用户。
例如,如图7所示,图7展示了发起者账号的终端上显示接收者账号的界面示意图,其中,vivi、coco等用户账号即为服务器陆续返回的接收者账号。也就是说,发起者可先通过NFC将配对标识发送给vivi,vivi在接收到该配对标识后,将该配对标识发送给服务器,从而成为了发起者的接收者账号。服务器可向发起者的终端先下发接收者账号vivi。然后,coco也接收到了该配对标识,并将该配对标识发送给服务器,从而也成为了发起者的接收者账号。服务器则可继续向发起者的终端先下发接收者账号coco。
进一步的,在本实施例中,还可通过展示接收者账号的显示界面接收关系链添加指令,获取关系链添加指令对应的在所述显示界面选中的接收者账号。根据所述选中的接收者账号生成关系链添加请求发送至服务器,由所述服务器建立所述发送者账号与所述选中的接收者账号的关系链映射。
也就是说,若发起者希望添加coco为好友,则可在展示接收者账号的显示界面上选中coco的头像,在弹出的菜单栏中发起好友添加申请,从而方便 了用户之间建立社交关联。
再如图8所示,发起者可通过点击界面上的“发红包”输入业务数据。在用户点击了“发红包”的图标之后,则可展示业务数据输入界面。如图7所示,该应用场景中的业务数据输入界面即为红包金额输入界面,发起者输入的“红包个数”即为份数参数,“总金额”即为输入的业务数据,为电子红包包含的数值型的支付数值。发起者向服务器提交“红包个数”和“总金额”之后,服务器即可得到份数参数和业务数据。
优选的,接收输入的与所述发送者账号对应的数据类型为数值的业务数据的步骤之后还可展示身份验证窗口,通过所述身份验证窗口获取输入的与所述发送者账号对应的身份验证信息,并发送至服务器进行校验,在接收到服务器返回的校验通过的消息时,执行所述根据所述业务数据生成业务数据群发请求发送至服务器的步骤。
参考图8所示,对于如上例中支付类型的业务数据,需要发起者在确认群发之前先进行身份验证。身份验证信息可以是与发送者账号对应的密码或者与发送者账号对应的第三方支付账号和密码,校验通过后,才允许服务器由发送者的支付余额中扣除相应的业务数据。
服务器可将所述业务数据根据所述份数参数划分为子数值集合。例如,若总金额为200、红包个数为10,则服务器可将业务数据200划分为10份。划分方式可采用均分(派发固定红包的情况,发起者可一次性设置红包的金额,从而提高便利性)、随机分(抢红包的情况,每个接收者能够获得的红包数额为随机数值,增加趣味性)或预设的分配规则分等方式(例如,为女性接收者分配较多的子数值,为男性接收者分配较少的子数值,或者为年龄小于阈值的接收者分配较多的子数值等)进行划分。
服务器在划分好红包之后,例如,在上例中,采用均分的方式将业务数据200划分为10等份的子数值,子数值集合即为包含10个子数值为20的集合。则服务器每接收到一个配对加入请求并确立一个接收者账号,则可在子数值集合中提取20的子数值,然后在发送者账号和接收者账号之间进行业务数值为20的业务数值转移(在其他实施例中,不仅可以是20数值由发送者账号的支付余额转移到接收者的支付余额中,还可以是接收者账号的支付余额转移到发 送者账号的支付余额中,例如讨钱包的应用场景)。
相应的,发送者账号的终端还可接收服务器返回的接收状态为已接收的接收者账号,在所述显示界面上为所述已接收的接收者账号展示提示效果。
例如,如图9所示,派发红包的发起者在发送者账号的终端上输入了份数参数和总金额,并经过身份校验,将业务数据群发请求发送至服务器之后,则可在展示接收者账号的显示界面上展示红包的数量以及红包飞向接收者账号的头像的动画,若发送者账号的终端接收服务器返回的接收状态为已接收的接收者账号为vivi,则展示vivi的头像接收飞来的红包的动画,以提示发起者vivi已经接收。
相应的,接收者账号的终端上也可展示发送者账号和其他接收者账号的头像。在服务器完成对该接收者账号的业务数值转移之后,向该接收者账号发送提示信息,接收者账号的终端可展示该提示信息。例如,在vivi的手机显示界面上也可展示发起者“贝爷”和另一个接收者coco的头像,在服务器完成将20数值的支付数值由发起者贝爷的账号上转移到接收者vivi的账号中的过程以后,则可在vivi的手机显示界面上展示vivi收到了数值为20的红包。
在另一个派发电子红包的应用场景中,可采用抢红包的方式。也就是说,发起者输入了份数参数10,业务数据200并上传服务器之后,服务器可对数值200进行随机划分,得到10个数值大小为随机的子数值构成子数值集合。
在该应用场景中,接收者账号的终端,如前例中的vivi、coco的手机显示界面上可展示服务器下发的提示信息,总金额200,红包个数10等信息,并展示抢红包的图标或按钮。当接收者按压或触发该图标或按钮时,则输入了申请接收指令。也就是说,对于接收者账号的终端而言,可接收输入的申请接收指令,将所述申请接收指令上传至服务器并携带时间戳。服务器可根据接收到的时间戳的顺序提取所述业务数据中的子数值在所述发送者账号与所述接收者账号之间进行业务数值转移。即服务器可接收所述接收者账号对应的终端上传的申请接收指令并提取第一时间戳;根据所述第一时间戳的顺序依次将所述业务数据发送给所述接收者账号对应的终端。
在上述情况下,利用第一时间戳可以对接收者账号进行排序,然后依次将所述业务数据发送给所述接收者账号对应的终端,避免了混乱无序。
例如,在上例中,vivi和coco均为接收者账号,vivi先点击了抢红包的图标或按钮,coco后点击了抢红包的图标或按钮。因此vivi的手机率先向服务器上传申请接收指令,服务器接收到申请接收指令的时间顺序上,vivi早于coco,因此,先由子数值集合中提取一个子数值,即子数值集合对应10个电子红包的集合,可先在10个电子红包中随机选取一个电子红包派发给vivi。在派发了一个电子红包给vivi之后,则可处理coco上传的申请接收指令,再在剩余的9个红包中提取一个电子红包派发给coco。也就是说,优先上传申请接收指令的接收者账号优先分配到子数值集合中子数值进行业务数值转移。
进一步的,在本实施例中,若发起者输入的份数参数为10,而接收者账号的数量较多大于10,则可能部分接收者账号无法接收到相应的子数值集合中的子数值,为在此种情形更好地群发业务数据,可实施如下方案:
在第一种方案中,服务器可在获取所述配对加入请求中携带的用户账号作为接收者账号的步骤时获取所述接收者账号的接收者数量。另外,服务器在执行子数值集合中提取子数值向接收者账号进行业务数值转移的步骤时,还可判断所述接收者数量是否大于所述份数参数,若是,则向所述接收者账号返回接收失败的提示信息。
也就是说,在发起者先输入业务数据,再生成配对标识去匹配接收者账号的终端的应用场景中,若服务器检测到接收者数量大于输入的份数参数,则向接收者账号的终端返回接收数据失败的提示信息。如上例中,若coco为第11个接收者账号,则coco在点击抢红包按钮之后则可提示红包已抢完的提示信息。
通过上述方案,可以更好地管理多份业务数据,并且,在接收者数量大于份数参数的情况下,向接收者账号的终端返回接收数据失败的提示信息,避免了接收者因为不知道业务数据已为空而盲目地重复请求。
在第二种方案中,服务器在将所述业务数据发送给所述接收者账号对应的终端时,还可判断所述子数值集合是否为空,若是,则向所述接收者账号返回接收失败的提示信息。
也就是说,服务器每处理一个申请接收指令,则由子数值集合中提取一个子数值,并根据该子数值进行业务数值转移。当子数值集合中的子数值被提取 完毕导致子数值集合为空时,即数值类型的业务数据被全部转移时,则服务器可向接收者账号的终端返回接收数据失败的提示信息。例如,如上例中,若服务器在为coco提取子数值时,若总金额200的业务数据已被转移完毕,即划分的10个电子红包均已被派发出去,则可在coco点击抢红包按钮之后提示红包已抢完的提示信息。
通过上述方案,也可以更好地管理多份业务数据,并且,在接收者数量大于份数参数的情况下,向接收者账号的终端返回接收数据失败的提示信息,避免了接收者因为不知道业务数据已为空而盲目地重复请求。
进一步的,服务器在接收所述业务数据群发请求时还可获取接收到业务数据群发请求的第二时间戳;
服务器还可判断所述第二时间戳是否超时,若是,则获取所述子数值集合中剩余的子数值,将所述剩余的子数值返还到所述发送者账号中,并向所述发送者账号对应的终端发送提示信息。
如上例中,若用户输入了总金额200,红包个数10,但附近只找到了6个接收者账号的终端,经过红包派发后,仍然剩余4个红包未派发给其他用户。服务器可检测距离第二时间戳的时长,该时长即为划分得到的电子红包的存在的时间长度,若未派发的电子红包存在的时长过于长,则服务器可结束本次业务数据群发,将剩余的4个红包中剩余的支付数值仍然转移回发送者账号中,并通知发送者账号的终端。发送者账号的终端则可展示该提示信息提示用户本次红包派发活动已结束,且未派发出去的电子红包中的支付数值已返还到了发送者账号中。
通过上述方案,通过判断是否超时而将业务数据返还到发送者账号中,从而避免了发送者账号承受不必要的损失。
为解决上述提到的传统技术中的社交网络应用中,用户在向多个陌生人群发业务数据时,该用户需要执行较多添加好友的操作以及创建群组的操作才能完成群发操作,从而导致操作的便利性不足的问题,在一个实施例中,如图10所示,特提出了一种与前述的业务数据的群发送方法对应的业务数据的群发送装置,该装置包括:配对标识生成模块102、配对标识上传模块104、业 务数据输入模块106以及群发请求上传模块108,其中:
配对标识生成模块102,用于接收数据群发指令,生成配对标识,通过短距无线信号广播所述配对标识。
配对标识上传模块104,用于将所述配对标识上传服务器,接收服务器返回的与所述配对标识对应的接收者账号。
业务数据输入模块106,用于接收输入的业务数据。
群发请求上传模块108,用于根据所述业务数据生成业务数据群发请求发送至服务器,由所述服务器根据所述业务数据群发请求将所述业务数据群发给所述接收者账号对应的终端。
在一个实施例中,业务数据输入模块106还用于获取所述业务数据的网络存储路径;
群发请求上传模块108还用于根据所述业务数据的网络存储路径生成业务数据群发请求发送至服务器,由所述服务器将所述网络存储路径群发给所述接收者账号对应的终端,由所述接收者账号对应的终端根据所述网络存储路径下载业务数据。
在一个实施例中,配对标识上传模块104还用于获取发送者账号并上传。业务数据输入模块106还用于接收输入的与所述发送者账号对应的数据类型为数值的业务数据,由所述服务器根据所述业务数据在所述发送者账号和所述接收者账号之间进行业务数值转移。
在一个实施例中,业务数据输入模块106还用于接收输入的份数参数。群发请求上传模块108还用于在所述业务数据群发请求中添加所述份数参数,由所述服务器根据所述份数参数将所述业务数据按照所述份数参数划分为子数值集合,为所述接收者账号提取所述子数值集合中的子数值进行业务数值转移。
在一个实施例中,如图10所示,该装置还包括身份验证模块110,用于展示身份验证窗口,通过所述身份验证窗口获取输入的与所述发送者账号对应的身份验证信息,并发送至服务器进行校验,在接收到服务器返回的校验通过的消息时,调用所述群发请求上传模块。
在一个实施例中,如图10所示,该装置还包括群发状态显示模块112,用于在显示界面上展示所述接收者账号;接收服务器返回的接收状态为已接收 的接收者账号,在所述显示界面上为所述已接收的接收者账号展示提示效果。
在一个实施例中,如图10所示,该装置还包括社交关系添加模块114,用于通过所述显示界面接收关系链添加指令,获取关系链添加指令对应的在所述显示界面选中的接收者账号;根据所述选中的接收者账号生成关系链添加请求发送至服务器,由所述服务器建立所述发送者账号与所述选中的接收者账号的关系链映射。
为解决上述提到的传统技术中的社交网络应用中,用户在向多个陌生人群发业务数据时,该用户需要执行较多添加好友的操作以及创建群组的操作才能完成群发操作,从而导致操作的便利性不足的问题,在一个实施例中,如图11所示,特提出了一种与前述在终端之间转发业务数据的方法对应的在终端之间转发业务数据的装置,该装置包括:配对发起模块202、接收者添加模块204、业务数据接收模块206以及业务数据传递模块208,其中:
配对发起模块202,用于接收上传的配对标识,获取与所述配对标识对应的发送者账号。
接收者添加模块204,用于接收配对加入请求,在所述配对加入请求中包含所述配对标识时,获取所述配对加入请求中携带的用户账号作为接收者账号,所述配对标识为所述发送者账号对应的终端通过短距无线信号广播给所述接收者账号对应的终端。
业务数据接收模块206,用于接收所述发送者账号对应的终端上传的业务数据群发请求,根据所述业务数据群发请求获取业务数据。
业务数据传递模块208,用于将所述业务数据发送给所述接收者账号对应的终端。
在一个实施例中,业务数据的数据类型为数值。业务数据传递模块208用于根据所述业务数据在所述发送者账号与所述接收者账号之间进行业务数值转移,向所述接收者账号发送与业务数值转移对应的提示信息。
在一个实施例中,业务数据传递模块208还用于根据所述业务数据群发请求提取与所述业务数值的份数参数;将所述业务数据根据所述份数参数划分为子数值集合;在所述子数值集合中提取子数值向接收者账号进行业务数值转移。
在一个实施例中,如图11所示,该装置还包括:申请接收指令接收模块210,用于接收所述接收者账号对应的终端上传的申请接收指令并提取第一时间戳。
业务数据传递模块208用于根据所述第一时间戳的顺序依次将所述业务数据发送给所述接收者账号对应的终端。
在一个实施例中,接收者添加模块204还用于获取所述接收者账号的接收者数量。业务数据传递模块208用于判断所述接收者数量是否大于所述份数参数,若是,则向所述接收者账号返回接收失败的提示信息。
在一个实施例中,业务数据传递模块208用于判断所述子数值集合是否为空,若是,则向所述接收者账号返回接收失败的提示信息。
在一个实施例中,业务数据传递模块208用于获取接收到所述业务数据群发请求的第二时间戳;判断所述第二时间戳是否超时,若是,则获取所述子数值集合中剩余的子数值,将所述剩余的子数值返还到所述发送者账号中,并向所述发送者账号对应的终端发送提示信息。
为解决上述提到的传统技术中的社交网络应用中,用户在向多个陌生人群发业务数据时,该用户需要执行较多添加好友的操作以及创建群组的操作才能完成群发操作,从而导致操作的便利性不足的问题,在一个实施例中,如图12所示,特提出了一种与前述接收群发的业务数据的方法对应的接收群发的业务数据的装置,该装置包括:配对标识检测模块302、加入配对模块304以及数据接收模块306,其中:
配对标识检测模块302,用于检测短距无线信号,获取所述短距无线信号携带的配对标识。
加入配对模块304,用于获取接收者账号,将所述配对标识上传至服务器并携带所述接收者账号,由所述服务器查找与所述配对标识对应的发送者账号并由所述服务器查找所述发送者账号上传的业务数据。
数据接收模块306,用于接收由发送者账号上传至所述服务器的业务数据。
在一个实施例中,业务数据的数据类型为数值;服务器根据所述业务数据在所述发送者账号与所述接收者账号之间进行业务数值转移;数据接收模块 306用于接收所述服务器返回的与所述业务数值转移对应的提示信息。
在一个实施例中,如图12所示,该装置还包括申请接收模块308,用于接收输入的申请接收指令,将所述申请接收指令上传至服务器并携带时间戳,由所述服务器根据接收到的时间戳的顺序提取所述业务数据中的子数值在所述发送者账号与所述接收者账号之间进行业务数值转移。
采用了上述业务数据的群发送方法及装置之后,发送业务数据的发起者在向陌生人即与发起者不处于社交关系链上的用户群发送业务数据时,发起者不需要先依次与多个陌生人添加好友,可直接通过短距无线信号在短距离内广播配对标识,即可通过配对标识与多个陌生人产生关联。即具有与发起者的终端相同的配对标识的终端可接收该发起者群发的业务数据,从而免去了繁琐的添加好友的并验证的步骤,从而提高了操作的便利性。
另外,在上述业务数据的群发送方法及装置中,发起者也不需要为多个接收者账号创建群组,通过群组来群发送业务数据,而可通过服务器根据配对标识确定符合接收者账号身份的用户账号,然后向作为接收者账号的用户账号发送业务数据。从而也免去了发起者针对群发创建群组的操作,从而提高了操作的便利性。
以上描述了利用配对标识获取不处于社交关系链上的接收者账号,并将业务数据群发给接收者账号对应的终端的方法。然而,除了利用配对标识之外,还可以利用其它的方法实现将业务数据群发给接收者账号对应的终端,只要该标识能够有助于与接收者账号配对即可。在一个实施例中,该业务数据的群发送方法可运行于发送者账号的终端10,如图13所示,包括:
步骤S402:通过短距无线信号广播配对请求。
短距无线信号可以是NFC信号、蓝牙信号、wifi信号(无线局域网的网上邻居)或zigbee信号等在数十米范围内传播的无线信号。例如,若智能终端上安装有NFC芯片,则可通过NFC信号向其他终端广播配对请求,其他用户通过将终端靠近发送者的终端,则可通过检测短距无线信号与发送者的终端建立连接,从而接收到该配对请求,该终端上登录社交网络应用的用户账号即可 成为接收者账号。
步骤S404:与处于所述短距无线信号的范围内且接受所述配对请求的接收者账号配对。
在本发明实施例中,发送者和接收者之间可以事先添加对方为好友,也可以不需要事先添加对方为好友,当发送者账号对应的终端需要向接收者账号对应的终端发送配对请求之后,发送者账号对应的终端接收接收者账号对应的终端的响应,即发送者账号对应的终端需要先确认向哪个终端或者哪些终端分发业务数据。
步骤S406:接收输入的业务数据。
可展示业务数据输入界面以供发起者输入业务数据。输入的业务数据可以是多种数据形式,例如文件、图片、数值等类型。
例如,在一个备选的实施例中,若发起者希望将某个网盘上的文件群发给其他多个用户,则发起者可输入该网盘中文件的网络存储路径。
在另一个备选的实施例中,若发起者希望将本地存储的照片群发给其他多个用户,那么,业务数据输入界面中可提供照片选择框,发起者可先在业务数据输入界面选择本地的照片文件作为业务数据输入,然后将该照片文件上传至服务器或第三方存储服务器等网络存储位置,并得到返回的该照片文件的网络存储路径,然后将该网络存储地址作为业务数据输入。
另外,在一个移动支付的情况下,业务数据也可以是数值类型,例如支付金额或转账金额,该业务数据为可在发送者账户和接收者账户之间进行转移的数值型数据。
需要说明的是,步骤S406与步骤S402、S404的执行顺序并不需要进行严格的限定。发送者可先通过短距无线信号广播配对请求,与处于所述短距无线信号的范围内且接受所述配对请求的接收者账号配对,找到接收者账户对应的终端,再在展示的业务数据输入界面中输入业务数据;也可先在展示的业务数据输入界面中输入业务数据,再通过短距无线信号广播配对请求,与处于所述短距无线信号的范围内且接受所述配对请求的接收者账号配对,找到接收者账户的终端。二者并不冲突。
步骤S408:根据所述业务数据生成业务数据群发请求发送至服务器,并 将所述业务数据发送至服务器,由所述服务器根据所述业务数据群发请求将所述业务数据群发给所述接收者账号对应的终端。
在该实施例中,由于采用了上述业务数据的群发送方法,因此,发送业务数据的发起者在向陌生人即与发起者不处于社交关系链上的用户群发送业务数据时,发起者不需要先依次与多个陌生人添加好友,可直接通过短距无线信号与多个陌生人通信,进而与多个接受配对请求的陌生人配对,从而免去了繁琐的添加好友的并验证的步骤,提高了操作的便利性。
另外,在上述业务数据的群发送方法中,发起者也不需要为多个接收者账号创建群组,通过群组来群发送业务数据,而是可以通过短距无线信号或服务器确定符合接收者账号身份的用户账号,然后向作为接收者账号的用户账号发送业务数据,从而免去了发起者针对群发创建群组的操作,从而提高了操作的便利性。
在一个实施例中,通过短距无线信号广播配对请求的步骤可以包括:
生成配对标识,通过短距无线信号广播所述配对标识;
与处于所述短距无线信号的范围内且接受所述配对请求的接收者账号配对的步骤可以包括:
将所述配对标识上传服务器,接收服务器返回的与所述配对标识对应的接收者账号。
在另一个实施例中,与处于所述短距无线信号的范围内且接受所述配对请求的接收者账号配对的步骤,如图14所示,可以包括:
S4022:接收所述接收者账号对应的终端中的每一个根据所述短距无线信号返回的应答信号,其中,每个应答信号包括所述接收者账号中的一个接收者账号对应的应用标识。
接收者账号对应的应用标识可以是多种类型的唯一标识,只要能够在发送者账号对应的终端侧唯一的区分各个接收者账号对应的终端即可,例如接收者账号对应的应用标识可以是移动设备国际身份码(英文全称:International Mobile Equipment Identity,英文简称:IMEI)。发送者账号对应的终端获取接收者账号对应的应用标识的方法可以有多种,例如可以由发送者来操作发送者账号对应的终端,输入接收者账号对应的应用标识,或者发送者账号对应的终 端通过预先的查询来得到接收者账号对应的应用标识。
在该实施例中,发送者账号对应的终端不借助服务器,而是直接从接受配对请求的接收者账号获取接收者账号对应的应用标识,进而完成配对,因此,省略了从服务器获取接收者账号的步骤,效率更高。
在所述接收所述接收者账号对应的终端中的每一个根据所述短距无线信号返回的应答信号的步骤之后,还可以包括:
S4024:将发送者账号对应的应用标识、所述接收者账号对应的应用标识发送至服务器。
在本发明实施例中,发送者账号对应的终端获取到接收者账号对应的应用标识之后,发送者账号对应的终端将发送者账号对应的应用标识、接收者账号对应的应用标识通过当前的连接网络发送给服务器,服务器可以记录下所有的应用标识的信息。
在一个实施例中,在执行了将发送者账号对应的应用标识、所述接收者账号对应的应用标识发送至服务器的步骤之后,还可以包括:
进入业务数据分发界面,将用于所述接收者账号对应的终端获取的所述业务数据在所述业务数据分发界面展示。
在发送者账号对应的终端中可以创建一个业务数据分发界面,该业务数据分发界面可以是社交类产品的一个分发界面,发送者账号对应的终端在需要向接收者账号对应的终端分发业务数据时,发送者账号对应的终端首先进入业务数据分发界面,在业务数据分发界面中展示接收者账号对应的终端可以获取的业务数据,用户通过发送者账号对应的终端的业务数据分发界面可以简单便捷地看到需要分发的业务数据的数量,以及当前剩余的业务数据的数量。
在上述情况下,将所述业务数据发送至服务器的步骤可以包括:
将在所述业务数据分发界面中展示的所述业务数据发送至所述服务器。
发送者账号对应的终端在业务数据分发界面展示了业务数据之后,发送者账号对应的终端将展示在业务数据分发界面的业务数据发送给服务器,从而保证业务数据分发界面展示的业务数据的数量与发送给服务器的业务数据的数量的一致性。
通过上述实施例对本发明的描述可知,发送者账号对应的终端首先获取接收者账号对应的应用标识,然后发送者账号对应的终端将发送者账号对应的应 用标识、接收者账号对应的应用标识发送给服务器,接下来发送者账号对应的终端将接收者账号对应的终端可以获取的业务数据发送给服务器,由服务器将业务数据同时发送给接收者账号对应的终端。本发明实施例中发送者账号对应的终端向接收者账号对应的终端提供的业务数据可以被接收者账号对应的终端获取,发送者不需要先添加接收者为好友,也不需要先将发送者账号对应的终端建群就可以完成业务数据的分发,可简化现有的业务数据处理过程,提高用户之间业务数据获取的效率。
相应地,服务器执行的在终端之间转发业务数据的方法可如图15所示,包括:
步骤S502:获取发送者账号和接收者账号,所述接收者账号处于所述发送者账号对应的终端的短距无线信号的范围内且接受所述发送者账号对应的终端广播的配对请求。
步骤S504:接收所述发送者账号对应的终端上传的业务数据群发请求,根据所述业务数据群发请求获取业务数据。
步骤S506:将所述业务数据发送给所述接收者账号对应的终端。
在一个实施例中,所述获取发送者账号和接收者账号的步骤可以包括:
接收上传的配对标识,获取与所述配对标识对应的发送者账号;
接收配对加入请求,在所述配对加入请求中包含所述配对标识时,获取所述配对加入请求中携带的用户账号作为接收者账号,所述配对标识为所述发送者账号对应的终端通过短距无线信号广播给所述接收者账号对应的终端。
在一个实施例中,所述获取发送者账号和接收者账号的步骤,如图16所示,可以包括:
步骤S5022:从所述发送者账号对应的终端接收上传的应用标识,获取与所述应用标识对应的发送者账号和接收者账号。
在一个实施例中,所述业务数据群发请求里包含所述业务数值的份数参数N,所述业务数据根据所述份数参数被划分为子数值集合,这种情况下,还可以包括:
同时向所述接收者账号对应的终端中的每一个终端都发送所述份数参数N;在所述子数值集合中提取子数值向接收者账号进行业务数值转移;
若接收到所述接收者账号对应的终端中的第一终端发送的业务数据获取 请求,则根据所述业务数据获取请求将所述份数参数N修改为N-1,并向所述第一终端发送业务数据获取响应;
向所述接收者账号对应的终端中的每一个终端都发送所述份数参数N-1。
其中,服务器将N个业务数据发送给接收者账号对应的终端中的每一个之后,每一个接收者账号对应的终端都可以获知发送者账号对应的终端分发的业务数据数量为N,若接收者账号对应的终端想得到N个业务数据中的一个业务数据,接收者账号对应的终端向服务器发送从N个业务数据中获取一个业务数据的业务数据获取请求,则服务器会接收到接收者账号对应的终端发送的业务数据获取请求。以接收者账号对应的终端中的第一接收者账号对应的终端向服务器发送业务数据获取请求为例,服务器可以接收到第一接收者账号对应的终端发送的业务数据获取请求,在服务器接收到接收者账号对应的终端中的第一接收者账号对应的终端发送的业务数据获取请求的情况下,服务器根据业务数据获取请求将N个业务数据修改为(N-1)个业务数据,并向第一接收者账号对应的终端发送业务数据获取响应。其中,业务数据获取响应,用于服务器指示第一接收者账号对应的终端成功获取到了一个业务数据,服务器将业务数据的数量从N个修改为(N-1)个业务数据,随着第一接收者账号对应的终端的业务数据获取成功,业务数据的数量会减少,并且接收者账号对应的终端都可以向服务器请求获取业务数据,则业务数据的数量会不断减少,直至业务数据的数量为零。
在该实施例中,通过监控业务数据的数量,可以在将业务数据分发完毕(即,业务数据的数量为零)时,及时地结束群发操作,从而节约了系统资源。
在一个实施例中,在执行了向所述接收者账号对应的终端中的每一个终端都发送所述份数参数N-1的步骤之后,还可以包括:
若继续接收到所述接收者账号对应的终端中的第一终端或者第二终端发送的业务数据获取请求,判断所述份数参数N-1是否大于0;
若所述份数参数N-1大于0,则将所述份数参数N-1修改为所述份数参数N-2,并向所述第一终端或第二终端发送业务数据获取响应,向所述接收者账号对应的终端中的每一个终端都发送所述份数参数N-2;
若所述份数参数N-1等于0,则向所述接收者账号对应的终端中的每一个终端都发送业务数据分发完毕的提示指令。
其中,服务器接收到了第一接收者账号对应的终端发送的业务数据获取请求,并根据第一接收者账号对应的终端获取到的一个业务数据将业务数据的数量从N个修改为(N-1)个,接收者账号对应的终端中的每一个将从服务器接收到的N个业务数据修改为(N-1)业务数据,此时第一接收者账号对应的终端中显示的业务数据的数量为(N-1)个,若(N-1)不为零,第一接收者账号对应的终端还可以继续向服务器发送从(N-1)个业务数据中获取一个业务数据的业务数据获取请求,当然接收者账号对应的终端中的其它终端(例如第二接收者账号对应的终端)也可以向服务器发送从(N-1)个业务数据中获取一个业务数据的业务数据获取请求,服务器接收到第一接收者账号对应的终端或者第二接收者账号对应的终端发送的业务数据获取请求之后,服务器判断(N-1)是否大于0,即服务器需要检查发送者账号对应的终端分发出去的N个业务数据是否已经被获取完毕,若(N-1)大于0,说明业务数据还有剩余,没有被获取完毕,则服务器将(N-1)个业务数据修改为(N-2)个业务数据,并向第一接收者账号对应的终端或第二接收者账号对应的终端发送业务数据获取响应,服务器向接收者账号对应的终端中的每一个都发送(N-2)个业务数据,即接收者账号对应的终端中的每一个都可以获知业务数据的数量为(N-2)个。
需要说明的是,第一接收者账号对应的终端在获取到一个业务数据之后,第一接收者账号对应的终端还可以继续向服务器发送业务数据获取请求,只要业务数据的数量不为零,第一接收者账号对应的终端还可以再获取到一个业务数据,在现有的业务数据处理过程中,一个用户在收取到另一个用户派发的业务数据之后,收取业务数据过程结束,无法再继续接收同一个用户的业务数据,而只能等待用户重新派发业务数据。例如现有技术中存在的一个真实应用场景为,一个用户只能抢一个红包,如果一个用户已经抢到一个红包,即使群内还有未被抢去的红包,也无法再次去抢红包,对用户而言,无法多次获取业务数据。而本发明实施例中,对于同一个接收者账号对应的终端(以第一接收者账号对应的终端)为例,只要业务数据的数量不为零,该接收者账号对应的终端还可以多次获取到业务数据,满足用户多次获取业务数据的需要。
在本发明的一些实施例中,服务器接收到的第一接收者账号对应的终端发送的业务数据获取请求,是接收者账号对应的终端分别发送的业务数据获取请 求中最先到达服务器的业务数据获取请求。也就是说,服务器是按照各个业务数据获取请求到达服务器的时间先后顺序来轮询执行对N个业务数据的修改,也需要按照各个业务数据获取请求达到服务器的时间先后顺序来轮询执行修改后的业务数据数量的发送。
在一个实施例中,如图17所示,提出了一种与前述的业务数据的群发送方法对应的终端。该终端1700可以至少包括:至少一个处理器1701,例如CPU,至少一个网络接口1704,用户接口1703,存储器1705,至少一个通信总线1702。其中,通信总线1702用于实现这些组件之间的连接通信。其中,用户接口1703可以包括显示屏(Display)、键盘(Keyboard),可选用户接口1703还可以包括标准的有线接口、无线接口。网络接口1704可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1705可以是高速RAM存储器,也可以是非易失性的存储器(non-volatile memory),例如至少一个磁盘存储器。存储器1705可选的还可以是至少一个位于远离前述处理器1701的存储装置。
在图17所示的终端1700中,用户接口1703主要用于为用户提供输入的接口,获取用户输入的数据;网络接口1704主要用于与服务器进行数据传输;而处理器1701可以用于执行存储器1705中存储的计算机可读程序代码,并具体执行以下操作:
通过短距无线信号广播配对请求;
与处于所述短距无线信号的范围内且接受所述配对请求的接收者账号配对;
接收输入的业务数据;
根据所述业务数据生成业务数据群发请求发送至服务器,并将所述业务数据发送至服务器,由所述服务器根据所述业务数据群发请求将所述业务数据群发给所述接收者账号对应的终端。
在一个实施例中,所述处理器1701,用于执行所述计算机可读程序代码,以通过短距无线信号广播配对请求,包括:
生成配对标识,通过短距无线信号广播所述配对标识;
所述处理器,用于执行所述计算机可读程序代码,以与处于所述短距无线信号的范围内且接受所述配对请求的接收者账号配对,包括:
将所述配对标识上传服务器,接收服务器返回的与所述配对标识对应的接收者账号。
在另一个实施例中,所述处理器1701,用于执行所述计算机可读程序代码,以与处于所述短距无线信号的范围内且接受所述配对请求的接收者账号配对,包括:
接收所述接收者账号对应的终端中的每一个根据所述短距无线信号返回的应答信号,其中,每个应答信号包括所述接收者账号中的一个接收者账号对应的应用标识。
在一个实施例中,所述处理器1701,用于执行所述计算机可读程序代码,以接收所述接收者账号对应的终端中的每一个根据所述短距无线信号返回的应答信号之后,还执行以下操作:
将发送者账号对应的应用标识、所述接收者账号对应的应用标识发送至服务器。
在一个实施例中,所述处理器1701,用于执行所述计算机可读程序代码,以接收输入的业务数据,包括:
获取所述业务数据的网络存储路径;
所述处理器1701,用于执行所述计算机可读程序代码,以根据所述业务数据生成业务数据群发请求发送至服务器,包括:
根据所述业务数据的网络存储路径生成业务数据群发请求发送至服务器,由所述服务器将所述网络存储路径群发给所述接收者账号对应的终端,由所述接收者账号对应的终端根据所述网络存储路径下载业务数据。
在一个实施例中,所述处理器1701,用于执行所述计算机可读程序代码,以将所述配对标识上传服务器,包括:
获取发送者账号并上传。
在一个实施例中,所述业务数据的数据类型为数值,所述处理器1701,用于执行所述计算机可读程序代码,以接收输入的业务数据,包括:
接收输入的与所述发送者账号对应的业务数据,由所述服务器根据所述业 务数据在所述发送者账号和所述接收者账号之间进行业务数值转移。
在一个实施例中,所述处理器1701,用于执行所述计算机可读程序代码,以接收输入的与所述发送者账号对应的业务数据,包括:
接收输入的份数参数;
所述处理器1701,用于执行所述计算机可读程序代码,以根据所述业务数据生成业务数据群发请求发送至服务器,包括:
在所述业务数据群发请求中添加所述份数参数,由所述服务器根据所述份数参数将所述业务数据按照所述份数参数划分为子数值集合,为所述接收者账号提取所述子数值集合中的子数值进行业务数值转移。
在一个实施例中,所述处理器1701,用于执行所述计算机可读程序代码,以接收输入的与所述发送者账号对应的业务数据之后,还执行以下操作:
展示身份验证窗口,通过所述身份验证窗口获取输入的与所述发送者账号对应的身份验证信息,并发送至服务器进行校验,在接收到服务器返回的校验通过的消息时,根据所述业务数据生成业务数据群发请求发送至服务器。
在一个实施例中,所述处理器1701,用于执行所述计算机可读程序代码,以与处于所述短距无线信号的范围内且接受所述配对请求的接收者账号配对之后,还执行以下操作:
在显示界面上展示所述接收者账号;
所述处理器1701,用于执行所述计算机可读程序代码,以根据所述业务数据生成业务数据群发请求发送至服务器之后,还执行以下操作:
接收服务器返回的接收状态为已接收的接收者账号,在所述显示界面上为所述已接收的接收者账号展示提示效果。
在一个实施例中,所述处理器1701,用于执行所述计算机可读程序代码,以在显示界面上展示所述接收者账号之后,还执行以下操作:
通过所述显示界面接收关系链添加指令,获取关系链添加指令对应的在所述显示界面选中的接收者账号;
根据所述选中的接收者账号生成关系链添加请求发送至服务器,由所述服务器建立所述发送者账号与所述选中的接收者账号的关系链映射。
在一个实施例中,所述处理器1701,用于执行所述计算机可读程序代码, 以将发送者账号对应的应用标识、接收者账号对应的应用标识发送至服务器之后,还执行以下操作:
进入业务数据分发界面,将用于所述接收者账号对应的终端获取的所述业务数据在所述业务数据分发界面展示;
所述处理器1701,用于执行所述计算机可读程序代码,以将所述业务数据发送至服务器,包括:
将在所述业务数据分发界面中展示的所述业务数据发送至所述服务器。
在一个实施例中,如图18所示,特提出了一种与前述在终端之间转发业务数据的方法对应的在终端之间转发业务数据的服务器。该服务器1800可以至少包括:至少一个处理器1801,例如CPU,至少一个网络接口1804,用户接口1803,存储器1805,至少一个通信总线1802。其中,通信总线1802用于实现这些组件之间的连接通信。其中,用户接口1803可以包括显示屏(Display)、键盘(Keyboard),可选用户接口1803还可以包括标准的有线接口、无线接口。网络接口1804可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1805可以是高速RAM存储器,也可以是非易失性的存储器(non-volatile memory),例如至少一个磁盘存储器。存储器1805可选的还可以是至少一个位于远离前述处理器1801的存储装置。
在图17所示的服务器1800中,用户接口1803主要用于为用户提供输入的接口,获取用户输入的数据;网络接口1804主要用于与终端进行数据传输;而处理器1801可以用于执行存储器1805中存储的计算机可读程序代码,并具体执行以下操作:
获取发送者账号和接收者账号,所述接收者账号处于所述发送者账号对应的终端的短距无线信号的范围内且接受所述发送者账号对应的终端广播的配对请求;
接收所述发送者账号对应的终端上传的业务数据群发请求,根据所述业务数据群发请求获取业务数据;
将所述业务数据发送给所述接收者账号对应的终端。
在一个实施例中,所述处理器1801,用于执行所述计算机可读程序代码, 以获取发送者账号和接收者账号,包括:
接收上传的所述配对标识,获取与所述配对标识对应的发送者账号;
接收配对加入请求,在所述配对加入请求中包含所述配对标识时,获取所述配对加入请求中携带的用户账号作为接收者账号,所述配对标识为所述发送者账号对应的终端通过短距无线信号广播给所述接收者账号对应的终端。
在一个实施例中,所述处理器1801,用于执行所述计算机可读程序代码,以获取发送者账号和接收者账号,包括:
从所述发送者账号对应的终端接收上传的应用标识,获取与所述应用标识对应的发送者账号和接收者账号。
在一个实施例中,所述业务数据的数据类型为数值;所述处理器1801,用于执行所述计算机可读程序代码,以将所述业务数据发送给所述接收者账号对应的终端,包括:
根据所述业务数据在所述发送者账号与所述接收者账号之间进行业务数值转移,向所述接收者账号发送与业务数值转移对应的提示信息。
在一个实施例中,所述处理器1801,用于执行所述计算机可读程序代码,以接收所述发送者账号对应的终端上传的业务数据群发请求之后,还执行以下操作:
根据所述业务数据群发请求提取与所述业务数值的份数参数;
将所述业务数据根据所述份数参数划分为子数值集合;
所述处理器1801,用于执行所述计算机可读程序代码,以根据所述业务数据在所述发送者账号与所述接收者账号之间进行业务数值转移,包括:
在所述子数值集合中提取子数值向接收者账号进行业务数值转移。
在一个实施例中,所述处理器1801,用于执行所述计算机可读程序代码,以在所述子数值集合中提取子数值向接收者账号进行业务数值转移之前,还执行以下操作:
接收所述接收者账号对应的终端上传的申请接收指令并提取第一时间戳;
所述处理器1801,用于执行所述计算机可读程序代码,以在所述子数值集合中提取子数值向接收者账号进行业务数值转移,包括:
根据所述第一时间戳的顺序依次将所述业务数据发送给所述接收者账号 对应的终端。
在一个实施例中,所述处理器1801,用于执行所述计算机可读程序代码,以获取发送者账号和接收者账号,包括:
获取所述接收者账号的接收者数量;
所述处理器1801,用于执行所述计算机可读程序代码,以在所述子数值集合中提取子数值向接收者账号进行业务数值转移,包括:
判断所述接收者数量是否大于所述份数参数,若是,则向所述接收者账号返回接收失败的提示信息。
在一个实施例中,所述处理器1801,用于执行所述计算机可读程序代码,以将所述业务数据发送给所述接收者账号对应的终端,包括:
判断所述子数值集合是否为空,若是,则向所述接收者账号返回接收失败的提示信息。
在一个实施例中,所述处理器1801,用于执行所述计算机可读程序代码,以接收所述发送者账号对应的终端上传的业务数据群发请求,包括:
获取接收所述业务数据群发请求的第二时间戳;
所述处理器1801,用于执行所述计算机可读程序代码,还执行以下操作:
判断所述第二时间戳是否超时,若是,则获取所述子数值集合中剩余的子数值,将所述剩余的子数值返还到所述发送者账号中,并向所述发送者账号对应的终端发送提示信息。
在一个实施例中,所述份数参数为N;所述处理器1801,用于执行所述计算机可读程序代码,以将所述业务数据根据所述份数参数划分为子数值集合之后,还执行以下操作:
同时向所述接收者账号对应的终端中的每一个终端都发送所述份数参数N;
所述处理器1801,用于执行所述计算机可读程序代码,以在所述子数值集合中提取子数值向接收者账号进行业务数值转移之后,还执行以下操作:
若接收到所述接收者账号对应的终端中的第一终端发送的业务数据获取请求,则根据所述业务数据获取请求将所述份数参数N修改为N-1,并向所述第一终端发送业务数据获取响应;
向所述接收者账号对应的终端中的每一个终端都发送所述份数参数N-1。
在一个实施例中,所述处理器1801,用于执行所述计算机可读程序代码,以向所述接收者账号对应的终端中的每一个终端都发送所述份数参数N-1之后,还执行以下操作:
若继续接收到所述接收者账号对应的终端中的第一终端或者第二终端发送的业务数据获取请求,判断所述份数参数N-1是否大于0;
若所述份数参数N-1大于0,则将所述份数参数N-1修改为所述份数参数N-2,并向所述第一终端或第二终端发送业务数据获取响应,向所述接收者账号对应的终端中的每一个终端都发送所述份数参数N-2;
若所述份数参数N-1等于0,则向所述接收者账号对应的终端中的每一个终端都发送业务数据分发完毕的提示指令。
在一个实施例中,接收到的所述第一终端发送的业务数据获取请求,是所述接收者账号对应的终端分别发送的业务数据获取请求中最先到达的业务数据获取请求。
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。

Claims (48)

  1. 一种业务数据的群发送方法,其特征在于,包括:
    通过短距无线信号广播配对请求;
    与处于所述短距无线信号的范围内且接受所述配对请求的接收者账号配对;
    接收输入的业务数据;
    根据所述业务数据生成业务数据群发请求发送至服务器,并将所述业务数据发送至服务器,由所述服务器根据所述业务数据群发请求将所述业务数据群发给所述接收者账号对应的终端。
  2. 根据权利要求1所述的业务数据的群发送方法,其特征在于,
    所述通过短距无线信号广播配对请求的步骤包括:
    生成配对标识,通过短距无线信号广播所述配对标识;
    所述与处于所述短距无线信号的范围内且接受所述配对请求的接收者账号配对的步骤包括:
    将所述配对标识上传服务器,接收服务器返回的与所述配对标识对应的接收者账号。
  3. 根据权利要求1所述的业务数据的群发送方法,其特征在于,
    所述与处于所述短距无线信号的范围内且接受所述配对请求的接收者账号配对的步骤包括:
    接收所述接收者账号对应的终端中的每一个根据所述短距无线信号返回的应答信号,其中,每个应答信号包括所述接收者账号中的一个接收者账号对应的应用标识。
  4. 根据权利要求3所述的业务数据的群发送方法,其特征在于,所述接收所述接收者账号对应的终端中的每一个根据所述短距无线信号返回的应答信号的步骤之后,还包括:
    将发送者账号对应的应用标识、所述接收者账号对应的应用标识发送至服务器。
  5. 根据权利要求1至4中任一项所述的业务数据的群发送方法,其特征 在于,所述接收输入的业务数据的步骤还包括:
    获取所述业务数据的网络存储路径;
    所述根据所述业务数据生成业务数据群发请求发送至服务器的步骤还包括:
    根据所述业务数据的网络存储路径生成业务数据群发请求发送至服务器,由所述服务器将所述网络存储路径群发给所述接收者账号对应的终端,由所述接收者账号对应的终端根据所述网络存储路径下载业务数据。
  6. 根据权利要求2所述的业务数据的群发送方法,其特征在于,所述将所述配对标识上传服务器的步骤还包括:
    获取发送者账号并上传。
  7. 根据权利要求3、4、6中任一项所述的业务数据的群发送方法,其特征在于,
    所述业务数据的数据类型为数值,
    所述接收输入的业务数据的步骤还包括:
    接收输入的与所述发送者账号对应的业务数据,由所述服务器根据所述业务数据在所述发送者账号和所述接收者账号之间进行业务数值转移。
  8. 根据权利要求7所述的业务数据的群发送方法,其特征在于,所述接收输入的与所述发送者账号对应的业务数据的步骤还包括:
    接收输入的份数参数;
    所述根据所述业务数据生成业务数据群发请求发送至服务器的步骤还包括:
    在所述业务数据群发请求中添加所述份数参数,由所述服务器根据所述份数参数将所述业务数据按照所述份数参数划分为子数值集合,为所述接收者账号提取所述子数值集合中的子数值进行业务数值转移。
  9. 根据权利要求7所述的业务数据的群发送方法,其特征在于,所述接收输入的与所述发送者账号对应的业务数据的步骤之后还包括:
    展示身份验证窗口,通过所述身份验证窗口获取输入的与所述发送者账号对应的身份验证信息,并发送至服务器进行校验,在接收到服务器返回的校验通过的消息时,执行所述根据所述业务数据生成业务数据群发请求发送至服务 器的步骤。
  10. 根据权利要求7所述的业务数据的群发送方法,其特征在于,所述与处于所述短距无线信号的范围内且接受所述配对请求的接收者账号配对的步骤之后还包括:
    在显示界面上展示所述接收者账号;
    所述根据所述业务数据生成业务数据群发请求发送至服务器的步骤之后还包括:
    接收服务器返回的接收状态为已接收的接收者账号,在所述显示界面上为所述已接收的接收者账号展示提示效果。
  11. 根据权利要求10所述的业务数据的群发送方法,其特征在于,所述在显示界面上展示所述接收者账号的步骤之后还包括:
    通过所述显示界面接收关系链添加指令,获取关系链添加指令对应的在所述显示界面选中的接收者账号;
    根据所述选中的接收者账号生成关系链添加请求发送至服务器,由所述服务器建立所述发送者账号与所述选中的接收者账号的关系链映射。
  12. 根据权利要求4所述的业务数据的群发送方法,其特征在于,所述将发送者账号对应的应用标识、接收者账号对应的应用标识发送至服务器的步骤之后,还包括:
    进入业务数据分发界面,将用于所述接收者账号对应的终端获取的所述业务数据在所述业务数据分发界面展示;
    所述将所述业务数据发送至服务器的步骤包括:
    将在所述业务数据分发界面中展示的所述业务数据发送至所述服务器。
  13. 一种在终端之间转发业务数据的方法,其特征在于,所述方法包括:
    获取发送者账号和接收者账号,所述接收者账号处于所述发送者账号对应的终端的短距无线信号的范围内且接受所述发送者账号对应的终端广播的配对请求;
    接收所述发送者账号对应的终端上传的业务数据群发请求,根据所述业务数据群发请求获取业务数据;
    将所述业务数据发送给所述接收者账号对应的终端。
  14. 根据权利要求13所述的在终端之间转发业务数据的方法,其特征在于,
    所述获取发送者账号和接收者账号的步骤包括:
    接收上传的所述配对标识,获取与所述配对标识对应的发送者账号;
    接收配对加入请求,在所述配对加入请求中包含所述配对标识时,获取所述配对加入请求中携带的用户账号作为接收者账号,所述配对标识为所述发送者账号对应的终端通过短距无线信号广播给所述接收者账号对应的终端。
  15. 根据权利要求13所述的在终端之间转发业务数据的方法,其特征在于,
    所述获取发送者账号和接收者账号的步骤包括:
    从所述发送者账号对应的终端接收上传的应用标识,获取与所述应用标识对应的发送者账号和接收者账号。
  16. 根据权利要求13所述的在终端之间转发业务数据的方法,其特征在于,所述业务数据的数据类型为数值;
    所述将所述业务数据发送给所述接收者账号对应的终端的步骤为:
    根据所述业务数据在所述发送者账号与所述接收者账号之间进行业务数值转移,向所述接收者账号发送与业务数值转移对应的提示信息。
  17. 根据权利要求16所述的在终端之间转发业务数据的方法,其特征在于,所述接收所述发送者账号对应的终端上传的业务数据群发请求的步骤之后还包括:
    根据所述业务数据群发请求提取与所述业务数值的份数参数;
    将所述业务数据根据所述份数参数划分为子数值集合;
    所述根据所述业务数据在所述发送者账号与所述接收者账号之间进行业务数值转移的步骤还包括:
    在所述子数值集合中提取子数值向接收者账号进行业务数值转移。
  18. 根据权利要求17所述的在终端之间转发业务数据的方法,其特征在于,所述在所述子数值集合中提取子数值向接收者账号进行业务数值转移的步骤之前还包括:
    接收所述接收者账号对应的终端上传的申请接收指令并提取第一时间戳;
    所述在所述子数值集合中提取子数值向接收者账号进行业务数值转移的步骤还包括:
    根据所述第一时间戳的顺序依次将所述业务数据发送给所述接收者账号对应的终端。
  19. 根据权利要求17所述的在终端之间转发业务数据的方法,其特征在于,所述获取发送者账号和接收者账号的步骤还包括:
    获取所述接收者账号的接收者数量;
    所述在所述子数值集合中提取子数值向接收者账号进行业务数值转移的步骤还包括:
    判断所述接收者数量是否大于所述份数参数,若是,则向所述接收者账号返回接收失败的提示信息。
  20. 根据权利要求17所述的在终端之间转发业务数据的方法,其特征在于,所述将所述业务数据发送给所述接收者账号对应的终端的步骤还包括:
    判断所述子数值集合是否为空,若是,则向所述接收者账号返回接收失败的提示信息。
  21. 根据权利要求17所述的在终端之间转发业务数据的方法,其特征在于,所述接收所述发送者账号对应的终端上传的业务数据群发请求的步骤还包括:
    获取接收所述业务数据群发请求的第二时间戳;
    所述方法还包括:
    判断所述第二时间戳是否超时,若是,则获取所述子数值集合中剩余的子数值,将所述剩余的子数值返还到所述发送者账号中,并向所述发送者账号对应的终端发送提示信息。
  22. 根据权利要求17至21中任一项所述的在终端之间转发业务数据的方法,其特征在于,
    所述份数参数为N;
    所述将所述业务数据根据所述份数参数划分为子数值集合的步骤之后还包括:同时向所述接收者账号对应的终端中的每一个终端都发送所述份数参数 N;
    所述在所述子数值集合中提取子数值向接收者账号进行业务数值转移的步骤之后,还包括:
    若接收到所述接收者账号对应的终端中的第一终端发送的业务数据获取请求,则根据所述业务数据获取请求将所述份数参数N修改为N-1,并向所述第一终端发送业务数据获取响应;
    向所述接收者账号对应的终端中的每一个终端都发送所述份数参数N-1。
  23. 根据权利要求22所述的在终端之间转发业务数据的方法,其特征在于,向所述接收者账号对应的终端中的每一个终端都发送所述份数参数N-1的步骤之后,所述方法还包括:
    若继续接收到所述接收者账号对应的终端中的第一终端或者第二终端发送的业务数据获取请求,判断所述份数参数N-1是否大于0;
    若所述份数参数N-1大于0,则将所述份数参数N-1修改为所述份数参数N-2,并向所述第一终端或第二终端发送业务数据获取响应,向所述接收者账号对应的终端中的每一个终端都发送所述份数参数N-2;
    若所述份数参数N-1等于0,则向所述接收者账号对应的终端中的每一个终端都发送业务数据分发完毕的提示指令。
  24. 根据权利要求22所述的在终端之间转发业务数据的方法,其特征在于,接收到的所述第一终端发送的业务数据获取请求,是所述接收者账号对应的终端分别发送的业务数据获取请求中最先到达的业务数据获取请求。
  25. 一种终端,包括:
    存储器,存储计算机可读程序代码;以及
    处理器,用于执行所述计算机可读程序代码,以执行以下操作:
    通过短距无线信号广播配对请求;
    与处于所述短距无线信号的范围内且接受所述配对请求的接收者账号配对;
    接收输入的业务数据;
    根据所述业务数据生成业务数据群发请求发送至服务器,并将所述业务数据发送至服务器,由所述服务器根据所述业务数据群发请求将所述业务数据群 发给所述接收者账号对应的终端。
  26. 根据权利要求25所述的终端,其特征在于,
    所述处理器,用于执行所述计算机可读程序代码,以通过短距无线信号广播配对请求,包括:
    生成配对标识,通过短距无线信号广播所述配对标识;
    所述处理器,用于执行所述计算机可读程序代码,以与处于所述短距无线信号的范围内且接受所述配对请求的接收者账号配对,包括:
    将所述配对标识上传服务器,接收服务器返回的与所述配对标识对应的接收者账号。
  27. 根据权利要求25所述的终端,其特征在于,
    所述处理器,用于执行所述计算机可读程序代码,以与处于所述短距无线信号的范围内且接受所述配对请求的接收者账号配对,包括:
    接收所述接收者账号对应的终端中的每一个根据所述短距无线信号返回的应答信号,其中,每个应答信号包括所述接收者账号中的一个接收者账号对应的应用标识。
  28. 根据权利要求27所述的终端,其特征在于,所述处理器,用于执行所述计算机可读程序代码,以接收所述接收者账号对应的终端中的每一个根据所述短距无线信号返回的应答信号之后,还执行以下操作:
    将发送者账号对应的应用标识、所述接收者账号对应的应用标识发送至服务器。
  29. 根据权利要求25至28中任一项所述的终端,其特征在于,所述处理器,用于执行所述计算机可读程序代码,以接收输入的业务数据,包括:
    获取所述业务数据的网络存储路径;
    所述处理器,用于执行所述计算机可读程序代码,以根据所述业务数据生成业务数据群发请求发送至服务器,包括:
    根据所述业务数据的网络存储路径生成业务数据群发请求发送至服务器,由所述服务器将所述网络存储路径群发给所述接收者账号对应的终端,由所述接收者账号对应的终端根据所述网络存储路径下载业务数据。
  30. 根据权利要求26所述的终端,其特征在于,所述处理器,用于执行 所述计算机可读程序代码,以将所述配对标识上传服务器,包括:
    获取发送者账号并上传。
  31. 根据权利要求27、28、30中任一项所述的终端,其特征在于,
    所述业务数据的数据类型为数值,
    所述处理器,用于执行所述计算机可读程序代码,以接收输入的业务数据,包括:
    接收输入的与所述发送者账号对应的业务数据,由所述服务器根据所述业务数据在所述发送者账号和所述接收者账号之间进行业务数值转移。
  32. 根据权利要求31所述的终端,其特征在于,所述处理器,用于执行所述计算机可读程序代码,以接收输入的与所述发送者账号对应的业务数据,包括:
    接收输入的份数参数;
    所述处理器,用于执行所述计算机可读程序代码,以根据所述业务数据生成业务数据群发请求发送至服务器,包括:
    在所述业务数据群发请求中添加所述份数参数,由所述服务器根据所述份数参数将所述业务数据按照所述份数参数划分为子数值集合,为所述接收者账号提取所述子数值集合中的子数值进行业务数值转移。
  33. 根据权利要求31所述的终端,其特征在于,所述处理器,用于执行所述计算机可读程序代码,以接收输入的与所述发送者账号对应的业务数据之后,还执行以下操作:
    展示身份验证窗口,通过所述身份验证窗口获取输入的与所述发送者账号对应的身份验证信息,并发送至服务器进行校验,在接收到服务器返回的校验通过的消息时,根据所述业务数据生成业务数据群发请求发送至服务器。
  34. 根据权利要求31所述的终端,其特征在于,所述处理器,用于执行所述计算机可读程序代码,以与处于所述短距无线信号的范围内且接受所述配对请求的接收者账号配对之后,还执行以下操作:
    在显示界面上展示所述接收者账号;
    所述处理器,用于执行所述计算机可读程序代码,以根据所述业务数据生成业务数据群发请求发送至服务器之后,还执行以下操作:
    接收服务器返回的接收状态为已接收的接收者账号,在所述显示界面上为所述已接收的接收者账号展示提示效果。
  35. 根据权利要求34所述的终端,其特征在于,所述处理器,用于执行所述计算机可读程序代码,以在显示界面上展示所述接收者账号之后,还执行以下操作:
    通过所述显示界面接收关系链添加指令,获取关系链添加指令对应的在所述显示界面选中的接收者账号;
    根据所述选中的接收者账号生成关系链添加请求发送至服务器,由所述服务器建立所述发送者账号与所述选中的接收者账号的关系链映射。
  36. 根据权利要求27或28所述的终端,其特征在于,所述处理器,用于执行所述计算机可读程序代码,以将发送者账号对应的应用标识、接收者账号对应的应用标识发送至服务器之后,还执行以下操作:
    进入业务数据分发界面,将用于所述接收者账号对应的终端获取的所述业务数据在所述业务数据分发界面展示;
    所述处理器,用于执行所述计算机可读程序代码,以将所述业务数据发送至服务器,包括:
    将在所述业务数据分发界面中展示的所述业务数据发送至所述服务器。
  37. 一种服务器,其特征在于,包括:
    存储器,存储计算机可读程序代码;以及
    处理器,用于执行所述计算机可读程序代码,以执行以下操作:
    获取发送者账号和接收者账号,所述接收者账号处于所述发送者账号对应的终端的短距无线信号的范围内且接受所述发送者账号对应的终端广播的配对请求;
    接收所述发送者账号对应的终端上传的业务数据群发请求,根据所述业务数据群发请求获取业务数据;
    将所述业务数据发送给所述接收者账号对应的终端。
  38. 根据权利要求37所述的服务器,其特征在于,
    所述处理器,用于执行所述计算机可读程序代码,以获取发送者账号和接 收者账号,包括:
    接收上传的所述配对标识,获取与所述配对标识对应的发送者账号;
    接收配对加入请求,在所述配对加入请求中包含所述配对标识时,获取所述配对加入请求中携带的用户账号作为接收者账号,所述配对标识为所述发送者账号对应的终端通过短距无线信号广播给所述接收者账号对应的终端。
  39. 根据权利要求37所述的服务器,其特征在于,
    所述处理器,用于执行所述计算机可读程序代码,以获取发送者账号和接收者账号,包括:
    从所述发送者账号对应的终端接收上传的应用标识,获取与所述应用标识对应的发送者账号和接收者账号。
  40. 根据权利要求37所述的服务器,其特征在于,所述业务数据的数据类型为数值;
    所述处理器,用于执行所述计算机可读程序代码,以将所述业务数据发送给所述接收者账号对应的终端,包括:
    根据所述业务数据在所述发送者账号与所述接收者账号之间进行业务数值转移,向所述接收者账号发送与业务数值转移对应的提示信息。
  41. 根据权利要求40所述的服务器,其特征在于,所述处理器,用于执行所述计算机可读程序代码,以接收所述发送者账号对应的终端上传的业务数据群发请求之后,还执行以下操作:
    根据所述业务数据群发请求提取与所述业务数值的份数参数;
    将所述业务数据根据所述份数参数划分为子数值集合;
    所述处理器,用于执行所述计算机可读程序代码,以根据所述业务数据在所述发送者账号与所述接收者账号之间进行业务数值转移,包括:
    在所述子数值集合中提取子数值向接收者账号进行业务数值转移。
  42. 根据权利要求41所述的服务器,其特征在于,所述处理器,用于执行所述计算机可读程序代码,以在所述子数值集合中提取子数值向接收者账号进行业务数值转移之前,还执行以下操作:
    接收所述接收者账号对应的终端上传的申请接收指令并提取第一时间戳;
    所述处理器,用于执行所述计算机可读程序代码,以在所述子数值集合中 提取子数值向接收者账号进行业务数值转移,包括:
    根据所述第一时间戳的顺序依次将所述业务数据发送给所述接收者账号对应的终端。
  43. 根据权利要求41所述的服务器,其特征在于,所述处理器,用于执行所述计算机可读程序代码,以获取发送者账号和接收者账号,包括:
    获取所述接收者账号的接收者数量;
    所述处理器,用于执行所述计算机可读程序代码,以在所述子数值集合中提取子数值向接收者账号进行业务数值转移,包括:
    判断所述接收者数量是否大于所述份数参数,若是,则向所述接收者账号返回接收失败的提示信息。
  44. 根据权利要求41所述的服务器,其特征在于,所述处理器,用于执行所述计算机可读程序代码,以将所述业务数据发送给所述接收者账号对应的终端,包括:
    判断所述子数值集合是否为空,若是,则向所述接收者账号返回接收失败的提示信息。
  45. 根据权利要求41所述的服务器,其特征在于,所述处理器,用于执行所述计算机可读程序代码,以接收所述发送者账号对应的终端上传的业务数据群发请求,包括:
    获取接收所述业务数据群发请求的第二时间戳;
    所述处理器,用于执行所述计算机可读程序代码,还执行以下操作:
    判断所述第二时间戳是否超时,若是,则获取所述子数值集合中剩余的子数值,将所述剩余的子数值返还到所述发送者账号中,并向所述发送者账号对应的终端发送提示信息。
  46. 根据权利要求41至45中任一项所述的服务器,其特征在于,
    所述份数参数为N;
    所述处理器,用于执行所述计算机可读程序代码,以将所述业务数据根据所述份数参数划分为子数值集合之后,还执行以下操作:
    同时向所述接收者账号对应的终端中的每一个终端都发送所述份数参数N;
    所述处理器,用于执行所述计算机可读程序代码,以在所述子数值集合中提取子数值向接收者账号进行业务数值转移之后,还执行以下操作:
    若接收到所述接收者账号对应的终端中的第一终端发送的业务数据获取请求,则根据所述业务数据获取请求将所述份数参数N修改为N-1,并向所述第一终端发送业务数据获取响应;
    向所述接收者账号对应的终端中的每一个终端都发送所述份数参数N-1。
  47. 根据权利要求46所述的服务器,其特征在于,所述处理器,用于执行所述计算机可读程序代码,以向所述接收者账号对应的终端中的每一个终端都发送所述份数参数N-1之后,还执行以下操作:
    若继续接收到所述接收者账号对应的终端中的第一终端或者第二终端发送的业务数据获取请求,判断所述份数参数N-1是否大于0;
    若所述份数参数N-1大于0,则将所述份数参数N-1修改为所述份数参数N-2,并向所述第一终端或第二终端发送业务数据获取响应,向所述接收者账号对应的终端中的每一个终端都发送所述份数参数N-2;
    若所述份数参数N-1等于0,则向所述接收者账号对应的终端中的每一个终端都发送业务数据分发完毕的提示指令。
  48. 根据权利要求46所述的服务器,其特征在于,接收到的所述第一终端发送的业务数据获取请求,是所述接收者账号对应的终端分别发送的业务数据获取请求中最先到达的业务数据获取请求。
PCT/CN2016/092408 2015-07-29 2016-07-29 业务数据的群发送方法、终端及服务器 WO2017016525A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
MYPI2017704700A MY197378A (en) 2015-07-29 2016-07-29 Service data group sending method, terminal and server
US15/715,709 US10582563B2 (en) 2015-07-29 2017-09-26 Service data group sending method, apparatus, and server

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201510454782.0A CN106411681B (zh) 2015-07-29 2015-07-29 一种信息的处理方法和发起设备、服务器、参与设备
CN201510454782.0 2015-07-29
CN201510520668.3A CN106470391B (zh) 2015-08-21 2015-08-21 业务数据的群发送方法及装置
CN201510520668.3 2015-08-21

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/715,709 Continuation US10582563B2 (en) 2015-07-29 2017-09-26 Service data group sending method, apparatus, and server

Publications (1)

Publication Number Publication Date
WO2017016525A1 true WO2017016525A1 (zh) 2017-02-02

Family

ID=57883996

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/092408 WO2017016525A1 (zh) 2015-07-29 2016-07-29 业务数据的群发送方法、终端及服务器

Country Status (3)

Country Link
US (1) US10582563B2 (zh)
MY (1) MY197378A (zh)
WO (1) WO2017016525A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111262720A (zh) * 2018-11-30 2020-06-09 佳能株式会社 设备管理服务器及方法、和计算机可读存储介质

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111970312A (zh) * 2019-05-20 2020-11-20 北京小米移动软件有限公司 文件传输方法、装置及计算机可读存储介质
CN111327769B (zh) 2020-02-25 2022-04-08 北京小米移动软件有限公司 多屏互动方法及装置、存储介质
CN111784315B (zh) * 2020-07-15 2022-04-29 支付宝(杭州)信息技术有限公司 电子红包的相关信息展示、发送、接收方法、装置及设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010129188A2 (en) * 2009-05-04 2010-11-11 Apple Inc. Method and apparatus for proximity based pairing of mobile devices
CN102638586A (zh) * 2012-05-03 2012-08-15 腾讯科技(深圳)有限公司 应用程序信息的分享方法、系统和装置
CN103609038A (zh) * 2011-06-14 2014-02-26 三星电子株式会社 无线局域通信方法和支持该方法的终端
CN104348875A (zh) * 2013-08-06 2015-02-11 中国电信股份有限公司 用于群发数据的方法、云端服务器和系统
CN104618226A (zh) * 2015-02-16 2015-05-13 腾讯科技(深圳)有限公司 一种信息处理方法、客户端和服务器

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8243897B2 (en) * 2005-12-29 2012-08-14 Microsoft Corporation Automatic detection and notification of proximity of persons of interest
JP2009116635A (ja) * 2007-11-07 2009-05-28 Nec Corp Web共有システム、クライアント装置及びそれらに用いるWeb共有方法
US8914024B2 (en) * 2008-01-10 2014-12-16 Ximoxi, Inc. Discovery of network members by personal attributes
US20130171967A1 (en) * 2012-01-04 2013-07-04 Ayman S. Ashour Providing Secure Execution of Mobile Device Workflows
US9356980B2 (en) * 2012-07-31 2016-05-31 At&T Intellectual Property I, L.P. Distributing communication of a data stream among multiple devices
CN103491083A (zh) 2013-09-17 2014-01-01 天脉聚源(北京)传媒科技有限公司 一种群发多媒体数据的方法及装置
CN104580162B (zh) 2014-12-17 2019-10-22 腾讯科技(深圳)有限公司 用户帐户配对方法及装置、发起配对信息的方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010129188A2 (en) * 2009-05-04 2010-11-11 Apple Inc. Method and apparatus for proximity based pairing of mobile devices
CN103609038A (zh) * 2011-06-14 2014-02-26 三星电子株式会社 无线局域通信方法和支持该方法的终端
CN102638586A (zh) * 2012-05-03 2012-08-15 腾讯科技(深圳)有限公司 应用程序信息的分享方法、系统和装置
CN104348875A (zh) * 2013-08-06 2015-02-11 中国电信股份有限公司 用于群发数据的方法、云端服务器和系统
CN104618226A (zh) * 2015-02-16 2015-05-13 腾讯科技(深圳)有限公司 一种信息处理方法、客户端和服务器

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111262720A (zh) * 2018-11-30 2020-06-09 佳能株式会社 设备管理服务器及方法、和计算机可读存储介质
CN111262720B (zh) * 2018-11-30 2023-01-03 佳能株式会社 设备管理服务器及方法、和计算机可读存储介质

Also Published As

Publication number Publication date
US10582563B2 (en) 2020-03-03
MY197378A (en) 2023-06-14
US20180020490A1 (en) 2018-01-18

Similar Documents

Publication Publication Date Title
CN105530175B (zh) 一种消息处理方法、装置及系统
WO2019072197A1 (zh) 一种红包发放方法、设备以及介质
WO2017016525A1 (zh) 业务数据的群发送方法、终端及服务器
CN115004673B (zh) 消息推送方法、装置、电子设备及计算机可读介质
US20150096042A1 (en) Method and apparatus for improved private messaging
CN105634760B (zh) 公众号与用户通信方法及装置
TW201012134A (en) Persisting a group in an instant messaging application
WO2011113372A1 (zh) 多群组操作同步的方法、系统和群组服务器
KR20150005708A (ko) 정보 공유 방법 및 장치
WO2016197874A1 (zh) 一种信息处理方法和设备
WO2017004894A1 (zh) 一种资源共享方法、终端设备、应用服务器及系统
CN102025515A (zh) 基于文件目录的文件传输方法及其装置和系统
US10326714B2 (en) Instant messaging with non subscriber users
CN107171930A (zh) 一种即时通信应用中的信息展示方法及装置,电子设备
CN106470391B (zh) 业务数据的群发送方法及装置
CN103873426A (zh) 一种加入社交群组的方法、服务器、终端以及系统
CN110120908B (zh) 群组消息处理方法、装置和服务器
WO2013064013A1 (zh) 网络通信系统中的联系人关系数据的建立方法和装置
JP2018518771A (ja) トランザクション処理方法及びシステム
TW201839624A (zh) 信息發送方法、信息顯示方法、終端、伺服器、系統及儲存介質
CN110224924A (zh) 状态更新方法和装置、存储介质及电子装置
KR101545663B1 (ko) 다중-사용자 관계 체인을 변경하는 기기, 시스템 및 방법
CN106161199B (zh) 一种通信内容处理方法和装置
CN112348496B (zh) 资源转移方法、装置、计算机设备和存储介质
CN106790916A (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: 16829890

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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 1205 DATED 02/07/2018)

122 Ep: pct application non-entry in european phase

Ref document number: 16829890

Country of ref document: EP

Kind code of ref document: A1