Method and device for automatic connection between applications, and medium
By automatically sensing and matching connectable signals, the problem of high application integration threshold and high cost is solved, enabling automatic connection between applications, improving integration efficiency and system flexibility, and enhancing user experience and security.
Patent Information
- Application Number
- PCT/CN2024/108750
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-06-17
- Filing Date
- 2024-07-31
- Publication Date
- 2025-12-26
AI Technical Summary
In existing technologies, the integration between applications is mainly achieved through integration middleware, which has high barriers to entry, high costs, and requires a lot of development work, making it difficult to meet the needs of enterprise automation and intelligence.
By acquiring the open services of the application being connected, a connector is generated and automatically senses connectable signals. The connector then matches and sends a connection signal to the application being connected to achieve automatic connection, reducing the integration threshold and complexity.
It enables automatic connection between applications, reduces the technical threshold and cost of integration, improves integration efficiency and system flexibility and scalability, and enhances user experience and system security.
Smart Images

Figure CN2024108750_26122025_PF_FP_ABST
Abstract
Description
An inter-application self-connection method, device and medium
[0001] The present application claims priority to the Chinese patent application No. 202410772313.2, filed on June 17, 2024, and entitled "An inter-application self-connection method, device and medium", the whole content of which is incorporated herein by reference. TECHNICAL FIELD
[0002] The present application relates to the technical field of computer, and in particular, to an inter-application self-connection method, device and medium. BACKGROUND
[0003] With the deepening of enterprise digital transformation, the application of enterprises is becoming more and more complex, and the integration between applications has become an important factor to promote enterprise automation and intelligentization.
[0004] Currently, the integration between applications is mainly realized through integration middleware technology, which has a high integration threshold. Not only complex integration rules need to be configured, but also a large amount of development work is required, and the integration implementation cost is very high.
[0005] SUMMARY
[0006] The present application provides an inter-application self-connection method, device and medium to solve the technical problems proposed in the background.
[0007] The present application adopts the following technical solutions:
[0008] The inter-application self-connection method provided by the present application comprises:
[0009] Obtaining a plurality of open services of the connected-party application;
[0010] Generating a plurality of connectors corresponding to the plurality of open services, respectively;
[0011] Generating a plurality of connectable signals according to the connectors;
[0012] Automatically sensing the plurality of connectable signals through a connection inductor;
[0013] Matching a connection signal in the plurality of connectable signals, and sending the connection signal to a connection-party application, so that the connection-party application connects the connected-party application according to the connection signal and calls the corresponding open service.
[0014] It should be noted that the above content of the present application has the following beneficial effects:
[0015] Lower the integration threshold: The application realizes automatic connection between applications by automatically sensing and matching connectable signals, without complex integration rule configuration and a large amount of development work, reducing the technical threshold and complexity of integration.
[0016] Improve integration efficiency: The process of automatically sensing and matching connection signals reduces manual intervention, improves integration efficiency, and accelerates the automation and intelligentization process of enterprises.
[0017] Reduce integration cost: Without complex configuration and a large amount of development work, reduce the human, time and resource cost of integration, which is conducive to the promotion of enterprise digital transformation.
[0018] Enhance the flexibility and scalability of the system: The self-connection method can dynamically connect and call open services, making the application system of the enterprise more flexible and scalable, and better adapting to the changes and development of business.
[0019] Improve user experience: Automatic connection reduces user operation steps and waiting time, improves application use efficiency and convenience, and improves user experience.
[0020] Further, the generation of the plurality of open services respectively corresponding to the connecting piece comprises:
[0021] According to the connection information of the connected party application and the calling information of the plurality of open services, the connecting piece corresponding to the plurality of open services is generated.
[0022] It should be noted that the above content of the present application has the following beneficial effects:
[0023] Improve the accuracy of connection: By generating connecting pieces according to the connection information of the connected party application and the calling information of the open service, it can be ensured that the connecting piece matches the actual connection demand and service calling mode, improving the accuracy of connection.
[0024] Flexibility: According to the specific connection demand to generate the connecting piece, the system can more flexibly adapt to different application scenarios and business demands, and is convenient for the expansion and upgrading of the system.
[0025] Further, the connection information of the connected party application includes the connection address, communication protocol and identity authentication of the connected party application.
[0026] It should be noted that the above content of the present application has the following beneficial effects:
[0027] Realize accurate connection: The connection address clearly specifies the location of the connected party application, ensuring that the connecting party can accurately find and communicate with the target application.
[0028] Ensure smooth communication: The communication protocol specifies the way and rules of data transmission, ensuring that the connecting party and the connected party can interact in a consistent manner, improving the reliability and efficiency of communication.
[0029] Enhance security: Identity authentication provides a means to verify the identity of the connecting party, preventing unauthorized access and protecting the security of the connected party application and related data.
[0030] Further, the calling information of the plurality of open services includes service path, service name and parameter list.
[0031] It should be noted that the above content of the present application has the following beneficial effects:
[0032] Accurate service calling: The service path clearly specifies the specific location of the service, so that the connecting party can accurately find and call the required service.
[0033] Improve service identification and management: The service name clearly identifies each open service, which helps the connecting party to better understand and distinguish different services, improving the efficiency of service identification and management.
[0034] Pass necessary parameters: The parameter list provides the input data required for service operation, ensuring that the service can be executed correctly and return the expected result.
[0035] Further, before generating the connection information of the connected party application and the calling information of the plurality of open services respectively corresponding to the plurality of open services, the method further comprises:
[0036] According to the connection address, the communication protocol and the identity authentication, determine the connection information of the connected party application;
[0037] According to the service path, service name and service parameter of the plurality of open services, determine the calling information of the plurality of open services, the service path is used to identify the location of the service to be called, the service name is used to specify the service to be called, and the service parameter is used to set the corresponding parameter of the service to be called.
[0038] It should be noted that the above content of the present application has the following beneficial effects:
[0039] Improve system integration efficiency: The connection information of the connected party application and the calling information of the open service are clearly defined, reducing errors and time waste caused by inaccurate or missing information in the system integration process.
[0040] Enhance system security: Identity authentication is performed on the connected party application to ensure that only authorized applications can connect, thereby improving system security.
[0041] Accurate service call is realized: through the explicit service path, service name and service parameter, accurate service call is ensured, and system error caused by calling wrong service is reduced.
[0042] Further, the matching connection signal in the plurality of connectable signals and sending the connection signal to the connection application includes:
[0043] Setting a specified interface slot of the connected application for connecting the connection application;
[0044] Matching the adaptive call information through the specified interface slot;
[0045] According to the adaptive call information, the connection signal is matched in the plurality of connectable signals;
[0046] The connection signal is sent to the connection application through the specified interface slot.
[0047] It should be noted that the above content of the present application has the following beneficial effects:
[0048] Improve the accuracy of connection: specify the interface slot of the connected application for connection, reduce the possibility of error connection.
[0049] Improve application efficiency: through the adaptive call information matching the connection signal, the appropriate signal can be quickly found and delivered to the connection application, improving the communication efficiency between applications.
[0050] Improve the flexibility of the system: through the way of reserving interface slot, the connected application can be added or changed at any time when needed, improving the flexibility of the system.
[0051] Improve the readability of the system: through the way of specifying interface slot and adaptive call information, the connection process can be more clear and clear, improving the readability and maintainability of the system.
[0052] Improve system security: through the way of reserving interface slot, identity verification and authorization can be performed on the connection process, improving the security of the system.
[0053] Further, the matching adaptive call information through the specified interface slot includes:
[0054] Comparing the similarity of the call information of a plurality of open services in the connected application with the interface information of the specified interface slot through the cosine phase velocity algorithm;
[0055] Determine the adaptive call information with similarity greater than a preset value among a plurality of call information in the connected application.
[0056] It should be noted that the above content of the present application has the following beneficial effects:
[0057] Improving the accuracy of interface matching: using the cosine phase velocity algorithm can accurately compare the similarity of calling information and interface information, thereby achieving more accurate adaptation and reducing the risk of incorrect calling.
[0058] Improving the stability of connection: by strictly screening out adaptive calling information with similarity greater than a preset value, the connection between services and applications is more stable, and connection interruption or errors caused by calling mismatch are reduced.
[0059] Further, the method further comprises:
[0060] If the similarity of multiple calling information in the calling information of the connected party application is greater than the preset value;
[0061] Determine the calling information with the greatest similarity as the adaptive calling information.
[0062] One or more embodiments of the present specification provide an inter-application self-connection device, comprising:
[0063] At least one processor; and,
[0064] A memory in communication connection with the at least one processor; wherein,
[0065] The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to:
[0066] Obtain multiple open services of the connected party application;
[0067] Generate a plurality of connectors corresponding to the plurality of open services respectively;
[0068] Generate a plurality of connectable signals according to the connectors;
[0069] Automatically sense the plurality of connectable signals through a connection inductor;
[0070] Match a connection signal in the plurality of connectable signals, and send the connection signal to a connection party application, so that the connection party application connects the connected party application according to the connection signal and calls the corresponding open service.
[0071] One or more embodiments of the present specification provide a non-volatile computer storage medium, which stores computer executable instructions, and the computer executable instructions can realize:
[0072] Obtain multiple open services of the connected party application;
[0073] generating a plurality of connectors corresponding to the plurality of open services respectively;
[0074] generating a plurality of connectable signals according to the connectors;
[0075] automatically sensing the plurality of connectable signals through a connection sensor;
[0076] matching a connection signal in the plurality of connectable signals, and sending the connection signal to a connection-side application, so that the connection-side application connects the connected-side application according to the connection signal and invokes a corresponding open service.
[0077] The above at least one technical solution adopted by the present application can achieve the following beneficial effects:
[0078] The connected-side application automatically sends a connectable signal, and the connection-side application receives and matches the connectable signal, so that the self-connection between applications can be realized, and the development and configuration workload of a large amount of system integration in the implementation process of application software can be reduced, and the delivery efficiency is improved. BRIEF DESCRIPTION OF DRAWINGS
[0079] In order to more clearly illustrate the technical solutions in the embodiments of the present specification or the prior art, the drawings needed in the embodiment or prior art description will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments described in the present specification, and those skilled in the art can also obtain other drawings according to these drawings without creative labor. In the drawings:
[0080] FIG. 1 is a flowchart of a self-connection method between applications provided by one or more embodiments of the present specification;
[0081] FIG. 2 is a structural diagram of a self-connection system between applications provided by one or more embodiments of the present specification;
[0082] FIG. 3 is a structural diagram of a self-connection device between applications provided by one or more embodiments of the present specification. DETAILED DESCRIPTION
[0083] The embodiments of the present specification provide a self-connection method between applications, a device and a medium.
[0084] In order for those skilled in the art to better understand the technical solutions in the specification, the technical solutions in the specification will be clearly and completely described in the specification below in conjunction with the drawings in the specification. Obviously, the described embodiments are only part of the embodiments of the specification, not all. Based on the embodiments of the specification, all other embodiments obtained by those of ordinary skill in the art without creative labor should be within the scope of protection of the specification.
[0085] Fig. 1 is a flowchart of an inter-application self-connection method provided by one or more embodiments of the specification, which can be executed by a self-connection system. Some input parameters or intermediate results in the flow allow manual intervention to adjust to help improve accuracy.
[0086] The method flow steps of the embodiments of the specification are as follows:
[0087] S102, obtain a plurality of open services of the connected application.
[0088] In the embodiments of the specification, obtaining open services of the connected application can be performed according to the following implementation steps:
[0089] Determine the type and architecture of the connected application: understand which technology stack the connected application is based on, which architecture is used, etc., in order to determine the method and approach to obtain open services.
[0090] Understand the documents and interfaces of the connected application: relevant documents, API documents or developer manuals of the connected application can be consulted to obtain information about open services. These documents usually contain detailed descriptions of the names, paths, parameters and usage methods of open services. Developer tools (such as Postman, cURL, etc.) or integration platforms (such as API management tools, integration middleware, etc.) can be used to connect to the connected application and perform detection and analysis. By sending requests to the system and observing the returned results, the open services of the connected application can be obtained. The open service information obtained by the embodiments of the specification can be sorted and recorded, including the names, paths, parameters, usage methods, etc. of the services, in order to facilitate subsequent integration and calling.
[0091] Verify and test the obtained open services: appropriate test tools or integration platforms can be used to verify and test the obtained open services to ensure that their functions and usability meet the requirements.
[0092] S104, generate a plurality of connection pieces corresponding to the plurality of open services respectively.
[0093] In the embodiments of the present disclosure, the connection information of the connected application and the calling information of the plurality of open services can be used to generate the plurality of connection pieces corresponding to the plurality of open services respectively. It should be noted that one open service can correspond to one connection piece.
[0094] It should be noted that when the plurality of connection pieces corresponding to the plurality of open services are generated, the connection information of the connected application can be used to determine the related parameters of the connection piece. The connection information of the connected application can include the connection address, the communication protocol and the identity authentication of the connected application. For each open service, the calling parameters of the connection piece are determined according to the calling information of the open service. The calling information of the plurality of open services can include the service path, the service name and the parameter list. The connection piece corresponding to the plurality of open services is generated according to the determined connection parameters and calling parameters. The generated connection piece is associated with the open service of the connected application to realize the calling of the open service.
[0095] Further, before the plurality of connection pieces corresponding to the plurality of open services are generated according to the connection information of the connected application and the calling information of the plurality of open services, the connection information of the connected application can be determined according to the connection address, the communication protocol and the identity authentication. The calling information of the plurality of open services can be determined according to the service path, the service name and the service parameter of the plurality of open services. The service path is used to identify the location of the service to be called. The service name is used to specify the service to be called. The service parameter is used to set the corresponding parameter of the service to be called.
[0096] The connection information of the connected application and the calling information of the plurality of open services can be determined according to the following implementation steps:
[0097] The specific implementation steps are as follows:
[0098] The connection address, the communication protocol and the identity authentication of the connected application are confirmed and can be recorded.
[0099] The service path, the service name and the service parameter of the plurality of open services are confirmed and can be recorded.
[0100] The connection information of the connected application is determined according to the recorded connection address, the communication protocol and the identity authentication, and can be recorded.
[0101] The calling information of the plurality of open services is determined according to the recorded service path, the service name and the service parameter, and can be recorded.
[0102] According to the recorded connection information and call information, a plurality of connection pieces corresponding to the open services are generated. The generated connection pieces are tested and debugged to ensure that they can be normally connected to the connected party application and call the corresponding open services. The connection pieces are published for use by other application programs.
[0103] S106, a plurality of connectable signals are generated according to the connection pieces.
[0104] In the embodiments of the present specification, the above-mentioned generation of a plurality of connectable signals can be realized by the following steps:
[0105] Collect the connection information of the connected party application and the call information of the plurality of open services. Analyze and process the collected information to identify each open service and the corresponding connection information. Based on this information, a connection piece generator can be designed and developed to generate a plurality of connectable signals according to the connection information of the connected party and the call information of the open services.
[0106] Implement the connection piece generator to ensure that it can efficiently convert the connection information into connectable signals and interface with the connected party application. Subsequent testing and verification can ensure that the plurality of connectable signals generated can accurately connect to the corresponding open services.
[0107] S108, automatically sensing the plurality of connectable signals by a connection sensor.
[0108] In the embodiments of the present specification, the above-mentioned automatic sensing of a plurality of connectable signals can be realized by the following steps:
[0109] Determine the type and scope of application of the connection sensor to ensure that it can sense the plurality of connectable signals. Design and develop the connection sensor to ensure that it can receive and parse the plurality of connectable signals. According to the characteristics of the plurality of connectable signals generated by the connection piece generator, configure the parameters and settings of the connection sensor so that it can accurately sense these signals.
[0110] Implement the connection sensor and install it in a suitable location to cover the area that needs to be sensed. Test and verify to ensure that the connection sensor can accurately sense the plurality of connectable signals and timely feedback the sensing results to the system or user.
[0111] It should be noted that the specific implementation steps may vary depending on the type of connection sensor and system requirements. In the implementation process, environmental factors and safety issues also need to be fully considered to ensure the performance and reliability of the connection sensor.
[0112] S110, matching a connection signal in the plurality of connectable signals, and sending the connection signal to a connection-side application, so that the connection-side application connects the connected-side application according to the connection signal, and invokes a corresponding open service.
[0113] In the embodiments of the present specification, when matching a connection signal in the plurality of connectable signals and sending the connection signal to a connection-side application, a specified interface slot of the connection-side application for connecting the connected-side application can be set; the adapted invocation information is matched through the specified interface slot; the connection signal is matched in the plurality of connectable signals according to the adapted invocation information; and the connection signal is sent to the connection-side application through the specified interface slot.
[0114] It should be noted that the embodiments of the present specification can design and develop a connection matcher for matching a plurality of connectable signals and a connection signal. The specified interface slot of the connection-side application is set to enable it to receive the connection signal. The invocation information of the connected-side application is collected and adapted and matched to filter out suitable invocation information. In the plurality of connectable signals, the specified interface slot is used to match the adapted invocation information to determine the required connection signal. The connection signal is sent to the connection-side application using the specified interface slot to ensure that the connection-side application can receive the correct connection signal.
[0115] It should be noted that the specific implementation steps may vary depending on system requirements and interface specifications of the connection-side application. During implementation, testing and verification are also required to ensure the accuracy and reliability of the matching and sending of the connection signal. At the same time, the setting of the specified interface slot and the adaptation process of the invocation information also need to be reasonably designed and configured to meet the actual needs.
[0116] Further, when the specified interface slot is matched with the adapted invocation information in the embodiments of the present specification, the similarity of the invocation information of a plurality of open services in the connected-side application and the interface information of the specified interface slot can be compared by using the cosine phase speed algorithm; and the adapted invocation information with a similarity greater than a preset value is determined in the plurality of invocation information in the connected-side application.
[0117] It should be noted that for the above matching of the specified interface slot with the adapted invocation information, the following specific steps can be used:
[0118] The calling information of multiple open services in the connected application and the interface information of the specified interface slot are collected. For each calling information of the open service, the cosine similarity algorithm is used to compare with the interface information of the specified interface slot to calculate the similarity between them. According to the preset similarity threshold, the calling information with a similarity greater than the preset value is selected as the adaptive calling information. Among the multiple calling information of the connected application, the adaptive calling information is determined and matched with the specified interface slot. After the matching is completed, a connection signal is sent to the connection application.
[0119] It should be noted that the specific implementation steps may be affected by the specific implementation of the cosine similarity algorithm and the selection of the preset similarity threshold. During implementation, testing and verification are needed to determine the accuracy and reliability of the algorithm, and the similarity threshold is adjusted according to the actual situation. In addition, it is also necessary to ensure the correctness and consistency of the calling information of the connected application and the interface information of the specified interface slot.
[0120] Further, in the embodiments of the present specification, if the similarity of multiple calling information in the calling information of the connected application is greater than the preset value; the calling information with the maximum similarity can be determined as the adaptive calling information.
[0121] It should be noted that the similarity of the above multiple calling information is greater than the preset value, which can be achieved through the following specific steps:
[0122] Collecting multiple calling information of the connected application; extracting interface information of the specified interface slot; comparing the similarity of each calling information of the connected application with the interface information of the specified interface slot one by one; determining the calling information with a similarity greater than the preset value; selecting the calling information with the maximum similarity from the determined calling information with a similarity greater than the preset value; and determining the calling information with the maximum similarity as the adaptive calling information.
[0123] It should be noted that the above steps can help achieve the function of selecting adaptive calling information according to the similarity. In specific implementation, details such as the calculation method of the similarity, the setting of the preset value, the application of the adaptive calling information, etc. also need to be considered.
[0124] In the embodiments of the present specification, a specific example scenario is provided for the above content, with two specific applications: a car navigation application (connected application) and a hotel reservation application (connection application). The car navigation application provides the following open services:
[0125] 1. Real-time navigation service: capable of providing real-time navigation and route planning.
[0126] 2. Point of interest search service: allows users to search for nearby points of interest (such as restaurants, gas stations, etc.).
[0127] 3. Map viewing service: provides basic viewing functions of a map.
[0128] A hotel booking application wants to connect with a car navigation application and invoke its real-time navigation service to facilitate the user to go to the booked hotel.
[0129] In this scenario, the following are the connection steps between the car navigation application and the hotel booking application:
[0130] 1. Obtain multiple open services of the connected party application (car navigation application) to the outside, i.e., real-time navigation service, point of interest search service, and map viewing service.
[0131] 2. Generate connection pieces corresponding to these open services respectively. The connection piece can be a specific protocol or interface for connecting two applications.
[0132] 3. Generate multiple connectable signals according to the connection pieces. These signals can be icons, buttons, or other interactive elements displayed on the interface of the car navigation application, representing different open services.
[0133] 4. Automatically sense multiple connectable signals through a connection sensor. When the hotel booking application starts, it will automatically detect the available connectable signals around it.
[0134] 5. Match the connection signal in multiple connectable signals. According to the user's needs, select the connection signal corresponding to the real-time navigation service.
[0135] 6. Send the connection signal to the connected party application (hotel booking application) so that the connected party application connects the connected party application according to the connection signal and invokes the corresponding open service. In this example, the hotel booking application will receive the connection signal of the real-time navigation service and use it to connect the car navigation application to obtain real-time navigation information.
[0136] It should be noted that the embodiments of the present specification provide a method and system for supporting application system self-connection. First, the connectable signal of the connected party is automatically sent, then the connectable signal is received and matched with the connection party interface slot, realizing the self-connection between application systems, without the need to configure integration rules and integrated development to realize the integration and fusion between application systems, solving the problems of difficult, high cost, and low effect in the process of enterprise application system integration.
[0137] Based on the above purpose, one aspect of the embodiments of the present specification provides a method for supporting application system self-connection, which can include:
[0138] Scanning the services open to the outside of the connected party system, processing the invocation information of each open service into a connectable signal, and sending the connectable signal;
[0139] The connection party system receives the connectable signal and matches the pre-buried interface slot;
[0140] The connection party system automatically connects the connected party system based on the connectable signal and invokes the open service.
[0141] As a further solution of the embodiments of the present specification, the scanning of the open services of the connected party system and the sending of the connectable signal further comprise:
[0142] Obtaining the connection information of the connected party system, including connection address, communication protocol, identity authentication and other information;
[0143] Obtaining the open services of the connected party system and extracting the invocation information of each open service, including service path, service name and parameter list;
[0144] Generating a system connector service for each open service to securely connect and invoke the open service;
[0145] Processing the invocation information of each connector service as a connectable signal to send out.
[0146] As a further solution of the embodiments of the present specification, the connection party system receives the connectable signal and matches the pre-buried interface slot of the connection party system, further comprising:
[0147] The interface slot structure comprises: interface name, interface description, corresponding connection party service and parameter list, wherein the attributes of the parameters include: parameter name, parameter description, parameter type, and corresponding connection party service parameter;
[0148] Further, the functions or business logic in the connection party system are implemented by invoking the interfaces in the interface slot.
[0149] As a further solution of the embodiments of the present specification, receiving the connectable signal and matching the pre-buried interface slot of the connection party system further comprises:
[0150] Parsing the connectable signal to obtain the connector invocation information of the connected party system;
[0151] Matching the pre-buried interface slot of the connection party system, further, by comparing the connector invocation information of the connected party system and the interface information of the interface slot through the cosine similarity algorithm, when the value is greater than 0.8, it is considered to be matched, if there are multiple connectors with a matching value greater than 0.8, the connector with the maximum value is taken as the matching connector;
[0152] The matched connectable signal is dynamically registered into the interface slot of the interface valve, that is, the calling information of the corresponding connector of the connected party system is respectively updated into the corresponding connected party service and the corresponding connected party service parameter of the interface slot.
[0153] Further, FIG. 2 is a structural schematic diagram of the self-connection system between applications provided by the embodiment of the present specification, the connected party applications including S-APP1, S-APP2 and S-APP3, the connectable signals are respectively sent to the connection signal transmitter by the signal sender, then the connection signal is automatically sensed and received by the connection sensor, after that, the interface information of the connectable slot and the calling information of the connected party application are matched by the connection matcher, the connectable slot is the connection slot of T-APP1 in the connection party application, the connection signal is selected from the plurality of connectable signals, finally, the connection signal is sent to T-APP1 of the connection party application through the connectable slot.
[0154] FIG. 3 is a structural schematic diagram of a self-connection device between applications provided by one or more embodiments of the present specification, including:
[0155] at least one processor; and
[0156] a memory in communication connection with the at least one processor; wherein
[0157] the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to:
[0158] obtain the open service of the connected party application to the outside;
[0159] extract the calling information of the open service;
[0160] generate a connectable signal according to the calling information;
[0161] determine a to-be-sent signal in the connectable signal, and forward the to-be-sent signal to the connection party application, so that the connection party application connects the connected party application according to the to-be-sent signal and calls the corresponding open service.
[0162] The non-volatile computer storage medium provided by one or more embodiments of the present specification stores computer executable instructions, and the computer executable instructions can realize the following when executed by a computer:
[0163] obtain the open service of the connected party application to the outside;
[0164] extract the calling information of the open service;
[0165] generate a connectable signal according to the calling information;
[0166] determining a to-be-sent signal in the connectable signal, and forwarding the to-be-sent signal to a connection-side application, so that the connection-side application connects the connected-side application according to the to-be-sent signal and invokes a corresponding open service.
[0167] Each of the embodiments in the specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other. Each of the embodiments mainly describes the difference from other embodiments. Especially, for the device and non-volatile computer storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the part of the method embodiments.
[0168] The above describes specific embodiments of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in a different order than the order in which they are recited and still achieve the desired result. In addition, the processes depicted in the figures do not necessarily require the particular order shown, or sequential order, to achieve the desired results. In some implementations, multitasking and parallel processing can be advantageous or necessary.
[0169] The above only describes one or more embodiments of the specification and does not limit the specification. One or more embodiments of the specification can have various changes and variations for those skilled in the art. Any modification, equivalent replacement, improvement, etc. within the spirit and principle of one or more embodiments of the specification shall be included in the scope of the claims of the specification.
Claims
1. A self-connection method between applications, wherein, The method includes: Obtain multiple open services from the connected application; Generate connectors corresponding to the various open services; Multiple connectable signals are generated based on the connector; The multiple connectable signals are automatically sensed by connecting sensors; A connection signal is matched among the multiple connectable signals, and the connection signal is sent to the connecting application so that the connecting application can connect to the connected application according to the connection signal and invoke the corresponding open service.
2. The method according to claim 1, wherein, The generation of connectors corresponding to the multiple open services includes: Based on the connection information of the connected application and the call information of the multiple open services, a connection component corresponding to each of the multiple open services is generated.
3. The method according to claim 2, wherein, The connection information of the connected application includes the connection address, communication protocol, and authentication of the connected application.
4. The method according to claim 3, wherein, The call information for the multiple open services includes the service path, service name, and parameter list.
5. The method according to claim 4, wherein, Before generating the connectors corresponding to the multiple open services based on the connection information of the connected application and the call information of the multiple open services, the method further includes: The connection information of the connected application is determined based on the connection address, the communication protocol, and the identity authentication. Based on the service path, service name, and service parameters of the multiple open services, the invocation information of the multiple open services is determined. The service path is used to identify the location of the service to be invoked, the service name is used to specify the service to be invoked, and the service parameters are used to set the corresponding parameters of the service to be invoked.
6. The method according to claim 2, wherein, The step of matching a connection signal among the plurality of connectable signals and sending the connection signal to the connecting application includes: Configure a specific interface slot for the connecting application to connect to the connected application; Match the appropriate call information using the specified interface slot; Based on the adapted calling information, the connection signal is matched among the plurality of connectable signals; The connection signal is sent to the connected application through the designated interface slot.
7. The method according to claim 6, wherein, The matching and adaptation of the call information through the specified interface slot includes: The similarity between the call information of multiple open services in the connected application and the interface information of the specified interface slot is compared using the cosine phase velocity algorithm. Among multiple invocation messages in the connected application, the adapted invocation message with a similarity greater than a preset value is determined.
8. The method according to claim 7, wherein, The method further includes: If the similarity of multiple call information in the call information of the connected application is greater than the preset value; The call information with the highest similarity is determined as the adapted call information.
9. A self-connecting device between applications, wherein, include: At least one processor; as well as, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enable the at least one processor to: Obtain multiple open services from the connected application; Generate connectors corresponding to the various open services; Multiple connectable signals are generated based on the connector; The multiple connectable signals are automatically sensed by connecting sensors; A connection signal is matched among the multiple connectable signals, and the connection signal is sent to the connecting application so that the connecting application can connect to the connected application according to the connection signal and invoke the corresponding open service.
10. A non-volatile computer storage medium, wherein, It stores computer-executable instructions, which, when executed by a computer, can achieve the following: Obtain multiple open services from the connected application; Generate connectors corresponding to the various open services; Multiple connectable signals are generated based on the connector; The multiple connectable signals are automatically sensed by connecting sensors; A connection signal is matched among the multiple connectable signals, and the connection signal is sent to the connecting application so that the connecting application can connect to the connected application according to the connection signal and invoke the corresponding open service.
Citation Information
Patent Citations
Inter-application self-connection method, equipment and medium
CN118349380A
System and method for linked navigation service
KR101975568B1
Systems and Methods for Providing Navigation Data to a Vehicle
US20150088412A1
Navigation Application Programming Interface
US20170277577A1
Platform for multi-service procurement
US9552599B1