CN112596922B - Communication management method, device, equipment and medium - Google Patents

Communication management method, device, equipment and medium Download PDF

Info

Publication number
CN112596922B
CN112596922B CN202011501461.9A CN202011501461A CN112596922B CN 112596922 B CN112596922 B CN 112596922B CN 202011501461 A CN202011501461 A CN 202011501461A CN 112596922 B CN112596922 B CN 112596922B
Authority
CN
China
Prior art keywords
communication
event
rooms
configuration table
room
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
CN202011501461.9A
Other languages
Chinese (zh)
Other versions
CN112596922A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202011501461.9A priority Critical patent/CN112596922B/en
Publication of CN112596922A publication Critical patent/CN112596922A/en
Application granted granted Critical
Publication of CN112596922B publication Critical patent/CN112596922B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication

Abstract

The application discloses a communication management method, device, equipment and medium for an applet framework, relates to the field of Internet, and particularly relates to an applet and a communication technology. The specific implementation scheme is as follows: acquiring a configuration table, wherein the configuration table is used for configuring the communication types and event communication authorities required between different modules in an applet framework and between the applet framework and an end capacity module; and registering at least two communication rooms according to the configuration table, wherein each communication room is used for carrying out event communication with the event communication authority under at least one communication type. By registering the communication room, the communication event with the authority under different communication types is carried out in the communication room, so that communication isolation is realized, the authority management of the communication event can be realized, and the communication is more standard and manageable.

Description

