Message processing method and device and server

By parsing and calculating the difference parameters and key fields of control messages on the RIC platform, and refining conflict judgment and duplicate message processing, the RIC platform solves the problem of rough granularity in base station control message processing and improves the conflict resolution effect.

CN118784695APending Publication Date: 2024-10-15LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411046562.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

The current RIC platform has rough granularity when making repeated judgments on base station control messages and cannot effectively resolve conflicts, resulting in poor conflict resolution.

Method used

By parsing the control message, the control object is determined, and the message is responded or sent when there are differences in parameters. Methods such as difference parameter calculation and key field matching are used to refine conflict judgment and duplicate message processing.

Benefits of technology

It improves the precision and reliability of base station control message processing, reduces repeated execution and conflicts, and improves the effect of conflict resolution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118784695A_ABST
    Figure CN118784695A_ABST
Patent Text Reader

Abstract

The invention discloses a message processing method and device and a server. The method comprises the following steps: obtaining a first control message; analyzing the first control message, and determining a first control object of the first control message; if a second control message of which the control object is the same as the first control object exists, a difference parameter between the first control message and the second control message is determined, the second control message is a cached control message, and the obtaining time of the second control message is earlier than that of the first control message; and responding to the first control message or issuing the first control message to the first control object based on the difference parameter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of base station control, and more specifically, to a message processing method, device and server. Background Art

[0002] Currently, base stations can be managed and controlled through the RIC (wireless intelligent control platform) platform. In implementation, the xAPP installed on the RIC platform can send control messages to the base station, and the RIC platform will perform a simple repetition judgment on the control message sent by the xAPP to determine the subsequent operation. However, the repetition judgment granularity of the current RIC platform is relatively coarse and cannot achieve a good conflict resolution effect. Summary of the invention

[0003] In view of this, this application provides the following technical solutions:

[0004] The first aspect of the present application provides a message processing method, comprising:

[0005] Obtaining a first control message;

[0006] Parsing the first control message to determine a first control object of the first control message;

[0007] If there is a second control message having the same control object as the first control object, determining a difference parameter between the first control message and the second control message, the second control message being a cached control message, and the second control message being obtained earlier than the first control message;

[0008] The first control message is responded to based on the difference parameter or the first control message is sent to the first control object.

[0009] In a possible implementation, the parsing the first control message to determine the first control object of the first control message includes:

[0010] Parsing the message message of the first control message to obtain a message header and a message body;

[0011] A first control object of the first control message is determined based on the message header.

[0012] In a possible implementation, the message body includes at least one field, and the determining of a difference parameter between the first control message and the second control message includes:

[0013] Determine difference data between fields included in the message body and corresponding fields in the second control message;

[0014] The difference data is calculated based on the weights of the various fields to obtain a difference parameter between the first control message and the second control message.

[0015] In a possible implementation, the message body includes at least one field, and before determining the difference parameter between the first control message and the second control message, further includes:

[0016] Determining a key field in the message body, wherein the key field is preconfigured;

[0017] Comparing whether the key field is the same as a corresponding key field in the second control message;

[0018] If they are different, sending the first control message to the first control object;

[0019] If they are the same, determine the difference parameter between the first control message and the second control message.

[0020] In a possible implementation, before determining the key field in the message body, the method further includes:

[0021] Determining whether the content of the message body conflicts with the content of the second control message;

[0022] If yes, return a message indicating that the execution of the first control message failed;

[0023] If not, determine the key fields in the message body.

[0024] In a possible implementation, determining whether content of the message body conflicts with content of the second control message includes:

[0025] Whether the content of the message body conflicts with the content of the message body of the second control message is determined based on a preset mutually exclusive record table, wherein the mutually exclusive record table records fields or field combinations that have a mutually exclusive relationship.

[0026] In a possible implementation, the responding to the first control message based on the difference parameter or sending the first control message to the first control object includes:

[0027] If the difference parameter is less than the first set value, returning a message that the first control message is successfully executed;

[0028] If the difference parameter is not less than the first set value, the first control message is sent to the first control object.

[0029] In a possible implementation, further comprising:

[0030] Delete the control message whose cache time exceeds the first time.

[0031] A second aspect of the present application provides a message processing device, including:

[0032] A message obtaining module, used for obtaining a first control message;

[0033] an object determination module, configured to parse the first control message and determine a first control object of the first control message;

