CN112799741A - Application program differentiation method and device, electronic equipment and storage medium - Google Patents

Application program differentiation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112799741A
CN112799741A CN202110173446.4A CN202110173446A CN112799741A CN 112799741 A CN112799741 A CN 112799741A CN 202110173446 A CN202110173446 A CN 202110173446A CN 112799741 A CN112799741 A CN 112799741A
Authority
CN
China
Prior art keywords
page
sub
login
module
webpage view
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
CN202110173446.4A
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 Lexuebang Network Technology Co Ltd
Original Assignee
Beijing Lexuebang Network 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 Lexuebang Network Technology Co Ltd filed Critical Beijing Lexuebang Network Technology Co Ltd
Priority to CN202110173446.4A priority Critical patent/CN112799741A/en
Publication of CN112799741A publication Critical patent/CN112799741A/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/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
    • 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/508Monitor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/547Messaging middleware

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application provides an application program dividing method and device, electronic equipment and a storage medium, and relates to the technical field of communication. The method comprises the following steps: generating a browser window through a main process to load a main page; receiving a plurality of login accounts through the main page and rendering corresponding webpage view tags so as to manage the login accounts; all the webpage view tags are related to the same sub-page, so that the page information corresponding to different login accounts is displayed on the sub-page, the page information of all the login accounts is displayed on the same sub-page, the memory occupation is saved, and the problem that the existing method is large in memory occupation and unsmooth in card is solved.

Description

Application program differentiation method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to an application program differentiation method, an application program differentiation apparatus, an electronic device, and a storage medium.
Background
When a user needs to use a desktop application to log in different accounts of the application at the same time to realize software functions isolated from each other, it is often adopted to start multiple instances of the application. However, with the increase of the complexity of the service, the number of required entities is also increased, and some services require about ten entities or even more, and the simultaneous opening of the entities will occupy a larger memory, which brings great pressure to the memory of the computer, so that the system operation will have a stuck phenomenon.
Disclosure of Invention
An object of the embodiments of the present application is to provide an application program dividing method, an application program dividing apparatus, an electronic device, and a storage medium, which display page information of all login accounts on the same sub-page, save memory usage, and solve the problem of card pause caused by large memory usage in the existing method.
The embodiment of the application provides an application program dividing method, which comprises the following steps:
generating a browser window through a main process to load a main page;
receiving a plurality of login accounts input by a user through the main page and rendering corresponding webpage view tags so as to manage the login accounts;
and associating all the webpage view tags with the same sub-page, so that the page information corresponding to different login accounts is displayed on the sub-page.
In the implementation process, all login accounts are managed in a unified mode through the homepage, the user can operate conveniently, page information corresponding to each login account is displayed on the same sub-page, and compared with the case that multiple instances are created by an application program, the occupation of an internal memory can be reduced, the blockage is effectively avoided, and the user experience is improved.
Further, the receiving, by the main page, a plurality of login accounts and rendering corresponding web view tags to manage the plurality of login accounts includes:
acquiring account information set by a user to generate the login account;
rendering a corresponding webpage view label according to the login account;
and configuring a corresponding channel ID according to the login account and taking the channel ID as the unique identifier of the corresponding webpage view label.
In the implementation process, each login account corresponds to one webpage view tag and a channel ID, and message distribution can be performed through the channel ID so as to send the corresponding message to the corresponding webpage view tag.
Further, the associating all the web view tags with the same sub-page to display the page information corresponding to different login accounts on the sub-page includes:
receiving a current login account selected by a user;
acquiring corresponding page information from a cloud service according to the current login account;
and receiving the page information and displaying the page information on the sub-page.
In the implementation process, when a user clicks a certain login account to log in, page information corresponding to the login account is displayed on a sub-page, namely different page information is obtained by cloud service according to the current login account and is displayed on the sub-page.
Further, the method further comprises:
when the webpage view tag monitors a communication request of the sub-page and the main process, transmitting the communication request to the main process;
and sending the distribution message returned by the main process to the sub-page through the webpage view label.
In the implementation process, when the sub-page needs to communicate with the main process, a communication request needs to be sent to the webpage view tag, and the webpage view tag responds to the sub-page through the inter-process monitoring event, so that the main process sends the distribution message to the corresponding webpage view tag through the channel ID to send the distribution message to the sub-page.
An embodiment of the present application further provides an application program separating device, where the device includes:
the browser window module is used for generating a browser window through a main process so as to load a main page;
the menu label module is used for receiving a plurality of login accounts input by a user through the main page and rendering corresponding webpage view labels so as to manage the login accounts;
and the sub-page module is used for associating all the webpage view tags with the same sub-page so as to display the page information corresponding to different login accounts on the sub-page.
In the implementation process, a plurality of login accounts can be established in the main page, each login account corresponds to one webpage view tag, and all the webpage view tags are associated to the same sub-page, so that the login accounts can be managed in a centralized manner, user operation is facilitated, the content under each login account is displayed on the same sub-page, a plurality of application entities can be implemented under the same application program, and the occupation of a memory is reduced.
Further, the menu label module includes:
the account acquisition module is used for acquiring account information set by a user to generate the login account;
the webpage view label rendering module is used for rendering the corresponding webpage view label according to the login account;
and the identification generation module is used for configuring a corresponding channel ID according to the login account and taking the channel ID as the unique identification of the corresponding webpage view label.
In the implementation process, a plurality of login accounts are established through the webpage view tags, and are managed in a centralized manner in the login bar, so that the operation of a user is facilitated, and the management is facilitated.
Further, the sub-page module includes:
the account receiving module is used for receiving a current login account selected by a user;
the page information acquisition module is used for acquiring corresponding page information from a cloud service according to the current login account;
and the display module is used for receiving the page information and displaying the page information on the sub-page.
In the implementation process, a user can log in by clicking an account needing to log in, so that corresponding webpage view tags are displayed, corresponding page information is displayed on sub-pages, all the webpage view tags correspond to the same sub-page, different page information is obtained by cloud service according to the current login account, and corresponding configuration is carried out on the sub-pages.
Further, the apparatus further comprises:
the communication instruction receiving module is used for transmitting a communication request to the main process when the webpage view tag monitors the communication request between the sub-page and the main process;
and the message receiving module is used for sending the distribution message returned by the main process to the sub-page through the webpage view label.
In the implementation process, the communication between the sub-page and the main process is realized through the webpage view tag.
An embodiment of the present application further provides an electronic device, where the electronic device includes a memory and a processor, where the memory is used to store a computer program, and the processor runs the computer program to make the electronic device execute any of the application differentiation methods described above.
An embodiment of the present application further provides a readable storage medium, where computer program instructions are stored, and when the computer program instructions are read and executed by a processor, the method for application program differentiation according to any of the foregoing embodiments is executed.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a diagram of an application framework structure provided in an embodiment of the present application;
fig. 2 is an initialization flowchart of a main process provided in an embodiment of the present application;
fig. 3 is a flowchart of an application program differentiation method according to an embodiment of the present application;
fig. 4 is a schematic view of an avatar structure of an application provided in an embodiment of the present application;
fig. 5 is a flowchart of a process of establishing multiple login accounts according to an embodiment of the present disclosure;
fig. 6 is a process of login by a current login account and displaying page information according to the embodiment of the present application;
FIG. 7 is a flowchart illustrating communication between a sub-page and a main process according to an embodiment of the present application;
fig. 8 is a block diagram illustrating an application differentiation apparatus according to an embodiment of the present disclosure;
fig. 9 is a block diagram of an overall structure of an application differentiation device according to an embodiment of the present application.
Icon:
100-browser window module; 200-menu label module; 201-account number obtaining module; 202-a web page view tag rendering module; 203-an identity generation module; 300-sub page module; 301-account number receiving module; 302-a page information acquisition module; 303-a display module; 401-a communication instruction receiving module; 402-a message receiving module; 501-main process; 502-a rendering process; 503-a monitoring system; 504-cloud services.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Example 1
By way of example, the desktop application for realizing the individualization provided by the application can be realized based on webview in Electron, wherein Electron is a desktop application which is built by JavaScript, HTML and CSS and is cross-platform, webview is an embedded browser and can be used by a native desktop application to display web content, and a webview tag of Electron is realized based on chroma webview 0. Before the application is subjected to the individualization, the application needs to be initialized. As shown in fig. 1, the application framework structure diagram mainly includes a main process 501, a rendering process 502, a monitoring system 503, a cloud service 504, and the like.
As shown in fig. 2, which is an initialization flowchart of the main process 501, the Electron is divided into two parts, namely, the main process 501 and the rendering process 502. The main process 501 is responsible for controlling the lifecycle of the application, displaying graphical user interfaces and elements, performing native operating system interactions and creating a rendering process 502, one application having only one main process 501. When the main process 501 executes, the main process 501 initiates the execution procedure as shown in FIG. 2.
The monitoring system 503 is initialized, and for example, the monitoring system 503 includes a Sentry system for reporting and collecting errors. The error reports of the main process 501 and the rendering process 502 are collected into the Sentry system together with the current account information for logging in the application. The Sentry system mainly monitors crash events (e.g., a dormant event of webcable under a BrowserWindow, a render-process-cached event under an app), exception capture related to file operation in the main process 501, an uncancelled exception event under a node process, and the like in the main process 501, so as to monitor the running status of the main process 501 through the above methods. The kibana system is used for recording the operation log, the specific flow executed by the user operation can be recorded, and problems are conveniently checked.
Initializing a log system, which may be an electron-log, and recording necessary log information in a local log file by setting corresponding parameter configurations.
The App binds to a listening event, and after the Electron initialization is completed, creates a browser window, namely a browser window, and binds corresponding events and processing logic for the App life cycle.
Ipc (Inter-Process Communication) event monitoring is mainly used for monitoring rendering Process 502 events, and after responding logic is processed in the monitored callback events, results are returned to the rendering Process 502.
Initializing local storage, wherein electronic-store is mainly adopted for local data persistence and is used for recording login information, window size and other information of a user.
In addition, the rendering process 502 in fig. 1 is mainly used to implement service logic, and the monitoring system 503 includes a Sentry system, a kibana system, and a user behavior statistics system, and is used to perform error reporting, logging, and user behavior statistics; files, user information, configuration information, and the like may be synchronized to cloud services 504.
Referring to fig. 3, fig. 3 is a flowchart of an application program differentiation method according to an embodiment of the present application. After initialization, the specific scheme for separating the application program is as follows:
step S100: a browser window is generated by the main process 501 to load a main page;
exemplarily, as shown in fig. 4, for a schematic view of a split structure of an application, a browse window is created through a main process 501, and menu is loaded through the browse window.
Step S200: receiving a plurality of login accounts input by a user through the main page and rendering corresponding webpage view tags so as to manage the login accounts;
as shown in fig. 5, a flowchart of a process for establishing multiple login accounts specifically includes:
step S201: acquiring account information set by a user to generate the login account;
step S202: rendering a corresponding webpage view label according to the login account;
step S203: and configuring a corresponding channel ID according to the login account and taking the channel ID as the unique identifier of the corresponding webpage view label.
Illustratively, an account login column is arranged on a main page, namely menu.html, and can be used for establishing and selecting a corresponding account, a plurality of accounts such as an account A, an account B, an account C and the like can be established in the account login column, and a webview label is correspondingly rendered every time a login account is established, so that when a user logs in a plurality of accounts, a plurality of webview labels are rendered in menu, and menu.html is responsible for login state management and message distribution; in addition, each login account is assigned with a corresponding channel id as a unique identifier of each webview label, such as < webview id ═ { channel id }, key ═ { channel id }, className ═ currentchanneld: ' hidden ', src ═ { surl }, nondeintergration ═ true ' >.
Step S300: and associating all the webpage view tags with the same sub-page, so that the page information corresponding to different login accounts is displayed on the sub-page.
As shown in fig. 6, a flowchart for displaying the login and page information of the current login account may specifically include:
step S301: receiving a current login account selected by a user;
step S302: acquiring corresponding page information from the cloud service 504 according to the current login account;
step S303: and receiving the page information and displaying the page information on the sub-page.
For example, when a mouse clicks the head portrait of a certain login account, that is, the certain login account is logged in, the webview tag of the account is displayed, and the webview tags corresponding to other login accounts are hidden by styles. Html, all webview tags correspond to the same sub-page, and the page information corresponding to different login accounts is the page configuration acquired by the cloud-side service 504 according to the current login account information.
In addition, as shown in fig. 7, which is a flowchart of communication between the sub-page and the main process 501, the method further includes:
step S401: when the webpage view tag monitors a communication request between the sub-page and the main process 501, transmitting the communication request to the main process 501;
step S402: the distribution message returned by the main process 501 is sent to the sub page through the web view tag.
Illustratively, when service logic in sub.html needs to communicate with the main process 501, a message is sent to a webview tag in menu.html, the webview tag responds to a sub.html page by monitoring an ipc-message event, and corresponding logic processing is performed, for example, in communication with the main process 501, a communication request is sent to the main process 501, and after the main process 501 finishes processing, a message is distributed to the corresponding webview tag according to a unique channeld in the carried parameter, so that the webview tag sends the received distribution message returned by the main process 501 to the sub-page.
In summary, the application split is realized through webview, specifically, any login account is logged in a main page, and corresponding webpage information is displayed on a sub-page, so that under the condition that multiple application split is needed, compared with the case that multiple instances are created for an application program, the application split is realized under the same application program, the memory occupation can be reduced, and the use experience is improved; all login accounts used when the application is divided are managed and displayed in the account login column in a centralized mode, and therefore a user can operate and manage the login accounts conveniently.
Example 2
An application differentiation apparatus provided in an embodiment of the present application is applied to the application differentiation method in embodiment 1, and as shown in fig. 8, the application differentiation apparatus is a block diagram of an application differentiation apparatus, and the apparatus may specifically include, but is not limited to:
a browser window module 100, configured to generate a browser window through a host process 501, so as to load a host page;
a menu tag module 200, configured to receive, through the home page, a plurality of login accounts input by a user and render corresponding web view tags, so as to manage the plurality of login accounts;
the sub-page module 300 is configured to associate all the web page view tags with the same sub-page, so that page information corresponding to different login accounts is displayed on the sub-page.
As shown in fig. 9, which is a block diagram of an overall structure of an application-based apparatus, the menu tag module 200 includes:
an account acquisition module 201, configured to acquire account information set by a user to generate the login account;
a web view tag rendering module 202, configured to render a corresponding web view tag according to the login account;
and the identifier generating module 203 is configured to configure a corresponding channel ID according to the login account and use the channel ID as a unique identifier of the corresponding webpage view tag.
The sub-page module 300 includes:
an account receiving module 301, configured to receive a current login account selected by a user;
a page information obtaining module 302, configured to obtain, according to the current login account, corresponding page information from the cloud service 504;
and a display module 303, configured to receive the page information and display the page information on the sub-page.
The device further comprises:
a communication instruction receiving module 401, configured to transmit a communication request to the main process 501 when the web view tag monitors a communication request between the sub-page and the main process 501;
a message receiving module 402, configured to send the distribution message returned by the main process 501 to the sub-page through the web view tag.
The user can log in by clicking the account needing to log in, so that the corresponding webpage view tags are displayed, the corresponding page information is displayed on the sub-pages, all the webpage view tags correspond to the same sub-page, different page information is obtained by the cloud service 504 according to the current login account, and the sub-pages are correspondingly configured.
An embodiment of the present application further provides an electronic device, where the electronic device includes a memory and a processor, where the memory is used to store a computer program, and the processor runs the computer program to make the electronic device execute the application program differentiation method according to any one of embodiments 1.
An embodiment of the present application further provides a readable storage medium, where computer program instructions are stored, and when the computer program instructions are read and executed by a processor, the method for application program differentiation according to any one of embodiments 1 is performed.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
It is noted that, herein, relational terms such as first and second, and the like may be 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. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus 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 apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. An application program dividing method, characterized in that the method comprises:
generating a browser window through a main process to load a main page;
receiving a plurality of login accounts input by a user through the main page and rendering corresponding webpage view tags so as to manage the login accounts;
and associating all the webpage view tags with the same sub-page, so that the page information corresponding to different login accounts is displayed on the sub-page.
2. The application differentiation method according to claim 1, wherein said receiving a plurality of login accounts through said main page and rendering corresponding web view tags to manage the plurality of login accounts comprises:
acquiring account information set by a user to generate the login account;
rendering a corresponding webpage view label according to the login account;
and configuring a corresponding channel ID according to the login account and taking the channel ID as the unique identifier of the corresponding webpage view label.
3. The application program differentiation method according to claim 2, wherein said associating all said web page view tags with a same sub-page, so as to display page information corresponding to different login accounts on said sub-page, comprises:
receiving a current login account selected by a user;
acquiring corresponding page information from a cloud service according to the current login account;
and receiving the page information and displaying the page information on the sub-page.
4. The application differentiation method according to claim 1, wherein said method further comprises:
when the webpage view tag monitors a communication request of the sub-page and the main process, transmitting the communication request to the main process;
and sending the distribution message returned by the main process to the sub-page through the webpage view label.
5. An application-aware apparatus, the apparatus comprising:
the browser window module is used for generating a browser window through a main process so as to load a main page;
the menu label module is used for receiving a plurality of login accounts input by a user through the main page and rendering corresponding webpage view labels so as to manage the login accounts;
and the sub-page module is used for associating all the webpage view tags with the same sub-page so as to display the page information corresponding to different login accounts on the sub-page.
6. The application differentiation apparatus according to claim 5, wherein said menu label module comprises:
the account acquisition module is used for acquiring account information set by a user to generate the login account;
the webpage view label rendering module is used for rendering the corresponding webpage view label according to the login account;
and the identification generation module is used for configuring a corresponding channel ID according to the login account and taking the channel ID as the unique identification of the corresponding webpage view label.
7. The application separation device of claim 5, wherein the sub-page module comprises:
the account receiving module is used for receiving a current login account selected by a user;
the page information acquisition module is used for acquiring corresponding page information from a cloud service according to the current login account;
and the display module is used for receiving the page information and displaying the page information on the sub-page.
8. The application differentiation apparatus according to claim 5, wherein said apparatus further comprises:
the communication instruction receiving module is used for transmitting a communication request to the main process when the webpage view tag monitors the communication request between the sub-page and the main process;
and the message receiving module is used for sending the distribution message returned by the main process to the sub-page through the webpage view label.
9. An electronic device, characterized in that the electronic device comprises a memory for storing a computer program and a processor for executing the computer program to cause the electronic device to perform the application differentiation method according to any of claims 1 to 4.
10. A readable storage medium having stored thereon computer program instructions which, when read and executed by a processor, perform the application program differentiation method of any of claims 1 to 4.
CN202110173446.4A 2021-02-08 2021-02-08 Application program differentiation method and device, electronic equipment and storage medium Pending CN112799741A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110173446.4A CN112799741A (en) 2021-02-08 2021-02-08 Application program differentiation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110173446.4A CN112799741A (en) 2021-02-08 2021-02-08 Application program differentiation method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112799741A true CN112799741A (en) 2021-05-14

