CN110795181A - Application program interface display method and device based on skip protocol and electronic equipment - Google Patents

Application program interface display method and device based on skip protocol and electronic equipment Download PDF

Info

Publication number
CN110795181A
CN110795181A CN201910881767.2A CN201910881767A CN110795181A CN 110795181 A CN110795181 A CN 110795181A CN 201910881767 A CN201910881767 A CN 201910881767A CN 110795181 A CN110795181 A CN 110795181A
Authority
CN
China
Prior art keywords
interface
data
jump
application program
path
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.)
Pending
Application number
CN201910881767.2A
Other languages
Chinese (zh)
Inventor
王希
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Youfu Computer Technology Co Ltd
Original Assignee
Beijing Youfu Computer Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Youfu Computer Technology Co Ltd filed Critical Beijing Youfu Computer Technology Co Ltd
Priority to CN201910881767.2A priority Critical patent/CN110795181A/en
Publication of CN110795181A publication Critical patent/CN110795181A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The disclosure relates to a jump protocol-based application program interface display method and device, electronic equipment and a computer-readable medium. The method comprises the following steps: acquiring an interface path which corresponds to a target interface of an application program and accords with a jump protocol; analyzing the interface path to generate analysis data; determining interface data in a relevant container mapping table according to the analysis data; and executing the code of the interface path according to the interface data to display the target interface. The application program interface display method and device based on the jump protocol, the electronic equipment and the computer readable medium can adapt to interface jump with different operating system platforms through a set of protocol links specified by the client, save human resources and improve code working efficiency.

Description

Application program interface display method and device based on skip protocol and electronic equipment
Technical Field
The present disclosure relates to the field of computer information processing, and in particular, to a method and an apparatus for displaying an application program interface based on a jump protocol, an electronic device, and a computer-readable medium.
Background
With the development of technology, more and more functions can be realized by the application program of the mobile terminal, and users increasingly rely on the application program of the mobile terminal to process daily matters. In order to meet the use requirements of users, application programs develop a variety of functions to match the use requirements of the users. When the user uses the application program, the user can jump or link to other functional interfaces by clicking the corresponding area on the interface provided by the application program. With the increase of the functions of the application programs, various functional interfaces are increased, and the jumping scenes among the interfaces are more frequent.
In the prior art, the jump between application interfaces is realized through a jump function, and developers need to determine the jump function for different application program interfaces and then embed the jump function into different interfaces. When the jump function is embedded into the interface, different jump function commands are required to be respectively set according to the difference of the mobile system installed by the application program. At present, in the form of embedding the jump function into different interfaces and systems respectively, a plurality of renaturation codes need to be set in the application program development, and great manpower and physical power need to be occupied in the application program development process, so that the development progress is greatly influenced. In addition, when different interfaces are called each other in the later period, specific parameters of the jump functions corresponding to the different interfaces also need to be known, great inconvenience is brought to calling, and the universality is poor.
Therefore, a new application program interface display method, device, electronic device and computer readable medium based on the jump protocol are needed.
The above information disclosed in this background section is only for enhancement of understanding of the background of the disclosure and therefore it may contain information that does not constitute prior art that is already known to a person of ordinary skill in the art.
Disclosure of Invention
In view of the above, the present disclosure provides a method, an apparatus, an electronic device, and a computer readable medium for displaying an application program interface based on an interface path conforming to a jump protocol, which can adapt to interface jumps with different operating system platforms through a set of protocol links specified by a client, thereby saving human resources and improving code work efficiency.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
According to an aspect of the present disclosure, an application interface display method based on a jump protocol is provided, where the method includes: acquiring an interface path which corresponds to a target interface of an application program and accords with a jump protocol; analyzing the interface path to generate analysis data; determining interface data in the associated container mapping table according to the analysis data; and executing the code of the interface path according to the interface data to display the target interface.
Optionally, the method further comprises: and appointing interface paths for the interfaces based on the control names and the jump protocol rules of the interfaces of the application program.
Optionally, the method further comprises: and when the application program is started, acquiring the associated container mapping table.
Optionally, the obtaining an interface path corresponding to a target interface of the application and conforming to the jump protocol includes: receiving an operation instruction of a user by a preset application program; determining the name of the target control according to the operation instruction; and determining a target interface based on the name of the target control to acquire the interface path.
Optionally, parsing the interface path to generate parsed data includes: and analyzing the interface path to generate analysis data based on the encapsulated jump management type analysis.
Optionally, parsing the interface path to generate parsed data includes: analyzing the interface path based on an analysis method of a first operating system to generate analysis data; and/or analyzing the interface path based on an analysis method of the second operating system to generate analysis data.
Optionally, determining the interface data in the associated container mapping table according to the parsing data includes: and determining the interface data according to the analysis data and the associated container mapping table in the encapsulated jump management class.
Optionally, the method further comprises: and generating the associated container mapping table according to the plurality of interface data and the interface paths.
Optionally, executing the code of the interface path according to the interface data to display the target interface includes: and executing the code of the interface path by the encapsulated jump management class according to the interface data to display the target interface.
Optionally, the executing, by the encapsulated jump management class according to the interface data, the code of the interface path to display the target interface includes: the encapsulated skip management class acquires the code of the interface path from the interface data; executing the code by the encapsulated skip management class to generate interface parameters of a target interface to be displayed; and rendering an interface according to the interface parameters to display the target interface.
According to an aspect of the present disclosure, an apparatus for displaying an application interface based on a jump protocol is provided, the apparatus including: the receiving module is used for acquiring an interface path corresponding to a target interface of the application program and conforming to a jump protocol; the analysis module is used for analyzing the interface path to generate analysis data; the data module is used for determining interface data in the associated container mapping table according to the analysis data; and the display module is used for executing the codes of the interface paths according to the interface data so as to display the target interface.
Optionally, the method further comprises: and the distribution module is used for appointing interface paths for the interfaces based on the control names and the jump protocol rules of the interfaces of the application program.
Optionally, the method further comprises: and the acquisition module is used for acquiring the associated container mapping table when the application program is started.
Optionally, the receiving module includes: a receiving unit configured to receive an operation instruction of a user by a predetermined application program; the interface unit is used for determining the name of the target control according to the operation instruction; and the acquisition unit is used for determining a target interface based on the name based on the target control so as to acquire the interface path.
Optionally, the parsing module is further configured to parse the interface path based on the encapsulated jump management class to generate parsing data.
Optionally, the parsing module includes: the first analysis unit is used for analyzing the interface path based on an analysis method of a first operation system to generate analysis data; and/or the second analysis unit is used for analyzing the interface path to generate analysis data based on an analysis method of a second operating system.
Optionally, the data module is further configured to determine the interface data according to the analysis data and an associated container mapping table in the encapsulated jump management class.
Optionally, the method further comprises: and the association unit is used for generating the association container mapping table according to the plurality of interface data and the interface paths conforming to the jump protocol.
Optionally, the display module is further configured to execute the code of the interface path according to the interface data by the encapsulated jump management class to display the target interface.
Optionally, the display module comprises: the code unit is used for acquiring the code of the interface path from the interface data by the encapsulated jump management class; the parameter unit is used for executing the code by the encapsulated skip management class to generate an interface parameter of a target interface to be displayed; and the rendering unit is used for rendering the interface according to the interface parameters so as to display the target interface.
According to an aspect of the present disclosure, an electronic device is provided, the electronic device including: one or more processors; storage means for storing one or more programs; when executed by one or more processors, cause the one or more processors to implement a method as above.
According to an aspect of the disclosure, a computer-readable medium is proposed, on which a computer program is stored, which program, when being executed by a processor, carries out the method as above.
According to the application program interface display method and device based on the jump protocol, the electronic equipment and the computer readable medium, an interface path which corresponds to a target interface of the application program and accords with the jump protocol is obtained; analyzing the interface path to generate analysis data; determining interface data in the associated container mapping table according to the analysis data; and executing the code of the interface path according to the interface data to display the target interface, and adapting to interface skipping with different operating system platforms through a set of protocol links specified by the client, so that human resources are saved, and the working efficiency of the code is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings. The drawings described below are merely some embodiments of the present disclosure, and other drawings may be derived from those drawings by those of ordinary skill in the art without inventive effort.
Fig. 1 is a system block diagram illustrating an application interface presentation method and apparatus based on a jump protocol according to an exemplary embodiment.
FIG. 2 is a flow diagram illustrating a jump protocol based application interface presentation method in accordance with an exemplary embodiment.
Fig. 3 is a schematic diagram illustrating a jump protocol based application interface presentation method according to another exemplary embodiment.
Fig. 4 is a flowchart illustrating a method for protocol-based application interface presentation, according to another example embodiment.
FIG. 5 is a block diagram illustrating an application interface presentation apparatus based on a jump protocol in accordance with an exemplary embodiment.
FIG. 6 is a block diagram illustrating an application interface presentation apparatus based on a jump protocol in accordance with another illustrative embodiment.
FIG. 7 is a block diagram illustrating an electronic device in accordance with an example embodiment.
FIG. 8 is a block diagram illustrating a computer-readable medium in accordance with an example embodiment.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals denote the same or similar parts in the drawings, and thus, a repetitive description thereof will be omitted.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the disclosure.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
It will be understood that, although the terms first, second, third, etc. may be used herein to describe various components, these components should not be limited by these terms. These terms are used to distinguish one element from another. Thus, a first component discussed below may be termed a second component without departing from the teachings of the disclosed concept. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
It is to be understood by those skilled in the art that the drawings are merely schematic representations of exemplary embodiments, and that the blocks or processes shown in the drawings are not necessarily required to practice the present disclosure and are, therefore, not intended to limit the scope of the present disclosure.
Fig. 1 is a system block diagram illustrating an application interface presentation method and apparatus based on an interface path conforming to a jump protocol according to an exemplary embodiment.
As shown in fig. 1, the system architecture 10 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have various communication client applications installed thereon, such as a financial services application, a shopping application, a web browser application, an instant messaging tool, a mailbox client, social platform software, and the like.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 105 may be a server that provides various services, such as a background management server that supports financial services websites browsed by users using the terminal devices 101, 102, and 103. The background management server may analyze and perform other processing on the received user operation instruction, and feed back a processing result (for example, an interface path address conforming to a jump protocol) to the terminal device 101, 102, 103 for interface jump thereof.
The terminal devices 101, 102, 103 may, for example, obtain an interface path corresponding to a target interface of the application program and conforming to the jump protocol; the terminal devices 101, 102, 103 may, for example, parse the interface path to generate parsed data; the terminal device 101, 102, 103 may determine interface data in the association container mapping table, for example, according to the parsing data; the terminal device 101, 102, 103 may execute the code of the interface path to present the target interface, for example, according to the interface data.
The server 105 may specify interface paths that conform to a jump protocol for multiple interfaces of the application, for example, based on control names of the multiple interfaces.
The terminal device 101, 102, 103 may obtain the associated container mapping table, for example, when an application starts.
It should be noted that the application interface presentation method based on the jump protocol provided in the embodiment of the present disclosure may be executed by the terminal devices 101, 102, and 103, and accordingly, the application interface presentation apparatus based on the jump protocol may be disposed in the terminal devices 101, 102, and 103. And the related data of the page provided for the user to browse the financial service platform is located in the server 105.
According to the application program interface display method and device based on the jump protocol, an interface path which corresponds to a target interface of an application program and accords with the jump protocol is obtained; analyzing the interface path to generate analysis data; determining interface data in a relevant container mapping table according to the analysis data; and in a mode of executing the codes of the interface path according to the interface data to display the target interface, the interface jump with different operating system platforms can be adapted through a set of protocol links specified by the client, so that the human resources are saved, and the code working efficiency is improved.
FIG. 2 is a flow diagram illustrating a jump protocol based application interface presentation method in accordance with an exemplary embodiment. The application interface presentation method 20 based on the jump protocol at least includes steps S202 to S208.
As shown in fig. 2, in S202, an interface path corresponding to a target interface of an application program and conforming to a jump protocol is obtained. And the application program of the user terminal acquires an interface path corresponding to the target interface.
The step of acquiring, by the application terminal, an interface path corresponding to the target interface of the application program and conforming to the jump protocol includes: receiving an operation instruction of a user by a preset application program; determining the name of the target control according to the operation instruction; and determining a target interface based on the name of the target control so as to acquire the interface path conforming to the jump protocol.
In a specific embodiment, a user can select content concerned by a selector on an interface provided by an application program through clicking or touch screen operation, various interface controls are built in the interface of the application program, the controls calculate a target interface to be displayed by the user according to a specific position of a screen clicked by the user, and further acquire an interface path corresponding to the target interface and conforming to a jump protocol.
The interface control refers to a visual graphic "element" which can be placed on the form, such as a button, a file editing frame and the like. Most of them have the function of executing a function or causing a code to run by an "event" and complete a response.
In one embodiment, interface paths conforming to a jump protocol may be specified, for example, by a remote server, for a plurality of interfaces of the application based on control names of the plurality of interfaces. The interface path of each interface may be stored in the mobile terminal through an installer of the application software. The interface path of each interface may also be issued to the cache of each application terminal by the remote server when the application program is started, which is not limited in this disclosure.
In S204, the interface path is analyzed to generate analysis data. The interface path may be parsed, for example, based on the encapsulated jump management class to generate parsed data.
Encapsulation (encapsulation), which is a process of hiding the attributes and implementation details of an object and externally disclosing an interface only, and the encapsulation process can control the access level of reading and modifying the attributes in a program; the abstracted data and behaviors (or functions) are combined to form an organic whole, namely, the data and source codes of operation data are combined organically to form a class, wherein the data and the functions are members of the class. In object-oriented programming, encapsulation is the encapsulation of resources needed for the running of an object into a program object, basically, encapsulated resources are methods and data. An object is "publish its interface". Other objects attached to these interfaces can use the object without concern for the way the object is implemented.
In embodiments of the present disclosure, the purpose of encapsulation of class files is to not allow outside classes to modify the member variables of a class at will; more specifically, in the embodiment of the present disclosure, when defining a member of a class, the access right of the member is specified by using a private key, and the member can only be called by methods of other members of the class, but not by methods in other classes.
In one embodiment, parsing the interface path to generate parsed data comprises: analyzing the interface path based on an analysis method of a first operating system to generate analysis data; and/or analyzing the interface path based on an analysis method of the second operation system to generate analysis data.
The first operating system may be an android operating system, and the second operating system may be an iOS operating system.
In S206, interface data is determined in the associated container mapping table according to the parsing data. The interface data may be determined, for example, based on the parsed data and an associated container mapping table in the encapsulated jump management class. The associated container mapping table is generated according to a plurality of interface data and interface paths conforming to a jump protocol.
The associated container mapping table may be a map table, which is a mapping from key to value. The mapping table data structure is designed for the purpose of finding another data corresponding to one data. The mapping table implements mapping relationships by means of key/value pairs stored therein. If a key is provided, a value can be found.
Typically, there are three views of the mapping table, which are: a set of keys, a set of values, and a set of key/value pairs.
Set<K>keySet()
Collection<k>values()
Set<Map.Entry<K,V>entrySet()。
In S208, executing the code of the interface path according to the interface data to display the target interface. The method comprises the following steps: and executing the code of the interface path by the encapsulated jump management class according to the interface data to display the target interface.
In one embodiment, executing, by the encapsulated jump management class, the code of the interface path according to the interface data to display the target interface includes: the encapsulated skip management class acquires the code of the interface path from the interface data; executing the code by the encapsulated skip management class to generate interface parameters of a target interface to be displayed; and rendering an interface according to the interface parameters to display the target interface.
It should be clearly understood that this disclosure describes how to make and use particular examples, but the principles of this disclosure are not limited to any details of these examples. Rather, these principles can be applied to many other embodiments based on the teachings of the present disclosure.
Fig. 3 is a schematic diagram illustrating a jump protocol based application interface presentation method according to another exemplary embodiment. As shown in fig. 3, interface paths conforming to the jump protocol are defined in advance, and then data is encapsulated in a jump management class. In the actual application process, after the mobile terminal acquires the interface path, the interface path is analyzed, then the page data is determined by contrasting the map, and the subsequent interface processing is carried out based on the jump code in the page data.
The interface path conforming to the jump protocol can be in the following form: first page: ncf: // home/0, personal page: ncf: // me/0, etc.
In the prior art, common mobile end systems are android and iOS systems.
The application software on the Android system realizes the jump function on the page through the jump function, and more specifically, the jump function can be realized through the Intent: and the Intent function realizes the jump, wherein Intent is a bridge for the jump of the Activity interface and designates a path between the jump from the original Activity interface to the target Activity interface.
The application software on the iOS system also realizes the jump function on the page through the jump function, and more specifically, the jump can be realized through the uinnagationcontroller function, the uinnagationcontroller is generally called as a navigation bar, which is a bridge for the communication between views, the uinnagationcontroller is a container of a view controller, and a plurality of controllers can be placed in the uinnagationcontroller, so that the return can be divided into several cases.
1. Popping up the currently displayed interface, and returning to the previous interface;
2. returning to the root view controller;
3. pop up to the designated view controller.
Different return situations correspond to a plurality of more specific function names, but the essence of the return situations is interface jump realized by a method function.
The current method for jumping between android and iOS system interfaces requires developers to determine a jump function for each application program interface, and different jump function commands need to be set respectively according to the difference of mobile systems installed by application programs when the jump function is embedded in the interface. Greatly occupying the time and energy of developers. Moreover, due to the difference of the jump functions corresponding to different systems, different jump parameters are required in the jump process, and even in the same system, when different interfaces are called mutually in the later period, specific parameters of the jump functions corresponding to different interfaces also need to be known, which brings great inconvenience to the calling and has poor universality.
In the application program interface display method based on the skip protocol, all interfaces are allocated with interface paths conforming to the skip protocol, and developers only need to know the interface paths of all the interfaces in the development stage of the application program, so that the development time is greatly saved, and the development efficiency is improved. In practical use, different application programs are installed in the system, and the interface path is analyzed based on the self-built analysis language, so that the time cost, the cache cost and the like of the system are not increased.
FIG. 4 is a flowchart illustrating a jump protocol based application interface presentation method in accordance with another exemplary embodiment. The flow shown in fig. 4 is a detailed description of S208 "execute the code of the interface path according to the interface data to show the target interface" in the flow shown in fig. 2,
as shown in fig. 4, in S402, the encapsulated jump management class obtains the code of the interface path from the interface data.
In S404, the encapsulated jump management class executes the code to generate interface parameters of the target interface to be displayed.
In S406, interface rendering is performed according to the interface parameters to display the target interface.
And executing the code by the encapsulated jump management class to generate interface parameters. In the Android system, interface rendering may be specifically performed, for example, through the following steps and functions:
and clicking an interface on the application, and acquiring the code of the interface path from the interface data by the encapsulated jump management class.
The binder thread (ApplicationThread) of the process, upon receiving the code, sends a LAUNCH _ ACTIVITY message to the main thread via the handler.
After receiving the Message, the main thread creates a target Activity through an emission mechanism and calls back the Activity.
And starting to enter an Activity life cycle, executing an onCreate/onStart/onResume method, rendering an interface, and viewing the corresponding interface after rendering the interface.
Those skilled in the art will appreciate that all or part of the steps implementing the above embodiments are implemented as computer programs executed by a CPU. When executed by the CPU, performs the functions defined by the methods provided by the present disclosure. The program may be stored in a computer readable storage medium, which may be a read-only memory, a magnetic or optical disk, or the like.
Furthermore, it should be noted that the above-mentioned figures are merely schematic illustrations of processes involved in methods according to exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods. For details not disclosed in the embodiments of the apparatus of the present disclosure, refer to the embodiments of the method of the present disclosure.
FIG. 5 is a block diagram illustrating an application interface presentation apparatus based on a jump protocol in accordance with an exemplary embodiment. As shown in fig. 5, the jump protocol based application interface presentation apparatus 50 includes: a receiving module 502, a parsing module 504, a data module 506, and a data module 506.
The receiving module 502 is configured to obtain an interface path corresponding to a target interface of an application and conforming to a jump protocol; wherein the receiving module 502 comprises:
a receiving unit configured to receive an operation instruction of a user by a predetermined application program;
the interface unit is used for determining the name of the target control according to the operation instruction; and
and the acquisition unit is used for determining a target interface based on the name based on the target control so as to acquire the interface path.
The analysis module 504 is configured to analyze the interface path to generate analysis data; the parsing module 504 is further configured to parse the interface path to generate parsing data based on the encapsulated jump management class. The parsing module 504 includes:
the first analysis unit is used for analyzing the interface path based on an analysis method of a first operating system to generate analysis data; and/or
And the second analysis unit is used for analyzing the interface path based on an analysis method of a second operating system to generate analysis data.
The data module 506 is configured to determine interface data in the associated container mapping table according to the parsing data; the data module 506 is further configured to determine the interface data according to the parsed data and the associated container mapping table in the encapsulated jump management class.
The data module 506 further includes: and the association unit is used for generating the association container mapping table according to the plurality of interface data and the interface paths.
The presentation module 508 is configured to execute the code of the interface path according to the interface data to present the target interface. The display module 508 is further configured to execute the code of the interface path according to the interface data by the encapsulated jump management class to display the target interface. The display module 508 includes:
the code unit is used for acquiring the code of the interface path conforming to the jump protocol from the interface data by the encapsulated jump management class;
the parameter unit is used for executing the code by the encapsulated skip management class to generate an interface parameter of a target interface to be displayed; and
and the rendering unit is used for rendering the interface according to the interface parameters so as to display the target interface.
FIG. 6 is a block diagram illustrating an application interface presentation apparatus based on a jump protocol in accordance with another illustrative embodiment. As shown in fig. 6, the jump protocol based application interface presentation apparatus 60 further includes, in addition to the jump protocol based application interface presentation apparatus 50: an allocation module 602 and an acquisition module 604.
The allocating module 602 is configured to allocate interface paths that conform to the jump protocol for the plurality of interfaces of the application program, respectively.
The obtaining module 604 is configured to obtain the associated container mapping table when the application program is started.
According to the application program interface display device based on the skip protocol, an interface path corresponding to a target interface of an application program is obtained; analyzing the interface path to generate analysis data; determining interface data in a relevant container mapping table according to the analysis data; and executing the code of the interface path according to the interface data to display the target interface, and adapting to interface jump with different operating system platforms through a set of protocol links specified by the client, thereby saving manpower resources and improving the working efficiency of the code.
FIG. 7 is a block diagram illustrating an electronic device in accordance with an example embodiment.
An electronic device 700 according to this embodiment of the disclosure is described below with reference to fig. 7. The electronic device 700 shown in fig. 7 is only an example and should not bring any limitation to the function and scope of use of the embodiments of the present disclosure.
As shown in fig. 7, electronic device 700 is embodied in the form of a general purpose computing device. The components of the electronic device 700 may include, but are not limited to: at least one processing unit 710, at least one memory unit 720, a bus 730 connecting the various system components (including the memory unit 720 and the processing unit 710), a display unit 740, and the like.
Wherein the storage unit stores program code executable by the processing unit 710 to cause the processing unit 710 to perform steps according to various exemplary embodiments of the present disclosure described in the electronic prescription flow-through processing method section above in this specification. For example, the processing unit 710 may perform the steps as shown in fig. 2 and 4.
The memory unit 720 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM)7201 and/or a cache memory unit 7202, and may further include a read only memory unit (ROM) 7203.
The memory unit 720 may also include a program/utility 7204 having a set (at least one) of program modules 7205, such program modules 7205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, and in some combination, may comprise an implementation of a network environment.
Bus 730 may be any representation of one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 700 may also communicate with one or more external devices 700' (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 700, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 700 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 750. Also, the electronic device 700 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the internet) via the network adapter 760. The network adapter 760 may communicate with other modules of the electronic device 700 via the bus 730. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with electronic device 700, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, as shown in fig. 8, the technical solution according to the embodiment of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, or a network device, etc.) to execute the above method according to the embodiment of the present disclosure.
The software product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable storage medium may include a data signal propagating in baseband or as part of a carrier wave, which carries readable program code. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + +, or the like, as well as conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through an internet network using an internet service provider).
The computer readable medium carries one or more programs which, when executed by a device, cause the computer readable medium to perform the functions of: acquiring an interface path which corresponds to a target interface of an application program and accords with a jump protocol; analyzing the interface path to generate analysis data; determining interface data in a relevant container mapping table according to the analysis data; and executing the code of the interface path according to the interface data to display the target interface.
Those skilled in the art will appreciate that the modules described above may be distributed in the apparatus according to the description of the embodiments, or may be modified accordingly in one or more apparatuses unique from the embodiments. The modules of the above embodiments may be combined into one module, or may be further split into a plurality of sub-modules.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by a combination of software and necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
Exemplary embodiments of the present disclosure are specifically illustrated and described above. It is to be understood that the present disclosure is not limited to the precise arrangements, instrumentalities, or instrumentalities described herein; on the contrary, the disclosure is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (10)

