CN112202728A - Method and system for mobile terminal to call module through routing protocol - Google Patents
Method and system for mobile terminal to call module through routing protocol Download PDFInfo
- Publication number
- CN112202728A CN112202728A CN202010955524.1A CN202010955524A CN112202728A CN 112202728 A CN112202728 A CN 112202728A CN 202010955524 A CN202010955524 A CN 202010955524A CN 112202728 A CN112202728 A CN 112202728A
- Authority
- CN
- China
- Prior art keywords
- information
- module
- routing
- routing protocol
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/12—Discovery or management of network topologies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/54—Organization of routing tables
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/26—Special purpose or proprietary protocols or architectures
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a method and a system for a mobile terminal to call a module through a routing protocol, wherein the method comprises the following steps: acquiring a routing protocol list, wherein the routing protocol list is a white list called by a module; obtaining routing parameter information, wherein the routing parameter information comprises information of calling source and target modules; according to the routing protocol list, judging the matching of the routing parameter information and the routing protocol list to acquire first judgment information; according to the first judgment information, if the calling source is matched with the routing protocol list, carrying out routing protocol analysis to obtain target module information; conveying the target module information to the routing controller; the routing controller sends target inquiry information to corresponding application according to the target module information to acquire first feedback information; and according to the first feedback information, if the application has a target module, calling the target module.
Description
Technical Field
The invention relates to the technical field of mobile terminal routing protocol management, in particular to a method and a system for a mobile terminal to call a module through a routing protocol.
Background
The routing protocol is used for distributing topology information of the network in the network, and network equipment (such as a router, a switch and the like) calculates a routing table according to the topology information and guides forwarding of network traffic data. The mobile terminal applications can be mutually called through a routing protocol, and when a user needs to call another application module in the application using process, external calling is generated; internal calls are generated when an application needs to call other modules of the application in use. The application can realize automatic calling and skipping of the application according to the use requirement by calling an external or internal module, so that the use experience of a user is improved, and the operation of the user is simplified. Generally, when the module is called, a routing parameter is generated, and the module is called by analyzing through a corresponding routing protocol.
In the existing application, when an external call occurs, an external call signal is generally received from a server or an external application, and external routing information is generated, the external routing information needs to include related reference files of the called external application and a module, and different routing information analysis processes and methods are different, so that the external call loses the performance of a mobile terminal. In addition, because the front ends used in the application development process are not uniform, the routing protocol is not uniform, when the application is used for internal calling, and when data interaction and functions between different modules are called, the reference description file of the referenced module needs to be written between different modules, internal routing parameters are generated by analyzing the description file, calling between the modules is carried out, the coupling of codes between the modules is high, the cohesion is low, the codes are totally bloated, and the maintainability, the readability and the expansibility are low.
In order to solve the problems in the prior art, it is necessary to invent a method and a system for managing a mobile terminal routing protocol, in which codes between modules have low coupling and high coherence and have strong versatility.
Disclosure of Invention
In order to overcome the technical defects of the prior art, the invention provides a method and a system for a mobile terminal to call a module through a routing protocol, wherein the method and the system have a uniform routing protocol in the module calling process, the coupling between module codes is high, and the safety in the module calling process can be ensured.
In order to solve the problems, the invention is realized according to the following technical scheme:
the invention provides a method for a mobile terminal to call a module through a routing protocol, which comprises the following steps:
acquiring a routing protocol list, wherein the routing protocol list is a white list called by a module;
obtaining routing parameter information, wherein the routing parameter information comprises information of calling source and target modules;
according to the routing protocol list, judging the matching of the routing parameter information and the routing protocol list to acquire first judgment information;
according to the first judgment information, if the calling source is matched with the routing protocol list, carrying out routing protocol analysis to obtain target module information;
conveying the target module information to the routing controller;
the routing controller sends target inquiry information to corresponding application according to the target module information to acquire first feedback information;
and according to the first feedback information, if the application has a target module, calling the target module.
Preferably, after the determining the routing parameter information according to the routing protocol list, the method further includes: and according to the first judgment information, if the calling source is not matched with the routing protocol list, stopping calling of the target module and sending out protocol matching failure information.
Preferably, after the routing controller sends out target query information to a corresponding application according to the target module information and acquires the first feedback information, the method further includes: and according to the first feedback information, if the application does not have the target module, stopping calling the target module and sending calling failure information.
Preferably, the routing controller issues the target inquiry information in compliance with a target-action mechanism.
Preferably, the call source in the routing parameter information includes an internal call source and an external call source.
Further, after the routing parameter information is obtained, the step of determining the calling source is executed, which specifically includes: acquiring second judgment information; according to the second judgment information, if the calling source is an internal calling source, directly transmitting the routing parameter information to the routing controller; and according to the second judgment information, if the calling source is an external calling source, sequentially executing the subsequent steps.
Preferably, the routing parameter information is in one of an APNS format, a URL Scheme format, and a Universal Links format.
Further, the routing protocol analysis is simultaneously applicable to the call of IOS, Android, H5 and Reactnative.
The invention also provides a routing protocol management system for mobile terminals, which comprises:
the system comprises an acquisition list module, a routing protocol module and a routing module, wherein the acquisition list module is used for acquiring a routing protocol list which is a white list called by the module;
the routing parameter module is used for acquiring routing parameter information, and the routing parameter information comprises information of calling source and target modules;
the list matching module is used for judging the matching of the routing parameter information and the routing protocol list according to the routing protocol list to acquire first judgment information;
the protocol analysis module is used for carrying out routing protocol analysis to acquire target module information if the calling source is matched with the routing protocol list according to the first judgment information;
the transmission module is used for transmitting the target module information to the routing controller;
the inquiry module is used for enabling the routing controller to send target inquiry information to corresponding application according to the target module information to acquire first feedback information;
and the calling module is used for calling the target module if the target module exists in the application according to the first feedback information.
The present invention further provides an electronic device, which includes a storage, a processor, and a computer program stored on the processor and running on the processor, wherein the processor, when executing the computer program, can implement the steps of the method for module invocation by a mobile terminal through a routing protocol according to any one of claims 1 to 8.
Compared with the prior art, the invention has the beneficial effects that:
the method and the system for the mobile terminal to call the module through the routing protocol replace the existing direct calling mode by the inquiry type module calling, so that the coupling of codes among the modules is low, the independence among the modules is high, and the maintainability, the readability and the expansibility of the modules are facilitated. On the other hand, the routing protocol is unified through an inquiry mode, so that modules developed by different development frameworks can be simply and mutually called in the development process, the calling efficiency is improved, and the use experience of a user is further improved. In addition, the safety of the application in the module calling process is improved by adopting a white list verification mode, so that the information safety of a user when the user uses the mobile terminal is guaranteed.
Drawings
Embodiments of the invention are described in further detail below with reference to the attached drawing figures, wherein:
FIG. 1 is a main flow chart of the method according to embodiment 1 of the present invention;
FIG. 2 is a block flow diagram of the method of embodiment 1 of the present invention;
FIG. 3 is a block diagram of a system according to embodiment 1 of the present invention;
FIG. 4 is a block flow diagram of a method described in embodiment 2 of the present invention;
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention. The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation. The flowcharts used in this application illustrate operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow diagrams may be performed out of order, and steps without logical context may be performed in reverse order or simultaneously. One skilled in the art, under the guidance of this application, may add one or more other operations to, or remove one or more operations from, the flowchart.
The described embodiments are only some embodiments of the present application and not all embodiments. The following detailed description of the embodiments of the present application, presented in the figures, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application. It should be noted that in the embodiments of the present application, the term "comprising" is used to indicate the presence of the features stated hereinafter, but does not exclude the addition of further features.
When a mobile terminal application in the prior art calls a module, the module needs to be called according to related description files in the module through different routing protocols, non-uniform routing protocols need different routing analysis modes, the coupling between modules is high, the modules contain called files, the maintenance of the modules is not facilitated, and the modules which are opened under different open frames are not facilitated to be called each other. The present invention solves the technical problems of the related prior art to a certain extent.
Example 1
The embodiment of the invention provides a method for a mobile terminal to call a module through a routing protocol, which needs a server, at least one mobile terminal and a routing controller in the implementation, wherein the server, the mobile terminal and the routing controller are connected and matched with each other through a wireless network, the mobile terminal is a mobile device (such as a smart phone, a tablet computer, a smart watch and the like) provided with corresponding applications, and the routing controller is internally provided with corresponding routing protocol rules, and the method specifically comprises the following steps:
step 1: and acquiring a routing protocol list, wherein the routing protocol list is a white list called by the module.
Specifically, an application developer classifies all calling sources which can be called by a module in the application, wherein the calling sources comprise webpages and applications which are subjected to security detection, and the webpages and the applications are sequentially added into a list, so that a white list information comprising all security calling sources and a routing protocol list comprising routing protocol types which can realize analysis are generated. The developer transmits the routing protocol list to the server over the network. The routing controller may obtain a corresponding routing protocol list from the server via the network.
Step 2: and acquiring routing parameter information, wherein the routing parameter information comprises information of calling source and target modules.
Specifically, the calling source includes other modules of the application, a server, an external application and an external web page, and in the process of working of the calling source, if a module in the application needs to be called, the calling source combines specific information of the target module, a calling event of the target module and information of the calling source, and converts the specific information into corresponding routing parameter information so as to call the module.
Preferably, in this embodiment, the routing parameter information is in one of an APNS format, a URL Scheme format, and a Universal Links format. When external calls occur, the external calls are divided into server calls, external application calls and external web page calls.
And when the calling source is the server, combining the specific information of the target module sent by the server, the calling event of the target module and the information of the calling source, and converting the combined information into an APNS format to form the external routing parameter.
And when the calling source is an external application or an external webpage, combining the specific information of the target module, the calling event of the target module and the information of the calling source, and converting the combined information into a URL Scheme format to form an external routing parameter.
When the calling source is an external webpage, the specific information of the target module, the calling event of the target module and the information of the calling source can be combined and converted into a Universal Links format.
After analyzing the routing parameter information in the APNS format, the URL Scheme format and the Universal Links format, the target module can be inquired. The APNS format, the URL Scheme format and the Universal Links format are all web page link formats, and are easy to store, transmit and analyze, so that data interaction and function call in the hybrid development process are simpler and more convenient.
And step 3: and judging the matching of the routing parameter information and the routing protocol list according to the routing protocol list to acquire first judgment information.
Specifically, after the mobile terminal acquires the routing protocol list and the routing parameter information, the mobile terminal extracts information of a calling source in the routing parameter information, compares the calling source with a white list in the routing protocol list, and outputs a comparison result serving as first judgment information to a corresponding application so as to guarantee safety in a module calling process.
Substep 31: and according to the first judgment information, if the calling source is matched with the routing protocol list, analyzing the routing protocol to acquire target module information.
Specifically, after comparing the white list in the routing protocol list with the calling source, the mobile terminal obtains the security of the calling source from the acquired first judgment information, and if the calling source is included in the routing protocol list, the surface calling source is a secure calling source, and module calling can be continued. The mobile terminal analyzes the routing protocol of the routing parameter information, thereby acquiring target module information consisting of specific information of the target module and routing events of the target module. The specific target module in the specific application can be obtained through the target module information, and the routing event can be obtained.
In this embodiment, the analyzed target module information is preferably applicable to the call of the IOS, Android, H5 and ReactNative at the same time, because in the development process, different developers may write codes, and development frames adopted by different developers are different, in order to enable different modules developed by different development frames to be directly called with each other, in this embodiment, the routing parameter information is in one of link formats such as an APNS format, a URL Scheme format, and a Universal Links format, and the information in the web link format has the characteristics of easy storage, transmission, analysis, and strong versatility, so that the target module information converted from the routing parameter information can be applicable to various front-end applications at the same time, and further, the cost of data interaction and function call between modules is reduced.
Substep 32: and according to the first judgment information, if the calling source is not matched with the routing protocol list, stopping calling of the target module and sending out protocol matching failure information.
Specifically, if the calling source called by the module at this time is a calling source not included in the routing protocol list according to the first determination information, it cannot be ensured that the calling source is a safe calling source, and for the information security of the user, the module calling at this time is not allowed, the calling of the target module is stopped, and the protocol matching failure information is sent out to inform the user that the module calling is stopped due to the risk. By the protocol matching mode of white list comparison in the embodiment of the invention, the module in the application can be prevented from receiving unsafe web pages or calling the application, thereby improving the information and property safety of users.
And 4, step 4: and transmitting the target module information to the routing controller.
Specifically, if the calling source is matched with the routing protocol list and is a safe calling source according to the first judgment information, the mobile terminal transmits the analyzed target module information to the routing controller, so that the routing manager can convert the target module information.
And 5: and enabling the routing controller to send target inquiry information to corresponding application according to the target module information to acquire first feedback information.
Specifically, after receiving the target module information, the routing controller converts the target module information into corresponding target inquiry information, the target inquiry information is sent to a corresponding target application in the mobile terminal to carry out target module inquiry, and the working mode of the target inquiry information conforms to a target-action mechanism, namely, the routing controller only needs to transmit the target module and an execution instruction in the target inquiry information to a target, and the target module responds to the target module without adopting an instruction file to actively call the target module, so that the instruction files of other modules are not added in the module when the module is developed and written, the coupling of codes between the modules is reduced, and different modules have high independence. And generating first feedback information according to the response condition of the module.
Substep 51: and according to the first feedback information, if the application has a target module, calling the target module.
Specifically, if the target module exists in the reference, the target module automatically performs discovery response, and the first feedback information is information that the target module is successfully called, so that the mobile terminal can realize the calling of the target module without registering, and the target module executes a corresponding instruction to realize the routing event.
Substep 52: and the target module is stopped from being called and calling failure information is sent out if the target module does not exist in the application according to the first feedback information.
Specifically, if the corresponding application acquires the target query information, the first feedback information is call failure information because the target module does not exist, the mobile terminal stops the call of the target module to prevent the program from being crashed due to failure, and sends a prompt message of call failure to inform the user that the call of the target module fails, and the user can choose to cancel or retry.
The method for calling the module by the mobile terminal through the routing protocol replaces the existing direct calling mode by the inquiry type module calling, so that the coupling of codes among the modules is low, the independence among the modules is high, and the maintainability, the readability and the expansibility of the modules are facilitated. A target-action mechanism is adopted in the calling process, so that the module does not need to include the description file of the target module in the module when being called, and the action is only sent to the target application without the need of judging whether to respond to execution or not. After the application acquires the calling information, if the target module exists, the application can automatically respond and execute, and if the target module does not exist, the application feeds back related information, so that the conventional implementation mode of direct calling is replaced, and the low coupling of codes among modules is realized.
On the other hand, the routing protocol is unified through an inquiry mode, so that modules developed by different development frameworks can be simply and mutually called in the development process, the calling efficiency is improved, and the use experience of a user is further improved. The target module is called by inquiring, so that the complexity of calling information can be effectively reduced, one of an APNS format, a URL Scheme format and a Universal Links format can be used as an information format when the module is called, and the universality and the uniformity of a routing protocol are greatly improved.
In addition, the safety of the application in the module calling process is improved by adopting a white list verification mode, so that the information safety of a user when the user uses the mobile terminal is guaranteed.
The embodiment of the present invention further provides a routing protocol management system for a mobile terminal, which specifically includes:
and the obtaining list module M1 is configured to obtain a routing protocol list, where the routing protocol list is a white list called by the module.
And the routing parameter module M2 is configured to obtain routing parameter information, where the routing parameter information includes information for invoking the source and destination modules.
And the list matching module M3 is configured to judge, according to the routing protocol list, matching between the routing parameter information and the routing protocol list, and acquire first judgment information.
And the protocol analysis module M31 is configured to, according to the first determination information, perform routing protocol analysis if the call source matches the routing protocol list, and acquire target module information.
And the matching failure module M32 is configured to, according to the first determination information, stop the target module from being called if the calling source is not matched with the routing protocol list, and send protocol matching failure information.
A transmission module M4, configured to transmit the target module information to the routing controller.
And the query module M5 is configured to enable the routing controller to send target query information to a corresponding application according to the target module information, and obtain the first feedback information.
And the calling module M51 is configured to, according to the first feedback information, call a target module if the application has the target module.
And the call failure module M52 is configured to, according to the first feedback information, stop the call of the target module if the application does not have the target module, and send call failure information.
An embodiment of the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored on the processor and capable of running on the processor.
The processor includes a central processing unit in the mobile terminal, and the memory includes various media capable of storing program codes, such as a mobile hard disk, a U disk, a read-only memory, a random access memory, or an optical disk for the mobile terminal.
Specifically, the processor calls the logic instructions stored in the memory to perform the following method: acquiring a routing protocol list, wherein the routing protocol list is a white list called by a module; obtaining routing parameter information, wherein the routing parameter information comprises information of calling source and target modules; according to the routing protocol list, judging the matching of the routing parameter information and the routing protocol list to acquire first judgment information; according to the first judgment information, if the calling source is matched with the routing protocol list, carrying out routing protocol analysis to obtain target module information; conveying the target module information to the routing controller; the routing controller sends target inquiry information to corresponding application according to the target module information to acquire first feedback information; and according to the first feedback information, if the application has a target module, calling the target module.
Example 2
The method described in this embodiment 2 includes all the steps in embodiment 1, and this embodiment 2 is a preferred implementation of the method for performing module call on the mobile terminal through the routing protocol, and specifically includes:
step 1: and acquiring a routing protocol list, wherein the routing protocol list is a white list called by the module.
Step 2: and acquiring routing parameter information, wherein the routing parameter information comprises information of calling source and target modules.
And step 3: and judging the matching of the routing parameter information and the routing protocol list according to the routing protocol list to acquire first judgment information.
Substep 31: and according to the first judgment information, if the calling source is matched with the routing protocol list, analyzing the routing protocol to acquire target module information.
Substep 32: and according to the first judgment information, if the calling source is not matched with the routing protocol list, stopping calling of the target module and sending out protocol matching failure information.
And 4, step 4: and transmitting the target module information to the routing controller.
And 5: and enabling the routing controller to send target inquiry information to corresponding application according to the target module information to acquire first feedback information.
Substep 51: and according to the first feedback information, if the application has a target module, calling the target module.
Substep 52: and the target module is stopped from being called and calling failure information is sent out if the target module does not exist in the application according to the first feedback information.
In this embodiment, preferably, after the obtaining of the routing parameter information, step 6 is further performed: executing judgment on the calling source to acquire second judgment information; according to the second judgment information, if the calling source is an internal calling source, directly transmitting the routing parameter information to the routing controller; and according to the second judgment information, if the calling source is an external calling source, sequentially executing the subsequent steps.
Specifically, since the internal call source is used for internal module call between different modules in the same application, there is no problem of security, and the internal call source is also inevitably present in the routing protocol list. Therefore, step 6 is added in this embodiment 2, and the calling source is determined, so as to distinguish whether the calling source that needs to be called by the module is an internal calling source or an external calling source, and generate second determination information.
If the calling source is an internal calling source, the target module is directly inquired, so that unnecessary module calling waiting time is reduced, and the performance occupied by the mobile terminal during module calling can be reduced. If the calling source is an external calling source, the following steps are required to be sequentially executed so as to ensure the safety of the mobile terminal in the process of executing the module calling.
All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (10)
1. A method for a mobile terminal to make module call through a routing protocol is characterized by comprising the following steps:
acquiring a routing protocol list, wherein the routing protocol list is a white list called by a module;
obtaining routing parameter information, wherein the routing parameter information comprises information of calling source and target modules;
according to the routing protocol list, judging the matching of the routing parameter information and the routing protocol list to acquire first judgment information;
according to the first judgment information, if the calling source is matched with the routing protocol list, carrying out routing protocol analysis to obtain target module information;
conveying the target module information to the routing controller;
the routing controller sends target inquiry information to corresponding application according to the target module information to acquire first feedback information;
and according to the first feedback information, if the application has a target module, calling the target module.
2. The method according to claim 1, wherein after determining the routing parameter information according to the routing protocol list, the method further comprises:
and according to the first judgment information, if the calling source is not matched with the routing protocol list, stopping calling of the target module and sending out protocol matching failure information.
3. The method according to claim 1, wherein after the routing controller queries information from a corresponding application target according to the target module information and obtains first feedback information, the method further comprises:
and according to the first feedback information, if the application does not have the target module, stopping calling the target module and sending calling failure information.
4. The method according to claim 1, wherein the mobile terminal performs module call via routing protocol, and comprises:
the routing controller issues target query information in accordance with a target-action mechanism.
5. The method according to claim 1, wherein the mobile terminal performs module call via routing protocol, and comprises:
the calling source in the routing parameter information comprises an internal calling source and an external calling source.
6. The method according to claim 5, wherein after the obtaining of the routing parameter information, the step of determining the call source is performed, and specifically includes:
acquiring second judgment information;
according to the second judgment information, if the calling source is an internal calling source, directly transmitting the routing parameter information to the routing controller;
and according to the second judgment information, if the calling source is an external calling source, sequentially executing the subsequent steps.
7. The method according to claim 1, wherein the mobile terminal performs module call via routing protocol, and comprises:
the routing parameter information is in one of an APNS format, a URL Scheme format and a Universal Links format.
8. The method according to claim 7, wherein the mobile terminal performs module call via routing protocol, and further comprising:
the routing protocol analysis is simultaneously suitable for the call of IOS, Android, H5 and ReactNative.
9. A routing protocol management system for mobile terminals, comprising:
the system comprises an acquisition list module, a routing protocol module and a routing module, wherein the acquisition list module is used for acquiring a routing protocol list which is a white list called by the module;
the routing parameter module is used for acquiring routing parameter information, and the routing parameter information comprises information of calling source and target modules;
the list matching module is used for judging the matching of the routing parameter information and the routing protocol list according to the routing protocol list to acquire first judgment information;
the protocol analysis module is used for carrying out routing protocol analysis to acquire target module information if the calling source is matched with the routing protocol list according to the first judgment information;
the transmission module is used for transmitting the target module information to the routing controller;
the inquiry module is used for enabling the routing controller to send target inquiry information to corresponding application according to the target module information to acquire first feedback information;
and the calling module is used for calling the target module if the target module exists in the application according to the first feedback information.
10. An electronic device comprising a storage, a processor and a computer program stored on the processor and operable on the processor, wherein the processor, when executing the computer program, is capable of implementing the steps of the method for module invocation by a mobile terminal via a routing protocol according to any of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010955524.1A CN112202728B (en) | 2020-09-11 | 2020-09-11 | Method and system for mobile terminal to call module through routing protocol |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010955524.1A CN112202728B (en) | 2020-09-11 | 2020-09-11 | Method and system for mobile terminal to call module through routing protocol |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112202728A true CN112202728A (en) | 2021-01-08 |
CN112202728B CN112202728B (en) | 2023-06-23 |
Family
ID=74016300
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010955524.1A Active CN112202728B (en) | 2020-09-11 | 2020-09-11 | Method and system for mobile terminal to call module through routing protocol |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112202728B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104811392A (en) * | 2014-01-26 | 2015-07-29 | 国际商业机器公司 | Method and system for processing resource access request in network |
CN106537344A (en) * | 2016-03-30 | 2017-03-22 | 北京小米移动软件有限公司 | A method and apparatus for managing application calls |
CN108337317A (en) * | 2018-02-09 | 2018-07-27 | 马上消费金融股份有限公司 | Method and device for processing route request |
CN108959455A (en) * | 2018-06-15 | 2018-12-07 | 上海陆家嘴国际金融资产交易市场股份有限公司 | Single page Web application implementation method, device, computer equipment and storage medium |
CN110601981A (en) * | 2019-09-11 | 2019-12-20 | 神州数码融信软件有限公司 | Service routing method, service provider cloud domain and service calling cloud domain |
CN110753909A (en) * | 2017-10-31 | 2020-02-04 | 深圳市欢太科技有限公司 | Service scheduling method and device, computer equipment and computer readable storage medium |
CN111163063A (en) * | 2019-12-12 | 2020-05-15 | 万翼科技有限公司 | Edge application management method and related product |
-
2020
- 2020-09-11 CN CN202010955524.1A patent/CN112202728B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104811392A (en) * | 2014-01-26 | 2015-07-29 | 国际商业机器公司 | Method and system for processing resource access request in network |
CN106537344A (en) * | 2016-03-30 | 2017-03-22 | 北京小米移动软件有限公司 | A method and apparatus for managing application calls |
CN110753909A (en) * | 2017-10-31 | 2020-02-04 | 深圳市欢太科技有限公司 | Service scheduling method and device, computer equipment and computer readable storage medium |
CN108337317A (en) * | 2018-02-09 | 2018-07-27 | 马上消费金融股份有限公司 | Method and device for processing route request |
CN108959455A (en) * | 2018-06-15 | 2018-12-07 | 上海陆家嘴国际金融资产交易市场股份有限公司 | Single page Web application implementation method, device, computer equipment and storage medium |
CN110601981A (en) * | 2019-09-11 | 2019-12-20 | 神州数码融信软件有限公司 | Service routing method, service provider cloud domain and service calling cloud domain |
CN111163063A (en) * | 2019-12-12 | 2020-05-15 | 万翼科技有限公司 | Edge application management method and related product |
Also Published As
Publication number | Publication date |
---|---|
CN112202728B (en) | 2023-06-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107645562B (en) | Data transmission processing method, device, equipment and system | |
CN112835782B (en) | Interface access test method and system | |
CN106487847B (en) | Information processing method and transfer server | |
CN112995233B (en) | RSSP-II protocol secure connection establishment method and system | |
CN106993043A (en) | Data communication system and method based on agency | |
CN112769876B (en) | Method, device, equipment and medium for acquiring equipment channel information | |
CN113986501A (en) | Real-time database API (application program interface) uninterrupted calling method, system, storage medium and server | |
CN117439838B (en) | Edge computing gateway master-slave machine-oriented self-adaptive rapid networking method | |
CN112600703B (en) | Network equipment remote access fault positioning method and device | |
CN111367934A (en) | Data consistency checking method, device, server and medium | |
CN105959160A (en) | Debugging information transmission method and apparatus | |
CN112202728A (en) | Method and system for mobile terminal to call module through routing protocol | |
CN111400060B (en) | Equipment linkage method, device, server and medium | |
CN108199918B (en) | Method and system for testing washing machine | |
CN109034768B (en) | Financial reconciliation method, apparatus, computer device and storage medium | |
CN111464520B (en) | Data processing method and device, storage medium and electronic equipment | |
KR102301156B1 (en) | Data protocol transmission system according to wireless communication network response speed | |
US20220328154A1 (en) | Method and system for managing therapy plan data, and data exchange device | |
CN111385361B (en) | Cloth inspecting machine communication method and device, electronic equipment and storage medium | |
CN107846480A (en) | NXDOMAIN response bag treating method and apparatus | |
KR100263386B1 (en) | Method of parsing transaction language 1 in a regional monitor and control system | |
CN115714962A (en) | Session charging method, session charging device, electronic equipment and storage medium | |
CN116418877A (en) | Protocol version adaptation method and related equipment | |
CN115174607A (en) | Mobile artificial intelligence voice communication cross-platform control system | |
CN117014225A (en) | Message content analysis method and device, electronic equipment 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 |