[0034] a difference determination module, configured to determine a difference parameter between the first control message and the second control message when there is a second control message having the same control object as the first control object, the second control message being a cached control message, and the second control message being obtained earlier than the first control message;

[0035] A message processing module is used to respond to the first control message based on the difference parameter or send the first control message to the first control object.

[0036] A third aspect of the present application provides a server, comprising at least one processor and a memory connected to the processor, wherein:

[0037] The memory is used to store computer programs;

[0038] The processor is used to execute the computer program so that the electronic device can implement the message processing method of the first aspect or any implementation manner of the first aspect.

[0039] A fourth aspect of the present application provides a computer program product, comprising computer-readable instructions. When the computer-readable instructions are executed on an electronic device, the electronic device implements the message processing method of the first aspect or any implementation of the first aspect.

[0040] A fifth aspect of the present application provides a computer storage medium, which carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement the message processing method of the first aspect or any implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0042] Figure 1A flowchart of a message processing method disclosed in an embodiment of the present application;

[0043] Figure 2 A flowchart of determining difference parameters disclosed in an embodiment of the present application;

[0044] Figure 3 This is a flowchart of key field matching disclosed in the embodiment of this application;

[0045] Figure 4 A flowchart of conflict determination disclosed in an embodiment of the present application;

[0046] Figure 5 This is an example diagram of the message processing process disclosed in the embodiment of the present application;

[0047] Figure 6 A schematic diagram of the structure of a message processing device disclosed in an embodiment of the present application;

[0048] Figure 7 A schematic diagram of the structure of a server disclosed in an embodiment of the present application. DETAILED DESCRIPTION

[0049] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0050] Figure 1 This is a flow chart of a message processing method disclosed in an embodiment of the present application. Figure 1 As shown, the message processing method may include:

[0051] Step 101: Obtain a first control message.

[0052] The message processing method disclosed in the embodiment of the present application can be applied to the RIC platform, and is mainly used to perform some judgment processing on the control messages sent to the base station by various applications installed on the RIC platform. The first control message can be a control message sent by any application installed on the RIC platform, and the control message is used to control the base station registered on the RIC platform. The control of the base station can include but is not limited to the management and control of the base station operation status, working parameters, and UE connected to the base station.

[0053] Step 102: Parse the first control message to determine a first control object of the first control message.

[0054] In an embodiment of the present application, after obtaining the first control message, the communication coding layer is first decoded to obtain the message header and the message body; then the message body can be further decoded to obtain the multiple fields contained therein. After decoding the first control message, the first control object of the first control message can be determined based on the data in the message header. The first control object can at least represent the base station that the first control message needs to control, and in other implementations, it may also represent the service type.

[0055] It is understandable that the scheme of the present application needs to perform some judgments and comparisons when processing messages, such as determining whether the first control message is a repeated control message, whether the first control message conflicts with the previous control message, etc., and the judgment and comparison of the messages needs to ensure that the messages involved in the comparison are for the same control object, and the control messages for different control objects are not comparable. For example, the control message for the A service of base station A is not comparable to the control message for the A service of base station B, and there is no need to determine whether the two are repeated or whether there is a conflict. Therefore, in an embodiment of the present application, after obtaining the first control message, the first control object of the first control message is first determined.

[0056] Step 103: If there is a second control message whose control object is the same as the first control object, determine the difference parameter between the first control message and the second control message, the second control message is a cached control message, and the second control message is obtained earlier than the first control message.

[0057] During the implementation of the message processing method described in the embodiment of the present application, the received control message will be cached for a period of time. Therefore, after receiving the first control message, it is determined whether there is a second control message in the cached control message whose control object is the same as the first control object of the first control message. If there is, it is necessary to compare the first control message and the second control message to determine whether they are the same control message, and when there is a difference between the two messages, what is the difference parameter, so as to perform subsequent processing according to the comparison result and the set logic.

[0058] It should be noted that the above content compares the first control message and the second control message, and compares the contents of the two message bodies, that is, determines the difference parameters between the first control message and the second control message. What is actually determined is the difference parameters between the message body of the first control message and the message body of the second control message.

[0059] Step 104: Respond to the first control message based on the difference parameter or send the first control message to the first control object.

[0060] It can be understood that when the difference parameter is 0, it indicates that the first control message and the second control message are exactly the same. Since the second control message has been executed before, the repeated first control message may not be executed. When the difference parameter is not 0, it indicates that there is a difference between the first control message and the second control message. The subsequent processing can be determined based on the value of the difference parameter.

