CN114500535A - Message processing method and device, electronic equipment and storage medium - Google Patents

Message processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114500535A
CN114500535A CN202210071947.6A CN202210071947A CN114500535A CN 114500535 A CN114500535 A CN 114500535A CN 202210071947 A CN202210071947 A CN 202210071947A CN 114500535 A CN114500535 A CN 114500535A
Authority
CN
China
Prior art keywords
message
data processing
processing node
target
target parameter
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
CN202210071947.6A
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 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 CN202210071947.6A priority Critical patent/CN114500535A/en
Publication of CN114500535A publication Critical patent/CN114500535A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure provides a message processing method and device, electronic equipment and a storage medium, and relates to the technical field of computers, in particular to the technical field of cloud computing. The specific implementation scheme comprises the following steps: determining the interception relation between each data processing node and different parameter messages; receiving a target parameter message broadcast by any data processing node, and determining a target data processing node for monitoring the target parameter message according to the monitoring relation; forwarding the target parameter message to the target data processing node. In the scheme, the message is transmitted among the data processing nodes through the message bus, so that the effect of decoupling among the data processing nodes is realized, and the data processing nodes are convenient to maintain.

Description

Message processing method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for processing a message, an electronic device, a storage medium, and a computer program product.
Background
In the development process of software, with the increase of project scale and the increase of developers, coding styles and module calling rules adopted by different projects are often different, so that codes and modules of various styles appear in a final project, and the project coupling is higher and higher. When the developed software is maintained, a developer is difficult to start when changing an unfamiliar module, and a newly added development member needs to spend a long time learning different coding rules.
Disclosure of Invention
The disclosure provides a message processing method, a message processing apparatus, an electronic device, a storage medium, and a computer program product.
According to an aspect of the present disclosure, there is provided a message processing method applied to a message bus, including:
determining the interception relation between each data processing node and different parameter messages;
receiving a target parameter message broadcast by any data processing node, and determining a target data processing node for monitoring the target parameter message according to the monitoring relationship;
forwarding the target parameter message to the target data processing node.
According to an aspect of the present disclosure, a message processing apparatus configured on a message bus includes:
the interception relation determining module is used for determining the interception relation between each data processing node and different parameter messages;
the receiving and retrieving module is used for receiving the target parameter message broadcast by any data processing node and determining the target data processing node for intercepting the target parameter message according to the interception relation;
and the message distribution module is used for forwarding the target parameter message to the target data processing node.
According to another aspect of the present disclosure, there is provided an electronic device including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the message processing method of any of the embodiments of the present disclosure.
According to another aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform a message processing method of any embodiment of the present disclosure.
According to another aspect of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the message processing method of any of the embodiments of the present disclosure.
According to the technology disclosed by the invention, the message is transmitted among the data processing nodes through the message bus, the decoupling effect among the data processing nodes is realized, and the data processing nodes are convenient to maintain.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
fig. 1 is a schematic flow chart of a message processing method according to an embodiment of the present disclosure;
fig. 2 is a schematic flow chart diagram of another message processing method provided according to an embodiment of the present disclosure;
FIG. 3 is a logic diagram of yet another message processing method provided in accordance with an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a message processing apparatus according to an embodiment of the present disclosure;
fig. 5 is a block diagram of an electronic device for implementing a message processing method according to an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those 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 disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
In the embodiment of the disclosure, in the process of software development by adopting sub-modules, a requirement that cross-module calling is required is often met, for example, when a login module is developed, some services need to call an interface of a payment module. The common processing method is to expose the interface of the target module to ensure that the target module can be called. Such as saving a pointer or reference to module B in module a to ensure that module a can invoke module B. However, the mode causes strong coupling between different modules, and brings much inconvenience to collaborative development and later maintenance. Based on the above, a message processing method is provided, which transmits messages among modules through a message bus to achieve the purpose of decoupling among modules. See the following examples for specific procedures.
Fig. 1 is a schematic flowchart of a message processing method according to an embodiment of the present disclosure, where the embodiment is applicable to a scenario in which each module is decoupled when software is developed by sub-modules. The method can be executed by a message processing device which is implemented in software and/or hardware and integrated on an electronic device.
Specifically, referring to fig. 1, the message processing method is as follows:
s101, determining the interception relation between each data processing node and different parameter messages.
In the embodiment of the disclosure, the data processing node is any functional sub-module in the software sub-module development process, for example, the data processing node is any functional sub-module in the cloud mobile phone software development process in the cloud computing field. In the software development process, each data processing node can be used as a sending party of the parameter message and can also be used as a listening party of the parameter message. When the device is used as a sender, the generated parameter message is broadcasted through a message bus; when the device is used as a snooping party, the device needs to receive the parameter message required by the device from the message bus. In order to ensure that the parameter message broadcasted by the data processing node can be accurately distributed to the data processing node requiring the parameter message, the message bus needs to determine the parameter message to be intercepted by each data processing node, that is, determine the interception relationship between each data processing node and different parameter messages. Optionally, the interception relationship may be actively reported by each data processing node, for example, each data processing node reports the type of the parameter message to be intercepted to a message bus, and then the message bus establishes the interception relationship according to the type of the message to be intercepted by each data processing node; in addition, the message bus can also determine the interception relationship between each data processing node and different parameter messages according to the service calling relationship among the data processing nodes.
S102, receiving the target parameter message broadcast by any data processing node, and determining the target data processing node for intercepting the target parameter message according to the interception relation.
S103, forwarding the target parameter message to the target data processing node.
In the embodiment of the disclosure, a Message bus provides a parameter Message broadcast interface, for example, a Post Message interface is provided, and any data processing node serving as a Message sender can call the Message broadcast interface to broadcast a parameter Message to the Message bus; when the message bus receives the target parameter message broadcast by any data processing node, the message bus determines the target data processing node which listens to the target parameter message according to the interception relation, namely determines which target data processing node needs the target parameter message, and then distributes the target parameter message to the target data processing node.
In the embodiment of the disclosure, parameter messages are transmitted among the data processing nodes through the message bus, so that the self interfaces or pointers and the like are prevented from being exposed to other data processing nodes, and loose coupling among the data processing nodes is realized, thereby reducing the difficulty of cooperative work and the difficulty of post-maintenance.
Fig. 2 is a schematic flow chart of another message processing method according to an embodiment of the present disclosure, and in this embodiment, on the basis of the foregoing embodiment, a process of determining a listening relationship between each data processing node and a message with different parameters is refined, and referring to fig. 2, the message processing method specifically includes the following steps:
s201, aiming at any data processing node, receiving a listening registration request of the data processing node for at least one parameter message, and adding the data processing node into a listener queue.
In the embodiment of the present disclosure, when the data processing node is used as an interception party, interception of the parameter message can be implemented only by performing interception registration on the parameter message to be intercepted. Optionally, the message bus provides a message registration interface. For example, the message bus provides a register interface, and the data processing node as the snooping party can implement snooping registration of at least one parameter message by calling the message registration interface. Specifically, the data processing node as the snooping party registers itself to the message bus, that is, the data processing node is added to a preset snooper queue, wherein each element in the snooper queue records one data processing node and a parameter message to be snooped (for example, a type of the parameter message to be snooped).
S202, receiving a target parameter message broadcast by any data processing node, and determining a target data processing node for intercepting the target parameter message according to the interception relation.
In the embodiment of the present disclosure, the Message bus provides a parameter Message broadcast interface, for example, a Post Message interface is provided, and any data processing node serving as a Message sender may call the Message broadcast interface to broadcast the parameter Message to the Message bus. After receiving the target parameter message broadcast by each data processing node, the message bus adds the received target parameter message to a preset message distribution queue; and traversing the message distribution queue, searching in the listener queue when a target parameter message is traversed, judging whether a data processing node monitors the target parameter message, and if so, determining the target data processing node monitoring the target parameter message.
S203, the target parameter message is forwarded to the target data processing node.
In the embodiment of the disclosure, the interception relation between the data processing node and the parameter message is recorded through the listener queue, so that the target data processing node for registering the intercepted target parameter message can be conveniently and quickly searched subsequently; and the parameter message broadcasted by the data processing node is firstly cached in the message distribution queue, so that the problem that the parameter message cannot be distributed in time because a plurality of data processing nodes broadcast the parameter message at the same time can be avoided.
Further, before any data processing node performs interception registration on at least one parameter message, the data processing node further performs the following operations: inheriting preset base class data used for bearing parameter messages, wherein the base class data refers to predefined class type data containing all entity commonalities; generating a message receiving interface comprising message processing logic according to the base class data, wherein the message processing logic comprises a behavior which needs to be executed on a message, and it needs to be stated that the purpose of generating the message receiving interface is to determine the type of the message to be received by the data processing node; therefore, when the data processing node receives the required target parameter message, the target parameter message is processed according to the message processing logic included by the message receiving interface so as to complete the corresponding development task.
Fig. 3 is a logic diagram of another message processing method according to an embodiment of the present disclosure, which is optimized based on the foregoing embodiment, and referring to fig. 3, the logic of the message processing method is as follows:
module a is a first data processing node as a listener, module B is a second data processing node as a Message sender, and Message Service is a Message bus according to the embodiment of the present disclosure. The complete logic of message processing is as follows: firstly, the module A inherits preset base class data MsgBusPtr used for bearing parameter messages, and generates a message receiving interface (namely a Recv interface) comprising message processing logic according to the base class data, wherein the message processing logic comprises behaviors required to be executed on messages, and it needs to be noted that the purpose of generating the message receiving interface is to determine the type of the messages to be received by the data processing node (namely the module A).
Furthermore, if the module a wants to listen to the parameter Message x, it needs to complete the subscription to the parameter Message x, and in the specific implementation, because the Message bus (i.e. Message Service) provides the register interface, the module a can call the register interface and register itself in the Message bus at the same time. In particular implementations, since the message bus provides the listener queue, registration can be accomplished simply by adding module a to the listener queue. It should be noted that each element in the listener queue records a data processing node and a parameter message to be listened to (e.g. a type of parameter message to be listened to).
Further, since the Message bus provides a parameter Message broadcasting interface, for example, a Post Message interface, the data processing node (i.e., module B) as the Message sender may call the Message broadcasting interface to broadcast the parameter Message x to the Message bus; the message bus adds the received parameter message x to the message distribution queue to wait for distribution.
Further, the message distribution queue is circularly traversed to traverse to a parameter message x, retrieval is carried out in the listener queue, whether a data processing node is used for intercepting the target parameter message is judged, if yes, the target data processing node (namely module A) used for intercepting the parameter message is determined, and then the message parameter x is distributed to the module A, so that the module A processes the parameter message x according to processing logic included by the Recv interface.
In the embodiment of the disclosure, messages are transmitted among the data processing nodes through the message bus, so that loose coupling among the data processing nodes is realized, and the difficulty of collaborative development and the difficulty of later maintenance are reduced; recording the interception relation between the data processing node and the parameter message through the listener queue, so that the target data processing node for registering the intercepted target parameter message can be conveniently and quickly searched subsequently; and the parameter message broadcasted by the data processing node is firstly cached in the message distribution queue, so that the problem that the parameter message cannot be distributed in time because a plurality of data processing nodes broadcast the parameter message at the same time can be avoided.
Fig. 4 is a schematic structural diagram of a message processing apparatus according to an embodiment of the present disclosure, where the embodiment is applicable to a scenario in which each module is decoupled when software is developed by sub-modules. The apparatus is configured on a message bus, and as shown in fig. 4, the apparatus specifically includes:
an interception relationship determining module 401, configured to determine an interception relationship between each data processing node and different parameter messages;
a receiving and retrieving module 402, configured to receive a target parameter message broadcast by any data processing node, and determine a target data processing node that listens to the target parameter message according to a listening relationship;
a message distribution module 403, configured to forward the target parameter message to the target data processing node.
On the basis of the foregoing embodiment, optionally, the interception relation determining module includes:
the interception relation registration unit is used for receiving an interception registration request of the data processing node for at least one parameter message aiming at any data processing node and adding the data processing node into an interception queue;
each element in the listener queue records a data processing node and a parameter message to be listened to.
On the basis of the foregoing embodiment, optionally, the receiving and retrieving module includes:
the receiving and adding unit is used for receiving the target parameter message broadcast by each data processing node and adding the received target parameter message to a message distribution queue;
and the retrieval unit is used for traversing the message distribution queue, and retrieving in the listener queue every time a target parameter message is traversed, and determining a target data processing node for listening to the target parameter message.
On the basis of the foregoing embodiment, optionally, the data processing node is further configured to inherit preset base class data for carrying the parameter message, and generate a message receiving interface including message processing logic based on the base class data, so that when receiving the target parameter message to be intercepted, the data processing node processes the target parameter message according to the message processing logic included in the message receiving interface.
On the basis of the above embodiment, optionally, the data processing node is any functional sub-module in the software sub-module development process.
The message processing device provided by the embodiment of the disclosure can execute the message processing method provided by any embodiment of the disclosure, and has corresponding functional modules and beneficial effects of the execution method. Reference may be made to the description of any method embodiment of the disclosure for a matter not explicitly described in this embodiment.
In the technical scheme of the disclosure, the acquisition, storage, application and the like of the personal information of the related user all accord with the regulations of related laws and regulations, and do not violate the good customs of the public order.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
FIG. 5 illustrates a schematic block diagram of an example electronic device 500 that can 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 phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 5, the apparatus 500 comprises a computing unit 501 which may perform various appropriate actions and processes in accordance with a computer program stored in a Read Only Memory (ROM)502 or a computer program loaded from a storage unit 508 into a Random Access Memory (RAM) 503. In the RAM503, various programs and data required for the operation of the device 500 can also be stored. The calculation unit 501, the ROM 502, and the RAM503 are connected to each other by a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
A number of components in the device 500 are connected to the I/O interface 505, including: an input unit 506 such as a keyboard, a mouse, or the like; an output unit 507 such as various types of displays, speakers, and the like; a storage unit 508, such as a magnetic disk, optical disk, or the like; and a communication unit 509 such as a network card, modem, wireless communication transceiver, etc. The communication unit 509 allows the device 500 to exchange information/data with other devices through a computer network such as the internet and/or various telecommunication networks.
The computing unit 501 may be a variety of general-purpose and/or special-purpose processing components having processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The calculation unit 501 executes the respective methods and processes described above, such as the message processing method. For example, in some embodiments, the message processing method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 508. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 500 via the ROM 502 and/or the communication unit 509. When the computer program is loaded into the RAM503 and executed by the computing unit 501, one or more steps of the message processing method described above may be performed. Alternatively, in other embodiments, the computing unit 501 may be configured to perform the message processing method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes 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 codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. 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. A 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 a pointing device (e.g., a mouse or a 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 can 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, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end 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 back-end, 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), and the Internet.
The computer system may include clients and servers. A client and server are generally 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 may be a cloud server, a server of a distributed system, or a server with a combined blockchain.
It should be understood that various forms of the flows shown above, reordering, adding or deleting steps, may be used. For example, the steps described in the present disclosure may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, and the present disclosure is not limited herein.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (13)

