CN111866767B - Message processing method, device, electronic equipment and readable medium - Google Patents

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

Info

Publication number
CN111866767B
CN111866767B CN201910335328.1A CN201910335328A CN111866767B CN 111866767 B CN111866767 B CN 111866767B CN 201910335328 A CN201910335328 A CN 201910335328A CN 111866767 B CN111866767 B CN 111866767B
Authority
CN
China
Prior art keywords
message
processed
information
file
standard
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910335328.1A
Other languages
Chinese (zh)
Other versions
CN111866767A (en
Inventor
张治清
邵国卿
钱晶
王棵
姚姝
马轩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201910335328.1A priority Critical patent/CN111866767B/en
Publication of CN111866767A publication Critical patent/CN111866767A/en
Application granted granted Critical
Publication of CN111866767B publication Critical patent/CN111866767B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/508Network service management, e.g. ensuring proper service fulfilment according to agreements based on type of value added network service under agreement
    • H04L41/5093Network service management, e.g. ensuring proper service fulfilment according to agreements based on type of value added network service under agreement wherein the managed service relates to messaging or chat services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure provides a message processing method, a device, an electronic device and a readable medium, wherein the method comprises the following steps: acquiring a message to be processed; decomposing configuration information and at least one general attribute in the message; generating a first template file of the message based on the at least one generic attribute; and generating a standard message file of the message according to the configuration information and the first template file so as to send the standard message file to a message terminal. The message processing method, the device, the electronic equipment and the readable medium can simplify the message processing flow, improve the message processing efficiency and reduce the cost.

Description

Message processing method, device, electronic equipment and readable medium
Technical Field
The present disclosure relates to the field of information technologies, and in particular, to a message processing method, a device, an electronic apparatus, and a computer readable medium.
Background
Information processing technology is rapidly evolving, and the business of internet enterprises is numerous, for example, in common application programs in enterprise products, which require access to a huge number of messages in order to keep in touch with users in time. In this case it is required to be able to support access of multiple message types.
Current messages, when sent to a messaging terminal (e.g., a user's mobile terminal), require the development of specific messaging interfaces for different message types. The dramatically increasing types of services necessitate significant human and time costs for such development, as the interface protocols agreed upon between the systems are quite different, involving different services. And the maintenance cost of this development approach will be quite high when there is new demand or adjustment for subsequent business.
Accordingly, there is a need for a new message processing method, apparatus, electronic device, and computer readable medium.
The above information disclosed in the background section is only for enhancement of understanding of the background of the disclosure and therefore it may include information that does not form the prior art that is already known to a person of ordinary skill in the art.
Disclosure of Invention
In view of the above, the present disclosure provides a message processing method, apparatus, electronic device, and computer readable medium, which can simplify the message processing flow, improve the message processing efficiency, and reduce the cost.
Other features and advantages of the present disclosure will be apparent from the following detailed description, or may be learned in part by the practice of the disclosure.
According to a first aspect of an embodiment of the present disclosure, a message processing method is provided, including: acquiring a message to be processed; decomposing configuration information and at least one general attribute in the message; generating a first template file of the message based on the at least one generic attribute; and generating a standard message file of the message according to the configuration information and the first template file so as to send the standard message file to a message terminal.
In an exemplary embodiment of the present disclosure, further comprising: and when the decomposition of the configuration information fails, confirming that the message is invalid.
In one exemplary embodiment of the present disclosure, generating the first template file of the message based on the at least one generic attribute includes: a first template file of the message is generated from the at least one generic attribute based on a standard template.
In an exemplary embodiment of the present disclosure, generating a standard message file for the message from the configuration information and the first template file includes: acquiring the residual message information of the message in the decomposition process; integrating the first template file with the configuration information to generate a second template file; and integrating the residual message information with the second template file to generate a standard information file.
In an exemplary embodiment of the present disclosure, further comprising: and checking the message according to the standard template.
In an exemplary embodiment of the present disclosure, further comprising: and confirming that the message is invalid when the message verification fails according to the standard template.
In one exemplary embodiment of the present disclosure, decomposing the configuration information and the at least one generic attribute in the message includes: and decomposing configuration information and at least one general attribute of the message according to the correlation between the message and a sender of the message.
In an exemplary embodiment of the present disclosure, decomposing the configuration information in the message includes: decomposing a plurality of second attributes within a second threshold range based on the correlation; acquiring an identification code of the message; and binding the plurality of second attributes with the identification code to generate the configuration information.
In one exemplary embodiment of the present disclosure, decomposing the at least one generic attribute in the message includes: at least one generic attribute within a first threshold is resolved based on the correlation.
According to a second aspect of embodiments of the present disclosure, there is provided a message processing apparatus, the apparatus comprising: the acquisition module is used for acquiring the message to be processed; the decomposition module is used for decomposing configuration information and at least one general attribute in the message; a first configuration module for generating a first template file of the message based on the at least one generic attribute; and the standard file generation module is used for generating a standard message file of the message according to the configuration information and the first template file so as to send the standard message file to the message terminal.
In an exemplary embodiment of the present disclosure, further comprising: and the invalidation module is used for confirming that the message is invalid when the verification of the message according to the standard template fails.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic device including: one or more processors; a storage means for storing one or more programs; the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the message processing method of any of the preceding claims.
According to a fourth aspect of the embodiments of the present disclosure, a computer-readable medium is presented, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements a message processing method as described in any of the above.
According to the message processing method, the device, the electronic equipment and the computer readable medium, the message processing flow can be simplified, the message processing efficiency can be improved, and the cost can be reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure. The drawings described below are merely examples of the present disclosure and other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art.
Fig. 1 is a system block diagram illustrating a message processing method and apparatus according to an exemplary embodiment.
Fig. 2 is a flow chart illustrating a message processing method according to an exemplary embodiment.
Fig. 3 is a flow chart illustrating a message processing method according to another exemplary embodiment.
Fig. 4 is a schematic diagram of a message structure shown according to another exemplary embodiment.
Fig. 5 is a schematic diagram showing a message decomposition result according to another exemplary embodiment.
Fig. 6 is a flow chart illustrating a message processing method according to another exemplary embodiment.
Fig. 7 is a block diagram of a message processing apparatus according to an example embodiment.
Fig. 8 is a block diagram of an electronic device, according to an example embodiment.
Fig. 9 is a schematic diagram illustrating a computer-readable storage medium according to an example embodiment.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments can be embodied in many forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art. The same reference numerals in the drawings denote the same or similar parts, and thus a repetitive description thereof will be omitted.
The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the invention. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific details, or with other methods, components, devices, steps, etc. In other instances, well-known methods, devices, implementations, or operations are not shown or described in detail to avoid obscuring aspects of the invention.
The drawings are merely schematic illustrations of the present invention, in which like reference numerals denote the same or similar parts, and thus a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software or in one or more hardware modules or integrated circuits or in different networks and/or processor devices and/or microcontroller devices.
The flow diagrams depicted in the figures are exemplary only, and not necessarily all of the elements or steps are included or performed in the order described. For example, some steps may be decomposed, and some steps may be combined or partially combined, so that the order of actual execution may be changed according to actual situations.
The following describes example embodiments of the invention in detail with reference to the accompanying drawings.
Fig. 1 is a system block diagram illustrating a message processing method and apparatus according to an exemplary embodiment.
The server 105 may be a server providing various services, such as a background management server (by way of example only) providing support for a message processing system operated by a user with the terminal devices 101, 102, 103. The background management server may analyze and process the received data such as the message processing request, and feed back the processing result (e.g., configuration information, standard message file—only an example) to the terminal device.
The server 105 may, for example, obtain a message to be processed; server 105 may decompose configuration information and at least one generic attribute, for example, in the message; server 105 may generate a standard message file for the message, for example, based on the at least one generic attribute. The server 105 may process the standard message file, for example, according to the configuration information, to send it to the message terminal.
The server 105 may be an entity server, may also be composed of a plurality of servers, for example, and a part of the server 105 may be used as a message processing task submitting system in the present disclosure, for example, for acquiring a task to be executed with a message processing command; and a portion of the server 105 may also be used, for example, as a message processing system in the present disclosure, for retrieving messages to be processed; decomposing configuration information and at least one general attribute in the message; generating a standard message file for the message based on the at least one generic attribute; and processing the standard message file according to the configuration information so as to send the standard message file to a message terminal.
It should be noted that, the method for processing a message provided by the embodiment of the present disclosure may be performed by the server 105, and accordingly, the device for processing a message may be disposed in the server 105. And the requesting end provided to the user for submitting the message processing task and obtaining the message processing result is typically located in the terminal device 101, 102, 103.
According to the message processing method and device, the message processing flow can be simplified, the message processing efficiency is improved, and the cost is reduced.
Fig. 2 is a flow chart illustrating a message processing method according to an exemplary embodiment. The message processing method 20 includes at least steps S202 to S208.
As shown in fig. 2, in S202, a message to be processed is acquired. Where the message to be processed is a message to be sent to the client for presentation or pushing to the user, such as, but not limited to, an advertisement, a picture, a link, a video, etc. The message to be processed can be generated and issued by a server or a user terminal of a worker.
In S204, the configuration information and at least one generic attribute are resolved in the message. Among them, the message to be processed contains various messages including a message related to the sender of the message, such as a link of the sender, a name of the sender, and a link showing contents such as pictures and videos. In addition, the method also includes information related to the processing mode of the message to be processed, namely information related to the display mode on a receiving party such as a client terminal, for example, the push time and push mode (such as but not limited to popup, scroll, etc.) of the message to be processed. The step accordingly decomposes and classifies the pieces of information in the message to be processed. The configuration information comprises a display style, a pushing mode and the like of the message to be processed; the generic attributes include the sender's basic information and generic information contained in all categories of messages, such as, but not limited to, sender name, time of transmission, show picture links, show video links, etc.
In one embodiment, configuration information and at least one generic attribute of a message are resolved based on the correlation of the message with the sender. The greater the correlation of a message with a sender, the more descriptive information that represents that it is a relevant business. Information related to the transmission service such as sender information, transmission time, etc. The smaller the correlation between the message and the sender, the less relevant the message and the related business party, such as the processing mode of the receiver, the display mode of the receiver, etc.
In one embodiment, decomposing the configuration information in the message includes: decomposing a plurality of second attributes within a second threshold based on the correlation; acquiring an identification code of a message; and binding the plurality of second attributes with the identification code to generate configuration information. Wherein the information in the second threshold range has a smaller correlation with the sender, indicating that it is not correlated with the sender, such as, but not limited to, a message display mode, a message display time, etc. Each message has a unique identification code to distinguish between the different messages. For example, the identification code and the plurality of second attributes may be bound and stored in a database, and the operations such as adding and deleting may be allowed to be modified in real time, so as to obtain the processing manner of the message in real time, but the disclosure is not limited thereto, and the configuration information may be managed in other manners.
In one embodiment, decomposing the at least one generic attribute in the message includes: at least one generic attribute within a first threshold is resolved based on the correlation. The correlation between the information in the first threshold range and the sender is a median, which indicates that the information has a certain correlation with the sender, but has a certain universality, for example, but not limited to, a show picture link, an activity detail link and the like.
In one embodiment, the acknowledgment message is invalid when the resolution of the configuration information fails. If the configuration information is missing in the message, a failure of decomposing the configuration information will occur.
In S206, a first template file of the message is generated based on the at least one generic attribute. The first template file may be generated according to a standard template, which is in a uniform format. By uniformly converting messages of different formats into the file format of the standard template, the time for receiving messages of different formats and writing a new interface to receive messages of new formats can be reduced.
In one embodiment, a first template file of a message is generated from at least one generic attribute based on a standard template. Wherein the standard template of the message describes a unified format for at least one generic attribute in the standard message file. The at least one universal attribute is integrated to generate a partial template file, namely a first template file, which is the same as the standard template format.
In one embodiment, further comprising: and checking the message according to the standard template. When a message is processed, the message can be checked according to the standard template to check whether the message meets the requirement of generating the standard template.
In one embodiment, further comprising: when the verification of the message fails according to the standard template, the message is confirmed to be invalid. When the general attribute in the message is missing, the message is checked according to the standard template, and the check failure occurs.
In S208, a standard message file of the message is generated according to the configuration information and the first template file to be transmitted to the message terminal. Based on the configuration information, a specific processing mode of the message, such as a message display mode, a push service standard and the like, can be obtained. And processing the message according to the specific processing mode and sending the message to the message terminal so that the message terminal stores, displays and the like the message according to the specific processing mode.
In one embodiment, generating a standard message file for a message from configuration information and a first template file includes: obtaining the residual message information of the message in the decomposition process; integrating the first template file with the configuration information to generate a second template file; and integrating the residual message information with the second template file to generate a standard information file. Wherein, the unified format of the relevant configuration information in the standard message file is described in the standard template of the message. And integrating the configuration information and combining the configuration information with the first template file to generate a part of template file with the same format as the standard template, namely a second template file. The remaining message information is information which is neither configuration information nor general attribute information after the message is decomposed, for example, information which has strong correlation with a message sender, for example, sender name, sending time, and the like. And integrating the residual message information with the second template file to generate a standard information file, namely a format file which can be received by a receiver according to a unified protocol.
According to the message processing method, personalized contents and various general attributes in various messages to be pushed are uniformly decomposed and configured to generate standard message files to be pushed to the message terminal, so that the message processing flow can be simplified, the message processing efficiency can be improved, and the cost can be reduced.
It should be clearly understood that this disclosure describes how to make and use particular examples, but the principles of this disclosure are not limited to any details of these examples. Rather, these principles can be applied to many other embodiments based on the teachings of the present disclosure.
Fig. 3 is a flow chart illustrating a message processing method according to another exemplary embodiment. The message processing method 30 comprises at least steps S302 to S304.
As shown in fig. 3, at least one message body of at least one service sender is received in S302. For example, there are three message bodies sent by 3 service senders A, B, C, and the message of a requires a pop-up alert to the user; the message of B only falls into a library, namely only is checked at the appointed position of the application program, and the message can not actively pop up to remind the user; the message of C requires a drop-out and pop-up. Typically, a developer will write interface protocols sequentially according to three service parties, i.e. three interface protocols meeting the respective service requirements will be present. The fields defined by each interface protocol are different from each other as shown in fig. 4, where a and B are identical in structure but the attribute fields are different, the attribute fields are highly coupled to the traffic, and C and A, B are different not only in the attribute fields but also in the structure. To meet the three message receptions, three different interfaces, i.e. three different processing modes, will be required. In practical situations, hundreds or thousands of service senders of messages have to develop and maintain hundreds of interfaces if the above manner is used, which brings great inconvenience. The message processing method of the embodiment can perform unified standardization processing on the messages of different service senders so as to simplify interfaces and maintenance flows.
In S304, each message is decomposed to obtain a traffic-related portion and a non-traffic-related portion. The information with stronger service correlation in the abstract information is put into the information body, the content is written by the service side and is provided for the information pushing side to use, and the information which is not service correlation, namely has poorer service correlation is completely sent to the configuration system for management, wherein the information comprises various information pushing attributes such as a display style, a pushing type and the like. For example, as shown in fig. 5, the decomposition result of the message a in fig. 4 is that the information that is not much related to the service sender is: the messages of the type such as whether to fall into a warehouse, whether to pop up, and instant push are uniformly managed by generating configuration information. In addition, some attributes with certain relativity with the service sender but also certain generality, such as display picture links and the like, can be managed according to certain rules.
Fig. 6 is a flow chart illustrating a message processing method according to another exemplary embodiment. The message processing method 60 includes at least steps S602 to S604.
As shown in fig. 6, in S602, configuration information of a message body is acquired. When the acquisition of the configuration information fails, S604 is performed, otherwise S606 is performed.
In S604, the current message body is confirmed as an invalid message, and the flow is ended.
In S606, the presentation style and the push standard in the configuration information are integrated to generate a configuration file. For example, the attribute fields that have low correlation with the sender of the service are decomposed. The attributes such as "whether to drop into a library", "whether to push", "pushing effective time", etc. can be summarized as a message terminal display style, a pushing service standard, etc. Further, the unique identification code of the message, the message service standard and the display style can be persisted into a database through storage, and real-time addition, deletion and modification check is allowed. The method can complete the configuration operation of the message.
In S608, the message body is compared with the template check message body. If the comparison fails, S604 is performed, otherwise S610 is performed. The message body includes fields related to respective services and not belonging to the message display style and the push service standard, for example, but not limited to ios picture links, android picture links, activity detail links, and the like. This service-related attribute is an attribute field that is common to many message bodies sent by a service. By integrating the attribute fields into a unified template, and centrally managed. When facing a new message to be processed, the message can be processed and integrated according to the template. Further, verification of the message body field can be accomplished using the above-described templates, filtering invalid message bodies. Further, the templates described above may be synchronized to a messaging terminal, such as a mobile device, to facilitate the messaging terminal performing operations such as jumping and presentation for such messages.
In S610, a standard message file is generated from the message body.
According to the message processing method disclosed by the invention, the problem that each service type of message needs a corresponding service interface is avoided, the management of the interfaces is completed, and the time for maintaining the interfaces for the second time and writing new interfaces is saved.
According to the message processing method disclosed by the invention, complex logic oriented to huge service parties is separated, the abstract processing of the service is completed, a set of sharable public protocol is formulated, and personalized contents of the respective service are configured and uniformly managed. By combining the unified service specification and the configuration service, the service message access can be completed to support a large number of services more simply, more rapidly, more in large quantity and more cost-effectively.
Those skilled in the art will appreciate that all or part of the steps implementing the above described embodiments are implemented as a computer program executed by a CPU. The above-described functions defined by the above-described methods provided by the present disclosure are performed when the computer program is executed by a CPU. The program may be stored in a computer readable storage medium, which may be a read-only memory, a magnetic disk or an optical disk, etc.
Furthermore, it should be noted that the above-described figures are merely illustrative of the processes involved in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily appreciated that the processes shown in the above figures do not indicate or limit the temporal order of these processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, for example, among a plurality of modules.
The following are device embodiments of the present disclosure that may be used to perform method embodiments of the present disclosure. For details not disclosed in the embodiments of the apparatus of the present disclosure, please refer to the embodiments of the method of the present disclosure.
Fig. 7 is a block diagram of a message processing apparatus according to an example embodiment. Referring to fig. 7, the message processing apparatus 70 includes at least: the system comprises an acquisition module 702, a decomposition module 704, a first configuration module 706 and a standard file generation module 708.
In the message processing apparatus, the acquiring module 702 is configured to acquire a message to be processed. Where the message to be processed is a message to be sent to the client for presentation or pushing to the user, such as, but not limited to, an advertisement, a picture, a link, a video, etc. The message to be processed can be generated and issued by a server or a user terminal of a worker.
The decomposing module 704 is configured to decompose configuration information and at least one generic attribute in the message. Among them, the message to be processed contains various messages including a message related to the sender of the message, such as a link of the sender, a name of the sender, and a link showing contents such as pictures and videos. In addition, the method also includes information related to the processing mode of the message to be processed, namely information related to the display mode on a receiving party such as a client terminal, for example, the push time and push mode (such as but not limited to popup, scroll, etc.) of the message to be processed.
In one embodiment, the decomposing module 704 is configured to decompose configuration information and at least one generic attribute of the message according to a correlation of the message with the sender.
In one embodiment, the decomposing module 704 is configured to decompose a plurality of second attributes within a second threshold range based on the correlation; acquiring an identification code of a message; and binding the plurality of second attributes with the identification code to generate configuration information.
In one embodiment, the decomposition module 704 is configured to decompose at least one generic attribute within a first threshold based on the correlation.
The first configuration module 706 is configured to generate a first template file of the message based on the at least one generic attribute. The first template file may be generated according to a standard template, which is in a uniform format. By uniformly converting messages of different formats into the file format of the standard template, the time for receiving messages of different formats and writing a new interface to receive messages of new formats can be reduced.
In one embodiment, the first configuration module 706 is configured to generate a first template file of the message from the at least one generic attribute based on the standard template.
In one embodiment, the first configuration module 706 is configured to obtain information of remaining messages that are not decomposed in the decomposition process; and integrating the residual message information with the template file to generate a standard information file.
In one embodiment, the first configuration module 706 is further configured to verify the message according to a standard template. When a message is processed, the message can be checked according to the standard template to check whether the message meets the requirement of generating the standard template.
In one embodiment, the first configuration module 706 is further configured to confirm that the message is invalid when verification of the message fails according to the standard template.
The standard file generating module 708 is configured to generate a standard message file of the message according to the configuration information and the first template file, so as to send the standard message file to the message terminal. Based on the configuration information, a specific processing mode of the message, such as a message display mode, a push service standard and the like, can be obtained. And processing the message according to the specific processing mode and sending the message to the message terminal so that the message terminal stores, displays and the like the message according to the specific processing mode.
In one embodiment, further comprising: and the invalidation module is used for confirming that the message is invalid when the configuration information is failed to be decomposed. If the configuration information is missing in the message, a failure of decomposing the configuration information will occur.
In one embodiment, the invalidation module is further configured to confirm that the message is invalid when verification of the message fails according to the standard template. When the general attribute in the message is missing, the message is checked according to the standard template, and the check failure occurs.
According to the message processing device disclosed by the invention, personalized contents and various general attributes in various messages to be pushed are uniformly decomposed and configured to generate the standard message file to be pushed to the message terminal, so that the message processing flow can be simplified, the message processing efficiency can be improved, and the cost can be reduced.
Fig. 8 is a block diagram of an electronic device, according to an example embodiment.
An electronic device 200 according to such an embodiment of the present disclosure is described below with reference to fig. 8. The electronic device 200 shown in fig. 8 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 8, the electronic device 200 is in the form of a general purpose computing device. The components of the electronic device 200 may include, but are not limited to: at least one processing unit 210, at least one memory unit 220, a bus 230 connecting the different system components (including the memory unit 220 and the processing unit 210), a display unit 240, and the like.
Wherein the storage unit stores program code executable by the processing unit 210 such that the processing unit 210 performs steps according to various exemplary embodiments of the present disclosure described in the above-described electronic prescription flow processing methods section of the present specification. For example, the processing unit 210 may perform the steps as shown in fig. 2, 3, and 6.
The memory unit 220 may include readable media in the form of volatile memory units, such as Random Access Memory (RAM) 2201 and/or cache memory 2202, and may further include Read Only Memory (ROM) 2203.
The storage unit 220 may also include a program/utility 2204 having a set (at least one) of program modules 2205, such program modules 2205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
Bus 230 may be a bus representing one or more of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 200 may also communicate with one or more external devices 300 (e.g., keyboard, pointing device, bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 200, and/or any device (e.g., router, modem, etc.) that enables the electronic device 200 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 250. Also, the electronic device 200 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through a network adapter 260. Network adapter 260 may communicate with other modules of electronic device 200 via bus 230. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 200, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, including several instructions to cause a computing device (may be a personal computer, a server, or a network device, etc.) to perform the above-described method according to the embodiments of the present disclosure.
Fig. 9 schematically illustrates a computer-readable storage medium in an exemplary embodiment of the present disclosure.
Referring to fig. 9, a program product 400 for implementing the above-described method according to an embodiment of the present disclosure is described, which may employ a portable compact disc read-only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable storage medium may also be any readable medium that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
The computer-readable medium carries one or more programs, which when executed by one of the devices, cause the computer-readable medium to perform the functions of: acquiring a message to be processed; decomposing configuration information and at least one general attribute in the message; generating a standard message file for the message based on the at least one generic attribute; and processing the standard message file according to the configuration information so as to send the standard message file to a message terminal.
Those skilled in the art will appreciate that the modules may be distributed throughout several devices as described in the embodiments, and that corresponding variations may be implemented in one or more devices that are unique to the embodiments. The modules of the above embodiments may be combined into one module, or may be further split into a plurality of sub-modules.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or in combination with the necessary hardware. Thus, the technical solutions according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, and include several instructions to cause a computing device (may be a personal computer, a server, a mobile terminal, or a network device, etc.) to perform the method according to the embodiments of the present disclosure.
Exemplary embodiments of the present disclosure are specifically illustrated and described above. It is to be understood that this disclosure is not limited to the particular arrangements, instrumentalities and methods of implementation described herein; on the contrary, the disclosure is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (10)

1. A method of message processing comprising:
obtaining a message to be processed, wherein the message to be processed comprises a plurality of types of messages, and the plurality of types of messages comprise a first message related to a sender of the message to be processed and a second message related to a receiver processing mode of the message to be processed; wherein the correlation of the first message with the sender is greater than the correlation of the second message with the sender;
decomposing and classifying the messages of the multiple categories in the message to be processed, decomposing at least one general attribute in a first threshold range and multiple second attributes in a second threshold range from the message to be processed, and binding the multiple second attributes with the identification codes of the message to be processed to generate configuration information; wherein the correlation of the plurality of second attributes within the second threshold range with the sender is less than the correlation of the at least one generic attribute within the first threshold range with the sender; the configuration information comprises a display style and a pushing mode of the message to be processed, and the general attribute comprises basic information of a sender and general information contained in each type of message in the message to be processed;
generating a first template file of the message based on the at least one generic attribute; and
and generating a standard message file of the message to be processed according to the configuration information and the first template file so as to send the standard message file to a message terminal.
2. The method as recited in claim 1, further comprising:
and when the configuration information is obtained through decomposition, confirming that the message to be processed is invalid.
3. The method of claim 1, wherein generating a first template file of the message to be processed based on the at least one generic attribute comprises:
and generating a first template file of the message to be processed according to the at least one general attribute based on a standard template.
4. The method of claim 3, wherein generating a standard message file for the message to be processed from the configuration information and the first template file comprises:
obtaining the residual message information of the message to be processed in the decomposition process;
integrating the first template file with the configuration information to generate a second template file; and
and integrating the residual message information with the second template file to generate a standard information file.
5. A method as recited in claim 3, further comprising:
and verifying the message to be processed according to the standard template.
6. The method as recited in claim 5, further comprising:
and when the verification of the message to be processed fails according to the standard template, confirming that the message to be processed is invalid.
7. A message processing apparatus, comprising:
the information processing device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring information to be processed, the information to be processed comprises information of various types, and the information of the various types comprises a first information related to a sender of the information to be processed and a second information related to a processing mode of a receiver of the information to be processed; wherein the correlation of the first message with the sender is greater than the correlation of the second message with the sender;
the decomposition module is used for decomposing and classifying the messages of the multiple categories in the message to be processed, decomposing at least one general attribute in a first threshold range and a plurality of second attributes in a second threshold range from the message to be processed, and binding the plurality of second attributes with the identification codes of the message to be processed so as to generate configuration information; wherein the correlation of the plurality of second attributes within the second threshold range with the sender is less than the correlation of the at least one generic attribute within the first threshold range with the sender; the configuration information comprises a display style and a pushing mode of the message to be processed, and the general attribute comprises basic information of a sender and general information contained in each type of message in the message to be processed;
the first configuration module is used for generating a first template file of the message to be processed based on the at least one general attribute; and
and the standard file generation module is used for generating a standard message file of the message to be processed according to the configuration information and the first template file so as to send the standard message file to the message terminal.
8. The apparatus as recited in claim 7, further comprising:
and the invalidation module is used for confirming that the message to be processed is invalid when the verification of the message to be processed fails according to the standard template.
9. An electronic device, comprising:
one or more processors; and
a storage means for storing one or more programs;
when executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-6.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any of claims 1-6.
CN201910335328.1A 2019-04-24 2019-04-24 Message processing method, device, electronic equipment and readable medium Active CN111866767B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910335328.1A CN111866767B (en) 2019-04-24 2019-04-24 Message processing method, device, electronic equipment and readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910335328.1A CN111866767B (en) 2019-04-24 2019-04-24 Message processing method, device, electronic equipment and readable medium

Publications (2)

Publication Number Publication Date
CN111866767A CN111866767A (en) 2020-10-30
CN111866767B true CN111866767B (en) 2023-06-27

Family

ID=72952160

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910335328.1A Active CN111866767B (en) 2019-04-24 2019-04-24 Message processing method, device, electronic equipment and readable medium

Country Status (1)

Country Link
CN (1) CN111866767B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114598374B (en) * 2020-12-07 2023-08-29 千寻位置网络有限公司 Data processing method, device, electronic equipment and computer readable medium
CN115080509A (en) * 2022-06-10 2022-09-20 北京达佳互联信息技术有限公司 Data processing method and device, electronic equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104125140B (en) * 2013-04-28 2015-11-25 腾讯科技(深圳)有限公司 A kind of message method and device
CN105635464A (en) * 2015-12-30 2016-06-01 厦门欣欣信息有限公司 Message processing method and apparatus
CN106997357B (en) * 2016-01-22 2020-10-09 腾讯科技(深圳)有限公司 Message processing method, device and system
CN108255552A (en) * 2017-12-22 2018-07-06 中国平安人寿保险股份有限公司 PUSH message method of reseptance, device, equipment and computer readable storage medium
CN108924030A (en) * 2018-05-31 2018-11-30 康键信息技术(深圳)有限公司 Electronic device, the method for dynamically configuration message exhibition method and storage medium
CN109639782B (en) * 2018-11-30 2021-10-01 中体彩科技发展有限公司 Message sending platform and method

Also Published As

Publication number Publication date
CN111866767A (en) 2020-10-30

Similar Documents

Publication Publication Date Title
US9001673B2 (en) Outgoing communications inventory
CN110968438B (en) Asynchronous notification method and device of event message, electronic equipment and storage medium
CN111240940B (en) Real-time service monitoring method and device, electronic equipment and storage medium
CN109658059B (en) File verification method and device, electronic equipment and computer readable medium
CN111694926A (en) Interactive processing method and device based on scene dynamic configuration and computer equipment
CN111866767B (en) Message processing method, device, electronic equipment and readable medium
CN113656735A (en) Message pushing system, method, electronic equipment and storage medium
CN112130781A (en) Log printing method and device, electronic equipment and storage medium
CN111340340A (en) Event processing method and device
CN113014618B (en) Message processing method and system and electronic equipment
CN114297278A (en) Method, system and device for quickly writing batch data
CN110505289B (en) File downloading method and device, computer readable medium and wireless communication equipment
CN112465656A (en) Insurance detail data sending method and device
CN111104216A (en) Batch processing method and device of electronic insurance policy, storage medium and electronic equipment
CN111046010A (en) Log storage method, device, system, electronic equipment and computer readable medium
CN114449523B (en) Flow filtering method, device, equipment and medium for satellite measurement and control system
CN110782359A (en) Policy recovery method and device, computer storage medium and electronic equipment
CN113535318B (en) Information reply method and device, storage medium and electronic equipment
CN115658127A (en) Data processing method and device, electronic equipment and storage medium
CN112104745A (en) Information configuration system, method, electronic device and storage medium
CN113919310A (en) Short message content determination method and device, electronic equipment and storage medium
CN112073395B (en) File distribution method and device
CN114374737A (en) Message pushing method and device, computer equipment and storage medium
CN114500430A (en) Dialogue method, system, device and storage medium
CN113342619A (en) Log monitoring method and system, electronic device and readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant