CN112769682A - Message display method, message processing device, electronic equipment and storage medium - Google Patents

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

Info

Publication number
CN112769682A
CN112769682A CN202110126006.3A CN202110126006A CN112769682A CN 112769682 A CN112769682 A CN 112769682A CN 202110126006 A CN202110126006 A CN 202110126006A CN 112769682 A CN112769682 A CN 112769682A
Authority
CN
China
Prior art keywords
message
category
dimension
chat interface
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110126006.3A
Other languages
Chinese (zh)
Inventor
韩怀龙
张玲
白永申
徐志德
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lianren Healthcare Big Data Technology Co Ltd
Original Assignee
Lianren Healthcare Big Data 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 Lianren Healthcare Big Data Technology Co Ltd filed Critical Lianren Healthcare Big Data Technology Co Ltd
Priority to CN202110126006.3A priority Critical patent/CN112769682A/en
Publication of CN112769682A publication Critical patent/CN112769682A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/9038Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/906Clustering; Classification
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H80/00ICT specially adapted for facilitating communication between medical practitioners or patients, e.g. for collaborative diagnosis, therapy or health monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/216Handling conversation history, e.g. grouping of messages in sessions or threads

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Biomedical Technology (AREA)
  • Public Health (AREA)
  • Primary Health Care (AREA)
  • General Health & Medical Sciences (AREA)
  • Epidemiology (AREA)
  • Pathology (AREA)
  • Computational Linguistics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a message display method, a message processing device, electronic equipment and a storage medium, wherein the method comprises the following steps: when a message is received, determining a dimension category to which the message belongs; determining whether to display the message on a current chat interface according to the dimension category; wherein the dimension category comprises a business scenario category. Through the technical scheme of the embodiment of the invention, the messages with different dimensions are separately displayed, and the communication efficiency among users is improved.

Description

Message display method, message processing device, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a message display method, a message processing device, electronic equipment and a storage medium.
Background
IM (Instant Messaging) is the most popular communication mode on the internet at present, and most of APP applications develop or integrate an IM module.
At present, when a conversation is carried out through IM, namely after a user logs in successfully, when chatting with another login user through an APP, all information of the current user chatting with the other user is displayed in the same chatting interface of the APP.
However, when the services are complicated, such as consultation services, review services or medical consultation services in the medical industry, the chat information about different services between the doctor and the same user is not desired to be displayed on the same chat interface, which is not beneficial to the doctor to quickly obtain effective information and reduces the communication efficiency between the doctor and the user.
Disclosure of Invention
The embodiment of the invention provides a message display method, a message processing device, electronic equipment and a storage medium, which realize the separate display of messages with different dimensions and are beneficial to improving the communication efficiency between users.
In a first aspect, an embodiment of the present invention provides a message display method, which is applied to a message receiving end, and the method includes:
when a message is received, determining a dimension category to which the message belongs;
determining whether to display the message on a current chat interface according to the dimension category;
wherein the dimension category comprises a business scenario category.
In a second aspect, an embodiment of the present invention further provides a message processing method, applied to a message sending end, where the method includes:
receiving a message sending instruction;
adding a dimension category to which the message belongs to an extension field of the message so that a message receiving end determines a processing strategy of the message based on the dimension category;
wherein the dimension category comprises a business scenario category;
the traffic scenario category includes at least one of: medical consultation service, medical consultation service and medical consultation service.
In a third aspect, an embodiment of the present invention further provides a message display apparatus integrated in a message receiving end, where the apparatus includes:
the device comprises a first determining module, a second determining module and a third determining module, wherein the first determining module is used for determining the dimension category to which the message belongs when the message is received;
the second determining module is used for determining whether the message is displayed on the current chat interface according to the dimension category;
wherein the dimension category comprises a business scenario category and/or a user category.
In a fourth aspect, an embodiment of the present invention further provides a message processing apparatus, which is integrated at a message sending end, and the apparatus includes:
the first receiving module is used for receiving a message sending instruction;
the adding module is used for adding the dimension category to which the message belongs in the extension field of the message so that a message receiving end determines the processing strategy of the message based on the dimension category;
the dimension category comprises a business scene category and/or a user category;
the traffic scenario category includes at least one of: medical consultation service, medical consultation service and medical consultation service.
In a fifth aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a message display method and message processing method steps as provided by any of the embodiments of the invention.
In a sixth aspect, the embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the message display method and the message processing method steps provided in any embodiment of the present invention.
The embodiment of the invention has the following advantages or beneficial effects:
determining a dimension category to which a message belongs when the message is received; determining whether to display the message on a current chat interface according to the dimension category; the dimension categories comprise technical means of service scene categories, so that messages with different dimensions are displayed separately, and the communication efficiency among users is improved.
Drawings
Fig. 1 is a flowchart of a message display method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating another message display method according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a further message display method according to an embodiment of the present invention;
fig. 4 is a flowchart of a message processing method according to a second embodiment of the present invention;
FIG. 5 is a schematic chain link diagram of a dimension category interface according to a second embodiment of the present invention;
fig. 6 is a schematic flowchart of a message display method executed by a message receiving end according to a second embodiment of the present invention;
FIG. 7 is a flowchart of a code implementation for processing a message during message sending according to a second embodiment of the present invention;
fig. 8 is a schematic diagram of a message display flow in which a message sending end, a message receiving end, and a message service end cooperate with each other according to a second embodiment of the present invention;
fig. 9 is a flowchart illustrating a history message query process according to a second embodiment of the present invention;
fig. 10 is a schematic structural diagram of a message display apparatus according to a third embodiment of the present invention;
fig. 11 is a schematic structural diagram of a message processing apparatus according to a fourth embodiment of the present invention;
fig. 12 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a message display method according to an embodiment of the present invention, where the technical scheme of this embodiment is applied to a message receiving end, and specifically may be an APP of a certain consultation class, for example, an APP of an online consultation class in the medical industry, where the APP may be installed in a mobile phone or a computer of a patient (which may be understood as a user), and an APP matched with the APP of the patient end is also installed in a mobile phone or a computer of a doctor, and the patient may initiate an instant chat with the doctor through the APP of the mobile phone or the computer of the doctor, and the doctor communicates with the patient through the APP of the mobile phone or the computer of the doctor.
The message display method may be performed by a message display apparatus, which may be implemented by software and/or hardware. As shown in fig. 1, the method specifically includes the following steps:
step 110, when a message is received, determining the dimension category to which the message belongs.
Wherein the dimension category comprises a service scenario category, and the service scenario category comprises at least one of: medical consultation service, medical consultation service and medical consultation service. The medical consultation service may refer to a service related to a first visit of a patient, in this service scenario, symptoms, discomfort, and the like of the patient usually relate to the patient, and a doctor may provide an examination order for the patient, for example, an examination order for B-mode ultrasound or an examination order for blood test. Medical review service may refer to a consultation of a patient within a few days after the first visit, which can be colloquially understood as a review, where the patient communicates with the same physician regarding the same condition based on the previous visit record. The medical consultation service can refer to information consultation in the aspect of health care, and no disease usually exists in the service scene.
The dimension categories may also include user categories. The "user category" can be understood through a scenario that, for example, zhang san installs a medical consultation APP on a mobile phone of the user, zhang san uses own identity information to register, zhang san is an effective user of the APP, zhang san performs medical consultation on the condition of skin acne of the user through zhang san and a doctor lie si, zhang san is a specific user category, and a corresponding service scenario category is a medical consultation service. Meanwhile, Zhang three or Zhang three mothers have performed medical consultation on the matters with high blood pressure of Zhang three mothers and doctor Li four through the APP on Zhang three mobile phones, inquiring about the attention matters at ordinary times, and then Zhang three mothers are also in a specific user category, and the corresponding business scene category is medical consultation business. It should be noted that, since the APP registered with the identity information of zhangsan is used to communicate with the doctor lie four with respect to the personal situation of zhangsan mother, zhangsan mother is not an effective user of the APP, but zhangsan mother is a specific user category, and zhangsan mother can be understood as a branch user of zhangsan of the effective user.
The technical scheme of the embodiment aims to realize that under the scene, messages under different service scenes are displayed separately for different user categories, namely, related messages in the process of communicating three skin acne and doctor lie IV are displayed on one chat interface, related messages generated in the process of performing medical consultation for three mother hypertension events and doctor lie IV are displayed on the other chat interface, and the two messages are displayed separately.
Illustratively, the determining the dimension category to which the message belongs includes:
analyzing the message to obtain the extended field data of the message;
and determining the dimension type of the message according to the extended field data.
When the message is sent by the message sending end, data used for identifying the dimension category to which the message belongs is added to the extension field of the message, and when the message receiving end receives the message, the extension field data of the message can be acquired by analyzing the message, so that the dimension category to which the message belongs is determined according to the extension field data.
And step 120, determining whether to display the message on a current chat interface according to the dimension category.
Illustratively, the determining whether to display the message on the current chat interface according to the dimension category includes:
acquiring a pre-registered filtering rule object from a preset tool according to the extended field data;
adding the message to the filtering rule object to obtain a filtering result;
and determining whether to display the message on the current chat interface according to the filtering result.
The adding the message to the filter rule object to obtain a filter result includes:
comparing the dimension category of the message with the category identification recorded by the filtering rule object;
if the dimension type of the message is consistent with the type identification recorded by the filtering rule object, determining that the filtering result is a pass;
the category identification of the filtering rule object record comprises the category identification of the current chat interface, and the dimension category also comprises a user category.
The category identifier of the filtering rule object record is a preset category identifier, APPs of different service parties may set different category identifiers, and the category identifier may be, for example, level 4, which indicates that the service scenario category is a medical consultation service, and level 7, which indicates that the service scenario category is a medical consultation service. The user category may be represented by a targetId, for example, a targetId of 1 represents a valid user of APP (for example, zhang san mentioned above), a targetId of 1.1 represents a mother of the valid user, and a targetId of 1.2 represents a father of the valid user. targetId 1.1 and level 7 represent a message for mr. zhang regarding medical counseling. The category identifier of the current chat interface may be, for example, targetId 1.1 and level 7, which indicates that the current chat interface is suitable for communicating an interface for three mothers about medical consultation services.
Further, the method further comprises:
if the message is determined not to be displayed on the current chat interface, popping up a message notification bar;
and when a triggering instruction of the message notification bar is received, determining a target chat interface based on the dimension category, and jumping to the target chat interface, wherein the message is displayed on the target chat interface.
Specifically, the chat interfaces with consistent or corresponding identifiers are determined according to the dimension categories, for example, the dimension categories are targetId 1.1 and level 7 (indicating a message about medical consultation service for mr. zhang), and then the target chat interface should be an interface for communicating the mr. zhang with the medical consultation service for mr. zhang. Specifically, reference may be made to a flow chart diagram of another message display method shown in fig. 2.
It can be understood that, in order to improve the stability of the APP and avoid the loss of the messages during downtime, when the messages are received, if a current chat interface is in an active state, that is, the current page is a chat interface, the messages are stored in a local database and a memory, then a classification display strategy of the messages is performed, if the current page is not a chat interface, a message notification bar is popped up, the messages are only stored in the memory, and if the downtime occurs before a user clicks the message notification bar, the messages may be lost. Correspondingly, reference may be made to another message display flow diagram shown in fig. 3.
According to the technical scheme of the embodiment, when a message is received, the dimension type to which the message belongs is determined; and determining whether to display the message on the current chat interface according to the dimension type, specifically, when the dimension type is consistent with the dimension type of the current chat interface, displaying the message on the current chat interface, if the dimension type is inconsistent with the dimension type of the current chat interface, not displaying the message on the current chat interface, but popping up a message notification bar, and when a user clicks the message notification bar, determining a corresponding chat interface according to the dimension type of the message and skipping, so that the messages of different user types under different service scenes are independently displayed, and the communication efficiency among the users is improved.
Example two
Fig. 4 is a flowchart of a message processing method according to a second embodiment of the present invention, where this embodiment provides a message display method applied to a message sending end, corresponding to a message display method applied to a message receiving end, on the basis of the above embodiments. Wherein explanations of the same or corresponding terms as those of the above-described embodiments are omitted.
Referring to fig. 4, the message processing method provided in this embodiment specifically includes the following steps:
step 410, receiving a message sending instruction.
Specifically, when a user inputs a message in a specific chat interface and triggers a "send" button, the system receives a message sending instruction.
When APP development is carried out, chat interface trigger marks aiming at different user categories and different service scene categories can be set. For example, when Zhang III wants to communicate with a doctor according to the personal situation of Zhang III mother, a specific chat interface can be activated by triggering the chat interface identifier corresponding to "mother" and "medical consultation service", and the communication with the doctor on line can be performed through the specific chat interface.
Step 420, adding the dimension category to which the message belongs to the extension field of the message, so that the message receiving end determines the processing policy of the message based on the dimension category.
The dimension category comprises a business scene category and/or a user category; the traffic scenario category includes at least one of: medical consultation service, medical consultation service and medical consultation service. The user category includes at least one of: mother and father. The dimension category of the message can be determined according to the dimension category to which the current chat interface belongs.
The processing strategy for the messages specifically comprises the steps of identifying and classifying the dimension types of the messages, and displaying the messages aiming at different user types and different service scene types separately, so that the users can conveniently view the messages, the content transmitted by the messages is captured, and the communication efficiency between the users is improved. For example, the related messages generated during the communication process between Zhang Sanliangcheng and doctor Li IV are displayed on one chat interface, the related messages generated during the medical consultation process between Zhang Sanmu's hypertension and doctor Li IV are displayed on the other chat interface, the two types of messages are displayed separately, and although the messages are generated by the communication with the same doctor through the same APP, the messages need to be displayed separately according to the business scene category and the user category to which the messages belong.
Specifically, when APP development is performed, classification rules of messages are pre-established, and generally include dimension categories and filtering rules. For example, two interfaces are defined, one of which is a dimension category interface, and several dimensions, such as two dimensions of a service scene category and a user category, are divided according to the actual situation of the service.
The code implementation of the dimension category interface may specifically be:
(Level<T):+opration():return T
-leve:int
-next:Level
the chain linking of the dimension category interfaces may be as described with reference to FIG. 5.
The code implementation of the filtering rule interface may specifically be:
(Rule<T):+computeRule(T t):return boolean
the implementation class of the filtering rule corresponds to the dimension category, and the filtering rules corresponding to different dimension categories may be different, for example, the filtering rule corresponding to the first dimension — the service scenario category may be:
Rule1<Bean1>:+computeRule(Bean1 t):return boolean
and judging the service number according to the parameters of the incoming String type, if the current service number is 4, representing that the current message is the message of the medical consultation service, if the type is equal to curType, returning to true, and if the type is not equal to curType, returning to false. Therefore, if the returned result is true, the message is displayed if the returned result is the same as the service scene category of the current chat interface, and if the returned result is false, the message is different from the service scene category of the current chat interface, and the program is terminated.
The second dimension-the filtering rule for the user category may be:
Rule2<Bean>:+computeRule(Bean t):return boolean
the filtering rule of the dimension is to judge whether the user ID targetId is the same as the ID of the current user, if so, the message is sent to the current user, the program continues, otherwise, the program is terminated.
The criteria of several dimensions are predefined, several layers are judged accordingly, and only if all are satisfied, the message is displayed to the user. As shown in fig. 6, a schematic flow chart of a message display method executed by a message receiving end is shown, when a message is received, an extension field extra of the message is converted into a Level object, a rule method corresponding to the Level object is obtained through a rule manager, whether the message satisfies a filtering condition is judged through the rule method, if not, a program is ended, and if so, the message is displayed. The extra field of the message is an extension field, the message receiving end acquires the message and then stores the message in a local database, the action of displaying the message is in an adapter-like method, therefore, when adding the message to the adapter class, the message filtering is performed, and the filtering rule is a boolean value returned by the filtering method for judging two dimensions, for example, if the chat interface is the interface of the medical review service of the effective user Zhang III, if the level value in the returned boolean values is 1 (representing the first dimension) and the service number is 4 (representing the service scenario class as a medical review service scenario), the level value is 2 (representing the second dimension) and the targetId (representing the user class identification) is the current user id, then a message may be added to the adapter class for display on the current chat interface, if the above conditions are not met, no message is added to the adapter class, i.e. no message is displayed at the current chat interface.
Registering the classification rules in global variables of the application APP, defining a global rule manager RuleManager, which may have a structure as follows:
RuleManager:+rules:Map<Level<T>.class,Rule<T>>=new HashMap()+getRule(Level<T>.class I):Rule<T>-registeRule(Level<T>.class I,Rule<T>r)
generally, the message classification rule of the APP is preset, so that it is only necessary to register a corresponding dimension and filter rule object in the Application of the APP, where the bytecode of the filter dimension category is taken as a key to obtain an object instance of the corresponding filter rule.
When the message is sent, the message can be processed in two modes, wherein one mode is that a classification rule is added into an extension field of the message when the message is sent every time, a plurality of dimensions are defined according to business requirements, a plurality of dimension objects are added into the extension field of the message, and a next field of each dimension object designates one dimension object. The second way is to process the message in the message preprocessing method, and usually, the message is preprocessed to a certain extent when the message is sent, specifically, the preprocessing interface is called to implement the preprocessing, so that the operation of adding the classification rule in the extension field can be set in the preprocessing method, the classification rule is added to the extension field of the message when the message is preprocessed, at this time, the message does not need to be concerned about whether the type of the message is a character, a picture or a voice, only the extension field is concerned about, and the processing efficiency and the stability are high.
The code implementation flow chart for processing the message when sending the message can be as shown in fig. 7, converting the specific classification rule into json, and then assigning to the extra field of the message.
According to the technical scheme of the embodiment, when a message is sent, the dimension category to which the message belongs is added to the extension field of the message, so that a message receiving end determines the processing strategy of the message based on the dimension category; the method and the device realize longitudinal classification of the messages according to a certain rule, when the APP login user clicks a certain branch user in a certain service scene, all chat information filtered under the specific rule can be displayed, and the messages sent and received in real time also need to be IM messages with specific rule marks. By adding the message classification marks in the extension fields of the messages, the chat messages are divided into different dimensions according to different services (double-consultation and medical consultation), different patients and the like, so that the aims that different patients of the same user and different service scenes of the same patient can see the corresponding chat messages, and different patients under different service scenes can not see the chat messages mutually are fulfilled.
Further, referring to a schematic diagram of a message display flow of a message sending end, a message receiving end, and a message service end working in cooperation with each other shown in fig. 8, the method specifically includes:
step 301, formulating a rule for message classification, which is mainly divided into a dimension and a filtering rule;
step 302, registering rules in global variables of the application;
step 303, adding the rule information into the extension field when sending the message;
step 304, processing the extension field of the message when receiving the message;
step 305, clicking the skipping processing of the notification bar;
step 306, displaying rules of the IM chat interface;
step 307, processing of historical message inquiry;
step 308, processing the quantity of unread messages;
step 309, processing of other service portals.
Specifically, in step 307, the processing of the history message query means that when the APP changes the mobile phone and then logs in the APP of a new mobile phone, there is no chat data in the local database, and at this time, the chat message is pulled from the remote server, the processing method is also that the chat message is stored in the local database, and at this time, the chat message is not classified, and then, like step 306, whether to display the chat message or not and how to display the chat message are determined according to the dimension and the filtering rule (specifically, refer to step 120 of embodiment 1). Correspondingly, reference may be made to a flow diagram of a history message query process as shown in fig. 9.
The following is an embodiment of a message display apparatus provided in an embodiment of the present invention, which belongs to the same inventive concept as the message display methods in the foregoing embodiments, and details that are not described in detail in the embodiment of the message display apparatus may refer to the above embodiment of the message display method.
EXAMPLE III
Fig. 10 is a schematic structural diagram of a message display apparatus according to a third embodiment of the present invention, the apparatus is integrated in a message receiving end, and as shown in fig. 10, the apparatus specifically includes: a first determination module 1010 and a second determination module 1020.
The first determining module 1010 is configured to, when a message is received, determine a dimension category to which the message belongs; a second determining module 1020, configured to determine whether to display the message on a current chat interface according to the dimension category; wherein the dimension category comprises a business scenario category.
Further, the service scenario category includes at least one of: medical consultation service, medical consultation service and medical consultation service.
Further, the first determining module 1010 includes:
the analysis unit is used for analyzing the message to acquire the extended field data of the message;
and the first determining unit is used for determining the dimension type of the message according to the extended field data.
Further, the second determining module 1020 includes:
the acquisition unit is used for acquiring a pre-registered filtering rule object from a preset tool according to the extended field data;
the adding unit is used for adding the message to the filtering rule object to obtain a filtering result;
and the second determining unit is used for determining whether to display the message on the current chat interface according to the filtering result.
Further, the adding unit is specifically configured to: comparing the dimension category of the message with the category identification recorded by the filtering rule object; if the dimension type of the message is consistent with the type identification recorded by the filtering rule object, determining that the filtering result is a pass; the category identification of the filtering rule object record comprises the category identification of the current chat interface, and the dimension category also comprises a user category.
Further, the apparatus further comprises: the system comprises a popup module and a skip module;
wherein the ejection module is configured to: if the message is determined not to be displayed on the current chat interface, popping up a message notification bar;
and the skipping module is used for determining a target chat interface based on the dimension category and skipping to the target chat interface when a triggering instruction of the message notification bar is received, wherein the message is displayed on the target chat interface.
According to the technical scheme of the embodiment, when a message is received, the dimension type to which the message belongs is determined; and determining whether to display the message on the current chat interface according to the dimension type, specifically, when the dimension type is consistent with the dimension type of the current chat interface, displaying the message on the current chat interface, if the dimension type is inconsistent with the dimension type of the current chat interface, not displaying the message on the current chat interface, but popping up a message notification bar, and when a user clicks the message notification bar, determining a corresponding chat interface according to the dimension type of the message and skipping, so that the messages of different user types under different service scenes are independently displayed, and the communication efficiency among the users is improved.
The message display device provided by the embodiment of the invention can execute the message display method provided by any embodiment of the invention, and has the corresponding functional module and beneficial effect of executing the message display method.
Example four
Fig. 11 is a schematic structural diagram of a message processing apparatus according to a fourth embodiment of the present invention, where the apparatus is integrated in a message sending end, and as shown in fig. 11, the apparatus specifically includes: a receiving module 1110 and an adding module 1120.
The receiving module 1110 is configured to receive a message sending instruction; an adding module 1120, configured to add a dimension category to which the message belongs in an extension field of the message, so that a message receiving end determines a processing policy of the message based on the dimension category; the dimension category comprises a business scene category and/or a user category; the traffic scenario category includes at least one of: medical consultation service, medical consultation service and medical consultation service.
According to the technical scheme of the embodiment, when a message is sent, the dimension category to which the message belongs is added to the extension field of the message, so that a message receiving end determines the processing strategy of the message based on the dimension category; the method and the device realize longitudinal classification of the messages according to a certain rule, when the APP login user clicks a certain branch user in a certain service scene, all chat information filtered under the specific rule can be displayed, and the messages sent and received in real time also need to be IM messages with specific rule marks. By adding the message classification marks in the extension fields of the messages, the chat messages are divided into different dimensions according to different services (double-consultation and medical consultation), different patients and the like, so that the aims that different patients of the same user and different service scenes of the same patient can see the corresponding chat messages, and different patients under different service scenes can not see the chat messages mutually are fulfilled.
The message processing device provided by the embodiment of the invention can execute the message processing method provided by any embodiment of the invention, and has the corresponding functional module and beneficial effect of executing the message processing method.
EXAMPLE five
Fig. 12 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention. FIG. 12 illustrates a block diagram of an exemplary electronic device 12 suitable for use in implementing embodiments of the present invention. The electronic device 12 shown in fig. 12 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiment of the present invention.
As shown in FIG. 12, electronic device 12 is embodied in the form of a general purpose computing electronic device. The components of electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by electronic device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 12, and commonly referred to as a "hard drive"). Although not shown in FIG. 12, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. System memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with electronic device 12, and/or with any devices (e.g., network card, modem, etc.) that enable electronic device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the electronic device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 via the bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and message display by running a program stored in the system memory 28, for example, to implement a message display method provided by the embodiment of the present invention, the method includes:
when a message is received, determining a dimension category to which the message belongs;
determining whether to display the message on a current chat interface according to the dimension category;
or, a message processing method, the method comprising:
receiving a message sending instruction;
adding a dimension category to which the message belongs to an extension field of the message so that a message receiving end determines a processing strategy of the message based on the dimension category;
the dimension category comprises a business scene category and/or a user category;
the traffic scenario category includes at least one of: medical consultation service, medical consultation service and medical consultation service.
Of course, those skilled in the art can understand that the processor can also implement the technical solution of the message display method provided by any embodiment of the present invention.
EXAMPLE six
A sixth embodiment provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of a message display method as provided in any of the embodiments of the invention, the method comprising:
when a message is received, determining a dimension category to which the message belongs;
determining whether to display the message on a current chat interface according to the dimension category;
or, a message processing method, the method comprising:
receiving a message sending instruction;
adding a dimension category to which the message belongs to an extension field of the message so that a message receiving end determines a processing strategy of the message based on the dimension category;
the dimension category comprises a business scene category and/or a user category;
the traffic scenario category includes at least one of: medical consultation service, medical consultation service and medical consultation service.
Of course, those skilled in the art can understand that the processor can also implement the technical solution of the message display method provided by any embodiment of the present invention.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer-readable storage medium may be, for example but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer 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.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and 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 computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, 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 computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It will be understood by those skilled in the art that the modules or steps of the invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of computing devices, and optionally they may be implemented by program code executable by a computing device, such that it may be stored in a memory device and executed by a computing device, or it may be separately fabricated into various integrated circuit modules, or it may be fabricated by fabricating a plurality of modules or steps thereof into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (11)

