[go: up one dir, main page]

CN118916101B - Plug-in processing method, device, electronic equipment and computer program product - Google Patents

Plug-in processing method, device, electronic equipment and computer program product Download PDF

Info

Publication number
CN118916101B
CN118916101B CN202411399691.7A CN202411399691A CN118916101B CN 118916101 B CN118916101 B CN 118916101B CN 202411399691 A CN202411399691 A CN 202411399691A CN 118916101 B CN118916101 B CN 118916101B
Authority
CN
China
Prior art keywords
local
target application
plug
session information
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.)
Active
Application number
CN202411399691.7A
Other languages
Chinese (zh)
Other versions
CN118916101A (en
Inventor
黄文君
余银
汪清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Longxin Zhongke Hefei Technology Co ltd
Original Assignee
Longxin Zhongke Hefei 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 Longxin Zhongke Hefei Technology Co ltd filed Critical Longxin Zhongke Hefei Technology Co ltd
Priority to CN202411399691.7A priority Critical patent/CN118916101B/en
Publication of CN118916101A publication Critical patent/CN118916101A/en
Application granted granted Critical
Publication of CN118916101B publication Critical patent/CN118916101B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4488Object-oriented
    • G06F9/449Object-oriented method invocation or resolution
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/544Buffers; Shared memory; Pipes
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

本发明实施例提供了一种插件处理方法、装置、电子设备及计算机程序产品,所述方法包括:在翻译环境下的目标应用插件执行到目标功能函数时,调用翻译环境下的目标应用模拟端的第一接口;第一接口用于通过本地环境下的本地插件库与本地环境下的本地目标应用进行第一交互,获取本地目标应用在本地环境数据库中保存的会话信息;目标应用模拟端将获取的会话信息加密存储在翻译环境数据库中;在目标应用插件执行目标功能函数的过程中,在执行到向服务端请求获取目标数据的网络请求操作时,从翻译环境数据库中读取会话信息,并基于会话信息执行网络请求操作,获取目标数据。本发明实施例可以在本地目标应用中正确加载显示翻译环境下的目标应用插件。

The embodiment of the present invention provides a plug-in processing method, device, electronic device and computer program product, the method comprising: when the target application plug-in in the translation environment executes the target function, calling the first interface of the target application simulation end in the translation environment; the first interface is used to perform a first interaction with the local target application in the local environment through the local plug-in library in the local environment, and obtain the session information stored in the local environment database by the local target application; the target application simulation end encrypts and stores the obtained session information in the translation environment database; in the process of the target application plug-in executing the target function, when executing the network request operation to request the server to obtain the target data, reading the session information from the translation environment database, and performing the network request operation based on the session information to obtain the target data. The embodiment of the present invention can correctly load and display the target application plug-in in the translation environment in the local target application.

Description

Plug-in processing method, device, electronic equipment and computer program product
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for processing a plug-in, an electronic device, and a computer program product.
Background
In the field of network informatization, application controls developed under a Windows operating system based on an X86 architecture are various, but application controls developed under a Linux operating system based on a non-X86 architecture are very few. For example, for a browser, browser controls developed under the Windows operating system based on the X86 architecture are of a wide variety, and these browser controls enrich the functionality of the browser. For example, flash, silverlgitht controls may support streaming functions, further, owc, supcan controls may support data reporting functions, and so on.
However, there are very few browser controls developed under the Linux operating system of the non-X86 architecture, and these browser controls under the Windows operating system of the X86 architecture cannot directly run in the browser under the Linux operating system of the non-X86 architecture, resulting in limited browser functions under the Linux operating system of the non-X86 architecture.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are provided to provide a plug-in processing method for overcoming the above problems or at least partially solving the above problems, which can correctly load a target application plug-in a display translation environment in a local target application, so that an application under a Linux operating system of a non-X86 architecture can use an application control under a Windows operating system of an X86 architecture, thereby enriching application functions under the Linux operating system of the non-X86 architecture.
Correspondingly, the embodiment of the invention also provides a plug-in processing device, electronic equipment and a computer program product, which are used for ensuring the realization and the application of the method.
In a first aspect, an embodiment of the present invention discloses a method for processing a plugin, where the method includes:
When a target application plug-in a translation environment executes a target function, a first interface of a target application simulation end in the translation environment is called, wherein the first interface of the target application simulation end is used for performing first interaction with a local target application in a local environment through a local plug-in library in the local environment so as to acquire session information stored in a local environment database by the local target application;
the target application simulation end encrypts and stores the acquired session information in a translation environment database;
And in the process of executing the target function by the target application plug-in, when a network request operation for requesting to acquire target data from a server is executed, reading the session information from the translation environment database, and executing the network request operation based on the session information to acquire the target data.
In a second aspect, an embodiment of the present invention discloses a plug-in processing apparatus, where the apparatus includes a target application plug-in and a target application simulation end in a translation environment, and a local target application and a local plug-in library in a local environment, where:
The first interface of the target application simulation end is used for carrying out first interaction with a local target application in a local environment through a local plugin library in the local environment so as to acquire session information stored in a local environment database by the local target application;
The target application simulation end is used for encrypting and storing the acquired session information in a translation environment database;
And the target application plug-in is further used for reading the session information from the translation environment database when a network request operation for requesting to acquire target data from a server is executed in the process of executing the target function, and executing the network request operation based on the session information so as to acquire the target data.
In a third aspect, an embodiment of the present invention discloses an electronic device, including a processor, a memory, a communication interface, and a communication bus, where the processor, the memory, and the communication interface complete communication with each other through the communication bus, and the memory is configured to store at least one executable instruction, where the executable instruction causes the processor to execute steps of a plugin processing method according to any one of the foregoing embodiments.
In a fourth aspect, an embodiment of the present invention discloses a readable storage medium, where a program or an instruction is stored, where the program or the instruction can implement the plug-in processing method according to any one of the embodiments of the present invention when executed by a processor.
In a fifth aspect, embodiments of the present invention disclose a computer program product comprising a computer program which, when executed by a processor, performs the steps of a plug-in processing method as defined in any of the preceding claims.
The embodiment of the invention has the following advantages:
According to the embodiment of the invention, the problem of interoperability between the local target application and the target application plugin in the translation environment can be realized, and further the target application plugin can complete the request operation of requesting to acquire target data from the server through multiplexing session information stored by the local target application running in the local environment by the target application plugin in the translation environment, so that the target application plugin in the translation environment can be correctly loaded and displayed in the local target application. For example, a browser under a Linux operating system implementing a non-X86 architecture may use a browser control under a Windows operating system of an X86 architecture, thereby enriching browser functions under a Linux operating system of a non-X86 architecture.
In addition, under the condition that the session information in the translation environment database is updated, the embodiment of the invention can synchronously update the session information stored in the local environment database, so that the session information stored in the local environment database and the translation environment database are always consistent, and the occurrence of errors of subsequent reading of the session information is avoided.
Drawings
FIG. 1 is a flow chart of steps of an embodiment of a plug-in processing method of the present invention;
FIG. 2 is a schematic diagram of a system architecture involved in a plug-in processing method of the present invention;
FIG. 3 is a flow chart of a target browser control in a translation environment for obtaining session information of a local browser in the present invention;
FIG. 4 is a flow chart of the present invention for synchronously updating session information;
FIG. 5 is a block diagram of an embodiment of a card processing apparatus of the present invention;
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present invention may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. Furthermore, the term "and/or" in the specification and claims is used to describe an association relationship of an association object, and means that there may be three relationships, for example, a and/or B, and that there may be three cases where a exists alone, while a and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship. The term "plurality" in embodiments of the present invention means two or more, and other adjectives are similar.
Binary translation may be used to solve the problem of binary-level applications running across an instruction set architecture (Instruction Set Architecture, ISA). In particular, binary translation techniques may translate sequences of instructions in one instruction set architecture into sequences of instructions in another instruction set architecture. For example, binary translation may translate instruction sequences in an X86 instruction set architecture into instruction sequences in an arm instruction set architecture (e.g., arm 64), and vice versa.
Thus, the browser control under the Windows operating system running the X86 architecture can be translated under the Linux operating system not running the X86 architecture by means of binary translation.
However, after the user logs in to the local browser, session information of the user login is maintained between the local browser and the server to identify the user. Under the binary translation scene, when a target browser plug-in the translation environment needs to request data from a server, session information logged in by a user needs to be acquired, otherwise, the data request fails, and the target browser plug-in cannot be normally displayed on a local browser.
In order to solve the above problems, the present invention provides a plug-in processing method, which can translate and execute a target application plug-in (such as a target browser plug-in) of a source architecture platform in a target architecture platform, and enable the target application plug-in (such as the target browser plug-in) to be normally displayed on a local target application (such as a local target application).
Referring to fig. 1, there is shown a flow chart of steps of an embodiment of a plug-in processing method of the present invention, which may include the steps of:
Step 101, when a target application plug-in a translation environment executes a target function, calling a first interface of a target application simulation end in the translation environment, wherein the first interface of the target application simulation end is used for performing first interaction with a local target application in a local environment through a local plug-in library in the local environment so as to acquire session information stored in a local environment database by the local target application;
102, the target application simulation end encrypts and stores the acquired session information in a translation environment database;
Step 103, in the process that the target application plugin executes the target function, when executing a network request operation for requesting to a server to acquire target data, reading the session information from the translation environment database, and executing the network request operation based on the session information to acquire the target data.
The method provided by the embodiment of the invention can be applied to a target architecture platform, and is used for translating and running the target application plug-in of the source architecture platform in the target architecture platform, and the target application plug-in for realizing translation and running can be normally displayed on a local target application.
The target architecture platform is a host, such as a Linux operating system platform of a non-X86 architecture. The source architecture platform, i.e., the client, is a Windows operating system platform for X86 architecture.
The local target application refers to an application program with a running environment being a target architecture platform. The running environment of the local target application is also referred to as a local environment.
The running environment of the target application simulation end is a source architecture platform. The target application simulation end is used for simulating the target application of the source architecture platform under the translation environment in the target architecture platform. The running environment of the target application simulation end is also called a translation environment.
The translation environment is a binary translation compatible layer in the target architecture platform for translating applications running the source architecture platform in the target architecture platform (e.g., translating browser plug-ins running the source architecture platform).
The target application plugin of the source architecture platform running in the target architecture platform is translated and is called a target application plugin in the translation environment.
A local environment database refers to a database in the local environment, such as that used by a local target application. Translation environment database refers to a database under translation environment, such as a database used by a target application simulator.
It should be noted that, the embodiments of the present invention do not limit the target architecture platform and the source architecture platform. The target architecture platform can be a Linux operating system platform of a non-X86 architecture, and the source architecture platform can be a Windows operating system platform of an X86 architecture. That is, in the target application under the Linux operating system of the non-X86 architecture, the target application plug-in under the Windows operating system of the X86 architecture can be translated by means of binary translation.
In an alternative embodiment of the present invention, the target application may be a browser. A browser is a software application that can be used to retrieve, present, and browse information resources transmitted over the internet. A browser is one of the common tools for users to access Web applications, which parses and displays content requested from Web servers, such as Web pages and Web services. The target application plug-in may be a target browser plug-in, the target application simulation end may be a browser simulation end, and the local target application may be a local browser.
It should be noted that, the embodiment of the present invention does not limit the kind of the target application. The target application may be software that requires a call to a plug-in, which may be system software or application software.
The target application may be, for example, a Web application. A Web application refers to a software application running on a Web server that can provide services over the internet. A user may access a Web application through a browser or other Web client. The Web application may include front-end pages (HTML, CSS, javaScript), back-end logic (e.g., server-side scripts, database interactions), and possibly API interfaces, etc.
The relationship between Web applications and browsers is interdependent but different. The browser is not one of the Web applications, but is a tool to access the Web applications. Web applications are server-side software that can be accessed through a browser or other client-side tool. The Web application runs independent of the particular browser, but the browser provides a convenient way to interact with the user. At the same time, the design of Web applications often requires consideration of the compatibility of different browsers to ensure that all users have a consistent experience.
In an optional embodiment of the present invention, the target application plug-in may be a target Web application plug-in, the target application simulation end may be a Web application simulation end, and the local target application may be a local Web application.
Session management is a common requirement in Web development that can be used to track the user's login status, user preferences, etc. For example, java Web applications may use HttpSession to manage a session, while some applications may develop plug-ins to extend the functionality of session management, such as custom session storage or enhance security.
In an optional embodiment of the present invention, the target application may be an Instant Messaging (IM) application, such as GoEasy IM instant messaging service, and may support functions such as private chat, group chat, and online customer service. Instant messaging applications may use plug-ins to add additional session management functions such as message encryption, message auditing, or custom notification services. The target application plug-in can be a target instant messaging application plug-in, the target application simulation end can be an instant messaging application simulation end, and the local target application can be a local instant messaging application.
In an alternative embodiment of the present invention, the target application may be a dialogue system, such as Koishi dialogue system, the session information may be obtained through a plug-in, such as through inspect plug-in, and the auth plug-in allows the user to log in to the Koishi account at the console and manage his own user information. The target application plug-in may be a target dialog system plug-in, the target application simulation end may be a dialog system simulation end, and the local target application may be a local dialog system.
In an alternative embodiment of the present invention, the target application may be an AI session service, such as LobeChat, supporting multiple model facilitators, local large language models, model visual recognition, voice session, etc. LobeChat allow the introduction of new functionality, such as real-time information acquisition and processing, and integration of third party services. The target application plug-in may be a target AI session service plug-in, the target application simulation end may be an AI session service simulation end, and the local target application may be a local AI session service.
In an alternative embodiment of the present invention, the target application may be a mobile application. In mobile applications, plug-ins may be used to manage session information for users, for example, tracking of user login status or session synchronization with backend services through plug-ins. The target application plug-in may be a target mobile application plug-in, the target application simulation end may be a mobile application simulation end, and the local target application may be a local mobile application.
In an alternative embodiment of the present invention, the target application may be an e-commerce platform. The e-commerce platform may use plugins to enhance session management, for example, through plugins to enable shopping cart synchronization, user behavior tracking, or personalized recommendations. The target application plug-in may be a target e-commerce platform plug-in, the target application simulation end may be an e-commerce platform simulation end, and the local target application may be a local e-commerce platform.
In an alternative embodiment of the present invention, the target application may be an online educational platform. The online education platform may use plug-ins to track student learning progress and session activity in order to provide a personalized learning experience. The target application plug-in can be a target online education platform plug-in, the target application simulation end can be an online education platform simulation end, and the local target application can be a local online education platform.
In an alternative embodiment of the invention, the target application may be an Enterprise Resource Planning (ERP) system. The ERP system may use plug-ins to manage the user's session information in order to track the user's operational history and rights control. The target application plug-in may be a target ERP system plug-in, the target application simulation end may be an ERP system simulation end, and the local target application may be a local ERP system.
In an alternative embodiment of the present invention, the target application may be a blockchain technology-based application, such as a shared license application. The shared license can use the plug-in to ensure the authenticity and the credibility of the electronic license information, and realize the license information sharing across departments and regions. The target application plug-in may be a target shared license plug-in, the target application simulation end may be a shared license simulation end, and the local target application may be a local shared license.
For the different target applications, the flexibility and the expandability of session management can be improved by using plug-ins developed for each application, and certain security and compatibility challenges are brought. The invention aims to translate and run the target application plugin of the source architecture platform in the target architecture platform, and the target application plugin for realizing translation and running can be normally displayed on a local target application, and the compatibility of the target application plugin is expanded.
In the embodiment of the present invention, the target application is mainly taken as a browser for illustration, and the scenes of other target applications are referred to each other.
In an alternative embodiment of the invention, the target application is a browser, and the target application plug-in is a target browser plug-in, and the target browser plug-in may include an ActiveX control or an NPAPI plug-in packaged based on a network scene plug-in application programming interface (Netscape Plugin Application Programming Interface, NPAPI) standard.
The embodiment of the invention does not limit the types of the local browser and the target browser plug-in. The local browser may be a browser supporting an IE kernel, such as an IE browser, or the local browser may be a browser supporting a non-IE kernel, such as a Firefox browser or a chrome browser, for example.
The target browser plug-in may include an ActiveX control and an NPAPI class plug-in. In order to support the ActiveX control, the invention encapsulates the ActiveX control based on the NPAPI standard to obtain an NPAPI plug-in encapsulation library. The NPAPI class plug-in is an NPAPI plug-in under a native Windows platform, such as silverlight plug-in, offce plug-in, etc.
It should be noted that, in the embodiment of the present invention, an ActiveX control supporting an IE kernel browser and an NPAPI plug-in supporting a non-IE kernel browser are collectively referred to as a browser plug-in.
The browser plug-in the embodiment of the invention is based on the NPAPI standard. The NPAPI standard may provide three functional interfaces, NP-prefixed by the NPAPI plug-in to the top level interface of the browser, typically the export interface of a dynamically linked library. Prefixed with npp_is the interface that the plug-in itself provides to browser calls. Prefixed with NPN _ is the interface that the browser provides for plug-in invocation.
Taking a target application as a browser as an example, referring to fig. 2, a schematic diagram of a system architecture related to a plug-in processing method of the present invention is shown, where the system architecture runs under a target architecture platform. The system architecture as shown in fig. 2 includes a local environment and a translation environment. The local environment refers to an operation environment under a target architecture platform, namely a host machine environment, and the translation environment refers to a compatible layer environment realized by binary translation under the target architecture platform, and can be used for translating browser plug-ins under an execution source architecture platform.
In implementations, the local environment may include a local target application and a local plug-in library. The translation environment can comprise a target application simulation end and an application plug-in of a source architecture platform. In a specific implementation, the translation environment may include application plugins of multiple source architecture platforms, where the application plugins of the source architecture platform currently being translated are referred to as target application plugins.
As shown in fig. 2, the local environment includes a local browser and a local plug-in library. The translation environment comprises a browser simulation end and a browser plug-in of a source architecture platform. In a specific implementation, the translation environment may include a plurality of browser plug-ins of a source architecture platform, where the browser plug-ins of the source architecture platform that are currently being translated are referred to as target browser plug-ins.
The local plugin library may be a dynamically linked library (e.g., so file) implemented according to NPAPI standards, which implements an interface prefixed by np_and npp_. An interface realized based on the NPAPI standard can be called between the local browser and the local plug-in library for communication.
The browser simulation end realizes function interfaces, such as a first interface and a second interface, taking NPN_as prefixes according to the NPAPI standard. The first interface and the second interface are available for invocation by a target browser plug-in. The first interface may be configured to obtain session information from a local environment database when the target browser plug-in needs to request data of the server. The second interface may be configured to synchronously update session information in the local environment database when the session information in the translation environment database is changed.
A session refers to a sequence of requests and responses that occur continuously between a client (browser) and a web server. The basic principle of a session is to distinguish between different users and different sessions by means of identifiers. When a user accesses a website, the server creates a unique identifier for the user and stores the unique identifier in a Cookie of the browser. By means of this identifier, the server can maintain state between different requests of the user and associate the relevant data with the user. The session information in embodiments of the present invention may include the unique identifier.
The local browser may include a plurality of processes such as a rendering process, a plug-in process, and a network process. The rendering process is responsible for controlling the webpage content displayed in the browser tab. The plug-in process is responsible for controlling the browser plug-ins used by the browser web pages. The plug-in process provides an interface prefixed by NPN_for the browser plug-in to call. The network process is responsible for network-related request processing.
The embodiment of the invention realizes that the target browser plug-in the translation environment multiplexes the session information between the local browser running in the local environment and the server based on the system architecture shown in fig. 2, so that the target browser plug-in the translation environment can request to acquire the data of the server based on the session information, and further can be correctly displayed in the local browser.
Specifically, when a target browser plug-in a translation environment executes a target function, a first interface of a browser simulation end in the translation environment is called.
In the present invention, the objective function refers to an interface function implemented by the objective application plugin in order to implement a certain function. In one example, taking a target application as a browser as an example, the target function may be an interface function for a target browser plug-in to implement viewing of specified data. For example, in a browser, data for a personal expense reimbursement may be presented in the browser by executing a target function provided by a target browser plug-in that looks at the personal expense reimbursement. It will be appreciated that the specific function implemented by the objective function may be determined according to the scenario of different objective applications.
In specific implementation, a local browser running in a local environment can send a call request to a browser simulation end running in a translation environment through a local plugin library, the call request is used for requesting to call a target function of a target browser plugin in the translation environment, the browser simulation end calls the target function of the target browser plugin in the translation environment after receiving the call request, the target browser plugin responds to the call request, the target function is executed, and before the target function is executed, the operations of the steps 101-103 are executed to acquire session information in a local database, and then in the process of executing the target function later, required target data can be requested to a server end based on the session information.
The first interface of the target application simulation end is used for performing first interaction with the local target application in the local environment through the local plug-in library in the local environment so as to acquire session information stored in the local environment database by the local target application.
Further, communication can be performed between the local plug-in library running in the local environment and the target application simulation end running in the translation environment through an IPC (Inter-Process Communication ) mechanism under Linux.
In an optional embodiment of the invention, the first interaction with the local target application in the local environment through the local plugin library in the local environment may include:
The first interface of the target application simulation end sends a first process message (called a first IPC message) to the local plug-in library through a process communication pipeline (called an IPC pipeline), wherein the first IPC message carries a first parameter;
When the local plug-in library analyzes a first parameter in the first IPC message, calling a first interface of the local target application based on the first parameter, wherein the first interface of the local target application is used for reading the session information from the local environment database;
and the local plug-in library returns the read session information to the target application simulation end through the IPC pipeline.
Taking the target application as a browser as an example, in the embodiment of the present invention, the local plugin library may be a plugin implemented according to the NPAPI standard, and provides an interface that can be invoked by the local browser. When the interface is called by the local browser, the local plugin library forwards the called request to the browser simulation end running in the translation environment in an IPC mode.
Taking a target application as a browser as an example, referring to fig. 3, a flow diagram of a target browser control in a translation environment in the present invention to obtain session information of a local browser is shown. As shown in fig. 3, based on the system architecture shown in fig. 2, the flow of the first interaction with the local browser in the local environment through the local plugin library in the local environment may be as follows:
1) The local browser stores the session information with the server in an encrypted manner in the local environment database (see step 1 in fig. 3).
Specifically, after the user inputs the login account and the login password in the local browser and successfully logs in, the local browser can cryptographically store session information logged in by the user in the local environment database. The local environment database refers to a database in the running environment where the local browser is located.
2) Before executing the target function, the target browser plug-in the translation environment invokes a first interface of the browser simulation end running in the translation environment, where the first interface is denoted as npn_ GetValueForURL (see step 2 in fig. 3). The first interface of the browser simulation end is used for sending a first IPC message to the local plugin library running in the local environment through an IPC pipeline, and waiting for the local plugin library to return session information (see step 3 in fig. 3).
3) After the local plugin library parses the first parameter in the first IPC message, the local plugin library invokes the first interface npn_ GetValueForURL of the local browser (see step 4 in fig. 3) because the first parameter includes the feature information of the first interface npn_ GetValueForURL.
The first interface of the local browser is used for interacting with the kernel of the local browser to acquire session information stored in the local environment database.
It should be noted that, the first interface npn_ GetValueForURL provided by the browser analog end is consistent with the first interface npn_ GetValueForURL provided by the local browser, and the call parameters provided by the two are consistent, but the executing processes of the two are different. The operation performed by the first interface npn_ GetValueForURL provided by the browser simulation end is simply that the first parameter provided by the caller is transferred to the local browser through the local plug-in library by the IPC pipeline, and then the returned result is waited. The operation performed by the first interface npn_ GetValueForURL provided by the local browser is to implement specific operation logic by interacting with the kernel of the local browser, and read session information of the current login user between the local browser and the server stored in the local database.
4) After the first interface npn_ GetValueForURL of the local browser is called, the operation of reading the session information of the current login user from the local environment database (see step 5 in fig. 3) is performed, and the read session information is returned to the local plug-in library (see step 6 in fig. 3), and then the local plug-in library returns the received session information to the browser simulation end running in the translation environment through the IPC pipeline (see step 7 in fig. 3).
5) The browser simulation end running in the translation environment encrypts and stores the acquired session information in a translation environment database under the translation environment (compatibility layer) (see step 8 in fig. 3).
6) In the process of executing the target function by the target browser plug-in running in the translation environment, when a network request operation for requesting to acquire target data from the server is executed, the session information can be directly read from the translation environment database (see step 9 in fig. 3), and the network request operation is executed based on the session information to acquire the target data, so that the network request operation to the server is completed.
The network request operation refers to an operation that needs to request network data from a server. For example, after the user a successfully logs in to the local browser, the local browser is triggered to call the target browser plug-in to provide the target function of the personal expense reimbursement data of the user a, and the target browser plug-in needs to trigger a network request operation to request the target data (i.e. the expense reimbursement data of the user a) from the server during the process of executing the target function. Assuming that steps 101 to 103 have been performed to save the session information logged in by the user a in the translation environment database, the target browser plug-in may directly read the session information of the user a from the translation environment database at this time, and perform an operation of requesting the fee reimbursement data of the user a from the server based on the session information of the user a.
According to the embodiment of the invention, the problem of mutual operation between a local browser (such as a browser under a Linux operating system of a non-X86 architecture) and a target browser plug-in under a translation environment (such as a browser plug-in under a Windows operating system of an X86 architecture) can be solved, and further, session information stored by the local browser running in the local environment can be multiplexed by the target browser plug-in under the translation environment, so that the target browser plug-in under the translation environment can complete network request operation of requesting to acquire target data from a server side, and normal loading and display of the target browser plug-in under the translation environment by the local browser can be realized.
It will be appreciated that the first interface and the second interface may be different for different target applications.
In an alternative embodiment of the present invention, the method may further include:
And the target application plug-in sends the acquired target data to the local plug-in library through the target application simulation end, and then sends the target data to the local target application through the local plug-in library for display.
Taking a target application as a browser as an example, in the embodiment of the invention, the target browser plug-in for translation operation can obtain target data of a server through multiplexing session information between a local browser running in a local environment and the server, so that the requested target data can be loaded and displayed in the local browser in a control mode, the browser plug-in of a source architecture platform can be normally displayed on the browser of the target architecture platform, and the effect consistent with that of loading and displaying browser controls by the browser under a Windows operating system of an X86 architecture can be achieved.
In an alternative embodiment of the present invention, the method may further include:
the target application simulation end detects whether session information in the translation environment database is changed in real time;
And when the session information in the translation environment database is detected to be changed, the second interface of the target application simulation end is called, and the second interface of the target application simulation end is used for carrying out second interaction with the local target application in the local environment through the local plug-in library in the local environment so as to synchronously update the session information stored in the local environment database.
The technical scheme of the invention can comprise the following two parts that a target application plug-in the translation environment acquires session information from a local environment database, and the second part synchronously updates the session information stored in the local environment database under the condition that the session information in the translation environment database is updated, so that the session information stored in the local environment database is always consistent with the session information stored in the translation environment database.
Specifically, if a session information update request is received and a session information update operation is performed in the process of executing the target function by the target application plug-in the translation environment, the session information in the translation environment database is changed. And when the target application simulation end detects that the session information in the translation environment database is changed, calling a second interface of the target application simulation end, wherein the second interface of the target application simulation end is used for carrying out second interaction with the local target application in the local environment through a local plug-in library in the local environment so as to synchronously update the session information stored in the local environment database.
In an optional embodiment of the invention, the detecting whether the session information in the translation environment database is changed in real time may include:
The method comprises the steps of detecting a data state of session information in a translation environment database in real time, determining that the session information in the translation environment database is changed if the data state is a first state, and determining that the session information in the translation environment database is not changed if the data state is a second state.
And the data state of the session information in the translation environment database is used for indicating whether the session information logged in by the current user stored in the translation environment database is changed or not. When the target application simulation end detects that the data state of the session information in the translation environment database is the first state, it can be determined that the session information in the translation environment database is changed, and then a second interface of the target application simulation end is called to synchronously update the session information stored in the local environment database.
The method may further comprise:
And in the process of executing the target function by the target application plug-in, if a session information update request is received, updating the session information in the translation environment database, and setting the data state of the session information in the translation environment database as a first state.
The session information updating request refers to that the server actively requests to update the session information of the current user login maintained between the server and the target application client according to the updating mechanism of the server. And in the process of executing the target function, if the target application plug-in for translation operation receives a session information updating request from the server, the session information in the translation environment database is updated in response to the session information updating request, and the data state of the session information in the translation environment database is set to be a first state.
Taking a target application as a browser for example, the session information update request can be sent to a local browser by a server, then sent to a browser simulation end by the local browser through a local preset library, and finally sent to a target browser plug-in a translation environment by the browser simulation end. The session information updating request can carry session information to be updated, the target browser plug-in responds to the session information updating request, updates the session information in the translation environment database, and sets the data state of the session information in the translation environment database to be a first state after updating.
The browser simulation end in the translation environment can start a thread to detect the data state of the session information in the translation environment database in real time, and if the data state is detected to be the first state, a second interface of the browser simulation end is called to synchronously update the session information stored in the local environment database. And after the browser simulation end determines that the session information stored in the local environment database is successfully updated in a synchronous way, setting the data state of the session information in the translation environment database as a second state.
The embodiment of the invention does not limit the setting mode of the data state. For example, a flag bit may be set in the translation context database to indicate the data state of the session information. When the value of the flag bit is "dirty", the flag bit indicates that the data state is the first state, and when the flag bit is "clean", the flag bit indicates that the data state is the second state.
In an optional embodiment of the invention, the performing, by the local plug-in library in the local environment, the second interaction with the local target application in the local environment may include:
The second interface of the target application simulation end sends a second IPC message to the local plug-in library through an IPC pipeline, wherein the second IPC message carries a second parameter;
When the local plugin library analyzes a second parameter in the second IPC message, calling a second interface of the local target application based on the second parameter, wherein the second interface of the local target application is used for updating session information in a local environment database based on the second parameter;
Returning an execution state to the local plug-in library after the local target application updates session information in a local environment database based on the second parameter;
After the local plug-in library receives the execution state, the local plug-in library sends the execution state to the target application simulation end through a process communication pipeline;
And after the target application simulation end receives the execution state, if the execution state is analyzed to be successful, determining that the session information stored in the local environment database is successfully updated synchronously.
Taking a target application as a browser as an example, referring to fig. 4, a schematic flow chart of synchronously updating session information in the present invention is shown. As shown in fig. 4, based on the architecture shown in fig. 2, the flow of the second interaction with the local browser in the local environment through the local plugin library in the local environment may be as follows:
1) In the process of executing the target function, if a session information update request from the server is received, the target browser plug-in the translation environment updates session information in the translation environment database, and sets a data state of the session information in the translation environment database to be a first state (see step 0 in fig. 4).
2) And if the browser simulation end in the translation environment detects that the data state of the session information in the translation environment database is the first state, a second interface (expressed as NPN_ SetValueForURL) realized by the browser simulation end is called. The second interface of the browser simulation end sends a second IPC message to the local plug-in library running in the local environment through the IPC pipeline, and waits for a result returned by the local plug-in library running in the local environment (see steps 1-3 in FIG. 4).
3) After the local plugin library parses the second parameter in the second IPC message, the local plugin library invokes the second interface npn_ SetValueForURL of the local browser (see step 4 in fig. 4) because the second parameter includes the feature information of the second interface npn_ SetValueForURL.
The second interface of the local browser is used for interacting with the kernel of the local browser and updating session information stored in the local environment database.
It should be noted that, the second interface npn_ SetValueForURL provided by the browser analog end is consistent with the second interface npn_ SetValueForURL provided by the local browser, and the call parameters provided by the two are consistent, but the executing processes of the two are different. The second interface NNPN _ SetValueForURL provided by the browser simulation end simply transmits the second parameter provided by the caller to the local browser end through the IPC pipeline through the local plug-in library, and then waits for the result returned by the local browser end. The operation performed by the second interface npn_ SetValueForURL provided by the local browser is to interact with the kernel of the local browser to implement specific operation logic so as to update the session information stored in the local environment database.
4) After the second interface npn_ SetValueForURL of the local browser is invoked, an operation of updating session information in the local environment database based on the second parameter is performed (see step 5 in fig. 4), and after the update is completed, the execution state is returned to the local plug-in library, and the local plug-in library returns the execution state to the browser simulation end running in the translation environment through the IPC pipeline (see step 6 and step 7 in fig. 4).
5) After receiving the execution state, the browser simulation running in the translation environment sets the data state of the session information in the translation environment database to be a second state "clean" if the execution state is successfully resolved, and keeps the data state of the session information in the translation environment database unchanged if the execution state is failed (see step 8 and step 9 in fig. 4).
So far, the translation environment database is consistent with the session information stored in the local environment data.
In summary, through the embodiment of the invention, the interoperability problem between the local target application (such as a browser in a Linux system with a non-X86 architecture) and the target application plugin in the translation environment (such as a browser control in a Windows system with an X86 architecture) can be realized, and further, session information stored in the local target application running in the local environment can be multiplexed by the target application plugin in the translation environment, so that the target application plugin (such as a control running in a Linux system with a non-X86 architecture) can complete a request operation of requesting to acquire target data from a server, thereby realizing that the target application plugin in the translation environment is correctly loaded and displayed in the local target application. For example, a browser under a Linux operating system implementing a non-X86 architecture may use a browser control under a Windows operating system of an X86 architecture, thereby enriching browser functions under a Linux operating system of a non-X86 architecture.
In addition, under the condition that the session information in the translation environment database is updated, the embodiment of the invention can synchronously update the session information stored in the local environment database, so that the session information stored in the local environment database and the translation environment database are always consistent, and the occurrence of errors of subsequent reading of the session information is avoided.
It should be noted that, for simplicity of description, the method embodiments are shown as a series of acts, but it should be understood by those skilled in the art that the embodiments are not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts are not necessarily required by the embodiments of the invention.
Referring to FIG. 5, there is shown a block diagram of an embodiment of a plug-in processing apparatus of the present invention, which may include a target application plug-in 501 and a target application simulator 502 in a translation environment, and a local plug-in library 503 and a local target application 504 in a local environment, wherein:
The target application plug-in 501 is configured to call a first interface of a target application simulation end 502 in the translation environment when executing a function to a target function, where the first interface of the target application simulation end is configured to perform a first interaction with a local target application 504 in the local environment through a local plug-in library 503 in the local environment to obtain session information stored in a local environment database by the local target application;
the target application simulation end 502 is configured to encrypt and store the obtained session information in a translation environment database;
The target application plug-in 501 is further configured to, in a process of executing the target function, read the session information from the translation environment database when performing a network request operation to request to a server to obtain target data, and perform the network request operation based on the session information to obtain the target data.
Optionally, the target application simulation end is configured to send a first process message to the local plugin library through a process communication pipeline based on a first interface of the target application simulation end;
The local plug-in library is used for calling a first interface of the local target application based on the first parameter when the first parameter in the first process message is analyzed, and the first interface of the local target application is used for reading the session information from the local environment database;
And the local plug-in library is also used for returning the read session information to the target application simulation end through the process communication pipeline.
The target application simulation end is further used for detecting whether session information in the translation environment database is changed or not in real time, calling a second interface of the target application simulation end when the session information in the translation environment database is detected to be changed, and performing second interaction with a local target application in the local environment through a local plugin library in the local environment so as to synchronously update the session information stored in the local environment database.
Optionally, the target application plug-in is specifically configured to detect a data state of session information in the translation environment database in real time, determine that the session information in the translation environment database is changed if the data state is a first state, and determine that the session information in the translation environment database is not changed if the data state is a second state;
Optionally, the target application plugin is further configured to update session information in the translation environment database and set a data state of the session information in the translation environment database to a first state if a session information update request is received during the process of executing the target function;
The target application simulation end is further configured to set a data state of the session information in the translation environment database to a second state after determining that the session information stored in the local environment database is updated synchronously.
Optionally, the target application simulation end is configured to send a second process message to the local plugin library through a process communication pipeline based on a second interface of the target application simulation end, where the second process message carries a second parameter;
The local plug-in library is used for calling a second interface of the local target application based on the second parameter when the second parameter in the second process message is analyzed, wherein the second interface of the local target application is used for updating session information in a local environment database based on the second parameter;
the local target application is used for returning an execution state to the local plug-in library after updating session information in a local environment database based on the second parameter;
the local plug-in library is used for sending the execution state to the target application simulation end through a process communication pipeline after receiving the execution state;
And the target application simulation end is used for determining that the session information stored in the local environment database is successfully updated synchronously if the execution state is successfully analyzed after the execution state is received.
Optionally, the target application plugin is further configured to send the obtained target data to the local plugin library through the target application simulation end, and then send the obtained target data to the local target application through the local plugin library for display.
Optionally, the target application plugin includes an ActiveX control or NPAPI plugin packaged based on a network view plugin application programming interface NPAPI standard.
According to the embodiment of the invention, the problem of interoperability between the local target application (such as a browser under a Linux system of a non-X86 architecture) and the target application plugin under the translation environment (such as a browser control under a Windows system of the X86 architecture) can be realized, and further, session information stored by the local target application running in the local environment can be multiplexed by the target application plugin under the translation environment, so that the target application plugin (such as a control running in a Linux system of the non-X86 architecture) can complete the request operation of requesting to acquire target data from a server, thereby realizing the purpose that the target application plugin under the translation environment is correctly loaded and displayed in the local target application. For example, a browser under a Linux operating system implementing a non-X86 architecture may use a browser control under a Windows operating system of an X86 architecture, thereby enriching browser functions under a Linux operating system of a non-X86 architecture.
In addition, under the condition that the session information in the translation environment database is updated, the embodiment of the invention can synchronously update the session information stored in the local environment database, so that the session information stored in the local environment database and the translation environment database are always consistent, and the occurrence of errors of subsequent reading of the session information is avoided.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
Referring to fig. 6, a schematic structural diagram of an electronic device according to an embodiment of the present invention is shown. As shown in fig. 6, the electronic device includes a processor, a memory, a communication interface, and a communication bus, where the processor, the memory, and the communication interface complete communication with each other through the communication bus, and the memory is configured to store at least one executable instruction, where the executable instruction causes the processor to execute the steps of the plug-in processing method in the foregoing embodiment.
An embodiment of the present invention provides a non-transitory computer-readable storage medium, which when executed by a program or a processor of a terminal, enables the terminal to perform the steps of the plug-in processing method of any of the foregoing embodiments.
An embodiment of the invention discloses a computer program product comprising a computer program which, when executed by a processor, performs the steps of the plug-in processing method according to any of the previous embodiments.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
It will be apparent to those skilled in the art that embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the invention may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising one does not exclude the presence of other like elements in a process, method, article or terminal device comprising the element.
While the principles and embodiments of the present invention have been described in detail in this application, the foregoing embodiments are provided to facilitate understanding of the principles and concepts of the invention and are further provided by one of ordinary skill in the art to which the invention pertains.

Claims (11)

1. A method of card processing, the method comprising:
When a target application plug-in a translation environment executes a target function, a first interface of a target application simulation end in the translation environment is called, wherein the first interface of the target application simulation end is used for performing first interaction with a local target application in a local environment through a local plug-in library in the local environment so as to acquire session information stored in a local environment database by the local target application;
the target application simulation end encrypts and stores the acquired session information in a translation environment database;
And in the process of executing the target function by the target application plug-in, when a network request operation for requesting to acquire target data from a server is executed, reading the session information from the translation environment database, and executing the network request operation based on the session information to acquire the target data, wherein the target data is associated with the user identity.
2. The method of claim 1, wherein the first interaction with the local target application in the local environment via the local plug-in library in the local environment comprises:
The first interface of the target application simulation end sends a first process message to the local plug-in library through a process communication pipeline, wherein the first process message carries a first parameter;
When the local plug-in library analyzes a first parameter in the first process message, calling a first interface of the local target application based on the first parameter, wherein the first interface of the local target application is used for reading the session information from the local environment database;
And the local plug-in library returns the read session information to the target application simulation end through the process communication pipeline.
3. The method according to claim 1, wherein the method further comprises:
the target application simulation end detects whether session information in the translation environment database is changed in real time;
And when the session information in the translation environment database is detected to be changed, the second interface of the target application simulation end is called, and the second interface of the target application simulation end is used for carrying out second interaction with the local target application in the local environment through the local plug-in library in the local environment so as to synchronously update the session information stored in the local environment database.
4. A method according to claim 3, wherein said detecting in real time whether a change has occurred to session information in said translation context database comprises:
the method comprises the steps of detecting the data state of session information in a translation environment database in real time, determining that the session information in the translation environment database is changed if the data state is a first state, and determining that the session information in the translation environment database is not changed if the data state is a second state;
The method further comprises the steps of:
In the process of executing the target function by the target application plugin, if a session information update request is received, updating session information in the translation environment database, and setting the data state of the session information in the translation environment database as a first state;
And after the target application simulation end determines that the session information stored in the local environment database is successfully updated synchronously, setting the data state of the session information in the translation environment database as a second state.
5. The method of claim 3, wherein the second interaction with the local target application in the local environment via the local plug-in library in the local environment comprises:
The second interface of the target application simulation end sends a second process message to the local plug-in library through a process communication pipeline, wherein the second process message carries a second parameter;
when the local plug-in library analyzes a second parameter in the second process message, calling a second interface of the local target application based on the second parameter, wherein the second interface of the local target application is used for updating session information in a local environment database based on the second parameter;
Returning an execution state to the local plug-in library after the local target application updates session information in a local environment database based on the second parameter;
After the local plug-in library receives the execution state, the local plug-in library sends the execution state to the target application simulation end through a process communication pipeline;
And after the target application simulation end receives the execution state, if the execution state is analyzed to be successful, determining that the session information stored in the local environment database is successfully updated synchronously.
6. The method according to claim 1, wherein the method further comprises:
And the target application plug-in sends the acquired target data to the local plug-in library through the target application simulation end, and then sends the target data to the local target application through the local plug-in library for display.
7. The method of claim 1, wherein the target application plug-in comprises an ActiveX control or NPAPI plug-in packaged based on a network view plug-in application programming interface NPAPI standard.
8. The method according to any one of claims 1 to 7, wherein the target application plug-in is a target browser plug-in, the target application simulation end is a browser simulation end, and the local target application is a local browser.
9. A plug-in processing device, characterized in that the device comprises a target application plug-in and a target application simulation end in a translation environment, and a local target application and a local plug-in library in a local environment, wherein:
the system comprises a target application plug-in, a target application simulation end, a local application plug-in library, a session information and a user identification module, wherein the target application plug-in is used for calling a first interface of the target application simulation end in the translation environment when executing a target function;
The target application simulation end is used for encrypting and storing the acquired session information in a translation environment database;
the target application plug-in is further used for reading the session information from the translation environment database and executing the network request operation based on the session information to acquire the target data when executing the network request operation requesting to acquire the target data from the server in the process of executing the target function, and the target data is associated with the user identity.
10. An electronic device comprising a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface are in communication with each other via the communication bus, and the memory is configured to store at least one executable instruction, the executable instruction causing the processor to perform the steps of the plug-in processing method according to any one of claims 1 to 8.
11. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, is adapted to carry out the steps of the plug-in processing method according to any one of claims 1 to 8.
CN202411399691.7A 2024-10-08 2024-10-08 Plug-in processing method, device, electronic equipment and computer program product Active CN118916101B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411399691.7A CN118916101B (en) 2024-10-08 2024-10-08 Plug-in processing method, device, electronic equipment and computer program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411399691.7A CN118916101B (en) 2024-10-08 2024-10-08 Plug-in processing method, device, electronic equipment and computer program product

Publications (2)

Publication Number Publication Date
CN118916101A CN118916101A (en) 2024-11-08
CN118916101B true CN118916101B (en) 2024-12-20

Family

ID=93308992

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411399691.7A Active CN118916101B (en) 2024-10-08 2024-10-08 Plug-in processing method, device, electronic equipment and computer program product

Country Status (1)

Country Link
CN (1) CN118916101B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105335203A (en) * 2014-06-30 2016-02-17 华为技术有限公司 Binary translation execution method of shared libraries and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060129972A1 (en) * 2004-11-30 2006-06-15 Tyburski John C Application developer and method for generating platform independent code
US8352967B2 (en) * 2008-11-10 2013-01-08 Google Inc. Safe browser plugins using native code modules
CN101937355A (en) * 2010-09-03 2011-01-05 复旦大学 Heterogeneous Program Interaction Method Based on Dynamic Binary Translation
US12271718B2 (en) * 2020-06-22 2025-04-08 Apple Inc. Systems and methods for performing binary translation
CN117369993A (en) * 2023-09-13 2024-01-09 厦门威特科技有限公司 Method for compatibly running different service systems in Linux environment and credit creation server

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105335203A (en) * 2014-06-30 2016-02-17 华为技术有限公司 Binary translation execution method of shared libraries and device

