CN106961379A - resource sharing method, device and system - Google Patents

resource sharing method, device and system Download PDF

Info

Publication number
CN106961379A
CN106961379A CN201610128725.8A CN201610128725A CN106961379A CN 106961379 A CN106961379 A CN 106961379A CN 201610128725 A CN201610128725 A CN 201610128725A CN 106961379 A CN106961379 A CN 106961379A
Authority
CN
China
Prior art keywords
terminal
resource
weights
resource sharing
apart
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610128725.8A
Other languages
Chinese (zh)
Inventor
张毅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Star Electronic-Commerce Technology Co Ltd
Original Assignee
Shenzhen Star Electronic-Commerce Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Star Electronic-Commerce Technology Co Ltd filed Critical Shenzhen Star Electronic-Commerce Technology Co Ltd
Publication of CN106961379A publication Critical patent/CN106961379A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/306User profiles

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present invention relates to a kind of resource sharing method, including:Resource sharing request is obtained, the resource sharing request carries the first position information of first terminal and the mark for the multiple second terminals for receiving resource;The second place information for the second terminal for receiving the resource is obtained according to the mark of the second terminal;The distance between second terminal and first terminal weights are determined according to the first position information and second place information;The number of resource is allocated according to apart from weights, message related to resources is generated according to allocation result and is sent to second terminal.This method make it that the position relationship generation shared with second terminal of resource is associated, and the second terminal in diverse location can get the resource of the different numbers of correspondence.The relevance between first terminal and second terminal is improved, so as to also improve the efficiency of Resources Spread.A kind of resource sharing terminal and resource sharing system are provided in addition, also corresponding to.

Description

Resource sharing method, device and system
Technical field
The present invention relates to internet arena, more particularly to a kind of resource sharing method, device and system.
Background technology
With developing rapidly for internet, most of instant messaging application, social networking application or platform etc. are all Support resource sharing.Here resource include but is not limited to amount of currency, the ideal money amount of money, integration number, Electronics coupons, electronic certificate, electronic coupons etc..These resources are shared typically to give in internet The form sent is carried out, and is sent out by the third-party platform of network, and its display form on third-party platform leads to It is often to be shown with the pattern of " electronics red packet ", the generation of " electronics red packet " changes traditional user Toward form.
But in traditional resource sharing method, its resource number for being shared with multiple users is fixed or random , the resource number that it is shared is single.And after the receiving terminal for receiving resource is receiving resource, then send out The flow for sending terminal to receiving terminal transmission resource bag of resource is sent to terminate.Send terminal and receiving terminal Between relevance it is not strong so that the inefficiency of Resources Spread.
The content of the invention
Based on this, it is necessary to which for above-mentioned technical problem, there is provided a kind of propagation efficiency that can improve resource Resource sharing method, device and system.
A kind of resource sharing method, methods described includes:Resource sharing request is obtained, the resource sharing please Seek the first position information for carrying first terminal and receive the mark of multiple second terminals of resource;According to described The mark of second terminal obtains the second place information for the second terminal for receiving the resource;According to described first Positional information and second place information determine the distance between second terminal and first terminal weights;According to distance Weights are allocated to the number of resource, are generated message related to resources according to allocation result and are sent to second terminal.
In one embodiment, the step of acquisition resource sharing is asked, including:First terminal is according to The resource generation operational order generation resource sharing request of one user, and obtain the resource sharing request;Institute State the step for the second place information that the second terminal for receiving the resource is obtained according to the mark of the second terminal Suddenly, including:First terminal receives the second place information that second terminal is sent.
In one embodiment, the step of acquisition resource sharing is asked, including:Server obtains first The resource sharing request of terminal generation;Described obtained according to the mark of the second terminal receives the money The step of second place information of the second terminal in source, including:Server receives the described of second terminal transmission Second place information.
In one embodiment, it is described to determine second eventually according to the first position information and second place information The step of the distance between end and first terminal weights, including:According to the first position information and second Confidence breath determines the distance between second terminal and first terminal;The distance correspondence is determined according to the distance Pre-determined distance scope;Distance corresponding with the pre-determined distance scope is obtained according to the pre-determined distance scope Weights.
In one embodiment, methods described also includes:Judge obtain second place information quantity whether Reach default value or judge whether the effective time of the resource sharing request reaches preset time, if so, Then determine the number of the second terminal;It is described to be determined according to the first position information and second place information The step of the distance between second terminal and first terminal weights, including:According to the number and described first Positional information and second place information determine second terminal and first terminal apart from weights.
A kind of resource sharing device, described device includes:Resource sharing acquisition request module, for obtaining money Request is shared in source, and the resource sharing request carries the first position information of first terminal and receives many of resource The mark of individual second terminal;Second place information receiving module, for being obtained according to the mark of the second terminal Take the second place information for the second terminal for receiving the resource;Apart from weights determining module, for according to institute State first position information and second place information determines the distance between second terminal and first terminal weights;Money Source number distribute module, for being allocated according to apart from weights to the number of resource, gives birth to according to allocation result Into message related to resources and it is sent to second terminal.
In one embodiment, it is described be additionally operable to apart from weights determining module according to the first position information and Second place information determines the distance between second terminal and first terminal;According to it is described distance determine described in away from From corresponding pre-determined distance scope;Obtain corresponding with the pre-determined distance scope according to the pre-determined distance scope Apart from weights.
In one embodiment, described device also includes:Judge module, for the second place for judging to obtain The quantity of information whether reach default value or judge resource sharing request effective time whether reach it is pre- If the time, if, it is determined that the number of the second terminal;It is described to be additionally operable to root apart from weights determining module According to the number and the first position information and second place information determine second terminal and first terminal away from From weights.
A kind of resource sharing system, the system includes first terminal and server, and the first terminal includes:
Resource sharing asks generation module, for generating resource sharing request, and the resource sharing is asked to send out The server is given, the resource sharing request carries the first position information of first terminal and receives resource Multiple second terminals mark;The server includes:Resource sharing acquisition request module, for obtaining Resource sharing is asked;Second place information receiving module, connects for being obtained according to the mark of the second terminal Receive the second place information of the second terminal of the resource;Apart from weights determining module, for according to described One positional information and second place information determine the distance between second terminal and first terminal weights;Described One terminal includes:Resource number distribute module, for being allocated according to apart from weights to the number of resource, Message related to resources is generated according to allocation result and is sent to second terminal.
In one embodiment, the server also includes:Judge module, for the second for judging to obtain Whether the quantity of confidence breath reaches default value or judges whether the effective time of the resource sharing request reaches Preset time, if, it is determined that the number of the second terminal;It is described to be additionally operable to apart from weights determining module Second terminal and first terminal are determined according to the number and the first position information and second place information Apart from weights.
Above-mentioned resource sharing method, device and system, by according to first position information and second place information The distance between second terminal and first terminal weights are determined, the number of resource is divided according to apart from weights Match somebody with somebody, and generate message related to resources according to allocation result and be sent to second terminal so that the in diverse location Two terminals can get the resource of the different numbers of correspondence, possess diversity, and then can improve resource is connect The attraction of receipts person, improves the efficiency that resource is received.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of resource sharing method in one embodiment;
Fig. 2 is the schematic flow sheet of resource sharing method in another embodiment;
Fig. 3 is the schematic flow sheet of resource sharing method in another embodiment;
Fig. 4 is the structural representation of resource sharing device in one embodiment;
Fig. 5 is the structural representation of resource sharing device in another embodiment;
Fig. 6 is the structural representation of resource sharing system in one embodiment;
Fig. 7 is the structural representation of resource sharing system in another embodiment;
Fig. 8 is the flow chart for sharing electronics red packet in specific application scenarios;
Fig. 9 is Fig. 8 schematic diagram for sharing electronics red packet;
Figure 10 shares the flow chart of electronics red packet for prior art;
Figure 11 shares the schematic diagram of electronics red packet for prior art;
Figure 12 is to share the schematic diagram of electronics red packet in another specific application scenarios.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, below in conjunction with accompanying drawing and reality Example is applied, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only To explain the present invention, it is not intended to limit the present invention.
In one embodiment, as shown in Figure 1 there is provided a kind of resource sharing method, under this method includes State step 102~104.
Step 102, resource sharing request is obtained, resource sharing request carries the first position information of first terminal With the mark for the multiple second terminals for receiving resource.
In the present embodiment, resource includes but is not limited to amount of currency, the ideal money amount of money, integration number, electricity Filial generation gold note, electronic certificate, electronic coupons etc..These resources are shared typically to give in internet Form carry out, sent out by the third-party platform of network, its display form on third-party platform is usual It is to be shown with the pattern of " electronics red packet ".First terminal can generate the resource, and such as generation includes any The resource of the amount of currency of number, electronics coupons and electronic certificate.Second terminal can receive the resource, obtain Take the part or all of number of corresponding amount of currency in the resource, electronics coupons and electronic certificate.
Further, the resource can be that be propagated independent of the platform of same fixation, i.e. the resource can be across Platform independent propagation.The resource can for example be carried out by different instant messagings, short message and mail simultaneously Propagate, corresponding instant communication users, short-message users and mail user is received the resource, and Share the resource simultaneously.
The mark of second terminal is used to uniquely determine corresponding second terminal, by carrying in resource sharing request The mark of multiple second terminals, enabling be sent to the resource pair by the mark of the plurality of second terminal The second terminal answered.
In one embodiment, before the step of resource sharing is asked is obtained, also include:Resource generates end Resource is generated, the resource generated is sent to resource receiving terminal in the form of message related to resources.
In the present embodiment, resource generation end can be bank's end terminal.Resource generate end according to resource transmitting terminal (i.e. First terminal) user's request generation resource, a number of amount of money of electronics red packet can be included in the resource. Resource generates end and is freezed the amount of money of corresponding electronics red packet in the Bank Account Number of resource transmission end subscriber, Electronics red packet packet is sent to resource receiving terminal.
Step 104, the second place information for the second terminal for receiving resource is obtained according to the mark of second terminal.
In the present embodiment, second terminal, can be according to the resource sharing after resource sharing solicited message is received Request obtains locating module of the request of second place information into second terminal and sends positioning the need for including Instruction, the locating module after positioning instruction is received, can by LBS (location-based services, Location Based service) technology, to determine the geographical position where second terminal.Moved and transported by telecommunications Seek the radio communication network (such as GSM nets, CDMA nets) or outside positioning method (such as GPS (Global of business Positioning System, global positioning system) or big-dipper satellite alignment system) obtain second user position Information (such as geographical coordinate or geodetic coordinates).The positional information can include the current longitude and latitude of second terminal, Or the neighbouring related architecture information of the longitude and latitude, company, mansion or current location as where current location Company, mansion of vicinity etc..
Further, second terminal can call electronic map (such as Baidu map or Google Maps), by The map of current position is shown on the display interface of second terminal, and basis is marked out on the display interface Positional information determined by locating module.Second terminal can also be by received second user in the electronics The geographical location information inputted on map finds corresponding position, regard identified position as second terminal Positional information;Or by corresponding positions of the received second user by touch electronic map display interface Put positional information of the corresponding geographical position as second terminal.
Similarly, the first position information of first terminal determines the second confidence that method also can be with second terminal Cease determination method same or similar, it is easy for description, just repeat no more here.
Step 106, determined according to first position information and second place information between second terminal and first terminal Apart from weights.
In the present embodiment, second terminal and first terminal are determined according to first position information and second place information The distance between, according to the distance come corresponding apart from weights to determine.
Specifically, the distance between second terminal and first terminal and pair between weights can be pre-set Should be related to, determined according to the corresponding relation second terminal and first terminal apart from weights.
In one embodiment, second terminal and first are determined according to first position information and second place information The step of the distance between terminal weights, including:Is determined according to first position information and second place information The distance between two terminals and first terminal;Determined according to distance apart from corresponding pre-determined distance scope;According to Pre-determined distance scope obtains corresponding with pre-determined distance scope apart from weights.
Specifically, settable distance range grade, different distance range grade correspondence is different apart from weights. By judging the distance range grade belonging to the distance between the second terminal and first terminal come to should determine that this Second terminal and first terminal apart from weights.
For example, as shown in Table 1, second is determined according to first position information and second place information if working as When the distance between terminal and first terminal are 53km, can according to the default distance range grade such as table one with Apart from the corresponding relation of weights, it may be determined that the distance between the second terminal and first terminal is in tables 1~100km distance range grade, therefore, and then determines that it is 0.15 apart from weights.
Table one:Distance range grade and the mapping table apart from weights
Distance (km) Apart from weights
0~1 0.2
1~100 0.15
100~500 0.1
500~1000 0.08
More than 1000 0.05
Further, can also after the distance between corresponding multiple second terminals and first terminal is got, Total distance between the plurality of second terminal and first terminal can be calculated, according to each second terminal with always away from Relation between determines weights with a distance from each second terminal of correspondence and first terminal according to pre-defined algorithm. For example, can be determined using each second terminal and the distance of first terminal with total ratio of distances constant its it is corresponding away from From weights.
Step 108, the number of resource is allocated according to apart from weights, disappeared according to allocation result generation resource Cease and be sent to second terminal.
Specifically, the number radix of resource can be pre-set, according to identified multiple second terminals and first The distance between terminal weights, this is whole as distributing to corresponding second apart from weights and the product of number radix The number at end.Message related to resources is generated further according to the allocation result and is sent to second terminal.
Second terminal can get message after the resource of correspondence number is got from trend first terminal feedback, Enable what first terminal knew the resource to get situation.
It can be such as 100 yuan such as number radix for so that resource is amount of currency as an example.When a certain second terminal Identified is 0.2 apart from weights, then can calculate and determine that the number that the second terminal is distributed is 20 yuan.
In the resource sharing method that the present embodiment is provided, by according to first position information and second confidence Breath determines the distance between second terminal and first terminal weights, and the number of resource is carried out according to apart from weights Distribution, and generated according to allocation result and message related to resources and be sent to second terminal, so, resource share with The position relationship of second terminal produces association so that the second terminal in diverse location can get correspondence not With the resource of number.The relevance between first terminal and second terminal is improved, so as to also improve resource The efficiency of propagation.
In one embodiment, resource sharing method also includes:Judge the quantity of second place information obtained Whether reach default value or judge whether the effective time of resource sharing request reaches preset time, if so, Then determine the number of second terminal.
Specifically, the second end for receiving the resource can be pre-set before the step of resource sharing is asked is obtained The quantity at end, that is, the quantity of the second place information obtained, as default value.Judge accumulative obtained Whether the quantity for the second place information that the second terminal got is returned reaches default value, if so, then The number of two terminals is then the default value.
Further, the preset time of resource sharing request also can be set, as effective time, that is, sets Put from resource sharing request is sent to the effective time the positional information for receiving second terminal.It is accumulative The second confidence that accessed second terminal is returned within the preset time for sending resource sharing request The quantity of breath, using the quantity as second terminal number.
For example, it is 10 that can pre-set default value, and preset time is 2 hours.And be accumulated at and send The quantity for the second place information that accessed second terminal is returned within 2 hours of resource sharing request. When having got 10 second place information within when 2 is small, it is determined that the number of second terminal is 10; When reach 2 it is small when when, the second place information that the second terminal added up is returned be 8 when, The number for then determining second terminal is 8.
Further, according to first position information and second place information determine second terminal and first terminal it Between apart from weights the step of, including:Is determined according to number and first position information and second place information Two terminals and first terminal apart from weights.
, can be right after the number of second terminal and each second place information is determined in the present embodiment The second terminal and first under the distance between each second terminal and first terminal and the number should be calculated Total distance between terminal.Come further according to the relation between each second terminal and total distance according to pre-defined algorithm It is determined that each second terminal of correspondence and first terminal apart from weights.For example, can using each second terminal with The distance of first terminal determines that its is corresponding apart from weights with total ratio of distances constant.
In the present embodiment, by determining the number of second terminal according to default value and preset time, so Corresponding second terminal is determined with first position information according to the number and the second place information received afterwards With the distance between first terminal weights so that be respectively provided with apart from weights and the position relationship of each second terminal Association, the resource of the different numbers of correspondence is also relevant with other second terminals accessed by each second terminal, makes Generation is interactive between obtaining second terminal, thus, it is also possible to the attraction to the recipient of resource is further improved, Improve the efficiency that resource is received.
In one embodiment, the step of resource sharing is asked is obtained, including:First terminal is used according to first The resource generation operational order generation resource sharing request at family, and obtain the resource sharing request;According to The step of mark of two terminals obtains the second place information for the second terminal for receiving resource, including:First eventually End receives the second place information that second terminal is sent.
In the present embodiment, as shown in Figure 2 there is provided another resource sharing method, this method includes following Step 202~218.
Step 202, first terminal generation resource sharing request.
First terminal generates operational order generation resource sharing request according to the resource of first user.For example, can The operation interface of generation resource is shown on the display module of first terminal, and obtains first user in the operation The number radix or total resources of the resource inputted on interface.Further, can also be by get first The number for the second place information that user inputs in the operation interface is as default value;By get The effective time for the resource sharing request that one user inputs in the operation interface is as preset time.First eventually End is by after resource sharing request is sent, being accumulated at second terminal institute accessed within preset time The quantity of the second place information of return, using the quantity as second terminal number;Or it is pre- reaching this If just having got the second place information of default value quantity before the time, then the default value is regard as The number of two terminals.
Step 204, first terminal sends resource sharing and asked to second terminal.
Can also be carried in resource sharing request multiple second terminals mark and acquisition request second terminal the Two positional informations, the quantity of the second terminal can be determined according to default value.Enable first terminal true Determine the transmission target of resource sharing request, and the target is successfully received the request.
Step 206, second terminal receives resource sharing request.
In the present embodiment, second terminal receive resource sharing request after, would know that first terminal prepare to It shares resource, and, it is necessary to obtain the second place information of second terminal before the resource is shared, according to The second place information determines to distribute to the resource number of second terminal.
Step 208, second terminal determines second place information.
Step 210, second terminal sends second place information to first terminal.
Step 212, first terminal receives second place information.
Step 214, first terminal generation is apart from weights.
First terminal is after second place information is received, and the first position information that can combine first terminal comes true Determine the distance between second terminal and first terminal weights.
Specifically, first terminal and second terminal can be determined according to first position information and second place information The distance between, determined according to the distance apart from weights.Such as can be according to the second terminal that pre-sets and the The distance between one terminal determined with the corresponding relation between weights second terminal and first terminal away from From weights.First terminal can also correspond to and calculate the distance between each second terminal and first terminal and be somebody's turn to do Total distance between second terminal and first terminal under number.Further according to each second terminal and always apart from it Between relation determined according to pre-defined algorithm each second terminal of correspondence and first terminal apart from weights.
Further, first terminal can be by LBS technologies, to determine the geographical position where first terminal. First terminal can also call electronic map, by showing current position on the display interface of first terminal Map, and mark out on the display interface positional information according to determined by locating module.First terminal is also The geographical location information that can input received first user on the electronic map is corresponding to find Position, using identified position as first terminal positional information;Or by received first user Pass through position of the geographical position corresponding to the relevant position of touch electronic map display interface as first terminal Information.The positional information can include the current longitude and latitude of first terminal, or correlation near the longitude and latitude Architecture information, company, mansion of company, mansion or current location vicinity as where current location etc..
Further, in one embodiment, the transmitted resource sharing to second terminal of first terminal is asked In can also carry the first position information of first terminal so that multiple second terminals and the distance of first terminal can Calculated by corresponding second terminal and determined, identified distance is transmitted directly to first terminal, without With transmission second distance information.First terminal can directly determine corresponding distance power according to the distance received Value.
Step 216, first terminal is allocated according to apart from weights to the number of resource, is given birth to according to allocation result Into message related to resources.
Step 218, first terminal sends message related to resources to second terminal.
Step 220, second terminal receives message related to resources.
Specifically, second terminal can receive the message related to resources by sending the transmission platform of message related to resources, The message related to resources can be received by the third-party platform different from the transmission platform.Second terminal is by receiving The message related to resources, can obtain the number of its resource got.
In the resource sharing method that the present embodiment is provided, by according to first position information and second confidence Breath determines the distance between second terminal and first terminal weights, and the number of resource is carried out according to apart from weights Distribution, and generate message related to resources according to allocation result and be sent to second terminal, again such that apart from weights with The position relationship of each second terminal is respectively provided with association so that accessed by the second terminal in diverse location Resource number it is different, further enhance the relevance between first terminal and second terminal so that Further increase the propagation efficiency of resource.
In one embodiment, the step of resource sharing is asked is obtained, including:Server obtains first terminal The resource sharing request of generation;The second for the second terminal for receiving resource is obtained according to the mark of second terminal The step of confidence ceases, including:Server receives the second place information that second terminal is sent.
In the present embodiment, as shown in Figure 3 there is provided another resource sharing method, this method includes following Step 302~318.
Step 302, first terminal generation resource sharing request.
In the present embodiment, resource sharing request also carries the first position information and multiple second of first terminal eventually The mark at end so that server can get the first position information by receiving resource sharing request, And can determine that the resource prepares the target shared according to the mark of the second terminal.
Step 304, first terminal sends resource sharing and asked to server.
Step 306, server receives resource sharing request.
Server is asked by receiving the resource sharing, gets first position information and multiple second terminals Mark.
Step 308, server sends second place information acquisition request to multiple second terminals.
Server sends to corresponding second terminal according to the mark of multiple second terminals and obtains second place information Request.
Step 310, second terminal receives second place information acquisition request.
Step 312, second terminal determines second place information, sends second place information to server.
Step 314, server receives second place information.
Step 316, server generation is apart from weights, transmission range weights to first terminal.
In the present embodiment, the first position information and second that server is sent according to received first terminal The second place information that terminal is sent determines the distance between second terminal and first terminal, according to the distance Come corresponding apart from weights to determine, and sent identified apart from weights to first terminal.Specifically, clothes Business device can pre-set distance range and the corresponding relation between weights.By determining this apart from affiliated Distance range, and then determine this apart from corresponding apart from weights.
Further, server can also pre-set the preset time and default value of resource sharing request, or The preset time and default value carried in the resource sharing request that person's first terminal is generated.Server passes through Judge whether the quantity of the second place information obtained reaches default value or judge the effective of resource sharing request Whether the time reaches preset time, if, it is determined that the number of second terminal, according to the number and first Confidence ceases and second place information determine second terminal and first terminal apart from weights.
Step 318, first terminal is received apart from weights.
Step 320, first terminal is allocated according to apart from weights to the number of resource, is given birth to according to allocation result Into message related to resources.
Step 322, first terminal sends message related to resources to second terminal.
Step 324, server receives message related to resources, sends message related to resources to second terminal.
Step 326, second terminal receives message related to resources.
Second terminal can obtain the number of its resource got by receiving the message related to resources.
In the resource sharing method that the present embodiment is provided, server passes through according to first position information and second Positional information determines the distance between second terminal and first terminal weights, and this is sent into first apart from weights Terminal, first terminal is allocated according to apart from weights to the number of resource, and generates money according to allocation result Source information and sending is to second terminal, and so, the position relationship generation shared with second terminal of resource is associated, So that the second terminal in diverse location can get the resource of the different numbers of correspondence, the biography of resource is being improved While broadcasting efficiency, also make it that the propagation of resource possesses diversity, improve the attraction to the recipient of resource, So as to also improve the efficiency of resource reception.
In one embodiment, resource exhibition method also includes:Terminal of withdrawing deposit receives the request of withdrawing deposit to resource, Notify resource generation end to the amount of money of corresponding electronics red packet in the Bank Account Number that is freezed according to the request of withdrawing deposit Thawed, and the amount of money corresponding with electronics red packet in the Bank Account Number of resource transmission end subscriber is transferred Resource is received in the Bank Account Number of end subscriber.Wherein, terminal of withdrawing deposit can be banking terminal.
Further, the resource exhibition method that the present embodiment is provided can be not necessarily based on third-party platform realization, User is sent after resource, and the correspondence amount of money, which is still in the bank account for the sub- red packet person that generates electricity, to be freezed, until other User is acknowledged receipt of after resource, and the correspondence resource amount of money is released from the bank account for generating electricity sub- red packet person and freezed And transfer accounts into the bank account for receiving electronics red packet person.Peace of the fund on third-party platform is not present in this programme In full problem, this programme, the actual value of electronics red packet directly circulates in bank account, compared to existing It need to be circulated in technology in platform account and cumbersome step of withdrawing deposit, the step of withdrawing deposit in this programme is easy, It is safe.
Resource in this programme realizes cross-platform transmission, and resource data of the prior art is only capable of in IMU The same platform interiors such as news, electric business platform are transmitted and handled, and the hair of the resource in this programme and get not It is limited to identical platform, supports to carry out transmitting, interact and handling for data between different platform.
In one embodiment, as shown in Figure 4 there is provided a kind of resource sharing device, the device includes:
Resource sharing acquisition request module 402, for obtaining resource sharing request, resource sharing request carries the The mark of the first position information of one terminal and multiple second terminals of reception resource;
Second place information receiving module 404, the second of resource is received for being obtained according to the mark of second terminal The second place information of terminal;
Apart from weights determining module 406, for determining second eventually according to first position information and second place information The distance between end and first terminal weights;
Resource number distribute module 408, for being allocated according to apart from weights to the number of resource, according to point Message related to resources is generated with result and is sent to second terminal.
In one embodiment, it is additionally operable to apart from weights determining module 406 according to first position information and second Positional information determines the distance between second terminal and first terminal;Determined according to distance apart from corresponding default Distance range;Obtain corresponding with pre-determined distance scope apart from weights according to pre-determined distance scope.
In one embodiment, as shown in Figure 5 there is provided another resource sharing device, the device is also wrapped Include:
Whether judge module 410, the quantity of the second place information for judging to obtain reaches default value or sentences Whether the effective time of disconnected resource sharing request reaches preset time, if, it is determined that the number of second terminal; It is additionally operable to determine second eventually according to number and first position information and second place information apart from weights determining module End is with first terminal apart from weights.
In one embodiment, as shown in Figure 6 there is provided a kind of resource sharing system, the system includes the One terminal 600 and server 700,
The first terminal 600 includes:
Resource sharing asks generation module 602, for generating resource sharing request, and the resource sharing is asked to send out Server is given, resource sharing request carries the first position information of first terminal and receives the multiple of resource The mark of second terminal.
The server 700 includes:
Resource sharing acquisition request module 702, for obtaining resource sharing request.
Second place information receiving module 704, the second of resource is received for being obtained according to the mark of second terminal The second place information of terminal.
Apart from weights determining module 706, for determining second eventually according to first position information and second place information The distance between end and first terminal weights.
First terminal 600 also includes:
Resource number distribute module 604, for being allocated according to apart from weights to the number of resource, according to point Message related to resources is generated with result and is sent to second terminal.
In one embodiment, there is provided another resource sharing system, the server 700 as shown in Figure 7 Also include:
Whether judge module 708, the quantity of the second place information for judging to obtain reaches default value or sentences Whether the effective time of disconnected resource sharing request reaches preset time, if, it is determined that the number of second terminal; It is additionally operable to determine second eventually according to number and first position information and second place information apart from weights determining module End is with first terminal apart from weights.
Above-mentioned resource sharing method, device and system, by according to the resource receiving terminal for having got resource file Quantity and resource receiving terminal and resource transmitting terminal distance come determine resource receiving terminal apart from weights;And root The number for the resource file that resource receiving terminal is got is determined apart from weights, it is possible to increase resource allocation according to this Interest, and then the enthusiasm that user gets the resource file is improved, improve the effective of resource allocation that know clearly Property.
Method of the present invention principle will be described in detail so that resource is electronic certificate as an example below.
In the present embodiment, electronic certificate can be that silver letter card and thing believe card, as described above, wherein, silver letter card Refer to that bank freezes required number fund according to the application of opener and opened, and promise to undertake according to agreement solution pair bar Part handles the electronic certificate of payment and settlement.Thing letter card is a kind of with commodity sign code and interactive interface, and can Record the electronic certificate of the merchandise news.
Specifically, in bank's version electronics red packet scene, opener is to apply providing electronics red packet to bank Enterprise.After electronics red packet has been got, the Bank Account Number letter of receiving witness at input oneself of the user in silver letter card Breath, card is received to bank's application, and fund is transferred to receipts card account by bank i.e. within the time of agreement.Silver letter card Operation flow is as follows:
1) opener is by internet or otherwise to Opening Bank's application for credit.
2) accepted after Opening Bank's checking identity, accounts information are errorless, examination & verification confirmation meets the condition of opening L/C, Freeze to protect and silver letter card is opened after the fund of paying.
3) receive witness and receive card by internet or otherwise to recipient bank application.
4) receipts card is accepted after recipient bank checking identity, accounts information are errorless (or to set according to witness is received Receive card automatically by recipient bank).
5) receive witness to fulfil under silver letter card item after basis transaction obligation, submission information of honouring an agreement (is generally used for Electric business field, receipts witness is businessman, fulfils after delivery obligation, Shipping Information is submitted, in electronics red packet field In, due to being that opener is gratuitously transferred to receipts witness, therefore avoid the need for fulfiling transaction obligation).
6) receiving witness or the third party specified will apply for that solution is paid information and sent to Opening Bank and apply for that solution is paid (in electronics red packet field, receive witness and fill in receive and apply for solution pair after card automatically).
7) Opening Bank's solution pays silver letter card and by funds transfer to recipient bank, and recipient bank turns fund Enter to receive card account.
Specifically, thing letter card is a kind of subject matter information record voucher, it is record and propagates commodity (service) A kind of standardization of information, generalization network electronic document.The each of ecommerce indispensability is integrated with thing letter card Item function, it starts supplier's delivery, thing if triggering purchase is clicked by preset program and trading rules Flow the flows such as dispatching, bank's bank settlement.Thing letter card can be achieved the distribution of the whole network domain, circulation and merchandise.Thing letter card At least include the goods attribute with title and the amount of money and the receipts settlement information with least one account.Thing Letter card is provided by product vendor, and collecting account is product vendor's account.Resource inside electronics red packet Then can be that have favourable price or price that businessman provides are zero (i.e. free of cost) when being thing letter card Commodity thing letter card, user can believe that the purchase function of card with relatively low price complete the commodity by thing Purchase.
Specifically, with reference to shown in Fig. 8, the methods of exhibiting for the electronics red packet that the present embodiment is provided includes:
(1) bank server A receives the electronics red packet generation request of user's transmitting terminal, extracts electronics therein Red packet essential information, obtains the pattern matched with electronics red packet essential information, then according to the pattern of acquisition Generation electronics red packet pattern corresponding with electronics red packet mark.Wherein, electronics red packet essential information includes electronics Red packet creation time, electronics red packet attribute, electronics red packet distributor information, electronics red packet recipient information etc.. Meanwhile, bank server A is frozen the amount of money of corresponding electronics red packet in the Bank Account Number for sending end subscriber Knot, user's receiving terminal is sent to by electronics red packet packet.
(2) user's receiving terminal receives the electronics red packet of bank server A transmissions, according to electronics red packet correspondence Pattern displaying electronics red packet.User's receiving terminal is taken apart and can be got after electronics red packet the electronics red packet amount of money, and to Bank server B sends the information for obtaining and getting the electronics red packet amount of money.Specifically, the electronics that can be got is red Volume covered with gold leaf can be according between user's receiving terminal (i.e. second terminal) and user's transmitting terminal (i.e. first terminal) Distance mutually should determine that.
(3) bank server B receives the request of withdrawing deposit to electronics red packet that user receiving terminal is sent, according to carrying Now the amount of money that freezes of the electronics red packet in Bank Account Number of the request transmitting bank's server A to sending end subscriber enters Row is thawed, and the amount of money corresponding with electronics red packet in the Bank Account Number for sending end subscriber is pushed into reception end subscriber Bank Account Number in.
With reference to shown in Fig. 8 and Fig. 9, user's transmitting terminal is the terminal that gives bonus, and user's receiving terminal is to accept covert payment end End, user's transmitting terminal correspondence bank server A, user's receiving terminal correspondence bank server B, user's transmitting terminal There is Bank One Corp. account (i.e. the bank account of the user of transmitting terminal), user's receiving terminal in 1 bank server A There is secondary bank account (i.e. the bank account of the user of receiving terminal) in bank server B.User's transmitting terminal User can be enterprise or individual.
Further, bank server A is received after the request of generation electronics red packet of user's transmitting terminal submission, Certain amount of money X electronics red packet is generated, and freezes the amount of money X in Bank One Corp. account.User's transmitting terminal The address information of the electronics red packet of generation or the electronics red packet of the generation is sent into domain.User's receiving terminal User finds electronics red packet, the red packet pattern display electronics red packet generated according to bank server A, and Receiving terminal enters red packet of robbing, accepts covert payment, tears the operations such as red packet, neck red packet open.Wherein, when confirming neck red packet, The bank server B that end subscriber notifies secondary bank account is received, bank server B is verified, and is confirmed Request of thawing is sent to bank server A afterwards, bank server A is by the gold freezed in Bank One Corp. account Volume X is thawed, and amount of money X is transferred from Bank One Corp. account into secondary bank account.
With reference to shown in Figure 10 and Figure 11, in the prior art, sender user needs to step in user's transmitting terminal Platform is recorded, electronics red packet is sent to the recipient user of identical platform, such as the amount of money of the electronics red packet is also X. In recipient's terminal logs in, the platform collects electronics red packet to recipient user, and the server of the platform performs transmission Person user platform account (sender user platform electronic account, in advance with the bank of sender user Account is associated) with the platform account of recipient user (recipient user platform electronic account, in advance with The bank account association of recipient user) between the clearing of electronic sum of money data, i.e. platform background server connects After the request that gives bonus for receiving transmitting terminal, generation correspondence electronics red packet and the user for being sent to receiving terminal, and it is right The remaining sum numeral of the platform account of sender user should be subtracted X, more than the platform account of recipient user Specified number word adds X.Electronic account is only limitted to data in identical platform, and effectively, departing from platform can not then be believed Breath interaction, in fact, the amount of money of its bank account is transferred in the bank account of platform by sender user, leads to The sub- red packet of amount of money generating crossed in platform account, when electronics red packet is cashed into money in recipient user, electronics is red The amount of money in bag is still in the bank account of platform.And if recipient user need to convert the electronics red packet got It is existing, then need to close the Current electronic red packet page, platform account is found into wallet menu bar, click is withdrawn deposit Button, amount of money X is withdrawn deposit into the bank account of association.
That is, the hair of electronics red packet of the prior art, rob, neck is based on platform, depart from platform then It can not realize, and in electronics red packet amount of money deposit platform account, hair/receipts of electronics red packet are only in plateform system Value data transfer and mark, user actual value deposit platform account in, bring funds data , there is third-party platform financial risks, and the complex operation step of withdrawing deposit of prior art in safety problem.
And the realization for the electronics red packet methods of exhibiting that the present embodiment is provided is not necessarily based on third-party platform realization, User is sent after electronics red packet, and the correspondence amount of money can freeze in the bank account of sender user.Until other User is acknowledged receipt of after electronics red packet, will just correspond to bank account of the electronics red packet amount of money from the sub- red packet person that generates electricity Middle release is thawed and transferred accounts into the bank account for receiving electronics red packet person.Fund is not present in third party in this programme Safety problem on platform, and the actual value of electronics red packet directly circulates in bank account, relative to existing There is technology to be circulated in platform account and cumbersome step of withdrawing deposit, it is easier, it is safe.
In addition, the electronics red packet sharing method that the present embodiment is provided realizes cross-platform transmission, prior art In electronics red packet data be only capable of being transmitted and handling in same platform interiors such as instant messaging, electric business platforms, And the hair of the electronics red packet of the present embodiment and get and be not limited to identical platform, support to carry out data between different platform Transmit, interaction and handle.
In order to better illustrate the effect of this programme, with reference to shown in Figure 12, electronics red packet participator user use Transmitting terminal generates electronics red packet and issued, and receiving terminal 1, receiving terminal 2 ... and receiving terminal n receive electronics Red packet, when being got to electronics red packet, is led without the identical platform with transmitting terminal distributing electronic red packet Take.And give bonus and lead red packet to be both needed to carry out in identical platform system in the prior art.In the present embodiment, Red packet of getting in receiving terminal 1, receiving terminal 2 ... and receiving terminal n can be different plateform system, for example The mobile client of each bank.Receiving terminal 1, receiving terminal 2 ... and receiving terminal n can also lead electronics red packet Take request to be sent directly to the bank server of the bank account of user, be not necessarily based on any plateform system, it is real The cross-platform transmission of electronics red packet is showed and has got.
Each technical characteristic of embodiment described above can be combined arbitrarily, not right to make description succinct The all possible combination of each technical characteristic in above-described embodiment is all described, as long as however, these skills Contradiction is not present in the combination of art feature, is all considered to be the scope of this specification record.
Embodiment described above only expresses the several embodiments of the present invention, and it describes more specific and detailed, But can not therefore it be construed as limiting the scope of the patent.It should be pointed out that for this area For those of ordinary skill, without departing from the inventive concept of the premise, some deformations can also be made and changed Enter, these belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be with appended power Profit requires to be defined.