1. A message display method is applied to a message receiving end and is characterized by comprising the following steps:
when a message is received, determining a dimension category to which the message belongs;
determining whether to display the message on a current chat interface according to the dimension category;
wherein the dimension category comprises a business scenario category.
2. The method of claim 1, wherein the traffic scenario category comprises at least one of: medical consultation service, medical consultation service and medical consultation service.
3. The method of claim 1, wherein the determining the dimension category to which the message belongs comprises:
analyzing the message to obtain the extended field data of the message;
and determining the dimension type of the message according to the extended field data.
4. The method of claim 3, wherein the determining whether to display the message in a current chat interface according to the dimension category comprises:
acquiring a pre-registered filtering rule object from a preset tool according to the extended field data;
adding the message to the filtering rule object to obtain a filtering result;
and determining whether to display the message on the current chat interface according to the filtering result.
5. The method of claim 4, wherein adding the message to the filter rule object to obtain a filter result comprises:
comparing the dimension category of the message with the category identification recorded by the filtering rule object;
if the dimension type of the message is consistent with the type identification recorded by the filtering rule object, determining that the filtering result is a pass;
the category identification of the filtering rule object record comprises the category identification of the current chat interface, and the dimension category also comprises a user category.
6. The method of any one of claims 1-5, further comprising:
if the message is determined not to be displayed on the current chat interface, popping up a message notification bar;
and when a triggering instruction of the message notification bar is received, determining a target chat interface based on the dimension category, and jumping to the target chat interface, wherein the message is displayed on the target chat interface.
7. A message processing method is applied to a message sending end and is characterized by comprising the following steps:
receiving a message sending instruction;
adding a dimension category to which the message belongs to an extension field of the message so that a message receiving end determines a processing strategy of the message based on the dimension category;
the dimension category comprises a business scene category and/or a user category;
the traffic scenario category includes at least one of: medical consultation service, medical consultation service and medical consultation service.
8. A message display device integrated with a message receiving end, comprising:
the device comprises a first determining module, a second determining module and a third determining module, wherein the first determining module is used for determining the dimension category to which the message belongs when the message is received;
the second determining module is used for determining whether the message is displayed on the current chat interface according to the dimension category;
wherein the dimension category comprises a business scenario category.
9. A message processing apparatus integrated with a message sender, comprising:
the first receiving module is used for receiving a message sending instruction;
the adding module is used for adding the dimension category to which the message belongs in the extension field of the message so that a message receiving end determines the processing strategy of the message based on the dimension category;
the dimension category comprises a business scene category and/or a user category;
the traffic scenario category includes at least one of: medical consultation service, medical consultation service and medical consultation service.
10. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the message display method of any one of claims 1-6 and the message processing method steps of claim 7.
11. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the message display method as claimed in any one of claims 1 to 6 and the message processing method steps as claimed in claim 7.
CN202110126006.3A 2021-01-29 2021-01-29 Message display method, message processing device, electronic equipment and storage medium Pending CN112769682A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110126006.3A CN112769682A (en) 2021-01-29 2021-01-29 Message display method, message processing device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110126006.3A CN112769682A (en) 2021-01-29 2021-01-29 Message display method, message processing device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112769682A true CN112769682A (en) 2021-05-07

