[go: up one dir, main page]

CN115775148B - Payment processing method, device and equipment for hospital information system based on message machine - Google Patents

Payment processing method, device and equipment for hospital information system based on message machine Download PDF

Info

Publication number
CN115775148B
CN115775148B CN202310096623.2A CN202310096623A CN115775148B CN 115775148 B CN115775148 B CN 115775148B CN 202310096623 A CN202310096623 A CN 202310096623A CN 115775148 B CN115775148 B CN 115775148B
Authority
CN
China
Prior art keywords
information
message
order
machine
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310096623.2A
Other languages
Chinese (zh)
Other versions
CN115775148A (en
Inventor
罗勇
吴福林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Arrcen Technology Co ltd
Original Assignee
Sichuan Arrcen 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 Sichuan Arrcen Technology Co ltd filed Critical Sichuan Arrcen Technology Co ltd
Priority to CN202310096623.2A priority Critical patent/CN115775148B/en
Publication of CN115775148A publication Critical patent/CN115775148A/en
Application granted granted Critical
Publication of CN115775148B publication Critical patent/CN115775148B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

本发明公开了基于消息机的医院信息系统支付处理方法、装置及设备,涉及互联网技术领域,其技术方案要点是:通过消息机对订单信息、处理信息和通知信息构造拥有确认机制和上报机制的消息体,在每一个节点上都保证消息的准确收到,能够在异常发生的情况下,主动上报所在节点的故障信息,工作人员在接到故障信息,依据故障信息处理好故障后,消息机会自动重发失败的订单消息、处理信息或通知信息,保证了原来的信息传递和业务逻辑,通过消息机大大减少了整个订单支付系统的信息传输复杂度,提高了故障排查的精准度。

Figure 202310096623

The invention discloses a payment processing method, device and equipment for a hospital information system based on a message machine, and relates to the field of Internet technology. The message body ensures that the message is received accurately on each node, and can actively report the fault information of the node where the fault occurs in the event of an abnormality. After the staff receives the fault information and handles the fault according to the fault information, the message opportunity Automatic resending of failed order messages, processing information or notification information ensures the original information transmission and business logic, greatly reduces the complexity of information transmission of the entire order payment system through the message machine, and improves the accuracy of troubleshooting.

Figure 202310096623

Description

基于消息机的医院信息系统支付处理方法、装置及设备Payment processing method, device and equipment for hospital information system based on message machine

技术领域technical field

本发明涉及一种互联网技术领域,更具体地说,它涉及基于消息机的医院信息系统支付处理方法、装置及设备。The present invention relates to the field of Internet technology, more specifically, it relates to a payment processing method, device and equipment for a hospital information system based on a message machine.

背景技术Background technique

现在大量的医院都开发或者部署了微信公众号、小程序、APP等客户端前端应用程序,可在应用程序中提供挂号、缴费、查询报告等服务,但是由于服务的网络通讯过程中需要经过云服务器、前置服务器(一台可以上内网和外网的电脑)、医院信息系统(HIS系统)三个节点,传统网络结构图如图1所示。这种网络结构由于节点过多,网络环境各不相同、各个系统差异性比较大,往往容易造成网络断线、网络故障、数据丢包等情况,导致用户在前端应用程序中支付成功了,而支付成功的状态没有及时更新到HIS系统中,使得最终无法在前端应用程序中显示订单信息的支付状态,导致用户的体验和满意度不高。Now a large number of hospitals have developed or deployed front-end applications such as WeChat public accounts, small programs, and APPs, which can provide services such as registration, payment, and query reports in the applications. There are three nodes, the server, the front server (a computer that can access the intranet and the extranet), and the hospital information system (HIS system). Due to too many nodes in this network structure, the network environment is different, and the differences between each system are relatively large, it is often easy to cause network disconnection, network failure, data packet loss, etc., resulting in the user's successful payment in the front-end application program, but The successful payment status was not updated to the HIS system in time, so that the payment status of the order information could not be displayed in the front-end application, resulting in low user experience and satisfaction.

因此,如何针对在微信公众号、小程序、APP等前端应用程序中支付成功后,更新到HIS系统失败的情况,以提高支付成功率,从而增加用户满意度和减少医院员工的工作量。Therefore, how to improve the success rate of payment for the failure of updating to the HIS system after successful payment in front-end applications such as WeChat official accounts, applets, and APPs, thereby increasing user satisfaction and reducing the workload of hospital staff.

发明内容Contents of the invention

本发明为了解决上述现有技术的不足之处,提供基于消息机的医院信息系统支付处理方法、装置及设备,本发明基于可靠的消息机组件,来保证消息在网络传输各个节点上的可靠度,从确保每一个订单能够正确的更新到医院的HIS系统的数据库,保证订单状态的一致性和可靠性,从而提高订单支付的成功率和客户满意度,确保医院信息系统的营运效率。In order to solve the shortcomings of the above-mentioned prior art, the present invention provides a payment processing method, device and equipment for a hospital information system based on a message machine. The present invention is based on a reliable message machine component to ensure the reliability of messages transmitted on each node of the network , From ensuring that each order can be correctly updated to the database of the hospital's HIS system, to ensure the consistency and reliability of the order status, thereby improving the success rate of order payment and customer satisfaction, and ensuring the operational efficiency of the hospital information system.

本发明的上述技术目的是通过以下技术方案得以实现的:Above-mentioned technical purpose of the present invention is achieved through the following technical solutions:

本申请的第一方面,提供了一种基于消息机的医院信息系统支付处理方法,应用于配置有公共服务系统的云服务器,并在云服务器上配置第一消息机,方法包括:The first aspect of the present application provides a message machine-based payment processing method for a hospital information system, which is applied to a cloud server configured with a public service system, and a first message machine is configured on the cloud server. The method includes:

第一消息机在检测到有订单信息进入时,构造订单信息的第一消息体,其中第一消息体包括状态属性和计数器,状态属性的初始属性为第一指示符,计数器的初始数值为零;When the first message machine detects the entry of order information, it constructs the first message body of the order information, wherein the first message body includes a status attribute and a counter, the initial attribute of the status attribute is the first indicator, and the initial value of the counter is zero ;

云服务器将订单信息发送给配置有医院信息系统的前置服务器,在前置服务器检测到有订单信息进入时,生成第一确认信息,第一消息机接收来自前置服务器发送的第一确认信息,其中前置服务器配置有第二消息机;The cloud server sends the order information to the front-end server configured with the hospital information system, and when the front-end server detects that there is order information entering, it generates the first confirmation information, and the first message machine receives the first confirmation information sent from the front-end server , wherein the front-end server is configured with a second messaging machine;

第一消息机在检测到第一确认信息时,将第一消息体的状态属性变更为第二指示符,实时检测第一消息体的状态属性,在状态属性为第二指示符时,前置服务器接收到订单信息;When the first message machine detects the first confirmation information, it changes the state attribute of the first message body to the second indicator, detects the state attribute of the first message body in real time, and when the state attribute is the second indicator, prepends The server receives the order information;

云服务器接收到来自前置服务器发送的通知信息时,生成第四确认信息,将第四确认信息发送给第二消息机,同时,云服务器响应于针对所述订单信息的更新操作,根据所述更新操作更新所述订单信息的订单状态,其中,通知信息表示订单信息处理完成。When the cloud server receives the notification information sent from the front-end server, it generates fourth confirmation information, and sends the fourth confirmation information to the second message machine. At the same time, the cloud server responds to the update operation for the order information, according to the The update operation updates the order status of the order information, wherein the notification information indicates that the processing of the order information is completed.

在一种实施方案中,所述第一消息机在检测到有订单信息进入时,生成订单信息的第一消息体之前,所述方法还包括:In one embodiment, when the first message machine detects that order information has entered, before generating the first message body of the order information, the method further includes:

获取用户端生成的订单信息,其中订单信息含有每个订单请求的时序信息;Obtain the order information generated by the client, where the order information contains the timing information of each order request;

根据时序信息生成具有多个订单请求的消息队列;Generate a message queue with multiple order requests based on timing information;

按照时序信息从所述消息队列中取出一个订单信息,并发送给第一消息机。An order information is taken out from the message queue according to the timing information, and sent to the first message machine.

在一种实施方案中,所述方法还包括:In one embodiment, the method further comprises:

在第一消息机检测到第一消息体的状态属性为第一指示符时,则订单信息未被前置服务器接收,云服务器继续向配置有医院信息系统的前置服务器的发送一次订单信息,同时,第一消息体的计数器加一;When the first message machine detects that the status attribute of the first message body is the first indicator, the order information is not received by the front-end server, and the cloud server continues to send the order information once to the front-end server configured with the hospital information system, At the same time, the counter of the first message body is increased by one;

在检测到第一消息体的计数器的数值大于计数阈值时,生成前置服务器的故障信息;When it is detected that the value of the counter of the first message body is greater than the counting threshold, generating fault information of the front server;

依据前置服务器的故障信息对前置服务器进行诊断处理,在故障处理结束后,重置第一消息体的计数器的数值为零,同时,云服务器向配置有医院信息系统的前置服务器重发订单信息。Diagnose and process the front-end server according to the fault information of the front-end server. After the fault processing is completed, reset the value of the counter of the first message body to zero, and at the same time, the cloud server resends the message to the front-end server configured with the hospital information system. order information.

本申请的第二方面,提供了一种消息机的医疗信息系统支付方法,应用于配置有医院信息系统的前置服务器,其中前置服务器配置有第二消息机,医院信息系统配置有第三消息机,所述方法包括:The second aspect of the present application provides a medical information system payment method of a messaging machine, which is applied to a front-end server configured with a hospital information system, wherein the front-end server is configured with a second messaging machine, and the hospital information system is configured with a third A message machine, the method comprising:

前置服务器接收来自云服务器发送的订单信息;The front-end server receives the order information sent from the cloud server;

前置服务器在检测到有订单信息进入时,生成第一确认信息,并将第一确认信息发送至第一消息机;When the front-end server detects the entry of order information, it generates first confirmation information, and sends the first confirmation information to the first message machine;

所述第二消息机向所述医院信息系统发出新订单信息到达的通知信息,所述医院信息系统生成第二确认信息,并将第二确认信息发送给第二消息机;The second message machine sends notification information of the arrival of new order information to the hospital information system, and the hospital information system generates second confirmation information and sends the second confirmation information to the second message machine;

所述医院信息系统根据所述订单信息生成缴费记录账单,并按照业务类型对应的业务逻辑对所述缴费记录账单进行处理,生成订单信息处理完成的处理信息,其中业务类型包括门诊业务类型或住院业务类型;The hospital information system generates a payment record bill according to the order information, and processes the payment record bill according to the business logic corresponding to the business type, and generates processing information that the order information processing is completed, where the business type includes outpatient business type or hospitalization business type;

在前置服务器接收到所述处理信息时,前置服务器生成第三确认信息,并将第三确认信息发送给第三消息机,同时,第二消息机向云服务器发送订单处理完成的通知信息。When the front-end server receives the processing information, the front-end server generates third confirmation information, and sends the third confirmation information to the third messaging machine, and at the same time, the second messaging machine sends notification information that the order processing is completed to the cloud server .

在一种实施方案中,所述方法还包括:In one embodiment, the method further comprises:

第二消息机在检测到有订单信息进入时,构造订单信息的第二消息体,其中第二消息体包括状态属性和计数器,状态属性的初始属性为第一指示符,计数器的初始数值为零;When the second message machine detects the entry of order information, it constructs the second message body of the order information, wherein the second message body includes a status attribute and a counter, the initial attribute of the status attribute is the first indicator, and the initial value of the counter is zero ;

第二消息机在检测到第二确认信息时,将第一消息体的状态属性变更为第二指示符,实时检测第二消息体的状态属性,在状态属性为第二指示符时,医院信息系统接收到订单信息;When the second message machine detects the second confirmation information, it changes the status attribute of the first message body to the second indicator, detects the status attribute of the second message body in real time, and when the status attribute is the second indicator, the hospital information The system receives the order information;

在第二消息体的状态属性为第一指示符时,医院信息系统未接收到订单信息,前置服务器继续向医院信息系统发送一次订单信息,同时,第二消息体的计数器加一;When the status attribute of the second message body is the first indicator, the hospital information system has not received the order information, and the front-end server continues to send the order information to the hospital information system once, and at the same time, the counter of the second message body is incremented by one;

在检测到第二消息体的计数器的数值大于计数阈值时,生成医院信息系统的故障信息;When it is detected that the value of the counter of the second message body is greater than the counting threshold, a fault message of the hospital information system is generated;

依据医院信息系统的故障信息对医院信息系统进行诊断处理,在故障处理结束后,重置第二消息体的计数器的数值为零,同时,前置服务器向医院信息系统重发订单信息。The hospital information system is diagnosed and processed according to the fault information of the hospital information system. After the fault processing is completed, the value of the counter in the second message body is reset to zero, and at the same time, the front-end server resends the order information to the hospital information system.

在一种实施方案中,所述方法还包括:In one embodiment, the method further comprises:

第三消息机在检测到有订单信息处理完成的处理信息进入时,构造处理信息的第三消息体,其中第三消息体包括状态属性和计数器,状态属性的初始属性为第一指示符,计数器的初始数值为零;When the third message machine detects that the processing information of order information processing is completed, it constructs the third message body of the processing information, wherein the third message body includes the state attribute and the counter, the initial attribute of the state attribute is the first indicator, the counter The initial value of is zero;

第三消息机在检测到第三确认信息时,将第三消息体的状态属性变更为第二指示符,实时检测第三消息体的状态属性,在状态属性为第二指示符时,前置服务器接收到订单信息对应的处理信息;When the third message machine detects the third confirmation information, it changes the status attribute of the third message body to the second indicator, detects the status attribute of the third message body in real time, and when the status attribute is the second indicator, prepends The server receives the processing information corresponding to the order information;

在第三消息体的状态属性为第一指示符时,前置服务器未接收到订单信息对应的处理信息,医院信息系统继续向前置服务器发送一次订单信息处理完成的处理信息,同时,第三消息体的计数器加一;When the status attribute of the third message body is the first indicator, the front-end server has not received the processing information corresponding to the order information, and the hospital information system continues to send the processing information that the order information has been processed to the front-end server once. At the same time, the third The counter of the message body is incremented by one;

在检测到第三消息体的计数器的数值大于计数阈值时,生成前置服务器的故障信息;When it is detected that the value of the counter of the third message body is greater than the counting threshold, generating fault information of the front-end server;

依据前置服务器的故障信息对医院信息系统进行诊断处理,在故障处理结束后,重置第三消息体的计数器的数值为零,同时,医院信息系统重发订单信息处理完成的处理信息。The hospital information system is diagnosed and processed according to the fault information of the front-end server. After the fault processing is completed, the value of the counter in the third message body is reset to zero. At the same time, the hospital information system resends the processing information of the completion of the order information processing.

在一种实施方案中,所述方法还包括:In one embodiment, the method further comprises:

第二消息机在检测到有订单信息处理完成的处理信息进入时,构造通知信息的第四消息体,其中第四消息体包括状态属性和计数器,状态属性的初始属性为第一指示符,计数器的初始数值为零;When the second message machine detects that the processing information of the order information processing is completed, it constructs the fourth message body of the notification information, wherein the fourth message body includes a state attribute and a counter, and the initial attribute of the state attribute is the first indicator, the counter The initial value of is zero;

第二消息机在检测到第四确认信息时,将第四消息体的状态属性变更为第二指示符,实时检测第四消息体的状态属性,在状态属性为第二指示符时,云服务器接收到订单信息处理完成的通知信息;When the second message machine detects the fourth confirmation information, it changes the state attribute of the fourth message body to the second indicator, detects the state attribute of the fourth message body in real time, and when the state attribute is the second indicator, the cloud server Receive the notification information that the order information processing is completed;

在第二消息体的状态属性为第一指示符时,云服务器未接收到订单信息处理完成的通知信息,前置服务器继续向云服务器发送一次通知信息,同时,第四消息体的计数器加一;When the state attribute of the second message body is the first indicator, the cloud server has not received the notification information that the order information processing is completed, the front-end server continues to send a notification information to the cloud server, and at the same time, the counter of the fourth message body is incremented by one ;

在检测到第四消息体的计数器的数值大于计数阈值时,生成云服务器的故障信息;When it is detected that the value of the counter of the fourth message body is greater than the counting threshold, the failure information of the cloud server is generated;

依据云服务器的故障信息对云服务器进行诊断处理,在故障处理结束后,重置第四消息体的计数器的数值为零,同时,前置服务器向云服务器重发订单信息处理完成的通知信息。The cloud server is diagnosed and processed according to the fault information of the cloud server. After the fault processing is completed, the value of the counter in the fourth message body is reset to zero, and at the same time, the front-end server resends the notification information of the completion of order information processing to the cloud server.

本申请的第三方面,提供了一种基于消息机的医院信息系统支付处理装置,应用于配置有公共服务系统的云服务器,并在云服务器上配置第一消息机,装置包括:The third aspect of the present application provides a message machine-based hospital information system payment processing device, which is applied to a cloud server configured with a public service system, and a first message machine is configured on the cloud server. The device includes:

第一构造模块,用于第一消息机在检测到有订单信息进入时,构造订单信息的第一消息体,其中第一消息体包括状态属性和计数器,状态属性的初始属性为第一指示符,计数器的初始数值为零;The first construction module is used for the first message machine to construct the first message body of the order information when it detects the entry of order information, wherein the first message body includes a status attribute and a counter, and the initial attribute of the status attribute is the first indicator , the initial value of the counter is zero;

第一确认信息接收模块,用于云服务器将订单信息发送给配置有医院信息系统的前置服务器,在前置服务器检测到有订单信息进入时,生成第一确认信息,第一消息机接收来自前置服务器发送的第一确认信息;The first confirmation information receiving module is used for the cloud server to send the order information to the front-end server configured with the hospital information system. The first confirmation message sent by the front-end server;

属性变更模块,用于第一消息机在检测到第一确认信息时,将第一消息体的状态属性变更为第二指示符,实时检测第一消息体的状态属性,在状态属性为第二指示符时,前置服务器接收到订单信息;The attribute change module is used for the first message machine to change the state attribute of the first message body to the second indicator when detecting the first confirmation information, and detect the state attribute of the first message body in real time. indicator, the front-end server receives the order information;

订单状态更新模块,用于云服务器接收到来自前置服务器发送的通知信息时,生成第四确认信息,将第四确认信息发送给第二消息机,同时,云服务器响应于针对所述订单信息的更新操作,根据所述更新操作更新所述订单信息的订单状态,其中,通知信息表示订单信息处理完成。The order status update module is used to generate fourth confirmation information when the cloud server receives the notification information sent from the front-end server, and send the fourth confirmation information to the second message machine, and at the same time, the cloud server responds to the order information The update operation of updating the order status of the order information according to the update operation, wherein the notification information indicates that the processing of the order information is completed.

本申请的第四方面,提供了一种基于消息机的医院信息系统支付处理装置,应用于配置有医院信息系统的前置服务器,其中前置服务器配置有第二消息机,医院信息系统配置有第三消息机,装置包括:The fourth aspect of the present application provides a payment processing device for a hospital information system based on a message machine, which is applied to a front-end server configured with a hospital information system, wherein the front-end server is configured with a second message machine, and the hospital information system is configured with a The third message machine, the device includes:

订单信息接收模块,用于前置服务器接收来自云服务器发送的订单信息;The order information receiving module is used for the front-end server to receive the order information sent from the cloud server;

第一确认信息发送模块,用于前置服务器在检测到有订单信息进入时,生成第一确认信息,并将第一确认信息发送至第一消息机;The first confirmation information sending module is used for the front-end server to generate the first confirmation information when detecting the entry of order information, and send the first confirmation information to the first message machine;

第二确认信息发送模块,用于所述第二消息机向所述医院信息系统发出新订单信息到达的通知信息,所述医院信息系统生成第二确认信息,并将第二确认信息发送给第二消息机;The second confirmation information sending module is used for the second message machine to send the notification information of the arrival of new order information to the hospital information system, and the hospital information system generates the second confirmation information and sends the second confirmation information to the second confirmation information. Two news machines;

业务处理模块,用于所述医院信息系统根据所述订单信息生成缴费记录账单,并按照业务类型对应的业务逻辑对所述缴费记录账单进行处理,生成订单信息处理完成的处理信息,其中业务类型包括门诊业务类型或住院业务类型;The business processing module is used for the hospital information system to generate a payment record bill according to the order information, and process the payment record bill according to the business logic corresponding to the business type, and generate processing information that the order information processing is completed, wherein the business type Including outpatient service type or inpatient service type;

通知信息发送模块,用于在前置服务器接收到所述处理信息时,前置服务器生成第三确认信息,并将第三确认信息发送给第三消息机,同时,第二消息机向云服务器发送订单处理完成的通知信息。The notification information sending module is used to generate the third confirmation information by the front-end server when the front-end server receives the processing information, and send the third confirmation information to the third messaging machine, and at the same time, the second messaging machine sends a message to the cloud server Send a notification message that the order processing is complete.

本申请的第五方面,提供了一种电子设备,包括:A fifth aspect of the present application provides an electronic device, including:

一个或多个处理器;one or more processors;

存储器,与所述处理器耦接,用于存储一个或多个程序;a memory, coupled to the processor, for storing one or more programs;

当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如本申请第一方面和第二方面任一项所述的基于消息机的医院信息系统支付处理方法的步骤。When the one or more programs are executed by the one or more processors, the one or more processors realize the message machine-based hospital described in any one of the first aspect and the second aspect of the present application The steps of the information system payment processing method.

与现有技术相比,本发明具有以下有益效果:Compared with the prior art, the present invention has the following beneficial effects:

1、本发明提供的一种基于消息机的医院信息系统支付处理方法,基于可靠的消息机组件,来保证消息在网络传输各个节点上的可靠度,从确保每一个订单能够正确的更新到医院的HIS系统的数据库,保证订单状态的一致性和可靠性,从而提高订单支付的成功率和客户满意度,确保医院信息系统的营运效率。1. The payment processing method of the hospital information system based on the message machine provided by the present invention is based on a reliable message machine component to ensure the reliability of the message on each node of the network transmission, from ensuring that each order can be correctly updated to the hospital The database of the HIS system ensures the consistency and reliability of the order status, thereby improving the success rate of order payment and customer satisfaction, and ensuring the operational efficiency of the hospital information system.

2、本发明提供的一种基于消息机的医院信息系统支付处理方法,采用消息队列来对每一个订单信息进行管理,可以把用户高并发过来的订单请求,按订单的时序信息放入消息队列缓存起来,可有效削减客流高峰,不会让用户手持的终端设备出现卡住、白屏等不正常现象。2. The payment processing method of the hospital information system based on the message machine provided by the present invention adopts the message queue to manage each order information, and can put the order request sent by the user at a high speed into the message queue according to the timing information of the order Caching can effectively reduce passenger flow peaks, and will not cause abnormal phenomena such as jamming and white screens on the terminal devices held by users.

3、本发明提供的一种基于消息机的医院信息系统支付处理方法,通过消息机对订单信息、处理信息和通知信息构造拥有确认机制和上报机制的消息体(即状态属性和计数器),在每一个节点上都保证消息的准确收到,能够在异常发生的情况下,主动上报所在节点的故障信息,工作人员在接到故障信息,依据故障信息处理好故障后,消息机会自动重发失败的订单消息、处理信息或通知信息,保证了原来的信息传递和业务逻辑,通过消息机大大减少了整个订单支付系统的信息传输复杂度,提高了故障排查的精准度。3. The invention provides a message machine-based hospital information system payment processing method. The message machine constructs a message body (that is, status attributes and counters) with a confirmation mechanism and a reporting mechanism for order information, processing information, and notification information. Each node ensures the accurate receipt of the message, and can actively report the fault information of the node in the event of an abnormality. After the staff receives the fault information and handles the fault according to the fault information, the message will automatically resend the failure. The order message, processing information or notification information ensures the original information transmission and business logic, greatly reduces the complexity of information transmission of the entire order payment system through the message machine, and improves the accuracy of troubleshooting.

此外,本发明的第三方面至第五方面,还提供的一种基于消息机的医院信息系统支付处理装置及设备,具备与上述提供的一种基于消息机的医院信息系统支付处理方法相同的技术效果,此处不在叙述。In addition, from the third aspect to the fifth aspect of the present invention, a message machine-based hospital information system payment processing device and equipment are provided, which have the same payment processing method as the message machine-based hospital information system payment processing method provided above. The technical effect is not described here.

附图说明Description of drawings

此处所说明的附图用来提供对本发明实施例的进一步理解,构成本申请的一部分,并不构成对本发明实施例的限定。在附图中:The drawings described here are used to provide a further understanding of the embodiments of the present invention, constitute a part of the application, and do not limit the embodiments of the present invention. In the attached picture:

图1为现有技术提供的云服务器、前置服务器和医院信息系统的传统网络结构图;Fig. 1 is the traditional network structure diagram of cloud server, pre-server and hospital information system provided by the prior art;

图2为本申请实施例提供的应用于配置有公共服务系统的云服务器的一种医院信息系统支付处理方法的流程示意图;FIG. 2 is a schematic flowchart of a hospital information system payment processing method applied to a cloud server configured with a public service system provided by an embodiment of the present application;

图3为本申请实施例提供的应用于配置有医院信息系统的前置服务器的一种医院信息系统支付处理方法的流程示意图;FIG. 3 is a schematic flowchart of a hospital information system payment processing method applied to a front-end server configured with a hospital information system provided by an embodiment of the present application;

图4为本申请实施例提供的采用消息机的云服务器、前置服务器和医院信息系统的系统网络结构图;FIG. 4 is a system network structure diagram of a cloud server, a front-end server, and a hospital information system using a message machine provided by an embodiment of the present application;

图5为本申请实施例提供的订单信息发送至第一消息机的流程示意图;FIG. 5 is a schematic flow diagram of sending order information to the first message machine provided by the embodiment of the present application;

图6为本申请实施例提供的第一消息机的检测消息是否发送成功的流程示意图;FIG. 6 is a schematic flow diagram of the first message machine for detecting whether the message is successfully sent according to the embodiment of the present application;

图7为本申请实施例提供的应用于配置有公共服务系统的云服务器的一种医院信息系统支付处理装置的结构框图;FIG. 7 is a structural block diagram of a hospital information system payment processing device applied to a cloud server configured with a public service system provided by an embodiment of the present application;

图8为本申请实施例提供的应用于配置有医院信息系统的前置服务器的一种医院信息系统支付处理装置的结构框图。Fig. 8 is a structural block diagram of a hospital information system payment processing device applied to a front-end server configured with a hospital information system provided by an embodiment of the present application.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚明白,下面结合实施例和附图,对本发明作进一步的详细说明,本发明的示意性实施方式及其说明仅用于解释本发明,并不作为对本发明的限定。In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the examples and accompanying drawings. As a limitation of the present invention.

需理解的是,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本发明的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。It should be understood that the terms "first" and "second" are used for descriptive purposes only, and cannot be interpreted as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, a feature defined as "first" and "second" may explicitly or implicitly include one or more of these features. In the description of the present invention, "plurality" means two or more, unless otherwise specifically defined.

如背景技术所述,现在大量的医院都开发或者部署了微信公众号、小程序、APP等客户端前端应用程序,可在应用程序中提供挂号、缴费、查询报告等服务,但是由于服务的网络通讯过程中需要经过云服务器、前置服务器(一台可以上内网和外网的电脑)、医院信息系统(HIS系统)三个节点,传统网络结构图如图1所示,这种网络结构由于节点过多,网络环境各不相同、各个系统差异性比较大,其中图1中云服务器和前置服务器、前置服务器和医院信息系统之间的虚线代表容易出现断线或者网络故障的地方,其往往容易造成网络断线、网络故障、数据丢包等情况,导致用户在前端应用程序中支付成功了,而支付成功的状态没有及时更新到HIS系统中,使得最终无法在前端应用程序中显示订单信息的支付状态,导致用户的体验和满意度不高。As mentioned in the background technology, a large number of hospitals have developed or deployed front-end applications such as WeChat public accounts, applets, and APPs, which can provide services such as registration, payment, and query reports in the application programs. The communication process needs to pass through three nodes: the cloud server, the front-end server (a computer that can access the intranet and the extranet), and the hospital information system (HIS system). The traditional network structure diagram is shown in Figure 1. This network structure Due to too many nodes, the network environment is different, and the differences between each system are relatively large. In Figure 1, the dotted lines between the cloud server and the front-end server, and the front-end server and the hospital information system represent places where disconnections or network failures are likely to occur , it is often easy to cause network disconnection, network failure, data packet loss, etc., resulting in the user's successful payment in the front-end application, but the status of the successful payment is not updated to the HIS system in time, making it impossible to pay in the front-end application. Displaying the payment status of the order information leads to poor user experience and satisfaction.

因此,如何针对在微信公众号、小程序、APP等前端应用程序中支付成功后,更新到HIS系统失败的情况,以提高支付成功率,从而增加用户满意度和减少医院员工的工作量。Therefore, how to improve the success rate of payment for the failure of updating to the HIS system after successful payment in front-end applications such as WeChat official accounts, applets, and APPs, thereby increasing user satisfaction and reducing the workload of hospital staff.

请参考图4,公共服务系统包括包括云服务器、消息队列、云服务器订单处理程序、通知模块以及第一消息机。在实际应用中,患者可以通过配置有支付系统的终端设备完成支付,其中,终端设备包括但不仅限于智能手机、平板电脑以及便携计算机等,上述支付系统包括但不仅限于支付宝支付系统、拉卡拉支付系统和网易宝支付系统,以及各种银行的支付系统等,上述支付系统和终端设备可以根据实际情况进行设置,本发明实施例对此不作限制说明,可以理解的是,患者基于终端设备可以从微信公众号、小程序、APP等前端应用程序中点击所需业务类型,并基于对应的业务类型生成对应的订单信息。Please refer to FIG. 4 , the public service system includes a cloud server, a message queue, a cloud server order processing program, a notification module and a first message machine. In practical applications, patients can complete payment through terminal devices equipped with payment systems. Terminal devices include but are not limited to smartphones, tablet computers, and portable computers. The above payment systems include but are not limited to Alipay payment system, Lakala payment system, NeteasePay payment system, and payment systems of various banks, etc., the above-mentioned payment system and terminal equipment can be set according to the actual situation, and the embodiment of the present invention does not limit this. It can be understood that the patient can use the terminal equipment from Click on the required business type in front-end applications such as WeChat official account, applet, APP, etc., and generate corresponding order information based on the corresponding business type.

具体的,该订单信息可以是由患者选择对应的业务类型的选项后,HIS系统为该患者生成与业务类型对应的医疗账单;其中,业务类型包括门诊业务类型或者住院业务类型。在实际应用中,根据医疗机构中患者的门诊就医流程和住院就医流程,可以得到每种业务类型的医疗账单,例如门诊业务类型对应的流程主要包括门诊挂号的缴费、门诊挂号的退费、门诊收费结算和门诊退费结算,住院业务类型对应的流程主要包括住院押金预缴、住院押金退费、住院费用结算和住院退费结算,因此,门诊业务类型对应的医疗账单主要包括挂号医疗账单和处方医疗账单,住院业务类型对应的医疗账单主要包括押金医疗账单和住院医疗账单。其中,挂号医疗账单包括但不仅限于患者信息、目标科室和目标医生等,以及对应的支付金额;患者信息包括但不仅限于患者ID、患者姓名、患者性别和患者年龄等,在实际应用中,挂号医疗账单还会根据挂号类型的不同而单价不同,比如普通门诊号和专家号等;处方医疗账单则包括医生根据患者的就医情况开出的各种药品,并每种药品的单价得到的费用明细分解信息、支付明细信息和费用分类汇总信息等,具体可以根据实际情况进行设置。上述押金医疗账单和住院医疗账单则主要包括患者住院就医过程中产生的各种费用明细分解信息、支付明细信息和费用分类汇总信息等,具体根据患者的住院情况进行设置,本发明实施例对此不作限制说明。Specifically, the order information may be that after the patient selects the option of the corresponding service type, the HIS system generates a medical bill corresponding to the service type for the patient; wherein, the service type includes outpatient service type or inpatient service type. In practical applications, according to the outpatient medical treatment process and inpatient medical treatment process of patients in medical institutions, the medical bills of each business type can be obtained. Charge settlement and outpatient refund settlement, the process corresponding to the hospitalization business type mainly includes hospitalization deposit prepayment, hospitalization deposit refund, hospitalization fee settlement and hospitalization refund settlement. Therefore, the medical bills corresponding to the outpatient business type mainly include registered medical bills and Prescription medical bills, medical bills corresponding to inpatient business types mainly include deposit medical bills and inpatient medical bills. Among them, the registered medical bill includes but not limited to patient information, target department and target doctor, etc., and the corresponding payment amount; patient information includes but not limited to patient ID, patient name, patient gender, and patient age. Medical bills will also have different unit prices depending on the type of registration, such as general outpatient numbers and expert numbers, etc.; prescription medical bills include various drugs prescribed by doctors according to the patient's medical conditions, and the unit price of each drug is obtained. Expense details Decomposition information, payment details information and expense classification and summary information, etc., can be set according to the actual situation. The above-mentioned deposit medical bills and inpatient medical bills mainly include detailed breakdown information, payment details, and expense classification and summary information of various expenses generated during the patient's hospitalization process, which are specifically set according to the patient's hospitalization situation. No limitation stated.

以及,HIS系统生成上述医疗账单之后,还直接生成与该医疗账单对应的支付类型选项;或者可以预先存储该支付类型选项,当监听到新的医疗账单生成时,即将医疗账单与支付类型选项发送至支付接口组件,以使患者根据支付类型选项完成医疗账单的支付。其中,支付类型选项包括与HIS系统对接的所有支付系统对应的支付类型,从而可以满足患者的多种支付需求,提高了患者的体验度。就支付类型的选择是现有技术可以实现的,例如,现有技术中,在某个医院的微信小程序中挂完号,支付挂号费用是可以采用银联支付、支付宝支付以及微信支付等。And, after the HIS system generates the above medical bill, it also directly generates the payment type option corresponding to the medical bill; or it can store the payment type option in advance, and when it detects the generation of a new medical bill, it will send the medical bill and the payment type option To the payment interface component, so that patients can complete the payment of medical bills according to the payment type options. Among them, the payment type options include payment types corresponding to all payment systems that are connected with the HIS system, so as to meet the various payment needs of patients and improve the experience of patients. The choice of payment type can be realized by existing technology. For example, in the existing technology, after registration in a WeChat mini-program of a certain hospital, UnionPay payment, Alipay payment and WeChat payment can be used to pay the registration fee.

请参考图2,图2为本申请实施例提供的一种基于消息机的医院信息系统支付处理方法的流程示意图,所述方法应用于配置有公共服务系统的云服务器,并在云服务器上配置第一消息机,方法包括:Please refer to Fig. 2. Fig. 2 is a schematic flowchart of a message machine-based hospital information system payment processing method provided by an embodiment of the present application. The method is applied to a cloud server configured with a public service system and configured on the cloud server. The first message machine, the method includes:

S210,第一消息机在检测到有订单信息进入时,构造订单信息的第一消息体,其中第一消息体包括状态属性和计数器,状态属性的初始属性为第一指示符,计数器的初始数值为零。S210, when the first message machine detects that order information has entered, construct the first message body of the order information, wherein the first message body includes a status attribute and a counter, the initial attribute of the status attribute is the first indicator, and the initial value of the counter to zero.

具体的,如图1所示,云服务器可以接收患者的终端设备上来的新订单请求,形成订单信息,按时序放入消息队列的集群中进行排队,达到对高并发大流量进行削峰和对后面的流程进行解耦的目的,不会让用户手持的终端设备出现卡住、白屏等不正常现象。示例的,消息队列采用RabbitMQ消息队列组件。Specifically, as shown in Figure 1, the cloud server can receive new order requests from patients' terminal devices, form order information, and put them into the cluster of message queues for queuing in sequence, so as to achieve peak shaving for high concurrency and large traffic The purpose of decoupling in the following process is to prevent abnormal phenomena such as jamming and white screens on the terminal device held by the user. For example, the message queue uses the RabbitMQ message queue component.

云服务器订单处理程序从消息队列中依次取出订单信息,通过第一消息机把订单信息封装成消息体后,向对应的医院的前置机服务器发出有新订单的通知,医院的前置机服务器回复第一确认消息,表示前置服务器收到了来自云服务器发送的新订单。The order processing program of the cloud server takes out the order information from the message queue one by one, encapsulates the order information into a message body through the first message machine, and sends a notification of a new order to the front-end server of the corresponding hospital, and the front-end server of the hospital Replying to the first confirmation message indicates that the front-end server has received a new order from the cloud server.

而第一消息机在检测到由云服务器订单处理程序取出的订单信息,构造该订单信息的第一消息体,需要理解的是,由于传统网络结构图如图1所示,这种网络结构由于节点过多,网络环境各不相同、各个系统差异性比较大,其中图1中云服务器和前置服务器、前置服务器和医院信息系统之间的虚线代表容易出现断线或者网络故障的地方,其往往容易造成网络断线、网络故障、数据丢包等情况,故此,本申请实施例在容易出现断线或者网络故障的各个节点均布置有消息机,为了便于描述各个节点的情况,故此,基于订单信息的业务流程,会产生不同的消息体,因此,本实施例的第一消息体是针对订单信息发送到医院的前置服务器时,验证其是否接收到了新的订单信息,而第一消息体所包括状态属性和计数器,其中,状态属性的初始属性为第一指示符,计数器的初始数值为零,需要理解的是,当前置服务器接收到来自云服务器,则会返回第一确认信息,依据第一确认信息来更新第一消息体的状态属性,例如属性由初始属性的第一指示符变成为第二指示符,而第一指示符和第二指示符的设置可以是“0”与“1”,或“是”与“否”,当然可以理解的是,还是可以别的类型的指示符,以便于判断前置服务器是否接收到新的订单信息。When the first message machine detects the order information taken out by the cloud server order processing program, it constructs the first message body of the order information. It should be understood that, since the traditional network structure diagram is shown in Figure 1, this network structure is There are too many nodes, the network environment is different, and the differences between each system are relatively large. In Figure 1, the dotted lines between the cloud server and the front-end server, and the front-end server and the hospital information system represent places where disconnections or network failures are likely to occur. It is often easy to cause network disconnection, network failure, data packet loss, etc. Therefore, in the embodiment of the present application, a message machine is arranged at each node that is prone to disconnection or network failure. In order to facilitate the description of the situation of each node, therefore, The business process based on the order information will generate different message bodies. Therefore, the first message body in this embodiment is to verify whether the new order information has been received when the order information is sent to the front-end server of the hospital, and the first The message body includes status attributes and counters. The initial attribute of the status attribute is the first indicator, and the initial value of the counter is zero. It should be understood that the current server will return the first confirmation message when it receives the message from the cloud server. , update the status attribute of the first message body according to the first confirmation information, for example, the attribute changes from the first indicator of the initial attribute to the second indicator, and the setting of the first indicator and the second indicator can be "0 " and "1", or "yes" and "no", it is of course understandable that other types of indicators can be used to judge whether the front-end server has received new order information.

以及,计数器则是用来记录云服务器通过自身的消息发送接口向前置服务器发送订单信息的次数,例如,在达到一定计数次数后,第一消息机检测到第一消息体的状态属性仍为第一指示符,则说明云服务器所发送的订单信息一直未被前置服务器接收,故此,第一消息机会主动上报所在节点的故障情况。工作人员在接到故障告警信息并处理好故障后,云服务器会自动重发失败的订单信息,保证了原来的信息传递和业务逻辑,在每一个节点上都保证消息的准确收到。通过消息机大大减少了订单支付流程的复杂度,提高了排查故障点的精准度,And, the counter is used to record the number of times the cloud server sends order information to the front-end server through its own message sending interface. For example, after reaching a certain number of times, the first message machine detects that the status attribute of the first message body is still The first indicator indicates that the order information sent by the cloud server has not been received by the front-end server. Therefore, the first message opportunity actively reports the failure of the node where it is located. After the staff receives the fault alarm information and handles the fault, the cloud server will automatically resend the failed order information, ensuring the original information transmission and business logic, and ensuring accurate receipt of messages on each node. Through the message machine, the complexity of the order payment process is greatly reduced, and the accuracy of troubleshooting points is improved.

S220,云服务器将订单信息发送给配置有医院信息系统的前置服务器,在前置服务器检测到有订单信息进入时,生成第一确认信息,第一消息机接收来自前置服务器发送的第一确认信息,其中前置服务器配置有第二消息机。S220. The cloud server sends the order information to the front-end server configured with the hospital information system. When the front-end server detects that order information has entered, it generates first confirmation information, and the first message machine receives the first confirmation message sent by the front-end server. Acknowledgment information, wherein the front-end server is configured with a second messaging machine.

具体的,基于上述步骤S210所述,前置服务器检测到有订单信息进入了,生成让第一消息体的状态属性更新的第一确认信息,以此实现对前置服务器这一节点的故障检测,确保订单信息在前置服务器节点上的可靠传递。Specifically, based on the above step S210, the front-end server detects that order information has entered, and generates the first confirmation information to update the status attribute of the first message body, so as to realize the fault detection of the node of the front-end server , to ensure the reliable transmission of order information on the front server node.

S230,第一消息机在检测到第一确认信息时,将第一消息体的状态属性变更为第二指示符,实时检测第一消息体的状态属性,在状态属性为第二指示符时,前置服务器接收到订单信息。S230. When the first message machine detects the first confirmation information, change the state attribute of the first message body to the second indicator, detect the state attribute of the first message body in real time, and when the state attribute is the second indicator, The front-end server receives the order information.

具体的,参见上述步骤S210中对于第一消息体的状态属性变更部分的详细说明,此处不再叙述。Specifically, refer to the detailed description of the status attribute change part of the first message body in step S210 above, which will not be described here again.

S240,云服务器接收到来自前置服务器发送的通知信息时,生成第四确认信息,将第四确认信息发送给第二消息机,同时,云服务器响应于针对所述订单信息的更新操作,根据所述更新操作更新所述订单信息的订单状态,其中,通知信息表示订单信息处理完成。S240. When the cloud server receives the notification information sent by the front-end server, it generates fourth confirmation information, and sends the fourth confirmation information to the second message machine. At the same time, the cloud server responds to the update operation for the order information, according to The updating operation updates the order status of the order information, wherein the notification information indicates that the processing of the order information is completed.

具体的,请参考图4,在公共服务系统的云服务器订单处理程序将通知信息下发给通知模块,其中云服务器订单处理程序用以实现相关订单信息的相关业务逻辑、调用第一消息机等功能,而通知信息是表示订单信息处理完成的信息,示例性的,通知模块可采用短信、邮件、微信消息、APP推送等方式来实现,从而使得云服务器执行对订单信息的订单状态的更新操作,例如支付成功、支付失败等,为该订单信息打上标签,例如订单信息在HIS系统处理完成,则更新订单信息的订单状态为支付成功的标签。Specifically, please refer to Figure 4, the cloud server order processing program in the public service system sends the notification information to the notification module, where the cloud server order processing program is used to implement the relevant business logic of the relevant order information, call the first message machine, etc. function, and the notification information is the information indicating the completion of the order information processing. Exemplarily, the notification module can be implemented by means of SMS, email, WeChat message, APP push, etc., so that the cloud server performs an update operation on the order status of the order information , such as payment success, payment failure, etc., label the order information. For example, the order information is processed in the HIS system, and the order status of the updated order information is the label of payment success.

综上所述,基于可靠的消息机组件,来保证消息在网络传输各个节点上的可靠度,从确保每一个订单能够正确的更新到医院的HIS系统的数据库,保证订单状态的一致性和可靠性,从而提高订单支付的成功率和客户满意度,确保医院信息系统的营运效率。To sum up, based on reliable message machine components, to ensure the reliability of messages on each node of network transmission, from ensuring that each order can be correctly updated to the database of the hospital's HIS system, to ensure the consistency and reliability of the order status , so as to improve the success rate of order payment and customer satisfaction, and ensure the operational efficiency of the hospital information system.

如图5所示,在所述第一消息机在检测到有订单信息进入时,生成订单信息的第一消息体之前,所述方法还包括:As shown in FIG. 5, before the first message machine detects the entry of order information, before generating the first message body of the order information, the method further includes:

S510,获取用户端生成的订单信息,其中订单信息含有每个订单请求的时序信息。S510. Obtain order information generated by the client, where the order information includes time sequence information of each order request.

S520,根据时序信息生成具有多个订单请求的消息队列;S520, generating a message queue with multiple order requests according to the timing information;

S530,按照时序信息从所述消息队列中取出一个订单信息,并发送给第一消息机。S530. Take out an order message from the message queue according to the sequence information, and send it to the first message machine.

具体的,用户端即为终端设备,即患者通过终端设备在微信公众号、小程序及APP等前端应用中所选择的业务类型所产生的订单信息,云服务器可以获取由终端设备生成的订单信息,并且订单信息包含每个患者所产生的订单请求的时序信息,从而可以把患者高并发过来的订单请求,按时序信息放入消息队列缓存起来,从而有效的消减高峰客流,避免患者的终端设备出现卡住、白屏等不正常现象。Specifically, the client is the terminal device, that is, the order information generated by the patient through the terminal device in the business type selected by the terminal device in front-end applications such as WeChat official account, applet, and APP, and the cloud server can obtain the order information generated by the terminal device , and the order information includes the timing information of the order requests generated by each patient, so that the order requests sent by patients can be cached in the message queue according to the timing information, so as to effectively reduce the peak passenger flow and avoid patient terminal equipment There are abnormal phenomena such as stuck, white screen, etc.

进一步的,按照时序信息从所述消息队列中取出一个订单信息,通过云服务器订单处理程序发送给第一消息机,保证每一个订单信息都能按照患者操作的先后顺序进行处理,避免出现遗漏处理的情况,进一步的提高患者的体验度。Further, take out an order information from the message queue according to the sequence information, and send it to the first message machine through the cloud server order processing program, so as to ensure that each order information can be processed according to the sequence of patient operations, so as to avoid missing processing In order to further improve the experience of patients.

在图2所示方法的基础上,请参考图6,所述方法还包括以下步骤:On the basis of the method shown in Figure 2, please refer to Figure 6, the method also includes the following steps:

S610,在第一消息机检测到第一消息体的状态属性为第一指示符时,则订单信息未被前置服务器接收,云服务器继续向配置有医院信息系统的前置服务器的发送一次订单信息,同时,第一消息体的计数器加一;S610, when the first message machine detects that the state attribute of the first message body is the first indicator, the order information is not received by the front-end server, and the cloud server continues to send an order to the front-end server configured with the hospital information system information, at the same time, the counter of the first message body is increased by one;

S620,在检测到第一消息体的计数器的数值大于计数阈值时,生成前置服务器的故障信息;S620, when it is detected that the value of the counter in the first message body is greater than the counting threshold, generate fault information of the front-end server;

S630,依据前置服务器的故障信息对前置服务器进行诊断处理,在故障处理结束后,重置第一消息体的计数器的数值为零,同时,云服务器向配置有医院信息系统的前置服务器重发订单信息。S630, perform diagnostic processing on the front-end server according to the fault information of the front-end server, and reset the value of the counter of the first message body to zero after the fault processing is completed, and at the same time, send the cloud server to the front-end server configured with the hospital information system Resend order information.

具体的,当有新订单消息进入第一消息机时,第一消息机对订单消息进行构造,并添加状态属性(其第一指示符默认为0)和计数器(计数器的初始数值默认为0)两个属性,形成第一消息体。并对第一消息体进行Redis内存缓存(Redis是可持久的)。Specifically, when a new order message enters the first message machine, the first message machine constructs the order message and adds a status attribute (the first indicator of which is 0 by default) and a counter (the initial value of the counter is 0 by default) The two attributes form the first message body. And perform Redis memory cache for the first message body (Redis is durable).

通过云服务器的消息发送端口向后部节点前置服务器发送订单信息。Send order information to the front server of the rear node through the message sending port of the cloud server.

等待后部节点前置服务器回复第一确认消息,如果有第一确认消息回来,就把第一消息体的状态属性设为第二指示符,例如第二指示符为1,Redis缓存消息体,结束操作。Wait for the front server of the rear node to reply the first confirmation message. If the first confirmation message comes back, set the status attribute of the first message body to the second indicator. For example, the second indicator is 1, and Redis caches the message body. End operation.

然后定时循环检查状态属性是否为1,如果状态属性不为1,则说明第一确认消息还没有回来。继续向后部节点前置服务器发送一次订单信息。同时计数器的数值加1。Then the timing loop checks whether the status attribute is 1, if the status attribute is not 1, it means that the first confirmation message has not come back yet. Continue to send order information to the back node front server once. At the same time, the value of the counter is incremented by 1.

定时检测计数器的数值,如果超过计数阈值(可根据实际情况设置默认值,例如30/40),说明重复发了30/40次,前置服务器与云服务器之间的网络可能出现物理性故障,这时需要上报故障信息(通过短信、邮件、消息等方式)。Regularly detect the value of the counter. If it exceeds the counting threshold (the default value can be set according to the actual situation, such as 30/40), it means that it has been repeated 30/40 times, and the network between the front-end server and the cloud server may have a physical failure. At this time, the fault information needs to be reported (via SMS, email, message, etc.).

综上,本实施例的方法采用有状态确认机制和故障上报机制的消息机,在每一个节点上都保证消息的准确收到,通过消息机大大减少了订单支付系统的复杂度,提高了排查故障的精准度。In summary, the method of this embodiment adopts a message machine with a stateful confirmation mechanism and a fault reporting mechanism to ensure accurate receipt of messages on each node. The message machine greatly reduces the complexity of the order payment system and improves troubleshooting. Fault precision.

在图2所示方法的基础上,本实施例还提供了一种消息机的医疗信息系统支付方法,其应用于配置有医院信息系统的前置服务器,其中前置服务器配置有第二消息机,医院信息系统配置有第三消息机,请参考图3所示,所述方法包括以下步骤:On the basis of the method shown in Fig. 2, this embodiment also provides a medical information system payment method for a messaging machine, which is applied to a front-end server configured with a hospital information system, wherein the front-end server is configured with a second messaging machine , the hospital information system is equipped with a third message machine, please refer to shown in Figure 3, the method includes the following steps:

S310,前置服务器接收来自云服务器发送的订单信息。S310. The front-end server receives the order information sent by the cloud server.

具体的,由于前置服务器和云服务器是属于两个不同系统的服务器,故此,其信息传输是双向交互的,故此,前置服务器基于消息接收端口来接收来自云服务器消息发送端口所发送的订单信息,此为本领域技术人员的公知常识,故此不做多余说明。Specifically, since the front-end server and the cloud server are servers belonging to two different systems, their information transmission is two-way interactive. Therefore, the front-end server receives the order sent from the message sending port of the cloud server based on the message receiving port. Information, which is common knowledge of those skilled in the art, so no redundant explanation is given.

S320,前置服务器在检测到有订单信息进入时,生成第一确认信息,并将第一确认信息发送至第一消息机。具体的,请参考上述步骤S210所述实施例的详细描述,此处不再对第一确认信息的原理做详细叙述。S320. When detecting that order information has entered, the front-end server generates first confirmation information, and sends the first confirmation information to the first message machine. Specifically, please refer to the detailed description of the embodiment described in step S210 above, and the principle of the first confirmation information will not be described in detail here.

S330,所述第二消息机向所述医院信息系统发出新订单信息到达的通知信息,所述医院信息系统生成第二确认信息,并将第二确认信息发送给第二消息机。S330, the second message machine sends notification information of arrival of new order information to the hospital information system, and the hospital information system generates second confirmation information and sends the second confirmation information to the second message machine.

请参考图1和图4,可知,在前置服务器到医院信息系统之间的信息传输,可能会出现断线或者网络故障的情况,故此,由前置服务器发送的订单信息可能不能被医院信息系统接收到,由配置在前置服务器上的第二消息体来对前置服务器和医院信息系统之间的网络通信进行检测,以第二确认信息来作为认证信息,在第二消息机接收到第二确认信息时,则说明医院信息系统接收到需要处理的订单信息,从而保证了医院信息系统对于订单消息的准确接收,提高了故障排查的精准度。Please refer to Figure 1 and Figure 4. It can be seen that there may be disconnection or network failure in the information transmission between the front-end server and the hospital information system. Therefore, the order information sent by the front-end server may not be recognized by the hospital information system. After the system receives it, the network communication between the front-end server and the hospital information system is detected by the second message body configured on the front-end server, and the second confirmation information is used as the authentication information, and the second message machine receives the When the information is confirmed for the second time, it means that the hospital information system has received the order information that needs to be processed, thereby ensuring the accurate reception of the order information by the hospital information system and improving the accuracy of troubleshooting.

S340,所述医院信息系统根据所述订单信息生成缴费记录账单,并按照业务类型对应的业务逻辑对所述缴费记录账单进行处理,生成订单信息处理完成的处理信息,其中业务类型包括门诊业务类型或住院业务类型。S340, the hospital information system generates a payment record bill according to the order information, and processes the payment record bill according to the business logic corresponding to the business type, and generates processing information that the processing of the order information is completed, where the business type includes the outpatient service type or inpatient business type.

具体的,本实施例中能,医院信息系统根据订单信息生成缴费记录账单,用来存档该订单信息的缴费情况,例如支付金额、挂号医生的ID信息、业务类型等等,而按照对应业务类型对应的业务逻辑对缴费记录账单进行处理,生成订单信息处理完成的处理信息,这是现有技术的医院信息系统所能实现的操作,具体可参见上述实施例中关于医院信息系统的描述,本实施例不做多余的叙述。Specifically, in this embodiment, the hospital information system can generate a payment record bill according to the order information, which is used to archive the payment status of the order information, such as the payment amount, ID information of the registered doctor, business type, etc., and according to the corresponding business type The corresponding business logic processes the payment records and bills, and generates processing information that the order information has been processed. This is an operation that can be realized by the hospital information system in the prior art. For details, please refer to the description of the hospital information system in the above-mentioned embodiments. Embodiment does not do redundant description.

S350,在前置服务器接收到所述处理信息时,前置服务器生成第三确认信息,并将第三确认信息发送给第三消息机,同时,第二消息机向云服务器发送订单处理完成的通知信息。S350. When the front-end server receives the processing information, the front-end server generates third confirmation information, and sends the third confirmation information to the third message machine, and at the same time, the second message machine sends a message that the order processing is completed to the cloud server. notification information.

请参考图4,由于医院信息系统完成对订单信息的业务处理之后,还需回复前置服务器一个处理完成的处理信息,故此,前置服务器在接收到处理信息时,生成了接收到处理信息的第三确认信息,而将第三确认信息发送给第三消息机,以此来实现在信息回传的过程中对于节点的故障检测。Please refer to Figure 4. After the hospital information system completes the business processing of the order information, it needs to reply to the front-end server with a completed processing information. Therefore, when the front-end server receives the processing information, it generates The third confirmation information, and the third confirmation information is sent to the third message machine, so as to realize the fault detection of the node in the process of information return.

同时,前置服务器在接收到处理信息时,相应的,需要利用第二消息机向云服务器发送订单处理完成的通知信息,而云服务器在接收到通知信息后,则需要生成第四确认信息,回传至前置服务器,从而使得前置服务器确认已完成对于该订单请求在医院信息系统的处理完成的通知信息被云服务器接收到。At the same time, when the front-end server receives the processing information, it needs to use the second message machine to send the notification information of the completion of the order processing to the cloud server, and the cloud server needs to generate the fourth confirmation information after receiving the notification information. Send back to the front-end server, so that the front-end server confirms that the notification message that the processing of the order request in the hospital information system is completed is received by the cloud server.

综上所述,本申请实施例提供的一种基于消息机的医院信息系统支付处理方法,通过消息机对订单信息、处理信息和通知信息构造拥有确认机制和上报机制的消息体(即状态属性和计数器),在每一个节点上都保证消息的准确收到,能够在异常发生的情况下,主动上报所在节点的故障信息,工作人员在接到故障信息,依据故障信息处理好故障后,消息机会自动重发失败的订单消息、处理信息或通知信息,保证了原来的信息传递和业务逻辑,通过消息机大大减少了整个订单支付系统的信息传输复杂度,提高了故障排查的精准度。To sum up, the embodiment of this application provides a payment processing method based on a message machine for a hospital information system. The message machine constructs a message body with a confirmation mechanism and a reporting mechanism for order information, processing information, and notification information (that is, the status attribute and counters), each node ensures the accurate receipt of the message, and can actively report the fault information of the node where it is located when an abnormality occurs. After the staff receives the fault information and handles the fault according to the fault information, the message Opportunity automatically resends failed order messages, processing information or notification information, ensuring the original information transmission and business logic, greatly reducing the complexity of information transmission in the entire order payment system through the message machine, and improving the accuracy of troubleshooting.

在一个实施例中,所述方法还包括:In one embodiment, the method also includes:

第二消息机在检测到有订单信息进入时,构造订单信息的第二消息体,其中第二消息体包括状态属性和计数器,状态属性的初始属性为第一指示符,计数器的初始数值为零;When the second message machine detects the entry of order information, it constructs the second message body of the order information, wherein the second message body includes a status attribute and a counter, the initial attribute of the status attribute is the first indicator, and the initial value of the counter is zero ;

第二消息机在检测到第二确认信息时,将第一消息体的状态属性变更为第二指示符,实时检测第二消息体的状态属性,在状态属性为第二指示符时,医院信息系统接收到订单信息;When the second message machine detects the second confirmation information, it changes the status attribute of the first message body to the second indicator, detects the status attribute of the second message body in real time, and when the status attribute is the second indicator, the hospital information The system receives the order information;

在第二消息体的状态属性为第一指示符时,医院信息系统未接收到订单信息,前置服务器继续向医院信息系统发送一次订单信息,同时,第二消息体的计数器加一;When the status attribute of the second message body is the first indicator, the hospital information system has not received the order information, and the front-end server continues to send the order information to the hospital information system once, and at the same time, the counter of the second message body is incremented by one;

在检测到第二消息体的计数器的数值大于计数阈值时,生成医院信息系统的故障信息;When it is detected that the value of the counter of the second message body is greater than the counting threshold, a fault message of the hospital information system is generated;

依据医院信息系统的故障信息对医院信息系统进行诊断处理,在故障处理结束后,重置第二消息体的计数器的数值为零,同时,前置服务器向医院信息系统重发订单信息。The hospital information system is diagnosed and processed according to the fault information of the hospital information system. After the fault processing is completed, the value of the counter in the second message body is reset to zero, and at the same time, the front-end server resends the order information to the hospital information system.

具体的,请参考如图6所示提供的的实施例以及图4所示,本实施例中是针对第二消息机在检测到有订单信息进入时,构造来自云服务器发送的订单信息的第二消息体,其中第二消息体仍然包括状态属性和计数器,并且第二消息体的状态属性的初始属性仍为第一指示符,计数器的初始数值为零;第二消息机在检测到第二确认信息时,将第一消息体的状态属性变更为第二指示符,实时检测第二消息体的状态属性,在状态属性为第二指示符时,则表明医院信息系统接收到订单信息。Specifically, please refer to the embodiment provided as shown in FIG. 6 and FIG. 4. In this embodiment, when the second message machine detects that there is order information entering, it constructs the first order information sent from the cloud server. Two message bodies, wherein the second message body still includes the state attribute and the counter, and the initial attribute of the state attribute of the second message body is still the first indicator, and the initial value of the counter is zero; the second message machine detects the second When confirming the information, change the status attribute of the first message body to the second indicator, and detect the status attribute of the second message body in real time. When the status attribute is the second indicator, it indicates that the hospital information system has received the order information.

相反,若为第一指示符则表明医院信息系统未接收到订单信息,需要前置服务器继续向医院信息系统发送一次订单信息,同时,第二消息体的计数器加一,在检测到第二消息体的计数器的数值大于计数阈值时,生成医院信息系统的故障信息;依据医院信息系统的故障信息对医院信息系统进行诊断处理,在故障处理结束后,重置第二消息体的计数器的数值为零,同时,前置服务器向医院信息系统重发订单信息。同样对于第二消息体的计数器的初始数值仍可取值为0,其计数阈值仍可取30/40。On the contrary, if it is the first indicator, it indicates that the hospital information system has not received the order information, and the front-end server needs to continue to send the order information to the hospital information system once. When the value of the counter of the body is greater than the counting threshold, the fault information of the hospital information system is generated; the hospital information system is diagnosed and processed according to the fault information of the hospital information system, and after the fault processing is completed, the value of the counter of the second message body is reset to be Zero, at the same time, the front-end server resends the order information to the hospital information system. Similarly, the initial value of the counter of the second message body can still be 0, and the counting threshold can still be 30/40.

应理解的是,第二消息机均是基于第一消息机的处理原理,只是变换不同网络节点和信息对象。It should be understood that the second message machine is based on the processing principle of the first message machine, and only changes different network nodes and information objects.

在一个实施例中,所述方法还包括:In one embodiment, the method also includes:

第三消息机在检测到有订单信息处理完成的处理信息进入时,构造处理信息的第三消息体,其中第三消息体包括状态属性和计数器,状态属性的初始属性为第一指示符,计数器的初始数值为零;When the third message machine detects that the processing information of order information processing is completed, it constructs the third message body of the processing information, wherein the third message body includes the state attribute and the counter, the initial attribute of the state attribute is the first indicator, the counter The initial value of is zero;

第三消息机在检测到第三确认信息时,将第三消息体的状态属性变更为第二指示符,实时检测第三消息体的状态属性,在状态属性为第二指示符时,前置服务器接收到订单信息对应的处理信息;When the third message machine detects the third confirmation information, it changes the status attribute of the third message body to the second indicator, detects the status attribute of the third message body in real time, and when the status attribute is the second indicator, prepends The server receives the processing information corresponding to the order information;

在第三消息体的状态属性为第一指示符时,前置服务器未接收到订单信息对应的处理信息,医院信息系统继续向前置服务器发送一次订单信息处理完成的处理信息,同时,第三消息体的计数器加一;When the status attribute of the third message body is the first indicator, the front-end server has not received the processing information corresponding to the order information, and the hospital information system continues to send the processing information that the order information has been processed to the front-end server once. At the same time, the third The counter of the message body is incremented by one;

在检测到第三消息体的计数器的数值大于计数阈值时,生成前置服务器的故障信息;When it is detected that the value of the counter of the third message body is greater than the counting threshold, generating fault information of the front-end server;

依据前置服务器的故障信息对医院信息系统进行诊断处理,在故障处理结束后,重置第三消息体的计数器的数值为零,同时,医院信息系统重发订单信息处理完成的处理信息。The hospital information system is diagnosed and processed according to the fault information of the front-end server. After the fault processing is completed, the value of the counter in the third message body is reset to zero. At the same time, the hospital information system resends the processing information of the completion of the order information processing.

具体的,请参考上述关于第二消息机的原理,应理解的是,第三消息机均是也是基于与第一消息机和第二消息机的处理原理,只是变换不同网络节点和信息对象,此处不再做多余叙述。Specifically, please refer to the above-mentioned principle of the second message machine. It should be understood that the third message machine is also based on the processing principles of the first message machine and the second message machine, and only changes different network nodes and information objects. No redundant description will be made here.

在一个实施例中,所述方法还包括:In one embodiment, the method also includes:

第二消息机在检测到有订单信息处理完成的处理信息进入时,构造通知信息的第四消息体,其中第四消息体包括状态属性和计数器,状态属性的初始属性为第一指示符,计数器的初始数值为零;When the second message machine detects that the processing information of the order information processing is completed, it constructs the fourth message body of the notification information, wherein the fourth message body includes a state attribute and a counter, and the initial attribute of the state attribute is the first indicator, the counter The initial value of is zero;

第二消息机在检测到第四确认信息时,将第四消息体的状态属性变更为第二指示符,实时检测第四消息体的状态属性,在状态属性为第二指示符时,云服务器接收到订单信息处理完成的通知信息;When the second message machine detects the fourth confirmation information, it changes the state attribute of the fourth message body to the second indicator, detects the state attribute of the fourth message body in real time, and when the state attribute is the second indicator, the cloud server Receive the notification information that the order information processing is completed;

在第二消息体的状态属性为第一指示符时,云服务器未接收到订单信息处理完成的通知信息,前置服务器继续向云服务器发送一次通知信息,同时,第四消息体的计数器加一;When the state attribute of the second message body is the first indicator, the cloud server has not received the notification information that the order information processing is completed, the front-end server continues to send a notification information to the cloud server, and at the same time, the counter of the fourth message body is incremented by one ;

在检测到第四消息体的计数器的数值大于计数阈值时,生成云服务器的故障信息;When it is detected that the value of the counter of the fourth message body is greater than the counting threshold, the failure information of the cloud server is generated;

依据云服务器的故障信息对云服务器进行诊断处理,在故障处理结束后,重置第四消息体的计数器的数值为零,同时,前置服务器向云服务器重发订单信息处理完成的通知信息。The cloud server is diagnosed and processed according to the fault information of the cloud server. After the fault processing is completed, the value of the counter in the fourth message body is reset to zero, and at the same time, the front-end server resends the notification information of the completion of order information processing to the cloud server.

具体的,请参考上述关于第一消息机、第二消息机以及第三消息机的原理,本实施例是基于与第一消息机、第二消息机和第三消息机的处理原理,只是变换不同网络节点和信息对象,以及信息回传的路径,此处不再做多余叙述。Specifically, please refer to the above-mentioned principles about the first message machine, the second message machine, and the third message machine. This embodiment is based on the processing principles of the first message machine, the second message machine, and the third message machine. Different network nodes and information objects, as well as the path of information return, will not be described redundantly here.

对应于上述应用云服务器的支付处理方法的实施例,本发明实施例提供了一种基于消息机的医院信息系统支付处理装置,应用于配置有公共服务系统的云服务器,并在云服务器上配置第一消息机,如图7所示,装置包括:Corresponding to the above-mentioned embodiment of the payment processing method using the cloud server, the embodiment of the present invention provides a hospital information system payment processing device based on a message machine, which is applied to a cloud server configured with a public service system and configured on the cloud server. The first message machine, as shown in Figure 7, the device includes:

第一构造模块710,用于第一消息机在检测到有订单信息进入时,构造订单信息的第一消息体,其中第一消息体包括状态属性和计数器,状态属性的初始属性为第一指示符,计数器的初始数值为零;The first construction module 710 is used for the first message machine to construct the first message body of the order information when detecting the entry of order information, wherein the first message body includes a status attribute and a counter, and the initial attribute of the status attribute is the first indication character, the initial value of the counter is zero;

第一确认信息接收模块720,用于云服务器将订单信息发送给配置有医院信息系统的前置服务器,在前置服务器检测到有订单信息进入时,生成第一确认信息,第一消息机接收来自前置服务器发送的第一确认信息;The first confirmation information receiving module 720 is used for the cloud server to send the order information to the front-end server configured with the hospital information system. When the front-end server detects that there is order information entering, it generates the first confirmation information, and the first message machine receives it. The first confirmation message sent from the front-end server;

属性变更模块730,用于第一消息机在检测到第一确认信息时,将第一消息体的状态属性变更为第二指示符,实时检测第一消息体的状态属性,在状态属性为第二指示符时,前置服务器接收到订单信息;The attribute change module 730 is used for the first message machine to change the state attribute of the first message body to the second indicator when detecting the first confirmation information, and detect the state attribute of the first message body in real time, and when the state attribute is the second indicator When the indicator is two, the front-end server receives the order information;

订单状态更新模块740,用于云服务器接收到来自前置服务器发送的通知信息时,生成第四确认信息,将第四确认信息发送给第二消息机,同时,云服务器响应于针对所述订单信息的更新操作,根据所述更新操作更新所述订单信息的订单状态,其中,通知信息表示订单信息处理完成。The order status update module 740 is configured to generate fourth confirmation information when the cloud server receives the notification information sent from the front-end server, and send the fourth confirmation information to the second message machine, and at the same time, the cloud server responds to the order The update operation of information is to update the order status of the order information according to the update operation, wherein the notification information indicates that the processing of the order information is completed.

对应于上述应用前置服务器的支付处理方法的实施例,请参考图8,图8为本申请实施例提供的应用于配置有医院信息系统的前置服务器的一种医院信息系统支付处理装置的结构框图,该处理装置应用于配置有医院信息系统的前置服务器,其中前置服务器配置有第二消息机,医院信息系统配置有第三消息机,如图8所示,装置包括:Corresponding to the above embodiment of the payment processing method using the front-end server, please refer to FIG. 8, which is a payment processing device for a hospital information system provided by an embodiment of the present application and applied to a front-end server configured with a hospital information system. Structural block diagram, the processing device is applied to a front-end server configured with a hospital information system, wherein the front-end server is configured with a second message machine, and the hospital information system is configured with a third message machine, as shown in Figure 8, the device includes:

订单信息接收模块810,用于前置服务器接收来自云服务器发送的订单信息;The order information receiving module 810 is used for the front-end server to receive the order information sent from the cloud server;

第一确认信息发送模块820,用于前置服务器在检测到有订单信息进入时,生成第一确认信息,并将第一确认信息发送至第一消息机;The first confirmation information sending module 820 is used for the front-end server to generate the first confirmation information when detecting the entry of order information, and send the first confirmation information to the first message machine;

第二确认信息发送模块830,用于所述第二消息机向所述医院信息系统发出新订单信息到达的通知信息,所述医院信息系统生成第二确认信息,并将第二确认信息发送给第二消息机;The second confirmation information sending module 830 is used for the second message machine to send the notification information of the arrival of new order information to the hospital information system, and the hospital information system generates the second confirmation information and sends the second confirmation information to second message machine;

业务处理模块840,用于所述医院信息系统根据所述订单信息生成缴费记录账单,并按照业务类型对应的业务逻辑对所述缴费记录账单进行处理,生成订单信息处理完成的处理信息,其中业务类型包括门诊业务类型或住院业务类型;The business processing module 840 is used for the hospital information system to generate payment record bills according to the order information, process the payment record bills according to the business logic corresponding to the business type, and generate processing information that the order information processing is completed, wherein the business Type includes outpatient service type or inpatient service type;

通知信息发送模块850,用于在前置服务器接收到所述处理信息时,前置服务器生成第三确认信息,并将第三确认信息发送给第三消息机,同时,第二消息机向云服务器发送订单处理完成的通知信息。The notification information sending module 850 is configured to generate third confirmation information by the front-end server when the front-end server receives the processing information, and send the third confirmation information to the third messaging machine, and at the same time, the second messaging machine sends a message to the cloud The server sends a notification message that the order processing is completed.

本发明实施例提供的应用于云服务器和前置服务器的基于消息机的医院信息系统支付处理装置,具备以下三点有益效果:The message machine-based hospital information system payment processing device applied to the cloud server and the front-end server provided by the embodiment of the present invention has the following three beneficial effects:

1、基于可靠的消息机组件,来保证消息在网络传输各个节点上的可靠度,从确保每一个订单能够正确的更新到医院的HIS系统的数据库,保证订单状态的一致性和可靠性,从而提高订单支付的成功率和客户满意度,确保医院信息系统的营运效率。1. Based on reliable message machine components, to ensure the reliability of messages on each node of the network transmission, from ensuring that each order can be correctly updated to the database of the hospital's HIS system, to ensure the consistency and reliability of the order status, thus Improve the success rate of order payment and customer satisfaction, and ensure the operational efficiency of the hospital information system.

2、采用消息队列来对每一个订单信息进行管理,可以把用户高并发过来的订单请求,按订单的时序信息放入消息队列缓存起来,可有效削减客流高峰,不会让用户手持的终端设备出现卡住、白屏等不正常现象。2. The message queue is used to manage each order information, and the order requests sent by users can be cached in the message queue according to the timing information of the order, which can effectively reduce the peak passenger flow and prevent users from holding terminal devices Stuck, white screen and other abnormal phenomena occur.

3、通过消息机对订单信息、处理信息和通知信息构造拥有确认机制和上报机制的消息体(即状态属性和计数器),在每一个节点上都保证消息的准确收到,能够在异常发生的情况下,主动上报所在节点的故障信息,工作人员在接到故障信息,依据故障信息处理好故障后,消息机会自动重发失败的订单消息、处理信息或通知信息,保证了原来的信息传递和业务逻辑,通过消息机大大减少了整个订单支付系统的信息传输复杂度,提高了故障排查的精准度。3. Construct a message body (that is, status attributes and counters) with a confirmation mechanism and a reporting mechanism for order information, processing information, and notification information through the message machine, and ensure that the message is received accurately on each node, and can be used when an exception occurs. Under certain circumstances, take the initiative to report the fault information of the node where it is located. After the staff receives the fault information and handles the fault according to the fault information, the message machine will automatically resend the failed order message, processing information or notification information, ensuring the original information transmission and The business logic greatly reduces the complexity of information transmission of the entire order payment system through the message machine, and improves the accuracy of troubleshooting.

本发明再一个实施例中,提供了一种电子设备,该电子设备包括一个或多个处理器;存储器,与所述处理器耦接,用于存储一个或多个程序;当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现上述实施例所述的一种基于消息机的医院信息系统支付处理方法的步骤。处理器可能是中央处理单元(CentralProcessingUnit,CPU),还可以是其他通用处理器、数字信号处理器(DigitalSignalProcessor、DSP)、专用集成电路 (ApplicationSpecificIntegratedCircuit,ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等,其是终端的计算核心以及控制核心,其适于实现一条或一条以上指令,具体适于加载并执行计算机存储介质内一条或一条以上指令从而实现相应方法流程或相应功能;本发明实施例所述的处理器可以用于执行基于消息机的医院信息系统支付处理方法的操作。In yet another embodiment of the present invention, an electronic device is provided, the electronic device includes one or more processors; a memory, coupled to the processors, for storing one or more programs; when the one or more A plurality of programs are executed by the one or more processors, so that the one or more processors implement the steps of the message machine-based payment processing method for the hospital information system described in the above embodiments. The processor may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., which are the computing core and control core of the terminal, are suitable for implementing one or more instructions, and are specifically suitable for loading and executing one or one instruction in a computer storage medium. The above instructions realize the corresponding method flow or corresponding function; the processor described in the embodiment of the present invention can be used to execute the operation of the message machine-based hospital information system payment processing method.

本发明再一个实施例中,本发明还提供了一种可读存储介质,具体为计算机可读存储介 质(Memory),所述计算机可读存储介质是计算机设备中的记忆设备,用于存放程序和数据。可以理解的是,此处的计算机可读存储介质既可以包括计算机设备中的内置存储介质,当然也可以包括计算机设备所支持的扩展存储介质。计算机可读存储介质提供存储空间,该存储 空间存储了终端的操作系统。并且,在该存储空间中还存放了适于被处理器加载并执行的一条或一条以上的指令,这些指令可以是一个或一个以上的计算机程序(包括程序代码)。需要说明的是,此处的计算机可读存储介质可以是高速 RAM 存储器,也可以是非不稳定的存储器(non-volatilememory),例如至少一个磁盘存储器。可由处理器加载并执行计算机可读存储 介质中存放的一条或一条以上指令,以实现上述实施例中有关基于消息机的医院信息系统支付处理方法的相应步骤。本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。In yet another embodiment of the present invention, the present invention also provides a readable storage medium, specifically a computer-readable storage medium (Memory), and the computer-readable storage medium is a memory device in a computer device for storing programs and data. It can be understood that the computer-readable storage medium here may include a built-in storage medium in the computer device, and of course may also include an extended storage medium supported by the computer device. The computer-readable storage medium provides storage space, and the storage space stores the operating system of the terminal. Moreover, one or more instructions suitable for being loaded and executed by the processor are also stored in the storage space, and these instructions may be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk memory. One or more instructions stored in the computer-readable storage medium can be loaded and executed by the processor, so as to realize the corresponding steps of the payment processing method of the hospital information system based on the message machine in the above-mentioned embodiments. Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

以上所述的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施方式而已,并不用于限定本发明的保护范围,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The specific embodiments described above have further described the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above descriptions are only specific embodiments of the present invention and are not intended to limit the scope of the present invention. Protection scope, within the spirit and principles of the present invention, any modification, equivalent replacement, improvement, etc., shall be included in the protection scope of the present invention.

Claims (10)

1.一种基于消息机的医院信息系统支付处理方法,其特征在于,应用于配置有公共服务系统的云服务器,并在云服务器上配置第一消息机,方法包括:1. A hospital information system payment processing method based on a messaging machine, characterized in that it is applied to a cloud server configured with a public service system, and the first messaging machine is configured on the cloud server, the method comprising: 第一消息机在检测到有订单信息进入时,构造订单信息的第一消息体,其中第一消息体包括状态属性和计数器,状态属性的初始属性为第一指示符,计数器的初始数值为零;When the first message machine detects the entry of order information, it constructs the first message body of the order information, wherein the first message body includes a status attribute and a counter, the initial attribute of the status attribute is the first indicator, and the initial value of the counter is zero ; 云服务器将订单信息发送给配置有医院信息系统的前置服务器,在前置服务器检测到有订单信息进入时,生成第一确认信息,第一消息机接收来自前置服务器发送的第一确认信息,其中前置服务器配置有第二消息机;The cloud server sends the order information to the front-end server configured with the hospital information system, and when the front-end server detects that there is order information entering, it generates the first confirmation information, and the first message machine receives the first confirmation information sent from the front-end server , wherein the front-end server is configured with a second messaging machine; 第一消息机在检测到第一确认信息时,将第一消息体的状态属性变更为第二指示符,实时检测第一消息体的状态属性,在状态属性为第二指示符时,前置服务器接收到订单信息;When the first message machine detects the first confirmation information, it changes the state attribute of the first message body to the second indicator, detects the state attribute of the first message body in real time, and when the state attribute is the second indicator, prepends The server receives the order information; 云服务器接收到来自前置服务器发送的通知信息时,生成第四确认信息,将第四确认信息发送给第二消息机,同时,云服务器响应于针对所述订单信息的更新操作,根据所述更新操作更新所述订单信息的订单状态,其中,通知信息表示订单信息处理完成。When the cloud server receives the notification information sent from the front-end server, it generates fourth confirmation information, and sends the fourth confirmation information to the second message machine. At the same time, the cloud server responds to the update operation for the order information, according to the The update operation updates the order status of the order information, wherein the notification information indicates that the processing of the order information is completed. 2.根据权利要求1所述的基于消息机的医院信息系统支付处理方法,其特征在于,所述第一消息机在检测到有订单信息进入时,生成订单信息的第一消息体之前,所述方法还包括:2. The payment processing method of the hospital information system based on the message machine according to claim 1, wherein the first message machine detects that the first message body of the order information is entered before the first message machine generates the order information. The method also includes: 获取用户端生成的订单信息,其中订单信息含有每个订单请求的时序信息;Obtain the order information generated by the client, where the order information contains the timing information of each order request; 根据时序信息生成具有多个订单请求的消息队列;Generate a message queue with multiple order requests based on timing information; 按照时序信息从所述消息队列中取出一个订单信息,并发送给第一消息机。An order information is taken out from the message queue according to the timing information, and sent to the first message machine. 3.根据权利要求1所述的基于消息机的医院信息系统支付处理方法,其特征在于,所述方法还包括:3. The hospital information system payment processing method based on the message machine according to claim 1, wherein the method further comprises: 在第一消息机检测到第一消息体的状态属性为第一指示符时,则订单信息未被前置服务器接收,云服务器继续向配置有医院信息系统的前置服务器的发送一次订单信息,同时,第一消息体的计数器加一;When the first message machine detects that the status attribute of the first message body is the first indicator, the order information is not received by the front-end server, and the cloud server continues to send the order information once to the front-end server configured with the hospital information system, At the same time, the counter of the first message body is increased by one; 在检测到第一消息体的计数器的数值大于计数阈值时,生成前置服务器的故障信息;When it is detected that the value of the counter of the first message body is greater than the counting threshold, generating fault information of the front server; 依据前置服务器的故障信息对前置服务器进行诊断处理,在故障处理结束后,重置第一消息体的计数器的数值为零,同时,云服务器向配置有医院信息系统的前置服务器重发订单信息。Diagnose and process the front-end server according to the fault information of the front-end server. After the fault processing is completed, reset the value of the counter of the first message body to zero, and at the same time, the cloud server resends the message to the front-end server configured with the hospital information system. order information. 4.一种基于消息机的医院信息系统支付处理方法,其特征在于,应用于配置有医院信息系统的前置服务器,其中前置服务器配置有第二消息机,医院信息系统配置有第三消息机,所述方法包括:4. A hospital information system payment processing method based on a message machine, characterized in that it is applied to a front-end server configured with a hospital information system, wherein the front-end server is configured with a second message machine, and the hospital information system is configured with a third message machine, the method comprising: 前置服务器接收来自云服务器发送的订单信息;The front-end server receives the order information sent from the cloud server; 前置服务器在检测到有订单信息进入时,生成第一确认信息,并将第一确认信息发送至第一消息机;When the front-end server detects the entry of order information, it generates first confirmation information, and sends the first confirmation information to the first message machine; 所述第二消息机向所述医院信息系统发出新订单信息到达的通知信息,所述医院信息系统生成第二确认信息,并将第二确认信息发送给第二消息机;The second message machine sends notification information of the arrival of new order information to the hospital information system, and the hospital information system generates second confirmation information and sends the second confirmation information to the second message machine; 所述医院信息系统根据所述订单信息生成缴费记录账单,并按照业务类型对应的业务逻辑对所述缴费记录账单进行处理,生成订单信息处理完成的处理信息,其中业务类型包括门诊业务类型或住院业务类型;The hospital information system generates a payment record bill according to the order information, and processes the payment record bill according to the business logic corresponding to the business type, and generates processing information that the order information processing is completed, where the business type includes outpatient business type or hospitalization business type; 在前置服务器接收到所述处理信息时,前置服务器生成第三确认信息,并将第三确认信息发送给第三消息机,同时,第二消息机向云服务器发送订单处理完成的通知信息。When the front-end server receives the processing information, the front-end server generates third confirmation information, and sends the third confirmation information to the third messaging machine, and at the same time, the second messaging machine sends notification information that the order processing is completed to the cloud server . 5.根据权利要求4所述的基于消息机的医院信息系统支付处理方法,其特征在于,所述方法还包括:5. The method for processing payment in a hospital information system based on a message machine according to claim 4, wherein the method further comprises: 第二消息机在检测到有订单信息进入时,构造订单信息的第二消息体,其中第二消息体包括状态属性和计数器,状态属性的初始属性为第一指示符,计数器的初始数值为零;When the second message machine detects the entry of order information, it constructs the second message body of the order information, wherein the second message body includes a status attribute and a counter, the initial attribute of the status attribute is the first indicator, and the initial value of the counter is zero ; 第二消息机在检测到第二确认信息时,将第一消息体的状态属性变更为第二指示符,实时检测第二消息体的状态属性,在状态属性为第二指示符时,医院信息系统接收到订单信息;When the second message machine detects the second confirmation information, it changes the status attribute of the first message body to the second indicator, detects the status attribute of the second message body in real time, and when the status attribute is the second indicator, the hospital information The system receives the order information; 在第二消息体的状态属性为第一指示符时,医院信息系统未接收到订单信息,前置服务器继续向医院信息系统发送一次订单信息,同时,第二消息体的计数器加一;When the status attribute of the second message body is the first indicator, the hospital information system has not received the order information, and the front-end server continues to send the order information to the hospital information system once, and at the same time, the counter of the second message body is incremented by one; 在检测到第二消息体的计数器的数值大于计数阈值时,生成医院信息系统的故障信息;When it is detected that the value of the counter of the second message body is greater than the counting threshold, a fault message of the hospital information system is generated; 依据医院信息系统的故障信息对医院信息系统进行诊断处理,在故障处理结束后,重置第二消息体的计数器的数值为零,同时,前置服务器向医院信息系统重发订单信息。The hospital information system is diagnosed and processed according to the fault information of the hospital information system. After the fault processing is completed, the value of the counter in the second message body is reset to zero, and at the same time, the front-end server resends the order information to the hospital information system. 6.根据权利要求4所述的基于消息机的医院信息系统支付处理方法,其特征在于,所述方法还包括:6. The hospital information system payment processing method based on the message machine according to claim 4, characterized in that the method further comprises: 第三消息机在检测到有订单信息处理完成的处理信息进入时,构造处理信息的第三消息体,其中第三消息体包括状态属性和计数器,状态属性的初始属性为第一指示符,计数器的初始数值为零;When the third message machine detects that the processing information of order information processing is completed, it constructs the third message body of the processing information, wherein the third message body includes the state attribute and the counter, the initial attribute of the state attribute is the first indicator, the counter The initial value of is zero; 第三消息机在检测到第三确认信息时,将第三消息体的状态属性变更为第二指示符,实时检测第三消息体的状态属性,在状态属性为第二指示符时,前置服务器接收到订单信息对应的处理信息;When the third message machine detects the third confirmation information, it changes the status attribute of the third message body to the second indicator, detects the status attribute of the third message body in real time, and when the status attribute is the second indicator, prepends The server receives the processing information corresponding to the order information; 在第三消息体的状态属性为第一指示符时,前置服务器未接收到订单信息对应的处理信息,医院信息系统继续向前置服务器发送一次订单信息处理完成的处理信息,同时,第三消息体的计数器加一;When the status attribute of the third message body is the first indicator, the front-end server has not received the processing information corresponding to the order information, and the hospital information system continues to send the processing information that the order information has been processed to the front-end server once. At the same time, the third The counter of the message body is incremented by one; 在检测到第三消息体的计数器的数值大于计数阈值时,生成前置服务器的故障信息;When it is detected that the value of the counter of the third message body is greater than the counting threshold, generating fault information of the front-end server; 依据前置服务器的故障信息对医院信息系统进行诊断处理,在故障处理结束后,重置第三消息体的计数器的数值为零,同时,医院信息系统重发订单信息处理完成的处理信息。The hospital information system is diagnosed and processed according to the fault information of the front-end server. After the fault processing is completed, the value of the counter in the third message body is reset to zero. At the same time, the hospital information system resends the processing information of the completion of the order information processing. 7.根据权利要求4所述的基于消息机的医院信息系统支付处理方法,其特征在于,所述方法还包括:7. The hospital information system payment processing method based on the message machine according to claim 4, wherein the method further comprises: 第二消息机在检测到有订单信息处理完成的处理信息进入时,构造通知信息的第四消息体,其中第四消息体包括状态属性和计数器,状态属性的初始属性为第一指示符,计数器的初始数值为零;When the second message machine detects that the processing information of the order information processing is completed, it constructs the fourth message body of the notification information, wherein the fourth message body includes a state attribute and a counter, and the initial attribute of the state attribute is the first indicator, the counter The initial value of is zero; 第二消息机在检测到第四确认信息时,将第四消息体的状态属性变更为第二指示符,实时检测第四消息体的状态属性,在状态属性为第二指示符时,云服务器接收到订单信息处理完成的通知信息;When the second message machine detects the fourth confirmation information, it changes the state attribute of the fourth message body to the second indicator, detects the state attribute of the fourth message body in real time, and when the state attribute is the second indicator, the cloud server Receive the notification information that the order information processing is completed; 在第二消息体的状态属性为第一指示符时,云服务器未接收到订单信息处理完成的通知信息,前置服务器继续向云服务器发送一次通知信息,同时,第四消息体的计数器加一;When the state attribute of the second message body is the first indicator, the cloud server has not received the notification information that the order information processing is completed, the front-end server continues to send a notification information to the cloud server, and at the same time, the counter of the fourth message body is incremented by one ; 在检测到第四消息体的计数器的数值大于计数阈值时,生成云服务器的故障信息;When it is detected that the value of the counter of the fourth message body is greater than the counting threshold, the failure information of the cloud server is generated; 依据云服务器的故障信息对云服务器进行诊断处理,在故障处理结束后,重置第四消息体的计数器的数值为零,同时,前置服务器向云服务器重发订单信息处理完成的通知信息。The cloud server is diagnosed and processed according to the fault information of the cloud server. After the fault processing is completed, the value of the counter in the fourth message body is reset to zero, and at the same time, the front-end server resends the notification information of the completion of order information processing to the cloud server. 8.一种基于消息机的医院信息系统支付处理装置,其特征在于,应用于配置有公共服务系统的云服务器,并在云服务器上配置第一消息机,装置包括:8. A hospital information system payment processing device based on a message machine, characterized in that it is applied to a cloud server configured with a public service system, and the first message machine is configured on the cloud server, and the device includes: 第一构造模块,用于第一消息机在检测到有订单信息进入时,构造订单信息的第一消息体,其中第一消息体包括状态属性和计数器,状态属性的初始属性为第一指示符,计数器的初始数值为零;The first construction module is used for the first message machine to construct the first message body of the order information when it detects the entry of order information, wherein the first message body includes a status attribute and a counter, and the initial attribute of the status attribute is the first indicator , the initial value of the counter is zero; 第一确认信息接收模块,用于云服务器将订单信息发送给配置有医院信息系统的前置服务器,在前置服务器检测到有订单信息进入时,生成第一确认信息,第一消息机接收来自前置服务器发送的第一确认信息;The first confirmation information receiving module is used for the cloud server to send the order information to the front-end server configured with the hospital information system. The first confirmation message sent by the front-end server; 属性变更模块,用于第一消息机在检测到第一确认信息时,将第一消息体的状态属性变更为第二指示符,实时检测第一消息体的状态属性,在状态属性为第二指示符时,前置服务器接收到订单信息;The attribute change module is used for the first message machine to change the state attribute of the first message body to the second indicator when detecting the first confirmation information, and detect the state attribute of the first message body in real time. indicator, the front-end server receives the order information; 订单状态更新模块,用于云服务器接收到来自前置服务器发送的通知信息时,生成第四确认信息,将第四确认信息发送给第二消息机,同时,云服务器响应于针对所述订单信息的更新操作,根据所述更新操作更新所述订单信息的订单状态,其中,通知信息表示订单信息处理完成。The order status update module is used to generate fourth confirmation information when the cloud server receives the notification information sent from the front-end server, and send the fourth confirmation information to the second message machine, and at the same time, the cloud server responds to the order information The update operation of updating the order status of the order information according to the update operation, wherein the notification information indicates that the processing of the order information is completed. 9.一种基于消息机的医院信息系统支付处理装置,其特征在于,应用于配置有医院信息系统的前置服务器,其中前置服务器配置有第二消息机,医院信息系统配置有第三消息机,装置包括:9. A payment processing device for a hospital information system based on a message machine, characterized in that it is applied to a front-end server configured with a hospital information system, wherein the front-end server is configured with a second message machine, and the hospital information system is configured with a third message machine machine, including: 订单信息接收模块,用于前置服务器接收来自云服务器发送的订单信息;The order information receiving module is used for the front-end server to receive the order information sent from the cloud server; 第一确认信息发送模块,用于前置服务器在检测到有订单信息进入时,生成第一确认信息,并将第一确认信息发送至第一消息机;The first confirmation information sending module is used for the front-end server to generate the first confirmation information when detecting the entry of order information, and send the first confirmation information to the first message machine; 第二确认信息发送模块,用于所述第二消息机向所述医院信息系统发出新订单信息到达的通知信息,所述医院信息系统生成第二确认信息,并将第二确认信息发送给第二消息机;The second confirmation information sending module is used for the second message machine to send the notification information of the arrival of new order information to the hospital information system, and the hospital information system generates the second confirmation information and sends the second confirmation information to the second confirmation information. Two news machines; 业务处理模块,用于所述医院信息系统根据所述订单信息生成缴费记录账单,并按照业务类型对应的业务逻辑对所述缴费记录账单进行处理,生成订单信息处理完成的处理信息,其中业务类型包括门诊业务类型或住院业务类型;The business processing module is used for the hospital information system to generate a payment record bill according to the order information, and process the payment record bill according to the business logic corresponding to the business type, and generate processing information that the order information processing is completed, wherein the business type Including outpatient service type or inpatient service type; 通知信息发送模块,用于在前置服务器接收到所述处理信息时,前置服务器生成第三确认信息,并将第三确认信息发送给第三消息机,同时,第二消息机向云服务器发送订单处理完成的通知信息。The notification information sending module is used to generate the third confirmation information by the front-end server when the front-end server receives the processing information, and send the third confirmation information to the third messaging machine, and at the same time, the second messaging machine sends a message to the cloud server Send a notification message that the order processing is complete. 10.一种电子设备,其特征在于,包括:10. An electronic device, characterized in that it comprises: 一个或多个处理器;one or more processors; 存储器,与所述处理器耦接,用于存储一个或多个程序;a memory, coupled to the processor, for storing one or more programs; 当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1至7任一项所述的基于消息机的医院信息系统支付处理方法的步骤。When the one or more programs are executed by the one or more processors, the one or more processors realize the message machine-based hospital information system payment processing according to any one of claims 1 to 7 method steps.
CN202310096623.2A 2023-02-10 2023-02-10 Payment processing method, device and equipment for hospital information system based on message machine Active CN115775148B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310096623.2A CN115775148B (en) 2023-02-10 2023-02-10 Payment processing method, device and equipment for hospital information system based on message machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310096623.2A CN115775148B (en) 2023-02-10 2023-02-10 Payment processing method, device and equipment for hospital information system based on message machine

Publications (2)

Publication Number Publication Date
CN115775148A CN115775148A (en) 2023-03-10
CN115775148B true CN115775148B (en) 2023-05-12

Family

ID=85393473

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310096623.2A Active CN115775148B (en) 2023-02-10 2023-02-10 Payment processing method, device and equipment for hospital information system based on message machine

Country Status (1)

Country Link
CN (1) CN115775148B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105893734A (en) * 2016-01-15 2016-08-24 镇江市民卡有限公司 A smart card-based resident health information record and diagnosis and treatment data clearing system and analysis method
CN109345217A (en) * 2018-08-15 2019-02-15 广州市康软信息科技有限公司 A kind of Cost of Medical Treatment method, system and device based on mobile payment
CN212208350U (en) * 2020-06-14 2020-12-22 江苏睿道信息科技有限公司 Hospital polymerization payment management system
CN114119014A (en) * 2021-10-20 2022-03-01 北京达佳互联信息技术有限公司 Payment processing method, apparatus, system, electronic device, storage medium and product
CN115602302A (en) * 2022-10-28 2023-01-13 张朝(Cn) A hospital self-service registration, billing and payment system based on WeChat applet

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9426130B2 (en) * 2014-07-21 2016-08-23 Xiaomi Inc. Methods, devices and systems for anti-counterfeiting authentication
US10311530B2 (en) * 2016-07-22 2019-06-04 Nourish Technology Inc. System and process for managing preparation and packaging of food and/or beverage products for a precise delivery time

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105893734A (en) * 2016-01-15 2016-08-24 镇江市民卡有限公司 A smart card-based resident health information record and diagnosis and treatment data clearing system and analysis method
CN109345217A (en) * 2018-08-15 2019-02-15 广州市康软信息科技有限公司 A kind of Cost of Medical Treatment method, system and device based on mobile payment
CN212208350U (en) * 2020-06-14 2020-12-22 江苏睿道信息科技有限公司 Hospital polymerization payment management system
CN114119014A (en) * 2021-10-20 2022-03-01 北京达佳互联信息技术有限公司 Payment processing method, apparatus, system, electronic device, storage medium and product
CN115602302A (en) * 2022-10-28 2023-01-13 张朝(Cn) A hospital self-service registration, billing and payment system based on WeChat applet

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张旭."医院互联网+医疗的应用研究".《中国医学装备》.2016,第13卷(第3期),101-104. *
牛学好."银医通系统设计和应用实践".《信息技术与信息化》.2020,(第6期),40-42. *

Also Published As

Publication number Publication date
CN115775148A (en) 2023-03-10

Similar Documents

Publication Publication Date Title
CN106548402B (en) Resource transfer monitoring method and device
CN113849348B (en) System and method for processing events of an event stream
US10437689B2 (en) Error handling for services requiring guaranteed ordering of asynchronous operations in a distributed environment
CN108153598B (en) Data consistency method and device based on microservice architecture
US8626526B2 (en) System and method for a healthcare communication framework
CN105592117B (en) A kind for the treatment of method and apparatus of transaction message
CN111949685B (en) Method and device for inquiring remittance progress, server and terminal equipment
CN112786188A (en) Offline working method and device of auxiliary diagnosis system, terminal equipment and medium
CN112417042A (en) A method and device for processing service requests
WO2021258340A1 (en) Publishing system, pushing method, application device, receiving apparatus, and service management device
CN112381645A (en) Information processing method and device for bill transaction
CN113590354A (en) Block chain-based information push method, apparatus, device, medium, and program product
CN114327948A (en) Message processing method, apparatus, device and storage medium
US20070240170A1 (en) Computer implemented method and system for processing an event notification within a notification infrastructure of a database system using a persistent queue
CN112991046A (en) Electronic resource limit control method, device, equipment and storage medium
CN116662035A (en) Method and device for processing transaction message of message queue
CN115775148B (en) Payment processing method, device and equipment for hospital information system based on message machine
CN112035729A (en) Wrong account processing method, device, equipment and medium
CN105637842A (en) Techniques for reliable messaging for intermediaries in a network communication environment
CN113627934A (en) A transaction data acquisition method and related equipment
CN114301859A (en) Notification message sending method and device, electronic equipment and medium
CN115036044B (en) A message processing method, device, electronic device and storage medium
US20160267230A1 (en) Touchless processing
US8788296B1 (en) Systems and methods for providing notifications of availability of generic drugs or products
CN116525059A (en) Information processing method, system and storage medium for hospital pharmacy

Legal Events

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

Effective date of registration: 20250521

Granted publication date: 20230512

PP01 Preservation of patent right