CN115065674A - Communication method and device - Google Patents
Communication method and device Download PDFInfo
- Publication number
- CN115065674A CN115065674A CN202210924420.3A CN202210924420A CN115065674A CN 115065674 A CN115065674 A CN 115065674A CN 202210924420 A CN202210924420 A CN 202210924420A CN 115065674 A CN115065674 A CN 115065674A
- Authority
- CN
- China
- Prior art keywords
- communication
- message
- callback
- field
- application client
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000004891 communication Methods 0.000 title claims abstract description 328
- 238000000034 method Methods 0.000 title claims abstract description 87
- 238000012546 transfer Methods 0.000 claims abstract description 68
- 230000004044 response Effects 0.000 claims abstract description 50
- 230000002159 abnormal effect Effects 0.000 claims abstract description 35
- 230000000977 initiatory effect Effects 0.000 claims abstract description 12
- 230000006870 function Effects 0.000 claims description 142
- 238000012545 processing Methods 0.000 claims description 20
- 239000003999 initiator Substances 0.000 claims description 15
- 238000004590 computer program Methods 0.000 claims description 12
- 238000013507 mapping Methods 0.000 claims description 8
- 238000004458 analytical method Methods 0.000 claims description 4
- 230000007257 malfunction Effects 0.000 claims description 3
- 230000009471 action Effects 0.000 description 24
- 238000010586 diagram Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 230000005856 abnormality Effects 0.000 description 4
- 238000013459 approach Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000007792 addition Methods 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000000354 decomposition reaction Methods 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000006798 recombination Effects 0.000 description 1
- 238000005215 recombination Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/546—Message passing systems or structures, e.g. queues
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
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)
- Computer And Data Communications (AREA)
Abstract
The embodiment of the invention discloses a communication method and a device, a storage medium and electronic equipment, wherein the method comprises the following steps: when a communication request associated with a target terminal is detected at an initiating terminal, analyzing the communication request to acquire content data; generating a communication message which can be analyzed by the target terminal according to a preset message format and based on the content data; calling a message transfer function of a one-way communication bridging component according to an abnormal capturing mode, wherein the one-way communication bridging component is preset for one-way communication; and in response to the call, passing the communication message to the target end by the message passing function to cause the target end to parse the communication message and perform an operation associated with the communication message. The invention converges communication to two high-performance one-way bridges, introduces callback identifiers and a publish-subscribe mode, and realizes high fault tolerance, multiple concurrency and high flexibility.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a communication method and apparatus, a computer-readable storage medium, an electronic device, and a computer program product.
Background
With the continuous optimization of the hypertext markup language HTML5 technology and the continuous popularization of applications, and in consideration of the updating flexibility and development cost, more and more application apps are implemented by embedding Web pages. However, due to the limited capability provided by WebView, and the requirement of the Web client to share some information with the client, a communication Bridge needs to be established between the client and the Web client to implement function invocation and information transfer, where the communication Bridge is, for example, "jsbridge".
Some apps, with continuous iteration of functions, JS Bridge becomes more and more complex. In this case, JS Bridge may have poor maintainability (e.g., inconvenience in uniformly handling information of communication), error reporting, and the like. For example, currently known JS Bridge schemes include: WeChat JS-SDK, Paibao JS-SDK, WebViewJavascript bridge, and DSbridge.
In the process of calling a client by a Web end, the following schemes are mostly adopted in the prior art:
and calling a scheme defined by the client in a private mode by the Web, and executing a corresponding program or function after the client intercepts a request of the scheme. The disadvantages of this approach are: the process of intercepting the scheme request is slow, requiring about several hundred milliseconds, and therefore the delay process is significant. In addition, the content length of the data carried by the scheme is limited, and the limitation of the network Uniform Resource Identifier (URI) standard cannot be exceeded.
The client registers the Web end on the Window and needs to call a specific function, and the Web end transfers data to the client by calling the specific function. The disadvantages of this approach are: if the Web side calls a function or method in the old version of the client that is unique to the new version of the client, an error is reported. In addition, the client needs to register many functions on Window, and when the number of functions is too large, Window becomes too bulky.
In the process of directly calling or calling back a Web end by a client, the following schemes are mostly adopted in the prior art: the Web end registers a function to be called by the client on the Window, and the client transmits data to the Web end by calling the function. The disadvantages of this approach are: if the client calls a function or method in the old version of the Web page that is unique to the new version of the Web page, an error may result. In addition, the call function registered in Window can only serve one registrant, and cannot realize concurrent call or callback. Therefore, the Web side needs to register many functions on Window, and when the number of functions is too large, Window becomes too bulky.
In summary, the existing JS Bridge technologies mostly have the problems of high delay, low fault tolerance, low flexibility and the like, and therefore a communication scheme with high performance, high fault tolerance and high flexibility is needed.
Disclosure of Invention
In view of this, the invention provides a JS Bridge technical scheme with multiple concurrency, high performance, high fault tolerance and high flexibility. According to the technical scheme, all calling functions are not directly mounted on Window, but the communication between the Web end and the client is converged to two high-performance one-way bridges (convergence is beneficial to uniformly processing communication information, fault-tolerant processing is carried out by trying to capture try catch and the like), and callback identifiers callback Id and a publish-subscribe mode are introduced, so that high fault tolerance, multiple concurrency and high flexibility are realized.
Based on an aspect of the embodiments of the present invention, a communication method is provided, including:
when a communication request associated with a target terminal is detected at an initiating terminal, analyzing the communication request to acquire content data;
generating a communication message which can be analyzed by the target terminal according to a preset message format and based on the content data;
calling a message transfer function of a one-way communication bridging component according to an abnormal capturing mode, wherein the one-way communication bridging component is preset for one-way communication; and
in response to the call, passing the communication message to the target end by the message passing function to cause the target end to parse the communication message and perform an operation associated with the communication message.
Optionally, the invoking a message transfer function of the unidirectional communication bridging component in an abnormal capturing manner includes:
and attempting to call a message transfer function of the one-way communication bridge component, and providing information indicating an abnormal state to the originating terminal when the one-way communication bridge component loses a response or fails to call the message transfer function, without triggering the originating terminal to malfunction due to the abnormal state.
Optionally, the causing the target end to parse the communication message and perform an operation associated with the communication message includes:
prompting the target end to analyze the communication message to obtain an operation field;
the target performs an operation associated with the communication message based on the contents of the operation field.
Optionally, when the originating end is a network end and the destination end is an application client, the unidirectional communication bridge component is a first unidirectional communication bridge component, and the first unidirectional communication bridge component is configured to perform unidirectional communication with the application client;
the communication message is a first communication message, and the first communication message includes: a mandatory operational field and optional additional fields; the additional fields include at least one of the following fields: a data field and a callback identification field;
the message transfer function is a first message transfer function used for transferring the first communication message to an application client in a one-way mode.
Optionally, the application client determines a plurality of functions that can be provided for the network and message content required for triggering each function;
the application client adding the provided plurality of functions and message content required to trigger each function to the first one-way communication bridging component;
the application client sets the first one-way communication bridging component in the network terminal in advance.
Optionally, when the originating terminal is an application client and the destination terminal is a network terminal, the unidirectional communication bridge component is a second unidirectional communication bridge component, and the second unidirectional communication bridge component is configured to perform unidirectional communication with the network terminal;
the communication message is a second communication message, and the second communication message includes: a mandatory operational field and optional additional fields; the additional fields include: a data field.
The message transfer function is a second message transfer function, and the second message transfer function is used for unidirectionally transferring the second communication message to a network terminal.
Optionally, when the initiating end is an application client and the target end is a network end, the network end determines a plurality of functions that can be provided for the application client and message content required for triggering each function;
the network terminal adds the provided multiple functions and message contents required for triggering each function to a second one-way communication bridging component;
when the application client is the first type of application client, the second unidirectional communication bridging component is arranged in the network terminal in advance;
and when the application client is the second type of application client, the second one-way communication bridging component is arranged in the application client in advance.
Optionally, the communication message includes: a mandatory operational field and optional additional fields; the additional fields include at least one of the following fields: a data field, a callback identification field, a status response code field, and an additional information field.
When the initiating terminal is an application client and the target terminal is a network terminal, an additional field in the communication message can be empty under the condition that the calling of a message transfer function of the one-way communication bridging component in an abnormal capturing mode is active calling; and
in the case that the call to the message transfer function of the unidirectional communication bridging component in the abnormal capturing mode is a callback, the additional fields in the communication message at least include: a callback identification field and a status response code field.
Optionally, when the initiator is a network side and the target side is an application client, if it is determined that the application client needs to perform callback operation, determining a callback identifier corresponding to a callback function;
generating a key-value pair based on the callback identifier and the callback function, and storing the key-value pair in a callback mapping database;
generating a callback identification field of an additional field based on the callback identifier, and generating a communication message based on the operation field and the additional field.
Optionally, after causing the target end to parse the communication message and perform an operation associated with the communication message, the method further includes:
determining an execution state of the operation, and generating a response state code of the application client and additional information of the execution state based on the execution state;
generating a status response code field based on the response status code, and generating an additional information field according to additional information of the execution status;
generating a callback communication message according to the callback identification field, the state response code field and the additional information field;
and the application client performs callback on a second message transfer function of a second unidirectional communication bridging component according to an abnormal capturing mode, and transmits the callback communication message to the network terminal through the second message transfer function.
Optionally, after the callback communication message is transferred to the network side through the second message transfer function, the method further includes:
the network terminal analyzes the callback communication message to acquire a callback identification field, a state response code field and an additional information field;
searching a callback mapping database for a matched key-value pair based on the callback identifier in the callback identification field, and determining a callback function corresponding to the callback identifier based on the matched key-value pair;
and executing the callback function based on the status response code field and the additional information field to complete the callback operation.
Optionally, the method further comprises the step of,
the network terminal analyzes the second communication message to obtain an operation field;
executing operation associated with the communication message according to the content of the operation field, and determining whether the push message is a subscription message of the application client when the operation result is that the push message is provided for the application client;
and if the push message is a subscription message of the application client, sending the push message to the application client.
According to another aspect of the embodiments of the present invention, there is provided a communication apparatus, including:
the system comprises an analysis unit, a processing unit and a processing unit, wherein the analysis unit is used for analyzing a communication request associated with a target terminal to acquire content data when the communication request is detected at an initiating terminal;
a generating unit, configured to generate, according to a preset message format and based on the content data, a communication message that can be analyzed by the target terminal;
the device comprises a calling unit, a processing unit and a processing unit, wherein the calling unit is used for calling a message transfer function of a one-way communication bridging component according to an abnormal capturing mode, and the one-way communication bridging component is preset for one-way communication; and
a processing unit, configured to, in response to the call, deliver, by the message delivery function, the communication message to the target end to cause the target end to parse the communication message and perform an operation associated with the communication message.
According to a further aspect of the embodiments of the present invention, there is provided a computer-readable storage medium storing a computer program for executing the method of any one of the above embodiments.
Based on still another aspect of the embodiments of the present invention, there is provided an electronic device, including: a processor and a memory; wherein,
the memory to store the processor-executable instructions;
the processor is configured to read the executable instructions from the memory and execute the instructions to implement the method according to any of the embodiments.
According to a further aspect of the embodiments of the present invention, there is provided a computer program product including computer readable code, when the computer readable code runs on a device, a processor in the device executes a method for implementing any one of the embodiments.
Based on the communication method and apparatus, the computer-readable storage medium, the electronic device, and the computer program product provided by the above embodiments of the present invention, a multi-concurrency, high-performance, high-fault-tolerance, and high-flexibility communication technical scheme is implemented by generating a communication message that can be analyzed by a target, calling a message transfer function of a unidirectional communication bridge component in an exception capture manner to prompt the message transfer function to transfer the communication message to the target, analyzing the communication message by the target, and executing an operation associated with the communication message.
Based on the technical scheme of the invention, the following beneficial effects can be realized: the fault tolerance is high, and the condition that a page is seriously unavailable due to error report in cross-terminal calling when a called terminal does not register a calling function is effectively avoided; the performance is high, one calling round (calling + callback) only needs about 20 milliseconds, and compared with a scheme intercepting mode, the performance is obviously improved; multiple concurrencies are realized, the callback is identified by using the unique callback Id, and any type of action can be called simultaneously without disorder or coverage; and the method has high flexibility, introduces a publish-subscribe mode aiming at the calling of the client to the Web end, and can more conveniently realize logic solution even and multi-place response.
Drawings
The above and other objects, features and advantages of the present invention will become more apparent by describing in more detail embodiments of the present invention with reference to the attached drawings. The accompanying drawings are included to provide a further understanding of the embodiments of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings, like reference numbers generally represent like parts or steps.
Fig. 1 is a flow chart of a communication method provided by an exemplary embodiment of the present invention;
fig. 2 is a flowchart of a communication method provided by another exemplary embodiment of the present invention;
fig. 3 is a flowchart of a communication method provided by yet another exemplary embodiment of the present invention;
fig. 4 is a flowchart of a communication method provided by yet another exemplary embodiment of the present invention;
fig. 5 is a schematic structural diagram of a communication device according to an exemplary embodiment of the present invention;
fig. 6 is a schematic diagram of an electronic device provided by an exemplary embodiment of the invention.
Detailed Description
Hereinafter, example embodiments according to the present invention will be described in detail with reference to the accompanying drawings. It should be understood that the described embodiments are only some of the embodiments of the present invention, and not all of the embodiments of the present invention, and it should be understood that the present invention is not limited by the exemplary embodiments described herein.
It should be noted that: the relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
It will be understood by those of skill in the art that the terms "first," "second," and the like in the embodiments of the present invention are used merely to distinguish one element, step, device, module, or the like from another element, and do not denote any particular technical or logical order therebetween.
It should also be understood that in embodiments of the present invention, "a plurality" may refer to two or more and "at least one" may refer to one, two or more.
It is also to be understood that any reference to any component, data, or structure in the embodiments of the invention may be generally understood as one or more, unless explicitly defined otherwise or stated to the contrary hereinafter.
In addition, the term "and/or" in the present invention is only one kind of association relationship describing the associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In the present invention, the character "/" generally indicates that the preceding and following related objects are in an "or" relationship.
It should also be understood that the description of the embodiments of the present invention emphasizes the differences between the embodiments, and the same or similar parts may be referred to each other, and are not repeated herein for brevity.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
Embodiments of the invention are operational with numerous other general purpose or special purpose computing system environments or configurations, and with numerous other electronic devices, such as terminal devices, computer systems, servers, etc. Examples of well known terminal devices, computing systems, environments, and/or configurations that may be suitable for use with electronic devices, such as terminal devices, computer systems, servers, and the like, include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, hand-held or laptop devices, microprocessor-based systems, set top boxes, programmable consumer electronics, network pcs, minicomputer systems, mainframe computer systems, distributed cloud computing environments that include any of the above systems, and the like.
Electronic devices such as terminal devices, computer systems, servers, etc. may be described in the general context of computer system-executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, etc. that perform particular tasks or implement particular abstract data types. The computer system/server may be practiced in distributed cloud computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computer system storage media including memory storage devices.
The embodiment of the invention provides a communication method, which comprises the following steps: the method comprises the steps that a communication message which can be analyzed by a target end is generated, a message transfer function of a one-way communication bridging component is called according to an abnormal capturing mode, so that the message transfer function is prompted to transfer the communication message to the target end, and the target end analyzes the communication message and executes operation related to the communication message. The embodiment of the invention converges the communication between the Web end and the client to two high-performance one-way bridges, and introduces the callback identifier callback ID and a publish-subscribe mode, thereby realizing high fault tolerance, multiple concurrency and high flexibility.
Fig. 1 is a flowchart of a communication method according to an exemplary embodiment of the present invention. As shown in fig. 1, the method comprises:
In one embodiment, when an application, software, or the like in the originating peer wishes to communicate with the target peer or initiate a call, it is necessary to generate a communication request associated with the target peer and set a network address, identification information, and content data related to the communication of the target peer in the communication request. The content data may relate to, for example, an action or operation to be performed, data information, a callback identifier callbackId, etc. The component in the originating peer responsible for the communication detects the communication request and, when a communication request associated with the target peer is detected at the originating peer, parses the communication request to obtain the content data.
In one embodiment, the communication message comprises: optional action fields and optional additional fields; the additional fields include at least one of the following fields: a data field data, a callback identification field callbacking Id, a status response code field code and an additional information field msg. Depending on the communication procedure, the additional fields in the communication message may carry different content. For example, when the initiator is an application client and the target is a network, the additional field in the communication message can be null if the call to the message transfer function of the unidirectional communication bridge component in the abnormal capture manner is active. For example, in the case where the call made to the message passing function of the unidirectional communication bridging component in the abnormal capture manner is a callback, the additional fields in the communication message at least include: a callback identification field and a status response code field. In this case, since the application client needs to make a callback using the callback identification field and update the response status using the status response code field, the callback identification field and the status response code field are added to additional fields in the communication message.
And 103, calling a message transfer function of the one-way communication bridging component according to an abnormal capturing mode. Wherein the one-way communication bridging component is pre-configured for one-way communication. As described above, the solution of the present invention is not to directly mount all the calling functions to a specific file location, but to converge the communication between the originating and the target to two high-performance unidirectional communication bridging components (convergence helps to process the communication information uniformly, fault-tolerant processing using try-to-capture try catch, etc.)
In one embodiment, the calling the message transfer function of the one-way communication bridging component according to the abnormal capturing mode comprises the following steps: and attempting to call a message transfer function of the one-way communication bridge component, and providing information indicating an abnormal state to the originating terminal when the one-way communication bridge component loses a response or fails to call the message transfer function, without triggering the originating terminal to malfunction due to the abnormal state. When the network terminal calls the message transfer function to call, through the way of capturing try catch abnormally, if the application client side fails to inject the native bridge component for the application client side or fails to call the message transfer function postMessage method, the network terminal cannot report errors to cause more serious functional abnormality, and meanwhile, abnormal information can be reported so that developers can monitor and analyze the problems. Similarly, when the application client calls the callWeb method at the network end, through the way of capturing try catch abnormally, if the network end does not mount the one-way communication bridge component WebBridge for the network end and calls the callWeb method at the network end, the page function abnormality caused by error reporting can not occur, and meanwhile, the abnormal information can be reported so that a developer can monitor and analyze the problem.
In response to the call, the communication message is passed by the message passing function to the target, step 104, to cause the target to parse the communication message and perform an operation associated with the communication message.
In one embodiment, causing the target end to parse the communication message and perform operations associated with the communication message includes: prompting the target end to analyze the communication message so as to obtain an operation field action; and the target terminal executes the operation associated with the communication message based on the content of the operation field action.
In one embodiment, when the initiator is a network and the target is an application client, the one-way communication bridging component is a first one-way communication bridging component, and the first one-way communication bridging component is used for one-way communication with the application client. In this case, the communication message is a first communication message including: a mandatory operational field and optional additional fields; the additional fields include at least one of the following fields: a data field and a callback identification field. In this case, the message transfer function is a first message transfer function for one-way delivery of the first communication message to the application client.
In one embodiment, an application client determines a plurality of functions capable of being provided for a network and message content required to trigger each function; the application client adds the provided multiple functions and the message content required for triggering each function to the first one-way communication bridging component; the application client sets a first one-way communication bridging component in the network terminal in advance.
In a specific example, when the initiator is a network and the target is an application client, for example, when the Web (or the network) performs unidirectional communication to the client (or the application client), a postMessage method of native bridge is called, assembled information is sent to the client, and the client parses the information and then executes corresponding operations, as shown in fig. 2. Fig. 2 is a flowchart of a communication method according to another exemplary embodiment of the present invention. The native bridge (e.g., a first unidirectional communication bridge component) is an object injected into the Web end in advance by the client (e.g., an object injected into a window in an android system, an object injected into a window in an iOS system, and an object injected into a window in a Web.
Preferably, the information for communication may include: action (required), data (not required), and callback id (not required, in case a callback is required). action defines the purpose of the information used for communication or the action that the client needs to take; the data is an action-attached data load; the callback id is a callback identifier, and the client needs to carry the callback id for a callback (see fig. 4 for details of the callback).
And the Web end transmits the action and the data into a postMessage method according to an agreed information format, wherein the format of the iOS system is json Object, and the format of the android system is json String.
When the Web end calls the postMessage method, a try catch mode is adopted, if the client fails to inject the native bridge or the postMessage method is called, the Web end cannot report errors to cause more serious functional abnormality, and abnormal information can be reported so that developers can monitor and analyze the problems.
And after receiving the information from the postMessage, the client analyzes the information and executes corresponding operation.
In one embodiment, when the initiator is the application client and the target is the network, the one-way communication bridging component is a second one-way communication bridging component, and the second one-way communication bridging component is used for performing one-way communication with the network. In this case, the communication message is a second communication message, the second communication message including: a mandatory operational field and optional additional fields; the additional fields include: a data field. In this case, the message transfer function is a second message transfer function, and the second message transfer function is used for unidirectionally transferring the second communication message to the network side.
In one embodiment, the method further comprises, when the initiating end is an application client and the target end is a network end, the network end determining a plurality of functions capable of being provided for the application client and message contents required for triggering each function. The network side adds the provided plurality of functions and message contents required for triggering each function to the second one-way communication bridge component. Preferably, when the application client is the first type of application client, the second unidirectional communication bridging component is arranged in the network side in advance. For example, WebBridge (e.g., the second unidirectional communication bridging component) provides an object which is previously mounted in the window for the web-side, and the WebBridge provides a calling network callWeb method for accepting the calling of the client, and the client performs unidirectional communication to the web-side through the method.
And when the application client is the second type of application client, a second one-way communication bridging component is arranged in the application client in advance. For example, for apps that need to access a large amount of third-party WebView, the function code of WebBridge can also be injected by the client into the window, so that the Web end can avoid the process of accessing WebBridge, but the update of the WebBridge function depends on the client.
In a specific example, when the originating terminal is an application client and the target terminal is a network terminal, and the client performs unidirectional communication with the Web terminal, the client calls a network callWeb method of WebBridge, assembled information is sent to the Web terminal, and the Web terminal analyzes the information and then executes corresponding operations, as shown in fig. 3. Fig. 3 is a flowchart of a communication method according to another exemplary embodiment of the present invention.
WebBridge is an object which is mounted by a Web end in the window in advance, the WebBridge provides a callWeb method for receiving the call of a client, and the client performs one-way communication to the Web end through the method.
Preferably, there are two cases of information used for communication:
the client actively calls the Web end (refer to FIG. 3): the information used for communication includes action (required) and data (not required). action defines the purpose of the information or the event happening at the client; data is the data payload attached to the action.
(II) client callback Web-side (refer to FIG. 4 below): the information used for communication includes callback id (required), code (required), data (not required), and msg (not required). callbackId is callback identification when the Web calls the client (see S102). The code is a response status code of the client, defines "0" as a success status, and defines non-0 "as a failure status, and can define a specific non-0 character string to distinguish failure scenarios according to service scenarios during use (for example," 1 "represents a general error, and" 6 "represents operation timeout); the data is the additional data load of the callback; msg is additional information of traffic status.
The client transmits information for communication into a callWeb method according to an agreed information format, and both the iOS and the android system use json Object.
When the client calls the callWeb method, a try catch mode is adopted, if the Web end does not mount the WebBridge and the callWeb method, the page function abnormity caused by error reporting can not occur, and meanwhile, the abnormal information can be reported so that a developer can monitor and analyze the problems.
The callWeb method of the Web end analyzes the information after receiving the information, if the information contains an action, the Web adopts a mode of issuing subscription to issue the action and the data to a subscriber of the action, and the subscriber executes corresponding operation after receiving the information; and if the information contains callback Id, entering a callback processing flow.
In one embodiment, the communication message comprises: a mandatory operational field and optional additional fields; the additional fields include at least one of the following fields: a data field, a callback identification field, a status response code field, and an additional information field. When the initiating terminal is an application client and the target terminal is a network terminal, under the condition that the calling of the message transfer function of the one-way communication bridging component in the abnormal capturing mode is active calling, the additional field in the communication message can be empty; and under the condition that the call to the message transfer function of the unidirectional communication bridging component in the abnormal capturing mode is a callback, the additional fields in the communication message at least comprise: a callback identification field and a status response code field.
In one embodiment, when the initiator is a network side and the target side is an application client, if it is determined that the application client needs to perform callback operation, determining a callback identifier corresponding to a callback function; generating a key-value pair based on the callback identifier and the callback function, and storing the key-value pair in a callback mapping database; a callback identification field of the additional field is generated based on the callback identifier, and a communication message is generated based on the operation field and the additional field.
In one embodiment, after causing the target end to parse the communication message and perform the operation associated with the communication message, the method further comprises: determining an execution state of the operation, and generating a response state code of the application client and additional information of the execution state based on the execution state; generating a status response code field based on the response status code, and generating an additional information field according to the additional information of the execution status; generating a callback communication message according to the callback identification field, the state response code field and the additional information field; and the application client performs callback on a second message transfer function of the second unidirectional communication bridging component according to the abnormal capturing mode, and transmits the callback communication message to the network terminal through the second message transfer function.
In one embodiment, after the callback communication message is delivered to the network side through the second message delivery function, the method further includes: the network side analyzes the callback communication message to obtain a callback identification field, a state response code field and an additional information field; searching a matched key-value pair in a callback mapping database based on the callback identifier in the callback identification field, and determining a callback function corresponding to the callback identifier based on the matched key-value pair; and executing the callback function based on the status response code field and the additional information field to complete the callback operation.
In a specific example, if the Web end needs to perform a callback after the client executes the action, a callback id bound to a callback function (callback handler) is added to the called information. After the client executes the corresponding operation, the client calls back the callback information containing the callback id to the Web end through the callback Web, the Web end finds the corresponding callback handler through the callback id, and then executes the callback, as shown in fig. 4. Fig. 4 is a flowchart of a communication method according to still another exemplary embodiment of the present invention.
Before the Web end calls the client, if a callback requirement exists, a unique callback Id is generated for the call, the callback Id and a callback handler are stored in a callback handles map in a key-value pair mode, and the callback Id is assembled into information along with action and data and sent to the client. That is, when the Web side calls the client side, the information for communication may include: action (required), data (not required), and callbacking id (required). action defines the purpose of the information used for communication or the action that the client needs to take; the data is an action-attached data load; the callback Id is a callback identifier, and the client needs to carry the callback Id for callback. The callback id is a unique callback identifier (string), remains unique throughout the lifetime of the client, and is not limited in format. The proposed format is: the unique identification of the [ WebView context ] - [ random number ] - [ calling sequence number ], can ensure the uniqueness and increase the convenience of development and debugging.
And the Web end transmits the action and the data into a postMessage method according to an agreed information format so as to transmit the information to the client end through the first one-way communication bridging component.
And after receiving the information from the postMessage, the client analyzes the information and executes corresponding operation.
And after the client executes the corresponding operation, the callback information containing the callback Id is called back to the Web end through the callback Web by the second one-way communication bridge component WebBridge.
And the Web end finds a corresponding callback handler in the callback handles map through the callback Id, and transmits the code, the data and the msg called back by the client end into the callback handler for execution.
In one embodiment, the method further comprises the steps that the network terminal analyzes the second communication message to obtain an operation field; executing operation associated with the communication message according to the content of the operation field, and determining whether the push message is a subscription message of the application client when the operation result is that the push message is provided for the application client; and if the push message is a subscription message of the application client, sending the push message to the application client. In a specific example, the client performs release subscription management on the action actively calling the Web end, and only calls the action subscribed by the Web end, so that unnecessary information transmission can be reduced, and the network bandwidth can be saved.
Fig. 5 is a schematic structural diagram of a communication device according to an exemplary embodiment of the present invention. The communication apparatus includes:
the parsing unit 501 is configured to, when a communication request associated with a target end is detected at an originating end, parse the communication request to obtain content data.
A generating unit 502 is configured to generate a communication message that can be analyzed by the target terminal according to a preset message format and based on the content data.
A calling unit 503, configured to call a message transfer function of a one-way communication bridge component according to an exception capture manner, where the one-way communication bridge component is preset for one-way communication. The invoking unit 503 is specifically configured to attempt to invoke a message transfer function of the unidirectional communication bridge component, and when the unidirectional communication bridge component loses a response or fails to invoke the message transfer function, provide information indicating an abnormal state to the originating terminal without triggering the originating terminal to perform a functional abnormality due to the abnormal state.
A processing unit 504 for, in response to the call, passing the communication message to the target by the message passing function to cause the target to parse the communication message and perform an operation associated with the communication message. The processing unit 504 is specifically configured to prompt the target end to parse the communication message to obtain an operation field; and the target performs an operation associated with the communication message based on the content of the operation field.
In one embodiment, when the initiator is a network and the target is an application client, the one-way communication bridging component is a first one-way communication bridging component, and the first one-way communication bridging component is used for one-way communication with the application client. The communication message is a first communication message, the first communication message comprising: a mandatory operational field and optional additional fields; the additional fields include at least one of the following fields: a data field and a callback identification field. The message transfer function is a first message transfer function for one-way transfer of the first communication message to the application client. The application client determines a plurality of functions that can be provided for the network side and message content required to trigger each function. The application client adds the provided plurality of functions and the message content required to trigger each function to the first one-way communication bridging component. The application client sets a first one-way communication bridging component in the network terminal in advance.
In one embodiment, when the initiator is the application client and the target is the network, the one-way communication bridging component is a second one-way communication bridging component, and the second one-way communication bridging component is used for performing one-way communication with the network. The communication message is a second communication message, and the second communication message comprises: a mandatory operational field and optional additional fields; the additional fields include: a data field. The message transfer function is a second message transfer function, and the second message transfer function is used for unidirectionally transferring the second communication message to the network terminal.
In one embodiment, when the initiator is an application client and the target is a network, the network determines a plurality of functions that can be provided for the application client and message contents required to trigger each function. The network side adds the provided plurality of functions and message contents required for triggering each function to the second one-way communication bridge component. And when the application client is the first type of application client, a second one-way communication bridging component is arranged in the network terminal in advance. And when the application client is the second type of application client, a second one-way communication bridging component is arranged in the application client in advance.
In one embodiment, the communication message comprises: a mandatory operational field and optional additional fields; the additional fields include at least one of the following fields: a data field, a callback identification field, a status response code field, and an additional information field. When the initiating terminal is an application client and the target terminal is a network terminal, the additional field in the communication message can be null under the condition that the call to the message transfer function of the one-way communication bridging component in the abnormal capturing mode is active. Under the condition that the call made to the message transfer function of the unidirectional communication bridging component in the abnormal capturing mode is a callback, the additional fields in the communication message at least comprise: a callback identification field and a status response code field.
In one embodiment, when the initiator is a network side and the target side is an application client, if it is determined that the application client needs to perform callback operation, a callback identifier corresponding to a callback function is determined. And generating a key-value pair based on the callback identifier and the callback function, and storing the key-value pair in a callback mapping database. A callback identification field of the additional field is generated based on the callback identifier, and a communication message is generated based on the operation field and the additional field.
And the callback unit 505 is used for determining the execution state of the operation, and generating a response state code of the application client and additional information of the execution state based on the execution state. A status response code field is generated based on the response status code, and an additional information field is generated according to additional information of the execution status. And generating a callback communication message according to the callback identification field, the state response code field and the additional information field. And the application client performs callback on a second message transfer function of the second unidirectional communication bridging component according to an abnormal capturing mode, and transfers the callback communication message to the network terminal through the second message transfer function.
The callback unit 505 is further configured to prompt the network side to analyze the callback communication message to obtain a callback identification field, a status response code field, and an additional information field; prompting the network terminal to search a matched key-value pair in a callback mapping database based on the callback identifier in the callback identification field, and determining a callback function corresponding to the callback identifier based on the matched key-value pair; and prompting the network terminal to execute the callback function based on the state response code field and the additional information field so as to complete the callback operation.
A subscribing unit 506, configured to prompt the network side to parse the second communication message to obtain an operation field; executing operation associated with the communication message according to the content of the operation field, and determining whether the push message is a subscription message of the application client when the operation result is that the push message is provided for the application client; and if the push message is a subscription message of the application client, sending the push message to the application client.
It should be understood that the technical features of native bridge, WebBridge, action, callbacldd, code, data, msg, etc. in the above embodiments may also be expressed using other technical terms, such as AppBridge, JSBridge, method, event, eventId, status, payload, message, etc. The use of technical terms should not be construed to limit the scope of the present disclosure or protection.
Fig. 6 is a schematic diagram of an electronic device provided by an exemplary embodiment of the invention. As shown in fig. 6, the electronic device 60 includes one or more processors 610 and memory 620.
The processor 610 may be a Central Processing Unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.
The input device 630 may also include, for example, a keyboard, a mouse, and the like.
The output device 640 may output various information to the outside. The output devices 640 may include, for example, a display, speakers, a printer, and a communication network and remote output devices connected thereto, among others.
Of course, for simplicity, only some of the components of the electronic device that are relevant to the present invention are shown in fig. 6, omitting components such as buses, input/output interfaces, and the like. In addition, the electronic device may include any other suitable components, depending on the particular application.
Exemplary computer program product and computer-readable storage medium in addition to the above-described methods and apparatus, embodiments of the present invention may also be a computer program product comprising computer program instructions that, when executed by a processor, cause the processor to perform steps in a communication method according to various embodiments of the present invention described in the "exemplary methods" section of this specification above.
The computer program product may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages, for carrying out operations according to embodiments of the present invention. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server.
Furthermore, embodiments of the present invention may also be a computer-readable storage medium having stored thereon computer program instructions which, when executed by a processor, cause the processor to perform steps in a communication method according to various embodiments of the present invention described in the "exemplary methods" section above of this specification.
The computer-readable storage medium may take any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may include, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The basic principles of the present invention have been described above with reference to specific embodiments, but it should be noted that the advantages, effects, etc. mentioned in the present invention are only examples and are not limiting, and the advantages, effects, etc. must not be considered to be possessed by various embodiments of the present invention. Furthermore, the foregoing disclosure of specific details is for the purpose of illustration and description and is not intended to be limiting, since the invention is not limited to the specific details described above.
In the present specification, the embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts in the embodiments are referred to each other. For the system embodiment, since it basically corresponds to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The block diagrams of devices, apparatuses, systems involved in the present invention are only given as illustrative examples and are not intended to require or imply that the connections, arrangements, configurations, etc. must be made in the manner shown in the block diagrams. These devices, apparatuses, devices, systems may be connected, arranged, configured in any manner, as will be appreciated by those skilled in the art. Words such as "including," "comprising," "having," and the like are open-ended words that mean "including, but not limited to," and are used interchangeably therewith. The words "or" and "as used herein mean, and are used interchangeably with, the word" and/or, "unless the context clearly dictates otherwise. The word "such as" is used herein to mean, and is used interchangeably with, the phrase "such as but not limited to".
The method and apparatus of the present invention may be implemented in a number of ways. For example, the methods and apparatus of the present invention may be implemented in software, hardware, firmware, or any combination of software, hardware, and firmware. The above-described order for the steps of the method is for illustrative purposes only, and the steps of the method of the present invention are not limited to the order specifically described above unless specifically indicated otherwise. Furthermore, in some embodiments, the present invention may also be embodied as a program recorded in a recording medium, the program including machine-readable instructions for implementing a method according to the present invention. Thus, the present invention also covers a recording medium storing a program for executing the method according to the present invention.
It should also be noted that in the apparatus, devices and methods of the present invention, the components or steps may be broken down and/or re-combined. These decompositions and/or recombinations are to be regarded as equivalents of the present invention. The previous description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the invention. Thus, the present invention is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing description has been presented for purposes of illustration and description. Furthermore, the description is not intended to limit embodiments of the invention to the form disclosed herein. While a number of example aspects and embodiments have been discussed above, those of skill in the art will recognize certain variations, modifications, alterations, additions and sub-combinations thereof.
Claims (15)
1. A method of communication, comprising:
when a communication request associated with a target terminal is detected at an initiating terminal, analyzing the communication request to acquire content data;
generating a communication message which can be analyzed by the target terminal according to a preset message format and based on the content data;
calling a message transfer function of a one-way communication bridging component according to an abnormal capturing mode, wherein the one-way communication bridging component is preset for one-way communication; and
in response to the call, passing the communication message to the target end by the message passing function to cause the target end to parse the communication message and perform an operation associated with the communication message.
2. The communication method according to claim 1, wherein the calling the message transfer function of the unidirectional communication bridging component in the abnormal capturing manner comprises:
and attempting to call a message transfer function of the one-way communication bridge component, and providing information indicating an abnormal state to the originating terminal when the one-way communication bridge component loses a response or fails to call the message transfer function, without triggering the originating terminal to malfunction due to the abnormal state.
3. The communication method of claim 1, the causing the target end to parse the communication message and perform operations associated with the communication message, comprising:
prompting the target end to analyze the communication message to obtain an operation field;
the target performs an operation associated with the communication message based on the contents of the operation field.
4. The communication method according to claim 1, wherein when the originating terminal is a network terminal and the destination terminal is an application client terminal, the unidirectional communication bridge component is a first unidirectional communication bridge component, and the first unidirectional communication bridge component is configured to perform unidirectional communication with the application client terminal;
the communication message is a first communication message, and the first communication message includes: a mandatory operational field and optional additional fields; the additional fields include at least one of the following fields: a data field and a callback identification field;
the message transfer function is a first message transfer function used for transferring the first communication message to an application client in a one-way mode.
5. The communication method according to claim 4, wherein the application client determines a plurality of functions which can be provided for the network and message contents required for triggering each function;
the application client adds the provided plurality of functions and message content required to trigger each function to the first one-way communication bridging component;
the application client sets the first one-way communication bridging component in the network terminal in advance.
6. The communication method according to claim 1, wherein when the originating terminal is an application client and the destination terminal is a network terminal, the unidirectional communication bridge component is a second unidirectional communication bridge component, and the second unidirectional communication bridge component is configured to perform unidirectional communication with the network terminal;
the communication message is a second communication message, and the second communication message includes: a mandatory operational field and optional additional fields; the additional fields include: a data field; the message transfer function is a second message transfer function, and the second message transfer function is used for unidirectionally transferring the second communication message to a network terminal.
7. The communication method according to claim 1, further comprising, when the originating terminal is an application client and the target terminal is a network terminal, the network terminal determining a plurality of functions that can be provided for the application client and message contents required for triggering each function;
the network terminal adds the provided multiple functions and message contents required for triggering each function to a second one-way communication bridging component;
when the application client is the first type of application client, the second one-way communication bridging component is arranged in the network terminal in advance;
and when the application client is the second type of application client, the second one-way communication bridging component is arranged in the application client in advance.
8. The communication method of claim 1, the communication message comprising: a mandatory operational field and optional additional fields; the additional fields include at least one of the following fields: a data field, a callback identification field, a status response code field and an additional information field; when the initiating terminal is an application client and the target terminal is a network terminal, an additional field in the communication message can be empty under the condition that the calling of a message transfer function of the one-way communication bridging component in an abnormal capturing mode is active calling; and
in the case that the call made to the message transfer function of the unidirectional communication bridging component in the exception capture mode is a callback, the additional fields in the communication message at least include: a callback identification field and a status response code field.
9. The communication method according to claim 8, wherein when the initiator is a network side and the target side is an application client, if it is determined that the application client is required to perform a callback operation, a callback identifier corresponding to a callback function is determined;
generating a key-value pair based on the callback identifier and the callback function, and storing the key-value pair in a callback mapping database;
generating a callback identification field of an additional field based on the callback identifier, and generating a communication message based on the operation field and the additional field.
10. The communication method of claim 9, further comprising, after causing the target end to parse the communication message and perform operations associated with the communication message:
determining an execution state of the operation, and generating a response state code of the application client and additional information of the execution state based on the execution state;
generating a status response code field based on the response status code, and generating an additional information field according to additional information of the execution status;
generating a callback communication message according to the callback identification field, the state response code field and the additional information field;
and the application client performs callback on a second message transfer function of a second unidirectional communication bridging component according to an abnormal capturing mode, and transmits the callback communication message to the network terminal through the second message transfer function.
11. The communication method according to claim 10, further comprising, after passing the callback communication message to the network side through the second message passing function:
the network terminal analyzes the callback communication message to acquire a callback identification field, a state response code field and an additional information field;
searching a callback mapping database for a matched key-value pair based on the callback identifier in the callback identification field, and determining a callback function corresponding to the callback identifier based on the matched key-value pair;
and executing the callback function based on the status response code field and the additional information field to complete the callback operation.
12. The communication method according to claim 6, further comprising,
the network terminal analyzes the second communication message to obtain an operation field;
executing operation associated with the communication message according to the content of the operation field, and determining whether the push message is a subscription message of the application client when the operation result is that the push message is provided for the application client;
and if the push message is a subscription message of the application client, sending the push message to the application client.
13. A communication device, comprising:
the system comprises an analysis unit, a processing unit and a processing unit, wherein the analysis unit is used for analyzing a communication request associated with a target terminal to acquire content data when the communication request is detected at an initiating terminal;
a generating unit, configured to generate, according to a preset message format and based on the content data, a communication message that can be analyzed by the target terminal;
the device comprises a calling unit, a processing unit and a processing unit, wherein the calling unit is used for calling a message transfer function of a one-way communication bridging component according to an abnormal capturing mode, and the one-way communication bridging component is preset for one-way communication; and
a processing unit, configured to deliver, by the message delivery function, the communication message to the target end in response to the call, so as to cause the target end to parse the communication message and perform an operation associated with the communication message.
14. A computer-readable storage medium, characterized in that the storage medium stores a computer program for performing the method of any of claims 1-12.
15. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
the processor to read the executable instructions from the memory and execute the instructions to implement the method of any of claims 1-12.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210924420.3A CN115065674B (en) | 2022-08-03 | 2022-08-03 | Communication method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210924420.3A CN115065674B (en) | 2022-08-03 | 2022-08-03 | Communication method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115065674A true CN115065674A (en) | 2022-09-16 |
CN115065674B CN115065674B (en) | 2023-03-24 |
Family
ID=83207642
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210924420.3A Active CN115065674B (en) | 2022-08-03 | 2022-08-03 | Communication method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115065674B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060045070A1 (en) * | 2004-09-02 | 2006-03-02 | Gryphon Networks | System and method for exchanging information with a relationship management system |
CN103269384A (en) * | 2013-06-14 | 2013-08-28 | 福建伊时代信息科技股份有限公司 | Rich client abnormality processing method, processing device and processing system |
US20180203609A1 (en) * | 2017-01-13 | 2018-07-19 | Arm Limited | Partitioning of memory system resources or performance monitoring |
CN109857515A (en) * | 2018-12-20 | 2019-06-07 | 深圳前海微众银行股份有限公司 | Bridge communications method, apparatus, equipment and computer readable storage medium |
CN111510349A (en) * | 2020-04-09 | 2020-08-07 | 上海东普信息科技有限公司 | Method, device, equipment and storage medium for service abnormity detection and alarm |
CN111563032A (en) * | 2020-03-26 | 2020-08-21 | 中国平安财产保险股份有限公司 | APP debugging method and device, computer equipment and storage medium |
CN112306647A (en) * | 2019-07-29 | 2021-02-02 | 马维尔亚洲私人有限公司 | Object oriented memory |
US20210409546A1 (en) * | 2020-06-29 | 2021-12-30 | Avaya Management L.P. | Prompt feature to leave voicemail for appropriate attribute-based call back to customers |
CN114697371A (en) * | 2022-04-13 | 2022-07-01 | 中国农业银行股份有限公司 | Remote calling method and device |
CN114745412A (en) * | 2022-03-02 | 2022-07-12 | 深圳融安网络科技有限公司 | Bidirectional remote procedure calling method, device, equipment and storage medium |
-
2022
- 2022-08-03 CN CN202210924420.3A patent/CN115065674B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060045070A1 (en) * | 2004-09-02 | 2006-03-02 | Gryphon Networks | System and method for exchanging information with a relationship management system |
CN103269384A (en) * | 2013-06-14 | 2013-08-28 | 福建伊时代信息科技股份有限公司 | Rich client abnormality processing method, processing device and processing system |
US20180203609A1 (en) * | 2017-01-13 | 2018-07-19 | Arm Limited | Partitioning of memory system resources or performance monitoring |
CN109857515A (en) * | 2018-12-20 | 2019-06-07 | 深圳前海微众银行股份有限公司 | Bridge communications method, apparatus, equipment and computer readable storage medium |
CN112306647A (en) * | 2019-07-29 | 2021-02-02 | 马维尔亚洲私人有限公司 | Object oriented memory |
CN111563032A (en) * | 2020-03-26 | 2020-08-21 | 中国平安财产保险股份有限公司 | APP debugging method and device, computer equipment and storage medium |
CN111510349A (en) * | 2020-04-09 | 2020-08-07 | 上海东普信息科技有限公司 | Method, device, equipment and storage medium for service abnormity detection and alarm |
US20210409546A1 (en) * | 2020-06-29 | 2021-12-30 | Avaya Management L.P. | Prompt feature to leave voicemail for appropriate attribute-based call back to customers |
CN114745412A (en) * | 2022-03-02 | 2022-07-12 | 深圳融安网络科技有限公司 | Bidirectional remote procedure calling method, device, equipment and storage medium |
CN114697371A (en) * | 2022-04-13 | 2022-07-01 | 中国农业银行股份有限公司 | Remote calling method and device |
Non-Patent Citations (1)
Title |
---|
周晨叶: "移动Agent可靠组通信研究", 《中国优秀硕士学位论文全文数据库》 * |
Also Published As
Publication number | Publication date |
---|---|
CN115065674B (en) | 2023-03-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111600909B (en) | Data processing method, device, protocol conversion equipment and storage medium | |
CN106998343B (en) | Remote procedure call processing method, device and system | |
EP1094391B1 (en) | Method and apparatus for testing a computer system through software fault injection | |
US7529823B2 (en) | Notifications for shared resources | |
US10341194B2 (en) | System and method for building, optimizing, and enforcing infrastructure on a cloud based computing environment | |
US20080071922A1 (en) | Methods, systems, and computer program products to transparently dispatch requests to remote resources in a multiple application server environment | |
US20180115613A1 (en) | Providing access to a smartcard within a remote session | |
US8666940B2 (en) | Method and apparatus for communicating data between computer devices | |
US20150319221A1 (en) | Tracing business transactions based on application frameworks | |
WO2018176356A1 (en) | System and method for determining the success of a cross-platform application migration | |
US10592277B2 (en) | System and method for determining the success of a cross-platform application migration | |
CN110750365A (en) | Remote procedure calling method, system, terminal and storage medium | |
CN113660307B (en) | Algorithm comprehensive integrated service system | |
WO2017166166A1 (en) | System and method for providing runtime tracing for web-based client accessing transactional middleware platform using extension interface | |
CN112565277B (en) | Data transmission method, system and electronic equipment | |
CN115065674B (en) | Communication method and device | |
CN110543360A (en) | Task processing method and system | |
CN108347456B (en) | Application program downloading method and device | |
US20160182667A1 (en) | Management Application for an Application Router | |
CN112968866B (en) | Method, device and system for binding user account information and user identity information | |
GB2501513A (en) | Message handling in an enterprise service bus | |
CN115794052A (en) | Software interface communication message packaging method and related device | |
Duett et al. | EZHPC: easy access to high performance computing | |
CN117667304A (en) | Gateway system expansion method, device and storage medium | |
CN118689666A (en) | Micro-service treatment method, device and product based on byte codes |
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 |