CN112395024B - Interface calling method and related device - Google Patents

Interface calling method and related device Download PDF

Info

Publication number
CN112395024B
CN112395024B CN202011427469.5A CN202011427469A CN112395024B CN 112395024 B CN112395024 B CN 112395024B CN 202011427469 A CN202011427469 A CN 202011427469A CN 112395024 B CN112395024 B CN 112395024B
Authority
CN
China
Prior art keywords
request
target
platform
parameter library
identification value
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.)
Active
Application number
CN202011427469.5A
Other languages
Chinese (zh)
Other versions
CN112395024A (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.)
Shanghai Yishijie Information Technology Group Co ltd
Original Assignee
Shanghai Yishijie Information Technology Group 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 Shanghai Yishijie Information Technology Group Co ltd filed Critical Shanghai Yishijie Information Technology Group Co ltd
Priority to CN202011427469.5A priority Critical patent/CN112395024B/en
Publication of CN112395024A publication Critical patent/CN112395024A/en
Application granted granted Critical
Publication of CN112395024B publication Critical patent/CN112395024B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0242Determining effectiveness of advertisements
    • G06Q30/0244Optimization

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application discloses an interface calling method and a related device, a delivery request of a target platform corresponding to a content resource is obtained, a target request parameter of the target platform corresponding to a target identification value is obtained from a request parameter library in a matching mode according to a platform identification of the target platform and the target identification value determined through the delivery request, and a platform interface of the target platform is called according to the target request parameter, so that delivery of the content resource is achieved. Therefore, the request parameters with the same function in the platforms to be launched have the same identification value, so that the difference of the protocol definitions of each platform interface is eliminated, the target request parameters of the target platform corresponding to the target identification value can be obtained from the request parameter library in a matching manner, the launching of the content resources is processed without carrying out a hard coding manner according to the protocol definitions of each platform interface, and the launching efficiency of the content resources is improved.

Description

