CN110474833B - Message processing method and device - Google Patents

Message processing method and device Download PDF

Info

Publication number
CN110474833B
CN110474833B CN201810444395.2A CN201810444395A CN110474833B CN 110474833 B CN110474833 B CN 110474833B CN 201810444395 A CN201810444395 A CN 201810444395A CN 110474833 B CN110474833 B CN 110474833B
Authority
CN
China
Prior art keywords
processing
message
target
target message
information
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
CN201810444395.2A
Other languages
Chinese (zh)
Other versions
CN110474833A (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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201810444395.2A priority Critical patent/CN110474833B/en
Publication of CN110474833A publication Critical patent/CN110474833A/en
Application granted granted Critical
Publication of CN110474833B publication Critical patent/CN110474833B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/06Message adaptation to terminal or network requirements
    • H04L51/063Content adaptation, e.g. replacement of unsuitable content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/06Message adaptation to terminal or network requirements
    • H04L51/066Format adaptation, e.g. format conversion or compression

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a message processing method and a message processing device. The message processing method comprises the following steps: receiving a target message dispatched by a message dispatching center; acquiring a corresponding message processing mapping table according to the type information and the version information of the target board card; determining the processing information of the target message according to the message processing mapping table; carrying out adaptation processing on the target message according to the processing information and a preset rule to obtain an adapted target message; and calling a target function to process the target message after the adaptation processing. The embodiment of the invention can simplify the development and maintenance of codes, reduce the development cost of software, has better compatibility to the common platform work of various types of board cards, is easy to expand and further reduces the development cost of subsequent products.

Description

Message processing method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a message processing method and apparatus.
Background
The base station equipment is commonly composed of a main control board and a baseband board, in actual use, for the purposes of capacity expansion, energy conservation, multi-mode work and the like, the situation that various types of board cards work together often occurs, and an equipment manufacturer can inherit the existing results in the current stage in the process of product development. However, even though different boards can keep the interface unchanged, due to differences of individual hardware and operating systems, there are still many differences in application software. Therefore, how to flexibly deal with the differences among different products and maintain the overall stability and compatibility in the development, maintenance and management of products is a problem to be solved.
In the prior art, hard coding is mostly adopted for the implementation of new board software. The method generally adopts the mode that the difference content of a new mode is modified into code on the basis of certain version software of a certain mode, and the modes are distinguished during version compiling through a compiling macro. Figure 1 shows the ABCDE panel type product development process: firstly, developing a B-type board and a C-type board by taking A-type board equipment software as a development base line, then developing a product development process by taking the B-type board as the base line and developing a product by taking the C-type board as the base line by using the D-type board. In this case, in the eyes of the person who develops and maintains the E-type board software, the differences between the base lines of the C-type board and the E-type board can be recognized clearly, and the differences between the base lines of the C-type board and the E-type board are not intuitive for other parts.
The superposition type hard coding has the defects of high maintenance cost and poor compatibility. When the types of the devices are increased, the characteristics of the software are mixed, so that the development and maintenance cost of the software is increased, and the project experience requirements of developers are increased. The more prominent disadvantages are shown in fig. 2: when a problem occurs or the A-type board software is updated, the B-type board and the C-type board software which take the A-type board software as a base line are influenced, and further a D-type board which takes the B-type board as a base line and an E-type board which takes the C-type board as a base line are influenced; however, from the perspective of the development and maintenance personnel of the E-type panel, such tracing is too complicated and the effect of this problem or update is not clear. Another significant disadvantage is that repeated development or repeated code copying of the same or similar functions can occur due to unclear structure.
Therefore, how to flexibly reduce the characteristic difference of the compatible board card and simplify the design of board card software development and maintenance so as to achieve the purposes of reducing the software development and operation cost and improving the operation and maintenance efficiency is a problem to be solved urgently at present.
Disclosure of Invention
The invention provides a message processing method and a message processing device, which aim to solve the problems that the characteristic difference of compatible board cards in the existing network is large and the cost for maintaining board card software is high.
In order to solve the above problem, the present invention discloses a message processing method, which is applied to a target board card, and comprises: receiving a target message dispatched by a message dispatching center; acquiring a corresponding message processing mapping table according to the type information and the version information of the target board card; determining the processing information of the target message according to the message processing mapping table; carrying out adaptation processing on the target message according to the processing information and a preset rule to obtain an adapted target message; calling a target function to process the target message after the adaptation processing; the processing information includes preset processing condition information and preset time, and the target message is subjected to adaptation processing according to the processing information and a preset rule to obtain an adapted target message, including: judging whether the target message meets the preset processing condition information or not; if the target message meets the preset processing condition information, storing the target message, and judging whether the waiting time exceeds the preset time; if the waiting time exceeds the preset time, discarding the target message, and ending the process; if the waiting time does not exceed the preset time, the target message is used as the target message after the adaptation processing, and the step of processing the target message after the adaptation processing by calling a target function is executed; and if the target message does not meet the preset processing condition information, converting the target message according to the type information and the version information of the target board card to obtain the converted target message to be used as the target message after adaptation processing.
Preferably, the processing information includes processing mode information, and the step of calling the target function to process the adapted target message includes: and determining a target function for processing the target message after the adaptation processing according to the processing mode information, and calling the target function to process the target message after the adaptation processing.
Preferably, after the step of processing the processed target message by the calling target function, the method further includes: and sending the processed target message to the message dispatching center, so that the message dispatching center sends the processed target message to other board cards for processing.
The embodiment of the invention also discloses a message processing device, which is applied to a target board card and comprises the following components: the receiving module is used for receiving the target message dispatched by the message dispatching center; the acquisition module is used for acquiring a corresponding message processing mapping table according to the type information and the version information of the target board card; the determining module is used for determining the processing information of the target message according to the message processing mapping table; the adaptation processing module is used for carrying out adaptation processing on the target message according to the processing information and a preset rule to obtain the adapted target message; the processing module is used for calling a target function to process the target message after the adaptation processing; wherein, the processing information includes preset processing condition information and preset time, the adaptation processing module includes: the first judgment submodule is used for judging whether the target message meets the preset processing condition information or not; the second judgment submodule is used for storing the target message when the target message meets the preset processing condition information and judging whether the waiting time exceeds the preset time or not; the discarding submodule is used for discarding the target message when the waiting time exceeds the preset time and ending the process; the execution sub-module is used for taking the target message as the target message after the adaptation processing when the waiting time does not exceed the preset time and executing the processing module; and the conversion processing submodule is used for converting the target message according to the type information and the version information of the target board card when the target message does not meet the preset processing condition information, and obtaining the converted target message to be used as the target message after the adaptation processing.
Preferably, the processing information includes processing mode information, and the processing module includes: and the processing submodule is used for determining a target function for processing the target message after the adaptation processing according to the processing mode information and calling the target function to process the target message after the adaptation processing.
Preferably, the method further comprises the following steps: and the sending module is used for sending the processed target message to the message dispatching center so that the message dispatching center sends the processed target message to other board cards for processing.
Compared with the prior art, the invention has the following advantages:
the embodiment of the invention provides a message processing method and a message processing device, which are applied to a target board card, and are used for receiving a target message dispatched by a message dispatching center, acquiring a corresponding message processing mapping table according to the type information and the version information of the target board card, determining the processing information of the target message according to the message processing mapping table, and performing adaptation processing on the target message according to the processing information and a preset rule to obtain the adapted target message. The embodiment of the invention simplifies the development and maintenance of codes and reduces the development cost of software by acquiring the processing information of the target message according to the message processing mapping table and carrying out adaptation processing on the target message according to the preset rule, and has better compatibility on the common platform work of the multi-type board cards, easy expansion and further reduction of the development cost of subsequent products.
Drawings
Fig. 1 illustrates a schematic diagram of implementing a multi-type board card in the prior art;
FIG. 2 is a schematic diagram illustrating defects of a multi-type board card in the prior art;
FIG. 3 is a flowchart illustrating steps of a message processing method according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating a message processing mapping table according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating steps of a message processing method according to an embodiment of the present invention;
FIG. 6 is a diagram illustrating an inter-system message and intra-system message mapping relationship according to an embodiment of the present invention; and
fig. 7 is a schematic structural diagram illustrating a message processing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Example one
Referring to fig. 3, a flowchart illustrating steps of a message processing method according to an embodiment of the present invention is shown, where the message processing method may be applied to a target board, and specifically may include the following steps:
step 101: and receiving the target message dispatched by the message dispatching center.
In the embodiment of the present invention, the target board refers to a board that needs to call a target message for processing.
A message dispatching center may be disposed in the target board, and the message dispatching center may dispatch the received target message.
The target message is analyzed in the message dispatching center, message header information of the target message is obtained, the message header comprises destination information to be sent by the target message, and the message dispatching center can send the target message to the target board card according to the destination information in the message header. Specifically, each board card has corresponding slot position information, namely a machine frame slot position, on a machine frame of the base station product, the board card is inserted into a backboard, and the backboard can transmit messages according to the space position and destination information of the board card.
After the target board card receives the target message dispatched by the message dispatch center, step 102 is entered.
Step 102: and acquiring a corresponding message processing mapping table according to the type information and the version information of the target board card.
In the embodiment of the present invention, corresponding message processing mapping tables are set for different types of information and version information of boards, and the message processing mapping tables may be stored in a certain position of a base station, referring to fig. 4, a schematic diagram of a message processing mapping table provided in the embodiment of the present invention is shown, where the message processing mapping table stores corresponding relationships between the type information and version information of the boards and the message processing mapping table, for example, the message processing mapping table 1 corresponds to the type information 1 and the version information 1, and the message processing mapping table 2 corresponds to the type information 2 and the version information 2.
The target board can search the corresponding message processing mapping table from the base station according to the type information and the version information of the target board.
After the message handling mapping table is obtained, step 103 is entered.
Step 103: and determining the processing information of the target message according to the message processing mapping table.
In the embodiment of the present invention, referring to fig. 4, the message processing mapping table may further include processing information of the message corresponding to each board type, such as a message number, description information (such as a message name and a property), processing preconditions, processing time limit information (i.e., whether to immediately process, yes/no), a called function module, message format conversion information, and the like.
After the target message is obtained, processing information corresponding to the target message, such as a message number, description information, processing preconditions, processing time limit information, a called function module, message format conversion information, and the like, may be determined according to the message processing mapping table.
After determining the processing information of the target message, step 104 is entered.
Step 104: and carrying out adaptation processing on the target message according to the processing information and a preset rule to obtain the adapted target message.
In the embodiment of the present invention, after the processing information of the target message is acquired, adaptation processing is performed on the target message according to the processing information, such as whether to perform immediate processing on the target message or whether to perform format conversion.
If the format conversion is needed, the format conversion is firstly carried out on the target message, and then whether the target message after the format conversion is processed immediately or not is determined according to whether the immediate processing rest is needed or not, and the like.
In a preferred embodiment of the present invention, the processing information may include: presetting processing condition information and a preset time, and the step 104 may include:
sub-step M1: judging whether the target message meets the preset processing condition information or not;
sub-step M2: if the target message meets the preset processing condition information, storing the target message, and judging whether the waiting time exceeds the preset time;
sub-step M3: if the waiting time exceeds the preset time, discarding the target message, and ending the process;
sub-step M4: if the waiting time does not exceed the preset time, the target message is used as the target message after the adaptation processing, and the step of processing the target message after the adaptation processing by calling a target function is executed;
sub-step M5: and if the target message does not meet the preset processing condition information, converting the target message according to the type information and the version information of the target board card to obtain the converted target message to be used as the target message after adaptation processing.
In the embodiment of the present invention, the processing information may include preset processing condition information and preset time, the preset processing condition information may be a mapping relationship between an inter-system message and an intra-system message, and when the target message satisfies the preset processing condition information, the target message is stored, and the waiting time of the target message is determined. And when the target message does not meet the preset processing condition information, converting the target message according to the type information and the version information of the target board card to obtain the converted target message which is used as the target message after the adaptation processing.
And when the target message meets the preset processing condition information, judging whether the waiting time of the target message exceeds the preset time, if so, discarding the target message, and ending the process. And when the waiting time does not exceed the preset time, the target message is taken as the target message after the adaptation processing, and a target function is called to process the target message.
Specifically, the above process will be described in detail in the following second embodiment, which is not described herein again.
After the target message is adapted to obtain the adapted target message, step 105 is performed.
Step 105: and calling a target function to process the target message after the adaptation processing.
The message mapping processing table contains processing information of the called functional module, and after format conversion processing is performed on the target function, the target message after format conversion processing is used as the target message after adaptation processing, and the target function is called to process the target message after adaptation processing.
In a preferred embodiment of the present invention, the processing information includes processing mode information, and the step 105 may include:
substep S1: and determining a target function for processing the target message after the adaptation processing according to the processing mode information, and calling the target function to process the target message after the adaptation processing.
In this embodiment of the present invention, the processing information may further include processing mode information, and the processing mode information may include: and if the processing mode information contains the information to be immediately processed, calling a target function corresponding to the target message to immediately process the target after the adaptation processing. For example, the target board receives the target message 1, the target message 2, and the target message 3 in sequence, where the processing information of the target message 2 includes information to be processed immediately, the message to be adapted to the target message 2 is processed immediately, and then the target message 1 and the target message 3 are processed according to the receiving sequence of the target message, or according to the size of the target message, and so on, which is not limited in this embodiment of the present invention.
In a preferred embodiment of the present invention, after the step 106, the method further includes:
step M: and sending the processed target message to the message dispatching center, so that the message dispatching center sends the processed target message to other board cards for processing.
In the embodiment of the present invention, after the target message is processed, if the processed target message needs to be sent to another board card for processing, the target board card sends the processed target message to the message dispatching center, and then the message dispatching center sends the processed target message to another board card that needs to process the processed target message for processing.
The message processing method provided by the embodiment of the invention can be applied to a target board card, and can be used for receiving a target message dispatched by a message dispatching center, acquiring a corresponding message processing mapping table according to the type information and the version information of the target board card, determining the processing information of the target message according to the message processing mapping table, and performing adaptation processing on the target message according to the processing information and a preset rule to obtain the target message after the adaptation processing. The embodiment of the invention simplifies the development and maintenance of codes and reduces the development cost of software by acquiring the processing information of the target message according to the message processing mapping table and carrying out adaptation processing on the target message according to the preset rule, and has better compatibility on the common platform work of the multi-type board cards, easy expansion and further reduction of the development cost of subsequent products.
Example two
Referring to fig. 5, a flowchart illustrating steps of a message processing method according to an embodiment of the present invention is shown, where the message processing method may be applied to a target board, and specifically may include the following steps:
step 201: and receiving the target message dispatched by the message dispatching center.
Step 202: and acquiring a corresponding message processing mapping table according to the type information and the version information of the target board card.
Step 203: and determining the processing information of the target message according to the message processing mapping table.
In the embodiment of the present invention, the detailed implementation manner of the step 201 to the step 203 is similar to the detailed implementation manner of the step 101 to the step 103 in the first embodiment, and the detailed description of the embodiment of the present invention is omitted here.
After determining the processing information of the target message according to the message processing mapping table, step 204 is entered.
Step 204: and judging whether the target message meets the preset processing condition information.
In this embodiment of the present invention, the preset processing condition information may be a mapping relationship between an inter-system message and an intra-system message, and fig. 6 shows a schematic diagram of a mapping relationship between an inter-system message and an intra-system message provided in this embodiment of the present invention, where the mapping relationship has the following relationship: whether conversion is needed first, in the case of conversion, it is common to convert one message into another message, for example, the information in message a is enough to satisfy the filling requirement of message X, and more complicated, for example, message a and message B together can satisfy the filling requirement of message X.
And entering step 206 when the target message meets the preset processing condition information, or entering step 205.
Step 205: if not, converting the target message according to the type information and the version information of the target board card to obtain the converted target message which is used as the target message after the adaptation processing.
And when the target message does not meet the preset processing condition, converting the target message according to the type information and the version information of the target board card, and taking the converted target message as the target message after adaptation processing.
Step 206: and calling a target function to process the target message after the adaptation processing.
And when the target message meets the preset processing condition, taking the target message as the target message after the adaptation processing, and calling a corresponding target function to process the target message.
And when the target message does not meet the preset processing condition, taking the target message after format conversion as the target message after adaptation processing, and calling a corresponding target function to process the target message after format conversion.
The message processing method provided by the embodiment of the invention can be applied to a target board card, and can be used for receiving a target message dispatched by a message dispatching center, acquiring a corresponding message processing mapping table according to the type information and the version information of the target board card, determining the processing information of the target message according to the message processing mapping table, and performing adaptation processing on the target message according to the processing information and a preset rule to obtain the target message after the adaptation processing. The embodiment of the invention simplifies the development and maintenance of codes and reduces the development cost of software by acquiring the processing information of the target message according to the message processing mapping table and carrying out adaptation processing on the target message according to the preset rule, and has better compatibility on the common platform work of the multi-type board cards, easy expansion and further reduction of the development cost of subsequent products.
EXAMPLE III
Referring to fig. 7, a schematic structural diagram of a message processing apparatus according to an embodiment of the present invention is shown, where the message processing apparatus may be applied to a target board, and specifically includes:
a receiving module 310, configured to receive a target message dispatched by a message dispatching center; an obtaining module 320, configured to obtain a corresponding message processing mapping table according to the type information and the version information of the target board; a determining module 330, configured to determine processing information of the target message according to the message processing mapping table; the adaptation processing module 340 is configured to perform adaptation processing on the target message according to the processing information and a preset rule, so as to obtain an adapted target message; and a processing module 350, configured to invoke a target function to process the adapted target message.
Preferably, the processing information includes preset processing condition information, and the adaptation processing module 340 includes: the first judgment submodule is used for judging whether the target message meets the preset processing condition information or not; and the conversion processing submodule is used for converting the target message according to the type information and the version information of the target board card when the target message does not meet the preset processing condition information, and obtaining the converted target message to be used as the target message after the adaptation processing.
Preferably, the processing information further includes a preset time, and the apparatus further includes: the second judgment submodule is used for storing the target message when the target message meets the preset processing condition information and judging whether the waiting time exceeds the preset time or not; the discarding submodule is used for discarding the target message when the waiting time exceeds the preset time and ending the process; and the execution submodule is used for executing the step of performing conversion processing on the target message according to the type information and the version information of the target board card when the waiting time does not exceed the preset time.
Preferably, the processing information includes processing mode information, and the processing module 350 includes: and the processing submodule is used for determining a target function for processing the target message after the adaptation processing according to the processing mode information and calling the target function to process the target message after the adaptation processing.
Preferably, the apparatus further comprises: and the sending module is used for sending the processed target message to the message dispatching center so that the message dispatching center sends the processed target message to other board cards for processing.
The message processing device provided by the embodiment of the invention can be applied to a target board card, and is used for receiving a target message dispatched by a message dispatching center, acquiring a corresponding message processing mapping table according to the type information and the version information of the target board card, determining the processing information of the target message according to the message processing mapping table, and performing adaptation processing on the target message according to the processing information and a preset rule to obtain the adapted target message. The embodiment of the invention simplifies the development and maintenance of codes and reduces the development cost of software by acquiring the processing information of the target message according to the message processing mapping table and carrying out adaptation processing on the target message according to the preset rule, and has better compatibility on the common platform work of the multi-type board cards, easy expansion and further reduction of the development cost of subsequent products.
While, for purposes of simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present invention is not limited by the illustrated ordering of acts, as some steps may occur in other orders or concurrently with other steps in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
Finally, it should also be 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 like elements in a process, method, article, or apparatus that comprises the element.
The above detailed description is provided for a message processing method and a message processing apparatus, and the principle and the implementation of the present invention are explained by applying specific examples, and the description of the above embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (6)

1. A message processing method is applied to a target board card and is characterized by comprising the following steps:
receiving a target message dispatched by a message dispatching center;
acquiring a corresponding message processing mapping table according to the type information and the version information of the target board card;
determining the processing information of the target message according to the message processing mapping table;
carrying out adaptation processing on the target message according to the processing information and a preset rule to obtain an adapted target message;
calling a target function to process the target message after the adaptation processing;
the processing information includes preset processing condition information and preset time, and the target message is subjected to adaptation processing according to the processing information and a preset rule to obtain an adapted target message, including:
judging whether the target message meets the preset processing condition information or not;
if the target message meets the preset processing condition information, storing the target message, and judging whether the waiting time exceeds the preset time;
if the waiting time exceeds the preset time, discarding the target message, and ending the process;
if the waiting time does not exceed the preset time, the target message is used as the target message after the adaptation processing, and the step of processing the target message after the adaptation processing by calling a target function is executed;
and if the target message does not meet the preset processing condition information, converting the target message according to the type information and the version information of the target board card to obtain the converted target message to be used as the target message after adaptation processing.
2. The method according to claim 1, wherein the processing information includes processing mode information, and the step of calling the target function to process the adapted target message includes:
and determining a target function for processing the target message after the adaptation processing according to the processing mode information, and calling the target function to process the target message after the adaptation processing.
3. The method of claim 1, wherein after the step of processing the processed target message by the calling target function, further comprising:
and sending the processed target message to the message dispatching center, so that the message dispatching center sends the processed target message to other board cards for processing.
4. A message processing device is applied to a target board card and is characterized by comprising:
the receiving module is used for receiving the target message dispatched by the message dispatching center;
the acquisition module is used for acquiring a corresponding message processing mapping table according to the type information and the version information of the target board card;
the determining module is used for determining the processing information of the target message according to the message processing mapping table;
the adaptation processing module is used for carrying out adaptation processing on the target message according to the processing information and a preset rule to obtain the adapted target message;
the processing module is used for calling a target function to process the target message after the adaptation processing;
wherein, the processing information includes preset processing condition information and preset time, the adaptation processing module includes:
the first judgment submodule is used for judging whether the target message meets the preset processing condition information or not;
the second judgment submodule is used for storing the target message when the target message meets the preset processing condition information and judging whether the waiting time exceeds the preset time or not;
the discarding submodule is used for discarding the target message when the waiting time exceeds the preset time and ending the process;
the execution sub-module is used for taking the target message as the target message after the adaptation processing when the waiting time does not exceed the preset time and executing the processing module;
and the conversion processing submodule is used for converting the target message according to the type information and the version information of the target board card when the target message does not meet the preset processing condition information, and obtaining the converted target message to be used as the target message after the adaptation processing.
5. The apparatus of claim 4, wherein the processing information comprises processing mode information, and wherein the processing module comprises:
and the processing submodule is used for determining a target function for processing the target message after the adaptation processing according to the processing mode information and calling the target function to process the target message after the adaptation processing.
6. The apparatus of claim 4, further comprising:
and the sending module is used for sending the processed target message to the message dispatching center so that the message dispatching center sends the processed target message to other board cards for processing.
CN201810444395.2A 2018-05-10 2018-05-10 Message processing method and device Active CN110474833B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810444395.2A CN110474833B (en) 2018-05-10 2018-05-10 Message processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810444395.2A CN110474833B (en) 2018-05-10 2018-05-10 Message processing method and device

Publications (2)

Publication Number Publication Date
CN110474833A CN110474833A (en) 2019-11-19
CN110474833B true CN110474833B (en) 2020-10-23

Family

ID=68504267

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810444395.2A Active CN110474833B (en) 2018-05-10 2018-05-10 Message processing method and device

Country Status (1)

Country Link
CN (1) CN110474833B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102364896A (en) * 2011-11-07 2012-02-29 烽火通信科技股份有限公司 Method of plugboard-type optical network unit (ONU) cross-board card batch configuration and apparatus thereof
CN102780613A (en) * 2012-06-19 2012-11-14 瑞斯康达科技发展股份有限公司 Method and device for communication of boards of distributed device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009290752A (en) * 2008-05-30 2009-12-10 Toshiba Corp Phone system and group pick-up processing method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102364896A (en) * 2011-11-07 2012-02-29 烽火通信科技股份有限公司 Method of plugboard-type optical network unit (ONU) cross-board card batch configuration and apparatus thereof
CN102780613A (en) * 2012-06-19 2012-11-14 瑞斯康达科技发展股份有限公司 Method and device for communication of boards of distributed device

Also Published As

Publication number Publication date
CN110474833A (en) 2019-11-19

Similar Documents

Publication Publication Date Title
CN108804215A (en) A kind of task processing method, device and electronic equipment
CN105718540A (en) Data loading method and apparatus
CN108322437B (en) Adaptive communication method and device for multiple protocol devices
CN108337127B (en) Application performance monitoring method, system, terminal and computer readable storage medium
CN112422709A (en) Identification management method, terminal device, identification resolution secondary node and medium
CN105245521A (en) Protocol format conversion method and device and interface platform
CN108491281A (en) Method, readable medium and the electronic equipment interacted between software systems
CN100499509C (en) A data configuration method, system and operating and maintenance center
CN110474833B (en) Message processing method and device
CN102905000A (en) Address book synchronization method and device
CN103997509A (en) Service oriented architecture-based service processing method and apparatus
CN109190969B (en) Weighing equipment management and control method and system, weighing equipment management middleware and medium
CN102457777A (en) Method and system for processing network problems of television by grading, and television
CN111475449A (en) HIS system and external program interface adaptation method, system, interface adapter and comprehensive medical system
CN103262513A (en) Network maintenance system, method and device
CN110264035A (en) Configuration method, device, terminal and the storage medium of workflow
CN113190565B (en) Data updating method and device, storage medium and electronic device
CN115757612A (en) Data synchronization method and device, computer equipment and storage medium
CN108769260B (en) Event processing method and device in cluster upgrading process
CN111614612B (en) Communication protocol implementation method, device, network management server and storage medium
CN105515860A (en) Method and device for changing device property
CN109359384B (en) Method and device for calling silk-screen mark into printed circuit board
CN105095639A (en) Method for controlling medical examinations via a patient communication system, and a patient communication system, a patient device and a clinic server unit
CN109739884A (en) A kind of electric power monitoring system graphical cues information service design method
CN111897521B (en) Task processing method and related device based on micro-service architecture

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