1. A message processing method is applied to a message bus and comprises the following steps:
determining the interception relation between each data processing node and different parameter messages;
receiving a target parameter message broadcast by any data processing node, and determining a target data processing node for monitoring the target parameter message according to the monitoring relation;
forwarding the target parameter message to the target data processing node.
2. The method of claim 1, wherein said determining a listening relationship between each data processing node and different parameter messages comprises:
aiming at any data processing node, receiving an interception registration request of the data processing node for at least one parameter message, and adding the data processing node into an interception queue;
each element in the listener queue records a data processing node and a parameter message to be listened.
3. The method of claim 2, wherein the receiving a target parameter message broadcast by any data processing node and determining a target data processing node listening for the target parameter message based on the listening relationship comprises:
receiving a target parameter message broadcast by each data processing node, and adding the received target parameter message to a message distribution queue;
and traversing the message distribution queue, and searching in the listener queue to determine a target data processing node for listening to a target parameter message when a target parameter message is traversed.
4. The method according to claim 2, wherein the data processing node is further configured to inherit preset base class data for carrying parameter messages, and generate a message receiving interface including message processing logic based on the base class data, so that when receiving a target parameter message to be intercepted, the data processing node processes the target parameter message according to the message processing logic included in the message receiving interface.
5. The method according to any one of claims 1-4, wherein the data processing node is any functional submodule in a software submodule development process.
6. A message processing apparatus, disposed on a message bus, comprising:
the interception relation determining module is used for determining the interception relation between each data processing node and different parameter messages;
the receiving and retrieving module is used for receiving the target parameter message broadcast by any data processing node and determining the target data processing node for intercepting the target parameter message according to the interception relation;
and the message distribution module is used for forwarding the target parameter message to the target data processing node.
7. The apparatus of claim 6, wherein the intercept relationship determination module comprises:
the interception relation registration unit is used for receiving an interception registration request of the data processing node for at least one parameter message aiming at any data processing node and adding the data processing node into an interception queue;
wherein, each element in the listener queue records a data processing node and a parameter message to be listened.
8. The apparatus of claim 7, wherein the receiving and retrieving module comprises:
the receiving and adding unit is used for receiving the target parameter message broadcast by each data processing node and adding the received target parameter message to a message distribution queue;
and the retrieval unit is used for traversing the message distribution queue, and retrieving in the listener queue to determine a target data processing node for listening to a target parameter message every time a target parameter message is traversed.
9. The apparatus according to claim 7, wherein the data processing node is further configured to inherit preset base class data for carrying parameter messages, and generate a message receiving interface including message processing logic based on the base class data, so that when receiving a target parameter message to be intercepted, the data processing node processes the target parameter message according to the message processing logic included in the message receiving interface.
10. The device according to any one of claims 6-9, wherein the data processing node is any functional sub-module in the development process of the software sub-module.
11. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
12. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-5.
13. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1-5.
CN202210071947.6A 2022-01-21 2022-01-21 Message processing method and device, electronic equipment and storage medium Pending CN114500535A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210071947.6A CN114500535A (en) 2022-01-21 2022-01-21 Message processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210071947.6A CN114500535A (en) 2022-01-21 2022-01-21 Message processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114500535A true CN114500535A (en) 2022-05-13

Family

ID=81472590

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210071947.6A Pending CN114500535A (en) 2022-01-21 2022-01-21 Message processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114500535A (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103259701A (en) * 2012-12-04 2013-08-21 中国科学院沈阳自动化研究所 Message bus implementation method for complex production process management system
CN108882053A (en) * 2018-06-29 2018-11-23 武汉斗鱼网络科技有限公司 Barrage message distributing method, device, equipment and storage medium
CN109710425A (en) * 2018-12-19 2019-05-03 北京金山安全软件有限公司 Message monitoring method and device
US20190379552A1 (en) * 2018-06-08 2019-12-12 International Business Machines Corporation Creation and conveyance of device-targeted messages
CN111061572A (en) * 2019-11-15 2020-04-24 北京浪潮数据技术有限公司 Page communication method, system, equipment and readable storage medium
CN111309493A (en) * 2018-12-12 2020-06-19 阿里巴巴集团控股有限公司 Method and device for realizing communication among multiple pages and electronic equipment
CN111694674A (en) * 2019-03-13 2020-09-22 北京字节跳动网络技术有限公司 Message distribution processing method, device, equipment and storage medium
US20210019277A1 (en) * 2019-07-17 2021-01-21 Capital One Services, Llc Article, device, and techniques for serverless streaming message processing
CN112527530A (en) * 2020-12-21 2021-03-19 北京百度网讯科技有限公司 Message processing method, device, equipment, storage medium and computer program product
CN112698972A (en) * 2020-12-30 2021-04-23 平安证券股份有限公司 Front-end data processing method, equipment, storage medium and device
CN112732459A (en) * 2020-12-31 2021-04-30 上海连尚网络科技有限公司 Method and device for uniformly receiving broadcast messages
CN113296742A (en) * 2021-05-17 2021-08-24 建信金融科技有限责任公司 APP data processing method and device and mobile terminal

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103259701A (en) * 2012-12-04 2013-08-21 中国科学院沈阳自动化研究所 Message bus implementation method for complex production process management system
US20190379552A1 (en) * 2018-06-08 2019-12-12 International Business Machines Corporation Creation and conveyance of device-targeted messages
CN108882053A (en) * 2018-06-29 2018-11-23 武汉斗鱼网络科技有限公司 Barrage message distributing method, device, equipment and storage medium
CN111309493A (en) * 2018-12-12 2020-06-19 阿里巴巴集团控股有限公司 Method and device for realizing communication among multiple pages and electronic equipment
CN109710425A (en) * 2018-12-19 2019-05-03 北京金山安全软件有限公司 Message monitoring method and device
CN111694674A (en) * 2019-03-13 2020-09-22 北京字节跳动网络技术有限公司 Message distribution processing method, device, equipment and storage medium
US20210019277A1 (en) * 2019-07-17 2021-01-21 Capital One Services, Llc Article, device, and techniques for serverless streaming message processing
CN111061572A (en) * 2019-11-15 2020-04-24 北京浪潮数据技术有限公司 Page communication method, system, equipment and readable storage medium
CN112527530A (en) * 2020-12-21 2021-03-19 北京百度网讯科技有限公司 Message processing method, device, equipment, storage medium and computer program product
CN112698972A (en) * 2020-12-30 2021-04-23 平安证券股份有限公司 Front-end data processing method, equipment, storage medium and device
CN112732459A (en) * 2020-12-31 2021-04-30 上海连尚网络科技有限公司 Method and device for uniformly receiving broadcast messages
CN113296742A (en) * 2021-05-17 2021-08-24 建信金融科技有限责任公司 APP data processing method and device and mobile terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
汪毅;李永刚;毛文;胡上成;张龙;: "基于消息总线的测量船测控软件系统设计", 遥测遥控, no. 04 *

Similar Documents

Publication Publication Date Title
CN109901987B (en) Method and device for generating test data
US20200327001A1 (en) Message processing method and system, storage medium and electronic device
CN110706093A (en) Accounting processing method and device
CN112445868A (en) Service message processing method and device
CN115587575A (en) Data table creation method, target data query method, device and equipment
WO2022257604A1 (en) Method and apparatus for determining user tag
CN109582528B (en) State monitoring method and device, electronic equipment and computer readable storage medium
CN114389969A (en) Client test method and device, electronic equipment and storage medium
CN111555894B (en) Data processing method, device, equipment and storage medium
CN111951040A (en) Information sending method and device, electronic equipment and storage medium
CN112948138A (en) Method and device for processing message
CN114500535A (en) Message processing method and device, electronic equipment and storage medium
US11277300B2 (en) Method and apparatus for outputting information
CN113051510B (en) Interactive processing method, device, front-end equipment, back-end equipment and storage medium
CN111460020B (en) Method, device, electronic equipment and medium for resolving message
CN114780196A (en) User interface form rendering method and device, electronic equipment and storage medium
CN113742617A (en) Cache updating method and device
CN114268558B (en) Method, device, equipment and medium for generating monitoring graph
CN113726885B (en) Flow quota adjusting method and device
CN114416414B (en) Fault information positioning method, device, equipment and storage medium
US20240086850A1 (en) Method, apparatus, device and storage medium for data processing
CN115988124A (en) Method and device for determining equipment ID
CN115482110A (en) Service processing method and device, electronic equipment and computer readable medium
CN117271596A (en) Message processing method and device
CN113778847A (en) Test report generation method and device

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