Family

ID=75814827

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110173446.4A Pending CN112799741A (en) 2021-02-08 2021-02-08 Application program differentiation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112799741A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113240500A (en) * 2021-06-11 2021-08-10 维沃移动通信有限公司 Information display method and device
CN114911388A (en) * 2022-05-26 2022-08-16 深圳价值在线信息科技股份有限公司 Intelligent updating method and communication system for website LOGO icon
CN115473874A (en) * 2022-08-19 2022-12-13 浪潮软件科技有限公司 Tax-handling tutoring method and system for double-screen terminal

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103646081A (en) * 2013-12-12 2014-03-19 北京奇虎科技有限公司 Method and device for logging in web page
CN105553968A (en) * 2015-12-11 2016-05-04 北京奇虎科技有限公司 Method and device for realizing login by multiple accounts
CN105786879A (en) * 2014-12-22 2016-07-20 广州市动景计算机科技有限公司 Page Cookie isolation method and apparatus
CN106843868A (en) * 2017-01-13 2017-06-13 北京奇虎科技有限公司 Method, device and mobile terminal that a kind of many accounts are logged in
CN109684590A (en) * 2018-12-25 2019-04-26 威创集团股份有限公司 A kind of browsing device net page data sharing method and device
CN110231975A (en) * 2019-06-20 2019-09-13 京东方科技集团股份有限公司 A kind of applied program processing method, device and electronic equipment
WO2020052449A1 (en) * 2018-09-13 2020-03-19 中兴通讯股份有限公司 Method and device for interacting terminal application, and terminal
CN111209587A (en) * 2019-12-24 2020-05-29 杭州安恒信息技术股份有限公司 One-key login method based on js browser plug-in
CN112073289A (en) * 2019-06-10 2020-12-11 腾讯科技(深圳)有限公司 Instant messaging control method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103646081A (en) * 2013-12-12 2014-03-19 北京奇虎科技有限公司 Method and device for logging in web page
CN105786879A (en) * 2014-12-22 2016-07-20 广州市动景计算机科技有限公司 Page Cookie isolation method and apparatus
CN105553968A (en) * 2015-12-11 2016-05-04 北京奇虎科技有限公司 Method and device for realizing login by multiple accounts
CN106843868A (en) * 2017-01-13 2017-06-13 北京奇虎科技有限公司 Method, device and mobile terminal that a kind of many accounts are logged in
WO2020052449A1 (en) * 2018-09-13 2020-03-19 中兴通讯股份有限公司 Method and device for interacting terminal application, and terminal
CN109684590A (en) * 2018-12-25 2019-04-26 威创集团股份有限公司 A kind of browsing device net page data sharing method and device
CN112073289A (en) * 2019-06-10 2020-12-11 腾讯科技(深圳)有限公司 Instant messaging control method and device
CN110231975A (en) * 2019-06-20 2019-09-13 京东方科技集团股份有限公司 A kind of applied program processing method, device and electronic equipment
CN111209587A (en) * 2019-12-24 2020-05-29 杭州安恒信息技术股份有限公司 One-key login method based on js browser plug-in

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113240500A (en) * 2021-06-11 2021-08-10 维沃移动通信有限公司 Information display method and device
CN114911388A (en) * 2022-05-26 2022-08-16 深圳价值在线信息科技股份有限公司 Intelligent updating method and communication system for website LOGO icon
CN114911388B (en) * 2022-05-26 2023-11-21 深圳价值在线信息科技股份有限公司 Intelligent updating method and communication system for website LOGO icon
CN115473874A (en) * 2022-08-19 2022-12-13 浪潮软件科技有限公司 Tax-handling tutoring method and system for double-screen terminal

Similar Documents

Publication Publication Date Title
CA2797451C (en) System for identifying and inferring web session events
US10241848B2 (en) Personalized diagnostics, troubleshooting, recovery, and notification based on application state
US10992559B2 (en) Diagnostic and recovery signals for disconnected applications in hosted service environment
CN112799741A (en) Application program differentiation method and device, electronic equipment and storage medium
US11704191B2 (en) Error remediation systems and methods
US11704177B2 (en) Session triage and remediation systems and methods
CN107562556B (en) Failure recovery method, recovery device and storage medium
CN102368212B (en) Message queue manages
US20170102988A1 (en) Event correlation and calculation engine
US10175954B2 (en) Method of processing big data, including arranging icons in a workflow GUI by a user, checking process availability and syntax, converting the workflow into execution code, monitoring the workflow, and displaying associated information
US10084637B2 (en) Automatic task tracking
US10394633B2 (en) On-demand or dynamic diagnostic and recovery operations in conjunction with a support service
CN103488793A (en) User behavior monitoring method based on information retrieval
US10140377B2 (en) Data processing, data collection
CN113506137A (en) E-mail marketing analysis method, system and equipment
CN107423090B (en) Flash player abnormal log management method and system
CN115951923A (en) Subscription event management method and related product
JP2010128597A (en) Information processor and method of operating the same
EP3473035B1 (en) Application resilience system and method thereof for applications deployed on a cloud platform
CN115809390A (en) User feedback method and device, equipment and medium thereof
CN114579415A (en) Method, device, equipment and medium for configuring and acquiring buried point data
US9710164B2 (en) Determining a cause for low disk space with respect to a logical disk
CN107704491B (en) Message processing method and device
US20150222505A1 (en) Business transaction resource usage tracking
US10805411B2 (en) Interprogram communication with event handling for metric overlays

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