Communication management method, device, equipment and medium
Technical Field
The present invention relates to the field of the internet, and in particular, to an applet and a communication technology, and more particularly, to a communication management method, apparatus, device and medium for an applet framework.
Background
The applet framework is run on Native APP, the capability of the applet to the developer is implemented based on the end capabilities of NA, and some components are enhanced based on the end capabilities, thus involving various communication links between JS and NA. Meanwhile, many communication in the applet framework is realized in an event-based manner, so that a large number of communication links of JS and JS events are also involved.
However, the lack of management of these events in the communication mechanisms in existing applet frameworks is prone to confusion in the system and event communications.
Disclosure of Invention
The application provides a communication management method, device, equipment and medium for an applet framework, so that communication is more standard and manageable.
In a first aspect, the present application provides a communication management method for an applet framework, including:
acquiring a configuration table, wherein the configuration table is used for configuring the communication types and event communication authorities required between different modules in an applet framework and between the applet framework and an end capacity module;
and registering at least two communication rooms according to the configuration table, wherein each communication room is used for carrying out event communication with the event communication authority under at least one communication type.
In a second aspect, the present application also provides a communication management apparatus for an applet framework, comprising:
the configuration table acquisition module is used for acquiring a configuration table, wherein the configuration table is used for configuring the communication types and event communication authorities required between different modules in the applet framework and between the applet framework and the end capacity module;
and the communication room registration module is used for registering at least two communication rooms according to the configuration table, wherein each communication room is used for carrying out event communication with the event communication authority under at least one communication type.
In a third aspect, the present application further provides an electronic device, including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the communication management method for an applet framework described in any embodiment of the present application.
In a fourth aspect, the present application also provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the communication management method for an applet framework according to any embodiment of the present application.
According to the technical scheme, the communication room is registered, so that communication events with rights under different communication types are carried out in the communication room, communication isolation is realized, rights management of the communication events can be realized, and communication is more standard and manageable.
It should be understood that the description of this section is not intended to identify key or critical features of the application or to delineate the scope of the application. Other features of the present application will become apparent from the following description, and additional effects of the alternative described above will be apparent from the following description of the specific embodiments.
Drawings
The drawings are for better understanding of the present solution and do not constitute a limitation of the present application. Wherein:
FIG. 1 is a flow diagram of a communication management method for an applet framework according to an embodiment of the application;
FIG. 2 is a flow diagram of a communication management method for an applet framework according to an embodiment of the application;
FIG. 3 is a hierarchical partitioning schematic of communication management mechanisms in an applet framework according to an embodiment of the application;
FIG. 4 is a schematic diagram of a mechanism by which a communication manager in an applet framework registers a room according to an embodiment of the application;
FIG. 5 is a schematic diagram of a communication management device for an applet framework according to an embodiment of the present application;
fig. 6 is a block diagram of an electronic device for implementing a communication management method for an applet framework in an embodiment of the present application.
Detailed Description
Exemplary embodiments of the present application are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present application to facilitate understanding, and should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a flow chart of a communication management method for an applet framework according to an embodiment of the present application, which is applicable to the case of communication management within an applet framework, and relates to applets and communication technologies. The method may be performed by a communication management device for an applet framework, which is implemented in software and/or hardware, preferably arranged in an electronic device, such as a terminal or server. As shown in fig. 1, the method specifically includes the following steps:
s101, acquiring a configuration table, wherein the configuration table is used for configuring the communication types and event communication authorities required between different modules in the applet framework and between the applet framework and the end capacity module.
Specifically, the communication type refers to communication between JS and NA. For example, the communication between the different modules in the applet framework belongs to the communication between JS, and the communication between the applet framework and the end capability module belongs to the communication between JS and NA. The communication between JS may include, for example, event transmission, event interception, cancellation of event interception, removal of event interception, and the like; the communication between JS and NA may include, for example, JS messaging NA, JS listening for NA messages, etc.
The configuration table may be pre-acquired or established by a technician, for example, in connection with the communication requirements of the applet, which modules communicate with which modules, or which modules communicate with the end capability module (NA), and which event communication rights are included in different communication types, for example, which modules can only send events, cannot monitor events, or which modules do not have the ability to remove event monitoring, etc., all fall within the scope of rights configuration.
S102, registering at least two communication rooms according to a configuration table, wherein each communication room is used for carrying out event communication with the event communication authority under at least one communication type.
Specifically, each communication room is used for performing event communication with the event communication authority under at least one communication type, that is, according to the configuration table, the communication events under different related communication types are managed, and for a certain module, what kind of communication needs to be performed with the module, only the corresponding communication room needs to be configured and registered in the configuration table. After registering rooms, all related communication events are carried out in the respective room, so that communication isolation is realized through the communication room, and meanwhile, communication authority management can be realized.
However, the small program framework in the prior art relates to a large amount of communication between JS and between JS and NA, but lacks management, which often causes communication confusion in the system and easily causes problems. In contrast, the technical scheme of the embodiment of the application provides a set of management mechanism, and solves the problems of lack of management and random use in the prior art.
According to the technical scheme, the communication room is registered, communication events with rights under different communication types are carried out in the communication room, communication isolation is achieved, rights management of the communication events can be achieved, and communication is more standard and manageable.
Fig. 2 is a flow chart of a communication management method for an applet framework according to an embodiment of the present application, which is further optimized on the basis of the above-described embodiment. As shown in fig. 2, the method specifically includes the following steps:
s201, acquiring a configuration table, wherein the configuration table is used for configuring the communication types and event communication authorities required between different modules in the applet framework and between the applet framework and the end capability module.
S202, registering a new naming space for each created communication room, wherein the naming space is used for realizing communication isolation among different communication rooms.
Specifically, when registering communication rooms, a new name space needs to be registered for each room to realize communication isolation among different rooms, and meanwhile, a management mechanism of standard naming is realized.
S203, registering at least one communication type of each communication room and a communication event with the event communication authority under the at least one communication type according to the configuration table.
For example, which communication type the communication between the modules belongs to and the communication event with the authority can be determined through the configuration table, and then the corresponding communication rooms can be registered to realize the communication of the event with the authority in the respective communication rooms. Therefore, the communication rooms are registered according to the configuration table, so that communication isolation is realized, and a management mechanism of the authority is also realized. For example, through the technical scheme of the embodiment of the application, the authority control can be performed on the framework developer or the external expansion capacity application event communication, so that the problem caused by overlarge authority of the external developer is avoided.
In addition, the method of the embodiment of the application can further comprise the following steps: and merging the registered at least two communication rooms, wherein the merged rooms have event message monitoring capability. In this way, the implementation of the scheme has more flexibility and practicability, and the registered rooms can be combined according to the communication requirements. Meanwhile, an interface can be provided for the outside, and a plurality of rooms can be monitored by calling the interface. Accordingly, the configuration table may also be used to configure event communication rights between the consolidated communication rooms. That is, the event communication authority of the merged communication room can be configured as well, for example, the merged room can monitor event messages of other rooms, but by configuration, whether the merged room can only monitor messages and cannot send messages can also be selected.
S204, storing communication rooms through which each applet thread passes in the communication process and communication events occurring in each communication room.
S205, responding to an event backtracking request, and printing a call stack of the communication event.
The applet framework in the prior art has no event backtracking function, and can not trace the call stack of the event, so that offline debugging and tracking are difficult. According to the technical scheme, through storing the room and the communication events passed by the applet thread and printing the call stack of the communication events, the event backtracking capability under the off-line debugging version can be provided, which communication rooms exist in the current thread and which events exist in each communication room can be printed, and meanwhile, the call stack of the corresponding event can be printed to help to arrange the inquiry problem, so that the management mechanism of event backtracking is realized.
In a specific implementation, a schematic diagram of hierarchical division of a communication management mechanism in an applet framework according to an embodiment of the present application is shown in fig. 3, where,
a communication manager 1 (communication manager) for managing overall communication between JS and NA and between JS and JS, responsible for registering a communication room for a module that requires both communication types at the same time;
an event transmission manager 2 (eventEmitteManager) for managing event communication between JS and JS, and for registering a room for a module that needs to perform JS-JS communication;
an event sending module 4 (eventa email), i.e. a JS and JS event communication module, configured to implement specific operations of event communication, including event sending, monitoring, removing, and the like;
and an NA communication module (NA communication), namely a JS and NA event communication module, which is used for realizing event sending capability, event monitoring capability and the like used between JS and NA communication.
As can be seen from fig. 3, the communication management mechanism of the applet framework in the embodiment of the present application adopts a hierarchical design concept, and has an event transmission manager 2 for managing the communication between JS and JS, and also has a communication manager 1 for managing the communication between JS and NA and the communication between JS and JS as a whole, and each layer is pluggable and can be used independently.
In addition, a room transponder (not shown in the figure) and an interface corresponding to the room transponder can be provided in the applet framework of the embodiment of the present application, and by calling the interface, a plurality of communication modules combined under the transponder can be monitored.
Fig. 4 is a schematic diagram of a mechanism for registering a room by a communication manager in an applet framework according to an embodiment of the present application, as shown in fig. 4, firstly, a configuration table is formed by configuring communication management, and after the communication manager is instantiated, the communication room is registered by using the communication manager according to the configuration table, at this time, a plurality of communication rooms, such as a communication room 1, a communication room 2, and the like, may be registered according to requirements of the configuration table. At the same time, it is also necessary to register a communication event under each communication room. For example, the communication room 1 may simultaneously perform communication between JS and between JS and NA, where the communication event between JS and JS includes event transmission, event monitoring, cancellation of event monitoring, and removal of one event monitoring, and the communication event between JS and NA includes a message that the JS transmits a message to NA and the JS monitors NA; the communication room 2 can only perform the communication between JS and JS; and other communication rooms are registered according to the communication requirements.
After registering communication rooms and communication events under each room, when a developer of the applet utilizes the applet framework to develop the applet, the applet framework can directly call a method under an object to trigger the corresponding event, and because the applet framework registers the communication rooms according to a configuration table, communication management is realized through mechanisms such as naming standards, event management, authority management, event backtracking and the like, so that the developer needs to obey the naming standards and the event authorities when in use, otherwise, the system can alarm and disallow illegal communication, thereby realizing standardized management on the communication and avoiding the problem caused by random use.
The technical scheme of the embodiment of the application provides a whole set of communication management mechanisms such as naming standards, event management, authority management, event backtracking and the like for the applet framework, solves the problems of lack of management and random use of the existing communication, ensures that the communication becomes standard, manageable and easy to maintain, and reduces the cost of positioning the event problem on line.
Fig. 5 is a schematic structural diagram of a communication management apparatus for an applet framework according to an embodiment of the present application, which is applicable to the case. The device can realize the communication management method for the applet framework according to any embodiment of the application. As shown in fig. 5, the apparatus 500 specifically includes:
a configuration table obtaining module 501, configured to obtain a configuration table, where the configuration table is used to configure communication types and event communication rights required between different modules in the applet framework and between the applet framework and the end capability module;
a communication room registration module 502, configured to register at least two communication rooms according to the configuration table, where each communication room is used to perform event communication with the event communication authority under at least one communication type.
Optionally, the communication room registration module 502 includes:
a namespace registration unit configured to register a new namespace for each created communication room, where the namespaces are used to implement communication isolation between different communication rooms;
a communication type and communication event registration unit for registering at least one communication type of each communication room and a communication event with the event communication authority under the at least one communication type according to the configuration table.
Optionally, the apparatus further includes:
and the communication room merging module is used for merging at least two registered communication rooms, wherein the merged rooms have event message monitoring capability.
Optionally, the configuration table is further configured to configure event communication rights between the combined communication rooms.
Optionally, the device further includes an event tracing module, where the event tracing module includes:
a storage unit for storing a communication room through which each applet thread passes in the course of communication, and a communication event occurring in each of the communication rooms;
and the printing unit is used for responding to the event backtracking request and printing the call stack of the communication event.
Optionally, the communication types include communication between JS and NA.
Optionally, the communication between JS includes at least one of the following communication events: event sending, event monitoring cancellation and event monitoring removal;
the communication between the JS and the NA comprises at least one of the following communication events: the JS sends messages to NA and JS monitors NA messages.
The communication management device 500 for an applet framework provided in the embodiment of the present application may execute the communication management method for an applet framework provided in any embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method. Reference may be made to the description of any method embodiment herein for details not described in this embodiment.
According to embodiments of the present application, there is also provided an electronic device, a readable storage medium and a computer program product.
Fig. 6 illustrates a schematic block diagram of an example electronic device 600 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 6, the apparatus 600 includes a computing unit 601 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 602 or a computer program loaded from a storage unit 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the device 600 may also be stored. The computing unit 601, ROM 602, and RAM 603 are connected to each other by a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Various components in the device 600 are connected to the I/O interface 605, including: an input unit 606 such as a keyboard, mouse, etc.; an output unit 607 such as various types of displays, speakers, and the like; a storage unit 608, such as a magnetic disk, optical disk, or the like; and a communication unit 609 such as a network card, modem, wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The computing unit 601 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 601 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 601 performs the respective methods and processes described above, for example, a communication management method for an applet framework. For example, in some embodiments, the communication management method for the applet framework may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as the storage unit 608. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 600 via the ROM 602 and/or the communication unit 609. When a computer program is loaded into RAM 603 and executed by computing unit 601, one or more steps of the communication management method for applet frameworks described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the communication management method for the applet framework in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel or sequentially or in a different order, provided that the desired results of the technical solutions of the present disclosure are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (14)