Interface calling method and related device
Technical Field
The present application relates to the field of data processing, and in particular, to an interface calling method and a related apparatus.
Background
With the normalization of the content resource delivery environment, an advertisement delivery platform (ADX) of each large-flow provider opens the calling authority of the marking API, and hopefully, the automatic delivery management of content resources such as advertisements can be realized comprehensively through the marking API, so as to solve the problems of low working efficiency, decision delay and the like caused by the fact that an advertisement delivery operator needs to continuously switch to deliver on each ADX under the original working condition;
however, because the protocol definitions of the keying API interfaces of the large-traffic providers are different, not only the same name may have different definition manners, but also the number of personalized definition fields is very large, in the related art, only a single hard-coding manner for each traffic provider can be implemented to handle the release of content resources, the release efficiency is low, and the original intention of opening the call authority is contradicted.
Disclosure of Invention
In order to solve the technical problem, the present application provides an interface calling method and a related apparatus, which are used for improving the efficiency of content resource delivery.
The embodiment of the application discloses the following technical scheme:
in one aspect, the present application provides an interface calling method, including:
acquiring a release request of a content resource corresponding to a target platform, wherein the target platform is one of a plurality of platforms to be released;
according to the platform identification of the target platform and the target identification value determined by the launching request, the target request parameters of the target platform corresponding to the target identification value are obtained from the request parameter library in a matching mode, and the request parameters with the same function in the platforms to be launched in the request parameter library have the same identification value;
and calling a platform interface of the target platform according to the target request parameter so as to release the content resource.
Optionally, the method further includes:
acquiring request parameters of platform interfaces of the platforms to be launched;
according to the function of the request parameter, allocating the same identification value to the request parameter with the same function;
and establishing a request parameter library according to the identification value, wherein the request parameter library defines request parameters of different functions in different platforms to be launched through a uniform identification value rule.
Optionally, the request parameter library includes a public parameter library and a personalized parameter library, where the public parameter library includes request parameters with the same function in the multiple platforms to be launched, and the personalized parameter library includes request parameters with personalized function in the multiple platforms to be launched.
Optionally, the obtaining, by matching according to the platform identifier of the target platform and the target identifier value determined by the delivery request, the target request parameter of the target platform corresponding to the target identifier value from the request parameter library includes:
determining the target identification value corresponding to the release request through the release request;
matching the public parameter library according to the target identification value;
if the residual identification value is not matched with the request parameter through the public parameter library, matching the personalized parameter library according to the residual identification value, wherein the residual identification value is part or all of the target identification value;
and generating the target request parameter according to the request parameter corresponding to the platform identifier determined from the public parameter library and the personalized parameter library.
Optionally, the request parameter library is a distributed storage system based on key-value pairs, and the key-value pairs include data pairs of identification values and request parameters.
In another aspect, the present application provides an interface calling apparatus, including: the device comprises a first acquisition unit, a matching unit and a calling unit;
the first obtaining unit is used for obtaining a releasing request of a target platform corresponding to the content resource, wherein the target platform is one of a plurality of platforms to be released;
the matching unit is used for matching and obtaining target request parameters of the target platform corresponding to the target identification values from the request parameter library according to the platform identification of the target platform and the target identification values determined through the release request, and the request parameters with the same function in the platforms to be released in the request parameter library have the same identification values;
and the calling unit is used for calling a platform interface of the target platform according to the target request parameter so as to release the content resource.
Optionally, the apparatus further comprises: the system comprises a second acquisition unit, a distribution unit and an establishment unit;
the second obtaining unit is configured to obtain request parameters of platform interfaces of the multiple platforms to be launched;
the allocation unit is used for allocating the same identification value to the request parameters with the same function according to the function of the request parameters;
the establishing unit is used for establishing a request parameter library according to the identification value, and the request parameter library defines request parameters of different functions in different platforms to be launched through a uniform identification value rule.
Optionally, the request parameter library includes a public parameter library and a personalized parameter library, where the public parameter library includes request parameters with the same function in the multiple platforms to be launched, and the personalized parameter library includes request parameters with personalized function in the multiple platforms to be launched.
Optionally, the matching unit is configured to:
determining the target identification value corresponding to the release request through the release request;
matching the public parameter library according to the target identification value;
if the residual identification value is not matched with the request parameter through the public parameter library, matching the personalized parameter library according to the residual identification value, wherein the residual identification value is part or all of the target identification value;
and generating the target request parameter according to the request parameter corresponding to the platform identifier determined from the public parameter library and the personalized parameter library.
Optionally, the request parameter library is a distributed storage system based on key-value pairs, and the key-value pairs include data pairs of identification values and request parameters.
In another aspect, the present application provides a computer device comprising a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to perform the method of the above aspect according to instructions in the program code.
In another aspect the present application provides a computer readable storage medium for storing a computer program for performing the method of the above aspect.
According to the technical scheme, when the content resources are released on the multiple platforms to be released, the releasing request of the target platform corresponding to the content resources is obtained, the target platform is one of the multiple platforms to be released, the target request parameters of the target platform corresponding to the target identification values are obtained from the request parameter library in a matching mode according to the platform identification of the target platform and the target identification values determined through the releasing request, and the platform interface of the target platform is called according to the target request parameters, so that the releasing of the content resources is achieved. Therefore, aiming at realizing the delivery of the content resources by calling the platform interfaces, the request parameters are matched from the request parameter library through the platform identifiers and the identification values, the platform interfaces corresponding to the platforms are called through the request parameters, and because the request parameters with the same function in a plurality of platforms to be delivered have the same identification values, the difference of protocol definitions of the platform interfaces is eliminated, so that hard coding is not required to be carried out according to the protocol definitions of the platform interfaces, the platform interfaces are called through a hard coding mode, and the delivery efficiency of the content resources is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of an interface calling method according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of an interface invoking device according to an embodiment of the present disclosure;
fig. 3 is a block diagram of a computer device according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present application are described below with reference to the accompanying drawings.
Referring to fig. 1, the figure is a flowchart of an interface calling method according to an embodiment of the present application. As shown in fig. 1, the interface calling method includes the following steps:
s101: and acquiring a delivery request of the content resource corresponding to the target platform.
With the popularization of the internet, the delivery of content resources is a relatively effective information diffusion mode, wherein the content resources can be in the forms of advertisements, web page links, product pages and the like. In order to expand the information diffusion range, content resources can be released on a plurality of platforms to be released, and then information corresponding to the content resources is rapidly diffused among users of different platforms to be released, so that the purpose of user drainage is achieved.
When a plurality of platforms to be launched deliver content resources, for convenience of description, one of the platforms to be launched is taken as an example for description, and the platform is taken as a target platform to obtain a launch request of the content resources corresponding to the target platform. The delivery request may include information such as basic case specifications, promotional content, budget, user orientation, etc. The basic situation description may include a name of the delivery plan, an Identity number (ID) corresponding to the name of the delivery plan, and the like. The promotion content comprises a downloading mode (such as application downloading), a downloading link, an application package name, a conversion target (such as a user is expected to activate and add value), a release range, a release form, whether to filter the converted user, an additional creative conversion component and the like. The budget includes budget type (such as daily budget), budget amount, release date (such as long-term release), release mode (such as priority running), charging mode, conversion bid, automatic bid type (such as manual bid), whether to adjust automatic bid, depth optimization mode, etc. The user orientation includes the user's region, age, gender, etc. S102: and matching and obtaining the target request parameters of the target platform corresponding to the target identification values from the request parameter library according to the platform identification of the target platform and the target identification values determined by the release request.
Because the protocol definitions of the platform interfaces of different delivery platforms are different, not only the protocols with the same name have different definition modes, but also the personalized definition fields of different delivery platforms are very many, and in order to customer service the difference of the platform interface protocol definitions of different delivery platforms, the platform interface protocols of different delivery platforms are hard coded in the related technology so as to realize the delivery of content resources.
However, the number of platform interfaces is very large, and the hard coding of each platform interface may result in inefficient delivery of content resources. Based on this, in this embodiment, the delivery of the content resource is no longer processed in a hard coding manner, but matching is performed in the request parameter library according to the platform identifier of the target platform and the target identifier value determined by the delivery request, so as to obtain the target request parameter capable of calling the platform interface of the target platform, so as to implement the delivery of the content resource.
The request parameter library has a plurality of identification values, and the request parameters with the same function in different launching platforms have the same identification value, so that the difference of protocol definitions of each platform interface is eliminated, and the calling of the platform interface is not influenced even if the protocol definitions of the platform interfaces of different launching platforms are different. The request parameters can be determined in the request parameter library through the identification values, and the corresponding platform can be determined through the platform identification, so that the target request parameters of the platform interface of the target platform corresponding to the target identification are matched in the request parameter library, and the calling of the platform interface is realized.
One way to build the library of request parameters is described below.
The method comprises the steps of obtaining request parameters of platform interfaces of a plurality of platforms to be launched, dividing the request parameters with the same function into a class according to the function of the request parameters, and distributing the same identification value to the class. And finally, establishing a request parameter library according to the identification value.
It should be noted that the established request parameter library defines request parameters with different functions in different platforms to be launched through a uniform identification value rule, so that request parameters with the same function in a plurality of platforms to be launched have the same identification value, and even if there is a difference in protocol definitions of platform interfaces of different platforms to be launched, the request parameters can be matched in the request parameter library according to the identification values.
For example, for: the method comprises the steps of defining a protocol of a platform interface of a promotion plan, defining a platform A as 'Add', defining a platform B as 'campaignFeed', wherein the function of the promotion plan is used for storing a series of sets of similar or related promotion contents, so that the same identification value X can be distributed to the 'Add' and the 'campaignFeed' with the same function, and the platform can be obtained through the identification value X and a platform identification no matter the 'Add' or the 'campaignFeed'. For example, a platform identification identifying X and A platforms would obtain the request parameter "Add".
As a possible implementation, the request parameter library may be a key-value pair-based distributed storage system. The key value pair is a data pair composed of an identification value and a request parameter, so that the corresponding request parameter is matched in the request parameter library through the identification value. When the Key Value pair is in a Key-Value form, the identification Value is Key, and the request parameter is Value. The identification Value key and the corresponding request parameter Value are stored in the distributed storage system in the form of a data pair, see table 1, so as to obtain the request parameter Value in the distributed storage system through the identification Value key.
Table 1 Key-Value Key pair table
key value
advertiser_id 100475735
ids []
campaign_name Zhenyouji (Yujian H)
landing_type APP
status CAMPAIGN_STATUS_ENABLE
Wherein, the advertisement _ ID indicates the ID of the advertiser, the type is number, and the corresponding value is 100475735. IDs represents ad group ID filtering, type number [ ], with a corresponding value of [ ]. The campaign _ name represents the ad group name filter, type string, and corresponding value is a town siren (yu sword H). The playing _ type represents the promotion purpose of the advertisement group, the type is string, the corresponding value is APP, the STATUS represents the state of the advertisement group, the type is string, and the corresponding value is CAMPAIGN _ STATUS _ ENABLE.
As a possible implementation, the request parameter library may be further subdivided into a plurality of parameter libraries, for example, the request parameter library may include a public parameter library and a personalized parameter library. The public parameter library comprises request parameters with the same function in a plurality of platforms to be launched, and the personalized parameter library comprises request parameters with personalized function in the plurality of platforms to be launched.
As a possible implementation manner, when the request parameter library includes a public parameter library and a personalized parameter library, after obtaining a delivery request of a target platform corresponding to a content resource, determining a target identification value corresponding to the delivery request according to the delivery request, matching the target identification value in the public parameter library, and if all matching is successful, generating a target request parameter according to a request parameter corresponding to a platform identification determined from the public parameter library. When the target request parameters can be generated only by matching in the public parameter library, the retrieval efficiency is improved compared with the search of the request parameter library comprising the public parameter library and the personalized parameter library.
And if not, taking part or all of the target identification values which are not successfully matched as residual identification values, matching the residual identification values in the personalized parameter library so as to obtain the request parameters corresponding to the platform identification, which are determined by the residual identification values from the personalized parameter library, and generating the target request parameters together with the request parameters corresponding to the platform identification, which are determined from the public parameter library. By further subdividing the request parameter library into a common parameter library and a personalized parameter library, the storage pressure of the request parameter library can be reduced. For example, the public parameter library includes a request parameter a and a request parameter b, the personalized parameter library includes a request parameter c, a request parameter d, and a request parameter e, and the public parameter library and the personalized parameters may respectively constitute 6 target request parameters, such as a target request parameter ac. Obviously, only 5 request parameters need to be stored by the public parameter library and the personalized parameter library, while 6 target request parameters need to be stored by using one request parameter library.
In addition, the request parameter library is further subdivided into a public parameter library and an individualized parameter library, so that maintenance is facilitated, for example, when the request parameter a needs to be maintained, only the request parameter in the public parameter library needs to be maintained, and when one request parameter library is used, the target request parameter ac, the target request parameter ad and the target request parameter ae need to be maintained, so that the maintenance difficulty is greatly reduced.
S103: and calling a platform interface of the target platform according to the target request parameter so as to release the content resource.
After the target request parameter of the platform interface of the target platform is obtained, the platform interface of the target platform is called according to the target request parameter, and therefore the content resource is released.
According to the technical scheme, aiming at realizing the delivery of the content resources by calling the platform interfaces, the request parameters are matched from the request parameter library through the platform identifiers and the identification values, the platform interfaces corresponding to the platforms are called through the request parameters, and because the request parameters with the same function in a plurality of platforms to be delivered have the same identification value, the difference existing in the protocol definition of each platform interface is eliminated, so that hard coding is not required to be carried out according to the protocol definition of each platform interface, the platform interfaces are called through a hard coding mode, and the delivery efficiency of the content resources is improved. Meanwhile, the target request parameters required by the calling interface are matched in the request parameter library, compared with a hard coding mode, the method is easy to realize, and the identification values in the request parameter library are convenient to adjust and easy to upgrade.
Aiming at the interface calling method provided by the embodiment, the embodiment of the application also provides an interface calling device.
Referring to fig. 2, the drawing is a schematic view of an interface invoking device provided in an embodiment of the present application. As shown in fig. 2, the interface calling apparatus includes: a first acquisition unit 201, a matching unit 202 and a calling unit 203.
The first obtaining unit 201 is configured to obtain a delivery request of a content resource corresponding to a target platform, where the target platform is one of multiple platforms to be delivered;
the matching unit 202 is configured to match, according to the platform identifier of the target platform and a target identifier value determined by the launch request, a target request parameter of the target platform corresponding to the target identifier value from the request parameter library, where request parameters having the same function in the multiple platforms to be launched in the request parameter library have the same identifier value;
the invoking unit 203 is configured to invoke a platform interface of the target platform according to the target request parameter, so as to launch the content resource.
As a possible implementation manner, the apparatus further includes: the system comprises a second acquisition unit, a distribution unit and an establishment unit;
the second obtaining unit is configured to obtain request parameters of platform interfaces of the multiple platforms to be launched;
the allocation unit is used for allocating the same identification value to the request parameters with the same function according to the function of the request parameters;
the establishing unit is used for establishing a request parameter library according to the identification value, and the request parameter library defines request parameters of different functions in different platforms to be launched through a uniform identification value rule.
As a possible implementation manner, the request parameter library includes a public parameter library and a personalized parameter library, the public parameter library includes request parameters with the same function in the multiple platforms to be delivered, and the personalized parameter library includes request parameters with personalized function in the multiple platforms to be delivered.
As a possible implementation manner, the matching unit is configured to:
determining the target identification value corresponding to the release request through the release request;
matching the public parameter library according to the target identification value;
if the residual identification value is not matched with the request parameter through the public parameter library, matching the personalized parameter library according to the residual identification value, wherein the residual identification value is part or all of the target identification value;
and generating the target request parameter according to the request parameter corresponding to the platform identifier determined from the public parameter library and the personalized parameter library.
As a possible implementation manner, the request parameter library is a distributed storage system based on Key Value pairs, where the Key Value pair is a data pair composed of an identification Value and a request parameter, where when the Key Value pair is in a Key-Value form, the identification Value is a Key, and the request parameter is a Value. And storing the identification Value key and the corresponding request parameter Value in the distributed storage system in a data pair mode, so as to obtain the request parameter Value in the distributed storage system through the identification Value key.
The interface calling device provided by the above embodiment obtains a delivery request of a content resource corresponding to a target platform when delivering the content resource on a plurality of platforms to be delivered, where the target platform is one of the plurality of platforms to be delivered, obtains a target request parameter of the target platform corresponding to a target identification value by matching from a request parameter library according to a platform identification of the target platform and a target identification value determined by the delivery request, and calls a platform interface of the target platform according to the target request parameter, thereby implementing delivery of the content resource. Therefore, aiming at realizing the delivery of the content resources by calling the platform interfaces, the request parameters are matched from the request parameter library through the platform identifiers and the identification values, the platform interfaces corresponding to the platforms are called through the request parameters, and because the request parameters with the same function in a plurality of platforms to be delivered have the same identification values, the difference of protocol definitions of the platform interfaces is eliminated, so that hard coding is not required to be carried out according to the protocol definitions of the platform interfaces, the platform interfaces are called through a hard coding mode, and the delivery efficiency of the content resources is improved.
An embodiment of the present application further provides a computer device, referring to fig. 3, which shows a structural diagram of a computer device provided in an embodiment of the present application, and as shown in fig. 3, the device includes a processor 310 and a memory 320:
the memory 310 is used for storing program codes and transmitting the program codes to the processor;
the processor 320 is configured to execute any one of the interface calling methods provided by the above embodiments according to instructions in the program code.
The embodiment of the application provides a computer-readable storage medium, which is used for storing a computer program, and the computer program executes any one of the interface calling methods provided by the embodiments.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium may be at least one of the following media: various media that can store program codes, such as read-only memory (ROM), RAM, magnetic disk, or optical disk.
It should be noted that, in the present specification, all the embodiments are described in a progressive manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus and system embodiments, since they are substantially similar to the method embodiments, they are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described embodiments of the apparatus and system are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only one specific embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. An interface calling method, comprising:
acquiring a release request of a content resource corresponding to a target platform, wherein the target platform is one of a plurality of platforms to be released;
according to the platform identification of the target platform and a target identification value determined by the launching request, matching and obtaining a target request parameter of the target platform corresponding to the target identification value from a request parameter library, wherein the request parameters with the same function in the platforms to be launched in the request parameter library have the same identification value;
and calling a platform interface of the target platform according to the target request parameter so as to release the content resource.
2. The method of claim 1, further comprising:
acquiring request parameters of platform interfaces of the platforms to be launched;
according to the function of the request parameter, allocating the same identification value to the request parameter with the same function;
and establishing a request parameter library according to the identification value, wherein the request parameter library defines request parameters of different functions in different platforms to be launched through a uniform identification value rule.
3. The method according to claim 2, wherein the request parameter library comprises a public parameter library and a personalized parameter library, the public parameter library comprises request parameters with the same function in the platforms to be delivered, and the personalized parameter library comprises request parameters with personalized function in the platforms to be delivered.
4. The method according to claim 3, wherein the obtaining, by matching, a target request parameter of the target platform corresponding to the target identifier value from a request parameter library according to the platform identifier of the target platform and the target identifier value determined by the placement request, comprises:
determining the target identification value corresponding to the release request through the release request;
matching the public parameter library according to the target identification value;
if the residual identification value is not matched with the request parameter through the public parameter library, matching the personalized parameter library according to the residual identification value, wherein the residual identification value is part or all of the target identification value;
and generating the target request parameter according to the request parameter corresponding to the platform identifier determined from the public parameter library and the personalized parameter library.
5. The method of any of claims 1-4, wherein the request parameter library is a distributed storage system based on key-value pairs, the key-value pairs comprising data pairs of identification values and request parameters.
6. An interface invocation apparatus, characterized in that said apparatus comprises: the device comprises a first acquisition unit, a matching unit and a calling unit;
the first obtaining unit is used for obtaining a releasing request of a target platform corresponding to the content resource, wherein the target platform is one of a plurality of platforms to be released;
the matching unit is used for matching and obtaining target request parameters of the target platform corresponding to the target identification values from a request parameter library according to the platform identification of the target platform and the target identification values determined through the release request, wherein the request parameters with the same function in the platforms to be released in the request parameter library have the same identification values;
and the calling unit is used for calling a platform interface of the target platform according to the target request parameter so as to release the content resource.
7. The apparatus of claim 6, further comprising: the system comprises a second acquisition unit, a distribution unit and an establishment unit;
the second obtaining unit is configured to obtain request parameters of platform interfaces of the multiple platforms to be launched;
the allocation unit is used for allocating the same identification value to the request parameters with the same function according to the function of the request parameters;
the establishing unit is used for establishing a request parameter library according to the identification value, and the request parameter library defines request parameters of different functions in different platforms to be launched through a uniform identification value rule.
8. The apparatus according to claim 7, wherein the request parameter library comprises a public parameter library and a personalized parameter library, the public parameter library comprises request parameters with the same function in the platforms to be delivered, and the personalized parameter library comprises request parameters with personalized function in the platforms to be delivered.
9. A computer device, the device comprising a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to perform the method of any of claims 1-5 according to instructions in the program code.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium is used to store a computer program for performing the method of any of claims 1-5.
CN202011427469.5A 2020-12-09 2020-12-09 Interface calling method and related device Active CN112395024B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011427469.5A CN112395024B (en) 2020-12-09 2020-12-09 Interface calling method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011427469.5A CN112395024B (en) 2020-12-09 2020-12-09 Interface calling method and related device