Claims (10)

1. a kind of resource sharing method, methods described includes:
Resource sharing request is obtained, the resource sharing request carries the first position information of first terminal and connect Receive the mark of multiple second terminals of resource;
The second place information for the second terminal for receiving the resource is obtained according to the mark of the second terminal;
According to the first position information and second place information determine between second terminal and first terminal away from From weights;
The number of resource is allocated according to apart from weights, message related to resources is generated according to allocation result and sends To second terminal.
2. according to the method described in claim 1, it is characterised in that the step for obtaining resource sharing request Suddenly, including:First terminal generates operational order generation resource sharing request according to the resource of first user, and Obtain the resource sharing request;
The mark according to the second terminal obtains the second confidence for the second terminal for receiving the resource The step of breath, including:First terminal receives the second place information that second terminal is sent.
3. according to the method described in claim 1, it is characterised in that the step for obtaining resource sharing request Suddenly, including:Server obtains the resource sharing request of first terminal generation;
The mark according to the second terminal obtains the second confidence for the second terminal for receiving the resource The step of breath, including:Server receives the second place information that second terminal is sent.
4. according to the method in any one of claims 1 to 3, it is characterised in that described in the basis First position information and second place information determine the step of the distance between second terminal and first terminal weights Suddenly, including:
According to the first position information and second place information determine between second terminal and first terminal away from From;
Determined according to the distance described apart from corresponding pre-determined distance scope;
Obtain corresponding apart from weights with the pre-determined distance scope according to the pre-determined distance scope.
5. according to the method in any one of claims 1 to 3, it is characterised in that methods described is also wrapped Include:
Judge whether the quantity of the second place information obtained reaches default value or judge that the resource sharing please Whether the effective time asked reaches preset time, if, it is determined that the number of the second terminal;
It is described to be determined according to the first position information and second place information between second terminal and first terminal Apart from weights the step of, including:According to the number and the first position information and second place information Determine second terminal and first terminal apart from weights.
6. a kind of resource sharing device, described device includes:
Resource sharing acquisition request module, for obtaining resource sharing request, the resource sharing request is carried The mark of the first position information of first terminal and multiple second terminals of reception resource;
Second place information receiving module, the resource is received for being obtained according to the mark of the second terminal Second terminal second place information;
Apart from weights determining module, for determining second according to the first position information and second place information The distance between terminal and first terminal weights;
Resource number distribute module, for being allocated according to apart from weights to the number of resource, according to distribution As a result generate message related to resources and be sent to second terminal.
7. device according to claim 6, it is characterised in that described also to be used apart from weights determining module According to the first position information and second place information determine between second terminal and first terminal away from From;Determined according to the distance described apart from corresponding pre-determined distance scope;According to the pre-determined distance scope Obtain corresponding apart from weights with the pre-determined distance scope.
8. device according to claim 6, it is characterised in that the terminal also includes:
Whether judge module, the quantity of the second place information for judging to obtain reaches default value or judgement Whether the effective time of the resource sharing request reaches preset time, if, it is determined that the second terminal Number;
It is described to be additionally operable to apart from weights determining module according to the number and the first position information and second Confidence breath determine second terminal and first terminal apart from weights.
9. a kind of resource sharing system, the system includes first terminal and server, the first terminal bag Include:
Resource sharing asks generation module, for generating resource sharing request, and the resource sharing is asked to send out The server is given, the resource sharing request carries the first position information of first terminal and receives resource Multiple second terminals mark;
The server includes:
Resource sharing acquisition request module, for obtaining resource sharing request;
Second place information receiving module, the resource is received for being obtained according to the mark of the second terminal Second terminal second place information;
Apart from weights determining module, for determining second according to the first position information and second place information The distance between terminal and first terminal weights;
The first terminal also includes:
Resource number distribute module, for being allocated according to apart from weights to the number of resource, according to distribution As a result generate message related to resources and be sent to second terminal.
10. system according to claim 9, it is characterised in that the server also includes:
Whether judge module, the quantity of the second place information for judging to obtain reaches default value or judgement Whether the effective time of the resource sharing request reaches preset time, if, it is determined that the second terminal Number;
It is described to be additionally operable to apart from weights determining module according to the number and the first position information and second Confidence breath determine second terminal and first terminal apart from weights.
CN201610128725.8A 2016-01-08 2016-03-07 resource sharing method, device and system Pending CN106961379A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610016919 2016-01-08
CN2016100169199 2016-01-08