1. An application program interface display method based on a jump protocol is characterized by comprising the following steps:
acquiring an interface path which corresponds to a target interface of an application program and accords with a jump protocol;
analyzing the interface path to generate analysis data;
determining interface data in a relevant container mapping table according to the analysis data; and
and executing the code of the interface path according to the interface data to display the target interface.
2. The method of claim 1, further comprising:
and appointing interface paths for the interfaces based on the control names and the jump protocol rules of the interfaces of the application program.
3. The method of any of claims 1-2, further comprising:
and when the application program is started, acquiring the associated container mapping table.
4. The method according to any one of claims 1-3, wherein obtaining an interface path corresponding to a target interface of an application program and conforming to a jump protocol comprises:
receiving an operation instruction of a user by a preset application program;
determining the name of the target control according to the operation instruction; and
and determining a target interface based on the name of the target control to acquire the interface path.
5. The method of any of claims 1-4, wherein parsing the interface path to generate parsed data comprises:
and analyzing the interface path to generate analysis data based on the encapsulated jump management type analysis.
6. The method of any of claims 1-5, wherein parsing the interface path to generate parsed data comprises:
analyzing the interface path based on an analysis method of a first operating system to generate analysis data; and/or
And analyzing the interface path based on an analysis method of a second operating system to generate analysis data.
7. The method of any of claims 1-6, wherein determining interface data in the associated container map based on the parsed data comprises:
and determining the interface data according to the analysis data and the associated container mapping table in the encapsulated jump management class.
8. An application program interface display device based on a jump protocol, comprising:
the receiving module is used for acquiring an interface path which corresponds to a target interface of the application program and accords with a jump protocol;
the analysis module is used for analyzing the interface path to generate analysis data;
the data module is used for determining interface data in the associated container mapping table according to the analysis data; and
and the display module is used for executing the codes of the interface paths according to the interface data so as to display the target interface.
9. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-7.
10. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-7.
CN201910881767.2A 2019-09-18 2019-09-18 Application program interface display method and device based on skip protocol and electronic equipment Pending CN110795181A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910881767.2A CN110795181A (en) 2019-09-18 2019-09-18 Application program interface display method and device based on skip protocol and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910881767.2A CN110795181A (en) 2019-09-18 2019-09-18 Application program interface display method and device based on skip protocol and electronic equipment

