CN105635050A - Data interaction method and system - Google Patents

Data interaction method and system Download PDF

Info

Publication number
CN105635050A
CN105635050A CN201410594752.5A CN201410594752A CN105635050A CN 105635050 A CN105635050 A CN 105635050A CN 201410594752 A CN201410594752 A CN 201410594752A CN 105635050 A CN105635050 A CN 105635050A
Authority
CN
China
Prior art keywords
task
party application
request
platform server
application server
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.)
Granted
Application number
CN201410594752.5A
Other languages
Chinese (zh)
Other versions
CN105635050B (en
Inventor
吴蒿
张延巍
周超凡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410594752.5A priority Critical patent/CN105635050B/en
Publication of CN105635050A publication Critical patent/CN105635050A/en
Application granted granted Critical
Publication of CN105635050B publication Critical patent/CN105635050B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a data interaction method comprising the following steps that a platform server detects a data processing request including a user identifier and a task identifier; the platform server, according to the data processing request, acquires a data callback interface of a third-party application server corresponding to the task identifier set in advance and accessed by the platform server; the platform server generates an interface call request of the data processing request according to a protocol rule corresponding to the data callback interface, and sends the interface call request to the third-party application server; the third-party application server, according to the interface call request, queries whether a target account corresponding to the user identifier satisfies a task condition corresponding to the task identifier; if yes, the third-party application server sends a data packet corresponding to the task identifier to the target account. The invention also discloses a data interaction system. The data interaction method and system reduce operation difficulty in task data packet acquisition.

Description

Data interactive method and system
Technical field
The present invention relates to networking technology area, particularly relate to data interactive method and system.
Background technology
Along with the fast development of network, the network platform have also been obtained quick development. The network platform is shown for third-party application developer, and user just can access multiple application by this network platform.
But in the existing network platform, when user is mutual with the network platform, the network platform accesses for third-party application, and user may have access to multiple application by the network platform. When application and the network platform hold the target such as activity, popularization, generally can distribute application data bag to user. Prior art packet granting is only capable of by off-line cdk form: namely platform generates a text, comprises multiple character string, and each character string is unique. Packet details in the application corresponding to each text (cdk bag) are arranged in platform and application, and text off-line is supplied to application developer, and application developer imports the file into application backstage again. Character string in text is distributed to user by platform, and user enters back into application and exchanges after obtaining character string. The mode complicated operation that this packet obtains, needs improvement badly.
Summary of the invention
The main purpose of the embodiment of the present invention is to provide a kind of data interactive method and system, it is intended to reduce the operation easier that task data bag obtains.
For achieving the above object, embodiments provide a kind of data interactive method, comprise the following steps:
Platform Server detecting data processes request; Described data processing request includes ID and task identification;
Described Platform Server according to described data processing request, obtains the data callback interface of third-party application server corresponding to the described task identification accessed for described Platform Server pre-set;
Described data processing request is generated interface interchange request according to the protocol rule that described data callback interface is corresponding by described Platform Server, and sends the request of described interface interchange to described third-party application server;
Whether target account corresponding to described third-party application server ID according to described interface interchange requesting query reaches the task condition that described task identification is corresponding;
If so, then packet corresponding for described task identification is sent to described target account by described third-party application server.
Further, the embodiment of the present invention additionally provides a kind of data interaction system, including Platform Server and third-party application server:
Described Platform Server, processes request for detecting data; Described data processing request includes ID and task identification; According to described data processing request, obtain the data callback interface of third-party application server corresponding to the described task identification accessed for described Platform Server pre-set; Described data processing request is generated interface interchange request according to the protocol rule that described data callback interface is corresponding, and the request of described interface interchange is sent to described third-party application server;
Described third-party application server, whether the target account corresponding for ID according to described interface interchange requesting query reaches the task condition that described task identification is corresponding; When the task condition that described target account is corresponding not up to described task identification, packet corresponding for described task identification is sent to described target account.
The embodiment of the present invention carries out communication by the callback interface between Platform Server and third-party application server, relative to prior art, present invention achieves the mode that third-party application server data bag directly transmits, reduce the operation easier that task data bag obtains.
Accompanying drawing explanation
Fig. 1 is the communication structure schematic diagram of data interaction system preferred embodiment of the present invention;
Fig. 2 is the examples of interfaces figure of the task of the third-party application that the interaction platform of data interaction system of the present invention is shown;
Fig. 3 is the present invention to be triggered after second packet corresponding to subtask get by user, and receiving platform server returns the operation examples of interfaces figure getting result;
Fig. 4 is the schematic flow sheet of data interactive method first embodiment of the present invention;
Fig. 5 is the schematic flow sheet of data interactive method the second embodiment of the present invention;
Fig. 6 is the schematic flow sheet of data interactive method the 3rd embodiment of the present invention;
Fig. 7 is the schematic flow sheet of data interactive method the 4th embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Detailed description of the invention
Technical scheme is further illustrated below in conjunction with Figure of description and specific embodiment. Should be appreciated that specific embodiment described herein is only in order to explain the present invention, is not intended to limit the present invention.
The present invention proposes a kind of data interaction system, and with reference to Fig. 1, in one embodiment, data interaction system includes Platform Server 100 and third-party application server 200:
Described Platform Server, processes request for detecting data; Described data processing request includes ID and task identification; According to described data processing request, obtain the data callback interface of third-party application server corresponding to the described task identification accessed for described Platform Server pre-set; Described data processing request is generated interface interchange request according to the protocol rule that described data callback interface is corresponding, and the request of described interface interchange is sent to described third-party application server;
Described third-party application server, whether the target account corresponding for ID according to described interface interchange requesting query reaches the task condition that described task identification is corresponding; When the task condition that described target account is corresponding not up to described task identification, packet corresponding for described task identification is sent to described target account.
Platform Server 100 for being provided the interaction platform of the task corresponding with third-party application for the developer of third-party application. The developer of third-party application can create the task that third-party application is corresponding the subtask that the task that arranges is corresponding in Platform Server 100. If this task only includes a subtask, then perform this subtask and can obtain the packet that this task is corresponding. If this task includes multiple subtask, then complete each subtask and can obtain packet corresponding to this subtask etc. If it should be noted that when task corresponding to third-party application is multiple subtask, then the task that example below describes refers to the subtask of task. Platform Server 100 requires to generate the task that third-party application is corresponding according to creating, and the task of described generation is illustrated on the User Interface of Platform Server 100. Intelligent terminal (such as mobile phone, PC etc.) can the interaction platform of access platform server 100, obtain the task that third-party application is corresponding, and in third-party application server 200, perform this task, to obtain corresponding packet after tasks carrying is complete. Third-party application server 200 also is available for intelligent terminal and accesses, the task corresponding to perform third-party application.
As in figure 2 it is shown, after the interaction platform of intelligent terminal's access platform server 100, the task that Platform Server 100 is corresponding by showing all third-party application on the User Interface of interaction platform. For the task that multiple subtasks of third-party application form, wherein, for showing all subtasks of third-party application a in the square frame of this S1 labelling, and the task of all subtasks composition third-party application a. Each subtask correspondence video data package informatin, if to point out user can obtain this packet after having performed corresponding subtask. Such as, after user has got the task that third-party application a is corresponding, the viewing area of first subtask will appear from the control S2 of " neck packet "; It addition, all the other subtasks corresponding to this task also there will be the control S2 of " neck packet ". By triggering this control S2, request can be obtained by trigger data bag, to obtain corresponding packet.
Specifically, the callback interface called for described Platform Server 100 is pre-set. The interface message of this callback interface is the reference address of third-party application server 200, accesses third-party application server 200 according to this reference address when carrying out interface readjustment for Platform Server 100. When the developer of third-party application creates this task on Platform Server 100, the address information of this callback interface will be set. Platform Server 100, according to this address information request to create, generates the task of third-party application. Simultaneously, the address information of set callback interface also will be detected by this Platform Server 100, particularly as follows: by this address information transmission access request to third-party application server 200, if receiving the response data of third-party application server 200, then represent that the address information of this callback interface is legal, and store this address information; Otherwise representing that the address information of this callback interface is illegal, prompting user resets.
Above-mentioned data processing request includes ID and task identification. Task identification is for determining that Platform Server 100 needs the performance of the task of inquiry, it may include the subtask information of task ID and task. This task ID is that Platform Server 100 distributes for this task when generating task, identifies this task for unique, and this task can include one or more subtask. This ID is the information that mark performs the user of this task, for instance log in account information of platform of this Platform Server offer etc. When detecting data processing request, according to task ID in data processing request, obtain the interface IP address information of the stored third-party application corresponding with this task ID in Platform Server 100. Then according to described data processing request and callback interface information, the interface interchange request corresponding with data processing request is generated. Interface interchange request can include meeting the callback interface agreement pre-set and all kinds of parameters required when carrying out operating accordingly for informing third-party application server 200, and these all kinds of parameters are as shown in table 1:
All parameter informations of table 1. callback interface agreement
In above-mentioned table 1, parameter cmd according to the configuration rule pre-set, is arranged corresponding command word by Platform Server 200, performs corresponding operation controlling third-party application server 300. Such as: whether the corresponding subtask that check_award is order third-party application server 300 query task completes, if completing, directly transmit packet, and whether return sends successfully; Award is that order third-party application server 300 directly transmits packet, and whether return sends successfully.
According to each parameter in above-mentioned table 1, the Platform Server 200 description according to each parameter of interface protocol, and obtain corresponding parameter value, if parameter value does not have, then this parameter value is empty, then parameter value is generated together with interface IP address information interface interchange request, and by callback interface, interface interchange request is sent to third-party application server 300, so that third-party application server 300 directly transmits the packet that task is corresponding.
The embodiment of the present invention carries out communication by the callback interface between Platform Server and third-party application server, relative to prior art, present invention achieves the mode that third-party application server data bag directly transmits, reduce the operation easier that task data bag obtains.
Specifically, data processing request described above is that the packet sent by the upper user account corresponding with described ID of intelligent terminal obtains request, and the packet that this packet obtains producing after request gets showing on User Interface of task according to intelligent terminal user account of task corresponding obtains item and generates.
After the upper user account logged in of intelligent terminal gets the task of the third-party application that described Platform Server 100 is shown, User Interface can show the control producing " getting packet " in the subtask that this task is corresponding, by triggering this control, packet can be initiated and obtain request. Platform Server 100 receives the packet acquisition request that the upper user account of intelligent terminal is initiated, and responds the acquisition request of described packet. Particularly as follows: obtain the task ID in request according to packet, obtain the interface IP address information of the third-party application that this task ID stored is corresponding in Platform Server 100. Then will obtain request according to this interface IP address information and packet, and according to default create-rule, generate and obtain the interface interchange request that request is corresponding with packet. The interface interchange request that last Platform Server 100 will additionally generate sends to third-party application server 200, inquire about whether target account (such as, the GID in game application) corresponding with ID in third-party application has performed the corresponding subtask of this task with requesting third-party application server 200.
Further, based on above-described embodiment, in the present embodiment, described Platform Server is specifically for determining that described packet obtains the subtask that request is corresponding; And according to the configuration information corresponding with described subtask pre-set and described ID, generate the request of corresponding interface interchange; The request of described interface interchange is sent to described third-party application server;
Described third-party application server is specifically for whether the target account that ID according to described interface interchange requesting query is corresponding reaches task condition preset in the configuration information of described subtask; When the task condition that described target account is corresponding not up to described task identification, obtain package identification preset in described configuration information, and packet corresponding for described package identification is sent to described target account.
First, when the developer of third-party application creates certain task on Platform Server 100, also by the transmission mode etc. of packet information corresponding for each subtask arranging task, packet. Platform Server 100, according to request to create, when generating task, stores the configuration information that this task is corresponding. As shown in table 2 below, list configuration information one example that the task of third-party application a is corresponding:
The configuration information that the task of table 2. third-party application a is corresponding
Subtask Subtask information Packet information Packet sends mode Interface is adjusted back
step1 Create role Packet 1a Sent by developer It is
step2 Reach 10 grades Packet 2a Sent by developer It is
step3 Reach 25 grades Packet 3a Sent by developer It is
step4 User logs in 5 days continuously Packet 4a Sent by developer It is
Secondly, when user ", when clicking " neck packet " control on application " center " interface; intelligent terminal then obtains ID and task identification and generates the packet carrying ID and task identification and obtains request and send to Platform Server 100 what intelligent terminal showed. When Platform Server 100 receives, by communication module 203, the packet acquisition request that intelligent terminal sends, send it to detecting module 302, to respond the acquisition request of described packet. Then Platform Server 100 obtains the task ID in request according to packet, obtains the interface IP address information of the third-party application that this task ID stored is corresponding in Platform Server 100. It is then determined that packet obtains the subtask that request is corresponding, for instance step1; According to determined subtask, configuration information corresponding to step2 will be obtained from table 2, and according to this configuration information, generate the request of corresponding interface interchange. Due in the configuration information that step2 in table 2 is corresponding, it is " being sent by developer " that packet sends mode, interface readjustment is "Yes", then arrange the parameter field cmd in interface interchange request is that (namely this order is whether the corresponding subtask of order third-party application server 200 query task completes to check_award, if completing, directly transmit packet, and whether return sends successfully). Whether the target account that third-party application server associates with ID according to the inquiry of check_award command field reaches task condition (whether the subtask intermational roles being in table 2 reach 10 grades) preset in the configuration information of described subtask; When the role in target account reaches 10 grades, then it represents that the task condition of step2 reaches; Now packet 2a can be sent to target account by the form of mail by third-party application server.
Further, based on above-described embodiment, in the present embodiment, above-mentioned third-party application server is additionally operable to, when packet corresponding for described task identification is sent to described target account by third-party application server, return the first preset information extremely described Platform Server; When the task condition that described target account is corresponding not up to described task identification, return the second preset information extremely described Platform Server;
Described Platform Server is additionally operable to, and described first preset information or the second preset information are back to described intelligent terminal.
In the present embodiment, after third-party application server delivers a packet to target account, return the first preset information to Platform Server. This first preset information can be " task completes, and rewards and sends "; When the task condition that described target account is corresponding not up to described task identification, will directly return the second preset information " task is not fully complete " to Platform Server. The first preset information returned or the second preset information are back to intelligent terminal by Platform Server, to display on User Interface.
If as it is shown on figure 3, user clicks " neck packet " control at second subtask place of the task of the third-party application a at intelligent terminal interface, obtain request by triggering the packet corresponding with this subtask. Owing to the performance of the second subtask of this task is stored in third-party application server 200, therefore Platform Server 100 obtains request according to this packet, generates the request of corresponding interface interchange. Assume that this second corresponding packet in subtask is configured to be sent by third-party application server 200, in the interface interchange request that then this Platform Server 100 generates, the command word of cmd is check_award, namely order third-party application server 200 inquires about whether this user completes second subtask of this task, if completing, directly transmit packet, and whether return sends successfully. Third-party application server 200 is sent the result of packet and is back to the intelligent terminal that user is corresponding by Platform Server 100. If packet sends successfully, then on intelligent terminal user interactive interface, second subtask display place of third-party application a will show " getting failure, be not fully complete subtask "; If packet sends successfully, then on intelligent terminal user interactive interface, second subtask display place of third-party application a will display " successfully getting ".
Further, based on above-described embodiment, in the present embodiment, above-mentioned Platform Server is additionally operable to, and obtains the transferring resource information corresponding with the target account information of described task identification association and described task identification; Resource transfers request is sent, with by resource transfers corresponding with described transferring resource information in described target account to described Platform Server according to described target account information and transferring resource information.
In the present embodiment, above-mentioned target account is the account that third-party application developer registers on platform, and logs in Platform Server by the account, arranges task. Platform Server will arrange the expense that in task, each subtask is corresponding, the transferring resource information that namely each subtask needs. After above-mentioned Platform Server receives the first preset information that third-party application server returns, by according to subtask mark corresponding in this task, obtain the transferring resource information that this subtask mark is corresponding, and resource transfers request will be sent to resource management server according to described target account information and transferring resource information, by resource management server by resource transfers corresponding with described transferring resource information in target account to described Platform Server; Thus realizing deducting fees. Such as, above-mentioned task includes the first subtask, the second subtask, the 3rd subtask and the 4th subtask, and the expense that the expense that the expense that the expense that wherein the first subtask is corresponding is 2.0 yuan, the second subtask is corresponding is 0.5 yuan, the 3rd subtask is corresponding is 0.3 yuan, the 4th subtask is corresponding is 0.2 yuan; Then after completing the first subtask, and when successfully getting packet corresponding to the first subtask, 2.0 yuan of expenses that as Platform Server, the task of third-party application server configures will be carried out advertisement promotion will be deducted from target account.
The present invention also proposed a kind of data interactive method further. With reference to Fig. 4, the data interactive method of this embodiment comprises the following steps:
Step S101, Platform Server detecting data processes request; Described data processing request includes ID and task identification;
Step S102, described Platform Server according to described data processing request, obtains the data callback interface of third-party application server corresponding to the described task identification accessed for described Platform Server pre-set;
Step S103, described data processing request is generated interface interchange request according to the protocol rule that described data callback interface is corresponding by described Platform Server, and sends the request of described interface interchange to described third-party application server;
Step S104, whether target account corresponding to described third-party application server ID according to described interface interchange requesting query reaches the task condition that described task identification is corresponding; If then performing step S105; Then perform step S106 if not;
Step S105, packet corresponding for described task identification is sent to described target account by described third-party application server;
Step S106, third-party application server returns the second preset information extremely described Platform Server. The content of this second preset information can be configured according to actual needs, for instance can be not fully complete for task.
It is understood that before performing above-mentioned steps S101, pre-set the callback interface called for described Platform Server 100. The interface message of this callback interface is the reference address of third-party application server 200, accesses third-party application server 200 according to this reference address when carrying out interface readjustment for Platform Server 100. When the developer of third-party application creates this task on Platform Server 100, the address information of this callback interface will be set. Platform Server 100, according to this address information request to create, generates the task of third-party application. Simultaneously, the address information of set callback interface also will be detected by this Platform Server 100, particularly as follows: by this address information transmission access request to third-party application server 200, if receiving the response data of third-party application server 200, then represent that the address information of this callback interface is legal, and store this address information; Otherwise representing that the address information of this callback interface is illegal, prompting user resets.
Above-mentioned data processing request includes ID and task identification. task identification is for determining that Platform Server 100 needs the performance of the task of inquiry, it may include the subtask information of task ID and task. this task ID is that Platform Server 100 distributes for this task when generating task, identifies this task for unique, and this task can include one or more subtask. this ID is the information that mark performs the user of this task, for instance log in account information of platform of this Platform Server offer etc. when detecting data processing request, according to task ID in data processing request, obtain the interface IP address information of the stored third-party application corresponding with this task ID in Platform Server 100. then according to described data processing request and callback interface information, the interface interchange request corresponding with data processing request is generated. interface interchange request can include meeting the callback interface agreement pre-set and all kinds of parameters required when carrying out operating accordingly for informing third-party application server 200, and these all kinds of parameters can be as listed in Table 1. according to each parameter in above-mentioned table 1, the Platform Server 100 description according to each parameter of interface protocol, and obtain corresponding parameter value, if parameter value does not have, then this parameter value is empty, then parameter value is generated together with interface IP address information interface interchange request, and by callback interface, interface interchange request is sent to third-party application server 200, so that third-party application server 200 judges whether the target account correspondence associated by ID has performed the corresponding subtask of this task, if completing this subtask, then packet corresponding for this subtask is sent to target account. it is understood that above-mentioned target account is the account created in third-party application, when this account is set up, then it is associated with ID.
Specifically, data processing request described above is that the packet sent by the upper user account corresponding with described ID of intelligent terminal obtains request, and the packet that this packet obtains producing after request gets showing on User Interface of task according to intelligent terminal user account of task corresponding obtains item and generates.
After the upper user account logged in of intelligent terminal gets the task of the third-party application that described Platform Server 100 is shown, User Interface can show the control producing " getting packet " in the subtask that this task is corresponding, by triggering this control, packet can be initiated and obtain request. Platform Server 100 receives the packet acquisition request that the upper user account of intelligent terminal is initiated, and responds the acquisition request of described packet. Particularly as follows: obtain the task ID in request according to packet, obtain the interface IP address information of the third-party application that this task ID stored is corresponding in Platform Server 100. Then will obtain request according to this interface IP address information and packet, and according to default create-rule, generate and obtain the interface interchange request that request is corresponding with packet. The interface interchange request that last Platform Server 100 will additionally generate sends to third-party application server 200, inquire about whether target account (such as, the GID in game application) corresponding with ID in third-party application has performed the corresponding subtask of this task with requesting third-party application server 200.
Further, with reference to Fig. 5, it is provided that data interactive method the second embodiment of the present invention, based on above-described embodiment, in the present embodiment, above-mentioned steps S103 includes:
Step S1031, described Platform Server determines that described packet obtains the subtask that request is corresponding;
Step S1032, described Platform Server, according to the configuration information corresponding with described subtask pre-set and described ID, generates the request of corresponding interface interchange;
Step S1033, the request of described interface interchange is sent to described third-party application server by described Platform Server;
Above-mentioned steps S104 is particularly as follows: whether target account corresponding to described third-party application server ID according to described interface interchange requesting query reaches task condition preset in the configuration information of described subtask;
Above-mentioned steps S105 is particularly as follows: described third-party application server obtains package identification preset in described configuration information, and sends packet corresponding for described package identification to described target account.
First, when the developer of third-party application creates certain task on Platform Server 100, also by the transmission mode etc. of packet information corresponding for each subtask arranging task, packet. Platform Server 100, according to request to create, when generating task, stores the configuration information that this task is corresponding. As shown in Table 2 above, configuration information one example that the task of third-party application a is corresponding is listed.
Secondly, when user ", when clicking " neck packet " control on application " center " interface; intelligent terminal then obtains ID and task identification and generates the packet carrying ID and task identification and obtains request and send to Platform Server 100 what intelligent terminal showed. When Platform Server 100 receives, by communication module 203, the packet acquisition request that intelligent terminal sends, send it to detecting module 302, to respond the acquisition request of described packet. Then Platform Server 100 obtains the task ID in request according to packet, obtains the interface IP address information of the third-party application that this task ID stored is corresponding in Platform Server 100. It is then determined that packet obtains the subtask that request is corresponding, for instance step1; According to determined subtask, configuration information corresponding to step2 will be obtained from table 2, and according to this configuration information, generate the request of corresponding interface interchange. Due in the configuration information that step2 in table 2 is corresponding, it is " being sent by developer " that packet sends mode, interface readjustment is "Yes", then arrange the parameter field cmd in interface interchange request is that (namely this order is whether the corresponding subtask of order third-party application server 200 query task completes to check_award, if completing, directly transmit packet, and whether return sends successfully). Whether the target account that third-party application server associates with ID according to the inquiry of check_award command field reaches task condition (whether the subtask intermational roles being in table 2 reach 10 grades) preset in the configuration information of described subtask; When the role in target account reaches 10 grades, then it represents that the task condition of step2 reaches; Now packet 2a can be sent to target account by the form of mail by third-party application server.
Further, with reference to Fig. 6, it is provided that data interactive method the 3rd embodiment of the present invention, based on above-described embodiment, in the present embodiment, also include after above-mentioned steps S104:
Step S107, when packet corresponding for described task identification is sent to described target account by third-party application server, described third-party application server returns the first preset information extremely described Platform Server;
Step S108, described first preset information or the second preset information are back to described intelligent terminal by described Platform Server.
In the present embodiment, above-mentioned steps S107 performs after step S105, after third-party application server delivers a packet to target account, returns the first preset information to Platform Server. This first preset information can be " task completes, and rewards and sends "; When the task condition that described target account is corresponding not up to described task identification, will directly return the second preset information " task is not fully complete " to Platform Server. The first preset information returned or the second preset information are back to intelligent terminal by Platform Server, to display on User Interface.
If as it is shown on figure 3, user clicks " neck packet " control at second subtask place of the task of the third-party application a at intelligent terminal interface, obtain request by triggering the packet corresponding with this subtask. Owing to the performance of the second subtask of this task is stored in third-party application server 200, therefore Platform Server 100 obtains request according to this packet, generates the request of corresponding interface interchange. Assume that this second corresponding packet in subtask is configured to be sent by third-party application server 200, in the interface interchange request that then this Platform Server 100 generates, the command word of cmd is check_award, namely order third-party application server 200 inquires about whether this user completes second subtask of this task, if completing, directly transmit packet, and whether return sends successfully. Third-party application server 200 is sent the result of packet and is back to the intelligent terminal that user is corresponding by Platform Server 100. If packet sends successfully, then on intelligent terminal user interactive interface, second subtask display place of third-party application a will show " getting failure, be not fully complete subtask "; If packet sends successfully, then on intelligent terminal user interactive interface, second subtask display place of third-party application a will display " successfully getting ".
Further, with reference to Fig. 7, it is provided that data interactive method the 4th embodiment of the present invention, based on above-described embodiment, in the present embodiment, also include after above-mentioned steps S108:
Step S109, described Platform Server obtains the transferring resource information corresponding with the target account information of described task identification association and described task identification;
Step S110, described Platform Server sends resource transfers request according to described target account information and transferring resource information, with by resource transfers corresponding with described transferring resource information in described target account to described Platform Server.
In the present embodiment, above-mentioned target account is the account that third-party application developer registers on platform, and logs in Platform Server by the account, arranges task. Platform Server will arrange the expense that in task, each subtask is corresponding, the transferring resource information that namely each subtask needs. After above-mentioned Platform Server receives the first preset information that third-party application server returns, by according to subtask mark corresponding in this task, obtain the transferring resource information that this subtask mark is corresponding, and resource transfers request will be sent to resource management server according to described target account information and transferring resource information, by resource management server by resource transfers corresponding with described transferring resource information in target account to described Platform Server; Thus realizing deducting fees. Such as, above-mentioned task includes the first subtask, the second subtask, the 3rd subtask and the 4th subtask, and the expense that the expense that the expense that the expense that wherein the first subtask is corresponding is 2.0 yuan, the second subtask is corresponding is 0.5 yuan, the 3rd subtask is corresponding is 0.3 yuan, the 4th subtask is corresponding is 0.2 yuan; Then after completing the first subtask, and when successfully getting packet corresponding to the first subtask, 2.0 yuan of expenses that as Platform Server, the task of third-party application server configures will be carried out advertisement promotion will be deducted from target account.
The foregoing is only the preferred embodiments of the present invention; not thereby its scope of the claims is limited; every equivalent structure utilizing description of the present invention and accompanying drawing content to make or equivalence flow process conversion; directly or indirectly it is used in other relevant technical fields, all in like manner includes in the scope of patent protection of the present invention.

Claims (10)

1. a data interactive method, it is characterised in that comprise the following steps:
Platform Server detecting data processes request; Described data processing request includes ID and task identification;
Described Platform Server according to described data processing request, obtains the data callback interface of third-party application server corresponding to the described task identification accessed for described Platform Server pre-set;
Described data processing request is generated interface interchange request according to the protocol rule that described data callback interface is corresponding by described Platform Server, and sends the request of described interface interchange to described third-party application server;
Whether target account corresponding to described third-party application server ID according to described interface interchange requesting query reaches the task condition that described task identification is corresponding;
If so, then packet corresponding for described task identification is sent to described target account by described third-party application server.
2. data interactive method as claimed in claim 1, it is characterized in that, described data processing request is that the packet sent by the upper user account corresponding with described ID of intelligent terminal obtains request, and the packet that this packet obtains producing after request gets showing on User Interface of task according to intelligent terminal user account of task corresponding obtains item and generates.
3. data interactive method as claimed in claim 2, it is characterized in that, described data processing request is generated interface interchange request according to the protocol rule that described data callback interface is corresponding by described Platform Server, and the request transmission of described interface interchange is included to described third-party application server:
Described Platform Server determines that described packet obtains the subtask that request is corresponding;
Described Platform Server, according to the configuration information corresponding with described subtask pre-set and described ID, generates the request of corresponding interface interchange;
The request of described interface interchange is sent to described third-party application server by described Platform Server;
Target account corresponding to described third-party application server ID according to described interface interchange requesting query whether reaches task condition corresponding to described task identification particularly as follows: whether target account corresponding to described third-party application server ID according to described interface interchange requesting query reaches task condition preset in the configuration information of described subtask;
Described third-party application server sends packet corresponding for described task identification to described target account particularly as follows: described third-party application server obtains package identification preset in described configuration information, and sends packet corresponding for described package identification to described target account.
4. data interactive method as claimed in claim 2, it is characterised in that target account corresponding to described third-party application server ID according to described interface interchange requesting query also includes after whether reaching the task condition that described task identification is corresponding:
When packet corresponding for described task identification is sent to described target account by third-party application server, described third-party application server returns the first preset information extremely described Platform Server;
When the task condition that described target account is corresponding not up to described task identification, described third-party application server returns the second preset information extremely described Platform Server;
Described first preset information or the second preset information are back to described intelligent terminal by described Platform Server.
5. data interactive method as claimed in claim 4, it is characterised in that described third-party application server returns the first preset information and also includes after described Platform Server:
Described Platform Server obtains the transferring resource information corresponding with the target account information of described task identification association and described task identification;
Described Platform Server sends resource transfers request according to described target account information and transferring resource information, with by resource transfers corresponding with described transferring resource information in described target account to described Platform Server.
6. a data interaction system, it is characterised in that include Platform Server and third-party application server:
Described Platform Server, processes request for detecting data; Described data processing request includes ID and task identification; According to described data processing request, obtain the data callback interface of third-party application server corresponding to the described task identification accessed for described Platform Server pre-set; Described data processing request is generated interface interchange request according to the protocol rule that described data callback interface is corresponding, and the request of described interface interchange is sent to described third-party application server;
Described third-party application server, whether the target account corresponding for ID according to described interface interchange requesting query reaches the task condition that described task identification is corresponding; When the task condition that described target account is corresponding not up to described task identification, packet corresponding for described task identification is sent to described target account.
7. data interaction system as claimed in claim 6, it is characterized in that, described data processing request is that the packet sent by the upper user account corresponding with described ID of intelligent terminal obtains request, and the packet that this packet obtains producing after request gets showing on User Interface of task according to intelligent terminal user account of task corresponding obtains item and generates.
8. data interaction system as claimed in claim 7, it is characterised in that
Described Platform Server is specifically for determining that described packet obtains the subtask that request is corresponding; And according to the configuration information corresponding with described subtask pre-set and described ID, generate the request of corresponding interface interchange; The request of described interface interchange is sent to described third-party application server;
Described third-party application server is specifically for whether the target account that ID according to described interface interchange requesting query is corresponding reaches task condition preset in the configuration information of described subtask; When the task condition that described target account is corresponding not up to described task identification, obtain package identification preset in described configuration information, and packet corresponding for described package identification is sent to described target account.
9. data interaction system as claimed in claim 7, it is characterised in that
Described third-party application server is additionally operable to, and when packet corresponding for described task identification is sent to described target account by third-party application server, returns the first preset information extremely described Platform Server; When the task condition that described target account is corresponding not up to described task identification, return the second preset information extremely described Platform Server;
Described Platform Server is additionally operable to, and described first preset information or the second preset information are back to described intelligent terminal.
10. data interaction system as claimed in claim 9, it is characterised in that
Described Platform Server is additionally operable to, and obtains the transferring resource information corresponding with the target account information of described task identification association and described task identification; Resource transfers request is sent, with by resource transfers corresponding with described transferring resource information in described target account to described Platform Server according to described target account information and transferring resource information.
CN201410594752.5A 2014-10-29 2014-10-29 Data interaction method and system Active CN105635050B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410594752.5A CN105635050B (en) 2014-10-29 2014-10-29 Data interaction method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410594752.5A CN105635050B (en) 2014-10-29 2014-10-29 Data interaction method and system

Publications (2)

Publication Number Publication Date
CN105635050A true CN105635050A (en) 2016-06-01
CN105635050B CN105635050B (en) 2019-12-27

Family

ID=56049556

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410594752.5A Active CN105635050B (en) 2014-10-29 2014-10-29 Data interaction method and system

Country Status (1)

Country Link
CN (1) CN105635050B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375437A (en) * 2016-08-31 2017-02-01 上海银天下科技有限公司 Data auditing method and apparatus
CN106512402A (en) * 2016-11-29 2017-03-22 北京像素软件科技股份有限公司 Game role rendering method and device
CN107196936A (en) * 2017-05-19 2017-09-22 广东万丈金数信息技术股份有限公司 Interface retransmission method, system, computer equipment and storage medium
CN107679773A (en) * 2017-10-30 2018-02-09 北京知行合企业管理顾问有限公司 A kind of data processing method, device and independent management system
CN108182132A (en) * 2017-12-27 2018-06-19 五八有限公司 A kind of task bonusing method, equipment and computer readable storage medium
CN108287706A (en) * 2017-05-10 2018-07-17 腾讯科技(深圳)有限公司 Data processing method and device
CN109416668A (en) * 2016-06-28 2019-03-01 Line株式会社 Control method, information processing unit and the program of information processing unit
CN110287709A (en) * 2019-05-22 2019-09-27 深圳壹账通智能科技有限公司 User's operation authority control method, device, equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101321175A (en) * 2007-07-13 2008-12-10 腾讯科技(深圳)有限公司 System and method for fast joining game through third party client terminal
CN102685153A (en) * 2011-03-07 2012-09-19 腾讯科技(深圳)有限公司 Method for opening third-party service by resource platform and resource platform
CN103561115A (en) * 2013-11-19 2014-02-05 北京奇虎科技有限公司 Method, open platform and system for obtaining electronic codes in real-time mode
CN103942093A (en) * 2013-01-23 2014-07-23 阿里巴巴集团控股有限公司 Service processing method and system
CN104063268A (en) * 2013-03-18 2014-09-24 腾讯科技(深圳)有限公司 Task data processing method, server and task data processing system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101321175A (en) * 2007-07-13 2008-12-10 腾讯科技(深圳)有限公司 System and method for fast joining game through third party client terminal
CN102685153A (en) * 2011-03-07 2012-09-19 腾讯科技(深圳)有限公司 Method for opening third-party service by resource platform and resource platform
CN103942093A (en) * 2013-01-23 2014-07-23 阿里巴巴集团控股有限公司 Service processing method and system
CN104063268A (en) * 2013-03-18 2014-09-24 腾讯科技(深圳)有限公司 Task data processing method, server and task data processing system
CN103561115A (en) * 2013-11-19 2014-02-05 北京奇虎科技有限公司 Method, open platform and system for obtaining electronic codes in real-time mode

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
BE_THE_CHANGE: "微信公众平台开发(一) 配置接口", 《360个人图书馆,HTTP://WWW.360DOC.COM/CONTENT/13/1127/20/13275031_332649957.SHTML》 *
CAMPOZENG: "微信游戏登陆任务奖励怎么领取", 《百度经验,HTTPS://JINGYAN.BAIDU.COM/ARTICLE/6FB756ECA1116E241958FB70.HTML》 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109416668A (en) * 2016-06-28 2019-03-01 Line株式会社 Control method, information processing unit and the program of information processing unit
US11679327B2 (en) 2016-06-28 2023-06-20 Line Corporation Information processing device control method, information processing device, and program
CN109416668B (en) * 2016-06-28 2023-07-14 连株式会社 Control method for information processing apparatus, and recording medium
CN106375437A (en) * 2016-08-31 2017-02-01 上海银天下科技有限公司 Data auditing method and apparatus
CN106375437B (en) * 2016-08-31 2019-08-27 上海银赛计算机科技有限公司 Data checking method and device
CN106512402A (en) * 2016-11-29 2017-03-22 北京像素软件科技股份有限公司 Game role rendering method and device
CN108287706A (en) * 2017-05-10 2018-07-17 腾讯科技(深圳)有限公司 Data processing method and device
CN107196936A (en) * 2017-05-19 2017-09-22 广东万丈金数信息技术股份有限公司 Interface retransmission method, system, computer equipment and storage medium
CN107679773A (en) * 2017-10-30 2018-02-09 北京知行合企业管理顾问有限公司 A kind of data processing method, device and independent management system
CN108182132A (en) * 2017-12-27 2018-06-19 五八有限公司 A kind of task bonusing method, equipment and computer readable storage medium
CN110287709A (en) * 2019-05-22 2019-09-27 深圳壹账通智能科技有限公司 User's operation authority control method, device, equipment and medium
CN110287709B (en) * 2019-05-22 2023-04-28 深圳壹账通智能科技有限公司 User operation authority control method, device, equipment and medium

Also Published As

Publication number Publication date
CN105635050B (en) 2019-12-27

Similar Documents

Publication Publication Date Title
CN105635050A (en) Data interaction method and system
US11368522B2 (en) Lightweight IoT information model
US10324711B2 (en) System and method for the data management in the interaction between machines
CN105530175B (en) Message processing method, device and system
US9282422B2 (en) Method and system for parameter configuration of mobile terminal
CN102769709B (en) A kind of for providing the method and apparatus of service contact information to user
CN102752369B (en) The supplying method of TV applications service and virtual content service platform
CN104852990A (en) Information processing method and intelligent household control system
CN101216834A (en) File downloading method, system, device and server
CN105635051A (en) Data interaction method, device, and system
US20150149556A1 (en) Communication method and system, and computer storage medium
CN101616132A (en) A kind of data capture method and device thereof and system
CN105208047A (en) Online and off line methods of distributed system server, and server
CN103207873A (en) Method and system for displaying exclusive user page
CN105553920A (en) Data interaction method, apparatus, and system
CN103207965A (en) Method and device for License authentication in virtual environment
CN105376198A (en) Access control method and device
CN103562859A (en) Application activation framework
CN201256399Y (en) Downloading platform, downloading terminal and downloading system
CN107493251A (en) A kind of method and terminal for logging in destination server
CN103139306A (en) Method facing forwarding of browse clipping page information and obtaining of enterprise cooperation information interaction
CN102255872B (en) Method and device for accessing non-remote object
CN106301902A (en) A kind of remote network management method based on B/S framework and system
US20160036766A1 (en) Method and system for synchronizing program masks
CN102385514A (en) Method, equipment and system for conducting management operation on software in centralized way

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20230712

Address after: 518000 Tencent Building, No. 1 High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 35 Floors

Patentee after: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

Patentee after: TENCENT CLOUD COMPUTING (BEIJING) Co.,Ltd.

Address before: 2, 518000, East 403 room, SEG science and Technology Park, Zhenxing Road, Shenzhen, Guangdong, Futian District

Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

TR01 Transfer of patent right