Publications (1)

Publication Number Publication Date
CN106961379A true CN106961379A (en) 2017-07-18

Family

ID=59481381

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610128725.8A Pending CN106961379A (en) 2016-01-08 2016-03-07 resource sharing method, device and system

Country Status (1)

Country Link
CN (1) CN106961379A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107493342A (en) * 2017-08-24 2017-12-19 维沃移动通信有限公司 A kind of resource transfers method, relevant device and system
CN110688215A (en) * 2019-08-23 2020-01-14 咪咕文化科技有限公司 Virtual resource allocation method, server, and computer-readable storage medium
CN111415142A (en) * 2020-03-20 2020-07-14 Oppo广东移动通信有限公司 Virtual resource allocation method, user terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110246654A1 (en) * 2010-03-31 2011-10-06 Microsoft Corporation Wireless Shared Resource Computing
CN102546835A (en) * 2012-03-08 2012-07-04 腾讯科技(深圳)有限公司 Method for sharing contents, terminal, server and system
CN104851041A (en) * 2015-05-11 2015-08-19 浙江翼信科技有限公司 Processing method of electronic resource and system thereof
CN105096137A (en) * 2015-07-01 2015-11-25 孙晖 Method for sharing resources, server and terminal device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110246654A1 (en) * 2010-03-31 2011-10-06 Microsoft Corporation Wireless Shared Resource Computing
CN102546835A (en) * 2012-03-08 2012-07-04 腾讯科技(深圳)有限公司 Method for sharing contents, terminal, server and system
CN104851041A (en) * 2015-05-11 2015-08-19 浙江翼信科技有限公司 Processing method of electronic resource and system thereof
CN105096137A (en) * 2015-07-01 2015-11-25 孙晖 Method for sharing resources, server and terminal device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107493342A (en) * 2017-08-24 2017-12-19 维沃移动通信有限公司 A kind of resource transfers method, relevant device and system
CN107493342B (en) * 2017-08-24 2019-12-27 维沃移动通信有限公司 Resource transfer method, related equipment and system
CN110688215A (en) * 2019-08-23 2020-01-14 咪咕文化科技有限公司 Virtual resource allocation method, server, and computer-readable storage medium
CN111415142A (en) * 2020-03-20 2020-07-14 Oppo广东移动通信有限公司 Virtual resource allocation method, user terminal and storage medium
CN111415142B (en) * 2020-03-20 2024-03-01 Oppo广东移动通信有限公司 Virtual resource allocation method, user terminal and storage medium