Also Published As

Publication number Publication date
CN118916101A (en) 2024-11-08

Similar Documents

Publication Publication Date Title
US11307969B2 (en) Methods for improved web application testing using remote headless browsers and devices thereof
US8924592B2 (en) Synchronization of server-side cookies with client-side cookies
US9483570B2 (en) Driving a user experience of a web application using rules that establish or change requests based on user behavior
JP5893641B2 (en) How to provide assistance to end users of software applications
US20070260702A1 (en) Web browser architecture for virtual machine access
US8966446B1 (en) Systems and methods of live experimentation on content provided by a web site
US12093966B2 (en) Customer service representative dashboard with micro-applications
JP2005505051A (en) Distributed program execution method based on file type relationship in client-server network
US11726800B2 (en) Remote component loader
CN112131504B (en) Webpage editing and displaying method, device, equipment and storage medium
EP3425882A1 (en) Client device, method and computer-readable medium for token piggybacking
JP5936103B2 (en) System, computer, method and program for calling Java method on client
WO2020253468A1 (en) Cloud-based device, application program processing method, electronic equipment and storage medium
WO2013054248A1 (en) Generating a predictive data structure
CN112491940B (en) Request forwarding method and device of proxy server, storage medium and electronic equipment
CN118916101B (en) Plug-in processing method, device, electronic equipment and computer program product
US11321227B2 (en) Backend application load testing with respect to session between client application and service
US10291743B2 (en) Configuring service endpoints in native client applications
WO2016091213A1 (en) Method for late binding identity to account
JP6683835B2 (en) Reduced waiting time when downloading electronic resources using multiple threads
JP7104091B2 (en) Reduced latency when downloading electronic resources using multiple threads
US10834167B1 (en) Client side navigation compositor
EP4276604A1 (en) Dynamic web component stream renderer
CN119311308A (en) Unreal engine pixel streaming method, device, equipment and medium
CN119166532A (en) Application configuration operation method, device, computer 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