Publications (2)

Publication Number Publication Date
CN112395024A CN112395024A (en) 2021-02-23
CN112395024B true CN112395024B (en) 2021-12-24

Family

ID=74624827

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011427469.5A Active CN112395024B (en) 2020-12-09 2020-12-09 Interface calling method and related device

Country Status (1)

Country Link
CN (1) CN112395024B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113674021A (en) * 2021-08-12 2021-11-19 北京微应软件科技有限公司 Virtual resource allocation method and device
CN114978786B (en) * 2022-05-30 2023-08-22 广州宸祺出行科技有限公司 Method and device for converting third party interface into system standard interface

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104866383A (en) * 2015-05-29 2015-08-26 北京金山安全软件有限公司 Interface calling method and device and terminal
CN109408116A (en) * 2018-10-30 2019-03-01 北京字节跳动网络技术有限公司 A kind of service identification acquisition methods, device, equipment and storage medium
CN111935177A (en) * 2020-09-23 2020-11-13 武汉中科通达高新技术股份有限公司 Service control method and device

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150186940A1 (en) * 2013-12-31 2015-07-02 Quixey, Inc. Techniques For Generating Advertisements
CN105610954B (en) * 2015-12-31 2020-11-06 腾讯科技(深圳)有限公司 Media information processing method and system
CN106228404A (en) * 2016-07-21 2016-12-14 无锡天脉聚源传媒科技有限公司 A kind of advertisement delivery system
US20180158099A1 (en) * 2016-12-01 2018-06-07 Facebook, Inc. Custom audience generation using engagement targeting
CN107464133B (en) * 2017-07-05 2021-02-23 微梦创科网络科技(中国)有限公司 Method and device for delivering advertisement
CN107948135B (en) * 2017-10-31 2020-02-21 贵州白山云科技股份有限公司 Data processing method and device supporting multiple API protocols
CN109474662B (en) * 2018-09-25 2023-04-07 中国平安人寿保险股份有限公司 Product data publishing method and device, computer equipment and storage medium
CN109816446A (en) * 2019-01-25 2019-05-28 西窗科技(苏州)有限公司 A kind of cross-platform advertisement data processing method and device
CN110691092A (en) * 2019-10-09 2020-01-14 恩亿科(北京)数据科技有限公司 Data processing method and device, electronic equipment and readable storage medium
CN111031358B (en) * 2019-12-13 2022-07-12 北京奇艺世纪科技有限公司 Data playing method and device, electronic equipment and storage medium
CN111737334A (en) * 2020-06-24 2020-10-02 深圳前海微众银行股份有限公司 Data reporting method, device, equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104866383A (en) * 2015-05-29 2015-08-26 北京金山安全软件有限公司 Interface calling method and device and terminal
CN109408116A (en) * 2018-10-30 2019-03-01 北京字节跳动网络技术有限公司 A kind of service identification acquisition methods, device, equipment and storage medium
CN111935177A (en) * 2020-09-23 2020-11-13 武汉中科通达高新技术股份有限公司 Service control method and device

