Message status determination method, device, computer readable medium and electronic device
By determining the message type and generating keywords, and determining the priority order of logistics messages based on message status, the problem of chaotic message sorting in the warehousing system is solved, and business execution efficiency and customer experience are improved.
Patent Information
- Application Number
- CN202010010660.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-01-06
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2040-01-06
AI Technical Summary
In the field of logistics, the priority ordering between different types of messages in the warehousing system is chaotic, resulting in low business execution efficiency, poor customer experience, and impact on unrelated businesses.
By determining the message type and preset priority configuration information, message keywords are generated, and the message status is determined based on the message keywords and forwarding process to ensure that messages are forwarded in priority order and reduce system confusion.
It improves the orderliness between messages, improves business execution efficiency, reduces the impact on unrelated businesses, and ensures that messages are processed in the correct order.
Smart Images

Figure CN113076202B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a message status determination method, a message status determination device, a computer-readable medium, and an electronic device. Background Art
[0002] In the field of logistics, messages about goods can generally be used to indicate the current transportation progress of the goods. Goods can be effectively managed through the circulation of messages between different warehousing systems. Generally speaking, a commodity can correspond to multiple messages related to it, such as shipping messages, picking messages, and transportation messages. For warehousing systems, corresponding operations are usually performed based on the received commodity-related messages, such as picking operations. There is usually a sequence between multiple commodity-related messages. For example, goods need to be shipped before being transported. Therefore, the priority of shipping messages should be higher than that of transportation messages. If the priority of the message received first by the warehousing system or the client is lower than that of the message received later, it will cause a certain degree of confusion to the warehousing system or the client, which will lead to a series of problems such as poor customer experience.
[0003] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0004] The purpose of the present disclosure is to provide a message status determination method, a message status determination device, a computer-readable medium and an electronic device, which can reduce the impact of messages on a storage system or a client to a certain extent, improve the orderliness between multiple messages, and thereby improve the execution efficiency of message-related businesses and reduce the impact on other businesses not related to the message.
[0005] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.
[0006] A first aspect of the present disclosure provides a message status determination method, comprising:
[0007] Determine the message type of the current message, and obtain priority configuration information corresponding to the message type according to the preset message type configuration; wherein the priority configuration information is used to characterize the forwarding order of messages corresponding to different message types;
[0008] Generate a message keyword according to the message number and priority configuration information of the current message;
[0009] The message status of the current message is determined according to the message keyword and the message forwarding process. The message status includes a waiting state and an execution state.
[0010] In an exemplary embodiment of the present disclosure, determining the message type of the current message includes:
[0011] Receive real-time messages and update the message queue according to the real-time messages;
[0012] Determine the current message to be processed from the updated message queue;
[0013] Get the current message and read the message type corresponding to the current message.
[0014] In an exemplary embodiment of the present disclosure, before obtaining priority configuration information corresponding to a message type according to a preset message type configuration, the method may further include the following steps:
[0015] Match the preset message type configuration with the message type;
[0016] If the matching result is not empty, the above-mentioned configuration according to the preset message type is executed to obtain the priority configuration information corresponding to the message type;
[0017] If the matching result is empty, the current message is forwarded.
[0018] In an exemplary embodiment of the present disclosure, a message keyword is generated according to the message number and priority configuration information of the current message, including:
[0019] concatenate the message number and priority configuration information of the current message, and determine the concatenation result as the message keyword; or,
[0020] The character string corresponding to the message number and priority configuration information of the current message is calculated according to the preset expression as the message keyword.
[0021] In an exemplary embodiment of the present disclosure, determining the message status of the current message according to the message keyword and the message forwarding process includes:
[0022] A message forwarding process corresponding to the message keyword is determined, and a message state of the current message is determined according to a matching degree between the message forwarding process and the priority configuration information.
[0023] In an exemplary embodiment of the present disclosure, determining the message status of the current message according to the matching degree between the message forwarding process and the priority configuration information includes:
[0024] Determine a count value representing a message forwarding process and a priority level of a current message in the priority configuration information;
[0025] Calculate the difference between the count value and the priority level;
[0026] If the difference meets the preset condition, the message state of the current message is determined to be the execution state; if the difference does not meet the preset condition, the message state of the current message is determined to be the waiting state.
[0027] In an exemplary embodiment of the present disclosure, after determining the message status of the current message according to the message keyword and the message forwarding process, the method may further include the following steps:
[0028] If the message status is execution status, forward the current message and update the message forwarding process;
[0029] If the message state is in the waiting state, the current message is added to the message waiting queue, and the current message is forwarded when the message state is converted from the waiting state to the execution state.
[0030] According to a second aspect of the present disclosure, a message status determination device is provided, comprising a message type determination unit, a priority configuration acquisition unit, an information combination unit, and a message status determination unit, wherein:
[0031] A message type determination unit, used to determine the message type of the current message;
[0032] A priority configuration acquisition unit, configured to acquire priority configuration information corresponding to a message type according to a preset message type configuration; wherein the priority configuration information is used to characterize the forwarding order of messages corresponding to different message types;
[0033] An information combination unit, used to generate a message keyword according to the message number and priority configuration information of the current message;
[0034] The message status determination unit is used to determine the message status of the current message according to the message keyword and the message forwarding process. The message status includes a waiting state and an execution state.
[0035] In an exemplary embodiment of the present disclosure, the message type determining unit may determine the message type of the current message in the following manner:
[0036] The message type determination unit receives the real-time message and updates the message queue according to the real-time message;
[0037] The message type determination unit determines the current message to be processed from the updated message queue;
[0038] The message type determination unit obtains the current message and reads the message type corresponding to the current message.
[0039] In an exemplary embodiment of the present disclosure, the above-mentioned device may further include a message type matching unit and a message forwarding unit, wherein:
[0040] A message type matching unit, configured to match a preset message type configuration with a message type before the priority configuration acquiring unit acquires the priority configuration information corresponding to the message type according to the preset message type configuration;
[0041] A priority configuration acquisition unit, specifically used to acquire priority configuration information corresponding to a message type according to a preset message type configuration when the matching result is not empty;
[0042] The message forwarding unit is used to forward the current message when the matching result is empty.
[0043] In an exemplary embodiment of the present disclosure, the information combination unit may generate a message keyword according to the message number and priority configuration information of the current message in the following manner:
[0044] The information combination unit combines the message number and the priority configuration information of the current message, and determines the combination result as the message keyword; or,
[0045] The information combination unit calculates the message number of the current message and the character string corresponding to the priority configuration information according to the preset expression as the message keyword.
[0046] In an exemplary embodiment of the present disclosure, the message status determining unit determines the message status of the current message according to the message keyword and the message forwarding process in the following manner:
[0047] The message status determination unit determines a message forwarding process corresponding to a message keyword, and determines a message status of a current message according to a matching degree between the message forwarding process and priority configuration information.
[0048] In an exemplary embodiment of the present disclosure, the message status determination unit determines the message status of the current message according to the matching degree between the message forwarding process and the priority configuration information in the following manner:
[0049] The message status determination unit determines a count value representing a message forwarding process and a priority level of the current message in the priority configuration information;
[0050] The message status determination unit calculates a difference between the count value and the priority level;
[0051] If the difference meets the preset condition, the message state determination unit determines the message state of the current message as the execution state; if the difference does not meet the preset condition, the message state determination unit determines the message state of the current message as the waiting state.
[0052] In an exemplary embodiment of the present disclosure, the above-mentioned device may further include the following message forwarding process updating unit and message queue updating unit, wherein:
[0053] The message forwarding unit is further used to forward the current message after the message state determination unit determines the message state of the current message according to the message keyword and the message forwarding process, and when the message state is an execution state;
[0054] A message forwarding process updating unit, used for updating the message forwarding process;
[0055] The message queue updating unit is used to add the current message to the message waiting queue when the message state is the waiting state, and forward the current message when the message state is converted from the waiting state to the execution state.
[0056] According to a third aspect of the present disclosure, a computer-readable medium is provided, on which a computer program is stored. When the program is executed by a processor, the message status determination method as described in the first aspect of the above embodiment is implemented.
[0057] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising: one or more processors; a storage device for storing one or more programs, which, when the one or more programs are executed by the one or more processors, enables the one or more processors to implement the message status determination method as described in the first aspect of the above embodiment.
[0058] The technical solution provided by the present disclosure may have the following beneficial effects:
[0059] In the technical solutions provided by some embodiments of the present disclosure, the message type (e.g., picking) of the current message (e.g., picking message) can be determined, and the priority configuration information corresponding to the message type (picking message-shipping message-transportation message-receiving message) can be obtained according to the preset message type configuration; wherein the priority configuration information is used to characterize the forwarding order of messages corresponding to different message types, so that they can be forwarded to the corresponding terminal or server according to the forwarding order; further, a message keyword (e.g., 19965733221 transportation message) can be generated according to the message number of the current message (e.g., 19965733221) and the priority configuration information; further, the message status of the current message can be determined according to the message keyword and the message forwarding process (e.g., shipped) to determine whether the current message matches the message forwarding, wherein the message status includes a waiting state and an execution state. According to the above scheme description, on the one hand, the present disclosure can reduce the impact of messages on the warehousing system or client to a certain extent, improve the orderliness between multiple messages, thereby improving the execution efficiency of message-related businesses and reducing the impact on other businesses not related to the message; on the other hand, it can sort the priorities between different messages, facilitate the subsequent forwarding of messages in sequence according to the sorting results, and reduce the mutual impact between different businesses, wherein multiple messages can correspond to one business, for example, the business of transporting commodity A from a first location to a second location can correspond to picking messages, shipping messages, transportation messages, and receiving messages, etc.
[0060] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present disclosure, and together with the specification, are used to explain the principles of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0062] Figure 1 A schematic diagram showing a flow chart of a method for determining a message status according to an exemplary embodiment of the present disclosure is shown;
[0063] Figure 2 A schematic flow chart of another method for determining a message status according to an exemplary embodiment of the present disclosure is shown;
[0064] Figure 3 A schematic diagram of a module for executing a message status determination method according to an exemplary embodiment of the present disclosure is shown;
[0065] Figure 4 A schematic diagram of module application for executing a message status determination method according to an exemplary embodiment of the present disclosure is shown;
[0066] Figure 5 A structural block diagram of a message status determination device according to an exemplary embodiment of the present disclosure is shown;
[0067] Figure 6 A schematic diagram of the structure of a computer system suitable for implementing an electronic device according to an exemplary embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0068] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be more comprehensive and complete and will fully convey the concept of the example embodiments to those skilled in the art.
[0069] In addition, the described features, structures or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known methods, devices, implementations or operations are not shown or described in detail to avoid blurring the various aspects of the present disclosure.
[0070] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0071] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0072] See also Figure 1 , Figure 1 A flow chart of a method for determining a message status according to an exemplary embodiment of the present disclosure is shown. The method for determining a message status may be implemented by a server or a terminal device.
[0073] like Figure 1As shown, according to an embodiment of the present disclosure, a method for determining a message status includes the following steps S110, S120, and S130, wherein:
[0074] Step S110: Determine the message type of the current message, and obtain priority configuration information corresponding to the message type according to a preset message type configuration; wherein the priority configuration information is used to characterize the forwarding order of messages corresponding to different message types.
[0075] Step S120: Generate a message keyword according to the message number and priority configuration information of the current message.
[0076] Step S130: Determine the message status of the current message according to the message keyword and the message forwarding process, where the message status includes a waiting state and an execution state.
[0077] The following is a detailed description of each step:
[0078] In step S110, the message type of the current message is determined, and priority configuration information corresponding to the message type is obtained according to the preset message type configuration; wherein the priority configuration information is used to characterize the forwarding order of messages corresponding to different message types.
[0079] Among them, the current message can be used to characterize the current pending message corresponding to the business, and the business can be a logistics business, such as transporting commodity A from a first location to a second location. The preset message type configuration can be used to indicate the priority between the message types corresponding to multiple messages of the same business. The priority can indicate the execution priority or the forwarding priority. The preset message type configuration includes the mapping relationship between the message type and the priority configuration information. The message type and the priority configuration information can be stored and queried in a key-value manner, that is, the message type is the key and the priority configuration information is the value. The priority configuration message corresponds to one or more messages, and the above-mentioned current message can be any one of the one or more messages. The message type is used to distinguish different message contents. The same message type can correspond to multiple messages in different businesses. The message types of each message in the same business can be different or partially different. In addition, the message contents of each message in the same business can be the same, different, or partially the same, which is not limited by the embodiments of the present disclosure.
[0080] For example, if the message content of the current message a-1-2 is: Product A is shipped from the first warehouse; the message number of Product A is 1, and the message type of Product A is a shipping message. The priority configuration information corresponding to the current message a-1-2 in the preset message type may be: a-1-1 has a higher priority than a-1-2.
[0081] In the embodiment of the present disclosure, optionally, determining the message type of the current message includes:
[0082] Receive real-time messages and update the message queue according to the real-time messages;
[0083] Determine the current message to be processed from the updated message queue;
[0084] Get the current message and read the message type corresponding to the current message.
[0085] The real-time message may be any message in any task.
[0086] Specifically, the method of receiving real-time messages and updating the message queue according to the real-time messages can be: receiving real-time messages (such as message a-1-2, message a-1-1, message a-2-1, message a-2-2, message a-2-3, etc.) through the information receiving module; adding the received real-time messages to the message queue to update the message queue, or adding the received real-time messages to the message queue of the same message type according to the message type to update the message queue, or adding the received real-time messages to the message queue of the same message number according to the message number to update the message queue.
[0087] Specifically, the method of determining the current message to be processed from the updated message queue may be: according to the position of the current message in the message queue, the next message of the current message is determined in sequence as the current message to be processed.
[0088] Specifically, the method of obtaining the current message and reading the message type corresponding to the current message may be: obtaining the message content of the current message and the related information corresponding to the current message;
[0089] It can be seen that the implementation of this optional embodiment can improve the execution efficiency of the business by continuously updating the message queue.
[0090] In the embodiment of the present disclosure, optionally, before obtaining the priority configuration information corresponding to the message type according to the preset message type configuration, the method may further include the following steps:
[0091] Match the preset message type configuration with the message type;
[0092] If the matching result is not empty, the above-mentioned configuration according to the preset message type is executed to obtain the priority configuration information corresponding to the message type;
[0093] If the matching result is empty, the current message is forwarded.
[0094] Among them, if the matching result is empty, it can be understood that there is no matching result; if the matching result is not empty, it can be understood that there is a matching result. If the matching result is empty, it means that the service corresponding to the current message has only the current message, so the current message does not have the corresponding priority configuration information.
[0095] It can be seen that by implementing this optional embodiment, current messages can be distinguished according to priority configuration information, and current messages without priority configuration information can be output in a timely manner, thereby improving the processing efficiency of services.
[0096] In step S120, a message keyword is generated according to the message number and priority configuration information of the current message.
[0097] Among them, the message number of the current message can not only be used to distinguish the current message from other messages, but also be used to characterize the type of business corresponding to the current message. For example, the business corresponding to the current message "shipping from bonded warehouse" is "transporting diving suits from area A to area B", which belongs to the type of "apparel".
[0098] In the disclosed embodiment, optionally, the method of generating a message keyword according to the message number and priority configuration information of the current message can also be: determining a first numerical value corresponding to the message number of the current message according to a first mapping relationship, and determining a second numerical value corresponding to the priority configuration information of the current message according to a second mapping relationship, and calculating a weighted sum of the first numerical value and the second numerical value, and determining the weighted sum result as the message keyword. In this way, the numerical values corresponding to the message number and the priority configuration information can be determined by matching the mapping relationship, which is conducive to improving the efficiency of determining the message keyword, thereby improving the problem of out-of-order message sending.
[0099] In the embodiment of the present disclosure, optionally, generating a message keyword according to the message number and priority configuration information of the current message includes:
[0100] concatenate the message number and priority configuration information of the current message, and determine the concatenation result as the message keyword; or,
[0101] The character string corresponding to the message number and priority configuration information of the current message is calculated according to the preset expression as the message keyword.
[0102] The message keyword is used to uniquely represent the service corresponding to the current message in the form of a string, and the message keyword can be represented in binary, decimal, hexadecimal, etc., which is not limited in the embodiment of the present disclosure. In addition, the string can also be a hash value.
[0103] Specifically, the message number and priority configuration information of the current message are concatenated, and the concatenation result is determined as the message keyword. It can be understood that if the message number is 1 and the character string corresponding to the priority configuration information is 123, then the concatenation result can be 1123.
[0104] And, for the above-mentioned calculation of the message number and the character string corresponding to the priority configuration information of the current message according to the preset expression as the message keyword, wherein the preset expression can be: ψ is the message keyword, x i is the message number of the current message, y i is the character string corresponding to the priority configuration information of the current message (eg, 10011), b is a constant, i∈[1, N], N is a positive integer, and N is used to represent the number of processed messages.
[0105] In addition, optionally, the message number and priority configuration information of the current message are concatenated, and the concatenation result is determined as the message keyword in the following manner:
[0106] The message number of the current message and the character string corresponding to the priority configuration information are partially spliced together, and the splicing result is determined as the message keyword; for example, the message number can be 123, and the character string corresponding to the priority configuration information can be 456, then the splicing result can be 142563, 124536, 142356, etc., which is not limited to the embodiments of the present disclosure.
[0107] It can be seen that by implementing this optional embodiment, it is more efficient to determine the message keyword by splicing. Determining the message keyword by preset expression can ensure the uniqueness of the message keyword to a certain extent, so that one business corresponds to one message keyword, reducing the mutual influence between different businesses.
[0108] In step S130, the message status of the current message is determined according to the message keyword and the message forwarding process, and the message status includes a waiting state and an execution state.
[0109] Among them, the message status of the current message is used to indicate whether the terminal or server performs operations related to the current message, such as forwarding the current message; among them, the waiting state is used to indicate that the terminal or server does not perform operations related to the current message, and the execution state is used to indicate that the terminal or server performs operations related to the current message. In addition, in addition to the waiting state and the execution state, the message status can also include an abnormal state, which is used to characterize that the current message is an abnormal message and cannot be added to the waiting queue or forwarded. When the message status of the current message is an abnormal state, the current message and a prompt message for prompting that the current message needs to be manually processed can be output.
[0110] In the embodiment of the present disclosure, optionally, determining the message status of the current message according to the message keyword and the message forwarding process includes:
[0111] A message forwarding process corresponding to the message keyword is determined, and a message state of the current message is determined according to a matching degree between the message forwarding process and the priority configuration information.
[0112] The message forwarding process is used to represent the completion degree / execution progress of the business corresponding to the current message. When applied to the logistics field, it can represent the delivery progress of the goods. The message forwarding process can be represented by a numerical value (e.g., 2), and the matching degree between the message forwarding process and the priority configuration information can also be represented by a numerical value (e.g., 3).
[0113] It can be seen that by implementing this optional embodiment, it is possible to determine whether the current message should be forwarded through the message forwarding process, so as to improve the orderliness between multiple messages corresponding to the business and reduce the mutual influence between different businesses.
[0114] Further, the message state of the current message is determined according to the matching degree between the message forwarding process and the priority configuration information, including:
[0115] Determine a count value representing a message forwarding process and a priority level of a current message in the priority configuration information;
[0116] Calculate the difference between the count value and the priority level (eg, 0);
[0117] If the difference meets the preset condition, the message state of the current message is determined to be the execution state; if the difference does not meet the preset condition, the message state of the current message is determined to be the waiting state.
[0118] Among them, the priority level is used to indicate the execution order of the message type of the current message in the priority configuration information. In the embodiment of the present disclosure, if the priority level is 2, the execution order of the current message in the multiple messages corresponding to the service should be the second, and the execution order of the message with a priority level of 3 is later than the message with a priority level of 2. The preset condition specifies the condition for determining the message status of the current message. The preset condition may include a fixed value or a value range, which is not limited in the embodiment of the present disclosure.
[0119] Specifically, the method for determining the count value characterizing the message forwarding process may be: detecting the current data of the counter, and determining the current data as the count value characterizing the message forwarding process. In the embodiment of the present disclosure, the current data of the counter and the priority configuration information may be stored in a key-value manner, that is, the priority configuration information is the key and the current data is the value.
[0120] It can be seen that by implementing this optional embodiment, the message status of the current message can be determined through preset conditions, and then the current message can be processed according to the message status to improve the orderliness between multiple messages corresponding to the business.
[0121] In the embodiment of the present disclosure, optionally, after determining the message status of the current message according to the message keyword and the message forwarding process, the method may further include the following steps:
[0122] If the message status is execution status, forward the current message and update the message forwarding process;
[0123] If the message state is in the waiting state, the current message is added to the message waiting queue, and the current message is forwarded when the message state is converted from the waiting state to the execution state.
[0124] Among them, the message waiting queue includes one or more messages to be forwarded. When there is a message in the message waiting queue whose corresponding priority level matches the message forwarding process corresponding to the message, the message state of the message is changed from the waiting state to the execution state to forward the message.
[0125] Specifically, the message forwarding process may be updated by: increasing the current value of the counter by N through an update instruction, where N is a positive integer.
[0126] It can be seen that the implementation of this optional embodiment can increase the orderliness between multiple messages, reduce the mutual influence between different services, and thus improve the processing efficiency of the services.
[0127] It can be seen that implementation Figure 1 The message status determination method shown can reduce the impact of messages on the warehousing system or client to a certain extent, improve the orderliness between multiple messages, thereby improving the execution efficiency of message-related businesses and reducing the impact on other businesses not related to the message; and, by sorting the priorities between different messages, it is convenient to forward the messages in sequence according to the sorting results, thereby reducing the mutual impact between different businesses.
[0128] See also Figure 2 , Figure 2 FIG. 2 is a flow chart showing another method for determining a message status according to an exemplary embodiment of the present disclosure. Figure 2 Another message status determination method may include steps S200 to S230, wherein:
[0129] Step S200: receiving a real-time message and updating a message queue according to the real-time message.
[0130] Step S202: Determine the current message to be processed from the updated message queue.
[0131] Step S204: Get the current message and read the message type corresponding to the current message.
[0132] Step S206: Match the preset message type configuration with the message type. If the matching result is not empty, execute step S208; if the matching result is empty, execute step S210.
[0133] Step S208: Obtain priority configuration information corresponding to the message type according to the preset message type configuration.
[0134] Step S210: forward the current message.
[0135] Step S212: Obtain priority configuration information corresponding to the message type according to the preset message type configuration; wherein the priority configuration information is used to characterize the forwarding order of messages corresponding to different message types.
[0136] Step S214: concatenate the message number and priority configuration information of the current message, and determine the concatenation result as the message keyword.
[0137] Step S216: Calculate the character string corresponding to the message number and priority configuration information of the current message according to the preset expression as the message keyword.
[0138] Step S218: Determine the message forwarding process corresponding to the message keyword.
[0139] Step S220: Determine a count value representing the message forwarding process and a priority level of the current message in the priority configuration information.
[0140] Step S222: Calculate the difference between the count value and the priority level. If the difference meets the preset condition, execute step S224; if the difference does not meet the preset condition, execute step S226.
[0141] Step S224: determine the message state of the current message as the execution state, and execute step S228.
[0142] Step S226: Determine the message status of the current message as the waiting state, and execute step S230
[0143] Step S228: forward the current message and update the message forwarding process.
[0144] Step S230: adding the current message to the message waiting queue, and forwarding the current message when the message state is converted from the waiting state to the execution state.
[0145] Specifically, the real-time message may be a logistics message. There may be multiple logistics messages about a commodity, such as acceptance messages, picking messages, shipping messages, transportation messages, harvesting messages, etc. Therefore, the real-time message may be received by a terminal or a server. The real-time messages received within a period of time may be multiple logistics messages for a commodity, or multiple logistics messages for multiple commodities respectively, which is not limited in the embodiments of the present disclosure. Furthermore, the message queue may be updated according to the received real-time message. For example, the real-time message may be added to the message queue as the last message in the message queue. Then, the message queue with the real-time message added may be used as an updated message queue for the terminal or server to obtain messages. The obtained message may be used as the current message to be processed. The current message may be a newly added real-time message, or a message obtained in sequence according to the order of the message queue. Furthermore, the current message can be obtained and the message type corresponding to the current message can be read. According to the message type, it can be determined from the preset message type configuration whether there is a matching priority configuration information. If yes, it means that the matching result is not empty, that is, the priority configuration information corresponding to the message type can be obtained according to the preset message type configuration; if not, it means that the matching result is empty, that is, the current message can be forwarded to the next message processing device / system; further, the priority configuration information corresponding to the message type can be obtained according to the preset message type configuration, and the priority order of the current message can be determined according to the priority configuration information. Furthermore, the message number and priority configuration information of the current message can be spliced, and the splicing result can be determined as the message keyword; or, the message number of the current message and the string corresponding to the priority configuration information can be calculated according to a preset expression (such as message number*5+the string corresponding to the priority configuration information) as the message keyword. Furthermore, the message forwarding process corresponding to the message keyword can be determined. The message forwarding process is used to characterize the completion degree of the business corresponding to the current message. For example, the business is "transporting commodity A from area A to area B", which can include the messages: picking up goods from the warehouse, sending out commodity A, commodity A leaving area A, commodity A arriving at area B, and the goods have been delivered. The current message is "sending commodity A", and the message forwarding process corresponding to the message keyword "10011" is "2" (that is, the count value characterizing the message forwarding process determined above, here, the count value is 2), then it can be indicated that the message forwarding process corresponds to the current message, that is, the current message can be forwarded. Furthermore, the priority level of the current message in the priority configuration information can also be determined. For example, the current message is "sending commodity A" and is the second message in the messages included in the business. Then it can be understood that the priority level of the current message is 2, which is higher than the message "commodity A leaves area A" and lower than the message "picking up goods from the warehouse".Furthermore, the difference between the count value and the priority level can be calculated. For example, if the priority level of the current message is 2 and the message forwarding process is 2, then the difference between the count value and the priority level is 0. If the difference meets the preset condition (e.g., the difference should be 0), the message state of the current message is determined to be the execution state, and the current message is forwarded to the next business processing device / system. If the difference does not meet the preset condition, the message state of the current message is determined to be the waiting state, and the current message is added to the message waiting queue, and the current message is forwarded when the message state is converted from the waiting state to the execution state.
[0146] It can be seen that implementation Figure 2 The message status determination method shown can reduce the impact of messages on the warehousing system or client to a certain extent, improve the orderliness between multiple messages, thereby improving the execution efficiency of message-related businesses and reducing the impact on other businesses not related to the message; and, by sorting the priorities between different messages, it is convenient to forward the messages in sequence according to the sorting results, thereby reducing the mutual impact between different businesses.
[0147] See also Figure 3 , Figure 3 A schematic diagram of a module for executing a message status determination method according to an exemplary embodiment of the present disclosure is shown. The module for executing the message status determination method may include a message receiving module 301, a message filtering module 302, a message configuration module 303, and a message counting module 304, wherein:
[0148] The message receiving module 301 is used to receive real-time messages and update the message queue according to the real-time messages, and determine the current message to be processed from the updated message queue.
[0149] The message filtering module 302 is used to obtain the current message and read the message type corresponding to the current message, and call the preset message type configuration in the message configuration module 303 to match the message type; and, according to the preset message type configuration, obtain the priority configuration information corresponding to the message type; and, according to the preset message type configuration, obtain the priority configuration information corresponding to the message type; and, forward the current message.
[0150] The message configuration module 303 is used for the message filtering module 302 to call preset message type configuration.
[0151] The message counting module 304 is used to concatenate the message number and priority configuration information of the current message, and determine the concatenation result as the message keyword; and, calculate the character string corresponding to the message number and priority configuration information of the current message according to a preset expression as the message keyword; and, determine the message forwarding process corresponding to the message keyword; and, determine the count value representing the message forwarding process and the priority level of the current message in the priority configuration information; and, calculate the difference between the count value and the priority level; and, determine the message state of the current message as the execution state; and, determine the message state of the current message as the waiting state; and, update the message forwarding process.
[0152] It can be seen that implementation Figure 3 The module shown for executing the message status determination method can reduce the impact of messages on the warehousing system or client to a certain extent, improve the orderliness between multiple messages, thereby improving the execution efficiency of message-related businesses and reducing the impact on other businesses not related to the message; and, by sorting the priorities between different messages, it is convenient to forward the messages in sequence according to the sorting results, thereby reducing the mutual impact between different businesses.
[0153] See also Figure 4 , Figure 4 FIG. 1 shows a schematic diagram of a module application for executing a message status determination method according to an exemplary embodiment of the present disclosure. Figure 3 Similarly, in Figure 4 In the method, the modules for executing the message status determination method include a message receiving module 401, a message filtering module 402, a message configuration module 403 and a message counting module 404. Specifically, the message receiving module 401 may include message a-1-2 4011, message a-1-1 4012, message a-2-1 4013, message a-2-2 4014, ..., message a-3-1 4015, message a-3-3 4016 and message a-3-2 4017; wherein the message type of message a-1-2 4011 is A2, and the message number is 1; the message type of message a-1-1 4012 is A1, and the message number is 1; the message type of message a-2-1 4013 is A1, and the message number is 2; the message type of message a-2-2 4014 is A2, and the message number is 2; the message type of message a-3-1 4015 is Z1, and the message number is 3; the message type of message a-3-3 4016 is Z3, and the message number is 3; The message type of 4017 is Z2 and the message number is 3. In addition, it should be noted that the above messages are Figure 4 The corresponding numbers in the message are only used to distinguish the differences between messages. The importance and priority of the message are Figure 4The order of the winning bids is irrelevant.
[0154] The message filtering module 402 includes steps S4021 to S4027. It should be noted that the embodiment of the present disclosure does not limit the execution order relationship between any two steps in steps S4021 to S4027, and there may be one or more steps between any two steps in steps S4021 to S4027, which is also not limited in the embodiment of the present disclosure. Among them:
[0155] Step S4021: Receive the current message and determine the message type of the current message.
[0156] Step S4022: Determine whether the message type exists, if yes, execute step S4023; if no, execute step S4026.
[0157] Step S4023: Obtain priority configuration information corresponding to the message type according to the preset message type configuration.
[0158] Step S4024: Determine a count value representing the message forwarding process.
[0159] Step S4025: Send a count update indication to the message counting module 404, and execute step S4045.
[0160] Step S4026: Forward the current message.
[0161] Step S4027: Output a prompt message indicating an abnormality and wait for the message to be retried.
[0162] The message counting module 404 includes steps S4041 to S4047. It should be noted that the embodiment of the present disclosure does not limit the execution order relationship between any two steps in steps S4041 to S4047, and there may be one or more steps between any two steps in steps S4041 to S4047, which is also not limited in the embodiment of the present disclosure. Among them:
[0163] Step S4041: Obtain the current message and the priority level of the current message in the priority configuration information.
[0164] Step S4042: concatenate the message number and priority configuration information of the current message, and determine the concatenation result as the message keyword.
[0165] Step S4043: Determine whether the keyword exists, if yes, execute step S4044; if no, execute step S4045.
[0166] Step S4044: Determine whether the count value representing the message forwarding process corresponding to the current message matches the priority configuration information. If yes, execute step S4046; if not, execute step S4047.
[0167] Step S4045: Increase the count value representing the message forwarding process by 1.
[0168] Step S4046: Determine the message state of the current message as the execution state.
[0169] Step S4047: Determine the message status of the current message as a waiting state.
[0170] Specifically, the message receiving module 401 can receive message a-1-2 4011, message a-1-1 4012, message a-2-1 4013, message a-2-2 4014, ..., message a-3-1 4015, message a-3-3 4016 and message a-3-2 4017. The message filtering module 402 can receive the current message (e.g., message a-1-2 4011) sent by the message receiving module 401, and determine the message type of the current message; further, it can be determined whether the message type exists, if so, priority configuration information corresponding to the message type can be obtained according to the preset message type configuration 4031 in the message configuration module 403 and a count value representing the message forwarding process can be determined, and the count value can be obtained by detecting the counter; if not, it means that there is no priority order between the current message and other messages, that is, the service corresponding to the current message has and only has the current message, and the current message can be directly forwarded. The message counting module 404 can obtain the current message and the priority level in the current message priority configuration information according to the current message and the corresponding priority configuration information obtained in the message filtering module, and splice the message number and the priority configuration information of the current message, and determine the splicing result as the message keyword, and then determine whether the message keyword exists. If it exists, it is determined whether the count value representing the message forwarding process corresponding to the current message matches the priority configuration information. If it matches, the message state of the current message is determined to be the execution state and step S4025 is executed. If it does not match, the message state of the current message is determined to be the waiting state and step S4027 is executed. If it does not exist, the count value representing the message forwarding process is increased by 1, that is, the counter is increased by 1.
[0171] In addition, illustratively, the current message being forwarded may be message a-1-1 4012 and message a-1-2 4011, message a-2-1 4013 and message a-2-2 4014, message a-2-2 4014, message a-3-2 4017, and message a-3-3 4016 arranged in order of priority.
[0172] It can be seen that implementation Figure 4 The module application diagram shown in the figure for executing the message status determination method can reduce the impact of messages on the warehousing system or client to a certain extent, improve the orderliness between multiple messages, thereby improving the execution efficiency of message-related businesses and reducing the impact on other businesses not related to the message; and, by sorting the priorities between different messages, it is convenient to forward the messages in sequence according to the sorting results, thereby reducing the mutual impact between different businesses.
[0173] See also Figure 5 , Figure 5 The structural block diagram of a message status determination device according to an exemplary embodiment of the present disclosure is shown. The message status determination device comprises a message type determination unit 501, a priority configuration acquisition unit 502, an information combination unit 503 and a message status determination unit 504, wherein:
[0174] A message type determination unit 501, used to determine the message type of the current message;
[0175] The priority configuration acquisition unit 502 is used to acquire the priority configuration information corresponding to the message type according to the preset message type configuration; wherein the priority configuration information is used to characterize the forwarding order of messages corresponding to different message types;
[0176] An information combining unit 503, configured to generate a message keyword according to the message number and priority configuration information of the current message;
[0177] The message status determination unit 504 is used to determine the message status of the current message according to the message keyword and the message forwarding process. The message status includes a waiting state and an execution state.
[0178] It can be seen that implementation Figure 5 The message status determination device shown can reduce the impact of messages on the warehousing system or client to a certain extent, improve the orderliness between multiple messages, thereby improving the execution efficiency of message-related businesses and reducing the impact on other businesses not related to the message; and, by sorting the priorities between different messages, it is convenient to forward the messages in sequence according to the sorting results, thereby reducing the mutual impact between different businesses.
[0179] As an exemplary embodiment, the message type determining unit 501 may determine the message type of the current message in the following manner:
[0180] The message type determination unit 501 receives the real-time message and updates the message queue according to the real-time message;
[0181] The message type determination unit 501 determines the current message to be processed from the updated message queue;
[0182] The message type determination unit 501 obtains the current message and reads the message type corresponding to the current message.
[0183] It can be seen that the implementation of this exemplary embodiment can improve the execution efficiency of the business by continuously updating the message queue.
[0184] As another exemplary embodiment, the above device may further include a message type matching unit (not shown) and a message forwarding unit (not shown), wherein:
[0185] A message type matching unit, configured to match the preset message type configuration with the message type before the priority configuration acquiring unit 502 acquires the priority configuration information corresponding to the message type according to the preset message type configuration;
[0186] A priority configuration acquisition unit, specifically used to acquire priority configuration information corresponding to a message type according to a preset message type configuration when the matching result is not empty;
[0187] The message forwarding unit is used to forward the current message when the matching result is empty.
[0188] It can be seen that by implementing this exemplary embodiment, current messages can be distinguished according to priority configuration information, and current messages without priority configuration information can be output in a timely manner, thereby improving the processing efficiency of services.
[0189] As another exemplary embodiment, the information combining unit 503 may generate a message keyword according to the message number and priority configuration information of the current message in the following manner:
[0190] The information combining unit 503 combines the message number and the priority configuration information of the current message, and determines the combination result as the message keyword; or,
[0191] The information combining unit 503 calculates the character string corresponding to the message number and the priority configuration information of the current message according to a preset expression as a message keyword.
[0192] It can be seen that by implementing this exemplary embodiment, it is more efficient to determine the message keywords by splicing. Determining the message keywords by preset expressions can ensure the uniqueness of the message keywords to a certain extent, so that one business corresponds to one message keyword, reducing the mutual impact between different businesses.
[0193] As another exemplary embodiment, the message status determining unit 504 may determine the message status of the current message according to the message keyword and the message forwarding process in the following manner:
[0194] The message status determination unit 504 determines the message forwarding process corresponding to the message keyword, and determines the message status of the current message according to the matching degree between the message forwarding process and the priority configuration information.
[0195] It can be seen that by implementing this exemplary embodiment, it is possible to determine whether the current message should be forwarded through the message forwarding process, so as to improve the orderliness between multiple messages corresponding to the services and reduce the mutual influence between different services.
[0196] As another exemplary embodiment, the message status determining unit 504 determines the message status of the current message according to the matching degree between the message forwarding process and the priority configuration information in the following manner:
[0197] The message status determination unit 504 determines a count value representing a message forwarding process and a priority level of the current message in the priority configuration information;
[0198] The message status determination unit 504 calculates the difference between the count value and the priority level;
[0199] If the difference meets the preset condition, the message state determining unit 504 determines the message state of the current message as the execution state; if the difference does not meet the preset condition, the message state determining unit 504 determines the message state of the current message as the waiting state.
[0200] It can be seen that by implementing this exemplary embodiment, the message status of the current message can be determined through preset conditions, and then the current message can be processed according to the message status to improve the orderliness between multiple messages corresponding to the business.
[0201] As another exemplary embodiment, the above device may further include the following message forwarding process updating unit (not shown) and message queue updating unit (not shown), wherein:
[0202] The message forwarding unit is further used to forward the current message after the message state determining unit 504 determines the message state of the current message according to the message keyword and the message forwarding process, and when the message state is the execution state;
[0203] A message forwarding process updating unit, used for updating the message forwarding process;
[0204] The message queue updating unit is used to add the current message to the message waiting queue when the message state is the waiting state, and forward the current message when the message state is converted from the waiting state to the execution state.
[0205] It can be seen that the implementation of this exemplary embodiment can increase the orderliness between multiple messages, reduce the mutual influence between different services, and thus improve the processing efficiency of the services.
[0206] Since the various functional modules of the message status determination device of the example embodiment of the present disclosure correspond to the steps of the example embodiment of the message status determination method described above, for details not disclosed in the embodiment of the device of the present disclosure, please refer to the embodiment of the message status determination method described above in the present disclosure.
[0207] See also Figure 6 , Figure 6 A schematic diagram of the structure of a computer system 600 suitable for implementing an electronic device according to an exemplary embodiment of the present disclosure is shown. Figure 6 The computer system 600 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0208] like Figure 6 As shown, computer system 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage part 608 into a random access memory (RAM) 603. Various programs and data required for system operation are also stored in RAM 603. CPU 601, ROM 602 and RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to bus 604.
[0209] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage section 608 as needed.
[0210] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part 609, and / or installed from a removable medium 611. When the computer program is executed by a central processing unit (CPU) 601, the above-mentioned functions defined in the system of the present application are executed.
[0211] It should be noted that the computer-readable medium shown in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0212] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0213] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, and the units described may also be arranged in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.
[0214] As another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by an electronic device, the electronic device implements the message status determination method described in the above embodiment.
[0215] For example, the electronic device can implement Figure 1 As shown in: Step S110: determine the message type of the current message, and obtain the priority configuration information corresponding to the message type according to the preset message type configuration; wherein the priority configuration information is used to characterize the forwarding order of messages corresponding to different message types; Step S120: generate a message keyword according to the message number and priority configuration information of the current message; Step S130: determine the message status of the current message according to the message keyword and the message forwarding process, and the message status includes a waiting state and an execution state.
[0216] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
[0217] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the implementation of the present disclosure.
[0218] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0219] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for determining a message status, characterized in that: include: Determine the message type of the current message, and obtain priority configuration information corresponding to the message type according to the preset message type configuration; wherein the priority configuration information is used to characterize the forwarding order of messages corresponding to different message types; Generate a message keyword according to the message number of the current message and the priority configuration information; Determine the message state of the current message according to the message keyword and the message forwarding process, wherein the message state includes a waiting state and an execution state; Wherein, determining the message status of the current message according to the message keyword and the message forwarding process includes: Determine the message forwarding process corresponding to the message keyword; Determine a count value characterizing the message forwarding process and a priority level of the current message in the priority configuration information; Calculating a difference between the count value and the priority level; If the difference meets the preset condition, the message state of the current message is determined to be the execution state; if the difference does not meet the preset condition, the message state of the current message is determined to be the waiting state.
2. The method according to claim 1, characterized in that Determine the message type of the current message, including: Receive real-time messages and update the message queue according to the real-time messages; Determine the current message to be processed from the updated message queue; Acquire the current message and read the message type corresponding to the current message.
3. The method according to claim 1, characterized in that Before obtaining priority configuration information corresponding to the message type according to the preset message type configuration, the method further includes: Matching a preset message type configuration with the message type; If the matching result is not empty, the priority configuration information corresponding to the message type is obtained according to the preset message type configuration; If the matching result is empty, the current message is forwarded.
4. The method according to claim 1, characterized in that: Generating a message keyword according to the message number of the current message and the priority configuration information includes: concatenating the message number of the current message and the priority configuration information, and determining the concatenated result as a message keyword; or, The message number of the current message and the character string corresponding to the priority configuration information are calculated according to a preset expression as the message keyword.
5. The method according to claim 1, characterized in that After determining the message status of the current message according to the message keyword and the message forwarding process, the method further includes: If the message state is the execution state, forwarding the current message and updating the message forwarding process; If the message state is the waiting state, the current message is added to the message waiting queue, and the current message is forwarded when the message state is converted from the waiting state to the executing state.
6. A message status determination device, characterized in that: include: A message type determination unit, used to determine the message type of the current message; A priority configuration acquisition unit, configured to acquire priority configuration information corresponding to the message type according to a preset message type configuration; wherein the priority configuration information is used to characterize the forwarding order of messages corresponding to different message types; An information combining unit, configured to generate a message keyword according to the message number of the current message and the priority configuration information; A message status determination unit, used to determine the message status of the current message according to the message keyword and the message forwarding process, wherein the message status includes a waiting state and an execution state; The message status determination unit determines the message status of the current message according to the message keyword and the message forwarding process, including: Determine the message forwarding process corresponding to the message keyword; Determine a count value characterizing the message forwarding process and a priority level of the current message in the priority configuration information; Calculating a difference between the count value and the priority level; If the difference meets the preset condition, the message state of the current message is determined to be the execution state; if the difference does not meet the preset condition, the message state of the current message is determined to be the waiting state.
7. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the message status determination method according to any one of claims 1 to 5 is implemented.
8. An electronic device, characterized in that: include: one or more processors; A storage device is used to store one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement the message status determination method according to any one of claims 1 to 5.