Similar Documents

Publication Publication Date Title
CN104361490B (en) A kind of method of payment and system of sensitive information markization
CN106961416A (en) The generation method and device of resource
KR101751640B1 (en) Payment system of a payment card, payment method by using the payment system and supply method of an additional service
KR20160054033A (en) Mobile remittances/payments
CN105550869A (en) Remote payment-for-other method and system based on NFC and intelligent terminal
AU2018204741A1 (en) Remittance system and method
KR102202192B1 (en) Service implementation method, payment method and device
CN109784515B (en) Service reservation method, providing method, resource acquisition method, terminal and server
CN109416794A (en) The method and system of trading processing is shared for high efficiency
CN106959984A (en) Resource interaction method, system and resource acquisition device
GB2390211A (en) Ticket and authentication data stored on portable handset
CN108154245A (en) The method and device of Order splitting
CN106961379A (en) resource sharing method, device and system
CN106959981A (en) Resource pattern generation method and device
KR100993731B1 (en) Mobile payment system and method using vm of mobile terminal
CN106557920B (en) Payment system, collection and payment method, anonymous payment client and server
CN108510265A (en) Order generation, method of payment and device, method for receiving and processing data and server
CN106960314A (en) Processing method and system based on electronic certificate resource management bag
CN112334932A (en) Method and apparatus for allocating user-generated spending in a user group using a session proxy
US20190043037A1 (en) System and method for providing secured services
CN106959985A (en) Resource sharing method and device
CN106959988A (en) A kind of server and its resource packet transmission method
CN106934719A (en) Save processing method, device and system from damage in strange land
CN106959978A (en) The method and apparatus for generating resource file
CN106961460A (en) Resource sharing method, the method for server share resource and correspondence client and server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned

Effective date of abandoning: 20210806

AD01 Patent right deemed abandoned