1. A communication management method for an applet framework, comprising:
acquiring a configuration table, wherein the configuration table is used for configuring the communication types and event communication authorities required between different modules in an applet framework and between the applet framework and an end capacity module;
registering at least two communication rooms according to the configuration table, wherein each communication room is used for carrying out event communication with the event communication authority under at least one communication type, and isolating the communication;
the method further comprises the steps of:
storing communication rooms through which each applet thread passes in the communication process, and communication events occurring in each of the communication rooms;
and responding to the event backtracking request, and printing a call stack of the communication event.
2. The method of claim 1, wherein the registering at least two communication rooms according to the configuration table comprises:
registering a new namespace for each communication room created, wherein the namespaces are used to implement communication isolation between different communication rooms;
and registering at least one communication type of each communication room and a communication event with the event communication authority under the at least one communication type according to the configuration table.
3. The method of claim 1, further comprising:
and merging the registered at least two communication rooms, wherein the merged rooms have event message monitoring capability.
4. A method according to claim 3, wherein the configuration table is further used to configure event communication rights between the consolidated communication rooms.
5. The method of any of claims 1-4, wherein the communication type includes a communication between JS and NA.
6. The method of claim 5, wherein,
the communication between JS includes at least one of the following communication events: event sending, event monitoring cancellation and event monitoring removal;
the communication between the JS and the NA comprises at least one of the following communication events: the JS sends messages to NA and JS monitors NA messages.
7. A communication management apparatus for an applet framework, comprising:
the configuration table acquisition module is used for acquiring a configuration table, wherein the configuration table is used for configuring the communication types and event communication authorities required between different modules in the applet framework and between the applet framework and the end capacity module;
the communication room registration module is used for registering at least two communication rooms according to the configuration table, wherein each communication room is used for carrying out event communication with the event communication authority under at least one communication type and isolating the communication;
the device also comprises an event tracing module, wherein the event tracing module comprises:
a storage unit for storing a communication room through which each applet thread passes in the course of communication, and a communication event occurring in each of the communication rooms;
and the printing unit is used for responding to the event backtracking request and printing the call stack of the communication event.
8. The apparatus of claim 7, wherein the communication room registration module comprises:
a namespace registration unit configured to register a new namespace for each created communication room, where the namespaces are used to implement communication isolation between different communication rooms;
a communication type and communication event registration unit for registering at least one communication type of each communication room and a communication event with the event communication authority under the at least one communication type according to the configuration table.
9. The apparatus of claim 7, further comprising:
and the communication room merging module is used for merging at least two registered communication rooms, wherein the merged rooms have event message monitoring capability.
10. The apparatus of claim 9, wherein the configuration table is further configured to configure event communication rights between the merged communication rooms.
11. The apparatus of any of claims 7-10, wherein the communication type comprises a communication between JS and NA.
12. The apparatus of claim 11, wherein,
the communication between JS includes at least one of the following communication events: event sending, event monitoring cancellation and event monitoring removal;
the communication between the JS and the NA comprises at least one of the following communication events: the JS sends messages to NA and JS monitors NA messages.
13. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the communication management method for an applet framework according to any one of claims 1-6.
14. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the communication management method for an applet framework according to any one of claims 1-6.
CN202011501461.9A 2020-12-17 2020-12-17 Communication management method, device, equipment and medium Active CN112596922B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011501461.9A CN112596922B (en) 2020-12-17 2020-12-17 Communication management method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011501461.9A CN112596922B (en) 2020-12-17 2020-12-17 Communication management method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN112596922A CN112596922A (en) 2021-04-02
CN112596922B true CN112596922B (en) 2024-04-05