Publications (1)

Publication Number Publication Date
CN110795181A true CN110795181A (en) 2020-02-14

Family

ID=69427318

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910881767.2A Pending CN110795181A (en) 2019-09-18 2019-09-18 Application program interface display method and device based on skip protocol and electronic equipment

Country Status (1)

Country Link
CN (1) CN110795181A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112181437A (en) * 2020-09-04 2021-01-05 招商局金融科技有限公司 Gradation issuing method and device based on Devops, computer equipment and storage medium
CN112612556A (en) * 2020-12-24 2021-04-06 江苏满运物流信息有限公司 Method, system, equipment and storage medium for generating middle station execution link
CN112783550A (en) * 2021-01-25 2021-05-11 维沃软件技术有限公司 Application program management method and device
CN112835785A (en) * 2021-01-08 2021-05-25 展讯通信(上海)有限公司 One-way path anchor point memory method and device for application program interface skip, storage medium and terminal
CN113452613A (en) * 2020-06-30 2021-09-28 北京新氧科技有限公司 Method and device for acquiring page routing address, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108829477A (en) * 2018-05-31 2018-11-16 康键信息技术(深圳)有限公司 Interface jump method, device, computer equipment and storage medium
CN109492181A (en) * 2018-10-19 2019-03-19 中国平安财产保险股份有限公司 Method for page jump, device, computer equipment and storage medium
CN109522082A (en) * 2018-11-27 2019-03-26 北京微播视界科技有限公司 Interface jump method, device, electronic equipment and the medium of application software
CN109669716A (en) * 2018-09-25 2019-04-23 深圳壹账通智能科技有限公司 Page control method, device, equipment and readable storage medium storing program for executing
CN110221872A (en) * 2019-04-22 2019-09-10 五八有限公司 Method for page jump, device, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108829477A (en) * 2018-05-31 2018-11-16 康键信息技术(深圳)有限公司 Interface jump method, device, computer equipment and storage medium
CN109669716A (en) * 2018-09-25 2019-04-23 深圳壹账通智能科技有限公司 Page control method, device, equipment and readable storage medium storing program for executing
CN109492181A (en) * 2018-10-19 2019-03-19 中国平安财产保险股份有限公司 Method for page jump, device, computer equipment and storage medium
CN109522082A (en) * 2018-11-27 2019-03-26 北京微播视界科技有限公司 Interface jump method, device, electronic equipment and the medium of application software
CN110221872A (en) * 2019-04-22 2019-09-10 五八有限公司 Method for page jump, device, electronic equipment and storage medium

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113452613A (en) * 2020-06-30 2021-09-28 北京新氧科技有限公司 Method and device for acquiring page routing address, electronic equipment and storage medium
CN113452613B (en) * 2020-06-30 2023-06-06 北京新氧科技有限公司 Method, device, electronic equipment and storage medium for acquiring page routing address
CN112181437A (en) * 2020-09-04 2021-01-05 招商局金融科技有限公司 Gradation issuing method and device based on Devops, computer equipment and storage medium
CN112181437B (en) * 2020-09-04 2024-03-19 招商局金融科技有限公司 Gray release method and device based on Devops, computer equipment and storage medium
CN112612556A (en) * 2020-12-24 2021-04-06 江苏满运物流信息有限公司 Method, system, equipment and storage medium for generating middle station execution link
CN112612556B (en) * 2020-12-24 2022-07-15 江苏满运物流信息有限公司 Method, system, equipment and storage medium for generating middle station execution link
CN112835785A (en) * 2021-01-08 2021-05-25 展讯通信(上海)有限公司 One-way path anchor point memory method and device for application program interface skip, storage medium and terminal
CN112835785B (en) * 2021-01-08 2022-09-27 展讯通信(上海)有限公司 One-way path anchor point memory method and device for application program interface skip, storage medium and terminal
CN112783550A (en) * 2021-01-25 2021-05-11 维沃软件技术有限公司 Application program management method and device

