CN108289060A - A kind of data processing method and device based on RPC service - Google Patents

A kind of data processing method and device based on RPC service Download PDF

Info

Publication number
CN108289060A
CN108289060A CN201710012936.XA CN201710012936A CN108289060A CN 108289060 A CN108289060 A CN 108289060A CN 201710012936 A CN201710012936 A CN 201710012936A CN 108289060 A CN108289060 A CN 108289060A
Authority
CN
China
Prior art keywords
rpc
service
equipment
routing algorithm
target
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
CN201710012936.XA
Other languages
Chinese (zh)
Other versions
CN108289060B (en
Inventor
张�浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710012936.XA priority Critical patent/CN108289060B/en
Publication of CN108289060A publication Critical patent/CN108289060A/en
Application granted granted Critical
Publication of CN108289060B publication Critical patent/CN108289060B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/44Distributed routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • 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/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Abstract

The embodiment of the invention discloses a kind of data processing method and device based on RPC service, wherein method include:Agent service device obtains the remote procedure call protocol RPC requests that multilingual headend equipment is initiated;Destination service cluster name and routing algorithm type in RPC requests are packaged to obtain by multilingual headend equipment based on preset data storage agreement;Agent service device stores destination service cluster name and routing algorithm type in protocol analysis RPC requests according to preset data;Agent service device selection target service device information in service cluster configuration file according to destination service cluster name and routing algorithm type carries out RPC access to the corresponding destination service equipment of destination service facility information.Using the present invention, the maintenance cost to multilingual front end can be reduced.

Description

A kind of data processing method and device based on RPC service
Technical field
The present invention relates to Internet technical field more particularly to a kind of data processing methods and dress based on RPC service It sets.
Background technology
The multilingual front end of current various code speech can carry out RPC (Remote to identical back-end services Procedure Call Protocol, remote procedure call protocol) it calls, for example, being based on PHP (Hypertext Preprocessor, HyperText Preprocessor) multilingual front end can be to being based on C++ (computer programming language) after End service carries out RPC calling, and the multilingual front end based on JAVA (Object-Oriented Programming Language) can also be to the rear end based on C++ Service carries out RPC calling.Since parsing function, the routing disaster tolerance function etc. of service cluster information may be implemented in multilingual front end Deng, thus to service cluster information parsing function, routing disaster tolerance function be updated upgrading, then need for different coding The multilingual front end of language generates corresponding upgrade code respectively.For example, the multilingual front end based on PHP is needed through PHP liters Grade code is updated upgrading to parsing function, the routing disaster tolerance function of service cluster information, the multilingual front end based on JAVA It needs to be updated upgrading to parsing function, the routing disaster tolerance function of service cluster information by JAVA upgrade codes.Due to needing The upgrade code of different coding language is generated respectively to the multilingual front end of different code speech, so current is multilingual Front end will cause very high maintenance cost.
Invention content
The embodiment of the present invention provides a kind of data processing method and device based on RPC service, can reduce to multilingual The maintenance cost of front end.
An embodiment of the present invention provides a kind of data processing methods based on RPC service, including:
Agent service device obtains the remote procedure call protocol RPC requests that multilingual headend equipment is initiated;The RPC is asked Destination service cluster name and routing algorithm type in asking are to be based on preset data by the multilingual headend equipment to store agreement It is packaged;
The agent service device stores the destination service collection in RPC requests described in protocol analysis according to the preset data Group's name and routing algorithm type;
The agent service device is obtained based on local target code language in preset service cluster configuration file At least one service device information associated with the destination service cluster name, and based on the target code language default Routing algorithm set in determine the corresponding target routing algorithm of the routing algorithm type;
According to the target routing algorithm at least one service device information selection target service device information, RPC access is carried out to the corresponding destination service equipment of the destination service facility information.
Correspondingly, the embodiment of the present invention additionally provides a kind of data processing equipment based on RPC service, including:
Acquisition request module, the remote procedure call protocol RPC requests initiated for obtaining multilingual headend equipment;It is described Destination service cluster name and routing algorithm type in RPC requests are stored based on preset data by the multilingual headend equipment What agreement was packaged;
Parsing module, for storing the destination service cluster in RPC requests described in protocol analysis according to the preset data Name and routing algorithm type;
Determining module is obtained, for being obtained in preset service cluster configuration file based on local target code language At least one service device information associated with the destination service cluster name, and based on the target code language default Routing algorithm set in determine the corresponding target routing algorithm of the routing algorithm type;
Access processing module, for being selected at least one service device information according to the target routing algorithm Destination service facility information carries out RPC access to the corresponding destination service equipment of the destination service facility information.
The embodiment of the present invention obtains the remote procedure call protocol that multilingual headend equipment is initiated by agent service device RPC is asked;Destination service cluster name and routing algorithm type in RPC requests are to be based on preset data by multilingual headend equipment Storage agreement is packaged;Since agent service device can store in protocol analysis RPC requests according to preset data Destination service cluster name and routing algorithm type, so no matter the corresponding code speech of multilingual headend equipment be it is any, Agent service device can store the content in protocol identification RPC requests by preset data.Agent service device can be into One step is obtained based on local target code language in preset service cluster configuration file related to destination service cluster name At least one service device information of connection, and routing algorithm is determined in preset routing algorithm set based on target code language The corresponding target routing algorithm of type, and the selection target service at least one service device information according to target routing algorithm Facility information carries out RPC access to the corresponding destination service equipment of destination service facility information.It can be seen that need to only generate base In the upgrade code of the corresponding target code language of agent service device, you can by the upgrade code to being integrated in agency service Parsing function, the routing disaster tolerance function of service cluster information in device are updated upgrading, multiple and different without generating The upgrade code of code speech, therefore, by safeguard agent service device can reduce the maintenance to multilingual headend equipment at This.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with Obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of structural schematic diagram of network architecture provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of data processing method based on RPC service provided in an embodiment of the present invention;
Fig. 3 is a kind of time diagram of data processing method based on RPC service provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of data processing equipment based on RPC service provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of access processing module provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of another data processing equipment based on RPC service provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts Embodiment shall fall within the protection scope of the present invention.
Fig. 1 is referred to, is a kind of structural schematic diagram of network architecture provided in an embodiment of the present invention, the network architecture can To include multiple multilingual headend equipments, agent service device, multiple service equipments and statistical server, it is each it is multilingual before End equipment can be communicatively coupled by network and the agent service device, and the agent service device can pass through net Network is communicatively coupled with each service equipment respectively, and the agent service device can also pass through network and the statistical server It is communicatively coupled.The multiple multilingual headend equipment may include multilingual headend equipment based on PHP language, be based on The multilingual headend equipment of JAVA language is based on Python (the explanation type computer programming language of object-oriented) language Multilingual headend equipment and multilingual headend equipment based on other code speech.With the multilingual front end based on PHP language For equipment, the multilingual headend equipment based on PHP language can calculate the destination service cluster name based on PHP language with routing Method type is converted to the destination service cluster name and routing algorithm type that agreement is stored based on preset data, then will be based on present count According to storage agreement destination service cluster name and routing algorithm type package to RPC ask in, then by the RPC request be sent to institute Agent service device is stated, the agent service device can store in RPC requests described in protocol analysis according to the preset data Destination service cluster name and routing algorithm type, and (such as agent service device is corresponding based on local target code language Target code language be C Plus Plus) in preset service cluster configuration file obtain it is related to the destination service cluster name Connection at least one service device information, and based on the target code language in preset routing algorithm set determination described in The corresponding target routing algorithm of routing algorithm type, according to the target routing algorithm at least one service device information Middle selection target service device information, to the corresponding destination service equipment of the destination service facility information, (destination service is set Standby can be any one service equipment in multiple service equipments in Fig. 1) carry out RPC access.The agent service device Can also each RPC log informations accessed be periodically further reported into the statistical server.For other languages The multilingual headend equipment of speech can similarly realize that above-mentioned RPC is accessed by the agent service device.It can be seen that only The upgrade code based on the corresponding target code language of agent service device need to be generated, you can by the upgrade code to being integrated in Parsing function, the routing disaster tolerance function of service cluster information in agent service device are updated upgrading, without generating The upgrade code of multiple and different code speech, therefore, by safeguarding that agent service device can be reduced to multilingual headend equipment Maintenance cost.
Optionally, each multilingual headend equipment can be separately connected an agent service device, each agency service dress Above-mentioned RPC can be executed by, which setting, accesses, and the corresponding target code language all same of each agent service device is (as being all C++ Language), therefore, carried out more in parsing function, the routing disaster tolerance function to the service cluster information in each agent service device When new upgrading, the upgrade code based on the target code language also need to be only generated.
Optionally, the inside of each multilingual headend equipment can a built-in agent service device, each agency service Device can execute above-mentioned RPC and access, wherein multilingual headend equipment can be asked RPC by way of process communication It asks and passes to internal agent service device, and the corresponding target code language all same of each agent service device is (as being all C++ Language), therefore, carried out more in parsing function, the routing disaster tolerance function to the service cluster information in each agent service device When new upgrading, the upgrade code based on the target code language also need to be only generated.
Fig. 2 is referred to, is a kind of flow signal of data processing method based on RPC service provided in an embodiment of the present invention Figure, the method may include:
S201, agent service device obtain the remote procedure call protocol RPC requests that multilingual headend equipment is initiated;It is described Destination service cluster name and routing algorithm type in RPC requests are stored based on preset data by the multilingual headend equipment What agreement was packaged;
Specifically, the agent service device can be applied to the inside of the multilingual headend equipment, (such as each is more There are one agent service devices inside language headend equipment), the agent service device may be independently of described multi-lingual (such as multiple multilingual headend equipments can be communicated specific installation except speech headend equipment with an agent service device Connection or a multilingual headend equipment and an agent service device are communicatively coupled).It is in the prior art multilingual Parsing function, routing disaster tolerance function, the statistical report function of service cluster information in front end can be separated described In agent service device, i.e., the parsing function of service cluster information, routing disaster tolerance function, statistical report function are integrated into described In agent service device.Multilingual headend equipment may include the multilingual headend equipment of a variety of code speech, for example, being based on The multilingual headend equipment of PHP language has the multilingual headend equipment based on JAVA language, also has based on the more of Python Language headend equipment etc..Regardless of the corresponding code speech of multilingual headend equipment is any, these multilingual front ends are set Standby corresponding agent service device is provided with identical code speech, for example, the multilingual front end based on JAVA language is set The standby corresponding agent service device based on C Plus Plus, the multilingual headend equipment based on Python are also corresponding based on C++ The agent service device of language, due to the different corresponding code speech all sames of agent service device, so to service Parsing function, routing disaster tolerance function, the statistical report function of cluster information are updated upgrading, then need to only generate a based on C+ The upgrade code of+language, to be updated upgrading to each agent service device by the upgrade code based on C Plus Plus, from Without generating the upgrade code of multiple and different code speech, therefore, by safeguarding that agent service device can be reduced to multi-lingual Say the maintenance cost of headend equipment.
Further, in order to ensure that the RPC that agent service device can identify that multilingual headend equipment is initiated is asked, institute The destination service cluster name and routing algorithm class of front end code speech (such as PHP language) can will be based on by stating multilingual headend equipment Type is converted to the destination service cluster name and routing algorithm type that agreement is stored based on preset data, then will be deposited based on preset data In the destination service cluster name and routing algorithm type package to RPC requests of storing up agreement.The preset data stores agreement It is the agreement that the corresponding data memory format of a variety of code speech can be converted to unified preset data storage format;Tool Destination service cluster name and routing in the RPC requests that multiple multilingual headend equipments of standby different coding language are initiated respectively are calculated Method type is provided with the preset data storage format.Further, the preset data storage agreement can be specially A kind of Protobuf (Goole Protocol Buffer, structural data storage format of portable and effective) agreement, Protobuf Agreement itself is naturally to support the agreement of a variety of code speech, wherein the destination service cluster name in the RPC requests and routing Algorithm types can be one section of Protobuf protocol sequence.For example, what the multilingual headend equipment based on JAVA language was generated RPC requests can include one section of Protobuf protocol sequence, the RPC that the multilingual headend equipment based on Python is generated Request can also include one section of Protobuf protocol sequence.
Optionally, the Protobuf protocol sequences in the RPC requests can further include RPC and call number of retries Threshold value returns packet instruction information (indicating whether to need returning response message), Data Transport Protocol type, therefore, the agency After service unit gets RPC calling number of retries threshold value, time packet instruction information, Data Transport Protocol type, agency's clothes Business device can re-call the RPC interfaces when calling the failure of RPC interface time-out, reach described until re-calling number RPC calls the RPC interfaces of other service equipments further according to the target routing algorithm when calling number of retries threshold value;By described Returning packet instruction information can notify the destination service equipment needs to feed back when calling RPC successes to call success message;It is described Agent service device is also based on the Data Transport Protocol type to carry out data transmission with the destination service equipment, described Data Transport Protocol type can be TCP (Transmission Control Protocol, transmission control protocol) agreements or UDP (User Datagram Protocol, User Datagram Protocol) agreement.
S202, the agent service device store the target during RPC described in protocol analysis is asked according to the preset data Service cluster name and routing algorithm type;
Specifically, the multilingual headend equipment is sent after the RPC is asked to the agent service device (if the generation Reason service unit is built in the multilingual headend equipment, then the multilingual headend equipment will be described by inter process communication RPC requests are transferred to the agent service device), the agent service device can store agreement solution according to the preset data The destination service cluster name and routing algorithm type analysed in the RPC requests (can specifically be based on Protobuf protocol analysis institute The Protobuf protocol sequences in RPC requests are stated, to identify the destination service cluster name in the Protobuf protocol sequences With routing algorithm type).
S203, the agent service device is based on local target code language in preset service cluster configuration file At least one service device information associated with the destination service cluster name is obtained, and is existed based on the target code language The corresponding target routing algorithm of the routing algorithm type is determined in preset routing algorithm set;
Specifically, the agent service device can be based on local target code language (such as C Plus Plus) preset At least one service device information associated with the destination service cluster name is obtained in service cluster configuration file.For example, The service cluster configuration file includes multiple service cluster names and at least one service associated with each service cluster name Facility information, wherein the entitled service cluster name A of destination service cluster, and then the agent service device can be from the service Service device information a associated with the service cluster name A, service device information b, service are got in cluster configuration file Facility information c.Wherein, the service device information may include the IP port informations of service equipment.
The agent service device is based further on the target code language and is determined in preset routing algorithm set The corresponding target routing algorithm (such as consistency hash algorithm) of the routing algorithm type.
S204, according to the target routing algorithm at least one service device information selection target service equipment Information carries out RPC access to the corresponding destination service equipment of the destination service facility information;
Specifically, the agent service device can be according to the target routing algorithm at least one service equipment Selection target service device information (specifically can be according to the load of the corresponding service equipment of each service device information in information Situation is selected), and call the RPC interfaces of destination service equipment corresponding with the destination service facility information;If receiving To the destination service equipment feed back calling success message, then can the RPC interfaces based on the destination service equipment to institute It states destination service equipment and carries out RPC access, and be based further on the RPC and access the industry for obtaining the destination service equipment transmission Be engaged in data packet, and based on the preset data storage agreement business data packet is packaged, and by after encapsulation based on The business data packet of the preset data storage agreement is sent to the multilingual headend equipment, so that the multilingual front end is set The standby business data packet stored according to the preset data received by protocol analysis, and then complete the multilingual front end and set The standby RPC between the destination service equipment is accessed.Although the multilingual headend equipment and the agent service device point Not corresponding code speech is different, but the data transmitted between the multilingual headend equipment and the agent service device Agreement can be stored by the preset data to be converted, so that both sides can be to transformed based on described default The data of data storage protocols are identified.
Optionally, after the RPC interfaces for calling destination service equipment corresponding with the destination service facility information, if Detect that the RPC interface time-out for calling the destination service equipment fails, then according to the target routing algorithm it is described at least Fresh target service device information is selected in one service device information, and is called corresponding with the fresh target service device information The RPC interfaces of fresh target service equipment;If receiving the calling success message of the fresh target service equipment feedback, it is based on institute The RPC interfaces for stating fresh target service equipment carry out RPC access to the fresh target service equipment.Further, can record with The corresponding RPC of the destination service equipment accesses failure log information, and records RPC corresponding with the fresh target service equipment Access successfully log information, and the information reporting process by being locally located periodically by the RPC access failure log information and The RPC accesses successfully log information and reports to statistical server.
Optionally, the agent service device is also based on the target code language update service cluster configuration File, the routing algorithm set and described information report process.It specifically can be according to based on the target code language Update upgrade code reports process to carry out more the service cluster configuration file, the routing algorithm set and described information Newly, to realize that the parsing function to service cluster information, routing disaster tolerance function, statistical report function are updated upgrading.Due to Only upgrading need to be updated to each agent service device by the upgrade code based on target code language, without generating The upgrade code of multiple and different code speech, therefore, by safeguarding that agent service device can be reduced to multilingual headend equipment Maintenance cost.
The embodiment of the present invention obtains the remote procedure call protocol that multilingual headend equipment is initiated by agent service device RPC is asked;Destination service cluster name and routing algorithm type in RPC requests are to be based on preset data by multilingual headend equipment Storage agreement is packaged;Since agent service device can store in protocol analysis RPC requests according to preset data Destination service cluster name and routing algorithm type, so no matter the corresponding code speech of multilingual headend equipment be it is any, Agent service device can store the content in protocol identification RPC requests by preset data.Agent service device can be into One step is obtained based on local target code language in preset service cluster configuration file related to destination service cluster name At least one service device information of connection, and routing algorithm is determined in preset routing algorithm set based on target code language The corresponding target routing algorithm of type, and the selection target service at least one service device information according to target routing algorithm Facility information carries out RPC access to the corresponding destination service equipment of destination service facility information.It can be seen that need to only generate base In the upgrade code of the corresponding target code language of agent service device, you can by the upgrade code to being integrated in agency service Parsing function, the routing disaster tolerance function of service cluster information in device are updated upgrading, multiple and different without generating The upgrade code of code speech, therefore, by safeguard agent service device can reduce the maintenance to multilingual headend equipment at This.
Fig. 3 is referred to, is a kind of sequential signal of data processing method based on RPC service provided in an embodiment of the present invention Figure, the method may include:
S301, multilingual headend equipment are based on preset data storage agreement and generate RPC requests;
Specifically, multilingual headend equipment may include the multilingual headend equipment of a variety of code speech, for example, being based on The multilingual headend equipment of PHP language has the multilingual headend equipment based on JAVA language, also has based on the more of Python Language headend equipment etc..The target that the multilingual headend equipment can will be based on front end code speech (such as PHP language) takes Business cluster name and routing algorithm type are converted to the destination service cluster name and routing algorithm class that agreement is stored based on preset data Type, then will be in destination service cluster name and routing algorithm type package to RPC requests that agreement stored based on preset data.It is described It is that can the corresponding data memory format of a variety of code speech be converted to unified preset data that preset data, which stores agreement, The agreement of storage format;Has the target in the RPC requests that multiple multilingual headend equipments of different coding language are initiated respectively Service cluster name and routing algorithm type are provided with the preset data storage format.Further, the preset data storage Agreement can be specially Protobuf agreements, and Protobuf agreements itself are naturally to support the agreement of a variety of code speech, wherein Destination service cluster name and routing algorithm type in the RPC requests can be one section of Protobuf protocol sequences.For example, base It can include one section of Protobuf protocol sequence in the RPC requests that the multilingual headend equipment of JAVA language is generated, be based on The RPC requests that the multilingual headend equipment of Python is generated can also include one section of Protobuf protocol sequence.
Optionally, the Protobuf protocol sequences in the RPC requests can further include RPC and call number of retries Threshold value returns packet instruction information (indicating whether to need returning response message), Data Transport Protocol type, therefore, the agency After service unit gets RPC calling number of retries threshold value, time packet instruction information, Data Transport Protocol type, agency's clothes Business device can re-call the RPC interfaces when calling the failure of RPC interface time-out, reach described until re-calling number RPC calls the RPC interfaces of other service equipments further according to the target routing algorithm when calling number of retries threshold value;By described Returning packet instruction information can notify the destination service equipment needs to feed back when calling RPC successes to call success message;It is described Agent service device is also based on the Data Transport Protocol type to carry out data transmission with the destination service equipment, described Data Transport Protocol type can be Transmission Control Protocol or udp protocol.
S302, the multilingual headend equipment send RPC requests to agent service device;
Specifically, the agent service device can be applied to the inside of the multilingual headend equipment, (such as each is more There are one agent service devices inside language headend equipment), the agent service device may be independently of described multi-lingual (such as multiple multilingual headend equipments can be communicated specific installation except speech headend equipment with an agent service device Connection or a multilingual headend equipment and an agent service device are communicatively coupled).It is in the prior art multilingual Parsing function, routing disaster tolerance function, the statistical report function of service cluster information in front end can be separated described In agent service device, i.e., the parsing function of service cluster information, routing disaster tolerance function, statistical report function are integrated into described In agent service device.
S303, the agent service device parse the RPC requests;
Specifically, the multilingual headend equipment is sent after the RPC is asked to the agent service device (if the generation Reason service unit is built in the multilingual headend equipment, then the multilingual headend equipment will be described by inter process communication RPC requests are transferred to the agent service device), the agent service device can store agreement solution according to the preset data The destination service cluster name and routing algorithm type analysed in the RPC requests (can specifically be based on Protobuf protocol analysis institute The Protobuf protocol sequences in RPC requests are stated, to identify the destination service cluster name in the Protobuf protocol sequences With routing algorithm type).
S304, the agent service device is according to the destination service cluster name and target routing algorithm in RPC requests Select first service facility information;
Specifically, the agent service device can be based on local target code language (such as C Plus Plus) preset At least one service device information associated with the destination service cluster name is obtained in service cluster configuration file.For example, The service cluster configuration file includes multiple service cluster names and at least one service associated with each service cluster name Facility information, wherein the entitled service cluster name A of destination service cluster, and then the agent service device can be from the service First service facility information associated with the service cluster name A, second service equipment letter are got in cluster configuration file Breath, third service device information.Wherein, the service device information may include the IP port informations of service equipment.
The agent service device is based further on the target code language and is determined in preset routing algorithm set The corresponding target routing algorithm (such as consistency hash algorithm) of the routing algorithm type, and existed according to the target routing algorithm First service facility information is selected at least one service device information.
S305, the agent service device call the RPC interfaces of first service equipment;
Specifically, the agent service device calls first service equipment corresponding with the first service facility information RPC interfaces.
S306, if the agent service device, which detects, calls the failure of RPC interface time-out, according to the target routing algorithm Reselect second service facility information;
If specifically, the agent service device detects that the RPC interface time-out for calling the first service equipment fails, Second service equipment then can be further selected at least one service device information according to the target routing algorithm Information.
S307, the agent service device call the RPC interfaces of second service equipment;
Specifically, the agent service device calls the corresponding second service equipment of the second service facility information RPC interfaces.
S308, the second service equipment feedback call success message;
S309, RPC interface of the agent service device based on the second service equipment is to the second service equipment Carry out RPC access;
Specifically, the agent service device is after the calling success message for receiving second service equipment feedback, The RPC interfaces that the second service equipment can be based further on carry out RPC access to the second service equipment.The agency Service unit can be based further on the RPC and access the business data packet for obtaining the second service equipment transmission, and be based on The preset data storage agreement is packaged the business data packet, and will be stored based on the preset data after encapsulation The business data packet of agreement is sent to the multilingual headend equipment, so that the multilingual headend equipment is according to the present count According to the business data packet received by storage protocol analysis, and then complete the multilingual headend equipment and the second service RPC between equipment is accessed.Although multilingual headend equipment code speech corresponding with the agent service device Difference, but the data transmitted between the multilingual headend equipment and the agent service device can be by described default Data storage protocols are converted, so that both sides can be to the transformed number for storing agreement based on the preset data According to being identified.
S310, the agent service device record RPC corresponding with first service equipment access unsuccessfully log information and RPC corresponding with second service equipment accesses successfully log information;
S311, the agent service device by RPC corresponding with first service equipment access failure log information and with The corresponding RPC of second service equipment accesses successfully log information and is reported to statistical server;
Specifically, the agent service device, which can also record RPC corresponding with the first service equipment, accesses failure Log information, and record RPC corresponding with the second service equipment and access successfully log information, and the information by being locally located Process is reported periodically to access successfully log information and report to the system various RPC access failure log information and various RPC Count server.
Optionally, the agent service device is also based on the target code language update service cluster configuration File, the routing algorithm set and described information report process.It specifically can be according to based on the target code language Update upgrade code reports process to carry out more the service cluster configuration file, the routing algorithm set and described information Newly, to realize that the parsing function to service cluster information, routing disaster tolerance function, statistical report function are updated upgrading.Due to Only upgrading need to be updated to each agent service device by the upgrade code based on target code language, without generating The upgrade code of multiple and different code speech, therefore, by safeguarding that agent service device can be reduced to multilingual headend equipment Maintenance cost.
The embodiment of the present invention obtains the remote procedure call protocol that multilingual headend equipment is initiated by agent service device RPC is asked;Destination service cluster name and routing algorithm type in RPC requests are to be based on preset data by multilingual headend equipment Storage agreement is packaged;Since agent service device can store in protocol analysis RPC requests according to preset data Destination service cluster name and routing algorithm type, so no matter the corresponding code speech of multilingual headend equipment be it is any, Agent service device can store the content in protocol identification RPC requests by preset data.Agent service device can be into One step is obtained based on local target code language in preset service cluster configuration file related to destination service cluster name At least one service device information of connection, and routing algorithm is determined in preset routing algorithm set based on target code language The corresponding target routing algorithm of type, and second service is selected at least one service device information according to target routing algorithm Facility information carries out RPC access to the corresponding second service equipment of second service facility information.It can be seen that need to only generate base In the upgrade code of the corresponding target code language of agent service device, you can by the upgrade code to being integrated in agency service Parsing function, the routing disaster tolerance function of service cluster information in device are updated upgrading, multiple and different without generating The upgrade code of code speech, therefore, by safeguard agent service device can reduce the maintenance to multilingual headend equipment at This.
Fig. 4 is referred to, is that a kind of structure of data processing equipment 1 based on RPC service provided in an embodiment of the present invention is shown It is intended to, the data processing equipment 1 based on RPC service may include:Acquisition request module 10, obtains really parsing module 20 Cover half block 30, access processing module 40, record reporting module 50, update module 60, business data processing module 70;
The acquisition request module 10 is asked for obtaining the remote procedure call protocol RPC that multilingual headend equipment is initiated It asks;Destination service cluster name and routing algorithm type in the RPC requests are to be based on presetting by the multilingual headend equipment What data storage protocols were packaged;
The parsing module 20 takes for storing the target in RPC requests described in protocol analysis according to the preset data Cluster name of being engaged in and routing algorithm type;
The acquisition determining module 30, for the target code language based on local in preset service cluster configuration file It is middle to obtain at least one service device information associated with the destination service cluster name, and it is based on the target code language The corresponding target routing algorithm of the routing algorithm type is determined in preset routing algorithm set;
Wherein, the acquisition request module 10, the parsing module 20 and the specific work(for obtaining determining module 30 Energy realization method may refer to the S201-S203 in above-mentioned Fig. 2 corresponding embodiments, be not discussed here.
The access processing module 40 is used for according to the target routing algorithm at least one service device information Middle selection target service device information carries out RPC access to the corresponding destination service equipment of the destination service facility information;
The business data processing module 70 obtains what the destination service equipment was sent for being accessed based on the RPC Business data packet, and the business data packet is packaged based on preset data storage agreement, and by the base after encapsulation The business data packet that agreement is stored in the preset data is sent to the multilingual headend equipment, so that the multilingual front end Equipment stores the business data packet received by protocol analysis according to the preset data;
Specifically, when the access processing module 40 successfully calls the RPC interfaces of the destination service equipment, the visit Ask that processing module 40 can carry out the destination service equipment normal RPC access, and then the business data processing module 70 can access the business data packet for obtaining the destination service equipment and sending based on the RPC, and be based on the preset data Storage agreement is packaged the business data packet, and the business number that will store agreement after encapsulation based on the preset data It is sent to the multilingual headend equipment according to packet, so that the multilingual headend equipment stores agreement solution according to the preset data The received business data packet of analysis, and then complete between the multilingual headend equipment and the destination service equipment RPC is accessed.Although multilingual headend equipment coding corresponding with the data processing equipment 1 based on RPC service Language is different, but the number transmitted between the multilingual headend equipment and the data processing equipment 1 based on RPC service It is converted according to agreement can be stored by the preset data, so that both sides can be to transformed based on described pre- If the data of data storage protocols are identified.
Further, it is that a kind of structure of access processing module 40 provided in an embodiment of the present invention is shown please also refer to Fig. 5 It is intended to, the access processing module 40 may include:Interface call unit 401, notification unit 402, access unit 403;
The interface call unit 401, for being believed at least one service equipment according to the target routing algorithm Selection target service device information in breath, and call the RPC of destination service equipment corresponding with the destination service facility information Interface;
The notification unit 402, if for detecting that the RPC interface time-out for calling the destination service equipment fails, The interface call unit 401 is notified to be selected newly at least one service device information according to the target routing algorithm Destination service facility information, and call the RPC interfaces of fresh target service equipment corresponding with the fresh target service device information;
The access unit 403, if the calling success message for receiving the fresh target service equipment feedback, base RPC access is carried out to the fresh target service equipment in the RPC interfaces of the fresh target service equipment.
Wherein, the concrete function of the interface call unit 401, the notification unit 402 and the access unit 403 Realization method may refer to the S304-S309 in above-mentioned Fig. 3 corresponding embodiments, be not discussed here.
Wherein, when the interface call unit 401, the notification unit 402 and the access unit 403 are executing phase When should operate, the record reporting module 50 can be used for recording RPC corresponding with the destination service equipment and access failure day Will information, and record RPC corresponding with the fresh target service equipment and access successfully log information, and the information by being locally located It reports process that RPC access failure log information and the RPC are periodically accessed successfully log information and reports to statistics clothes Business device;
Wherein, the concrete function realization method of the record reporting module 50 may refer in above-mentioned Fig. 3 corresponding embodiments S310-S311, be not discussed here.
The update module 60, for updating the service cluster configuration file, described based on the target code language Routing algorithm set and described information report process;
Specifically, the update module 60 can be according to the update upgrade code based on the target code language to described Service cluster configuration file, the routing algorithm set and described information report process to be updated, to realize to services set Parsing function, routing disaster tolerance function, the statistical report function of group's information are updated upgrading.Due to need to only be compiled by being based on target The upgrade code of code language is updated upgrading to each data processing equipment 1 based on RPC service, multiple without generating The upgrade code of different coding language, therefore, by safeguarding that the data processing equipment 1 based on RPC service can be reduced to multi-lingual Say the maintenance cost of headend equipment.
The embodiment of the present invention obtains the remote of multilingual headend equipment initiation by the data processing equipment 1 based on RPC service The RPC requests of journey invocation of procedure agreement;Destination service cluster name and routing algorithm type in RPC requests are set by multilingual front end It is standby to store what agreement was packaged based on preset data;Since the data processing equipment 1 based on RPC service can be according to pre- If data storage protocols parsing RPC request in destination service cluster name and routing algorithm type, so no matter multilingual front end The corresponding code speech of equipment is any, and the data processing equipment 1 based on RPC service can be stored by preset data and be assisted Content in view identification RPC requests.Data processing equipment 1 based on RPC service can be based further on local target code Language obtains at least one service equipment letter associated with destination service cluster name in preset service cluster configuration file Breath, and determine that the corresponding target routing of routing algorithm type is calculated in preset routing algorithm set based on target code language Method, and second service facility information is selected at least one service device information according to target routing algorithm, to second service The corresponding second service equipment of facility information carries out RPC access.It can be seen that need to only generate the data processing based on RPC service The upgrade code of 1 corresponding target code language of device, you can by the upgrade code to being integrated in the data based on RPC service Parsing function, the routing disaster tolerance function of service cluster information in processing unit 1 are updated upgrading, multiple without generating The upgrade code of different coding language, therefore, by safeguarding that the data processing equipment 1 based on RPC service can be reduced to multi-lingual Say the maintenance cost of headend equipment.
Fig. 6 is referred to, is the knot of another data processing equipment 1000 based on RPC service provided in an embodiment of the present invention Structure schematic diagram.As shown in fig. 6, the data processing equipment 1000 based on RPC service may include:At least one processor 1001, for example, CPU, at least one network interface 1004, user interface 1003, memory 1005, at least one communication bus 1002.Wherein, communication bus 1002 is for realizing the connection communication between these components.Wherein, user interface 1003 can wrap Display screen (Display), keyboard (Keyboard) are included, optional user interface 1003 can also include wireline interface, the nothing of standard Line interface.Network interface 1004 may include optionally standard wireline interface and wireless interface (such as WI-FI interface).Memory 1005 can be high-speed RAM memory, can also be non-labile memory (non-volatile memory), such as extremely A few magnetic disk storage.Memory 1005 optionally can also be at least one storage for being located remotely from aforementioned processor 1001 Device.As shown in fig. 6, as may include operating system, network communication in a kind of memory 1005 of computer storage media Module, Subscriber Interface Module SIM and equipment control application program.
In data processing equipment 1000 based on RPC service shown in Fig. 6, it is more that network interface 1004 is mainly used for connection Language headend equipment and service equipment;And user interface 1003 is mainly used for providing the interface of input to the user, obtains user The data of output;And processor 1001 can be used for calling the equipment control application program stored in memory 1005, to realize
Obtain the remote procedure call protocol RPC requests that multilingual headend equipment is initiated;Target clothes in the RPC requests Business cluster name and routing algorithm type are to be based on preset data storage agreement by the multilingual headend equipment to be packaged to obtain 's;
The destination service cluster name and routing algorithm class in RPC requests described in protocol analysis are stored according to the preset data Type;
It is obtained in preset service cluster configuration file and the destination service collection based on local target code language Group's associated at least one service device information of name, and based on the target code language in preset routing algorithm set Determine the corresponding target routing algorithm of the routing algorithm type;
According to the target routing algorithm at least one service device information selection target service device information, RPC access is carried out to the corresponding destination service equipment of the destination service facility information.
In one embodiment, the processor 1001 is being executed according to the target routing algorithm described at least one Selection target service device information in service device information, to the corresponding destination service equipment of the destination service facility information into After row RPC is accessed, following steps are also executed:
The business data packet for obtaining the destination service equipment and sending is accessed based on the RPC, and is based on the present count The business that the business data packet is packaged according to storage agreement, and agreement will be stored after encapsulation based on the preset data Data packet is sent to the multilingual headend equipment, so that the multilingual headend equipment stores agreement according to the preset data The received business data packet of parsing.
In one embodiment, the processor 1001 is being executed according to the target routing algorithm described at least one Selection target service device information in service device information, to the corresponding destination service equipment of the destination service facility information into When row RPC is accessed, following steps are specifically executed:
According to the target routing algorithm at least one service device information selection target service device information, And call the RPC interfaces of destination service equipment corresponding with the destination service facility information;
If detecting, the RPC interface time-out for calling the destination service equipment fails, according to the target routing algorithm Fresh target service device information is selected at least one service device information, and is called and the fresh target service equipment The RPC interfaces of the corresponding fresh target service equipment of information;
If receiving the calling success message of the fresh target service equipment feedback, it is based on the fresh target service equipment RPC interfaces to the fresh target service equipment carry out RPC access.
In one embodiment, the processor 1001 also executes following steps:
Record RPC corresponding with the destination service equipment accesses failure log information, and records and taken with the fresh target The corresponding RPC of business equipment accesses successfully log information, and the information reporting process by being locally located periodically accesses the RPC Failure log information and the RPC access successfully log information and report to statistical server.
In one embodiment, the processor 1001 also executes following steps:
The service cluster configuration file, the routing algorithm set and described are updated based on the target code language Information reporting process.
In one embodiment, the preset data storage agreement is can to deposit the corresponding data of a variety of code speech Store up the agreement that format conversion is unified preset data storage format;Have multiple multilingual headend equipments of different coding language Destination service cluster name and routing algorithm type in the RPC requests initiated respectively are provided with the preset data storage format.
The embodiment of the present invention obtains what multilingual headend equipment was initiated by the data processing equipment 1000 based on RPC service Remote procedure call protocol RPC requests;Destination service cluster name and routing algorithm type in RPC requests are by multilingual front end Equipment is packaged based on preset data storage agreement;Since the data processing equipment 1000 based on RPC service can be with Destination service cluster name and routing algorithm type in protocol analysis RPC requests are stored according to preset data, so no matter multi-lingual Say that the corresponding code speech of headend equipment is any, the data processing equipment 1000 based on RPC service can be by default Data storage protocols identify the content in RPC requests.Data processing equipment 1000 based on RPC service can be based further on this The target code language on ground obtains associated with destination service cluster name at least one in preset service cluster configuration file A service device information, and determine that routing algorithm type is corresponding in preset routing algorithm set based on target code language Target routing algorithm, and according to target routing algorithm at least one service device information selection target service device information, RPC access is carried out to the corresponding destination service equipment of destination service facility information.It can be seen that need to only generate based on RPC service 1000 corresponding target code language of data processing equipment upgrade code, you can be based on by the upgrade code to being integrated in Parsing function, the routing disaster tolerance function of service cluster information in the data processing equipment 1000 of RPC service are updated upgrading, Without generating the upgrade code of multiple and different code speech, therefore, by safeguarding the data processing equipment based on RPC service 1000 can reduce the maintenance cost to multilingual headend equipment.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium In, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (12)

1. a kind of data processing method based on RPC service, which is characterized in that including:
Agent service device obtains the remote procedure call protocol RPC requests that multilingual headend equipment is initiated;In the RPC requests Destination service cluster name and routing algorithm type be by the multilingual headend equipment be based on preset data storage agreement carry out What encapsulation obtained;
The agent service device stores the destination service cluster name in RPC requests described in protocol analysis according to the preset data With routing algorithm type;
The agent service device is obtained in preset service cluster configuration file based on local target code language and institute The associated at least one service device information of destination service cluster name is stated, and based on the target code language on preset road By determining the corresponding target routing algorithm of the routing algorithm type in algorithm set;
According to the target routing algorithm at least one service device information selection target service device information, to institute It states the corresponding destination service equipment of destination service facility information and carries out RPC access.
2. the method as described in claim 1, which is characterized in that it is described according to the target routing algorithm described at least one Selection target service device information in a service device information, destination service equipment corresponding to the destination service facility information After the step of carrying out RPC access, further include:
The business data packet for obtaining the destination service equipment and sending is accessed based on the RPC, and is deposited based on the preset data Storage agreement is packaged the business data packet, and the business datum that will store agreement after encapsulation based on the preset data Packet is sent to the multilingual headend equipment, so that the multilingual headend equipment stores protocol analysis according to the preset data Received business data packet.
3. the method as described in claim 1, which is characterized in that it is described according to the target routing algorithm described at least one Selection target service device information in service device information, to the corresponding destination service equipment of the destination service facility information into Row RPC is accessed, including:
According to the target routing algorithm at least one service device information selection target service device information, and adjust With the RPC interfaces of destination service equipment corresponding with the destination service facility information;
If detecting, the RPC interface time-out for calling the destination service equipment fails, according to the target routing algorithm in institute Selection fresh target service device information at least one service device information is stated, and is called and the fresh target service device information The RPC interfaces of corresponding fresh target service equipment;
If the calling success message of the fresh target service equipment feedback is received, based on the fresh target service equipment RPC interfaces carry out RPC access to the fresh target service equipment.
4. method as claimed in claim 3, which is characterized in that further include:
Record RPC corresponding with the destination service equipment accesses failure log information, and records and set with the fresh target service Standby corresponding RPC accesses successfully log information, and the RPC is periodically accessed and failed by the information reporting process by being locally located Log information and the RPC access successfully log information and report to statistical server.
5. method as claimed in claim 4, which is characterized in that further include:
The agent service device is based on the target code language and updates the service cluster configuration file, the routing algorithm Set and described information report process.
6. method as described in any one in claim 1-5, which is characterized in that preset data storage agreement is can will be a variety of The corresponding data memory format of code speech is converted to the agreement of unified preset data storage format;Has different coding Destination service cluster name and routing algorithm type in the RPC requests that multiple multilingual headend equipments of language are initiated respectively have The standby preset data storage format.
7. a kind of data processing equipment based on RPC service, which is characterized in that including:
Acquisition request module, the remote procedure call protocol RPC requests initiated for obtaining multilingual headend equipment;The RPC Destination service cluster name and routing algorithm type in request are to be based on preset data storage association by the multilingual headend equipment What view was packaged;
Parsing module, for according to the preset data store protocol analysis described in RPC request in destination service cluster name and Routing algorithm type;
Determining module is obtained, for being obtained in preset service cluster configuration file based on local target code language and institute The associated at least one service device information of destination service cluster name is stated, and based on the target code language on preset road By determining the corresponding target routing algorithm of the routing algorithm type in algorithm set;
Access processing module, for according to the target routing algorithm at least one service device information selection target Service device information carries out RPC access to the corresponding destination service equipment of the destination service facility information.
8. device as claimed in claim 7, which is characterized in that further include:
Business data processing module, for accessing the business data packet for obtaining the destination service equipment and sending based on the RPC, And based on the preset data storage agreement business data packet is packaged, and by after encapsulation based on the present count It is sent to the multilingual headend equipment according to the business data packet of storage agreement, so that the multilingual headend equipment is according to Preset data stores the business data packet received by protocol analysis.
9. device as claimed in claim 7, which is characterized in that the access processing module includes:
Interface call unit, for according to the target routing algorithm at least one service device information selection target Service device information, and call the RPC interfaces of destination service equipment corresponding with the destination service facility information;
If notification unit notifies the interface for detecting that the RPC interface time-out for calling the destination service equipment fails Call unit selects fresh target service equipment to believe according to the target routing algorithm at least one service device information Breath, and call the RPC interfaces of fresh target service equipment corresponding with the fresh target service device information;
Access unit, if the calling success message for receiving the fresh target service equipment feedback, is based on the new mesh The RPC interfaces for marking service equipment carry out RPC access to the fresh target service equipment.
10. device as claimed in claim 9, which is characterized in that further include:
Record reporting module, failure log information accessed for recording RPC corresponding with the destination service equipment, and record and The corresponding RPC of the fresh target service equipment accesses successfully log information, and the information reporting process by being locally located is periodical The RPC is accessed into failure log information and the RPC accesses successfully log information and reports to statistical server.
11. device as claimed in claim 10, which is characterized in that further include:
Update module, for updating the service cluster configuration file, the routing algorithm collection based on the target code language It closes and described information reports process.
12. such as claim 7-11 any one of them devices, which is characterized in that the preset data storage agreement is can will be more The corresponding data memory format of kind code speech is converted to the agreement of unified preset data storage format;Have different volumes Destination service cluster name and routing algorithm type in the RPC requests that multiple multilingual headend equipments of code language are initiated respectively is equal Has the preset data storage format.
CN201710012936.XA 2017-01-09 2017-01-09 Data processing method and device based on RPC service Active CN108289060B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710012936.XA CN108289060B (en) 2017-01-09 2017-01-09 Data processing method and device based on RPC service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710012936.XA CN108289060B (en) 2017-01-09 2017-01-09 Data processing method and device based on RPC service

Publications (2)

Publication Number Publication Date
CN108289060A true CN108289060A (en) 2018-07-17
CN108289060B CN108289060B (en) 2020-11-06

Family

ID=62819179

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710012936.XA Active CN108289060B (en) 2017-01-09 2017-01-09 Data processing method and device based on RPC service

Country Status (1)

Country Link
CN (1) CN108289060B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108965312A (en) * 2018-07-30 2018-12-07 深圳高新兴物联科技有限公司 Remote invocation method, device, system and storage medium
CN109871251A (en) * 2019-01-17 2019-06-11 平安科技(深圳)有限公司 A kind of processing method of response data, device, storage medium and terminal device
CN110275764A (en) * 2019-05-15 2019-09-24 阿里巴巴集团控股有限公司 Call timeout treatment method, apparatus and system
CN110377419A (en) * 2019-06-11 2019-10-25 北京达佳互联信息技术有限公司 A kind of server calls method, apparatus and electronic equipment
CN110647411A (en) * 2019-10-10 2020-01-03 广州趣丸网络科技有限公司 Service request processing method and device
CN111010438A (en) * 2019-12-13 2020-04-14 北京达佳互联信息技术有限公司 Remote procedure calling method, device, server and storage medium
CN111343272A (en) * 2020-02-26 2020-06-26 杭州涂鸦信息技术有限公司 Cross-node request retry method of star network architecture and electronic equipment
CN112054998A (en) * 2020-08-10 2020-12-08 中粮招商局(深圳)粮食电子交易中心有限公司 Proxy service method, device, equipment and computer readable storage medium
CN112486719A (en) * 2020-12-14 2021-03-12 上海悦易网络信息技术有限公司 Method and equipment for RPC interface call failure processing
CN112543222A (en) * 2020-11-11 2021-03-23 苏宁云计算有限公司 Data processing method and device, computer equipment and storage medium
CN113138771A (en) * 2020-01-17 2021-07-20 北京达佳互联信息技术有限公司 Data processing method, device, equipment and storage medium
CN113746851A (en) * 2021-09-08 2021-12-03 上海幻电信息科技有限公司 Agent system and method for supporting real-time analysis of GRPC request
CN113765805A (en) * 2021-08-31 2021-12-07 上海完美时空软件有限公司 Call-based communication method, device, storage medium and equipment
CN114760360A (en) * 2020-12-29 2022-07-15 网神信息技术(北京)股份有限公司 Request response method and device, electronic equipment and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100070634A1 (en) * 2008-09-16 2010-03-18 Microsoft Corporation Protocol exchange and policy enforcement for a terminal server session
CN102262560A (en) * 2010-05-27 2011-11-30 阿里巴巴集团控股有限公司 Calling method, device and system for remote service
CN102497453A (en) * 2011-12-28 2012-06-13 用友软件股份有限公司 Calling device and calling method for remote programs
CN104040523A (en) * 2011-08-04 2014-09-10 韦斯技术有限公司 System and method for client-server communication facilitating utilization of network-based procedure call
CN105357244A (en) * 2014-08-22 2016-02-24 中兴通讯股份有限公司 Method for operating network logic entity, client and proxy server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100070634A1 (en) * 2008-09-16 2010-03-18 Microsoft Corporation Protocol exchange and policy enforcement for a terminal server session
CN102262560A (en) * 2010-05-27 2011-11-30 阿里巴巴集团控股有限公司 Calling method, device and system for remote service
CN104040523A (en) * 2011-08-04 2014-09-10 韦斯技术有限公司 System and method for client-server communication facilitating utilization of network-based procedure call
CN102497453A (en) * 2011-12-28 2012-06-13 用友软件股份有限公司 Calling device and calling method for remote programs
CN105357244A (en) * 2014-08-22 2016-02-24 中兴通讯股份有限公司 Method for operating network logic entity, client and proxy server

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108965312A (en) * 2018-07-30 2018-12-07 深圳高新兴物联科技有限公司 Remote invocation method, device, system and storage medium
CN109871251A (en) * 2019-01-17 2019-06-11 平安科技(深圳)有限公司 A kind of processing method of response data, device, storage medium and terminal device
CN110275764A (en) * 2019-05-15 2019-09-24 阿里巴巴集团控股有限公司 Call timeout treatment method, apparatus and system
CN110275764B (en) * 2019-05-15 2024-03-19 创新先进技术有限公司 Method, device and system for processing call timeout
CN110377419A (en) * 2019-06-11 2019-10-25 北京达佳互联信息技术有限公司 A kind of server calls method, apparatus and electronic equipment
CN110647411A (en) * 2019-10-10 2020-01-03 广州趣丸网络科技有限公司 Service request processing method and device
CN111010438B (en) * 2019-12-13 2022-11-11 北京达佳互联信息技术有限公司 Remote procedure calling method, device, server and storage medium
CN111010438A (en) * 2019-12-13 2020-04-14 北京达佳互联信息技术有限公司 Remote procedure calling method, device, server and storage medium
CN113138771A (en) * 2020-01-17 2021-07-20 北京达佳互联信息技术有限公司 Data processing method, device, equipment and storage medium
CN111343272B (en) * 2020-02-26 2023-02-07 杭州涂鸦信息技术有限公司 Cross-node request retry method of star network architecture and electronic equipment
CN111343272A (en) * 2020-02-26 2020-06-26 杭州涂鸦信息技术有限公司 Cross-node request retry method of star network architecture and electronic equipment
CN112054998A (en) * 2020-08-10 2020-12-08 中粮招商局(深圳)粮食电子交易中心有限公司 Proxy service method, device, equipment and computer readable storage medium
CN112543222A (en) * 2020-11-11 2021-03-23 苏宁云计算有限公司 Data processing method and device, computer equipment and storage medium
CN112543222B (en) * 2020-11-11 2022-07-05 苏宁云计算有限公司 Data processing method and device, computer equipment and storage medium
CN112486719A (en) * 2020-12-14 2021-03-12 上海悦易网络信息技术有限公司 Method and equipment for RPC interface call failure processing
CN114760360A (en) * 2020-12-29 2022-07-15 网神信息技术(北京)股份有限公司 Request response method and device, electronic equipment and computer readable storage medium
CN114760360B (en) * 2020-12-29 2023-12-22 奇安信网神信息技术(北京)股份有限公司 Request response method, request response device, electronic equipment and computer readable storage medium
CN113765805A (en) * 2021-08-31 2021-12-07 上海完美时空软件有限公司 Call-based communication method, device, storage medium and equipment
CN113765805B (en) * 2021-08-31 2023-10-20 上海完美时空软件有限公司 Calling-based communication method, device, storage medium and equipment
CN113746851A (en) * 2021-09-08 2021-12-03 上海幻电信息科技有限公司 Agent system and method for supporting real-time analysis of GRPC request
CN113746851B (en) * 2021-09-08 2023-08-18 上海幻电信息科技有限公司 Proxy system and method supporting real-time analysis of GRPC request

Also Published As

Publication number Publication date
CN108289060B (en) 2020-11-06

Similar Documents

Publication Publication Date Title
CN108289060A (en) A kind of data processing method and device based on RPC service
EP3806432A1 (en) Method for changing service on device and service changing system
CN110351283B (en) Data transmission method, device, equipment and storage medium
CN103841134B (en) Based on API transmission, the method for receive information, apparatus and system
US10122815B1 (en) Dynamic class mapping in messaging middleware
CN109788068B (en) Heartbeat state information reporting method, device and equipment and computer storage medium
CN109547524B (en) User behavior storage method, device, equipment and storage medium based on Internet of things
CN110134528A (en) Interface message storage call method, device and the terminal device of micro services frame
US20210065083A1 (en) Method for changing device business and business change system
CN106933548A (en) Global information is obtained, processes and updated, methods, devices and systems
US11294740B2 (en) Event to serverless function workflow instance mapping mechanism
CN112035182A (en) Kong-based API gateway monitoring method and system
CN111061498B (en) Configuration information management system
CN112783672B (en) Remote procedure call processing method and system
CN110493770A (en) Obtain method, card pool equipment and the cloud server with management cloud SIM card data
CN103024058A (en) Method and system for invoking web services
CN109857391A (en) Processing method and processing device, storage medium and the electronic device of data
CN112417042A (en) Method and device for processing service request
US10694367B1 (en) Subscriber data management logs parsing and conversion to analytics use cases
CN114301988A (en) Distributed calling method and device, storage medium and electronic equipment
CN107666401A (en) A kind of configuration information obtaining method and terminal
JP2005228183A (en) Program execution method and computer system for executing the program
CN109670952B (en) Collecting and paying transaction platform
CN111935316B (en) Method and device for acquiring front-end equipment catalog
US11582345B2 (en) Context data management interface for contact center

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