CN117201577B - Communication method and system of cross-platform API and SPI based on PISA - Google Patents

Communication method and system of cross-platform API and SPI based on PISA Download PDF

Info

Publication number
CN117201577B
CN117201577B CN202311470418.4A CN202311470418A CN117201577B CN 117201577 B CN117201577 B CN 117201577B CN 202311470418 A CN202311470418 A CN 202311470418A CN 117201577 B CN117201577 B CN 117201577B
Authority
CN
China
Prior art keywords
api
spi
platform
cross
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311470418.4A
Other languages
Chinese (zh)
Other versions
CN117201577A (en
Inventor
唐超
余官杰
李小龙
黄历
赵建青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Electronics Great Wall Changsha Information Technology Co ltd
Great Wall Information Co Ltd
Original Assignee
China Electronics Great Wall Changsha Information 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 China Electronics Great Wall Changsha Information Technology Co ltd filed Critical China Electronics Great Wall Changsha Information Technology Co ltd
Priority to CN202311470418.4A priority Critical patent/CN117201577B/en
Publication of CN117201577A publication Critical patent/CN117201577A/en
Application granted granted Critical
Publication of CN117201577B publication Critical patent/CN117201577B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a communication method and a system of a cross-platform API and an SPI based on PISA, wherein the method comprises the following steps: when the application layer needs to call a target SPI through an API, the API sends an API call request to a local end manager; the local end manager generates a callback message object name, registers the callback message object name to a local message center, adds the callback message object name with the network address of the API and sends the callback message object name to the cross-platform SPI service layer; the local end manager sends an API call request to a cross-platform SPI service layer; the cross-platform SPI service layer executes target SPI call according to the API call request, and generates a completion message; and the cross-platform SPI service layer sends the completion message to the terminal machine where the API is located through the local terminal manager according to the network address in the callback message object name. The problem that communication between APIs and SPIs can not be realized between different operating system platforms based on PISA is solved.

Description

Communication method and system of cross-platform API and SPI based on PISA
Technical Field
The invention belongs to the technical field of computers, and particularly relates to a communication method and system of a cross-platform API and SPI based on PISA.
Background
In the field of intelligent terminals, the smart tool standard architecture protocol (Protocol for Intelligence terminal Standards Architecture, PISA) is a standard architecture of intelligent terminals, and the manager needs to implement the message and event notification mechanism of the application program interface (Application Programming Interface, API) layer and the service provisioning interface (Service Provider Interface, SPI) layer.
In the original Windows-based operating system, messages and event notification are completed by using WINDOWS window events in communication mode of an API layer and an SPI layer in CEN/XFS (The European Committee for Standardization/Extensions for FinancialServices) protocol. And the communication mode of the API layer and the SPI layer in the Linux platform is realized by adopting a real-time data bus DBus service of a Linux system.
However, the PISA is an architecture protocol compatible with Windows systems, linux and Android platforms, and the API layer and the SPI layer of each operating system have different communication modes, so that the API layer and the SPI layer of different operating system platforms of the PISA cannot communicate with each other.
Disclosure of Invention
In order to make up the defects of the prior art, the invention provides a communication method and a communication system of a cross-platform API and an SPI based on PISA.
In order to solve the technical problems, the invention adopts the following technical scheme:
in a first aspect, a method for communicating a cross-platform API and an SPI based on PISA is provided, which is applied to a communication system of the cross-platform API and the SPI based on PISA, the communication system of the cross-platform API and the SPI based on PISA includes an application layer, a local manager, and a remote device, the local manager has an API layer, the remote device has a cross-platform SPI service layer and an SPI layer, and the method for communicating includes:
when the application layer needs to call a target SPI through an API, the API sends an API call request to a local end manager;
the local end manager generates a callback message object name, registers the callback message object name to a local message center, adds the callback message object name with the network address of the API and sends the callback message object name to the cross-platform SPI service layer;
the local end manager sends an API call request to a cross-platform SPI service layer;
the cross-platform SPI service layer executes target SPI call according to the API call request, and generates a completion message;
and the cross-platform SPI service layer sends the completion message to the terminal machine where the API is located through the local terminal manager according to the network address in the callback message object name.
Further, the method further comprises:
the local end manager establishes a network communication mode between a cross-platform SPI service layer and an API layer;
the network communication mode supports various operating systems;
the home terminal manager has a message service function based on a network communication mode, and the message service function supports object name registration and message sending.
Further, the home terminal manager generates a callback message object name, registers the callback message object name to a local message center, and sends the callback message object name plus a network address of an API to a cross-platform SPI service layer, including:
the local end manager reads preset configuration information and determines SPI service call of the remote equipment according to the preset configuration information;
the home terminal manager selects a registration message callback function according to SPI service call of the remote terminal equipment, and generates a callback message object name;
the local terminal manager registers the callback message object name to a local message center, so as to realize message subscription of the terminal machine where the API is located;
and the home terminal manager adds the name of the callback message object and the network address of the API and then sends the callback message object name to the cross-platform SPI service layer.
Further, registering the callback message object name to the local message center includes:
the local end manager adds a process character behind the callback message object name to obtain the internal message object name, and registers the internal message object name to the local message center.
Further, the home terminal manager sends the callback message object name plus the network address of the API to the cross-platform SPI service layer, including:
the home terminal manager adds the name of the callback message object and the network address of the API and then sends the callback message object name to the cross-platform SPI service layer;
registering the callback message object name and the network address of the API into the SPI layer by the cross-platform SPI service layer to generate a registration process event message;
the cross-platform SPI service layer judges whether the registration is successful according to the event message in the registration process; if the registration fails, no step is executed;
if the registration is successful, the cross-platform SPI service layer processes the event message in the registration process according to a preset message conversion rule to obtain a JSON character string, and the JSON character string is sent to a local end manager;
the local terminal manager converts the JSON character string into a parameter structure body with a preset structure, and sends the parameter structure body to the terminal machine where the API is located according to the network address of the API.
In a second aspect, a communications system of a cross-platform API and an SPI based on PISA is provided, including:
an application layer, a local end manager and a remote end device;
the local end manager is provided with an API layer, and the remote end equipment is provided with a cross-platform SPI service layer and an SPI layer;
when the application layer needs to call a target SPI through an API, the API sends an API call request to a local end manager;
the local end manager generates a callback message object name, registers the callback message object name to a local message center, and sends the callback message object name plus the network address of the API to a cross-platform SPI service layer, so that a message subscription mechanism is realized;
the local end manager sends an API call request to a cross-platform SPI service layer;
the cross-platform SPI service layer executes target SPI call according to the API call request, and generates a completion message;
and the cross-platform SPI service layer sends the completion message to the terminal machine where the API is located through the local terminal manager according to the network address in the callback message object name.
Further, the local end manager establishes a network communication mode between the cross-platform SPI service layer and the API layer;
the network communication mode supports various operating systems;
the home terminal manager has a message service function based on a network communication mode, and the message service function supports object name registration and message sending.
Further, the home terminal manager reads preset configuration information, and determines SPI service call of the remote equipment according to the preset configuration information;
the home terminal manager selects a registration message callback function according to SPI service call of the remote terminal equipment, and generates a callback message object name;
and the home terminal manager sends the callback message object name plus the network address of the API to the cross-platform SPI service layer, so that a message subscription mechanism is realized.
Further, the local end manager adds a process character behind the callback message object name to obtain the internal message object name, and registers the internal message object name in the local message center.
Further, the home terminal manager adds the name of the callback message object with the network address of the API and then sends the callback message object name to the cross-platform SPI service layer;
registering the callback message object name and the network address of the API into the SPI layer by the cross-platform SPI service layer to generate a registration process event message;
the cross-platform SPI service layer judges whether the registration is successful according to the event message in the registration process; if the registration fails, no step is executed;
if the registration is successful, the cross-platform SPI service layer processes the event message in the registration process according to a preset message conversion rule to obtain a JSON character string, and the JSON character string is sent to a local end manager;
the local terminal manager converts the JSON character string into a parameter structure body with a preset structure, and sends the parameter structure body to the terminal machine where the API is located according to the network address of the API.
The invention has the beneficial effects that:
when the application layer needs to call a target SPI through an API, the API sends an API call request to a local end manager; the local end manager generates a callback message object name, registers the callback message object name to a local message center, adds the callback message object name with the network address of the API and sends the callback message object name to the cross-platform SPI service layer; the local end manager sends an API call request to a cross-platform SPI service layer; the cross-platform SPI service layer executes target SPI call according to the API call request, and generates a completion message; and the cross-platform SPI service layer sends the completion message to the terminal machine where the API is located through the local terminal manager according to the network address in the callback message object name. Through establishing the message subscription between the API and the cross-platform SPI service layer, the function of calling the SPI by the API in a cross-platform manner is realized, and the problem that communication between the API and the SPI is impossible between different operating system platforms based on PISA is solved.
Drawings
FIG. 1 is a block diagram of a PISA-based cross-platform API and SPI communication system of the present invention;
FIG. 2 is a flow chart of a method of communicating between a cross-platform API and SPI based on PISA of the present invention.
Detailed Description
The invention is further described below with reference to the accompanying drawings. The following examples are only for more clearly illustrating the technical aspects of the present invention, and are not intended to limit the scope of the present invention.
The structure of the communication system of the cross-platform API and SPI based on PISA in the invention is shown in figure 1, which comprises an application layer 101, a local end manager 102 and a remote end device 103, wherein the local end manager 102 is provided with an API layer 104, and the remote end device 103 is provided with a cross-platform SPI service layer 105 and an SPI layer 106;
the home terminal manager 102 establishes a network communication mode between the cross-platform SPI service layer 105 and the API layer 104; the network communication mode supports various operating systems; the home terminal manager 102 is provided with a local message service center based on a network communication mode, and supports object name registration and message sending; the API layer 104 is used for completing the call from the API to the cross-platform SPI service layer; the cross-platform SPI service layer 105 provides SPI service implementation, provides external service capability, and realizes SPI service through an SPI interface of an SPI layer loading manufacturer.
The method for realizing the service of the API cross-platform call SPI in the embodiment of the invention is the same as the application for calling the local SPI or the cross-platform SPI when calling the API, the interface provided by the manufacturer SPI is the same, and the cross-platform call is realized by the capability provided by the local end manager.
Based on the above communication system based on the cross-platform API and the SPI of the PISA shown in fig. 1, as shown in fig. 2, an embodiment of the present invention provides a method for communicating between the cross-platform API and the SPI of the PISA, including:
201, when an application layer needs to call a target SPI through an API, the API sends an API call request to a local end manager;
the API call request contains interface information of the target SPI.
202, the home terminal manager generates a callback message object name, registers the callback message object name to a local message center, adds the network address of an API to the callback message object name and then sends the callback message object name to a cross-platform SPI service layer;
since this embodiment needs to solve the problem of SPI service call of the remote device, configuration information needs to be preset, and for SPI service call of the remote device, the uniform resource locator (Uniform Resource Locator, URL) address information of the configuration information needs to have information such as a network address, a service port, a network communication protocol, and a routing path of a server where the remote device is located. The present embodiment supports both as to whether the network address of the server where the remote device is located is a gateway-forwarded or real address;
the home terminal manager can determine SPI service call of the remote terminal device by reading the preset configuration information;
because the API supports two modes to acquire event messages of the home terminal manager, the event messages are respectively acquired for a registration message callback function and a message queue, and the principle of the registration message callback function is as follows: the local end manager receives the message of the message object name and triggers the callback function to inform the API layer, the API acquires the message interface of the message object name, and the first event message of the queue can be acquired from the queue of the message object name of the manager. Therefore, the home terminal manager selects a registration message callback function according to SPI service call of the remote terminal equipment, and generates a callback message object name;
because the APIs of different processes call the local end manager to possibly transmit the same message object names, the local end manager adds process characters, such as <.p process number > characters, behind the message object names so as to obtain the internal message object names, registers the internal message object names to a local message center, realizes the message subscription of the terminal machine where the APIs are located, enables the terminal machine where the APIs are located to be used as a message subscriber, and can notify the event message to the APIs according to the process characters when the message service of the local end server receives the event message corresponding to the internal message object names;
after the home terminal manager finishes the internal registration, the home terminal manager also needs to finish the registration at the remote terminal equipment side;
the local end manager adds the name of the callback message object and the network address of the API to the cross-platform SPI service layer, and the network address of the API is used for conveniently and accurately finding out the network equipment where the API is located;
registering the callback message object name and the network address of the API into the SPI layer by the cross-platform SPI service layer to generate a registration process event message;
the cross-platform SPI service layer judges whether the registration is successful according to the event message in the registration process; if the registration fails, no step is executed;
if the registration is successful, the cross-platform SPI service layer processes the event message in the registration process according to a preset message conversion rule to obtain a JSON character string, and the JSON character string is sent to a local end manager; the preset message conversion rule is to convert according to the known keywords described by the PISA document, and the name representation of the key in the JSON character string is named according to the parameter name described by the PISA document; the type rule processing of the value in the JSON string is as follows:
shaping and converting according to shaping;
the character string can be processed according to the character string;
the character array or invisible characters are processed according to the base64 characters; base64 is one of the common encoding schemes used to transmit 8Bit bytecodes;
the pointer is processed according to the JSON object;
the pointer array is processed according to the JSON object array;
the local end manager converts the JSON character string into a parameter structure body with a preset structure, and sends the parameter structure body to the API according to the network address of the API, so that the completion of a registration process event is determined, a message subscription mechanism is realized, the parameter structure body with the preset structure is specifically a C structure body, and specific structural rules of the C structure body are known in the prior art and are not repeated.
203, the home terminal manager sends an API call request to a cross-platform SPI service layer;
on the basis that the message subscription mechanism is completed and the realization of the cross-platform SPI call of the API is guaranteed, the local manager converts the API call request into a JSON character string and sends the JSON character string to the cross-platform SPI service layer.
204, the cross-platform SPI service layer executes target SPI call according to the API call request, and generates a completion message;
the cross-platform SPI service layer restores the JSON character string into an API call request, a target SPI call command can be determined according to interface information of a target SPI in the API call request, and after the API call request is received, the received condition is responded to the API through a local end manager;
and after the call of the target SPI is executed through the call command of the target SPI, generating a completion message.
And 205, the cross-platform SPI service layer sends the completion message to the terminal machine where the API is located through the local terminal manager according to the network address in the callback message object name.
Based on the established message subscription in the steps, the cross-platform SPI service layer converts the completion message into a JSON character string and then sends the JSON character string to the local end manager, and after the local end manager recovers the completion message, the local end manager sends the completion message to the end machine where the API is located, so that the completion of the API call target SPI can be determined.
The implementation principle of the embodiment of the invention is as follows:
when the application layer needs to call a target SPI through an API, the API sends an API call request to a local end manager; the local end manager generates a callback message object name, registers the callback message object name to a local message center, adds the callback message object name with the network address of the API and sends the callback message object name to the cross-platform SPI service layer; the local end manager sends an API call request to a cross-platform SPI service layer; the cross-platform SPI service layer executes target SPI call according to the API call request, and generates a completion message; and the cross-platform SPI service layer sends the completion message to the terminal machine where the API is located through the local terminal manager according to the network address in the callback message object name. Through establishing the message subscription between the API and the cross-platform SPI service layer, the function of calling the SPI by the API in a cross-platform manner is realized, and the problem that communication between the API and the SPI is impossible between different operating system platforms based on PISA is solved.
In combination with the system structure shown in fig. 1 and the communication method of the cross-platform API and the SPI based on PISA shown in fig. 2, the embodiment of the invention provides a communication system of the cross-platform API and the SPI based on PISA, which comprises:
an application layer 101, a home manager 102, and a remote device 103;
the local end manager 102 has an API layer 104, and the remote end device 103 has a cross-platform SPI service layer 105 and an SPI layer 106;
when the application layer 101 needs to call the target SPI through the API, the API sends an API call request to the local end manager 102;
the home terminal manager 102 generates a callback message object name, registers the callback message object name to a local message center, and sends the callback message object name plus the network address of the API to the cross-platform SPI service layer 105, so that a message subscription mechanism is realized;
the home manager 102 sends an API call request to the cross-platform SPI service layer 105;
the cross-platform SPI service layer executes target SPI call according to the API call request, and generates a completion message;
the cross-platform SPI service layer 105 sends the completion message to the end machine where the API is located through the home terminal manager 102 according to the network address in the callback message object name.
It should be noted that, in this embodiment, the message or data interaction between each unit, module, device or apparatus refers to the specific description in the embodiment shown in fig. 2, so as to achieve the purpose of calling the SPI by the API across platforms.
The implementation principle of the embodiment of the invention is as follows:
in the communication system of the cross-platform API and the SPI based on the PISA, when the application layer 101 needs to call a target SPI through the API, the API sends an API call request to the local end manager 102; the home terminal manager 102 generates a callback message object name, registers the callback message object name to a local message center, adds the network address of an API to the callback message object name, and sends the callback message object name to the cross-platform SPI service layer 105; the home manager 102 sends an API call request to the cross-platform SPI service layer 105; the cross-platform SPI service layer executes target SPI call according to the API call request, and generates a completion message; the cross-platform SPI service layer 105 sends a completion message to the end machine where the API is located through the home terminal manager 102 according to the network address in the callback message object name, so that the application layer determines that the API call target SPI is completed. By establishing a message subscription mechanism between the API and the cross-platform SPI service layer, the function of calling the SPI by the API in a cross-platform manner is realized, and the problem that communication between the API and the SPI is impossible between different operating system platforms based on PISA is solved.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing is illustrative of the present invention and is not to be construed as limiting thereof, but rather as providing for the use of additional embodiments and advantages of all such modifications, equivalents, improvements and similar to the present invention are intended to be included within the scope of the present invention as defined by the appended claims.

Claims (10)

1. The communication method is characterized by being applied to a communication system of a cross-platform API and an SPI based on PISA, wherein the communication system of the cross-platform API and the SPI based on PISA comprises an application layer, a local end manager and a remote end device, the local end manager is provided with an API layer, the remote end device is provided with a cross-platform SPI service layer and an SPI layer, and the communication method comprises the following steps:
when the application layer needs to call a target SPI through an API, the API sends an API call request to the home terminal manager;
the local manager generates a callback message object name, registers the callback message object name to a local message center, adds the network address of the API to the callback message object name and then sends the callback message object name to the cross-platform SPI service layer;
the local manager sends the API call request to the cross-platform SPI service layer;
the cross-platform SPI service layer executes the target SPI call according to the API call request and generates a completion message;
and the cross-platform SPI service layer sends the completion message to the terminal machine where the API is located through the home terminal manager according to the network address in the callback message object name.
2. The method of PISA-based cross-platform API and SPI communication according to claim 1, further comprising:
the local end manager establishes a network communication mode between the cross-platform SPI service layer and the API layer;
the network communication mode supports various operating systems;
the home terminal manager has a message service function based on the network communication mode, and the message service function supports object name registration and message transmission.
3. The method for communicating between a cross-platform API and an SPI based on PISA according to claim 2, wherein said home manager generating a callback message object name, registering said callback message object name in a local message center, and sending said callback message object name plus a network address of said API to said cross-platform SPI service layer, comprises:
the home terminal manager reads preset configuration information and determines SPI service call of the remote terminal equipment according to the preset configuration information;
the home terminal manager selects a registration message callback function according to the SPI service call of the remote terminal equipment to generate a callback message object name;
the local end manager registers the callback message object name to a local message center to realize message subscription of an end machine where the API is located;
and the home terminal manager adds the name of the callback message object with the network address of the API and then sends the name of the callback message object to the cross-platform SPI service layer.
4. The method for communicating between a PISA-based cross-platform API and an SPI of claim 3, wherein said registering said callback message object name with a local message center comprises:
and the local end manager adds a process character behind the callback message object name to obtain an internal message object name, and registers the internal message object name to a local message center.
5. The method for communicating between a cross-platform API and an SPI based on PISA according to claim 4, wherein said home manager sending said callback message object name to said cross-platform SPI service layer with said API's network address, comprising:
the home terminal manager adds the name of the callback message object with the network address of the API and then sends the name of the callback message object to the cross-platform SPI service layer;
the cross-platform SPI service layer registers the callback message object name and the network address of the API into the SPI layer to generate a registration process event message;
the cross-platform SPI service layer judges whether the registration is successful according to the registration process event message; if the registration fails, no step is executed;
if the registration is successful, the cross-platform SPI service layer processes the event message in the registration process according to a preset message conversion rule to obtain a JSON character string, and the JSON character string is sent to the home terminal manager;
and the local terminal manager converts the JSON character string into a parameter structure body with a preset structure, and sends the parameter structure body to a terminal machine where the API is located according to the network address of the API.
6. A PISA-based cross-platform API and SPI communication system comprising:
an application layer, a local end manager and a remote end device;
the local end manager is provided with an API layer, and the remote end equipment is provided with a cross-platform SPI service layer and an SPI layer;
when the application layer needs to call a target SPI through an API, the API sends an API call request to the home terminal manager;
the local manager generates a callback message object name, registers the callback message object name to a local message center, adds the network address of the API to the callback message object name and then sends the callback message object name to the cross-platform SPI service layer;
the local manager sends the API call request to the cross-platform SPI service layer;
the cross-platform SPI service layer executes the target SPI call according to the API call request and generates a completion message;
and the cross-platform SPI service layer sends the completion message to the terminal machine where the API is located through the home terminal manager according to the network address in the callback message object name.
7. The system for providing the PISA-based cross-platform API and SPI communication of claim 6,
the local end manager establishes a network communication mode between the cross-platform SPI service layer and the API layer;
the network communication mode supports various operating systems;
the home terminal manager has a message service function based on the network communication mode, and the message service function supports object name registration and message transmission.
8. The PISA-based cross-platform API and SPI communication system of claim 7, wherein,
the home terminal manager reads preset configuration information and determines SPI service call of the remote terminal equipment according to the preset configuration information;
the home terminal manager selects a registration message callback function according to the SPI service call of the remote terminal equipment to generate a callback message object name;
the local end manager registers the callback message object name to a local message center to realize message subscription of an end machine where the API is located;
and the home terminal manager adds the name of the callback message object with the network address of the API and then sends the name of the callback message object to the cross-platform SPI service layer.
9. The system for providing the PISA-based cross-platform API and SPI communication of claim 8,
and the local end manager adds a process character behind the callback message object name to obtain an internal message object name, and registers the internal message object name to a local message center.
10. The PISA-based cross-platform API and SPI communication system of claim 9,
the home terminal manager adds the name of the callback message object with the network address of the API and then sends the name of the callback message object to the cross-platform SPI service layer;
the cross-platform SPI service layer registers the callback message object name and the network address of the API into the SPI layer to generate a registration process event message;
the cross-platform SPI service layer judges whether the registration is successful according to the registration process event message; if the registration fails, no step is executed;
if the registration is successful, the cross-platform SPI service layer processes the event message in the registration process according to a preset message conversion rule to obtain a JSON character string, and the JSON character string is sent to the home terminal manager;
and the local terminal manager converts the JSON character string into a parameter structure body with a preset structure, and sends the parameter structure body to a terminal machine where the API is located according to the network address of the API.
CN202311470418.4A 2023-11-07 2023-11-07 Communication method and system of cross-platform API and SPI based on PISA Active CN117201577B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311470418.4A CN117201577B (en) 2023-11-07 2023-11-07 Communication method and system of cross-platform API and SPI based on PISA

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311470418.4A CN117201577B (en) 2023-11-07 2023-11-07 Communication method and system of cross-platform API and SPI based on PISA

Publications (2)

Publication Number Publication Date
CN117201577A CN117201577A (en) 2023-12-08
CN117201577B true CN117201577B (en) 2024-02-13

Family

ID=89000192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311470418.4A Active CN117201577B (en) 2023-11-07 2023-11-07 Communication method and system of cross-platform API and SPI based on PISA

Country Status (1)

Country Link
CN (1) CN117201577B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8881180B1 (en) * 2011-11-17 2014-11-04 Jargon Technologies LLC Cross platform discovery and communication over a local network
CN108733495A (en) * 2017-04-13 2018-11-02 东方明珠新媒体股份有限公司 For realizing the method and apparatus of Overpassing Platform by Using
CN109726025A (en) * 2018-12-29 2019-05-07 北京神舟航天软件技术有限公司 A kind of api interface access method based on API gateway
CN110213105A (en) * 2019-06-06 2019-09-06 北京神舟航天软件技术有限公司 It is a kind of cross-platform micro- using creation method
CN112398870A (en) * 2020-11-30 2021-02-23 深圳市六度人和科技有限公司 Cross-platform protocol generation method, device, system, equipment and storage medium
CN112422681A (en) * 2020-11-18 2021-02-26 中盈优创资讯科技有限公司 Cross-platform distributed communication calling method and device
CN112612622A (en) * 2020-12-18 2021-04-06 湖南长城信息金融设备有限责任公司 PISA manager implementation mode under Linux system
CN112671760A (en) * 2020-12-22 2021-04-16 平安普惠企业管理有限公司 Socket-based client cross-platform network communication method and related equipment thereof
CN114253634A (en) * 2021-12-20 2022-03-29 深圳供电局有限公司 Intelligent equipment hardware interaction system based on PISA
WO2023201927A1 (en) * 2022-04-23 2023-10-26 东南大学 Blockchain cross-chain regulation method for governance of chain by chain

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030133554A1 (en) * 2002-01-11 2003-07-17 Nokia Corporation System and method for facilitating access to network based services
US7953734B2 (en) * 2005-09-26 2011-05-31 Oracle International Corporation System and method for providing SPI extensions for content management system
US8881179B2 (en) * 2011-11-14 2014-11-04 Microsoft Corporation Cross-platform application programming interfaces for applications
US20160234320A1 (en) * 2015-02-10 2016-08-11 Mediatek Inc. System, device, and method for accessing cross-platform service
US10091025B2 (en) * 2016-03-31 2018-10-02 Damaka, Inc. System and method for enabling use of a single user identifier across incompatible networks for UCC functionality

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8881180B1 (en) * 2011-11-17 2014-11-04 Jargon Technologies LLC Cross platform discovery and communication over a local network
CN108733495A (en) * 2017-04-13 2018-11-02 东方明珠新媒体股份有限公司 For realizing the method and apparatus of Overpassing Platform by Using
CN109726025A (en) * 2018-12-29 2019-05-07 北京神舟航天软件技术有限公司 A kind of api interface access method based on API gateway
CN110213105A (en) * 2019-06-06 2019-09-06 北京神舟航天软件技术有限公司 It is a kind of cross-platform micro- using creation method
CN112422681A (en) * 2020-11-18 2021-02-26 中盈优创资讯科技有限公司 Cross-platform distributed communication calling method and device
CN112398870A (en) * 2020-11-30 2021-02-23 深圳市六度人和科技有限公司 Cross-platform protocol generation method, device, system, equipment and storage medium
CN112612622A (en) * 2020-12-18 2021-04-06 湖南长城信息金融设备有限责任公司 PISA manager implementation mode under Linux system
CN114327938A (en) * 2020-12-18 2022-04-12 长城信息股份有限公司 PISA manager implementation mode under Linux system
CN112671760A (en) * 2020-12-22 2021-04-16 平安普惠企业管理有限公司 Socket-based client cross-platform network communication method and related equipment thereof
CN114253634A (en) * 2021-12-20 2022-03-29 深圳供电局有限公司 Intelligent equipment hardware interaction system based on PISA
WO2023201927A1 (en) * 2022-04-23 2023-10-26 东南大学 Blockchain cross-chain regulation method for governance of chain by chain

Also Published As

Publication number Publication date
CN117201577A (en) 2023-12-08

Similar Documents

Publication Publication Date Title
CN108712485B (en) Resource subscription method and device for Internet of things equipment
CN110808948B (en) Remote procedure calling method, device and system
CN113556359B (en) Communication protocol conversion method, device, system and gateway device
CN112181681B (en) Remote calling method, device, computer equipment and storage medium
WO2023279896A1 (en) Message processing method, electronic device, and storage medium
CN106357654B (en) Remote procedure calling method, device and communication system
CN112835632B (en) Method and equipment for calling end capability and computer storage medium
CN110008032B (en) Communication mode realization method and electronic equipment
CN112948129A (en) Data transmission optimization method and device based on federal learning and readable storage medium
CN117336346A (en) IPPBX and PMS docking state conversion method, terminal equipment and medium
CN117201577B (en) Communication method and system of cross-platform API and SPI based on PISA
CN115242972B (en) Method and device for calling camera by application, electronic equipment and storage medium
CN114500237B (en) Communication method and system
CN110008033B (en) Method for communicating with client and electronic equipment
CN107943541B (en) Communication method of Windows local component
CN114338584B (en) Message withdraw method and message transmission system
CN110493022A (en) A kind of method for building up, the apparatus and system of tripartite&#39;s session
CN113242313B (en) Data synchronization method, system, device, server and storage medium
CN112417349B (en) Programming device and network state monitoring method
CN108735278B (en) Instruction transmission method and application suitable for rehabilitation equipment
CN113032123B (en) Thread scheduling method, system and related device of remote NPL running environment
CN110855745B (en) Program access method of communication software
CN110071945B (en) Subscription method and device for user data and computer readable storage medium
CN112202701B (en) Data processing method, device, server, terminal, system and storage medium
CN112769824B (en) Information transmission state updating method, terminal, device and storage medium

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

Effective date of registration: 20240624

Address after: 410100 No.5, east 3 Road, Changsha Economic and Technological Development Zone, Changsha City, Hunan Province

Patentee after: Great Wall Information Co.,Ltd.

Country or region after: China

Patentee after: CHINA ELECTRONICS GREAT WALL (CHANGSHA) INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 410221 building 17, phase I, Changsha Zhongdian Software Park, No. 39 Jianshan Road, Changsha hi tech Development Zone, Changsha, Hunan

Patentee before: CHINA ELECTRONICS GREAT WALL (CHANGSHA) INFORMATION TECHNOLOGY Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right