CN110070379A - A kind of method for message transmission, device and server - Google Patents

A kind of method for message transmission, device and server Download PDF

Info

Publication number
CN110070379A
CN110070379A CN201810067580.4A CN201810067580A CN110070379A CN 110070379 A CN110070379 A CN 110070379A CN 201810067580 A CN201810067580 A CN 201810067580A CN 110070379 A CN110070379 A CN 110070379A
Authority
CN
China
Prior art keywords
field
server
class
fields
supported
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810067580.4A
Other languages
Chinese (zh)
Other versions
CN110070379B (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201810067580.4A priority Critical patent/CN110070379B/en
Publication of CN110070379A publication Critical patent/CN110070379A/en
Application granted granted Critical
Publication of CN110070379B publication Critical patent/CN110070379B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/0246Traffic
    • 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/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0611Request for offers or quotes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/06Message adaptation to terminal or network requirements
    • H04L51/066Format adaptation, e.g. format conversion or compression
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Marketing (AREA)
  • General Physics & Mathematics (AREA)
  • Economics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application provides a kind of method for message transmission, device and server, this method comprises: receiving the request message that second server is sent;From the corresponding set of fields of the second server, first kind field is obtained;Obtain the corresponding second class field of the first kind field, the corresponding parameter value of the second class field;The first kind field is the field that second server is supported, the second class field is the field that first server is supported;The response message for being directed to the request message is sent to the second server;The response message is related to the first kind field and the parameter value.By the technical solution of the application, greatly reduce the consumption of human resources.

Description

A kind of method for message transmission, device and server
Technical field
This application involves Internet technical field more particularly to a kind of method for message transmission, device and server.
Background technique
DSP (Demand Side Platform, want advertisement side's platform) be provided for advertiser across medium, across flat The advertisement launching platform of platform, cross-terminal realizes the accurate dispensing based on audient by Data Integration, analysis, and can be real-time Monitoring is continued to optimize.ADX (Ad Exchange, advertisement transaction platform) is a kind of extensive friendship for having converged various media flows Easy platform is the transaction place that DSP realizes that audient precisely buys.
DSP and ADX sends RTB to DSP by RTB (Real Time Bidding, real time bid) protocol interaction, such as ADX Resource information is supplied to DSP by request message, and DSP sends RTB response message to ADX, and bid information is supplied to ADX, ADX carries out processing of bidding according to RTB response message.
When DSP and multiple ADX are interacted, although being interacted using RTB agreement, different ADX pairs The demand of the format of RTB response message, content, it is different.For example, ADX1 can only parse the RTB response message of format A, ADX2 can only parse the RTB response message of format B.
Based on this, user needs to develop software code for each ADX, and for example ADX1 develops software code A, develops for ADX2 Software code B;DSP based on software code A to ADX1 send format A RTB response message, and DSP be based on software code B to The RTB response message of ADX2 transmission format B.
But aforesaid way needs a large amount of software codes of User Exploitation, the consumption of human resources is bigger.
Summary of the invention
The application provides a kind of method for message transmission, is applied to first server, which comprises
Receive the request message that second server is sent;
From the corresponding set of fields of the second server, first kind field is obtained;
Obtain the corresponding second class field of the first kind field, the corresponding parameter value of the second class field;The first kind Field is the field that second server is supported, the second class field is the field that first server is supported;
The response message for being directed to the request message is sent to the second server;Wherein, the response message and institute It is related to the parameter value to state first kind field.
The application provides a kind of method for message transmission, is applied to want advertisement side's platform DSP, comprising:
Receive the real time bid RTB request message that advertisement transaction platform ADX is sent;
From the corresponding set of fields of the ADX, first kind field is obtained;
Obtain the corresponding second class field of the first kind field, the corresponding parameter value of the second class field;The first kind Field is the field that the ADX is supported, the second class field is the field that the DSP is supported;
The response message for being directed to the request message, the response message and the first kind field are sent to the ADX It is related to the parameter value, so that the ADX carries out advertisement bidding processing according to the response message.
The application provides a kind of massage transmission device, is applied to first server, and described device includes:
Receiving module, for receiving the request message of second server transmission;
Module is obtained, for obtaining first kind field, and obtain institute from the corresponding set of fields of the second server State the corresponding second class field of first kind field, the corresponding parameter value of the second class field;The first kind field is second The field that server is supported, the second class field are the fields that first server is supported;
Sending module, for sending the response message for being directed to the request message to the second server;Wherein, described Response message is related to the first kind field and the parameter value.
The application provides a kind of first server, and the first server includes:
Receiver, for receiving the request message of second server transmission;
Processor, for from the corresponding set of fields of the second server, obtaining first kind field, and described in acquisition The corresponding second class field of first kind field, the corresponding parameter value of the second class field;The first kind field is second server The field of support, the second class field are the fields that first server is supported;
Transmitter, for sending the response message for being directed to the request message to the second server;Wherein, the sound Answer message related to the first kind field and the parameter value.
Based on the above-mentioned technical proposal, in the embodiment of the present application, first server is receiving asking for second server transmission After seeking message, first kind field (the i.e. word of second server support can be obtained from the corresponding set of fields of second server Section), and it is corresponding to obtain the corresponding second class field of first kind field (i.e. the field of first server support), the second class field Then parameter value sends response message relevant to the first kind field and the parameter value to second server, so that the Two servers carry out advertisement bidding processing according to the response message.Aforesaid way uses configurationization management method, to response message Corresponding first kind field and parameter value carry out assembly, greatly reduce human resources consumption, do not need a large amount of softwares of User Exploitation Code.
Detailed description of the invention
Fig. 1 is the application scenarios schematic diagram in a kind of embodiment of the application;
Fig. 2 is the flow chart of the method for message transmission in a kind of embodiment of the application;
Fig. 3 is the schematic diagram of the code field in a kind of embodiment of the application;
Fig. 4 is the flow chart of the method for message transmission in the application another embodiment;
Fig. 5 is the schematic diagram of the configuration interface in a kind of embodiment of the application;
Fig. 6 is the flow chart of the method for message transmission in the application another embodiment;
Fig. 7 is the flow chart of the method for message transmission in the application another embodiment;
Fig. 8 is the structure chart of the massage transmission device in a kind of embodiment of the application.
Specific embodiment
In term used in this application merely for the sake of for the purpose of describing particular embodiments, rather than limit the application.This Shen Please it is also intended to the "an" of singular used in claims, " described " and "the" including most forms, unless Context clearly shows that other meanings.It is also understood that term "and/or" used herein refers to comprising one or more Associated any or all of project listed may combine.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from In the case where the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, in addition, used word " if " can be construed to " ... when " or " when ... " Or " in response to determination ".
A kind of method for message transmission is proposed in the embodiment of the present application, this method can be applied to include first server and The system of two servers, the quantity of first server can be one or more, and the quantity of second server can be one A or multiple, for the convenience of description, subsequent be illustrated by taking a first server, multiple second servers as an example, this One server can be connect with each second server.Wherein, first server can include but is not limited to DSP, second service Device can include but is not limited to ADX.
It is shown in Figure 1, it is the application scenarios schematic diagram of the embodiment of the present application, above-mentioned first server can be DSP101, above-mentioned second server can be ADX102, ADX103.Certainly, Fig. 1 is the example of the application, is actually answered In, the quantity of DSP can be more, and the quantity of ADX can be more.
In one example, DSP101 and ADX102/ADX103 can pass through RTB agreement (such as OpenRTB, open reality When bid agreement) interact.Specifically, ADX102/ADX103 sends RTB request message, the RTB request message to DSP101 Resource information can be carried, i.e., for showing the resource of advertisement, such as certain position of website A, this position can show advertisement. DSP101 can send RTB response message, the RTB response message to ADX102/ADX103 after receiving RTB request message It can carry for the bid information of the resource information and advertising information etc., which can be believes for the resource The quotation of breath, such as 1.1 yuan, which, which can be, needs advertisement to be shown.ADX102/ADX103 is receiving RTB sound After answering message, if determining success of bidding according to the bid information, it can show that this is wide in the corresponding position of the resource information Accuse the corresponding advertisement of information;It, will not be in the corresponding position of the resource information if determining success of not bidding according to the bid information It sets, shows the corresponding advertisement of the advertising information.
In one example, when DSP101 and ADX102/ADX103 are interacted, although be all using RTB agreement into Row interaction, still, different ADX is different to the format of RTB response message, the demand of content, as ADX102 parses format The RTB response message of A, ADX103 parse the RTB response message etc. of format B.For example, based on the demand to RTB response message, The RTB response message that ADX102 is received can carry field A, field B and field C, and the RTB response that ADX103 is received Message can carry field A, field B, field D and field E.In another example based on the demand to RTB response message, ADX102 is connect The RTB response message received carries bidding price information, which uses " price=1.1 " to indicate, and The RTB response message that ADX103 is received also carries bidding price information, but the bidding price information uses " prices= 1.1 " indicate, and so on.
It, can be to the second class field that DSP101 is supported (for the side of differentiation in the embodiment of the present application for above-mentioned discovery Just, the DSP101 field supported can be known as the second class field) it encodes, obtain corresponding second field of the second class field The corresponding field number of second class field (in order to distinguish conveniently, can be known as the second field number) by number.In addition, being based on ADX102/ADX103 can know the first kind that ADX102/ADX103 is supported to the format of RTB response message, the demand of content Field (in order to distinguish conveniently, the ADX102/ADX103 field supported can be known as first kind field) and first kind field The corresponding field number of first kind field (in order to distinguish conveniently, can be known as the first field volume by corresponding first field number Number).Further, the first kind field supported due to knowing ADX102/ADX103, it can be in the RTB response message Carry first kind field, such as above-mentioned price or prices.
In addition, DSP101 local record may be " bidding price=1.1 ", " bidding price " is that DSP101 is supported Two class fields, and " 1.1 " are " bidding price " corresponding parameter values, it is clear that it uses first kind field " price or prices " " 1.1 " this parameter value can not be inquired.In conclusion first kind field can also be used (such as " price or prices ") Corresponding first field number inquires the second field number corresponding with first field number, then inquire this second The corresponding second class field of field number (such as " bidding price "), in this way, can be corresponding from local search to the second class field Parameter value " 1.1 ".
After above-mentioned processing, first kind field " price or prices ", first can be carried in RTB response message The corresponding parameter value " 1.1 " of class field " price or prices ".Moreover, because above-mentioned " price or prices " is The first kind field that ADX102/ADX103 is supported, therefore, ADX102/ADX103 can correctly parse the RTB response message, from And processing of bidding is carried out based on the RTB response message.
In conclusion it is directed to each ADX, it can be based on first kind field, the first kind field corresponding first that ADX is supported The second class field, corresponding second field number of the second class field that field number and DSP are supported, to RTB response message Content carries out assembly, and the RTB response message for generating ADX support greatly reduces to provide a kind of management method of configurationization The technical costs and human cost of docking.
Below in conjunction with specific embodiment, the implementation process of above-mentioned method for message transmission is described in detail.
Shown in Figure 2, for the flow chart of the method for message transmission proposed in the embodiment of the present application, this method can be applied In first server (such as above-mentioned DSP101), this method be may comprise steps of:
Step 201, the second class field that first server is supported is obtained.
Step 202, the second class field supported for first server, obtains corresponding second field of the second class field Number is directed to each second class field, obtains corresponding second field number of the second class field.
Step 203, the corresponding relationship of the second class field and second field number is recorded in the mapping table.
In one example, above-mentioned execution sequence is intended merely to facilitate description to provide example, in practical applications, Sequence is executed between can also changing the step, with no restrictions to this execution sequence.Moreover, in other embodiments, and it is different The fixed sequence for showing and describing according to this specification is come the step of executing correlation method, step included by method can be than this It is more or less described in specification.In addition, single step described in this specification, it in other embodiments may quilt Multiple steps are decomposed into be described;Multiple steps described in this specification may also be merged into other embodiments Single step is described.
In one example, first server can execute step 201- step 203, after normal work to map The corresponding relationship of the second class field and the second field number is recorded in table.Alternatively, first server can dock first ADX When, step 201- step 203 is executed, to record the corresponding relationship of the second class field and the second field number in the mapping table.Or Person, first server can change in the second class field that itself is supported and (as supported field A before changing, and prop up after changing Hold field A and field B) when, step 201- step 203 is executed, is compiled with recording the second class field and the second field in the mapping table Number corresponding relationship.
Certainly, the above process has been merely given as several examples, for the execution opportunity of above-mentioned steps, with no restrictions, as long as Before first server communicates (first server sends response message to second server) with second server, mapping The corresponding relationship of the second class field and the second field number is recorded in table.
For step 201, in one example, first server can obtain the second class field of itself support, such as Cur, customdata, price etc..As shown in figure 3, the example for the second class field supported for first server, to the second class With no restrictions, the field that RTB response message carries may each be the second class field to field.
With continued reference to shown in Fig. 3, " id " of first row indicates requesting party's mark, related to the resource information that ADX is provided, i.e., The mark for the resource information that RTB request message carries." seatbid " of first row indicates the seat identification of bid, it is possible to understand that For the mark of RTB response message, i.e. which time bid." bidid " of first row indicates the mark of DSP." cur " table of first row Show bidding unit, such as dollar, RMB, sterling." customdata " of first row indicates user data, i.e., has with advertiser The data of pass." nbr " expression reason of not bidding of first row can provide the reasons why not bidding when DSP is without bidding.
With continued reference to shown in Fig. 3, " bid " of secondary series indicates the bid mark of advertiser." seat " of secondary series is indicated The seat identification of bid, i.e. which time bid." group " of secondary series indicates group belonging to advertiser.
With continued reference to shown in Fig. 3, tertial " id " indicates the mark of advertising information, the i.e. mark for the advertisement that DSP is provided. Tertial " impid " indicates the displaying mark of advertising information, that is to say, that identifies corresponding resource location, exhibition in the displaying Show the advertising information.Tertial " price " indicates the price bidded, such as 1.1.Tertial " adid " indicates advertiser's Mark.Tertial " nurl " indicates the Notification URL after deducting fees (Uniform Resource Locator, unified resource positioning Symbol), it such as is bidding successfully and after deducting fees, is sending a notice of deducting fees to the URL, indicate success of deducting fees.Tertial " adm " table Show the address for indicating advertisement, the detailed content of advertisement can be found from the address, and show the detailed content of advertisement.It is tertial " adomain " indicates domain information.Tertial " bundle " indicates the information of binding APP (application program), this information is APP Packet name.Tertial " iurl " indicates the address URL of binding APP, can download the APP by this address URL.Third column " cid " indicate launch plan mark.Tertial " crid " indicates to launch the mark of intention.Tertial " cat " is indicated Scheme of classes.Tertial " attr " indicates intention attribute information.Tertial " dealid " indicates privately owned bid information.Third " h " of column indicates the elevation information of advertisement.The width information of tertial " w " expression advertisement.
For step 202, in one example, for the mistake of " obtaining corresponding second field number of the second class field " Journey can include but is not limited to: encoding to the second class field, obtains corresponding second field number of the second class field. Specifically, during " being encoded to the second class field, obtain corresponding second field number of the second class field ", it can To encode using pre-arranged code strategy to the second class field, corresponding second field number of the second class field is obtained.Its In, which is used for: for multiple second class fields of same rank, corresponding second word of multiple second class fields Segment number number consecutively in sequence;For the second class field that the other second class field nesting of upper level includes, nesting includes Corresponding second field number of the second class field based on the other second class field of upper level the second field number generate.
With continued reference to shown in Fig. 3, to be encoded to the second class field, obtains corresponding second field of the second class field and compile Number example.For " id " of first row, " seatbid " of first row, " bidid " of first row, " cur " of first row, One column " customdata ", first row " nbr ", be belong to multiple second class fields of same rank, therefore these second Corresponding second field number of class field number consecutively in sequence, for example, " id " corresponding second field number is 01, " seatbid " corresponding second field number is 02, and " bidid " corresponding second field number is 03, " cur " corresponding second Field number is 04, and " customdata " corresponding second field number is 05, and " nbr " corresponding second field number is 06.
For " bid " of secondary series, " seat " of secondary series, secondary series " group ", be belong to same rank multiple Second class field, moreover, these the second class fields can also be the second class word that upper level other " seatbid " nesting includes Therefore section can be based on second field number 02 of " seatbid ", generate the second field number of these the second class fields, example Such as, " bid " corresponding second field number is 0201, and " seat " corresponding second field number is 0202, and " group " is corresponding Second field number is 0203.
It is the multiple second class fields for belonging to same rank for tertial all fields, moreover, these the second class words Section can also be the second class field that upper level other " bid " nesting includes, and therefore, can be compiled based on second field of " bid " Number 0201 generates the second field number of these the second class fields, for example, " id " corresponding second field number is 020101, " impid " corresponding second field number is 020102, and " price " corresponding second field number is 020103, and " adid " is right The second field number answered is 020104, and " nurl " corresponding second field number is 020105, " adm " corresponding second field Number is 020106, and " adomain " corresponding second field number is 020107, and " bundle " corresponding second field number is 020108, " iurl " corresponding second field number is 020109, and " cid " corresponding second field number is 02010A, " crid " corresponding second field number is 02010B, and " cat " corresponding second field number is 02010C, and " attr " is corresponding Second field number is 02010D, and " dealid " corresponding second field number is 02010E, " h " corresponding second field number For 02010F, " w " corresponding second field number is 020110.
In one example, above-mentioned second field number is illustrated by taking hexadecimal as an example, in practical applications, also It can be indicated using other systems such as the decimal system, octal system, it is without limitation.Moreover, when using hexadecimal, then second Field number 01 can be expressed as 0x01, and 0201 can be expressed as 0x0201, and 020101 can be expressed as 0x020101, with such It pushes away, this second field number is repeated no more.
For step 203, in one example, after obtaining the second class field and the second field number, so that it may reflect The corresponding relationship of the second class field and the second field number is recorded in firing table, as shown in table 1.
Table 1
Certainly, mapping table shown in table 1, an only example, with no restrictions to the content of this mapping table.
Shown in Figure 4, for the flow chart of the method for message transmission proposed in the embodiment of the present application, this method can be applied In first server (such as above-mentioned DSP101), this method be may comprise steps of:
Step 401, the first kind field that the second server is supported is obtained from second server.
Step 402, which is added to the corresponding set of fields of the second server.
In one example, above-mentioned execution sequence is intended merely to facilitate description to provide example, in practical applications, Sequence is executed between can also changing the step, with no restrictions to this execution sequence.Moreover, in other embodiments, and it is different The fixed sequence for showing and describing according to this specification is come the step of executing correlation method, step included by method can be than this It is more or less described in specification.In addition, single step described in this specification, it in other embodiments may quilt Multiple steps are decomposed into be described;Multiple steps described in this specification may also be merged into other embodiments Single step is described.
In one example, first server can execute step 401- step 402 when docking second server.Or Person, second server support first kind field change (as change before support field A, and change after support field A and Field B) when, first server executes step 401- step 402.
Certainly, the above process has been merely given as several examples, for the execution opportunity of above-mentioned steps, with no restrictions, as long as Before first server communicates (first server sends response message to second server) with second server, by first Class field is added in the corresponding set of fields of the second server.
For step 401, in one example, second server can obtain the first kind field of itself support, such as Cur, price etc., and first kind field is supplied to first server, in this way, first server can be obtained from second server The first kind field for taking the second server to support, with no restrictions to this first kind field.
For step 402, in one example, for " it is corresponding that the first kind field being added to the second server The process of set of fields " can include but is not limited to such as under type: the first kind word supported for the second server got Section, corresponding first field number of the available first kind field, and the first kind field and first field number are added It is added in the corresponding set of fields of the second server.
For the process of " obtaining corresponding first field number of the first kind field ", first can be shown in configuration interface Class field, and corresponding first field number of the first kind field is inputted by user, as shown in figure 5, being one of configuration interface Schematic diagram.Wherein, in corresponding first field number of user's input first kind field, first field number and above-mentioned second Field number has corresponding relationship.Moreover, first server can also be according to first field number and second field number Corresponding relationship establish number table.
For example, user knows first kind field if the first kind field that configuration interface is shown includes prices and dealid Prices is identical as the meaning of the second class field price, therefore, inputs the first field number for first kind field prices 0xFF020103, and the first field number 0xFF020103 and the second field number 020103 have corresponding relationship, first service Device can be in the corresponding relationship of number table record the first field number 0xFF020103 and the second field number 020103.In addition, User knows that first kind field dealid is identical as the meaning of the second class field dealid, is first kind field dealid therefore Input the first field number 0xFF02010E, and the first field number 0xFF02010E and the second field number 02010E has pair It should be related to, first server is corresponding with the second field number 02010E in the first field number 0xFF02010E of number table record Relationship.
Certainly, above-mentioned 0xFF020103,0xFF02010E are an example, and user can also input other first fields Number, it is without limitation.For example, it is also possible to for first kind field prices the first field number 020103 of input, i.e., first Field number 020103 is identical as the second field number 020103, in this way, first server can also even if not generating number table To know the corresponding relationship of the first field number Yu the second field number.In another example can also be defeated for first kind field prices Enter the first field number 120103, as long as recording the first field number 120103 and the second field number 020103 in number table Corresponding relationship, first server can be known according to number table the first field number it is corresponding with the second field number close System.
It, can be using protobuf (Protocol buffers, association after obtaining first kind field and the first field number Discuss buffer area) storage mode, to store the corresponding relationship of first kind field and the first field number, it is of course also possible to use its Its storage mode stores the corresponding relationship of first kind field and the first field number, without limitation.For example, can use XML (Extensible Markup Language, extensible markup language) or JSON (JavaScript Object Notation, Java description language object tag) etc. storage modes.
By above-mentioned processing, which is known as set of fields (i.e. by an available storage organization FieldSets), each first kind field, each first kind field pair of second server support are had recorded in the set of fields The first field number answered, and the corresponding relationship including first kind field and the first field number.It can also be by set of fields sequence Column chemical conversion string, and storing after base64 is encoded into database.
In one example, when each second server is docked with first server, first server can be generated this The corresponding set of fields of two servers, i.e., each corresponding set of fields of second server.When having new second server and When one server docks, the corresponding set of fields of new second server also can be generated.
Shown in Figure 6, for the flow chart of the method for message transmission proposed in the embodiment of the present application, this method can be applied In first server (such as above-mentioned DSP101), this method be may comprise steps of:
Step 601, the request message that second server is sent is received, such as RTB request message.
Step 602, from the corresponding set of fields of the second server, first kind field is obtained.
Wherein, the first kind field is the field that the second server is supported.
Step 603, the corresponding second class field of the first kind field, the corresponding parameter value of the second class field are obtained.Its In, the second class field is the field that this first server is supported.
Step 604, the response message for being directed to the request message, the response message and the first kind are sent to second server Field is related to the parameter value.Wherein, which can be RTB response message.
In one example, the response message and the first kind field and the parameter value is related is specifically as follows: the response The first kind field and the parameter value are carried in message.
In one example, above-mentioned execution sequence is intended merely to facilitate description to provide example, in practical applications, Sequence is executed between can also changing the step, with no restrictions to this execution sequence.Moreover, in other embodiments, and it is different The fixed sequence for showing and describing according to this specification is come the step of executing correlation method, step included by method can be than this It is more or less described in specification.In addition, single step described in this specification, it in other embodiments may quilt Multiple steps are decomposed into be described;Multiple steps described in this specification may also be merged into other embodiments Single step is described.
In one example, first server can be provided in line service, when there is second server resource information (such as to exist Some live scene, live page have the resource information for showing advertisement) after, RTB can be sent to first server ask Message is sought, so that triggering first server executes step 601- step 604.
For step 602, in one example, due to having generated the corresponding set of fields of second server, and the word Each first kind field that second server support is had recorded in Duan Jihe therefore can be corresponding from the second server In set of fields, each first kind field of second server support is obtained.
For step 603, in one example, for the mistake of " obtaining the corresponding second class field of the first kind field " Journey can include but is not limited to such as under type: from the corresponding set of fields of second server, it is corresponding to obtain first kind field First field number, and determine the second field number corresponding with first field number;Then, pass through second field number Mapping table is inquired, the second class field corresponding with second field number is obtained;Wherein, mapping table is compiled for recording the second field Corresponding relationship number with the second class field.
Wherein, due to having generated the corresponding set of fields of second server, and the second clothes are had recorded in the set of fields Therefore first kind field, corresponding first field number of the first kind field that device is supported of being engaged in can be corresponded to from second server Set of fields in, obtain corresponding first field number of first kind field.The each first kind supported for second server Field can get corresponding first field number of the first kind field from set of fields, for the convenience of description, it is subsequent with It is illustrated for one first kind field.
Wherein, for the process of " determine second field number corresponding with first field number ", may include but not Be limited to: mode one determines the second field number identical with first field number.Or, mode two, by first field compile Number number of queries table, obtains the second field number corresponding with first field number;Wherein, the number table is for recording the The corresponding relationship of one field number and the second field number.
If user is that first kind field inputs the first field number, using the first field number and the second field number phase Same mode, then first server can determine the second field number identical with the first field number.
In addition, if first server generation has number table, and number table record has the first field number and the second word The corresponding relationship of segment number, then first server can be inquired after obtaining the first field number by first field number The number table, to obtain the second field number corresponding with first field number.
Wherein, by the agency of, first server generation have mapping table in the above process, and mapping table is for recording the second field Therefore the corresponding relationship of number and the second class field after obtaining the second field number, can be looked by second field number Mapping table is ask, the second class field corresponding with second field number is obtained.
It, in one example, can be with for the process of " obtain the second class field corresponding parameter value " for step 603 Including but not limited to: since the second class field is the field that first server is supported, first server can directly pass through Second class Field Inquiry local data obtains parameter value corresponding with the second class field.For example, local data include price with 1.1 yuan of corresponding relationship, in this way, when inquiring local data by the second class field price, it is available corresponding to price 1.1 yuan of parameter value.Due to not being to inquire local data using first kind field prices, there is no be unable to get The problem of correct parameter value.
Certainly, the above process is the example that the corresponding parameter value of the second class field is obtained from local data, to this mistake Journey with no restrictions, as long as the corresponding parameter value of the second class field can be obtained from local data.
For step 604, in one example, for " response for being directed to the request message to second server transmission disappears The process of breath " may include: to generate the response message for being directed to the request message, and in the response message, carrying is the second clothes The first kind field that business device is supported, rather than the second class field that first server is supported.In addition, carried in the response message Parameter value is the parameter value of the corresponding second class field of the first kind field.For example, the response message can carry first kind word Section prices and 1.1 yuan of parameter value.
Wherein, which can be RTB response message, such as BidResponse message.Response message is carried Content may include all first kind fields, these corresponding parameter values of first kind field (i.e. first that second server is supported The parameter value of the corresponding second class field of class field), for this response message carry content with no restrictions, institute as shown in Figure 3 There is the parameter value of field or part field, these fields.
Based on the above-mentioned technical proposal, in the embodiment of the present application, first server is receiving asking for second server transmission After seeking message, first kind field can be obtained from the corresponding set of fields of second server, and it is corresponding to obtain first kind field The second class field, the corresponding parameter value of the second class field, to second server send it is related to first kind field and parameter value Response message, make second server according to the response message carry out advertisement bidding processing.Aforesaid way is managed using configurationization Method carries out assembly to the corresponding first kind field of response message and parameter value, greatly reduces human resources consumption, does not need to use A large amount of software codes are developed at family.
Based on similarly applying conceiving with the above method, a kind of method for message transmission is also provided in the embodiment of the present application, it should Method can be applied to DSP, shown in Figure 7, be the flow diagram of this method.
Step 701, the RTB request message that ADX is sent is received.
Step 702, from the corresponding set of fields of the ADX, first kind field is obtained.
Step 703, the corresponding second class field of the first kind field, the corresponding parameter value of the second class field are obtained;It should First kind field is the field that ADX is supported, which is the field that DSP is supported.
Step 704, the response message for being directed to the request message, the response message and the first kind field are sent to the ADX It is related to the parameter value, so that ADX carries out advertisement bidding processing according to the response message.
Similar to the above embodiments for the process flow of step 701- step 704, it is no longer repeated.
Based on similarly applying conceiving with the above method, the embodiment of the present application provides a kind of massage transmission device, Ke Yiying Used in first server.As shown in figure 8, being the structure chart of described device, described device includes:
Receiving module 801, for receiving the request message of second server transmission;
Module 802 is obtained, for obtaining first kind field, and obtain from the corresponding set of fields of the second server Take the corresponding second class field of the first kind field, the corresponding parameter value of the second class field;The first kind field is The field that second server is supported, the second class field are the fields that first server is supported;
Sending module 803, for sending the response message for being directed to the request message to the second server;Wherein, The response message is related to the first kind field and the parameter value.
The acquisition module 802 is also used to obtain the first kind field that the second server is supported from second server, The first kind field that the second server is supported is added to the corresponding set of fields of second server;
When the first kind field for supporting the second server is added to the corresponding set of fields of second server, needle To the first kind field got, corresponding first field number of the first kind field is obtained, and by the first kind field It is added to the corresponding set of fields of second server with first field number.
The acquisition module 802 is specifically used for during the acquisition first kind field corresponding second class field, From the corresponding set of fields of the second server, corresponding first field number of the first kind field is obtained, and determine The second field number corresponding with first field number;
Mapping table is inquired by second field number, obtains the second class word corresponding with second field number Section;Wherein, the mapping table is used to record the corresponding relationship of the second field number Yu the second class field.
The acquisition module 802 is also used to before obtaining the corresponding second class field of the first kind field, for institute The second class field of first server support is stated, obtains corresponding second field number of the second class field, and in mapping table The middle corresponding relationship for recording the second class field and second field number;
During determining the second field number corresponding with first field number, compiled by first field Number number of queries table, obtains the second field number corresponding with first field number;Wherein, the number table is for recording The corresponding relationship of first field number and the second field number.
Based on similarly applying conceiving with the above method, the embodiment of the present application provides a kind of first server, and described first Server may include: receiver, processor and transmitter;Wherein, the receiver, for receiving second server transmission Request message;The processor, for obtaining first kind field, and obtain from the corresponding set of fields of the second server Take the corresponding second class field of the first kind field, the corresponding parameter value of the second class field;The first kind field is second The field that server is supported, the second class field are the fields that first server is supported;The transmitter, for being taken to described second Business device sends the response message for being directed to the request message;The response message and the first kind field and the parameter value phase It closes.
Based on similarly applying conceiving with the above method, the embodiment of the present application also provides a kind of machine readable storage medium, Several computer instructions are stored on the machine readable storage medium, the computer instruction is performed to be located as follows Reason: the request message that second server is sent is received;From the corresponding set of fields of the second server, first kind word is obtained Section;Obtain the corresponding second class field of the first kind field, the corresponding parameter value of the second class field;The first kind field is The field that second server is supported, the second class field are the fields that first server is supported;Needle is sent to the second server To the response message of the request message;Wherein, the response message is related to the first kind field and the parameter value.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity, Or it is realized by the product with certain function.A kind of typically to realize that equipment is computer, the concrete form of computer can To be personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play In device, navigation equipment, E-mail receiver/send equipment, game console, tablet computer, wearable device or these equipment The combination of any several equipment.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this The function of each unit can be realized in the same or multiple software and or hardware when application.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, it wherein includes computer usable program code that the embodiment of the present application, which can be used in one or more, The computer implemented in computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of program product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It is generally understood that being realized by computer program instructions each in flowchart and/or the block diagram The combination of process and/or box in process and/or box and flowchart and/or the block diagram.It can provide these computer journeys Sequence instruct to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices processor with A machine is generated, so that the instruction generation executed by computer or the processor of other programmable data processing devices is used for Realize the dress for the function of specifying in one or more flows of the flowchart and/or one or more blocks of the block diagram It sets.
Moreover, these computer program instructions also can store be able to guide computer or other programmable datas processing set In standby computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates Manufacture including command device, the command device are realized in one process of flow chart or multiple processes and/or block diagram one The function of being specified in a box or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing devices, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer Or the instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram The step of function of being specified in one box or multiple boxes.
The above description is only an example of the present application, is not intended to limit this application.For those skilled in the art For, various changes and changes are possible in this application.All any modifications made within the spirit and principles of the present application are equal Replacement, improvement etc., should be included within the scope of the claims of this application.

Claims (15)

1. a kind of method for message transmission, which is characterized in that be applied to first server, which comprises
Receive the request message that second server is sent;
From the corresponding set of fields of the second server, first kind field is obtained;
Obtain the corresponding second class field of the first kind field, the corresponding parameter value of the second class field;The first kind field It is the field that second server is supported, the second class field is the field that first server is supported;
The response message for being directed to the request message is sent to the second server;Wherein, the response message and described the A kind of field is related to the parameter value.
2. the method according to claim 1, wherein described from the corresponding set of fields of the second server In, before obtaining first kind field, the method also includes:
The first kind field that the second server is supported is obtained from the second server;
The first kind field that the second server is supported is added to the corresponding set of fields of second server.
3. according to the method described in claim 2, it is characterized in that, the first kind field that the second server is supported It is added to the process of the corresponding set of fields of second server, specifically includes:
For the first kind field got, corresponding first field number of the first kind field is obtained, and by described first Class field and first field number are added to the corresponding set of fields of second server.
4. method according to claim 1 or 3, which is characterized in that
The process for obtaining the corresponding second class field of the first kind field, specifically includes:
From the corresponding set of fields of the second server, corresponding first field number of the first kind field is obtained, and Determine the second field number corresponding with first field number;
Mapping table is inquired by second field number, obtains the second class field corresponding with second field number;Institute Mapping table is stated for recording the corresponding relationship of the second field number Yu the second class field.
5. according to the method described in claim 4, it is characterized in that,
It is described obtain the corresponding second class field of the first kind field before, the method also includes:
For the second class field that the first server is supported, corresponding second field number of the second class field is obtained, And the corresponding relationship of the second class field and second field number is recorded in the mapping table.
6. according to the method described in claim 5, it is characterized in that,
The process for obtaining corresponding second field number of the second class field, specifically includes:
The second class field is encoded, corresponding second field number of the second class field is obtained.
7. according to the method described in claim 6, obtaining institute it is characterized in that, described encode the second class field The process for stating corresponding second field number of the second class field, specifically includes:
The second class field is encoded using pre-arranged code strategy, obtains corresponding second field of the second class field Number;Wherein, the pre-arranged code strategy is used for: for multiple second class fields of same rank, the multiple second class word Corresponding second field number of section number consecutively in sequence;
For the second class field that the other second class field nesting of upper level includes, the second class field that nesting includes corresponding Two field numbers are generated based on the second field number of the other second class field of the upper level.
8. according to the method described in claim 4, it is characterized in that,
The process of the determination the second field number corresponding with first field number, specifically includes:
By the first field number number of queries table, the second field number corresponding with first field number is obtained; The number table is used to record the corresponding relationship of the first field number Yu the second field number.
9. the method according to claim 1, wherein the first server specifically includes want advertisement side's platform DSP, the second server specifically include advertisement transaction platform ADX;The request message specifically includes real time bid RTB request Message, the response message specifically include RTB response message.
10. a kind of method for message transmission, which is characterized in that be applied to want advertisement side's platform DSP, comprising:
Receive the real time bid RTB request message that advertisement transaction platform ADX is sent;
From the corresponding set of fields of the ADX, first kind field is obtained;
Obtain the corresponding second class field of the first kind field, the corresponding parameter value of the second class field;The first kind field It is the field that the ADX is supported, the second class field is the field that the DSP is supported;
The response message for being directed to the request message, the response message and the first kind field and institute are sent to the ADX Parameter value correlation is stated, so that the ADX carries out advertisement bidding processing according to the response message.
11. a kind of massage transmission device, which is characterized in that be applied to first server, described device includes:
Receiving module, for receiving the request message of second server transmission;
Module is obtained, for from the corresponding set of fields of the second server, obtains first kind field, and obtains described the The corresponding second class field of a kind of field, the corresponding parameter value of the second class field;The first kind field is second service The field that device is supported, the second class field are the fields that first server is supported;
Sending module, for sending the response message for being directed to the request message to the second server;Wherein, the response Message is related to the first kind field and the parameter value.
12. device according to claim 11, which is characterized in that
The acquisition module, is also used to obtain the first kind field that the second server is supported from second server, and by institute The first kind field for stating second server support is added to the corresponding set of fields of second server;
When the first kind field for supporting the second server is added to the corresponding set of fields of second server, for obtaining The first kind field got, obtains corresponding first field number of the first kind field, and by the first kind field and institute It states the first field number and is added to the corresponding set of fields of second server.
13. device according to claim 11 or 12, which is characterized in that
The acquisition module is specifically used for during obtaining the first kind field corresponding second class field, from described In the corresponding set of fields of second server, obtain corresponding first field number of the first kind field, and it is determining with it is described Corresponding second field number of first field number;
Mapping table is inquired by second field number, obtains the second class field corresponding with second field number;Its In, the mapping table is used to record the corresponding relationship of the second field number Yu the second class field.
14. device according to claim 13, which is characterized in that
The acquisition module is also used to before obtaining the corresponding second class field of the first kind field, for described first The second class field that server is supported obtains corresponding second field number of the second class field, and records in the mapping table The corresponding relationship of the second class field and second field number;
During determining the second field number corresponding with first field number, looked by first field number Number table is ask, the second field number corresponding with first field number is obtained;Wherein, the number table is for recording first The corresponding relationship of field number and the second field number.
15. a kind of first server, which is characterized in that the first server includes:
Receiver, for receiving the request message of second server transmission;
Processor, for obtaining first kind field, and obtain described first from the corresponding set of fields of the second server The corresponding second class field of class field, the corresponding parameter value of the second class field;The first kind field is that second server is supported Field, the second class field be first server support field;
Transmitter, for sending the response message for being directed to the request message to the second server;Wherein, the response disappears It ceases related to the first kind field and the parameter value.
CN201810067580.4A 2018-01-24 2018-01-24 Message transmission method, device and server Active CN110070379B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810067580.4A CN110070379B (en) 2018-01-24 2018-01-24 Message transmission method, device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810067580.4A CN110070379B (en) 2018-01-24 2018-01-24 Message transmission method, device and server

Publications (2)

Publication Number Publication Date
CN110070379A true CN110070379A (en) 2019-07-30
CN110070379B CN110070379B (en) 2024-03-12

Family

ID=67365535

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810067580.4A Active CN110070379B (en) 2018-01-24 2018-01-24 Message transmission method, device and server

Country Status (1)

Country Link
CN (1) CN110070379B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112230983A (en) * 2020-10-15 2021-01-15 上海宏路数据技术股份有限公司 Information processing method, electronic device, and medium
CN112991023A (en) * 2021-04-22 2021-06-18 深圳华锐金融技术股份有限公司 Order data processing method and device, computer equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7010503B1 (en) * 2000-03-10 2006-03-07 Ams Services, Inc. Traffic reduction in networked data collection
EP1906608A1 (en) * 2006-09-30 2008-04-02 Samsung Electronics Co., Ltd. Apparatus and method for interfacing in a communication system
CN103491146A (en) * 2013-09-10 2014-01-01 百川通联(北京)网络技术有限公司 Method, device and system for releasing network information
WO2014145905A2 (en) * 2013-03-15 2014-09-18 Brightroll, Inc. Compact data interface for real time bidding in digital video advertisement systems
CN104102655A (en) * 2013-04-09 2014-10-15 腾讯科技(北京)有限公司 Method, system and device for releasing media information
US20140358680A1 (en) * 2013-06-04 2014-12-04 Chacha Search, Inc. Method and system for advertisements in responses
CN106846062A (en) * 2017-01-22 2017-06-13 腾讯科技(深圳)有限公司 A kind of control method, the advertisement transaction platform of the advertisement exposure frequency
CN107171970A (en) * 2017-05-05 2017-09-15 湖南快乐阳光互动娱乐传媒有限公司 Method and system for advertisement delivery in real-time bidding system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7010503B1 (en) * 2000-03-10 2006-03-07 Ams Services, Inc. Traffic reduction in networked data collection
EP1906608A1 (en) * 2006-09-30 2008-04-02 Samsung Electronics Co., Ltd. Apparatus and method for interfacing in a communication system
WO2014145905A2 (en) * 2013-03-15 2014-09-18 Brightroll, Inc. Compact data interface for real time bidding in digital video advertisement systems
CN104102655A (en) * 2013-04-09 2014-10-15 腾讯科技(北京)有限公司 Method, system and device for releasing media information
US20140358680A1 (en) * 2013-06-04 2014-12-04 Chacha Search, Inc. Method and system for advertisements in responses
CN103491146A (en) * 2013-09-10 2014-01-01 百川通联(北京)网络技术有限公司 Method, device and system for releasing network information
CN106846062A (en) * 2017-01-22 2017-06-13 腾讯科技(深圳)有限公司 A kind of control method, the advertisement transaction platform of the advertisement exposure frequency
CN107171970A (en) * 2017-05-05 2017-09-15 湖南快乐阳光互动娱乐传媒有限公司 Method and system for advertisement delivery in real-time bidding system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112230983A (en) * 2020-10-15 2021-01-15 上海宏路数据技术股份有限公司 Information processing method, electronic device, and medium
CN112991023A (en) * 2021-04-22 2021-06-18 深圳华锐金融技术股份有限公司 Order data processing method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN110070379B (en) 2024-03-12

Similar Documents

Publication Publication Date Title
US10341271B2 (en) Method, system and recording medium for communicating and displaying content in a messenger application
CN106471543B (en) User's cross-correlation across multiple applications on client device
CN109639636A (en) Business datum forwarding, business data processing method, device and electronic equipment
KR20100048571A (en) Method, apparatus and system for providing muti user-multi service
CN104639426A (en) Method and device for adding group members
CN109992732A (en) Information sharing method, device, electronic equipment and storage medium
CN106686105A (en) Method of pushing messages, computing device, server and information sharing system
Treiber et al. Tweetflows: flexible workflows with twitter
CN110070379A (en) A kind of method for message transmission, device and server
CN109218447A (en) Media file distribution method and file distributing platform
EP1225776A2 (en) Mobile communication device and data communication method using the same
KR102150780B1 (en) Service processing method and apparatus
US11521250B2 (en) Method and apparatus for providing digital product using user account synchronization
CN110740418A (en) Method and device for generating user visit information
CN109218272A (en) Media content method for pushing, device, server, system and storage medium
CN111338642B (en) Method, device, terminal and storage medium for determining application download path
CN109471902A (en) A kind of database switching method, device, equipment and system
CN114549137A (en) Request processing method and device
KR101135199B1 (en) Method and system for providing social network online education service with location information of mobile terminal
CN112612401A (en) Prompt message processing method, device, system, equipment and storage medium
JP2010026625A (en) Exclusive money transaction system and management server
CN109462868A (en) The method and apparatus of wireless access point inquiry target information
KR101736778B1 (en) Method, system and computer-readable recording medium for providing users with help for offline activities in online social network to promote online social activities as well as offline ones
CN107977197A (en) A kind of enterprise interaction system and design method based on WEB
CN110121152B (en) Target user position information management method, device and system and electronic equipment

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40010992

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant