Novel online inquiry system and method based on Internet hospital

文档序号:1891763 发布日期:2021-11-26 浏览:8次 中文

阅读说明:本技术 一种基于互联网医院的新型在线问诊系统及方法 (Novel online inquiry system and method based on Internet hospital ) 是由 谢方敏 周峰 蒋重灏 李家伟 张忠豹 兰志宏 李里 唐国安 张海强 于 2021-09-02 设计创作,主要内容包括:本发明涉及一种基于互联网医院的新型在线问诊系统及方法,通过利用认证模块获取用户的ID信息并在IM服务器中对用户进行身份验证,利用问诊信息处理模块在身份验证成功后获取待传输的问诊信息,调用预设的信息处理模型提取问诊信息中的关键信息,根据关键信息判断待传输的问诊信息是否满足预设要求,利用信息流转模块对满足问诊信息满足预设要求时,基于所述IM客户端信息,将预处理后的信息发送给对应的IM客户端,基于IM通信实现问诊信息的即时传输,提高问诊效率。(The invention relates to a novel online inquiry system and a novel online inquiry method based on an internet hospital, which are characterized in that an authentication module is used for obtaining ID information of a user and carrying out identity verification on the user in an IM server, an inquiry information processing module is used for obtaining inquiry information to be transmitted after the identity verification is successful, a preset information processing model is called to extract key information in the inquiry information, whether the inquiry information to be transmitted meets preset requirements or not is judged according to the key information, when the inquiry information meeting the preset requirements is met by an information transfer module, the preprocessed information is sent to a corresponding IM client based on the IM client information, the instant transmission of the inquiry information is realized based on IM communication, and the inquiry efficiency is improved.)

1. A novel online inquiry system based on an Internet hospital is characterized by comprising:

the authentication module is used for responding to a login request of a user, acquiring ID information of the user and carrying out identity verification on the user in the IM server;

the inquiry information processing module is used for acquiring inquiry information to be transmitted after the identity authentication is successful, calling a preset information processing model to extract key information in the inquiry information, and judging whether the inquiry information to be transmitted meets preset requirements or not according to the key information; wherein the key information comprises IM client information;

and the information transfer module is used for sending the preprocessed information to the corresponding IM client based on the IM client information if the inquiry information meets the preset requirement.

2. The internet hospital-based novel online inquiry system according to claim 1, wherein said preset information processing model comprises:

the keyword acquisition module is used for acquiring keyword information in the inquiry information;

the receiving detection module is used for detecting whether the inquiry information contains the received IM client information;

and the authority detection module is used for acquiring the authority information contained in the inquiry information and judging whether the current user has the authority for sending the inquiry information or not according to the authority information.

3. The internet hospital-based novel online inquiry system according to claim 2, wherein said inquiry information processing module comprises:

the judging module is used for judging whether the inquiry information to be transmitted meets a preset requirement or not according to the keyword information, the detection information of the receiving detection module and the detection information of the permission detection module, and storing the inquiry information to be transmitted to a database when the inquiry information to be transmitted meets the preset requirement; and when the inquiry information to be transmitted does not meet the preset requirement, feeding back an abnormal prompt signal to the IM client side sending the inquiry information.

4. The internet hospital-based novel online interrogation system according to claim 1, wherein said information circulation module comprises:

the queuing module is used for putting the inquiry information to be transmitted into a preset kafka message queue;

and the transmission module is used for calling the inquiry information in the kafka message queue and sending the preprocessed information to the corresponding IM client based on the Google remote calling technology and the IM client information.

5. The novel internet hospital based on-line interrogation system according to claim 4, characterized by further comprising a gateway module for establishing connection with Android clients, iOS clients and/or web page clients.

6. The novel internet hospital based on-line interrogation system according to claim 5, wherein said transmission module sends said preprocessed information to corresponding IM client through said gateway module.

7. The internet hospital-based novel online interrogation system according to claim 6, further comprising a load balancing module for limiting the transmission rate of the transmission module according to the number of connections of the gateway module.

8. A novel online inquiry method based on an Internet hospital is characterized by comprising the following steps:

responding to a login request of a user, acquiring ID information of the user and carrying out identity authentication on the user in an IM server;

acquiring inquiry information to be transmitted after the identity authentication is successful, calling a preset information processing model to extract key information in the inquiry information, and judging whether the inquiry information to be transmitted meets preset requirements or not according to the key information; wherein the key information comprises IM client information;

and if the inquiry information meets the preset requirement, sending the preprocessed information to the corresponding IM client based on the IM client information.

9. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program when executed by a processor implements the steps of the novel internet hospital-based on-line interrogation method of claim 8.

10. A computer device, characterized by: comprising a memory, a processor and a computer program stored in said memory and executable by said processor, said processor implementing the steps of the novel internet hospital-based on-line interrogation method according to claim 8 when executing said computer program.

Technical Field

The invention relates to the technical field of computers, in particular to a novel online inquiry system and a novel online inquiry method based on an internet hospital.

Background

With the popularization of internet medical science and technology, the system for on-line inquiry can realize the business execution functions of doctor interface appointment, medical information feedback based on consultation for seeing a doctor, medical data auditing and the like. However, the existing inquiry method generally needs to transmit inquiry information by means of a third-party SDK, and the transmission efficiency is low.

Disclosure of Invention

The embodiment of the application provides a novel online inquiry system and method based on an internet hospital, which can transmit inquiry information in real time and improve inquiry efficiency.

In a first aspect of the embodiments of the present application, a novel online inquiry system based on an internet hospital is provided, including:

the authentication module is used for responding to a login request of a user, acquiring ID information of the user and carrying out identity verification on the user in the IM server;

the inquiry information processing module is used for acquiring inquiry information to be transmitted after the identity authentication is successful, calling a preset information processing model to extract key information in the inquiry information, and judging whether the inquiry information to be transmitted meets preset requirements or not according to the key information; wherein the key information comprises IM client information;

and the information transfer module is used for sending the preprocessed information to the corresponding IM client based on the IM client information if the inquiry information meets the preset requirement.

In one embodiment, the preset information processing model includes:

the keyword acquisition module is used for acquiring keyword information in the inquiry information;

the receiving detection module is used for detecting whether the inquiry information contains the received IM client information;

and the authority detection module is used for acquiring the authority information contained in the inquiry information and judging whether the current user has the authority for sending the inquiry information or not according to the authority information.

In one embodiment, the interrogation information processing module comprises:

the judging module is used for judging whether the inquiry information to be transmitted meets a preset requirement or not according to the keyword information, the detection information of the receiving detection module and the detection information of the permission detection module, and storing the inquiry information to be transmitted to a database when the inquiry information to be transmitted meets the preset requirement; and when the inquiry information to be transmitted does not meet the preset requirement, feeding back an abnormal prompt signal to the IM client side sending the inquiry information.

In one embodiment, the information flow module comprises:

the queuing module is used for putting the inquiry information to be transmitted into a preset kafka message queue;

and the transmission module is used for calling the inquiry information in the kafka message queue and sending the preprocessed information to the corresponding IM client based on the Google remote calling technology and the IM client information.

In one embodiment, the system further comprises a gateway module, wherein the gateway module is used for establishing connection with the Android client, the iOS client and/or the webpage client.

In one embodiment, the transmission module sends the preprocessed information to the corresponding IM client through the gateway module.

In one embodiment, the system further comprises a load balancing module, and the load balancing module is configured to limit the transmission rate of the transmission module according to the number of connections of the gateway module.

In a second aspect of the embodiments of the present application, a novel online inquiry method based on an internet hospital is provided, which includes the following steps:

responding to a login request of a user, acquiring ID information of the user and carrying out identity authentication on the user in an IM server;

acquiring inquiry information to be transmitted after the identity authentication is successful, calling a preset information processing model to extract key information in the inquiry information, and judging whether the inquiry information to be transmitted meets preset requirements or not according to the key information; wherein the key information comprises IM client information;

and if the inquiry information meets the preset requirement, sending the preprocessed information to the corresponding IM client based on the IM client information.

In a third aspect of the embodiments of the present application, there is provided a computer-readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the steps of the novel internet hospital-based online inquiry method according to any one of the above.

In a fourth aspect of the embodiments of the present application, there is provided a computer device, including a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor, when executing the computer program, implements the steps of the novel internet hospital-based online inquiry method according to any one of the above.

In the embodiment of the application, the ID information of a user is acquired by using the authentication module, the identity of the user is verified in the IM server, the inquiry information to be transmitted is acquired by using the inquiry information processing module after the identity is successfully verified, the key information in the inquiry information is extracted by calling the preset information processing model, whether the inquiry information to be transmitted meets the preset requirement or not is judged according to the key information, when the inquiry information meets the preset requirement by using the information transfer module, the preprocessed information is sent to the corresponding IM client based on the IM client information, the instant transmission of the inquiry information is realized based on the IM communication, and the inquiry efficiency is improved.

For a better understanding and practice, the invention is described in detail below with reference to the accompanying drawings.

Drawings

FIG. 1 is a schematic diagram of a novel Internet hospital-based online interrogation system according to an embodiment of the present invention;

FIG. 2 is a schematic diagram of a novel Internet hospital-based online interrogation system according to another embodiment of the present invention;

fig. 3 is a flowchart of a novel internet hospital-based online inquiry method according to an embodiment of the present invention.

Detailed Description

In order to make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.

It should be understood that the embodiments described are only some embodiments of the present application, and not all embodiments. All other examples, which can be obtained by a person skilled in the art without making any inventive step based on the embodiments in the present application, belong to the scope of protection of the embodiments in the present application.

The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the embodiments of the present application. As used in the examples of this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.

When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims. In the description of the present application, it is to be understood that the terms "first," "second," "third," and the like are used solely to distinguish one from another and are not necessarily used to describe a particular order or sequence, nor are they to be construed as indicating or implying relative importance. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.

In addition, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.

The utility model provides a novel online inquiry system based on internet hospital, including IM customer end and IM server. The IM client and the IM server refer to a communication system for instant sending and receiving internet messages based on an instant communication technology, wherein the IM client and the IM server may communicate one to one, or communicate many to one or many to many.

The IM client is used for obtaining a login request and inquiry information of a user and sending the login request and the inquiry information to the IM server through a network, the IM server carries out identity verification on the user, calls a preset information processing model to extract key information in the inquiry information, judges whether the inquiry information to be transmitted meets preset requirements or not according to the key information, and sends the preprocessed information to the corresponding IM client when the inquiry information meets the preset requirements.

The IM client may be various personal computers, notebook computers, smart phones, tablet computers, portable wearable devices, or other devices that can communicate with the IM server via a network, and the IM server may be an independent server or a server cluster composed of a plurality of servers.

As shown in fig. 1, the present invention provides a novel online inquiry system based on an internet hospital, comprising:

the authentication module 1 is used for responding to a login request of a user, acquiring ID information of the user and carrying out identity verification on the user in the IM server;

the inquiry information processing module 2 is configured to obtain inquiry information to be transmitted after the identity authentication is successful, call a preset information processing model to extract key information in the inquiry information, and judge whether the inquiry information to be transmitted meets preset requirements according to the key information; wherein the key information comprises IM client information;

the preset information processing model may be a key information extraction algorithm pre-stored by the user, and the key information to be extracted may be set according to the user's requirement, for example, may be set to obtain keywords related to diseases, received IM client information, or permission information.

In one embodiment, the preset information processing model includes:

the keyword acquisition module is used for acquiring keyword information in the inquiry information;

the receiving detection module is used for detecting whether the inquiry information contains the received IM client information;

and the authority detection module is used for acquiring the authority information contained in the inquiry information and judging whether the current user has the authority for sending the inquiry information or not according to the authority information.

The inquiry information processing module specifically comprises:

the judging module is used for judging whether the inquiry information to be transmitted meets a preset requirement or not according to the key information and the detection information of the receiving detection module and the permission detection module, and storing the inquiry information to be transmitted to a database when the inquiry information to be transmitted meets the preset requirement; and when the inquiry information to be transmitted does not meet the preset requirement, feeding back an abnormal prompt signal to the IM client side sending the inquiry information.

The keyword obtaining module may be preset with a keyword extraction algorithm for obtaining keyword information, and the reception detecting module may be preset with a detection algorithm for detecting whether the IM client information is available.

In the embodiment of the application, when the current user is detected to have the authority of sending the inquiry information, the inquiry information to be transmitted is stored in the database, and when the current user is detected to have the authority of sending the inquiry information and the inquiry information is detected to contain the received IM client information, the inquiry information is sent to the information circulation module for information circulation.

And the information transfer module 3 is used for sending the preprocessed information to the corresponding IM client based on the IM client information if the inquiry information meets the preset requirement.

In one embodiment, the information flow module comprises:

the queuing module is used for putting the inquiry information to be transmitted into a preset kafka message queue;

and the transmission module is used for calling the inquiry information in the kafka message queue and sending the preprocessed information to the corresponding IM client based on the Google remote calling technology and the IM client information.

The Google remote calling technology (Grpc) is a set of remote procedure calling framework developed by Google, can be used for communication between application programs, and is also suitable for communication between a client and a server. In the embodiment of the application, the modules are communicated by adopting a Google remote calling technology so as to improve the information transmission efficiency.

Kafka is a message transport that asynchronously transfers messages between a client application and a messaging system based on message queues. In the embodiment of the application, the inquiry information to be transmitted is stored in the kafka message queue, and then the inquiry information in the kafka message queue is called by the transmission module to realize asynchronous pushing of the inquiry information, so that data loss is avoided, and the reliability of data transmission is improved.

In the embodiment of the application, the ID information of a user is acquired by using the authentication module, the identity of the user is verified in the IM server, the inquiry information to be transmitted is acquired by using the inquiry information processing module after the identity is successfully verified, the key information in the inquiry information is extracted by calling the preset information processing model, whether the inquiry information to be transmitted meets the preset requirement or not is judged according to the key information, when the inquiry information meets the preset requirement by using the information transfer module, the preprocessed information is sent to the corresponding IM client based on the IM client information, the instant transmission of the inquiry information is realized based on the IM communication, and the inquiry efficiency is improved.

In one embodiment, the novel internet hospital-based online inquiry system further comprises a gateway module for establishing connection with the Android client, the iOS client and/or the web page client.

The web client may include web pages based on HTML/HTML5/Vue/CSS3, etc.

Specifically, the gateway module may search for corresponding client information in the IM server according to the ID information, and establish a communication connection between the IM client and the IM client, or between the IM client and the server according to the client information.

In one embodiment, the transmission module sends the preprocessed information to the corresponding IM client through the gateway module.

In one embodiment, the system further comprises a load balancing module, and the load balancing module is configured to limit the transmission rate of the transmission module according to the number of connections of the gateway module.

Specifically, the load balancing module may limit the number of messages transmitted by the transmission module at each time or limit the number of objects transmitted by the transmission module, so as to limit the data transmission rate, thereby ensuring the stability of the system. In other embodiments, the load balancing module may also be used for service management such as service discovery and service registration.

Fig. 2 is a schematic structural diagram of a novel internet hospital-based online inquiry system in an embodiment, and the system includes a gateway module, a service processing module, a third server access module, an information transfer module, and a load balancing module.

The business processing module comprises an authentication module and an inquiry information processing module, and is connected with the database. The third server access module can be used for accessing a third-party server so as to respond to a request signal of the third-party server for service processing, and the gateway module comprises three socket/websocket gateway layers.

As shown in fig. 3, an embodiment of the present application further provides a novel online inquiry method based on an internet hospital, including the following steps:

step S1: responding to a login request of a user, acquiring ID information of the user and carrying out identity authentication on the user in an IM server;

step S2: acquiring inquiry information to be transmitted after the identity authentication is successful, calling a preset information processing model to extract key information in the inquiry information, and judging whether the inquiry information to be transmitted meets preset requirements or not according to the key information;

step S3: and if the inquiry information meets the preset requirement, sending the preprocessed information to the corresponding IM client based on the IM client information.

In one embodiment, the step of calling a preset information processing model to extract key information in the inquiry information includes:

acquiring keyword information in the inquiry information;

detecting whether the inquiry information contains the received IM client information;

and acquiring the authority information contained in the inquiry information, and judging whether the current user has the authority to send the inquiry information according to the authority information.

In one embodiment, the step of determining whether the inquiry information to be transmitted meets preset requirements according to the key information includes:

judging whether the inquiry information to be transmitted meets preset requirements or not according to the keyword information, the received IM client information and the permission information;

when the inquiry information to be transmitted meets the preset requirement, storing the inquiry information to be transmitted to a database; and when the inquiry information to be transmitted does not meet the preset requirement, feeding back an abnormal prompt signal to the IM client side sending the inquiry information.

In one embodiment, the step of sending the preprocessed information to the corresponding IM client specifically includes:

putting the inquiry information to be transmitted into a preset kafka message queue;

and calling inquiry information in the kafka message queue, and sending the preprocessed information to a corresponding IM client based on Google remote calling technology and the IM client information.

In one embodiment, the method further comprises the following steps:

and establishing connection with the Android client, the iOS client and/or the webpage client by utilizing the gateway module.

In one embodiment, the step of sending the preprocessed information to the corresponding IM client includes:

and sending the preprocessed information to a corresponding IM client through the gateway module.

In one embodiment, the method further comprises the following steps:

and limiting the transmission rate of the transmission module by using a load balancing module according to the connection number of the gateway module.

It should be noted that the novel online inquiry method based on the internet hospital is implemented based on the novel online inquiry system based on the internet hospital in the above embodiments, the novel online inquiry method based on the internet hospital and the novel online inquiry system based on the internet hospital belong to the same concept, and the specific implementation process thereof is described in detail in the system embodiment and is not described herein again.

The embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the steps of the novel internet hospital-based online inquiry method according to any one of the above-mentioned embodiments.

Embodiments of the present application may take the form of a computer program product embodied on one or more storage media including, but not limited to, disk storage, CD-ROM, optical storage, and the like, in which program code is embodied. Computer readable storage media, which include both non-transitory and non-transitory, removable and non-removable media, may implement any method or technology for storage of information. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of the storage medium of the computer include, but are not limited to: phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, may be used to store information that may be accessed by a computing device.

The embodiment of the present application further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor implements the steps of the novel internet hospital-based online inquiry method according to any one of the above mentioned methods when executing the computer program.

The present invention is not limited to the above-described embodiments, and various modifications and variations of the present invention are intended to be included within the scope of the claims and the equivalent technology of the present invention if they do not depart from the spirit and scope of the present invention.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种防止核电厂安全壳喷淋系统误加药的方法及判断模块

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!