Also Published As

Publication number Publication date
CN112395024A (en) 2021-02-23

Similar Documents

Publication Publication Date Title
CN112395024B (en) Interface calling method and related device
CN107679718B (en) List allocation method, apparatus and computer-readable storage medium
CN102132268A (en) Data center programming model
CN104156246B (en) The method and device of gray scale upgrading
CN110276636B (en) Advertisement batch delivery method and device, storage medium and electronic device
CN105955761A (en) Docker-based gray level issuing device and docker-based gray level issuing method
RU2012101599A (en) PROVIDING AN INDIVIDUALLY ADAPTED APPLICATION TO THE USER TERMINAL
CN111282262B (en) Game server communication method and device
CN1886976B (en) Method and apparatus for performing actions on a wireless device using action lists and versioning
CN104765609B (en) Software context resource recommendation method, acquisition methods and corresponding device
CN103516579A (en) Service system providing offline message and corresponding service method
CN110750780B (en) User role permission fusion method, device and equipment based on multi-service system
US7716678B2 (en) Processing messages in a message queueing system
CN110333851B (en) Code decoupling method and related equipment
CN110245014B (en) Data processing method and device
CN108600076A (en) A kind of social networks method for building up and system
CN111724206B (en) Advertisement processing method, responsibility chain object generating method, apparatus, device and medium
CN103914335A (en) Invoking method, equipment and system for background service
CN113177032B (en) Database-based data sharing method and system
CN106936643B (en) Equipment linkage method and terminal equipment
CN111198986B (en) Information transmission method, device, electronic equipment and storage medium
CN111680018A (en) Method, device and equipment for responding to request and readable storage medium
CN109741055A (en) Blacklist call method, device, server and storage medium
CN113204574B (en) Data processing method, device, computer readable storage medium and processor
KR20200012229A (en) System and Method for Recommending User Suitabling Application for Providing Reward Service

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