Family

ID=75199164

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011501461.9A Active CN112596922B (en) 2020-12-17 2020-12-17 Communication management method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN112596922B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5557798A (en) * 1989-07-27 1996-09-17 Tibco, Inc. Apparatus and method for providing decoupling of data exchange details for providing high performance communication between software processes
CN101566972A (en) * 2009-05-12 2009-10-28 苏州国芯科技有限公司 Safety control method of user multi-partitioned memory space access right in embedded system
CN104572278A (en) * 2014-12-22 2015-04-29 百度在线网络技术(北京)有限公司 Method, device and equipment for light application to call local end capability
CN109684530A (en) * 2018-12-07 2019-04-26 石河子大学 Information Push Service system based on web-based management and the application of mobile phone small routine
CN110083466A (en) * 2019-04-28 2019-08-02 百度在线网络技术(北京)有限公司 A kind of data transmission method and device of small routine
CN110275738A (en) * 2019-06-30 2019-09-24 浪潮卓数大数据产业发展有限公司 A kind of Android bidirectional interaction method based on JsBridge
CN111475841A (en) * 2020-04-07 2020-07-31 腾讯科技(深圳)有限公司 Access control method, related device, equipment, system and storage medium
CN111782192A (en) * 2020-07-02 2020-10-16 浪潮云信息技术股份公司 Method for developing mobile office system in mixed mode
CN111897694A (en) * 2020-07-30 2020-11-06 北京百度网讯科技有限公司 Method, device and equipment for processing messages in applet and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5557798A (en) * 1989-07-27 1996-09-17 Tibco, Inc. Apparatus and method for providing decoupling of data exchange details for providing high performance communication between software processes
CN101566972A (en) * 2009-05-12 2009-10-28 苏州国芯科技有限公司 Safety control method of user multi-partitioned memory space access right in embedded system
CN104572278A (en) * 2014-12-22 2015-04-29 百度在线网络技术(北京)有限公司 Method, device and equipment for light application to call local end capability
CN109684530A (en) * 2018-12-07 2019-04-26 石河子大学 Information Push Service system based on web-based management and the application of mobile phone small routine
CN110083466A (en) * 2019-04-28 2019-08-02 百度在线网络技术(北京)有限公司 A kind of data transmission method and device of small routine
CN110275738A (en) * 2019-06-30 2019-09-24 浪潮卓数大数据产业发展有限公司 A kind of Android bidirectional interaction method based on JsBridge
CN111475841A (en) * 2020-04-07 2020-07-31 腾讯科技(深圳)有限公司 Access control method, related device, equipment, system and storage medium
CN111782192A (en) * 2020-07-02 2020-10-16 浪潮云信息技术股份公司 Method for developing mobile office system in mixed mode
CN111897694A (en) * 2020-07-30 2020-11-06 北京百度网讯科技有限公司 Method, device and equipment for processing messages in applet and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
异构平台消息通信机制移植技术的研究;徐军;戴浩;谢永强;肖孟;刘宝生;;《系统工程理论与实践》;20061025(第10期);第80-87页 *

