CN113111064A - Notification data processing method - Google Patents

Notification data processing method Download PDF

Info

Publication number
CN113111064A
CN113111064A CN202110390699.7A CN202110390699A CN113111064A CN 113111064 A CN113111064 A CN 113111064A CN 202110390699 A CN202110390699 A CN 202110390699A CN 113111064 A CN113111064 A CN 113111064A
Authority
CN
China
Prior art keywords
notification
data
record
hospital
user
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.)
Withdrawn
Application number
CN202110390699.7A
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.)
Beijing Tianjian Intelligent Technology Co ltd
Original Assignee
Beijing Tianjian Intelligent 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 Tianjian Intelligent Technology Co ltd filed Critical Beijing Tianjian Intelligent Technology Co ltd
Priority to CN202110390699.7A priority Critical patent/CN113111064A/en
Publication of CN113111064A publication Critical patent/CN113111064A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Software Systems (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

The embodiment of the invention relates to a method for processing notification data, which comprises the following steps: receiving a plurality of first hospital notification data in an active mode, and adding the first hospital notification data to a first notification database; or receiving a plurality of second hospital notification data in a passive mode and adding the second hospital notification data to the first notification database; setting the first notification state data of the newly added first notification data record to be in an unviewed state; pushing the latest notification data; receiving first login request data; extracting request user identification data; counting to generate a first new notification quantity; displaying the quantity; receiving first list query request data; counting to generate a first unviewed notification list; displaying a list; receiving first record query request data; extracting first record index data; generating a first query result record; and displaying the unviewed notification data, and modifying the corresponding first notification state data into a viewed state. The invention can reduce the repeated construction and bring more convenience to users.

Description

Notification data processing method
Technical Field
The invention relates to the technical field of data information processing, in particular to a processing method of notification data.
Background
With the deep development of information construction in the medical industry, regional information platforms are built in many areas. The platform is connected with the information centers of all medical institutions in the region to which the platform belongs, and provides public services like regional health public numbers, and the purpose is to provide a more comprehensive and more convenient medical health information platform for people. At present, the common business functions of the regional health public account also comprise the functions of outpatient service appointment and the like besides popularization of medical health science popularization knowledge. However, in actual research, it is found that the current functions are still insufficient, for example, although people can make an outpatient appointment through a medical health information platform, they cannot further obtain messages such as payment notification, inspection report notification, etc. through the platform, and if the information construction of a medical institution is lagged behind, people still need to make multiparty consultation on site or regularly go to the site for inquiry, so as to obtain accurate notification information. If the push service of the notification information can be added to the regional health public number, great convenience can be brought to the user.
Disclosure of Invention
The invention aims to provide a processing method of notification data, aiming at the defects of the prior art, which acquires different types of notification data from each medical institution in an active or passive acquisition mode and establishes a notification database to store the notification data; when new notification data are obtained each time, a single piece of notification information can be pushed to a corresponding user in time; and after the user enters the regional health public account service interface, functions of reminding the user of the unviewed notification, inquiring a list of the unviewed/viewed notification, inquiring data of the unviewed/viewed notification and the like are provided for the user. By integrating the notification modes of all medical institutions, the embodiment of the invention can reduce the repeated construction of each medical institution on one hand, improve the timeliness and effectiveness of notification push on the other hand, and most importantly, bring greater convenience to users.
In order to achieve the above object, an embodiment of the present invention provides a method for processing notification data, where the method includes:
receiving a plurality of first hospital notification data from a first hospital regularly in an active acquisition mode, and adding the plurality of first hospital notification data to a preset first notification database; or receiving a plurality of second hospital notification data pushed from a second hospital according to a passive acquisition mode, and adding the plurality of second hospital notification data to a preset first notification database; the first notification database comprises a plurality of first notification data records; the first notification data record comprises first user identification data and first notification status data; the first notification status data comprises an unviewed status and a viewed status;
upon adding a record to the first notification database, setting the first notification status data of the newly added first notification data record to an unviewed status; carrying out latest notification data pushing processing on a first user corresponding to the newly added first notification data record;
receiving first login request data sent from a second user; extracting request user identification data from the first login request data; counting the number of unviewed records corresponding to the request user identification data in the first notification database to generate a first new notification number; displaying the quantity of the new notification data to the second user according to the first new notification quantity;
receiving first list query request data sent from the second user; counting unviewed records corresponding to the request user identification data in the first notification database to generate a first unviewed notification list; according to the first unviewed notification list, displaying and processing an unviewed notification data list to the second user;
receiving first record query request data sent from the second user; extracting first record index data from the first record query request data; querying a record corresponding to the first record index data in the first notification database to generate a first query result record; and according to the first query result record, displaying unviewed notification data to the second user, and modifying the first notification state data of the corresponding first notification data record in the first notification database into a viewed state.
Preferably, the first notification data record further comprises first hospital identification data, first notification type data and first notification content data; the first notification type data comprises a reserved registered paid notification type, a reserved registered unpaid notification type, a project payment notification type, an inspection report notification type and an inspection report notification type;
the first list of unviewed notifications comprises a plurality of first unviewed notification records; the first unviewed notification record includes first notification record index data, first notification record hospital data, and first notification record type data.
Preferably, the receiving a plurality of first hospital notification data from a first hospital periodically in an active acquisition manner specifically includes:
periodically sending first hospital notification request data to the first hospital; and receiving a plurality of the first hospital notification data sent back from the first hospital.
Preferably, the receiving, in a passive acquisition manner, the plurality of second hospital notification data pushed from the second hospital specifically includes:
identifying a preset passive acquisition mode, if the passive acquisition mode is a real-time mode, receiving and monitoring a message push interface of the second hospital in real time, and generating a plurality of second hospital notification data according to the received data; and if the passive acquisition mode is a timing mode, regularly receiving and intercepting a message pushing interface of the second hospital according to a preset receiving period, and generating a plurality of second hospital notification data according to the received data.
Preferably, the performing, to the first user corresponding to the newly added first notification data record, the latest notification data pushing process specifically includes:
marking the newly added first notification data record as a first current record;
extracting the first hospital identification data, the first notification type data and the first notification content data of the first current record, and forming first latest user pushing data according to a preset notification data pushing template;
inquiring a first pushing interface record of a preset first pushing interface list according to the first user identification data of the first current record, and if the first pushing identification data of the first pushing interface record is matched with the first user identification data of the first current record, extracting the first pushing interface data of the first pushing interface record as first user pushing interface data;
and pushing the first latest user pushing data to the first user corresponding to the first currently recorded first user identification data by using a message pushing interface corresponding to the first user pushing interface data.
Preferably, the counting the number of unviewed records corresponding to the request user identification data in the first notification database, and generating a first new notification number specifically includes:
and in the first notification database, counting the number of the first notification data records of which the first user identification data is matched with the request user identification data and the first notification state data is in an unviewed state, and generating the first new notification number.
Preferably, the counting the unviewed records corresponding to the request user identification data in the first notification database, and generating a first unviewed notification list specifically includes:
polling all the first notification data records of the first notification database according to the request user identification data, and marking the first notification data records which are polled currently as second current records; when the first user identification data of the second current record is matched with the request user identification data and the first notification status data of the second current record is in an unviewed state, extracting index position information of the second current record in the first notification database as the first notification record index data, extracting the first hospital identification data of the second current record as the first notification record hospital data, extracting the first notification type data of the second current record as the first notification record type data, and forming the first unviewed notification record by the first notification record index data, the first notification record hospital data and the first notification record type data; and forming the first unviewed notification list by the obtained plurality of first unviewed notification records.
Preferably, the querying a record corresponding to the first record index data in the first notification database to generate a first query result record specifically includes:
marking the first unviewed notification record with record index position information matched with the first record index data in the first unviewed notification list as a third current record;
extracting the first notification record index data from the third current record to serve as second record index data;
and taking the first notification data record of which the record index position information is matched with the second record index data in the first notification database as the first query result record.
Preferably, the first notification data record further includes first notification time data, and the method further includes:
and performing record deletion operation on the first notification data record of the first notification database periodically, so that the first notification time data of the first notification data record in the first notification database is kept within a preset first time range.
Preferably, after the processing of displaying the new notification data amount to the second user, the method further includes:
receiving second list query request data transmitted from the second user; counting viewed records corresponding to the request user identification data in the first notification database, and generating a first viewed notification list; displaying a viewed notification data list to the second user according to the first viewed notification list;
receiving second record query request data sent from the second user; extracting third record index data from the second record query request data; querying a record corresponding to the third record index data in the first notification database to generate a second query result record; and displaying the viewed notification data to the second user according to the second query result record.
According to the processing method of the notification data provided by the embodiment of the invention, different types of notification data are acquired from each medical institution according to an active acquisition mode or a passive acquisition mode, and a notification database is established for storing the notification data; when new notification data are obtained each time, a single piece of notification information can be pushed to a corresponding user in time; and after the user enters the regional health public account service interface, functions of reminding the user of the unviewed notification, inquiring a list of the unviewed/viewed notification, inquiring data of the unviewed/viewed notification and the like are provided for the user. By using the embodiment of the invention to integrate the notification modes of all medical institutions, on one hand, the repeated construction of each medical institution is reduced, on the other hand, the timeliness and effectiveness of notification pushing are improved, and most importantly, greater convenience is brought to users.
Drawings
Fig. 1 is a schematic diagram of a processing method of notification data according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
A message center is added in a background of a regional health public account application, the message center is in butt joint with notification push interfaces of various medical structures, and a notification database is deployed below the message center for storing all received notification data, the message center adopts the notification data processing method provided by the embodiment of the invention, not only can send the latest notification data to a user in time, but also can provide functions of notification reminding, notification list query, notification data query and the like for the user through an application interface of the regional health public account application, fig. 1 is a schematic diagram of the notification data processing method provided by the embodiment of the invention, as shown in fig. 1, the method mainly comprises the following steps:
step 1, regularly receiving a plurality of first hospital notification data from a first hospital in an active acquisition mode; and adding the plurality of first hospital notification data to a preset first notification database.
Specifically, the information center periodically sends first hospital notification request data to a first hospital; receiving a plurality of first hospital notification data sent back from the first hospital; and then all the obtained first hospital notification data are converted into first notification data records meeting the format requirements of the first notification data records, and the first notification data records are added into a first notification database.
Wherein the first notification database comprises a plurality of first notification data records; the first notification data record comprises first user identification data, first hospital identification data, first notification type data, first notification content data and first notification status data; the first notification type data comprises a reserved registered paid notification type, a reserved registered unpaid notification type, a project payment notification type, an inspection report notification type and an inspection report notification type; the first notification status data includes an unviewed status and a viewed status.
Here, the first notification database is a database subordinate to the information center and used for storing notification data, and the first notification database is composed of a plurality of first notification data records; the first user identification data in each first notification data record is the identity information of the owner of the notification data, such as a name, identity document coding information and the like; the first hospital identification data is information of medical structure and/or subordinate department of medical institution generating the notification data, such as name, code information, etc. of medical structure and/or subordinate department; the first notification type data is type information of the notification data, such as a subscription registration paid/unpaid notification type, a project payment notification type, an inspection report notification type, a check report notification type, and the like; the first notification content data is detailed content information of the notification data, and the information can be conventionally composed of information elements such as characters, pictures, reports and the like, and can also be composed of specific electronic document files; the first notification status data is used for identifying whether the current record is browsed by the user, and is specifically in an unviewed state if the current record is not browsed by the user, and is specifically in a viewed state if the current record is browsed by the user.
Here, the first hospital is a medical institution that supports the information center to actively initiate the application. The information center sends a notification data acquisition request, namely first hospital notification request data, to an information interface of the medical structure regularly, for example, every 3-5 minutes, for the medical structure supporting active acquisition; the medical institution, after receiving the request, sends back all notification data that have been currently generated, that is, a plurality of first hospital notification data, to the information center; because the data format of the notification data of each medical structure is not necessarily standard and uniform, after receiving all the notification data sent back by the medical institution, the information center performs data format conversion on each piece of received notification data according to the data format of the first notification data record in the local first notification database; after the conversion is completed, the new first notification data record obtained by the conversion is added to the first notification database.
Step 2, receiving a plurality of second hospital notification data pushed from a second hospital in a passive acquisition mode; and adding a plurality of second hospital notification data to the first notification database;
wherein, receive a plurality of second hospital notice data of following the second hospital propelling movement according to passive acquisition mode, specifically include: identifying a preset passive acquisition mode, receiving and monitoring a message pushing interface of a second hospital in real time if the passive acquisition mode is a real-time mode, and generating a plurality of second hospital notification data according to the received data; and if the passive acquisition mode is a timing mode, regularly receiving and intercepting the message pushing interface of the second hospital according to a preset receiving period, and generating a plurality of second hospital notification data according to the received data.
Here, the second hospital is a medical institution supporting the active push of notification data to the information center. There are two additional modes of cooperation between the information center and the medical institution supporting active push: real-time mode and timed mode. If the second hospital is a regular hospital, the types of the generated notification data are more, and the requirement for real-time notification is higher, in which case, a real-time mode is generally agreed; if the second hospital is embodied as an examination facility, the type of the notification data generated by the second hospital is relatively single, and the requirement for real-time notification is not high, in which case the second hospital can be defined as a timing mode. When the passive acquisition mode is a real-time mode, the information center monitors the information of the network interface appointed by the second hospital, namely the information pushing interface of the second hospital in real time, and starts to receive, analyze and convert the notification data once identifying that the received data is appointed message data, and adds a new first notification data record obtained by conversion into the first notification database. When the passive acquisition mode is specifically a timing mode, the information center listens to a network interface appointed by the second hospital, that is, a message pushing interface of the second hospital, in a preset receiving period, and once the received data is identified to be appointed message data, the information center starts to receive, analyze and convert the notification data, and adds a new first notification data record obtained through conversion to the first notification database, wherein the preset receiving period may be one specific time, one specific time period, or a plurality of specific times or a plurality of specific time periods.
Step 3, when adding a record to the first notification database, setting the first notification state data of the newly added first notification data record to be in an unviewed state; and carrying out latest notification data pushing processing on the first user corresponding to the newly added first notification data record.
Here, when the information center adds a new first notification data record to the first notification database through step 1 or 2, two operations are additionally performed: and modifying the first notification state data of the newly added first notification data record, and pushing the latest notification data to the first user corresponding to the newly added first notification data record. The reason for modifying the first notification status data of the new record is that the current notification data must not be called by the user for browsing, so the current notification data is set to be in an unviewed state by default, otherwise, errors may be caused when the unviewed record is queried subsequently. The latest notification data is pushed to the first user, so that the notification data can be pushed to the user in time at the first time.
The method specifically includes the following steps that a first user corresponding to a newly added first notification data record is subjected to latest notification data pushing processing:
step 31, marking the newly added first notification data record as a first current record;
for example, the newly added first notification data record is: first user identification data (XX), first hospital identification data (Y hospital), first notification type data (examination report notification type), first notification content data (physical examination report of XX), first notification status data (non-viewed status), and the data content of the first record should be consistent with the above contents;
step 32, extracting first hospital identification data, first notification type data and first notification content data of a first current record, and forming first latest user pushing data according to a preset notification data pushing template;
here, the notification data pushing template is a pushing data template which is preset and can be edited for the second time, and the conventional data pushing template includes elements such as a head-up element, a title element, a content element and the like; the first latest user push data is final push data, the data can be a data object of pure characters, a data object composed of characters, or tables, or graphics, an information link, and detailed notification content obtained by clicking the link by a user, and the data can also be specific point document file data;
for example, the first current record is the first user identification data (XX), the first hospital identification data (Y hospital), the first notification type data (examination report notification type), the first notification content data (physical examination report of XX), and the first notification status data (non-viewed status), and the notification data push template is a template structure formed by pure characters, so that after the information center extracts the first hospital identification data (Y hospital), the first notification type data (examination report notification type), and the first notification content data (physical examination report of XX) from the first current record, the specific character contents of "Y hospital", "examination report notification type", and "physical examination report of XX" are brought into the notification data push template to form the last first latest user push data;
step 33, inquiring a first push interface record of a preset first push interface list according to the first user identification data of the first current record, and if the first push identification data of the first push interface record is matched with the first user identification data of the first current record, extracting the first push interface data of the first push interface record as the first user push interface data;
here, the first push interface list is a preset interface list capable of being edited for the second time, and the list is composed of a plurality of first push interface records; each first pushing interface record comprises first pushing identification data and first pushing interface data; the first push identification data is actually the identity identification information of the user and the first user identification data in the first notification data record in a consistent format, and the first push interface data is communication interface information reserved for the user, such as account information (microblog, wechat and the like) of a social network site/software, or mobile phone number information and the like;
for example, if the first user identification data is "XX", 2 first push interface records are in the first push interface list, the first push identification data recorded by the 1 st first push interface is "XX", and the first push identification data recorded by the 2 nd first push interface is "third", the information center selects the 1 st first push interface record as the matching result; if the first push interface data recorded by the 1 st first push interface is specifically the micro signal of XX, the first user push interface data is also the micro signal of XX;
and step 34, pushing the first latest user push data to the first user corresponding to the first currently recorded first user identification data by using a message push interface corresponding to the first user push interface data.
Here, the message pushing interface corresponding to the first user pushing interface data is determined by the specific type of the first user pushing interface data, and if the type of the first user pushing interface data is account information of a social network site/software, the information center calls the information pushing interface of the corresponding platform to push first latest user pushing data to the social network site/software account; if the type of the first user push interface data is mobile phone number information, the information center calls an information push interface corresponding to a mobile operator to push the first latest user push data to the mobile phone number.
For example, if the first user pushes the micro-signal with the interface data XX, the information center immediately calls the information pushing interface of the micro-signal platform to push the first latest user pushing data formed by the notification data pushing template brought by the "Y hospital", "the examination report notification type", and "the physical examination report of XX" to the micro-signal of XX.
After receiving the first latest user push data sent by the information center, the user may or may not immediately view the first latest user push data, and if the user cannot view the first latest user push data in time or add to the accumulation of other various information of the user side, the user may lose and ignore the notification data. In addition, some users set an information shielding function for receiving social network site/software or mobile phone information, and the situation can also cause that the users cannot normally receive notification data pushed down by the information center. Therefore, the embodiment of the present invention combines the following steps 4 to 6 with the application function of the regional health public number application, and adds the functions of notification reminding, notification list query, notification data query, etc. to the functions of the regional health public number application, so that even if the user misses the instant message, which is the latest notification data, more comprehensive notification data information can be obtained by logging in the regional health public number application.
Step 4, receiving first login request data sent by a second user; extracting request user identification data from the first login request data; counting the number of unviewed records corresponding to the request user identification data in the first notification database to generate a first new notification number; and performing new notification data quantity display processing on the second user according to the first new notification quantity.
Here, the first login request data is application login request data sent from the user terminal to the information center when the user enters the regional health public account application, and the first login request data includes identification information of the current login user, that is, request user identification data.
The method for generating the new notification includes the following steps of counting the number of unviewed records corresponding to the request user identification data in the first notification database, and generating a first new notification number: in the first notification database, the number of first notification data records, in which the first user identification data is matched with the request user identification data and the first notification status data is in an unviewed state, is counted, and a first new notification number is generated.
For example, the requesting user identification data in the first login request data is "XX", and the first notification database contains 3 first notification data records: a 1 st first notification data record (first user identification data is "XX", first notification status data is "unviewed status"), a 2 nd first notification data record (first user identification data is "XX", first notification status data is "viewed status"), a 3 rd first notification data record (first user identification data is "third", first notification status data is "unviewed status"); the counted first new notification quantity is 1, that is, only the 1 st notification data record satisfies both that the first user identification data matches the request user identification data and that the first notification status data is in an unviewed status.
Here, when the new notification data amount display processing is performed on the second user according to the first new notification amount, the first new notification amount may be displayed in an instant message manner, for example, a pop-up interface is given to display a prompt message with the first new notification amount, or a highlight strip is given to flash display the prompt message with the first new notification amount, or the first new notification amount is displayed on a hypertext Markup Language 5.0 (HTML 5) page by displaying a tag red dot and/or by adding a number to the tag red dot.
It should be noted that the first login request data may further include identity check code data of the current user login, where the identity check code data may be user password information, authorization code information of the third party platform, or no authentication information or null. When the user enters the regional health public number application, the embodiment of the invention can also carry out legality identification on the identity of the current login user, specifically, the identity of the current login user is identified according to the identification data of the request user and the identity check code data: and if the identity check code data is user password information, the identity of the current login user is identified according to a locally stored user-password list, if the identity check code data is authorization code information, the identity of the current login user is identified according to the locally stored user-authorization list, if the identity check code data is specifically set to be information authentication-free or empty, the identity of the current login user is successfully identified by default, and the operation of the step 4-6 can be continued after the identity of the current login user is successfully identified.
Step 5, receiving first list inquiry request data sent from a second user; counting unviewed records corresponding to the request user identification data in the first notification database, and generating a first unviewed notification list; and performing list display processing of the unviewed notification data to the second user according to the first unviewed notification list.
Here, in the embodiment of the present invention, an activation module for querying an unviewed notification data list is added to an interface module of the regional health public account application, for example, a menu selection is added to a menu, or a button or a service link is added to the interface, and after a user triggers the activation module, the information center receives a request data, that is, a first list query request data; after receiving the first list query request data, the information center will count all the first notification data records in an unviewed state, which are matched with the identification information of the current login user, namely the identification data of the request user, from the first notification database, form a first unviewed notification list in sequence, and display the list to the user.
The method includes the steps of counting unviewed records corresponding to the request user identification data in a first notification database, and generating a first unviewed notification list, and specifically includes:
polling all first notification data records of a first notification database according to the request user identification data, and marking the currently polled first notification data records as second current records; when the first user identification data of the second current record is matched with the request user identification data and the first notification state data of the second current record is in an unviewed state, extracting index position information of the second current record in a first notification database as first notification record index data, extracting first hospital identification data of the second current record as first notification record hospital data, extracting first notification type data of the second current record as first notification record type data, and forming a first unviewed notification record by the first notification record index data, the first notification record hospital data and the first notification record type data; forming a first unviewed notification list by the obtained plurality of first unviewed notification records;
wherein the first unviewed notification list comprises a plurality of first unviewed notification records; the first unviewed notification record includes first notification record index data, first notification record hospital data, and first notification record type data.
Here, it is worth explaining that the first notification record index data in the first unviewed notification record is an index of a corresponding one of the first notification data records, the first notification record hospital data is the first hospital identification data of the corresponding first notification data record, and the first notification record type data is the first notification type data of the corresponding first notification data record.
For example, the requested user identification data is "XX", and the first notification database contains 4 first notification data records:
a 1 st first notification data record (first user identification data of "XX", first hospital identification data of "a hospital", first notification type data of "examination report notification type", first notification status data of "viewed status"),
a 2 nd first notification data record (first user identification data is "XX", first hospital identification data is "Y hospital", first notification type data is "examination report notification type", first notification status data is "not viewed"),
a 3 rd first notice data record (first user identification data is "XX", first hospital identification data is "Z hospital", first notice type data is "examination report notice type", first notice status data is "not viewed"),
a 4 th first notification data record (first user identification data "zhangsan", first hospital identification data "B hospital", first notification type data "examination report notification type", first notification status data "not viewed");
wherein, the only first notification data records meeting the requirements that the first user identification data is matched with the request user identification data and the first notification status data of the second current record is the unviewed status are the 2 nd and 3 rd records, then the finally obtained first unviewed notification list only comprises 2 first unviewed notification records, as shown below:
1 st first unviewed notification record (first notification record index data is 2, first notification record hospital data is "Y hospital", first notification record type data is "examination report notification type");
the 2 nd first unviewed notification record (first notification record index data of 3, first notification record hospital data of "Z hospital", first notification record type data of "examination report notification type").
Here, when the list display processing of the non-viewed notification data is performed on the second user according to the first non-viewed notification list, the first non-viewed notification record in the first non-viewed notification list may be displayed in a plurality of manners such as a table/list manner, a card/icon, and the like, where each line corresponds to one first non-viewed notification record if the table/list manner is used for display, and each card/icon corresponds to one first non-viewed notification record if the card/icon manner is used for display.
Step 6, receiving first record inquiry request data sent from a second user; extracting first record index data from the first record query request data; querying a record corresponding to the first record index data in the first notification database to generate a first query result record; and displaying unviewed notification data to the second user according to the first query result record, and modifying the first notification state data of the corresponding first notification data record in the first notification database into a viewed state.
Here, after the first unviewed notification list is displayed in the interface of the regional health public number application, the embodiment of the present invention may further perform full-text display on the unviewed notification data according to the record selection result of the user on the display interface, and since the notification data is already displayed, it is necessary to modify the corresponding first notification status data into the viewed status.
The querying of the record corresponding to the first record index data in the first notification database to generate the first query result record specifically includes: marking a first unviewed notification record with the record index position information matched with the first record index data in the first unviewed notification list as a third current record; extracting first notification record index data from the third current record to serve as second record index data; and taking the first notification data record of which the record index position information is matched with the second record index data in the first notification database as a first query result record.
For example, the first unviewed notification list contains 2 first unviewed notification records, as follows:
1 st first unviewed notification record (first notification record index data is 2, first notification record hospital data is "Y hospital", first notification record type data is "examination report notification type");
2 the first unviewed notification record (the first notification record index data is 3, the first notification record hospital data is "hospital Z", and the first notification record type data is "inspection report notification type");
when the current login user "XX" browses the list, the display content corresponding to the 2 nd first unviewed notification record is clicked, the first record index data in the first record query request data received by the information center is 2, the first notification record index data is extracted from the 2 nd first unviewed notification record of the first unviewed notification list as second record index data, where the second record index data is specifically 3, and then the 3 rd first notification data record is called from the first notification database as a first query result record. Then, the information center calls a content display module of the regional health public account application to display the first query result record, namely the 3 rd first notification data record.
In summary, the embodiment of the invention can not only push the notification data to the user immediately at the first time when the notification data is received, but also provide the notification reminder, the inquiry of the non-viewed notification list, the inquiry of the non-viewed notification data and other functions to the user through the regional health public account application.
In addition, the first notification data record may further include first notification time data, and the method according to the embodiment of the present invention further includes:
and performing record deletion operation on the first notification data record of the first notification database periodically, so that the first notification time data of the first notification data record in the first notification database is kept within a preset first time range.
Here, the first notification time data is specifically time information of the medical structure generating the notification data, for example, if the first notification type data is a verification report notification type and the first notification content data is an accounting verification report, the first notification time is time information of the user performing the accounting verification; the first time range is a preset value.
Here, because the notification data is time-efficient, it will be deleted from the local database, i.e., the first notification database, periodically to avoid the data volume from being too large due to long-term accumulation. The rule for periodic deletion is conventionally reserved for 3 months, that is to say the first time range is conventionally set to 3 months. And when deleting, calculating the time difference between the current time and the first notification time data recorded by the first notification data, if the time difference is not more than 3 months, keeping the record, otherwise, deleting the record.
In addition, the embodiment of the invention can also provide the functions of inquiring the checked notification list, inquiring the checked notification data and the like for the user through the regional health public number application.
After the method of the embodiment of the present invention performs the new notification data quantity display processing on the second user, the method further includes:
receiving second list inquiry request data transmitted from a second user; counting viewed records corresponding to the request user identification data in the first notification database, and generating a first viewed notification list; and performing viewed notification data list display processing on the second user according to the first viewed notification list.
Here, in the embodiment of the present invention, an activation module for querying a viewed notification data list is added to an interface module of the regional health public account application, for example, a menu selection is added to a menu, or a button or a service link is added to the interface, and after a user triggers the activation module, the information center receives a request data, that is, a second list query request data; after receiving the second list query request data, the information center will count all the first notification data records in the viewed state, which are matched with the identification information of the current login user, namely the request user identification data, from the first notification database, form a first viewed notification list in sequence, and then display the list to the user.
Receiving second record query request data sent from a second user; extracting third record index data from the second record query request data; querying a record corresponding to the third record index data in the first notification database to generate a second query result record; and displaying the viewed notification data to the second user according to the second query result record.
Here, after the first viewed notification list is displayed in the interface of the regional health public account application, the embodiment of the present invention may further display the viewed notification data in full text according to the record selection result of the user on the display interface.
According to the processing method of the notification data provided by the embodiment of the invention, different types of notification data are acquired from each medical institution according to an active acquisition mode or a passive acquisition mode, and a notification database is established for storing the notification data; when new notification data are obtained each time, a single piece of notification information can be pushed to a corresponding user in time; and after the user enters the regional health public account service interface, functions of reminding the user of the unviewed notification, inquiring a list of the unviewed/viewed notification, inquiring data of the unviewed/viewed notification and the like are provided for the user. By using the embodiment of the invention to integrate the notification modes of all medical institutions, on one hand, the repeated construction of each medical institution is reduced, on the other hand, the timeliness and effectiveness of notification pushing are improved, and most importantly, greater convenience is brought to users.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, a software module executed by a processor, or a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method for processing notification data, the method comprising:
receiving a plurality of first hospital notification data from a first hospital regularly in an active acquisition mode, and adding the plurality of first hospital notification data to a preset first notification database; or receiving a plurality of second hospital notification data pushed from a second hospital according to a passive acquisition mode, and adding the plurality of second hospital notification data to a preset first notification database; the first notification database comprises a plurality of first notification data records; the first notification data record comprises first user identification data and first notification status data; the first notification status data comprises an unviewed status and a viewed status;
upon adding a record to the first notification database, setting the first notification status data of the newly added first notification data record to an unviewed status; carrying out latest notification data pushing processing on a first user corresponding to the newly added first notification data record;
receiving first login request data sent from a second user; extracting request user identification data from the first login request data; counting the number of unviewed records corresponding to the request user identification data in the first notification database to generate a first new notification number; displaying the quantity of the new notification data to the second user according to the first new notification quantity;
receiving first list query request data sent from the second user; counting unviewed records corresponding to the request user identification data in the first notification database to generate a first unviewed notification list; according to the first unviewed notification list, displaying and processing an unviewed notification data list to the second user;
receiving first record query request data sent from the second user; extracting first record index data from the first record query request data; querying a record corresponding to the first record index data in the first notification database to generate a first query result record; and according to the first query result record, displaying unviewed notification data to the second user, and modifying the first notification state data of the corresponding first notification data record in the first notification database into a viewed state.
2. The notification data processing method according to claim 1,
the first notification data record further comprises first hospital identification data, first notification type data and first notification content data; the first notification type data comprises a reserved registered paid notification type, a reserved registered unpaid notification type, a project payment notification type, an inspection report notification type and an inspection report notification type;
the first list of unviewed notifications comprises a plurality of first unviewed notification records; the first unviewed notification record includes first notification record index data, first notification record hospital data, and first notification record type data.
3. The method for processing notification data according to claim 2, wherein the receiving a plurality of first hospital notification data from a first hospital periodically in an active acquisition manner specifically includes:
periodically sending first hospital notification request data to the first hospital; and receiving a plurality of the first hospital notification data sent back from the first hospital.
4. The method for processing notification data according to claim 2, wherein the receiving, in a passive acquisition manner, the plurality of second hospital notification data pushed from the second hospital specifically includes:
identifying a preset passive acquisition mode, if the passive acquisition mode is a real-time mode, receiving and monitoring a message push interface of the second hospital in real time, and generating a plurality of second hospital notification data according to the received data; and if the passive acquisition mode is a timing mode, regularly receiving and intercepting a message pushing interface of the second hospital according to a preset receiving period, and generating a plurality of second hospital notification data according to the received data.
5. The method for processing notification data according to claim 2, wherein the performing, to the first user corresponding to the newly added first notification data record, latest notification data pushing processing specifically includes:
marking the newly added first notification data record as a first current record;
extracting the first hospital identification data, the first notification type data and the first notification content data of the first current record, and forming first latest user pushing data according to a preset notification data pushing template;
inquiring a first pushing interface record of a preset first pushing interface list according to the first user identification data of the first current record, and if the first pushing identification data of the first pushing interface record is matched with the first user identification data of the first current record, extracting the first pushing interface data of the first pushing interface record as first user pushing interface data;
and pushing the first latest user pushing data to the first user corresponding to the first currently recorded first user identification data by using a message pushing interface corresponding to the first user pushing interface data.
6. The method for processing notification data according to claim 2, wherein the counting the number of unviewed records in the first notification database corresponding to the requested user identification data to generate a first new notification number specifically includes:
and in the first notification database, counting the number of the first notification data records of which the first user identification data is matched with the request user identification data and the first notification state data is in an unviewed state, and generating the first new notification number.
7. The method for processing notification data according to claim 2, wherein the counting un-viewed records in the first notification database corresponding to the requesting user identification data, and generating a first un-viewed notification list specifically includes:
polling all the first notification data records of the first notification database according to the request user identification data, and marking the first notification data records which are polled currently as second current records; when the first user identification data of the second current record is matched with the request user identification data and the first notification status data of the second current record is in an unviewed state, extracting index position information of the second current record in the first notification database as the first notification record index data, extracting the first hospital identification data of the second current record as the first notification record hospital data, extracting the first notification type data of the second current record as the first notification record type data, and forming the first unviewed notification record by the first notification record index data, the first notification record hospital data and the first notification record type data; and forming the first unviewed notification list by the obtained plurality of first unviewed notification records.
8. The method for processing notification data according to claim 2, wherein the querying a record in the first notification database corresponding to the first record index data to generate a first query result record specifically includes:
marking the first unviewed notification record with record index position information matched with the first record index data in the first unviewed notification list as a third current record;
extracting the first notification record index data from the third current record to serve as second record index data;
and taking the first notification data record of which the record index position information is matched with the second record index data in the first notification database as the first query result record.
9. The notification data processing method according to claim 2, wherein the first notification data record further includes first notification time data, the method further comprising:
and performing record deletion operation on the first notification data record of the first notification database periodically, so that the first notification time data of the first notification data record in the first notification database is kept within a preset first time range.
10. The notification data processing method according to claim 2, wherein after the new notification data amount display processing to the second user, the method further comprises:
receiving second list query request data transmitted from the second user; counting viewed records corresponding to the request user identification data in the first notification database, and generating a first viewed notification list; displaying a viewed notification data list to the second user according to the first viewed notification list;
receiving second record query request data sent from the second user; extracting third record index data from the second record query request data; querying a record corresponding to the third record index data in the first notification database to generate a second query result record; and displaying the viewed notification data to the second user according to the second query result record.
CN202110390699.7A 2021-04-12 2021-04-12 Notification data processing method Withdrawn CN113111064A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110390699.7A CN113111064A (en) 2021-04-12 2021-04-12 Notification data processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110390699.7A CN113111064A (en) 2021-04-12 2021-04-12 Notification data processing method

Publications (1)

Publication Number Publication Date
CN113111064A true CN113111064A (en) 2021-07-13

Family

ID=76715966

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110390699.7A Withdrawn CN113111064A (en) 2021-04-12 2021-04-12 Notification data processing method

Country Status (1)

Country Link
CN (1) CN113111064A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113688140A (en) * 2021-09-10 2021-11-23 平安医疗健康管理股份有限公司 Medical data processing method and device, computer equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113688140A (en) * 2021-09-10 2021-11-23 平安医疗健康管理股份有限公司 Medical data processing method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN100531454C (en) Method and apparatus for an e-commerce message using SMS
US20150019305A1 (en) Systems and methods for following-up on business leads
KR101015794B1 (en) System and method for collecting intention automatically
US20050021428A1 (en) Time management system for mobile employees
CN105827706A (en) Information push device and method
KR102160615B1 (en) System for managing untact business and method thereof
CN103841123A (en) Number information obtaining method and obtaining system, and cloud number information system
EP3944566A1 (en) Method for sharing electronic content or comments with specific user
CN107451912A (en) The processing method and processing device of credit information
KR102137961B1 (en) SYSTEM FOR PROVIDING REAL-TIME INSTANT MEETING SERVICE BASED ON General Data Protection Regulation
CN102842094A (en) Server, inter-business enterprise information control method and computer program
CN106384255B (en) Method and device for creating information code popularization information
CN113111064A (en) Notification data processing method
Zhou et al. USSD technology a low cost asset in complementing public health workers’ work processes
CN111934991B (en) Service processing method, system, electronic device and storage medium
CN112184419A (en) Method and device for providing service for customer
CN106407480A (en) Information search method and system
JP2016040658A (en) Inventory support device, inventory support method, and program
KR20000059252A (en) Method for managing lost article and found article information through a communication network
CN108259589A (en) A kind of fund call center system and method for calling based on Web service
KR20150003935A (en) Method for providing text ars service, method and server for providing message ars development tool, and xml generation method
CN102170619A (en) Parent-school interactive cellphone client system
CN112381516A (en) Schedule reminding method, electronic equipment and computer readable storage medium
CN105589625B (en) Processing method and device of social media message and communication terminal
US20230089889A1 (en) Method for sharing electronic content or comments to specific users

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20210713