[0061] The response may include a return message execution success instruction or a message execution failure return instruction. The specific implementation will be described in detail in the following embodiments, and will not be introduced too much here.

[0062] The message processing method described in the embodiment of the present application parses the first control message after obtaining it, determines the difference parameters between the two control messages based on the parsing result, and then processes the message based on the difference parameters; compared with the traditional scheme that only roughly determines whether the control message is completely repeated based on the unparsed message body, this implementation is more detailed, determines the difference parameters between the two control messages involved in the comparison, and the message processing based on the difference parameters is also more precise and reliable.

[0063] In the above embodiment, parsing the first control message and determining the first control object of the first control message may include: parsing the message message of the first control message to obtain a message header and a message body; and determining the first control object of the first control message based on the message header.

[0064] In practical applications, the parsing of the first control message may be: first, the first control message is parsed into a message header and a message body, and then the message body may be further parsed to obtain multiple fields contained in the message body. After parsing and obtaining the message header and message body of the first control message, the first control object of the first control message may be determined based on the data in the message header.

[0065] Specifically, the control object information of the control message is carried in the message header, such as UEID (terminal identifier), ric_style_type (service type), etc. This information determines the object of the service and the type of service. In implementation, there is no need to further decode the message header. Control messages with the same code stream (representing the same service for the same object) message header can be considered as the same type of control operations. The duplication or conflict judgment of control messages is only performed in the same type of operation.

[0066] In one implementation, the message body includes at least one field. The process of determining the difference parameter is as follows: Figure 2 As shown. Combined Figure 2 , the determining the difference parameter between the first control message and the second control message may include:

[0067] Step 201: Determine the difference data between the fields included in the message body and the corresponding fields in the second control message.

[0068] In this embodiment, for each field included in the message body, difference data between it and the corresponding field in the second control message, which may also be called a difference rate, may be determined. The amount of difference data obtained is the same as the number of fields included in the message body.

[0069] Step 202: Calculate the difference data based on the weights of each field to obtain the difference parameters between the first control message and the second control message.

[0070] The calculation may be a weighted average calculation, and the weight of each field may be pre-configured with an initial value. During the implementation of the solution, the user may also modify the weight of the field based on scenario requirements. By performing a weighted average calculation on each field of the message body, an overall difference parameter may be obtained, which represents the difference rate between the two control messages.

[0071] The responding to the first control message based on the difference parameter or sending the first control message to the first control object may include: if the difference parameter is less than a first set value, returning a message that the first control message is successfully executed; if the difference parameter is not less than the first set value, sending the first control message to the first control object.

[0072] It can be understood that the larger the difference parameter representing the difference rate, the more differences there are between the first control message and the second control message; the smaller the difference rate, the closer the control operations represented by the first control message and the second control message are. Therefore, a first set value can be calibrated or configured based on experience, and the first set value is used as a threshold. When the difference parameter is less than the first set value, the first control message is considered to be a duplicate message of the second control message, and it will not be executed repeatedly, and a notification message of successful execution will be directly returned to the application that sent the first control message; when the difference parameter is greater than or equal to the first set value, the first control message and the second control message are considered to be different control messages, and the first control message is sent to its corresponding first control object, so that the first control object performs related operations according to the first control message.

[0073] In one implementation, the message body includes at least one field, and may further include a key field matching process before determining the difference parameters between the first control message and the second control message. Figure 3 For the key field matching flow chart disclosed in the embodiment of this application, see Figure 3 As shown, including:

[0074] Step 301: Determine a key field in the message body, where the key field is pre-configured.

[0075] The key field may be a field that has a relatively large impact on the control operation indicated by the control message, such as a field indicating the power on and off of the base station, a field indicating the unloading of the UE, etc. The key field may be pre-determined and configured by the user, and in the subsequent implementation of the solution, a new key field may be added according to the actual situation, or a previously configured key field may be deleted.

[0076] Step 302: Compare the key field with the corresponding key field in the second control message to see if they are the same. If not, proceed to step 303; if so, proceed to step 304.

[0077] Step 303: Send the first control message to the first control object.

[0078] Step 304: Determine a difference parameter between the first control message and the second control message.

