CN106603462A - API calling method, device and system - Google Patents
API calling method, device and system Download PDFInfo
- Publication number
- CN106603462A CN106603462A CN201510660593.9A CN201510660593A CN106603462A CN 106603462 A CN106603462 A CN 106603462A CN 201510660593 A CN201510660593 A CN 201510660593A CN 106603462 A CN106603462 A CN 106603462A
- Authority
- CN
- China
- Prior art keywords
- account number
- user account
- authorization message
- party application
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 60
- 238000013475 authorization Methods 0.000 claims abstract description 186
- 230000003997 social interaction Effects 0.000 claims description 150
- 238000012544 monitoring process Methods 0.000 claims description 20
- 230000001960 triggered effect Effects 0.000 claims description 8
- 230000004044 response Effects 0.000 claims description 2
- 238000005516 engineering process Methods 0.000 abstract description 2
- 230000000694 effects Effects 0.000 description 18
- 238000010586 diagram Methods 0.000 description 12
- 238000012790 confirmation Methods 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 230000009191 jumping Effects 0.000 description 1
- 210000003127 knee Anatomy 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000002269 spontaneous effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/01—Social networking
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
Landscapes
- Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Business, Economics & Management (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- General Health & Medical Sciences (AREA)
- Theoretical Computer Science (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Human Resources & Organizations (AREA)
- Economics (AREA)
- Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- General Engineering & Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses an API calling method, device and system, and belongs to the field of Internet technology. A social server monitors operation of a user account in a social business domain; when the operation is a pre-determined operation, the social server generates authorization information for a third-party application server; the authorization information is provided for the third-party application server; the social server receives a calling request for a predetermined API from the third-party application server; and when the calling request includes the authorization information, the social server executes a target operation in the social business domain by taking the user account as an account of the third-party application server. The hidden safety troubles caused by that the third-party application server can directly call information published by an API by using the corresponding user account can be avoided; and after being authorized by the user account, the third-party application server can execute the target operation in the social business domain by taking the user account as an account of the third-party application server, and the safety is enhanced.
Description
Technical field
The present invention relates to Internet technical field, more particularly to a kind of API Calls method, apparatus and system.
Background technology
API (Application Programming Interface, API) is predefined function,
Ability of the application program with developer based on one group of routine of certain software or hardware access can be provided.
Release news in group to allow third-party application server to borrow user account number, prior art
Middle social interaction server device provides an API directly to third-party application server, and third-party application server is needing
When borrow user account number releases news in group, the API of social interaction server device offer is directly invoked, using correspondence
User account number release news in the group that user account number is located.
Such as, user account number " Zhang San " is the group members inside a group " cell big family ", in user account number
When " Zhang San " is using third party's game application " comprehensively big to fight ", third party's game application calls social interaction server device to carry
For API, released news in group " cell big family " with user account number " Zhang San ", the content of the information is
" I playing it is comprehensively big fight, all are playing ".
During the present invention is realized, inventor has found that prior art at least has problems with:
Released news using corresponding user account number because third-party application server can directly invoke API,
The mandate of user account number is needed not move through, so potential safety hazard can be produced, such as four directions application, third party are indiscriminate
With etc..
The content of the invention
In order to solve to send out using corresponding user account number because third-party application server can directly invoke API
Cloth information, needs not move through the mandate of user account number, so the problem of potential safety hazard can be produced, the present invention is implemented
Example provides a kind of API Calls method, apparatus and system.The technical scheme is as follows:
According to the first aspect of the invention, there is provided a kind of API Calls method, methods described includes:
Operation of the monitoring user account number in social business domains;
It is that third-party application server generates authorization message when the operation is scheduled operation;
The authorization message is provided to the third-party application server;
Receive call request of the third-party application server to predetermined API, the predetermined API be for
User account number performance objective in the social business domains is operated by described in the third-party application server borrowing
API;
When the call request carries the authorization message, using the user account number as the third party
The performance objective operation in the social business domains of the account number of application server.
According to the second aspect of the invention, there is provided a kind of API Calls method, methods described includes:
The authorization message that social interaction server device is provided is received, the authorization message is social interaction server device in monitoring user
The information that operation of the account number in social business domains is generated when being scheduled operation;
Generate call request to predetermined API, the predetermined API be for the user account number described
The API of performance objective operation in social business domains, the call request carries the authorization message;
The call request is sent to the social interaction server device.
According to the third aspect of the invention we, there is provided a kind of API Calls device, described device includes:
Operation monitoring module, for monitoring operation of the user account number in social business domains;
Authorize generation module, for it is described operation be scheduled operation when, be third-party application server generate
Authorization message;
Sending module is authorized, for providing the authorization message to the third-party application server;
Receiver module is called, for receiving call request of the third-party application server to predetermined API,
The predetermined API is in the social industry for the user account number by described in the third-party application server borrowing
The API of performance objective operation in business domain;
Operation executing module, for when the call request carries the authorization message, with the user
Account number in the social business domains performance objective operation of the account number as the third-party application server.
According to the fourth aspect of the invention, there is provided a kind of API Calls device, described device includes:
Receiver module is authorized, for receiving the authorization message of social interaction server device offer, the authorization message is society
The information for handing over operation of the server in monitoring user account number in social business domains to be generated when being scheduled operation;
Call generation module, for generating call request to predetermined API, the predetermined API be for
The API of user account number performance objective operation in the social business domains, the call request is carried
State authorization message;
Sending module is called, for sending the call request to the social interaction server device.
According to the fifth aspect of the invention, there is provided a kind of API Calls system, the system includes:It is social
Server and third-party application server;
The social interaction server device includes API Calls device as above described in the third aspect;
The third-party application server includes API Calls device as above described in fourth aspect;
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
Operation of the user account number in social business domains is monitored by social interaction server device;It is in this operation predetermined
During operation, social interaction server device is that third-party application server generates authorization message;Social interaction server device is to third party
Application server provides authorization message;Social interaction server device receives tune of the third-party application server to predetermined API
With request, the predetermined API be for by third-party application server borrowing user account number in social business domains
The API of performance objective operation;When call request carries authorization message, social interaction server device is with the user account number
As account number performance objective operation in the social business domains of third-party application server;Solve due to
Tripartite's application server can directly invoke API and be released news using corresponding user account number, need not move through use
The mandate of family account number, so the problem of potential safety hazard can be produced;Reach third-party application server passing through
After user account number mandate, predetermined API can be called, using the user account number as third-party application server
Account number performance objective operation in the social business domains, strengthens the effect of security.
Description of the drawings
Technical scheme in order to be illustrated more clearly that the embodiment of the present invention, below will be to institute in embodiment description
The accompanying drawing that needs are used is briefly described, it should be apparent that, drawings in the following description are only the present invention
Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work,
Can be with according to these other accompanying drawings of accompanying drawings acquisition.
Fig. 1 is a kind of structural representation of implementation environment provided in an embodiment of the present invention;
Fig. 2 is the method flow diagram of the API Calls method that one embodiment of the invention is provided;
Fig. 3 is the interface display figure of the API Calls method that one embodiment of the invention is provided;
Fig. 4 is the method flow diagram of the API Calls method that another embodiment of the present invention is provided;
Fig. 5 A are the method flow diagrams of the sub-step of step 403 in Fig. 4 embodiments of the present invention;
Fig. 5 B are the method flow diagrams of the sub-step of step 404 in Fig. 4 embodiments of the present invention;
Fig. 5 C are the method flow diagrams of the sub-step of step 407 in Fig. 4 embodiments of the present invention;
Fig. 6 is the method flow diagram of the API Calls method that one embodiment of the invention is provided;
Fig. 7 is the interface display figure of the API Calls method that one embodiment of the invention is provided;
Fig. 8 is the block diagram of the API Calls device that one embodiment of the invention is provided;
Fig. 9 is the block diagram of the API Calls device that another embodiment of the present invention is provided;
Figure 10 is the block diagram of the API Calls device that one embodiment of the invention is provided;
Figure 11 is the block diagram of the API Calls device that another embodiment of the present invention is provided;
A kind of Figure 12 block diagrams of API Calls system provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to the present invention
Embodiment is described in further detail.
Fig. 1 is refer to, a kind of structural representation of implementation environment provided in an embodiment of the present invention is it illustrates.Should
Implementation environment includes:Social interaction server device 120, third-party application server 140 and client 160.
Social interaction server device 120 is the background server of social class application program.Social interaction server device 120 can be
One server, the server cluster of multiple servers composition or cloud computing center.
Third-party application server 140 is the background server of various application programs.Such as, the application program
It is that application program etc. is recommended in cuisines application program, game application or tourism.Third-party application server 140
Can be a server, the server cluster of multiple servers composition or cloud computing center.
Client 160 can be mobile phone, panel computer, E-book reader, MP3 (Moving Picture
Experts Group Audio Layer III, dynamic image expert's compression standard audio frequency aspect 3) player, MP4
(Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio layer
Face 4) player, pocket computer on knee and desktop computer etc..Communication is installed in client 160
Class application program, the communication class application program can be instant messaging program, voice communication programs, microblogging should
With the social activity class application program such as program, chatroom application program.Such as, the social class application program is instant
Signal procedure QQ, microblogging or wechat etc..
Social interaction server device 120 is set up with client 160 by wireless network or cable network and is connected.It is social
Connection is directly set up between server 120 and third-party application server 140.Third-party application server 140
The open platform provided by social interaction server device 120 is needed to provide service to client 160.
Fig. 2 is refer to, the method flow of the API Calls method of one embodiment of the invention offer is provided
Figure.The present embodiment is applied to be illustrated in the implementation environment shown in Fig. 1 in the API Calls method.Should
Method includes:
Step 201, social interaction server device monitors operation of the user account number in social business domains;
Client obtains operation of the user account number in social business domains, and client can be by the user's account for getting
Number operational feedback to social interaction server device, social interaction server device is carried out to the user account number in social business domains
Various operations are monitored.
Step 202, when operation is scheduled operation, social interaction server device is that third-party application server generates mandate
Information;
The scheduled operation can be any one predefined operation, and typically the user account number is in social industry
The operation relevant with third-party application that business domain performs.Social business domains are referred to and provide business by social interaction server device
The domain of service, social business domains are different from the domain that third-party application provides business service.
Such as, the operation of the icon of third-party application, transmission are clicked on and includes relevant with third-party application leading to
The operation of letter information, share operation of third-party application to other good friends etc..
When operation of the user account number in social business domains is scheduled operation, social interaction server device can be according to user
The operation of account number is that third-party application server generates corresponding authorization message.
Step 203, social interaction server device is to third-party application server providing authorization information;
Accordingly, third-party application server receives the authorization message that social interaction server device is provided, the authorization message
Being social interaction server device is monitoring the letter that generated when operation of the user account number in social business domains is scheduled operation
Breath.
Step 204, according to authorization message, third-party application server generates the call request to predetermined API,
The predetermined API is for the API of user account number performance objective operation in social business domains, this is called please
Ask and carry authorization message;
When third-party application server possesses authorization message, third-party application server can just call party clothes
Predetermined API on business device.
Step 205, third-party application server to social interaction server device sends the call request;
Accordingly, social interaction server device receives call request of the third-party application server to predetermined API, makes a reservation for
API is for by third-party application server borrowing user account number, performance objective to be operated in social business domains
API;
Step 206, when call request carries authorization message, social interaction server device is using user account number as the 3rd
The performance objective operation in social business domains of the account number of square application server.
In sum, the API Calls method that the present embodiment is provided, by social interaction server device user account number is monitored
Operation in social business domains;When the operation is scheduled operation, social interaction server device is third-party application clothes
Business device generates authorization message;Social interaction server device is to third-party application server providing authorization information;Social interaction server
Device receives call request of the third-party application server to predetermined API, and the predetermined API is for by third party
Application server borrows the API of user account number performance objective operation in social business domains;Carry in call request
When having authorization message, account number of the social interaction server device using the user account number as third-party application server is in the society
Hand over performance objective operation in business domains;Solve makes because third-party application server can directly invoke API
Released news with corresponding user account number, need not move through the mandate of user account number, so potential safety hazard can be produced
Problem;Reached third-party application server after user account number mandate, using the user account number as
The performance objective operation in the social business domains of the account number of third-party application server, strengthens the effect of security.
Can be implemented separately the step of relevant social interaction server device side in the present embodiment becomes social interaction server device side
API Calls method, can be implemented separately the step of relevant third-party application server-side becomes third party
The API Calls method of application server side.
Such as:It is assumed that scheduled operation is to jump to the third-party application page after user account number click third-party application
Operation, object run is to issue the behaviour of the information of one " new round game starts, and group friends are soon adding "
Make.As the third party that " good-for-nothing big operation " is clicked in group of the user account number " Zhang San " " cuisines member "
Using after, social interaction server device generates corresponding authorization message for the third-party application server of " good-for-nothing big operation "
" token1 ", include in the authorization message " token1 " user account number " Zhang San ", access times for only once,
Use time is in 5 minutes and click timestamp 10:00 information;Third-party application server is according to the mandate
Information generates the call request to predetermined API, and the call request is sent to into social interaction server device, works as social activity
Server is received after the call request, the authorization message in the call request is verified, social interaction server
When device is verified to authorization message, third-party application server obtained first use authority tune in 5 minutes
With the predetermined API in social interaction server device.The social interaction server device is used for performance objective behaviour when predetermined API is called
Make, the object run be with the account number of " Zhang San " for " good-for-nothing big operation " third-party application server in " cuisines
The information of one " new round game starts, and group friends are soon adding " is issued in the group of member's group ".Please join
Examine shown in Fig. 3.
Alternatively, in other embodiments, object run can also be:Should as third party using user account number
With the account number of server in target group return information;Target group is the group that user account number is located;
Alternatively, in other embodiments, object run can also be:Should as third party using user account number
Released news to targeted customer's account number or return information with the account number of server;Targeted customer's account number is user's account
Number good friend or follower;
Alternatively, in other embodiments, object run can also be:Should as third party using user account number
Released news or return information in the personal spacial flex of user account number with the account number of server.
Fig. 4 is refer to, the method flow of the API Calls method of another embodiment of the present invention offer is provided
Figure.The present embodiment is applied to be illustrated in the implementation environment shown in Fig. 1 in the API Calls method.Should
Method includes:
Step 401, social interaction server device monitors operation of the user account number in social business domains;
Client obtains operation of the user account number in social business domains, and client can be by the user's account for getting
Number operational feedback to social interaction server device, operation of the social interaction server device to the user account number is monitored.
Step 402, when operation is scheduled operation, social interaction server device is that third-party application server generates mandate
Information;
When operation of the user account number in social business domains is scheduled operation, social interaction server device can be according to user
The operation of account number generates corresponding authorization message.The scheduled operation is provided with third-party application server
The relevant operation of application program.
Because scheduled operation is set in advance, so user account number is probably to cause in the case of unwitting
Operation in social business domains is scheduled operation, it is also possible to it is intended such that the operation in social business domains
It is scheduled operation.
The scheduled operation can be that user account number clicks on the behaviour that the third-party application page is jumped to after third-party application
Make, user account number passes through the operation for sending particular message middle in AIO (All in One, chat window interface)
Or user account number enters operation of the third-party application scheduled time etc..
The present embodiment is not especially limited to scheduled operation, and scheduled operation need to only meet the operation can trigger society
Server is handed over to generate corresponding authorization message according to the operation.
Carry in the authorization message using restriction, wherein, included using restriction:Access times and/or use
Time;Also carry user account number in authorization message simultaneously.
Such as:It is assumed that scheduled operation is to jump to the third-party application page after user account number click third-party application
Operation;When user account number " Zhang San " clicks the 3rd of one " good-for-nothing big operation " in certain social business domains
After Fang Yingyong, social interaction server device can be third party according to the clicking operation of " Zhang San " in this social business domains
Corresponding authorization message " token1 " is generated using the third-party application server of " good-for-nothing big operation ", mandate letter
Breath " token1 " in include user account number " Zhang San ", access times only once, use time be 5 minutes in and
Click on timestamp 10:00 information.
Step 403, social interaction server device is to third-party application server providing authorization information;
In the present embodiment, step 403 may include steps of, as shown in Figure 5A:
Step 403a, social interaction server device obtains uniform resource position mark URL, and the URL is by user account number
Operation in social business domains is triggered when being scheduled operation;
When operation of the user account number in social business domains is scheduled operation, user account number can trigger corresponding
URL (Uniform Resource Locator, URL), jumps to corresponding third party's page,
Social interaction server device can obtain corresponding URL according to corresponding user account number.
Step 403b, social interaction server device adds authorization message into URL;
Social interaction server device splices the authorization message generated for third-party application server in the form of parameter
Behind URL, formation carries the URL of authorization message.
Step 403c, social interaction server device to third-party application server sends URL, and the URL is carried and awarded
Power information;
The URL for carrying authorization message is sent to third-party application server by social interaction server device.
Step 404, third-party application server receives the authorization message that social interaction server device is provided, the authorization message
Being social interaction server device is monitoring the letter that generated when operation of the user account number in social business domains is scheduled operation
Breath;
In the present embodiment, step 404 may include steps of, as shown in Figure 5 B:
Step 404a, third-party application server receives the URL that social interaction server device sends, and URL is by user
Operation of the account number in social business domains is triggered when being scheduled operation, and URL carries authorization message;
Third-party application server receives first the URL of social interaction server device transmission, and the URL is by user account number
Operation in social business domains is triggered when being scheduled operation, wherein also carrying social interaction server device for the 3rd
The authorization message that square application server is generated.
Step 404b, third-party application server obtains authorization message from URL;
Third-party application server obtains the authorization message of carrying from the URL for receiving.
Alternatively, carry in the authorization message using limiting, this can be included using restriction:Access times
And/or use time;
Alternatively, user account number is also carried in the authorization message.
Step 404c, third-party application server feeds back the corresponding pagefiles of URL by social interaction server device
To user account number;
Third-party application server according in the URL and URL for getting carry authorization message, by the URL
Corresponding pagefile feeds back to social interaction server device, and social interaction server device is again by third-party application server feedback
Pagefile feeds back to corresponding user account number.
Step 405, according to authorization message, third-party application server generates the call request to predetermined API,
The predetermined API is for the API of user account number performance objective operation in social business domains, this is called please
Ask and carry authorization message;
Third-party application server is after authorization message is got, and the content in authorization message, generation is right
The call request of predetermined API, predetermined API refers to that third-party application server is used for user account number in social activity
The API of performance objective operation, in the call request that third-party application server is generated acquisition is carried in business domains
The authorization message for arriving.
Step 406, third-party application server to social interaction server device sends the call request;
Third-party application server is sent to social interaction server device by the call request to predetermined API is generated, the tune
With carrying authorization message in request.
Alternatively, the call request is used to release news in target group with user account number or return information;
Target group is the group that user account number is located;
Alternatively, the call request is used to release news to targeted customer's account number with user account number or return information;
Targeted customer's account number is the good friend or follower of user account number;
Alternatively, the call request is used to that letter to be issued in the personal spacial flex of user account number with user account number
Breath or return information.
Accordingly, social interaction server device receives call request of the third-party application server to predetermined API, makes a reservation for
API is for by third-party application server borrowing user account number, performance objective to be operated in social business domains
API;
Step 407, when call request carries authorization message, social interaction server device is using user account number as the 3rd
The performance objective operation in social business domains of the account number of square application server.
In the present embodiment, step 407 may include steps of, as shown in Figure 5 C:
Whether step 407a, social interaction server device detection call request carries authorization message;
Social interaction server device receive third-party application server transmission the call request to predetermined API after,
The call request is detected detect in the call request whether carry authorization message.
Step 407b, if not carrying authorization message in call request, social interaction server device determines this tune
It is invalid with asking;
Step 407c, if call request carries authorization message, whether social interaction server device checking authorization message
Conform to a predetermined condition;
When authorization message is carried in the call request, social interaction server device obtains the mandate letter in call request
Breath, the authorization message to carrying in call request is verified.Verification process is included in following three kinds checkings
It is at least one:
Alternatively, whether the access times for verifying authorization message are less than pre-determined number;
Alternatively, verify whether the use time of authorization message meets predetermined amount of time, the predetermined amount of time bag
Include timestamp and use duration;
Alternatively, verify whether the user account number that authorization message is carried is use corresponding when generating authorization message
Family account number.
Step 407d, if authorization message does not meet predetermined condition, social interaction server device determines that calling for this please
Ask invalid;
Step 407e, if authorization message conforms to a predetermined condition, social interaction server device is using user account number as the 3rd
The performance objective operation in social business domains of the account number of square application server.
When the information in authorization message conforms to a predetermined condition, social interaction server device is using the user account number as the 3rd
The performance objective operation in social business domains of the account number of square application server.
Object run can include:Issue the information of third-party application, invite the good friend of the user account number together
Participate in etc..
Alternatively, object run is:Using user account number as the account number of third-party application server in target complex
Release news in group or return information;Target group is the group that user account number is located;
Alternatively, object run is:Used to target as the account number of third-party application server using user account number
Family account number releases news or return information;Targeted customer's account number is the good friend or follower of user account number;
Alternatively, object run is:Using user account number as the account number of third-party application server in user's account
Number personal spacial flex in release news or return information.
It should be noted that when operation of the user account number in social business domains is scheduled operation, social interaction server
Device will generate corresponding authorization message to third-party application server.User account number is probably in feelings in the know
Under condition, scheduled operation is performed intentionally, request social interaction server device is that third-party application server generates corresponding awarding
Power information;User account number is it could also be possible that in the case of unwitting so that the operation in social business domains
It is scheduled operation, now, user account number is simultaneously unaware of social interaction server device and generates for third-party application server
Corresponding authorization message, so in the present embodiment, third-party application server by call predetermined API with
Family account number, as account number performance objective operation in social business domains of third-party application server, can use
Family account number know the inside story in the case of, the mandate that spontaneous request social interaction server device is carried out;It can also be user account number
In the case of unwitting, social interaction server device is mourned in silence the mandate for carrying out according to the scheduled operation of user account number.But
When being that the operation of user account number must be scheduled operation, social interaction server device can just generate corresponding authorization message,
Third-party application server just can be by calling predetermined API so that social interaction server device is using user account number as
The performance objective operation in social business domains of the account number of tripartite's application server.
In sum, the API Calls method that the present embodiment is provided, by social interaction server device user account number is monitored
Operation in social business domains;When the operation is scheduled operation, social interaction server device is third-party application clothes
Business device generates authorization message;Social interaction server device is to third-party application server providing authorization information;Social interaction server
Device receives call request of the third-party application server to predetermined API, and the predetermined API is for by third party
Application server borrows the API of user account number performance objective operation in social business domains;Carry in call request
When having authorization message, social interaction server device using the user account number as third-party application server account number, the 3rd
The performance objective operation in the social business domains with user account number of square application server;Solve due to third party
Application server can directly invoke API and be released news using corresponding user account number, need not move through user's account
Number mandate, so the problem of potential safety hazard can be produced;Third-party application server has been reached by user
After account number mandate, hold in the social business domains using the user account number as the account number of third-party application server
Row object run, strengthens the effect of security.
Using for carrying in authorization message is limited, and solves abuse of the third-party application server to API, is sent out
The problem of marketing message is sent, while also solving third-party application server is performed a plurality of times identical object run,
The problem that the server resource for causing is wasted, has reached reduction server resource and has wasted and avoided third-party application
Server sends the effect of information wantonly in the case of user account number is undelegated;
The user account number carried in authorization message, solves third-party application server and directly invokes API, it is impossible to
Distinguish this and call whether relevant with the user operation problem of scene, reach the user's account carried in authorization message
Number, it is easy to the effect of the analysis to user account number and proof.
Can be implemented separately the step of relevant social interaction server device side in the present embodiment becomes social interaction server device side
API Calls method, can be implemented separately the step of relevant third-party application server-side becomes third party
The API Calls method of application server side.
It is assumed that social business domains are chat groups;Scheduled operation is to redirect after user account number click third-party application
To the operation of the third-party application page;Object run is the operation for issuing an information;Refer to and be implemented as follows
Example.
Fig. 6 is refer to, the method flow of the API Calls method of one embodiment of the invention offer is provided
Figure.The present embodiment is applied to be illustrated in the implementation environment shown in Fig. 1 in the API Calls method.Should
Method includes:
Step 601, social interaction server device monitors operation of the user account number in chat group;
Client obtains operation of the user account number in chat group, and client can be by the user account number for getting
Operational feedback to social interaction server device, it is various that social interaction server device is carried out to the user account number in chat group
Operation is monitored.
Step 602, is to jump to the third-party application page after user account number clicks on third-party application in the operation
During operation, social interaction server device is that third-party application server generates authorization message;
Carry in the authorization message using restriction, wherein, included using restriction:Access times and/or use
Time;Also carry user account number in authorization message simultaneously.
Such as:When user account number " Zhang San " clicks the 3rd of one " good-for-nothing big operation " in certain chat group
After Fang Yingyong, social interaction server device can be that third party should according to the clicking operation of " Zhang San " in this chat group
Corresponding authorization message " token1 ", the authorization message are generated with the third-party application server of " good-for-nothing big operation "
Include in " token1 " user account number " Zhang San ", access times only once, use time be 5 minutes in and point
Hit timestamp 10:00 information.
Step 603, social interaction server device is to third-party application server providing authorization information;
Social interaction server device obtains the URL for jumping to the third-party application page, and authorization message is added into URL,
The URL for carrying authorization message is sent to third-party application server by social interaction server device.
Accordingly, third-party application server receives the authorization message that social interaction server device is provided.
Third-party application server obtains the authorization message of carrying from the URL for receiving, and by the URL
Corresponding pagefile feeds back to user account number by social interaction server device.
Step 604, according to authorization message, third-party application server generates the call request to predetermined API,
The predetermined API is the call request for the API for releasing news to be performed in chat group with user account number
Carry authorization message;
When third-party application server possesses authorization message, third-party application server could invoking server
On predetermined API.
Step 605, third-party application server to social interaction server device sends the call request;
Accordingly, social interaction server device receives call request of the third-party application server to predetermined API;
Step 606, when call request carries authorization message, social interaction server device is using user account number as the 3rd
The account number of square application server performs the operation for once issuing an information in chat group.
In sum, the API Calls method that the present embodiment is provided, by social interaction server device user account number is monitored
Operation in chat group;It is to jump to third party after user account number clicks on third-party application to answer in the operation
With during the operation of the page, social interaction server device is that third-party application server generates authorization message;Social interaction server device
To third-party application server providing authorization information;Social interaction server device receives third-party application server to predetermined
The call request of API, the predetermined API is for being chatted by third-party application server borrowing user account number
The API of the operation for issuing an information is performed in group;When call request carries authorization message, party clothes
Business device using the user account number as third-party application server account number, third-party application server is with user's account
The operation for once issuing an information number is performed in the chat group;Solve due to third-party application service
Device can directly invoke API and be released news using corresponding user account number, need not move through the mandate of user account number,
So the problem of potential safety hazard can be produced;Third-party application server has been reached after user account number mandate,
One information of issue is performed in the chat group using the user account number as the account number of third-party application server
Operation, strengthen security effect.
Can be implemented separately the step of relevant social interaction server device side in the present embodiment becomes social interaction server device side
API Calls method, can be implemented separately the step of relevant third-party application server-side becomes third party
The API Calls method of application server side.
It is that social interaction server device makees user account number in the embodiment shown in the embodiment and Fig. 3 shown in Fig. 2
For the account number of third-party application server, third-party application server is held with user account number in social business domains
Row object run, so as to attract other group members;Scene is realized alternatively possible, third party
Application server guiding user account number goes in itself performance objective to operate, so as to attract other group members.
When user account number is in predetermined page, third-party application server can eject one and remind operation, make a reservation for
The page can be HTML5 (Hyper Text Markup Language Five, HTML 5.0)
The page.
Alternatively, the prompting is operated for reminding user account number by the Information Sharing of the third-party application to target
In group, target group is the group that user account number is located;
Alternatively, the prompting is operated for reminding user account number by the Information Sharing of the third-party application to target
User account number, targeted customer's account number is the good friend or follower of user account number;
Alternatively, the prompting is operated for reminding user account number by the Information Sharing of the third-party application to user
The personal spacial flex of account number;
When user account number is clicked on to be shared, third-party application server can be adjusted in a predefined manner in predetermined page
The API operated with performance objective, and the call request is sent to into social interaction server device, the predetermined way can be
Iframe modes.Now, social interaction server device can point out user account number to carry out sharing operation, and to user's account
Number send confirmation request, after user account number confirms to confirmation request, social interaction server device by third party should
Information is sent to user account number.
Alternatively, by the Information Sharing of the third-party application to target group, target group is user account number
The group that user account number is located;
Alternatively, the Information Sharing of the third-party application is given targeted customer's account number, targeted customer by user account number
Account number is the good friend or follower of user account number;
Alternatively, user account number is by the personal spacial flex of the Information Sharing of the third-party application to user account number.
It should be noted that in this realizes scene, only known the inside story using the user of active user's account number
In the case of, after the user confirms, the information of third-party application is just sent to other use by social interaction server device
Family account number.
Such as:User account number obtains first place in the game process for playing " happily disappear pleasure ", the user account number
Wish the achievement of oneself can be shared in circle of friends, then the page obtained the first place in " happily disappear pleasure " game
In face, third party " happily disappear pleasure " application server can eject one, and " you obtain first place, by good result
Share circle of friends " prompting operation, user account number can click on this remind operation it is lower when sharing, social activity
Server can send confirmation request according to the operation of user account number to user account number, if user account number confirmation will
The content shares circle of friends, then click on confirmation and share, and just occurs point in the circle of friends of user account number
The content enjoyed.Refer to shown in Fig. 7.
It is below the device embodiment of the present invention, the details of not detailed description, may be referred in device embodiment
Above-mentioned one-to-one embodiment of the method.
Fig. 8 is refer to, the structure square frame of the API Calls device of one embodiment of the invention offer is provided
Figure.The API Calls device that the present embodiment is provided can pass through being implemented in combination with into for software, hardware or both
All or part of for server.The device includes:
Operation monitoring module 810, for monitoring operation of the user account number in social business domains.
Authorize generation module 820, for when operation is scheduled operation, be third-party application server generate award
Power information.
Sending module 830 is authorized, for third-party application server providing authorization information.
Receiver module 840 is called, for receiving call request of the third-party application server to predetermined API, in advance
It is for by third-party application server borrowing user account number, performance objective to be operated in social business domains to determine API
API.
Operation executing module 850, for when call request carries authorization message, using user account number as
The performance objective operation in social business domains of the account number of tripartite's application server.
In sum, the API Calls device that the present embodiment is provided, by social interaction server device user account number is monitored
Operation in social business domains;When the operation is scheduled operation, social interaction server device is third-party application clothes
Business device generates authorization message;Social interaction server device is to third-party application server providing authorization information;Social interaction server
Device receives call request of the third-party application server to predetermined API, and the predetermined API is for by third party
Application server borrows the API of user account number performance objective operation in social business domains;Carry in call request
When having authorization message, account number of the social interaction server device using the user account number as third-party application server is in the society
Hand over performance objective operation in business domains;Solve makes because third-party application server can directly invoke API
Released news with corresponding user account number, need not move through the mandate of user account number, so potential safety hazard can be produced
Problem;Reached third-party application server after user account number mandate, using the user account number as
The performance objective operation in the social business domains of the account number of third-party application server, strengthens the effect of security.
Fig. 9 is refer to, the structure square frame of the API Calls device of another embodiment of the present invention offer is provided
Figure.The API Calls device that the present embodiment is provided can pass through being implemented in combination with into for software, hardware or both
All or part of for server.The device includes:
Operation monitoring module 810, for monitoring operation of the user account number in social business domains.
Authorize generation module 820, for when operation is scheduled operation, be third-party application server generate award
Power information.
Sending module 830 is authorized, for third-party application server providing authorization information.
Alternatively, sending module 830 is authorized, including:
Resource acquisition unit 831, for obtaining uniform resource position mark URL, URL is existed by user account number
Operation in social business domains is triggered when being scheduled operation;
Adding device 832 is authorized, for authorization message to be added into URL;
Resource transmitting element 833, for sending URL to third-party application server, URL carries mandate
Information.
Receiver module 840 is called, for receiving call request of the third-party application server to predetermined API, in advance
It is for by third-party application server borrowing user account number, performance objective to be operated in social business domains to determine API
API.
Operation executing module 850, for when call request carries authorization message, using user account number as
The account number of tripartite's application server, third-party application server performs mesh with user account number in social business domains
Mark operation.
Alternatively, operation executing module 850, including:
Detector unit 851 is authorized, for detecting whether call request carries authorization message.
Information Authentication unit 852, for when call request carries authorization message, whether checking authorization message
Conform to a predetermined condition.
Carry in authorization message using limiting, included using restriction:Access times and/or use time;
Alternatively, user account number is carried in authorization message.
Alternatively, Information Authentication unit 852, for verifying the access times of authorization message whether less than predetermined time
Number.
Alternatively, Information Authentication unit 852, is additionally operable to verify whether the use time of authorization message meets predetermined
Time period.
Alternatively, Information Authentication unit 852, is additionally operable to verify whether the user account number that authorization message is carried makes a living
Into user account number corresponding during authorization message.
Alternatively, object run is account number using user account number as third-party application server in target group
In release news or return information;Target group is the group that user account number is located;
Alternatively, object run is account number using user account number as third-party application server to targeted customer
Account number releases news or return information;Targeted customer's account number is the good friend or follower of user account number;
Alternatively, object run is account number using user account number as third-party application server in user account number
Personal spacial flex in release news or return information.
API response units 853, for when authorization message conforms to a predetermined condition, using user account number as the 3rd
The performance objective operation in social business domains of the account number of square application server.
In sum, the API Calls device that the present embodiment is provided, by social interaction server device user account number is monitored
Operation in social business domains;When the operation is scheduled operation, social interaction server device is third-party application clothes
Business device generates authorization message;Social interaction server device is to third-party application server providing authorization information;Social interaction server
Device receives call request of the third-party application server to predetermined API, and the predetermined API is for by third party
Application server borrows the API of user account number performance objective operation in social business domains;Carry in call request
When having authorization message, account number of the social interaction server device using the user account number as third-party application server is in the society
Hand over performance objective operation in business domains;Solve makes because third-party application server can directly invoke API
Released news with corresponding user account number, need not move through the mandate of user account number, so potential safety hazard can be produced
Problem;Reached third-party application server after user account number mandate, using the user account number as
The performance objective operation in the social business domains of the account number of third-party application server, strengthens the effect of security.
Using for carrying in authorization message is limited, and solves abuse of the third-party application server to API, is sent out
Marketing message etc. is sent, while also solving third-party application server is performed a plurality of times identical object run, is made
Into server resource waste, reached reduction server resource and wasted and avoid third-party application server
Send the effect of information wantonly in the case of user account number is undelegated;
The user account number carried in authorization message, solves third-party application server and directly invokes API, it is impossible to
Distinguish this and call whether relevant with the user operation problem of scene, reach the user's account carried in authorization message
Number, it is easy to the effect of the analysis to user account number and proof.
Figure 10 is refer to, the structure square frame of the API Calls device of one embodiment of the invention offer is provided
Figure.The API Calls device that the present embodiment is provided can pass through being implemented in combination with into for software, hardware or both
All or part of for server.The device includes:
Receiver module 1010 is authorized, for receiving the authorization message of social interaction server device offer, authorization message is society
The information for handing over operation of the server in monitoring user account number in social business domains to be generated when being scheduled operation.
Call generation module 1020, for generating call request to predetermined API, predetermined API be for
The API of user account number performance objective operation in social business domains, call request carries authorization message.
Sending module 1030 is called, for sending call request to social interaction server device.
In sum, the API Calls device that the present embodiment is provided, by third-party application server society is received
The authorization message for handing over server to provide, authorization message is that social interaction server device is monitoring user account number in social business
The information that operation in domain is generated when being scheduled operation;Third-party application server is generated to predetermined API's
Call request, predetermined API be for user account number in social business domains performance objective operation API,
Call request carries authorization message;Third-party application server to social interaction server device sends call request;Solution
Determine and released news using corresponding user account number because third-party application server can directly invoke API,
The mandate of user account number is needed not move through, so the problem of potential safety hazard can be produced;Third-party application clothes are reached
Business device after user account number mandate, using the user account number as the account number of third-party application server at this
Performance objective operation in social business domains, strengthens the effect of security.
Figure 11 is refer to, the structure side of the API Calls device of another embodiment of the present invention offer is provided
Block diagram.The API Calls device that the present embodiment is provided can pass through being implemented in combination with for software, hardware or both
Become server all or part of.The device includes:
Receiver module 1010 is authorized, for receiving the authorization message of social interaction server device offer, authorization message is society
The information for handing over operation of the server in monitoring user account number in social business domains to be generated when being scheduled operation.
Alternatively, receiver module 1010 is authorized, including:
Resource receiving unit 1011, for receiving the uniform resource position mark URL of social interaction server device transmission, URL
It is that operation by user account number in social business domains is triggered when being scheduled operation, URL carries mandate letter
Breath.
Acquiring unit 1012 is authorized, for obtaining authorization message from URL.
Alternatively, carry in authorization message using limiting, included using restriction:Access times and/or use
Time;
Alternatively, user account number is carried in authorization message.
Page feedback unit 1013, it is social for the corresponding pagefiles of URL to be fed back to into social interaction server device
Pagefile is fed back to user account number by server.
Call generation module 1020, for generating call request to predetermined API, predetermined API be for
The API of user account number performance objective operation in social business domains, call request carries authorization message.
Sending module 1030 is called, for sending call request to social interaction server device.
Alternatively, call request issues letter with user account number for third-party application server in target group
Breath or return information;Target group is the group that user account number is located;
Alternatively, call request is used for third-party application server with user account number to the issue of targeted customer's account number
Information or return information;Targeted customer's account number is the good friend or follower of user account number;
Alternatively, call request be used for third-party application server with user account number user account number personal exhibition
Show and release news in space or return information.
In sum, the API Calls device that the present embodiment is provided, by third-party application server society is received
The authorization message for handing over server to provide, authorization message is that social interaction server device is monitoring user account number in social business
The information that operation in domain is generated when being scheduled operation;Third-party application server is generated to predetermined API's
Call request, predetermined API be for user account number in social business domains performance objective operation API,
Call request carries authorization message;Third-party application server to social interaction server device sends call request;Solution
Determine and released news using corresponding user account number because third-party application server can directly invoke API,
The mandate of user account number is needed not move through, so the problem of potential safety hazard can be produced;Third-party application clothes are reached
Business device after user account number mandate, using the user account number as the account number of third-party application server at this
Performance objective operation in social business domains, strengthens the effect of security.
The access times carried in authorization message, solve third-party application server and identical mesh are performed a plurality of times
Mark operation, the waste of the server resource for causing, having reached reduces the effect that server resource is wasted;
The use time carried in authorization message, solves third-party application server and calls API at any time to society
The problem for handing over server to pose a big pressure, having reached reduces the effect of server stress.
Figure 12 is refer to, a kind of structure square frame of API Calls system provided in an embodiment of the present invention is it illustrates
Figure, the system includes:Social interaction server device 1220 and third-party application server 1240;
Social interaction server device 1220 includes embodiment as shown in Figure 8 or the arbitrary described API of embodiment illustrated in fig. 9
Calling device;
Third-party application server 1240 includes embodiment as shown in Figure 10 or the arbitrary institute of embodiment illustrated in fig. 11
The API Calls device stated.
It should be noted that:Above-described embodiment provide API Calls device in API Calls, only more than
The division for stating each functional module is illustrated, in practical application, can as desired by above-mentioned functions
Distribution is completed by different functional modules, will the internal structure of equipment be divided into different functional modules, with
Complete all or part of function described above.In addition, the device of the API Calls of above-described embodiment offer
Belong to same design with the embodiment of the method for API Calls, it implements process and refers to embodiment of the method, this
In repeat no more.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that realize all or part of step of above-described embodiment can pass through
Hardware is completing, it is also possible to which the hardware that correlation is instructed by program is completed, and described program can be stored in
In a kind of computer-readable recording medium, storage medium mentioned above can be read-only storage, disk or
CD etc..
Presently preferred embodiments of the present invention is the foregoing is only, it is all the present invention's not to limit the present invention
Within spirit and principle, any modification, equivalent substitution and improvements made etc. should be included in the present invention's
Within protection domain.
Claims (21)
1. a kind of API Calls method, it is characterised in that methods described includes:
Operation of the monitoring user account number in social business domains;
It is that third-party application server generates authorization message when the operation is scheduled operation;
The authorization message is provided to the third-party application server;
Receive call request of the third-party application server to predetermined API, the predetermined API be for
User account number performance objective in the social business domains is operated by described in the third-party application server borrowing
API;
When the call request carries the authorization message, using the user account number as the third party
The performance objective operation in the social business domains of the account number of application server.
2. method according to claim 1, it is characterised in that described to carry in the call request
During the authorization message, using the user account number as the account number of the third-party application server in the society
Performance objective operation in business domains is handed over, including:
Detect whether the call request carries the authorization message;
If the call request carries the authorization message, verify whether the authorization message meets predetermined
Condition;
If the authorization message meets the predetermined condition, should as the third party using the user account number
The performance objective operation in the social business domains with the account number of server.
3. method according to claim 2, it is characterised in that carry in the authorization message and use
Limit, the use restriction includes:Access times and/or use time;
It is described to verify whether the authorization message conforms to a predetermined condition, including:
Verify the access times of the authorization message whether less than pre-determined number;And/or, award described in checking
Whether the use time of power information meets predetermined amount of time.
4. method according to claim 2, it is characterised in that carry user in the authorization message
Account number;
It is described to verify whether the authorization message conforms to a predetermined condition, including:
Verify whether the user account number that the authorization message is carried is corresponding when generating the authorization message
The user account number.
5. according to the arbitrary described method of Claims 1-4, it is characterised in that described to the third party
Application server provides the authorization message, including:
Uniform resource position mark URL is obtained, the URL is in the social business domains by the user account number
In operation trigger when being scheduled operation;
The authorization message is added into the URL;
The URL is sent to the third-party application server, the URL carries the authorization message.
6. according to the arbitrary described method of claim 2 to 4, it is characterised in that described with user's account
Number as the third-party application server account number in the social business domains performance objective operation, including:
Released news in target group as the account number of the third-party application server using the user account number
Or return information;The target group is the group that the user account number is located;
And/or,
Issued to targeted customer's account number as the account number of the third-party application server using the user account number and believed
Breath or return information;Targeted customer's account number is the good friend or follower of the user account number;
And/or,
Using the user account number as the account number of the third-party application server the user account number individual
Release news in spacial flex or return information.
7. a kind of API Calls method, it is characterised in that methods described includes:
The authorization message that social interaction server device is provided is received, the authorization message is social interaction server device in monitoring user
The information that operation of the account number in social business domains is generated when being scheduled operation;
Generate call request to predetermined API, the predetermined API be for the user account number described
The API of performance objective operation in social business domains, the call request carries the authorization message;
The call request is sent to the social interaction server device.
8. method according to claim 7, it is characterised in that
Carry in the authorization message using limiting, the use restriction includes:Access times and/or use
Time;
And/or,
The user account number is carried in the authorization message.
9. method according to claim 7, it is characterised in that what the reception social interaction server device was provided
Authorization message, including:
The uniform resource position mark URL that the social interaction server device sends is received, the URL is by the user
Operation of the account number in the social business domains is triggered when being scheduled operation, and the URL carries described awarding
Power information;
The authorization message is obtained from the URL;
The corresponding pagefiles of the URL are fed back to into the social interaction server device, the social interaction server device is used for
The pagefile is fed back to into the user account number.
10. according to the arbitrary described method of claim 7 to 9, it is characterised in that
The call request is used to release news in target group with the user account number or return information;Institute
State the group that target group is that the user account number is located;
And/or,
The call request is used to release news to targeted customer's account number with the user account number or return information;
Targeted customer's account number is the good friend or follower of the user account number;
And/or,
The call request is used to be issued in the personal spacial flex of the user account number with the user account number
Information or return information.
11. a kind of API Calls devices, it is characterised in that described device includes:
Operation monitoring module, for monitoring operation of the user account number in social business domains;
Authorize generation module, for it is described operation be scheduled operation when, be third-party application server generate
Authorization message;
Sending module is authorized, for providing the authorization message to the third-party application server;
Receiver module is called, for receiving call request of the third-party application server to predetermined API,
The predetermined API is in the social industry for the user account number by described in the third-party application server borrowing
The API of performance objective operation in business domain;
Operation executing module, for when the call request carries the authorization message, with the user
Account number in the social business domains performance objective operation of the account number as the third-party application server.
12. devices according to claim 11, it is characterised in that the operation executing module, including:
Detector unit is authorized, for detecting whether the call request carries the authorization message;
Information Authentication unit, for when the call request carries the authorization message, awarding described in checking
Whether power information conforms to a predetermined condition;
API response units, for when the authorization message meets the predetermined condition, with the user account number
As account number performance objective operation in the social business domains of the third-party application server.
13. devices according to claim 12, it is characterised in that carrying in the authorization message makes
With restriction, the use restriction includes:Access times and/or use time;
Described information authentication unit, for verifying the access times of the authorization message whether less than predetermined
Number of times;
And/or,
Described information authentication unit, is additionally operable to verify whether the use time of the authorization message meets pre-
Fix time section.
14. devices according to claim 12, it is characterised in that carry use in the authorization message
Family account number;
Described information authentication unit, for verifying whether the user account number that the authorization message is carried makes a living
Into the user account number corresponding during the authorization message.
15. according to the arbitrary described device of claim 11 to 14, it is characterised in that the mandate sends
Module, including:
Resource acquisition unit, for obtaining uniform resource position mark URL, the URL is by user's account
Operation number in the social business domains is triggered when being scheduled operation;
Adding device is authorized, for the authorization message to be added into the URL;
Resource transmitting element, for sending the URL to the third-party application server, the URL takes
With the authorization message.
16. according to the arbitrary described device of claim 12 to 14, it is characterised in that
The operation executing module, for the account using the user account number as the third-party application server
Number release news in target group or return information;The target group is the group that the user account number is located
Group;
And/or,
The operation executing module, for the account using the user account number as the third-party application server
Number release news to targeted customer's account number or return information;Targeted customer's account number is the user account number
Good friend or follower;
And/or,
The operation executing module, for the account using the user account number as the third-party application server
Number release news or return information in the personal spacial flex of the user account number.
17. a kind of API Calls devices, it is characterised in that described device includes:
Receiver module is authorized, for receiving the authorization message of social interaction server device offer, the authorization message is society
The information for handing over operation of the server in monitoring user account number in social business domains to be generated when being scheduled operation;
Call generation module, for generating call request to predetermined API, the predetermined API be for
The API of user account number performance objective operation in the social business domains, the call request is carried
State authorization message;
Sending module is called, for sending the call request to the social interaction server device.
18. devices according to claim 17, it is characterised in that
Carry in the authorization message using limiting, the use restriction includes:Access times and/or use
Time;
And/or,
The user account number is carried in the authorization message.
19. devices according to claim 17, it is characterised in that the mandate receiver module, including:
Resource receiving unit, for receiving the uniform resource position mark URL that the social interaction server device sends, institute
It is that operation by the user account number in the social business domains is triggered when being scheduled operation to state URL, institute
State URL and carry the authorization message;
Acquiring unit is authorized, for obtaining the authorization message from the URL;
Page feedback unit, for the corresponding pagefiles of the URL to be fed back to into the social interaction server device,
The pagefile is fed back to the user account number by the social interaction server device.
20. according to the arbitrary described device of claim 17 to 19, it is characterised in that
The call request is used to release news in target group with the user account number or return information;Institute
State the group that target group is that the user account number is located;
And/or,
The call request is used to release news to targeted customer's account number with the user account number or return information;
Targeted customer's account number is the good friend or follower of the user account number;
And/or,
The call request is used to be issued in the personal spacial flex of the user account number with the user account number
Information or return information.
21. a kind of API Calls systems, it is characterised in that the system includes:Social interaction server device and the 3rd
Square application server;
The social interaction server device includes the API Calls device as described in claim 11 to 16 is arbitrary;
The third-party application server includes the API Calls device as described in claim 17 to 20 is arbitrary.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510660593.9A CN106603462B (en) | 2015-10-13 | 2015-10-13 | API calling method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510660593.9A CN106603462B (en) | 2015-10-13 | 2015-10-13 | API calling method, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106603462A true CN106603462A (en) | 2017-04-26 |
CN106603462B CN106603462B (en) | 2020-09-04 |
Family
ID=58552837
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510660593.9A Active CN106603462B (en) | 2015-10-13 | 2015-10-13 | API calling method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106603462B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018196686A1 (en) * | 2017-04-27 | 2018-11-01 | 威富通科技有限公司 | Service response method and middleware thereof |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102638473A (en) * | 2012-05-04 | 2012-08-15 | 盛趣信息技术(上海)有限公司 | User data authorization method, device and system |
CN102664933A (en) * | 2012-04-06 | 2012-09-12 | 中国联合网络通信集团有限公司 | User authorization method, application terminal, open platform and system |
US20130014222A1 (en) * | 2011-07-06 | 2013-01-10 | Manish Bhatia | Social content monitoring platform methods |
CN102904798A (en) * | 2012-09-27 | 2013-01-30 | 腾讯科技(深圳)有限公司 | Data interaction method and device |
CN102929947A (en) * | 2012-09-27 | 2013-02-13 | 腾讯科技(深圳)有限公司 | Data processing method and device |
CN104144196A (en) * | 2013-07-05 | 2014-11-12 | 腾讯科技(深圳)有限公司 | Webpage information sharing method, device and server |
CN104333599A (en) * | 2014-11-06 | 2015-02-04 | 北京奇虎科技有限公司 | Application sharing method and system and application service platform |
CN104601641A (en) * | 2014-05-23 | 2015-05-06 | 腾讯科技(深圳)有限公司 | Application link sharing method, device and system |
CN104702650A (en) * | 2013-12-10 | 2015-06-10 | 腾讯科技(北京)有限公司 | Method and device for acquiring application pages |
-
2015
- 2015-10-13 CN CN201510660593.9A patent/CN106603462B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130014222A1 (en) * | 2011-07-06 | 2013-01-10 | Manish Bhatia | Social content monitoring platform methods |
CN102664933A (en) * | 2012-04-06 | 2012-09-12 | 中国联合网络通信集团有限公司 | User authorization method, application terminal, open platform and system |
CN102638473A (en) * | 2012-05-04 | 2012-08-15 | 盛趣信息技术(上海)有限公司 | User data authorization method, device and system |
CN102904798A (en) * | 2012-09-27 | 2013-01-30 | 腾讯科技(深圳)有限公司 | Data interaction method and device |
CN102929947A (en) * | 2012-09-27 | 2013-02-13 | 腾讯科技(深圳)有限公司 | Data processing method and device |
CN104144196A (en) * | 2013-07-05 | 2014-11-12 | 腾讯科技(深圳)有限公司 | Webpage information sharing method, device and server |
CN104702650A (en) * | 2013-12-10 | 2015-06-10 | 腾讯科技(北京)有限公司 | Method and device for acquiring application pages |
CN104601641A (en) * | 2014-05-23 | 2015-05-06 | 腾讯科技(深圳)有限公司 | Application link sharing method, device and system |
CN104333599A (en) * | 2014-11-06 | 2015-02-04 | 北京奇虎科技有限公司 | Application sharing method and system and application service platform |
Non-Patent Citations (1)
Title |
---|
TAIYANGYU0421: "怎么把qq空间日志分享到微信", 《百度经验,HTTPS://JINGYAN.BAIDU.COM/ARTICLE/7F41ECECF61C4D593D095C04.HTML》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018196686A1 (en) * | 2017-04-27 | 2018-11-01 | 威富通科技有限公司 | Service response method and middleware thereof |
Also Published As
Publication number | Publication date |
---|---|
CN106603462B (en) | 2020-09-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114342319B (en) | Method, medium, and system for computer security | |
CN103891246B (en) | Webpage real-time Communication for Power call transfer method and device | |
US9183502B2 (en) | Rule based content modification and interaction platform | |
CN105847988B (en) | Video sharing method and apparatus | |
US8578448B2 (en) | Identifying guests in web meetings | |
US10050899B2 (en) | Data processing method, apparatus, client, server and system | |
CN103220344B (en) | Microblogging licenses method and system | |
US10848579B2 (en) | Systems, apparatuses, and methods for intelligent network communication and engagement | |
CN103763113B (en) | Live network broadcast method and device and server | |
CN110288328A (en) | Virtual objects sending method, method of reseptance, device, equipment and storage medium | |
Valluripally et al. | Modeling and defense of social virtual reality attacks inducing cybersickness | |
US20150244748A1 (en) | Enhancing collaboration in real-time group chat system and method | |
CN112988013B (en) | Information interaction method and device and storage medium | |
CN105871996A (en) | Message pushing system and method | |
CN110198489A (en) | A kind of multigroup group audio-video-interactive method and system | |
US20160261647A1 (en) | Method, system and apparatus for inviting users to participate in an interactive session | |
CN105554750B (en) | A kind of transmission method and terminal of data frame | |
CN113783869A (en) | Sharing link-based cloud application sharing method and device, storage medium and equipment | |
CN106603462A (en) | API calling method, device and system | |
CN105138872A (en) | Method and apparatus for displaying menu page | |
CN108574878A (en) | Data interactive method and device | |
CN104734934B (en) | A kind of methods, devices and systems for paying close attention to public's account | |
CN106657054B (en) | A kind of network security defence method based on virtual machine service jump | |
CN111182023B (en) | Mutual aid task processing method and system | |
CN106161196A (en) | A kind of obtain the method for HTTP message state, equipment and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |