CN108965312A - Remote invocation method, device, system and storage medium - Google Patents

Remote invocation method, device, system and storage medium Download PDF

Info

Publication number
CN108965312A
CN108965312A CN201810854274.5A CN201810854274A CN108965312A CN 108965312 A CN108965312 A CN 108965312A CN 201810854274 A CN201810854274 A CN 201810854274A CN 108965312 A CN108965312 A CN 108965312A
Authority
CN
China
Prior art keywords
rpc
remote service
service end
communication
communication customer
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.)
Withdrawn
Application number
CN201810854274.5A
Other languages
Chinese (zh)
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.)
Gaoxing Wulian Technology Co., Ltd.
Original Assignee
Shenzhen Gao Xin Xing Lian Technology 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 Shenzhen Gao Xin Xing Lian Technology Co Ltd filed Critical Shenzhen Gao Xin Xing Lian Technology Co Ltd
Priority to CN201810854274.5A priority Critical patent/CN108965312A/en
Publication of CN108965312A publication Critical patent/CN108965312A/en
Withdrawn legal-status Critical Current

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/133Protocols for remote procedure calls [RPC]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

A kind of remote invocation method provided by the present application is applied to communication customer end and remote service end, wherein for providing preset business function, method includes: to establish the communication connection of communication customer end and remote service end at remote service end;Far call agreement RPC request is sent to remote service end by communication customer end;Far call agreement RPC request is parsed by remote service end, and executes the business function call instruction in far call agreement RPC request, to obtain implementing result corresponding with business function;Implementing result is fed back into communication customer end, to realize corresponding business function.Present invention also provides far call device, system and storage mediums.By remote invocation method provided by the present application, device, system and storage medium, the corresponding business function may be implemented, realize reduces cost, the flexible purpose of maintenance mode whereby.

Description

Remote invocation method, device, system and storage medium
Technical field
This application involves the present invention relates to remote procedure call technical field, more particularly to remote procedure calling (PRC) method and Device.
Background technique
Remote procedure call protocol (Remote Procedure Call Protocol, RPC) be it is a kind of by network from The agreement of service is requested on remote computer program, it uses client device/server device mode, requests a side of service For client device, the side for providing service is server device.
Enriching with network connection simultaneously, internet of things service scene greatly extends, and the scene that user uses at present is Single-chip microcontroller is configured on networked devices, passes through chip microcontroller specific function.But in current this way, single-chip microcontroller itself Hardware cost is higher, and if business scenario change, need user to live orientation problem or upgrading MCU program, if with Family live traffic scene complexity is for example: mountain area, electric pole or combustion gas, water meter etc), maintenance cost is high, software and hardware flexibility It is poor.
Summary of the invention
The purpose of the application is, provides the communications module using RPC technology, client can with remote call service end, Specific function is realized by server-side and feeds back result processed to client, reduces hardware cost whereby, meanwhile, it solves long-range Debug user's site problems.
According to the first aspect of the embodiments of the present disclosure, a kind of remote invocation method is provided, applied to communication customer end and far Journey server-side, wherein the remote service end is for providing preset business function, which comprises establishes the communication The communication connection of client and the remote service end;Long-range adjust is sent to the remote service end by the communication customer end It is requested with agreement RPC;The far call agreement RPC request is parsed by the remote service end, and executes the long-range tune With agreement RPC request in business function call instruction, to obtain implementing result corresponding with business function;Implementing result is anti- It is fed to the communication customer end, to realize the corresponding business function.
Further, the remote service end includes communications module, wherein the communication customer end and described established The step of communication connection at remote service end includes: to establish connection by the communications module and the communication customer end;It is described The IP address and the remote service end that communication customer end is transmitted according to the communications module establish the communication connection.
Further, the communication customer end further includes RPC connector, and the RPC connector is for maintaining communication clients The interface channel at end and the remote service end, the IP address that the communication customer end is transmitted according to the communications module with it is described The step of communication connection is established at remote service end are as follows: by described in the RPC connector and remote service end foundation Communication connection.
Further, the communication customer end includes RPC client, it is described by the communication customer end to described long-range Server-side sends the step of far call agreement RPC request, comprising: when the communication customer end receives the IP address, Control starts the RPC client;The RPC client carries out coding to calling data information and forms the far call agreement RPC request;Far call agreement RPC request is sent to the remote service end by the RPC connector.
Further, the remote service end includes that RPC calls device and RPC receiver, described to pass through the remote service End parses the far call agreement RPC request, and the business function calling executed in the far call agreement RPC request refers to The step of enabling, comprising: the far call agreement RPC is received by the RPC receiver and is requested;Device is called by the RPC It calls specific business function algorithm to parse far call agreement RPC request, and executes the long-range tune With the business function call instruction in agreement RPC request.
Present invention also provides a kind of far call device, described device includes: communication unit, for establishing the communication The communication connection of client and the remote service end;Transmission unit, for passing through the communication customer end to the long-range clothes Business end sends far call agreement RPC request;Receiving unit is assisted for parsing the far call by the remote service end RPC request is discussed, and executes the business function call instruction in far call agreement RPC request, to obtain and business function Corresponding implementing result;Feedback unit, for implementing result to be fed back to the communication customer end, to realize the corresponding industry Business function.
Further, the remote service end includes communications module, and the communication unit is also used to: passing through the communication mould Group establishes connection with the communication customer end;IP address that the communication customer end is transmitted according to the communications module and described remote Journey server-side establishes the communication connection.
Present invention also provides a kind of far call systems, and the system comprises communication customer end and remote service end, institutes It states communication customer end and the remote service end is established and communicated to connect;The communication customer end sends remote to the remote service end Journey invocation protocol RPC request;The remote service end parses the far call agreement RPC request, and executes the long-range tune With agreement RPC request in business function call instruction, to obtain implementing result corresponding with business function;The remote service Implementing result is fed back to the communication customer end by end, to realize the corresponding business function.
It further, include communications module, RPC calling device and RPC in the remote service end in the far call system Receiver, wherein the communications module is connect for establishing Preliminary Communications with communication customer end;The RPC calls device for adjusting It takes interface and returns to call result;The RPC receiver, for establishing the far call system and the communication customer end Connection;The communication customer end further includes RPC client and RPC connector, and the RPC client is for realizing remote interface; The RPC connector is used to maintain the interface channel of communication customer end and the remote service end.
Present invention also provides a kind of computer storage medium, the computer storage medium has one or more programs, One or more of programs are executed by one or more processors, to realize remote invocation method described in any of the above embodiments Step.
Remote procedure calling (PRC) method and device provided in an embodiment of the present invention can receive the communication clients end equipment hair The remote procedure call protocol RPC request sent;Remote service end parses RPC request according to preset RPC agreement, It obtains the recalls information in the RPC request and executes the business function call instruction in the far call agreement RPC request, To obtain implementing result corresponding with business function, and implementing result is fed back into the communication customer end, it is corresponding to realize The business function, realize reduces cost, the flexible purpose of maintenance mode whereby.
Detailed description of the invention
Fig. 1 is a kind of overall architecture schematic diagram that one embodiment of the application is related under illustrative application scene;
Fig. 2 is the remote invocation method flow chart that one embodiment of the application provides;
Fig. 3 is the schematic diagram for the far call device that one embodiment of the application provides;
Fig. 4 is the schematic diagram for the far call system that one embodiment of the application provides.
Specific embodiment
In order to make those skilled in the art more fully understand the technical solution in this specification, below in conjunction with this explanation Attached drawing in book embodiment is clearly and completely described the technical solution in this specification embodiment, it is clear that described Embodiment be merely a part but not all of the embodiments of the present application.Based on this specification embodiment, this field Those of ordinary skill's every other embodiment obtained without creative efforts, all should belong to the application The range of protection.
Fig. 1 is a kind of overall architecture schematic diagram that the scheme of this specification is related under a kind of practical application scene.This is whole In body framework, at least one client (RPC client) and at least one mould group (RPC service), client are specifically included that End directly carries out the transmission of data with mould group by interconnection of telecommunication network, and client is specific by calling the interface in mould group to realize Function, and by result feed back to client to realize specific function.It in addition to this, can also include clothes in the overall architecture Equipment where business end, RPC service itself should be provided by server-side.In practical applications, RPC service can be at least partly complete It is standby, be also possible to there is no;It is finished for example, server-side itself may be developed not yet, this does not influence the side of this specification The implementation of case.Based on the above overall architecture, the scheme of this specification is described in detail below.
Fig. 2 is a kind of flow diagram for remote invocation method that this specification embodiment provides.The process is possible to be held Row main body includes but is not limited to following equipment: personal computer, mobile phone, tablet computer, intelligent wearable device, vehicle device, medium-sized Computer, computer cluster etc..After remote invocation method provided by the present application starts, step be can be automatically operated, Ke Yigen It successively carries out, can also be run simultaneously according to sequence, specifically without limitation, remote invocation method provided in this embodiment, including such as Lower step.
Step S310 establishes the communication connection of the communication customer end and the remote service end.
Specifically, which is applied in communication customer end and remote service end.Wherein, communication customer end is The demand end of remote call service is requested, remote service end is to execute in advance according to the request of the remote call service of communication customer end If the supply and demand end of function.In the present embodiment, remote service end includes communications module, communication customer end can for computer, The equipment that mobile terminal etc. is configured with communication function, remote service end are the server for configuring concrete function and RPC interface.Step The specific implementation step of S310 may include steps of:
Step S3101 establishes connection by the communications module and the communication customer end;Specifically, communications module can Think mobile data communication mould group, such as: the communication networks such as 3G, 4G are also possible to radio communication mold group, for example, WiFi communication Or the mould group of telecommunication connection may be implemented in other.When starting remote server, communications module meeting and communication customer end Establish data transmission connection.
Step S3102, the IP address and the communication customer end that the communication customer end is transmitted according to the communications module Establish the communication connection.Specifically, communication customer end includes RPC connector.Communications module and communication customer end establish data After transmission connection, server passes through communications module for the IP address of server.Wherein, the remote service end further includes that RPC connects Device is connect, for for maintaining the interface channel of communication customer end and the remote service end, which comprises by described The communication connection is established at RPC connector and the remote service end, wherein communication connection is used for transmission communication customer end and remote Request data package etc. between journey server-side.
Step S320 sends far call agreement RPC request to the remote service end by the communication customer end.
Specifically, communication customer end includes RPC client, and the agency for being responsible for importing remote interface realizes, in this embodiment party In formula, the remote interface program for specifically needing to call is written in communication customer end.Step S320 can be real as follows It is existing:
Step S3201, when the communication customer end receives the IP address, control starts the RPC client;Tool Body, when communication customer end determines, and IP address has been received, control starting RPC client, wherein used in RPC client In importing remote interface.
Step S3202, the RPC client carry out coding to calling data information and form the far call agreement RPC Request;Specifically, communication customer end includes that RPC calls device, wherein RPC calls device to be used to be called according to preset PRC agreement Data information is encoded, wherein calling data information includes identifying long-range mistake including following unsigned integer field with independent Journey: program number, program version number and process number.It is specific called by calling data information that can determine for remote service end Interface.
Far call agreement RPC request is sent to the long-range clothes by the RPC connector by step S3203 Business end.Specifically, RPC calls device to request edited far call agreement RPC, i.e. network packet, is sent to RPC connection Device, RPC connector send remote service end by the communication connection established for the network packet received.
Step S330 parses the far call agreement RPC by the remote service end and requests, and executes described long-range Business function call instruction in invocation protocol RPC request, to obtain implementing result corresponding with business function.
Specifically, the remote service end includes that RPC calls device and RPC receiver, described to pass through the remote service end The far call agreement RPC request is parsed, and executes the business function call instruction in the far call agreement RPC request The step of, comprising:
Step S3301 receives the far call agreement RPC by the RPC receiver and requests;
Step S3302 calls device that specific business function algorithm is called to assist the far call by the RPC View RPC request is parsed, and executes the business function call instruction in the far call agreement RPC request.Specifically, RPC calls device to be parsed the far call agreement RPC request received to obtain specific data and believe according to RPC protocol stack Then breath calls interface algorithm corresponding with data information according to data information, and execute corresponding business function calling and refer to It enables to obtain specific processing result.That is, really calling process is carried out at remote service end.
Implementing result is fed back to the communication customer end by step S340, to realize the corresponding business function.
Specifically, RPC calls device to send implementing result in RPC receiver, is led to implementing result by RPC receiver Communication connection is crossed to be sent in the RPC connector of communication customer end.
By above embodiment, the remote procedure call protocol RPC that the communication clients end equipment is sent can receive Request;Remote service end parses RPC request according to preset RPC agreement, obtains the calling in the RPC request Information simultaneously executes the business function call instruction in the far call agreement RPC request, corresponding with business function to obtain Implementing result, and implementing result is fed back into the communication customer end, to realize the corresponding business function, drop is realized whereby Low cost, the flexible purpose of maintenance mode.
Present invention also provides a kind of far call device, described device includes: communication unit, transmission unit, receives list Member and feedback unit, particular content are as follows.
Communication unit, for establishing the communication connection of the communication customer end and the remote service end.Specifically, this is remote Journey call method is applied in communication customer end and remote service end.Wherein, communication customer end is request remote call service Demand end, remote service end are the supply and demand end that preset function is executed according to the request of the remote call service of communication customer end.? In present embodiment, remote service end includes communications module, and communication customer end can be computer, mobile terminal etc. configured with logical The equipment of telecommunication function, remote service end are the server for configuring concrete function and RPC interface.Communication unit includes that Preliminary Communications are built Vertical unit and final connection setup unit.Preliminary Communications establish unit, for passing through the communications module and the communication clients Connection is established at end;Specifically, communications module can be mobile data communication mould group, such as: the communication networks such as 3G, 4G, it can also be with Radio communication mold group, for example, WiFi communication or other may be implemented telecommunication connection mould group.In starting remote service When device, communications module can establish data transmission connection with communication customer end.Final connection setup unit, for so that the communication The IP address and the communication customer end that client is transmitted according to the communications module establish the communication connection.Specifically, lead to Believe that client includes RPC connector.After communications module and communication customer end establish data transmission connection, server passes through communication mould Group is by the IP address of server.Wherein, the remote service end further includes RPC connector, for for maintaining communication customer end With the interface channel at the remote service end, which comprises established by the RPC connector and the remote service end The communication connection, wherein communication connection is used for transmission the request data package etc. between communication customer end and remote service end.
Transmission unit is asked for sending far call agreement RPC to the remote service end by the communication customer end It asks.Specifically, communication customer end includes RPC client, and the agency for being responsible for importing remote interface realizes, in the present embodiment, The remote interface program for specifically needing to call is written in communication customer end.Transmission unit include start unit, coding unit and Data transmission unit.
Wherein, start unit, for when the communication customer end receives the IP address, control to start the RPC Client;Specifically, when communication customer end determines, and IP address has been received, control starting RPC client, wherein RPC visitor For importing remote interface in the end of family.
Coding unit carries out coding to calling data information for the RPC client and forms the far call agreement RPC request;Specifically, communication customer end includes that RPC calls device, wherein RPC calls device to be used for will according to preset PRC agreement Data information is called to be encoded, wherein call data information including including following unsigned integer field, it is remote independently to identify Journey process: program number, program version number and process number.By calling data information that can determine specifically quilt for remote service end Calling interface.
Data transmission unit, it is described for being sent to far call agreement RPC request by the RPC connector Remote service end.Specifically, RPC calls device to request edited far call agreement RPC, i.e. network packet, is sent to RPC connector, RPC connector send remote service end by the communication connection established for the network packet received.
Receiving unit is requested for parsing the far call agreement RPC by the remote service end, and described in execution Business function call instruction in far call agreement RPC request, to obtain implementing result corresponding with business function.Specifically Ground parses the far call agreement RPC by the remote service end and requests, and executes the far call agreement RPC and ask Business function call instruction in asking, to obtain implementing result corresponding with business function.The remote service end includes RPC tune With device and RPC receiver, receiving unit includes data receipt unit and call unit.
Data receipt unit is requested for receiving the far call agreement RPC by the RPC receiver;
Call unit, for calling device to call specific business function algorithm to the long-range tune by the RPC It is parsed with agreement RPC request, and executes the business function call instruction in the far call agreement RPC request.Specifically Ground, RPC call device to be parsed the far call agreement RPC request received specifically to be counted according to RPC protocol stack It is believed that breath, then calls interface algorithm corresponding with data information according to data information, and execute corresponding business function tune With instruction to obtain specific processing result.That is, really calling process is carried out at remote service end
Feedback unit, for implementing result to be fed back to the communication customer end, to realize the corresponding business function. Specifically, RPC calls device to send implementing result in RPC receiver, and implementing result is passed through communication link by RPC receiver It receives and sends into the RPC connector of communication customer end.
By above embodiment, the remote procedure call protocol RPC that the communication clients end equipment is sent can receive Request;Remote service end parses RPC request according to preset RPC agreement, obtains the calling in the RPC request Information simultaneously executes the business function call instruction in the far call agreement RPC request, corresponding with business function to obtain Implementing result, and implementing result is fed back into the communication customer end, to realize the corresponding business function, drop is realized whereby Low cost, the flexible purpose of maintenance mode.
The application also provides a kind of far call system, described the system comprises communication customer end and remote service end Communication customer end and the remote service end, which are established, to be communicated to connect;The communication customer end sends long-range to the remote service end Invocation protocol RPC request;The remote service end parses the far call agreement RPC request, and executes the far call Business function call instruction in agreement RPC request, to obtain implementing result corresponding with business function;The remote service end Implementing result is fed back into the communication customer end, to realize the corresponding business function.
Specifically far call system is illustrated below in conjunction with Fig. 4.
Communication customer end includes client, RPC client, RPC agency, RPC calling device, RPC connector and RPC agreement Stack.
Wherein, client is the equipment for supporting operation RPC far call, and RPC client is for importing remote interface;RPC Agency realizes for the agency of remote interface, RPC calls device for encoding recalls information and sending far call request to service Side simultaneously waits final result to return;RPC connector for be responsible for maintaining the communication connection at communication customer end and remote service end and Send data to remote service end;RPC protocol stack is used for according to agreement coding/decoding.
Remote service end includes server, RPC service device, RPC agency, RPC processor, RPC receiver and RPC agreement Stack.
Wherein, server is used to support the server of operation RPC far call;RPC service device is long-range for being responsible for export Interface;The agency of RPC agent remote interface realizes;RPC processor controls calling process at remote service end for being responsible for, including Thread pool, time-out time etc. are called in management;RPC receiver is requested and is returned for being responsible for receiving the far call of communication customer end Request results;RPC protocol stack is used for according to agreement coding/decoding.
The application provides a kind of far call system, is also used to realize following method.
Further, the remote service end includes communications module, wherein the communication customer end and described established The step of communication connection at remote service end includes: to establish connection by the communications module and the communication customer end;It is described The IP address and the remote service end that communication customer end is transmitted according to the communications module establish the communication connection.
Further, the communication customer end further includes RPC connector, and the RPC connector is for maintaining communication clients The interface channel at end and the remote service end, the IP address that the communication customer end is transmitted according to the communications module with it is described The step of communication connection is established at remote service end are as follows: by described in the RPC connector and remote service end foundation Communication connection.
Further, the communication customer end includes RPC client, it is described by the communication customer end to described long-range Server-side sends the step of far call agreement RPC request, comprising: when the communication customer end receives the IP address, Control starts the RPC client;The RPC client carries out coding to calling data information and forms the far call agreement RPC request;Far call agreement RPC request is sent to the remote service end by the RPC connector.
Further, the remote service end includes that RPC calls device and RPC receiver, described to pass through the remote service End parses the far call agreement RPC request, and the business function calling executed in the far call agreement RPC request refers to The step of enabling, comprising: the far call agreement RPC is received by the RPC receiver and is requested;Device is called by the RPC It calls specific business function algorithm to parse far call agreement RPC request, and executes the long-range tune With the business function call instruction in agreement RPC request.
The application also provides a kind of computer storage medium, and the computer storage medium has one or more programs, institute It states one or more programs to be executed by one or more processors, is applied to communication customer end and remote service end, wherein described Remote service end is for providing preset business function, to realize following steps: establishing the communication customer end and described long-range The communication connection of server-side;Far call agreement RPC request is sent to the remote service end by the communication customer end;It is logical It crosses the remote service end and parses the far call agreement RPC request, and execute in the far call agreement RPC request Business function call instruction, to obtain implementing result corresponding with business function;Implementing result is fed back into the communication clients End, to realize the corresponding business function.
Further, the remote service end includes communications module, wherein the communication customer end and described established The step of communication connection at remote service end includes: to establish connection by the communications module and the communication customer end;It is described The IP address and the remote service end that communication customer end is transmitted according to the communications module establish the communication connection.
Further, the communication customer end further includes RPC connector, and the RPC connector is for maintaining communication clients The interface channel at end and the remote service end, the IP address that the communication customer end is transmitted according to the communications module with it is described The step of communication connection is established at remote service end are as follows: by described in the RPC connector and remote service end foundation Communication connection.
Further, the communication customer end includes RPC client, it is described by the communication customer end to described long-range Server-side sends the step of far call agreement RPC request, comprising: when the communication customer end receives the IP address, Control starts the RPC client;The RPC client carries out coding to calling data information and forms the far call agreement RPC request;Far call agreement RPC request is sent to the remote service end by the RPC connector.
Further, the remote service end includes that RPC calls device and RPC receiver, described to pass through the remote service End parses the far call agreement RPC request, and the business function calling executed in the far call agreement RPC request refers to The step of enabling, comprising: the far call agreement RPC is received by the RPC receiver and is requested;Device is called by the RPC It calls specific business function algorithm to parse far call agreement RPC request, and executes the long-range tune With the business function call instruction in agreement RPC request.
The application also provides a kind of computer storage medium, and the system comprises communication customer end and remote service end, institutes It states communication customer end and the remote service end is established and communicated to connect;The communication customer end sends remote to the remote service end Journey invocation protocol RPC request;The remote service end parses the far call agreement RPC request, and executes the long-range tune With agreement RPC request in business function call instruction, to obtain implementing result corresponding with business function;The remote service Implementing result is fed back to the communication customer end by end, to realize the corresponding business function.
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (10)

1. a kind of remote invocation method, which is characterized in that be applied to communication customer end and remote service end, wherein described long-range Server-side is for providing preset business function, which comprises
Establish the communication connection of the communication customer end and the remote service end;
Far call agreement RPC request is sent to the remote service end by the communication customer end;
The far call agreement RPC request is parsed by the remote service end, and executes the far call agreement RPC and asks Business function call instruction in asking, to obtain implementing result corresponding with business function;
Implementing result is fed back into the communication customer end, to realize the corresponding business function.
2. remote invocation method as described in claim 1, which is characterized in that the remote service end includes communications module, In, the step of communication connection for establishing the communication customer end and the remote service end includes:
Connection is established by the communications module and the communication customer end;
The IP address and the remote service end that the communication customer end is transmitted according to the communications module establish the communication link It connects.
3. remote invocation method as claimed in claim 2, which is characterized in that the communication customer end further includes RPC connector, The RPC connector is used to maintaining the interface channel of communication customer end and the remote service end, the communication customer end according to The step of communication connection is established at the IP address of the communications module transmission and the remote service end are as follows: pass through the RPC The communication connection is established at connector and the remote service end.
4. remote invocation method as claimed in claim 3, which is characterized in that the communication customer end includes RPC client, institute It states and the step of far call agreement RPC is requested is sent to the remote service end by the communication customer end, comprising:
When the communication customer end receives the IP address, control starts the RPC client;
The RPC client carries out coding to calling data information and forms the far call agreement RPC request;
Far call agreement RPC request is sent to the remote service end by the RPC connector.
5. remote invocation method as claimed in claim 4, which is characterized in that the remote service end include RPC call device and RPC receiver, it is described that the far call agreement RPC request is parsed by the remote service end, and execute the long-range tune With agreement RPC request in business function call instruction the step of, comprising:
The far call agreement RPC request is received by the RPC receiver;
Call device that specific business function algorithm is called to request to carry out to the far call agreement RPC by the RPC Parsing, and execute the business function call instruction in the far call agreement RPC request.
6. a kind of far call device, which is characterized in that described device includes:
Communication unit, for establishing the communication connection of the communication customer end and the remote service end;
Transmission unit, for sending far call agreement RPC request to the remote service end by the communication customer end;
Receiving unit is requested for parsing the far call agreement RPC by the remote service end, and is executed described long-range Business function call instruction in invocation protocol RPC request, to obtain implementing result corresponding with business function;
Feedback unit, for implementing result to be fed back to the communication customer end, to realize the corresponding business function.
7. far call device as claimed in claim 6, which is characterized in that the remote service end includes communications module, institute Communication unit is stated to be also used to:
Connection is established by the communications module and the communication customer end;
The IP address and the remote service end that the communication customer end is transmitted according to the communications module establish the communication link It connects.
8. a kind of far call system, which is characterized in that the system comprises communication customer end and remote service end,
The communication customer end and the remote service end, which are established, to be communicated to connect;
The communication customer end sends far call agreement RPC request to the remote service end;
The remote service end parses the far call agreement RPC request, and executes in the far call agreement RPC request Business function call instruction, to obtain implementing result corresponding with business function;
Implementing result is fed back to the communication customer end by the remote service end, to realize the corresponding business function.
9. far call system as claimed in claim 8, which is characterized in that the remote service end in the far call system In include that communications module, RPC call device and RPC receiver, wherein the communications module is used to establish with communication customer end preliminary Communication connection;The RPC calls device for transferring interface and returning to call result;The RPC receiver, it is described long-range for making Calling system and the communication customer end establish connection;The communication customer end further includes RPC client and RPC connector, institute RPC client is stated for realizing remote interface;The RPC connector is used to maintain communication customer end and the remote service end Interface channel.
10. a kind of computer storage medium, which is characterized in that the computer storage medium has one or more programs, described One or more programs are executed by one or more processors, to realize such as far call described in any one of claim 1 to 5 The step of method.
CN201810854274.5A 2018-07-30 2018-07-30 Remote invocation method, device, system and storage medium Withdrawn CN108965312A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810854274.5A CN108965312A (en) 2018-07-30 2018-07-30 Remote invocation method, device, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810854274.5A CN108965312A (en) 2018-07-30 2018-07-30 Remote invocation method, device, system and storage medium

Publications (1)

Publication Number Publication Date
CN108965312A true CN108965312A (en) 2018-12-07

Family

ID=64466567

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810854274.5A Withdrawn CN108965312A (en) 2018-07-30 2018-07-30 Remote invocation method, device, system and storage medium

Country Status (1)

Country Link
CN (1) CN108965312A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109815025A (en) * 2018-12-17 2019-05-28 顺丰科技有限公司 Business model call method, device and storage medium
CN110825537A (en) * 2019-11-04 2020-02-21 联思智云(北京)科技有限公司 Method, device and equipment for calling remote application based on C/S architecture
CN112187869A (en) * 2020-09-03 2021-01-05 京东数字科技控股股份有限公司 Remote debugging system and method of IOT device, electronic device and storage medium
CN112367294A (en) * 2020-10-13 2021-02-12 成都精灵云科技有限公司 Network communication method between multiple hosts adapting to edge computing architecture
CN113127216A (en) * 2019-12-30 2021-07-16 北京达佳互联信息技术有限公司 Service request processing method, device, server and storage medium
CN113190292A (en) * 2021-05-26 2021-07-30 的卢技术有限公司 Method and device for remotely executing functions on multiple servers
CN113765935A (en) * 2021-09-17 2021-12-07 展讯通信(深圳)有限公司 Communication method and device, readable storage medium, application processor and terminal
CN114090280A (en) * 2021-10-12 2022-02-25 新浪网技术(中国)有限公司 Interaction method and device based on remote procedure call protocol
CN114301896A (en) * 2021-12-31 2022-04-08 高新兴物联科技有限公司 Communication method, communication system, and computer-readable storage medium
CN114546853A (en) * 2022-02-21 2022-05-27 重庆长安汽车股份有限公司 Remote debugging method based on TBOX
CN114978743A (en) * 2022-06-08 2022-08-30 杭州指令集智能科技有限公司 Service communication system across network segments
CN115495317A (en) * 2022-10-11 2022-12-20 支付宝(杭州)信息技术有限公司 Method, device and equipment for processing feature data in information recommendation
WO2024044914A1 (en) * 2022-08-29 2024-03-07 西门子股份公司 Method for generating code for describing remote procedure call, and electronic device, medium and program product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648940A (en) * 2017-03-13 2017-05-10 北京百悟科技有限公司 Remote procedure call method and device
US9723107B1 (en) * 2012-07-31 2017-08-01 Niantic, Inc. Executing cross-cutting concerns for client-server remote procedure calls
CN106998343A (en) * 2016-01-26 2017-08-01 阿里巴巴集团控股有限公司 A kind of remote procedure call processing method, apparatus and system
CN107832140A (en) * 2017-10-10 2018-03-23 武汉斗鱼网络科技有限公司 A kind of method, storage medium, electronic equipment and the system of RPC requests control
CN108259500A (en) * 2018-01-26 2018-07-06 郑州云海信息技术有限公司 A kind of RPC means of communication, system and device
CN108289060A (en) * 2017-01-09 2018-07-17 腾讯科技(深圳)有限公司 A kind of data processing method and device based on RPC service

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9723107B1 (en) * 2012-07-31 2017-08-01 Niantic, Inc. Executing cross-cutting concerns for client-server remote procedure calls
CN106998343A (en) * 2016-01-26 2017-08-01 阿里巴巴集团控股有限公司 A kind of remote procedure call processing method, apparatus and system
CN108289060A (en) * 2017-01-09 2018-07-17 腾讯科技(深圳)有限公司 A kind of data processing method and device based on RPC service
CN106648940A (en) * 2017-03-13 2017-05-10 北京百悟科技有限公司 Remote procedure call method and device
CN107832140A (en) * 2017-10-10 2018-03-23 武汉斗鱼网络科技有限公司 A kind of method, storage medium, electronic equipment and the system of RPC requests control
CN108259500A (en) * 2018-01-26 2018-07-06 郑州云海信息技术有限公司 A kind of RPC means of communication, system and device

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109815025A (en) * 2018-12-17 2019-05-28 顺丰科技有限公司 Business model call method, device and storage medium
CN109815025B (en) * 2018-12-17 2024-03-15 顺丰科技有限公司 A business model calling method, device and storage medium
CN110825537A (en) * 2019-11-04 2020-02-21 联思智云(北京)科技有限公司 Method, device and equipment for calling remote application based on C/S architecture
CN113127216A (en) * 2019-12-30 2021-07-16 北京达佳互联信息技术有限公司 Service request processing method, device, server and storage medium
CN112187869A (en) * 2020-09-03 2021-01-05 京东数字科技控股股份有限公司 Remote debugging system and method of IOT device, electronic device and storage medium
CN112367294A (en) * 2020-10-13 2021-02-12 成都精灵云科技有限公司 Network communication method between multiple hosts adapting to edge computing architecture
CN113190292A (en) * 2021-05-26 2021-07-30 的卢技术有限公司 Method and device for remotely executing functions on multiple servers
CN113190292B (en) * 2021-05-26 2023-09-26 的卢技术有限公司 Method and device for remotely executing functions on multiple servers
CN113765935B (en) * 2021-09-17 2023-09-12 展讯通信(深圳)有限公司 Communication method and device, readable storage medium, application processor and terminal
CN113765935A (en) * 2021-09-17 2021-12-07 展讯通信(深圳)有限公司 Communication method and device, readable storage medium, application processor and terminal
CN114090280A (en) * 2021-10-12 2022-02-25 新浪网技术(中国)有限公司 Interaction method and device based on remote procedure call protocol
CN114301896A (en) * 2021-12-31 2022-04-08 高新兴物联科技有限公司 Communication method, communication system, and computer-readable storage medium
CN114546853A (en) * 2022-02-21 2022-05-27 重庆长安汽车股份有限公司 Remote debugging method based on TBOX
CN114546853B (en) * 2022-02-21 2024-11-12 重庆长安汽车股份有限公司 Remote debugging method based on TBOX
CN114978743B (en) * 2022-06-08 2023-07-18 杭州指令集智能科技有限公司 Service communication system crossing network segment
CN114978743A (en) * 2022-06-08 2022-08-30 杭州指令集智能科技有限公司 Service communication system across network segments
WO2024044914A1 (en) * 2022-08-29 2024-03-07 西门子股份公司 Method for generating code for describing remote procedure call, and electronic device, medium and program product
CN115495317A (en) * 2022-10-11 2022-12-20 支付宝(杭州)信息技术有限公司 Method, device and equipment for processing feature data in information recommendation

Similar Documents

Publication Publication Date Title
CN108965312A (en) Remote invocation method, device, system and storage medium
CN112738140B (en) Video stream transmission method, device, storage medium and equipment based on WebRTC
CN111050185B (en) Live broadcast room wheat-connected video mixing method, storage medium, electronic equipment and system
US7996540B2 (en) Method and system for replacing media stream in a communication process of a terminal
US20040088737A1 (en) Method and apparatus for removing client from an interactive TV network
CN114979133B (en) A deployment method and device for a converged communication cloud platform
CN111356024B (en) Online video communication method and storage medium for webpage end and wechat applet end
CN106128468B (en) Voice communication method and device
CN101383786B (en) Method for implementing data interchange between optical network terminal and customer terminal using household gateway
CN101888412B (en) Video push processing method and system serving live broadcast of mobile terminal
CN107846609B (en) Real-time transmission method, device and system for control room data
CN116828407A (en) A packet capturing method, system and electronic device
CN105306442B (en) Proxy server and its instruction transmission method
CN115884186B (en) Wireless internal communication system
CN113923396A (en) Remote desktop control method, device and medium based on video conference scene
CN116614682B (en) All-media integrated audio and video recording and on-demand system and processing method
CN102111606A (en) Method and device for accessing to video images in video conference system
CN117857514A (en) Audio and video conference system based on browser and implementation method
CN102685338A (en) Achievement of chip scale package (CSP) telephone traffic assembly based on Flex
CN108616760B (en) Live broadcasting method based on browser, server, anchor terminal and user terminal
WO2024104183A1 (en) Device linkage real-time broadcast method and apparatus, and storage medium and computer device
CN120186594A (en) Network sharing method, device, equipment, and computer-readable storage medium
CN105100147A (en) Controlmethod and device based on separation of content provider and service provider
CN101582957A (en) System and method for revising accounting bill
CN117793071A (en) Media stream processing method and device

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20190520

Address after: 518000 Guangdong, Shenzhen, Nanshan District, Guangdong Province, Nanshan District high tech Industrial Park, South Korea 12 road, MINDRAY Building 2 floor B area, zone 12

Applicant after: Gaoxing Wulian Technology Co., Ltd.

Address before: 518000 Guangdong, Shenzhen, Nanshan District, Guangdong Province, Nanshan District high tech Industrial Park, South Korea 12 road, MINDRAY Building 2 floor B area, zone 12

Applicant before: Shenzhen Gao Xin Xing Lian Technology Co., Ltd.

WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20181207