[0079] That is, before determining the difference parameters between the first control message and the second control message, you can simply compare whether the key fields of the first control message and the corresponding key fields in the second control message are the same. If the key fields are different, the two control messages are directly considered to be different control messages, and there is no duplication, and they need to be sent to the first control object through the first control message; if the key fields are the same, it is necessary to further determine the difference parameters between other fields and the corresponding fields in the second control message.

[0080] Since the comparison of key fields is simpler and more time-saving than the calculation and determination of difference parameters, the difference parameter calculation of the first control message and the second control message is not performed directly in the present application. Instead, the key fields of the two are first compared. Only when the key fields are the same will the difference parameter calculation of their fields be further performed. When the key fields are different, the first control message is directly sent. Therefore, the overall data calculation amount can be reduced and the processing efficiency can be improved.

[0081] In one implementation, before determining the key fields in the message body, a conflict determination process may also be included. Figure 4 This is a flow chart of conflict judgment disclosed in the embodiment of this application. Figure 4 As shown, conflict determination may include:

[0082] Step 401: Determine whether the content of the message body conflicts with the content of the second control message. If so, proceed to step 402; if not, proceed to step 403.

[0083] Specifically, determining whether the content of the message body conflicts with the content of the second control message may include: determining whether the content of the message body conflicts with the content of the message body of the second control message based on a preset mutually exclusive record table, wherein the mutually exclusive record table records fields or field combinations that have mutually exclusive relationships. The specific implementation of the mutually exclusive table will be introduced in the following embodiments.

[0084] Step 402: Return a message indicating that the execution of the first control message fails.

[0085] Step 403: Determine the key fields in the message body.

[0086] That is, before the key field matching process is performed, the first control message can be firstly judged for conflicts. If the content of the first control message conflicts with that of the second control message, the first control message will not be sent, and the first control message execution failure will be returned; if the content of the first control message does not conflict with that of the second control message, the key field matching process or the process of determining the difference parameters will be performed again.

[0087] In this embodiment, before the key field matching process, the first control message and the second control message are firstly judged for conflict. If there is a conflict between the two, a message indicating that the first control message failed to execute is directly returned, and there is no need to perform subsequent key field matching and calculation of difference parameters, which saves computing costs to a certain extent and helps to further optimize processing efficiency.

[0088] In an implementation where the processing method does not include a key field matching process, the conflict judgment process can also be executed before determining the difference parameters between the first control message and the second control message. This implementation can also achieve the technical effect of optimizing processing efficiency.

[0089] In other implementations, processing messages may also include: deleting control messages whose cache time exceeds the first time. It is understandable that there may be multiple applications on the RIC platform, and it will receive a lot of control messages. It is also impossible to cache all received control messages indefinitely in the application scenario. Therefore, in this implementation, the RIC platform only caches the received control messages for a fixed period of time, such as ten minutes or five minutes, which is configurable; each control message is automatically deleted after the cache time reaches the fixed time.

[0090] In a specific implementation, all fields involved in the control message can be pre-registered in a field table so that the field information can be easily queried at any time during the implementation of the message processing method; at the same time, the mutually exclusive attributes and weights of the fields can be set according to the importance of each field. For example, when a certain field is sent down, if the field or a combination of several fields is inconsistent with the settings in the previous control message, it will cause a conflict. In this case, a conflict mark needs to be set, and the field combination relationship needs to be registered in the combination registration table. An example of a conflict is: the previous control message is a UE unloading operation. If the UE is unloaded and other settings for the UE are performed later, there will be a conflict.

[0091] The information included in the field table may include but is not limited to: field ID, business module, business field, exclusive flag, whether it is a key field, and weight. Examples of field information are as follows:

[0092] 1,format1,DRB ID,true,true,40

[0093] 2,format1,5QI,false,false,50

[0094] The above two lines correspond to 2 fields, the first line is the first field, and the second line is the second field.

[0095] The information included in the mutual exclusion table may include, but is not limited to: mutual exclusion group ID, field ID. An example of mutual exclusion table information is as follows:

[0096] 1,1

[0097] 1, 2

[0098] The above is a mutually exclusive group. The "1" in the first column indicates the mutually exclusive group with ID 1, and the "1" and "2" in the second column are the field IDs that have a mutually exclusive relationship.

[0099] The field table and mutex table are both built-in table items. Except for manual modification, they will not be automatically changed by the program during the business process.