Family

ID=75703659

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110126006.3A Pending CN112769682A (en) 2021-01-29 2021-01-29 Message display method, message processing device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112769682A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107517153A (en) * 2017-07-27 2017-12-26 努比亚技术有限公司 Message pushes control method and terminal
CN111669316A (en) * 2020-06-19 2020-09-15 厦门亿联网络技术股份有限公司 Instant message processing method, device, equipment, server and storage medium
CN112134784A (en) * 2020-09-03 2020-12-25 北京达佳互联信息技术有限公司 Message display method, device, terminal, server, system and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107517153A (en) * 2017-07-27 2017-12-26 努比亚技术有限公司 Message pushes control method and terminal
CN111669316A (en) * 2020-06-19 2020-09-15 厦门亿联网络技术股份有限公司 Instant message processing method, device, equipment, server and storage medium
CN112134784A (en) * 2020-09-03 2020-12-25 北京达佳互联信息技术有限公司 Message display method, device, terminal, server, system and storage medium

Similar Documents

Publication Publication Date Title
CN112287216B (en) Information pushing method and device, server and storage medium
CN109495549A (en) Method, equipment and the computer storage medium of work are drawn in a kind of application
CN115437933A (en) Automatic testing method and device, computer equipment and storage medium
CN109561212B (en) Merging method, device, equipment and storage medium for published information
CN111241043A (en) Multimedia file sharing method, terminal and storage medium
CN110881224B (en) Network long connection method, device, equipment and storage medium
US20200220824A1 (en) Method, a device and a storage medium of forwarding voice information in instant messaging
CN112787910A (en) Message processing method and device, electronic equipment and storage medium
CN112769683A (en) Unread message processing method and device, electronic equipment and storage medium
CN112769682A (en) Message display method, message processing device, electronic equipment and storage medium
US8452841B2 (en) Text chat for at-risk customers
CN112542244B (en) Auxiliary information generation method, related device and computer program product
CN113919310A (en) Short message content determination method and device, electronic equipment and storage medium
JP2021163475A (en) Log-based mashup code generation
CN113779373A (en) Physical examination item determination method, physical examination item determination device, physical examination equipment and storage medium
CN111369375A (en) Social relationship determination method, device, equipment and storage medium
CN112104745A (en) Information configuration system, method, electronic device and storage medium
CN109542646A (en) Method and apparatus for calling application programming interface
CN115334153B (en) Data processing method and device for service grid
CN109165043B (en) Call detection method and device for audio input device and computer readable storage medium
CN110289935B (en) Decoding method, device, terminal and storage medium
CN114466062B (en) Message distribution method and device
US20230410962A1 (en) System and method for automatic display of contextually related data on multiple devices
US20230290115A1 (en) Method, apparatus and non-transitory computer readable medium
US11184463B1 (en) Interacting with a client system to gather client data to use to diagnose a problem at the client system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210507

RJ01 Rejection of invention patent application after publication