Similar Documents

Publication Publication Date Title
CN108984714B (en) Page rendering method and device, electronic equipment and computer readable medium
CN110795181A (en) Application program interface display method and device based on skip protocol and electronic equipment
CN107291438B (en) Automatic script generation method and device and electronic equipment
US9384005B2 (en) Systems and methods for dynamic configuration of client-side development environments through use of application servers
US11389960B2 (en) Systems and methods for robotic process automation
CN111190673B (en) Page display method and device based on operation monitoring and electronic equipment
CN110968305A (en) Applet visualization generation method, device, equipment and storage medium
CN110795649A (en) Target page display method, device and system and electronic equipment
CN110895471A (en) Installation package generation method, device, medium and electronic equipment
CN114036439A (en) Website building method, device, medium and electronic equipment
CN111736818A (en) Application creation method and device based on container cloud, electronic equipment and storage medium
CN112347169A (en) PHP (hypertext preprocessor) framework based user request processing method and device and electronic equipment
CN111198996A (en) Page display method and device and electronic equipment
CN111045653A (en) System generation method and device, computer readable medium and electronic equipment
CN110188308B (en) Client automatic dotting reporting method, storage medium, equipment and system
CN112395098A (en) Application program interface calling method and device, storage medium and electronic equipment
CN111612501B (en) Information generation method and device based on strategy multiplexing and electronic equipment
CN111198738A (en) Mobile terminal page display method and device and electronic equipment
CN112347383A (en) Sharing link generation method and device and electronic equipment
CN109408057B (en) Method, device, medium and computing equipment for automatically generating codes
CN110704766A (en) Interface rendering optimization method and device based on real-time snapshot and electronic equipment
CN110554892A (en) Information acquisition method and device
CN115712422A (en) Form page generation method and device, computer equipment and storage medium
CN111191166B (en) Business page display method and device and electronic equipment
CN109271182B (en) Method and device for upgrading search engine

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200214

WD01 Invention patent application deemed withdrawn after publication