[0100] Figure 5 This is an example diagram of the message processing process disclosed in the embodiment of the present application, in which xAPP represents the application that sends the control message, and conflict resolution represents the message processing module. Figure 5 As shown, in a relatively complete implementation, the process of processing messages may include:

[0101] 1. After receiving the control message, first determine whether it is the same control instruction for the same base station. If so, directly return a success message, but the message will not be sent repeatedly;

[0102] 2. Decode the control message (i.e. parse the message). In the messages with the same control object, determine whether there is a message conflict based on the mutex flag. If there is, return failure directly. If not, proceed to step 3.

[0103] 3. Determine whether the key field has been modified. If it has been modified, directly send the control message without performing steps 4, 5, and 6. If the key field has not changed, continue to repeat the judgment;

[0104] 4. Calculate the difference rate based on each field. If the field with the difference is a numeric value, the difference rate = (ab) / (a+b), which takes a positive value. If the field with the difference is a string, the difference rate is considered to be 1, and the difference rate of the same field is 0. The difference rate value range is [0,1];

[0105] 5. Calculate the average difference rate by weighted average based on the difference rate and weight of each field;

[0106] 6. Compare the calculated average difference rate with the default difference rate (corresponding to the first set value). If the average difference rate is less than the default difference rate, it is considered to be a duplicate message, and success is directly returned without sending the control message. Otherwise, the control message is directly sent.

[0107] Compared with the traditional solution that only supports simple duplicate message verification, the processing method disclosed in the embodiment of the present application supports more detailed conflict judgment and judgment of duplicate messages based on difference parameters, making message processing more accurate and reliable.

[0108] For the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0109] The method is described in detail in the embodiments disclosed in the above-mentioned application. The method of the application can be implemented by various forms of devices. Therefore, the application also discloses a device, and a specific embodiment is given below for detailed description.

[0110] Figure 6 This is a schematic diagram of the structure of a message processing device disclosed in an embodiment of the present application. Figure 6 As shown, the message processing device 60 may include:

[0111] The message obtaining module 601 is used to obtain a first control message.

[0112] The object determination module 602 is used to parse the first control message and determine the first control object of the first control message.

[0113] The difference determination module 603 is used to determine the difference parameters between the first control message and the second control message when there is a second control message whose control object is the same as the first control object, and the second control message is a cached control message, and the acquisition time of the second control message is earlier than the first control message.

[0114] The message processing module 604 is used to respond to the first control message based on the difference parameter or send the first control message to the first control object.

[0115] The message processing device described in the embodiment of the present application will parse the first control message after obtaining it, and determine the difference parameters between the two control messages based on the parsing result, and then perform message processing based on the difference parameters; compared with the traditional solution that only roughly determines whether the control message is completely repeated based on the unparsed message body, this implementation is more detailed, determines the difference parameters between the two control messages involved in the comparison, and its message processing based on the difference parameters is also more precise and reliable.

[0116] In one implementation, the object determination module may be specifically configured to: parse a message message of the first control message to obtain a message header and a message body; and determine a first control object of the first control message based on the message header.

[0117] In one implementation, the message body includes at least one field, and the difference determination module can be specifically used to: determine the difference data between the field contained in the message body and the corresponding field in the second control message; calculate the difference data based on the weight of each field to obtain the difference parameters between the first control message and the second control message.

[0118] In one implementation, the message body includes at least one field, and the device may also include: a key field matching module, used to determine the key field in the message body before determining the difference parameters between the first control message and the second control message, and the key field is pre-configured; compare whether the key field is the same as the corresponding key field in the second control message; if different, send the first control message to the first control object; if the same, determine the difference parameters between the first control message and the second control message.

[0119] In one implementation, the device may also include: a conflict handling module, which is used to determine whether the content of the message body conflicts with the content of the second control message before determining the key fields in the message body; if so, return a message indicating that the first control message has failed to execute; if not, determine the key fields in the message body.

[0120] In one implementation, the conflict handling module may be specifically configured to determine whether the content of the message body conflicts with the content of the message body of the second control message based on a preset mutually exclusive record table, wherein the mutually exclusive record table records fields or field combinations that have mutually exclusive relationships.

[0121] In one implementation, the message processing module can be specifically used to: if the difference parameter is less than a first set value, return a message indicating that the first control message is successfully executed; if the difference parameter is not less than the first set value, send the first control message to the first control object.

[0122] In one implementation, the device may further include: a cache management module, configured to delete control messages whose cache time exceeds the first time.

[0123] The specific implementation of the above-mentioned message processing device and the modules it contains, as well as other possible implementations, can be found in the corresponding parts of the method embodiment, which will not be repeated here.

[0124] Any one of the message processing devices described in the above embodiments includes a processor and a memory. The message acquisition module, object determination module, difference determination module, message processing module, key field matching module, conflict processing module, cache management module, etc. in the above embodiments are all stored in the memory as program modules, and the processor executes the above program modules stored in the memory to implement corresponding functions.

[0125] The processor includes a kernel, which retrieves the corresponding program module from the memory. One or more kernels can be set, and the processing of the access data can be realized by adjusting the kernel parameters.

[0126] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0127] In an exemplary embodiment, a computer-readable storage medium is also provided, which can be directly loaded into the internal memory of a computer and contains software code. After being loaded and executed by a computer, the computer program can implement the steps shown in any embodiment of the above-mentioned message processing method.

[0128] In an exemplary embodiment, a computer program product is also provided, which can be directly loaded into the internal memory of a computer and contains software codes. After being loaded and executed by a computer, the computer program can implement the steps shown in any embodiment of the message processing method described above.

[0129] Furthermore, an embodiment of the present application provides a server. Figure 7 This is a schematic diagram of the structure of a server disclosed in an embodiment of the present application. Figure 7 As shown, the server includes at least one processor 701, and at least one memory 702 and a bus 73 connected to the processor; wherein the processor and the memory communicate with each other through the bus; the processor is used to call the program instructions in the memory to execute the above-mentioned message processing method.

[0130] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0131] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0132] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0133] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A message processing method, comprising: Obtaining a first control message; Parsing the first control message to determine a first control object of the first control message; If there is a second control message having the same control object as the first control object, determining a difference parameter between the first control message and the second control message, the second control message being a cached control message, and the second control message being obtained earlier than the first control message; The first control message is responded to based on the difference parameter or the first control message is sent to the first control object.

2. The message processing method according to claim 1, wherein parsing the first control message and determining the first control object of the first control message comprises: Parsing the message message of the first control message to obtain a message header and a message body; A first control object of the first control message is determined based on the message header.

3. The message processing method according to claim 2, wherein the message body comprises at least one field, and the determining of the difference parameter between the first control message and the second control message comprises: Determine difference data between fields included in the message body and corresponding fields in the second control message; The difference data is calculated based on the weights of the various fields to obtain a difference parameter between the first control message and the second control message.

4. The message processing method according to claim 2, wherein the message body includes at least one field, and before determining the difference parameter between the first control message and the second control message, further comprising: Determining a key field in the message body, wherein the key field is preconfigured; Comparing whether the key field is the same as a corresponding key field in the second control message; If they are different, sending the first control message to the first control object; If they are the same, determine the difference parameter between the first control message and the second control message.

5. The message processing method according to claim 4, before determining the key fields in the message body, further comprising: Determining whether the content of the message body conflicts with the content of the second control message; If yes, return a message indicating that the execution of the first control message failed; If not, determine the key fields in the message body.

6. The message processing method according to claim 5, wherein the step of determining whether the content of the message body conflicts with the content of the second control message comprises: Whether the content of the message body conflicts with the content of the message body of the second control message is determined based on a preset mutually exclusive record table, wherein the mutually exclusive record table records fields or field combinations that have a mutually exclusive relationship.

7. The message processing method according to claim 1, wherein responding to the first control message based on the difference parameter or sending the first control message to the first control object comprises: If the difference parameter is less than the first set value, returning a message that the first control message is successfully executed; If the difference parameter is not less than the first set value, the first control message is sent to the first control object.

8. The message processing method according to claim 1, further comprising: Delete the control message whose cache time exceeds the first time.

9. A message processing device, comprising: A message obtaining module, used for obtaining a first control message; an object determination module, configured to parse the first control message and determine a first control object of the first control message; a difference determination module, configured to determine a difference parameter between the first control message and the second control message when there is a second control message having the same control object as the first control object, the second control message being a cached control message, and the second control message being obtained earlier than the first control message; A message processing module is used to respond to the first control message based on the difference parameter or send the first control message to the first control object.

10. A server comprising at least one processor and a memory connected to the processor, wherein: The memory is used to store computer programs; The processor is used to execute the computer program so that the electronic device can implement the message processing method as described in any one of claims 1 to 8.