Also Published As

Publication number Publication date
CN112596922A (en) 2021-04-02

Similar Documents

Publication Publication Date Title
CN112860342A (en) Method, device, equipment, system and storage medium for microservice configuration
CN110958250B (en) Port monitoring method and device and electronic equipment
CN114911598A (en) Task scheduling method, device, equipment and storage medium
CN112596922B (en) Communication management method, device, equipment and medium
CN112817992B (en) Method, apparatus, electronic device and readable storage medium for executing change task
CN114070889A (en) Configuration method, traffic forwarding method, device, storage medium, and program product
CN113419921A (en) Task monitoring method, device, equipment and storage medium
CN112685256A (en) Server monitoring method, device and medium
CN114448802B (en) Gateway configuration method, device, electronic equipment and storage medium
CN114567540B (en) Master-slave node switching method, device, equipment, medium and program product
CN117076185B (en) Server inspection method, device, equipment and medium
CN112818060B (en) Data synchronization method, device, electronic equipment and readable storage medium
CN115061664A (en) Object conversion method and device, electronic equipment and storage medium
CN116112437A (en) Traffic scheduling method and device, electronic equipment and medium
CN117632149A (en) Control method and device of application program, electronic equipment and storage medium
CN116455702A (en) Configuration method and device of virtual local area network
CN116431195A (en) Expansion and contraction capacity processing method, equipment, system and storage medium
CN116170188A (en) Network access control method, device, electronic equipment and storage medium
CN115913954A (en) Cluster management information interaction method, device, equipment and storage medium
CN116668258A (en) Alarm information processing method and device and electronic equipment
CN114356505A (en) Method, apparatus, device, medium and product for scheduling groups of containers
CN116414999A (en) Knowledge graph-based management method and device, electronic equipment and storage medium
CN114221906A (en) Flow control method and device, electronic equipment and storage medium
CN115269333A (en) Data synchronization method, device and equipment of robot and storage medium
CN117149563A (en) Micro-service monitoring method, device, 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