CN113257407A - Method, device and equipment for processing medical public account message and storage medium - Google Patents

Method, device and equipment for processing medical public account message and storage medium Download PDF

Info

Publication number
CN113257407A
CN113257407A CN202110599521.3A CN202110599521A CN113257407A CN 113257407 A CN113257407 A CN 113257407A CN 202110599521 A CN202110599521 A CN 202110599521A CN 113257407 A CN113257407 A CN 113257407A
Authority
CN
China
Prior art keywords
request
response information
service system
target
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110599521.3A
Other languages
Chinese (zh)
Inventor
程勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kangjian Information Technology Shenzhen Co Ltd
Original Assignee
Kangjian Information Technology Shenzhen 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 Kangjian Information Technology Shenzhen Co Ltd filed Critical Kangjian Information Technology Shenzhen Co Ltd
Priority to CN202110599521.3A priority Critical patent/CN113257407A/en
Publication of CN113257407A publication Critical patent/CN113257407A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H50/00ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics
    • G16H50/20ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics for computer-aided diagnosis, e.g. based on medical expert systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H70/00ICT specially adapted for the handling or processing of medical references

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Business, Economics & Management (AREA)
  • General Health & Medical Sciences (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Medical Informatics (AREA)
  • Human Resources & Organizations (AREA)
  • Public Health (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Physics & Mathematics (AREA)
  • Epidemiology (AREA)
  • Biomedical Technology (AREA)
  • Primary Health Care (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Engineering & Computer Science (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

The invention relates to the field of big data, is applied to the field of intelligent medical treatment, and discloses a method, a device, equipment and a storage medium for processing a medical public number message, which are used for improving the working efficiency of a medical public platform. The processing method of the medical public number message comprises the following steps: the business system receives a user request sent by a medical public platform through a basic service system; the business system analyzes the user request based on the basic service system and obtains the request type and the request attribute in the user request through a message transmission tool; the service system constructs target response information based on the request type and the request attribute, and synchronously sends temporary response information to the medical public platform according to the basic service system; and after the operation of constructing the target response information is completed, the service system sends the target response information to the medical public platform through the message transmission tool. The invention also relates to a blockchain technology, and the user request can be stored in the blockchain.

Description

Method, device and equipment for processing medical public account message and storage medium
Technical Field
The invention relates to the field of big data, in particular to a method, a device, equipment and a storage medium for processing a medical public number message.
Background
With the rapid development of scientific technology, a user can know related information or directly perform data operation through a public number, taking a medical public number platform as an example, the user can browse related medical information on the medical public number platform, and can perform operations such as registration, payment and shopping, so that a better operating environment is provided for the user. In the prior art, a user sends a user request to a service system through a medical public platform, the service system constructs corresponding target response information according to the user request, returns the target response information to the medical public platform, and displays the target response information on the medical public platform.
However, after the user sends the user request to the public medical platform, it is not determined whether the service system corresponding to the public medical platform can return the response information required by the user, which results in low working efficiency of the public medical platform.
Disclosure of Invention
The invention provides a method, a device, equipment and a storage medium for processing a medical public number message, which are used for improving the working efficiency of a medical public platform.
The invention provides a method for processing a medical public number message in a first aspect, which comprises the following steps: the business system receives a user request sent by a medical public platform through a basic service system; the business system analyzes the user request based on the basic service system, acquires the user request transmitted by the basic service system through a message transmission tool, extracts the request type and the request attribute in the user request, wherein the request type comprises a subscription type and a scanning type, and the request attribute is used for describing basic information data carried by the request type; the business system constructs target response information based on the request type and the request attribute, and synchronously sends temporary response information to the medical public platform according to the basic service system, wherein the target response information is feedback information corresponding to the user request, and the temporary response information is used for temporarily returning notification information to the medical public platform; and after the operation of constructing the target response information is completed, the business system sends the target response information to the medical public platform through the message transmission tool.
Optionally, in a first implementation manner of the first aspect of the present invention, the analyzing, by the business system, the user request based on the basic service system, and obtaining the user request transmitted by the basic service system through a message delivery tool, and the extracting a request type and a request attribute in the user request includes: the business system searches a message label in the user request by utilizing the basic service system, wherein the message label comprises a type label and an attribute label; the service system acquires the message content carried by the message label through the basic service system, and determines the request type and the request attribute of the user request based on the message content; and the service system acquires the request type and the request attribute in the user request sent by the message transfer tool.
Optionally, in a second implementation manner of the first aspect of the present invention, the constructing, by the business system, target response information based on the request type and the request attribute, and sending, according to the basic service system, temporary response information to the public medical platform synchronously includes: the service system determines a target template based on the request type, determines target content based on the request attribute, and constructs target response information by using the target template and the target content; and when the target response information is constructed by utilizing the target template and the target content, the business system synchronously sends temporary response information to the medical public platform according to the basic service system.
Optionally, in a third implementation manner of the first aspect of the present invention, the determining, by the business system, a target template based on the request type, determining target content based on the request attribute, and constructing target response information by using the target template and the target content includes: the service system screens the preset template with the same type as the request from the types of the preset templates, and determines the preset template with the same type as the request as a target template; the service system screens the preset processing logic with the same attribute as the request from the attributes of the preset processing logic, and determines the preset processing logic with the same attribute as the request as target content; and the business system constructs target response information by using the target template and the target content.
Optionally, in a fourth implementation manner of the first aspect of the present invention, when constructing the target response information by using the target template and the target content, the synchronously sending, by the business system, the temporary response information to the public medical platform according to the basic service system includes: when target response information is constructed by using the target template and the target content, a business system constructs a null character string with zero byte length through the basic service system, determines the null character string as temporary response information, and synchronously sends the temporary response information to the medical public platform; or when the business system utilizes the target template and the target content to construct target response information, the business system constructs a response password through the basic service system, determines the response password as temporary response information, and synchronously sends the temporary response information to the medical public platform.
Optionally, in a fifth implementation manner of the first aspect of the present invention, after the operation of constructing the target response information is completed, the sending, by the business system, the target response information to the public medical platform through the message delivery tool includes: after the operation of constructing the target response information is completed, the business system sends the target response information to a basic service system through the message transmission tool; the business system acquires a response message code corresponding to the target response information through the basic service system, and determines medical platform display information corresponding to the target response information through the response message code; and the business system sends the medical platform display information to the medical public platform by using the basic service system.
Optionally, in a sixth implementation manner of the first aspect of the present invention, after the after completing the operation of constructing the target response information, the business system sends the target response information to the medical public platform through the message delivery tool, the method for processing the medical public number message further includes: and the business system displays the target response information through the medical public platform.
A second aspect of the present invention provides a medical public number message processing apparatus, including: the service system is used for receiving a user request sent by the medical public platform through the basic service system; the service system is used for analyzing the user request based on the basic service system, acquiring the user request transmitted by the basic service system through a message transmission tool, and extracting a request type and a request attribute in the user request, wherein the request type comprises a subscription type and a scanning type, and the request attribute is used for describing basic information data carried by the request type; the service system is used for constructing target response information based on the request type and the request attribute and synchronously sending temporary response information to the medical public platform according to the basic service system, the target response information is feedback information corresponding to a user request, and the temporary response information is used for temporarily returning notification information to the medical public platform; and the sending module is used for sending the target response information to the medical public platform through the message transmission tool after the operation of constructing the target response information is completed.
Optionally, in a first implementation manner of the second aspect of the present invention, the parsing module is specifically configured to: the business system searches a message label in the user request by utilizing the basic service system, wherein the message label comprises a type label and an attribute label; the service system acquires the message content carried by the message label through the basic service system, and determines the request type and the request attribute of the user request based on the message content; and the service system acquires the request type and the request attribute in the user request sent by the message transfer tool.
Optionally, in a second implementation manner of the second aspect of the present invention, the response module includes: the service system is used for determining a target template based on the request type, determining target content based on the request attribute and constructing target response information by using the target template and the target content; and the response unit is used for synchronously sending temporary response information to the medical public platform according to the basic service system when the target response information is constructed by utilizing the target template and the target content.
Optionally, in a third implementation manner of the second aspect of the present invention, the determining unit is specifically configured to: the service system screens the preset template with the same type as the request from the types of the preset templates, and determines the preset template with the same type as the request as a target template; the service system screens the preset processing logic with the same attribute as the request from the attributes of the preset processing logic, and determines the preset processing logic with the same attribute as the request as target content; and the business system constructs target response information by using the target template and the target content.
Optionally, in a fourth implementation manner of the second aspect of the present invention, the response unit is specifically configured to: when target response information is constructed by using the target template and the target content, a business system constructs a null character string with zero byte length through the basic service system, determines the null character string as temporary response information, and synchronously sends the temporary response information to the medical public platform; or when the business system utilizes the target template and the target content to construct target response information, the business system constructs a response password through the basic service system, determines the response password as temporary response information, and synchronously sends the temporary response information to the medical public platform.
Optionally, in a fifth implementation manner of the second aspect of the present invention, the sending module is specifically configured to: after the operation of constructing the target response information is completed, the business system sends the target response information to a basic service system through the message transmission tool; the business system acquires a response message code corresponding to the target response information through the basic service system, and determines medical platform display information corresponding to the target response information through the response message code; and the business system sends the medical platform display information to the medical public platform by using the basic service system.
Optionally, in a sixth implementation manner of the second aspect of the present invention, the processing apparatus of the medical public number message further includes: and the service system is used for displaying the target response information through the medical public platform.
A third aspect of the present invention provides a medical public number message processing apparatus, comprising: a memory and at least one processor, the memory having instructions stored therein; the at least one processor invokes the instructions in the memory to cause the processing device of the medical public number message to execute the method of processing the medical public number message described above.
A fourth aspect of the present invention provides a computer-readable storage medium having stored therein instructions, which when run on a computer, cause the computer to execute the above-described method of processing a medical public number message.
In the technical scheme provided by the invention, a business system receives a user request sent by a medical public platform through a basic service system; the business system analyzes the user request based on the basic service system, acquires the user request transmitted by the basic service system through a message transmission tool, extracts the request type and the request attribute in the user request, wherein the request type comprises a subscription type and a scanning type, and the request attribute is used for describing basic information data carried by the request type; the business system constructs target response information based on the request type and the request attribute, and synchronously sends temporary response information to the medical public platform according to the basic service system, wherein the target response information is feedback information corresponding to the user request, and the temporary response information is used for temporarily returning notification information to the medical public platform; and after the operation of constructing the target response information is completed, the business system sends the target response information to the medical public platform through the message transmission tool. This scheme can be applied to in the wisdom medical treatment field, has improved the work efficiency of medical public platform to promote the construction in wisdom city.
Drawings
Fig. 1 is a schematic diagram of an embodiment of a method for processing a medical public address message according to an embodiment of the present invention;
fig. 2 is a schematic diagram of another embodiment of a method for processing a medical public address message according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an embodiment of a medical public address message processing device in the embodiment of the invention;
fig. 4 is a schematic diagram of another embodiment of a medical public address message processing device in the embodiment of the invention;
fig. 5 is a diagram of an embodiment of a medical public address message processing device in an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a method, a device, equipment and a storage medium for processing a medical public number message, which are used for improving the working efficiency of a medical public platform.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," or "having," and any variations thereof, are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For convenience of understanding, a specific flow of an embodiment of the present invention is described below, and referring to fig. 1, an embodiment of a method for processing a medical public address message according to an embodiment of the present invention includes:
101. the business system receives a user request sent by a medical public platform through a basic service system;
it is understood that the executing subject of the present invention may be a processing device of a medical public information, and may also be a business system or a server, which is not limited herein. The embodiment of the present invention is described by taking a service system as an execution subject.
With the rapid development of scientific technology, a user can know related information or directly perform data operation through a public number, taking a medical public number platform as an example, the user can browse related medical information on the medical public number platform, and can perform operations such as registration, payment and shopping, so that a better operating environment is provided for the user. In the prior art, a user sends a user request to a service system through a medical public platform, the service system constructs corresponding target response information according to the user request, returns the target response information to the medical public platform, and displays the target response information on the medical public platform.
However, after the user sends the user request to the public medical platform, it is not determined whether the service system corresponding to the public medical platform can return the response information required by the user, which results in low working efficiency of the public medical platform.
Specifically, the service system needs to receive a user request sent by a user on the public medical platform through the basic service system, where the user request may be a query, a link request, or the like. The content fed back by the service system for different types of user requests also differs.
It is emphasized that the user request may also be stored in a node of a block chain in order to further ensure privacy and security of the user request.
102. The business system analyzes the user request based on the basic service system, acquires the user request transmitted by the basic service system through a message transmission tool, and extracts the request type and the request attribute in the user request, wherein the request type comprises a subscription type and a scanning type, and the request attribute is used for describing basic information data carried by the request type;
generally, a medical public platform is established by a micro-service architecture, and the core idea of the micro-service architecture is that an application is composed of a plurality of small, independent and micro-services, the services run in the process of the application, and development and release of the services are not interdependent. Different services are communicated through some lightweight interaction mechanisms, such as RPC, HTTP and the like, the services can be independently expanded and contracted, each service defines a clear boundary, and different services can even be realized by adopting different programming languages and are maintained by independent teams. In the micro service architecture, the common service is called a basic service system, such as: payment, logistics, systems interacting with public systems, etc., and the services with services are called business systems or business middlebox systems, such as shopping malls, inquiry systems, etc. For example, the business system mall may use a payment function of a payment system, a commodity logistics tracking function of a logistics system, a logistics message of a commodity pushed by a public number system, and the like. Specifically, the basic service system is used for disassembling the request type and the request attribute of the user request, and transmitting the request type and the request attribute to the service system through the message transmission tool, and the service system constructs the target response information according to the request type, the request attribute and the corresponding processing logic.
103. The service system constructs target response information based on the request type and the request attribute, and synchronously sends temporary response information to the medical public platform according to the basic service system, wherein the target response information is feedback information corresponding to the user request, and the temporary response information is used for temporarily returning notification information to the medical public platform;
the service system can construct target response information requested by the user after defining the request type and the request attribute, and when the service system does not construct the target response information, the medical public platform is in a waiting state, so that the user cannot be ensured to clearly determine whether the response information required by the user request can be obtained, and the working efficiency of the medical public platform is low. Therefore, the basic service system can synchronously send the temporary response information to the medical public platform in the process that the medical public platform waits for the response of the business system, so as to clarify the processing condition of the business system.
104. And after the operation of constructing the target response information is completed, the service system sends the target response information to the medical public platform through the message transmission tool.
After the business system completes the operation of constructing the target response information based on the request type and the request attribute, the corresponding target response information can be transmitted to the medical public platform for display through the message transmission tool, and the user can be made to clearly know the required information.
It should be noted that, because the format of the target response information constructed by the service system is different from the format that can be displayed by the medical public platform, the target response information needs to be converted by using the basic service system, so as to obtain the information that can be displayed by the medical public platform.
In the embodiment of the invention, after receiving a user request sent by a medical public platform, a basic service system analyzes the user request to obtain a request type and a request attribute, responds to a temporary message synchronously, a service system constructs target response information by using the request type and the request attribute, and after finishing the operation of constructing the target response information, the service system sends the target response information to the medical public platform by means of the basic service system. This scheme can be applied to in the wisdom medical treatment field, has improved the work efficiency of medical public platform to promote the construction in wisdom city.
Referring to fig. 2, another embodiment of the method for processing a medical public address message according to an embodiment of the present invention includes:
201. the business system receives a user request sent by a medical public platform through a basic service system;
generally, a medical public platform is established by a micro-service architecture, and the core idea of the micro-service architecture is that an application is composed of a plurality of small, independent and micro-services, the services run in the process of the application, and development and release of the services are not interdependent. Different services are communicated through some lightweight interaction mechanisms, such as RPC, HTTP and the like, the services can be independently expanded and contracted, each service defines a clear boundary, and different services can even be realized by adopting different programming languages and are maintained by independent teams. In the micro service architecture, the common service is called a basic service system, such as: payment, logistics, and public systems interaction, and the services with services are called as a business system or a business platform system, such as a mall, an inquiry system, and the like. For example, the business system mall may use a payment function of a payment system, a commodity logistics tracking function of a logistics system, a logistics message of a commodity pushed by a public number system, and the like.
Specifically, the service system needs to receive a user request sent by a user on the public medical platform, where the user request may be a query, a link request, or the like. The content fed back by the service system for different types of user requests also differs.
It is emphasized that the user request may also be stored in a node of a block chain in order to further ensure privacy and security of the user request.
202. The business system analyzes the user request based on the basic service system, acquires the user request transmitted by the basic service system through a message transmission tool, and extracts the request type and the request attribute in the user request, wherein the request type comprises a subscription type and a scanning type, and the request attribute is used for describing basic information data carried by the request type;
specifically, a business system searches a message tag in a user request by using a basic service system, wherein the message tag comprises a type tag and an attribute tag; the service system acquires the message content carried by the message label through the basic service system, and determines the request type and the request attribute of the user request based on the message content; the service system acquires the request type and request attribute in the user request sent by the message transfer tool.
Specifically, a user sends a user request to a basic service system, disassembles the user request through the basic service system, and searches a message tag in the disassembled user request, where the message tag includes a type tag and an attribute tag, it should be noted that the format of the user request is an XML structure, the user request can be analyzed by using an XML analysis technology in the basic service system, and the type tag and the attribute tag can be searched in the analyzed user request. The type label and the attribute label are unique labels, wherein the type label is < Event >, the attribute label is < EventKey >, each label carries corresponding message content, and the request type and the request attribute requested by the user can be determined after the type label and the attribute label are found.
The following user request after disassembly is taken as an example for explanation:
the disassembled user request is as follows:
<MsgType><![CDATA[event]]></MsgType>
<Event><![CDATA[subscribe]]></Event>
<EventKey><![CDATA[qrscene_123123]]></EventKey>
<Ticket><![CDATA[TICKET]]></Ticket>
the type tag is < Event >, and the corresponding type of the carried request is <! [ CDATA [ describe ] ] ], where the attribute tag is < EventKey >, and the corresponding carried request attribute is <! [ CDATA [ qrscene _123123] ] >.
It is further explained that here the request type and request attributes are in a one-to-one correspondence. In addition, the request type at least comprises a subscription type and a scanning type, and the request attribute is used for describing basic information data carried by the request type. Specifically, when the request type is a scanning type, the basic information data carried by the corresponding request attribute is two-dimensional code information to be scanned.
203. The service system constructs target response information based on the request type and the request attribute, and synchronously sends temporary response information to the medical public platform according to the basic service system, wherein the target response information is feedback information corresponding to the user request, and the temporary response information is used for temporarily returning notification information to the medical public platform;
specifically, the service system determines a target template based on the request type, determines target content based on the request attribute, and constructs target response information by using the target template and the target content; and when the target response information is constructed by using the target template and the target content, the business system synchronously sends temporary response information to the medical public platform according to the basic service system.
The target response information here refers to feedback information corresponding to the user request, for example, the user request is to acquire doctor a business card information, and the corresponding target response information is the doctor a business card information. In addition, the service system can determine a target template according to the request type in the user request, determine target content based on the request attribute, and construct target response information by using the target template and the target content.
It is further explained that the target template includes a text template, a card template and an applet template, and the formats of different templates are different. Further, the target content here is constructed by a computer coding language.
When the business system determines the target template and the target content, the specific steps are as follows:
1) the service system screens the preset template with the same type as the request from the types of the preset templates, and determines the preset template with the same type as the request as a target template;
when the business system determines the target template, the business system screens out preset templates with the same type as the request type requested by the user from the preset templates and determines the preset templates as the target template.
2) The service system screens the preset processing logic with the same attribute as the request from the attributes of the preset processing logic, and determines the preset processing logic with the same attribute as the request as target content;
when determining the target content, the service system filters the preset processing logic with the same request attribute as the request attribute of the user request from the plurality of preset processing logics and determines the preset processing logic as the target content.
3) The business system constructs target response information by using the target template and the target content.
When the business system constructs the target response information by using the target template and the target content, the business system constructs the target response information according to different target templates and corresponding target content, for example, when the target template is a text template, the business system adds the target content to the target template through corresponding processing logic, and then the corresponding target response information can be generated. It should be noted that the above process of constructing the target response information is a conventional technical means in the art, and therefore, is not described herein again.
It should be noted that each preset template corresponds to a unique code of the system, and this code is provided for the service system to use, and the code will be transmitted as a response message code in the following.
When the construction time of the service system for constructing the target response information is too long, and the public medical platform does not receive any response, the public medical platform can resend the user request, the repeated sending of the user request can cause the thread of the service system to be too heavy, the processing efficiency is low in the processing time process, and the user cannot have good application experience. Therefore, in the application, the business system temporarily and synchronously sends the temporary response information to the medical public platform through the basic service system, and the processing pressure of the business system is relieved in a mode of timely feeding back the notification information to the medical public platform. The notification information here can be understood as a prompt message that the business system is constructing the target response information.
When the service system synchronously sends the temporary response information to the medical public platform, the method specifically comprises the following steps: when target response information is constructed by using a target template and target content, a business system constructs a null character string with zero byte length through a basic service system, determines the null character string as temporary response information, and synchronously sends the temporary response information to a medical public platform; or when the business system utilizes the target template and the target content to construct the target response information, the business system constructs a response password through the basic service system, determines the response password as temporary response information, and synchronously sends the temporary response information to the medical public platform.
In the process that the business system constructs the target response information, the business system can synchronously send the temporary response information to the medical public platform through the basic service system, and the temporary response information has two conditions: in the first case, the temporary response information is a null string with a byte length of zero, and it should be noted that the content of the content field in the XML structure is not null in the null string; in case two, the temporary response information is a response password, and the response password here may be "success".
In addition, when neither the service system nor the basic service system replies any content to the medical public platform, or the service system replies abnormal data such as JSON data to the medical public platform, the medical public platform automatically sends a prompt message, such as: the public number is temporarily unavailable for service and requires a later retry. And displaying a prompt message on the medical public platform to enable the user to clarify the current state of the medical public platform.
204. After the operation of constructing the target response information is completed, the service system sends the target response information to the medical public platform through the message transmission tool;
specifically, after the operation of constructing the target response information is completed, the business system sends the target response information to the basic service system through the message transmission tool; the business system acquires a response message code corresponding to the target response information through the basic service system, and determines medical platform display information corresponding to the target response information through the response message code; and the service system sends the medical platform display information to the medical public platform by using the basic service system.
It can be understood that the service system may send the target response information to the public medical platform after the target response information is constructed, and it can be understood that the target response information is program information written by a computer through a preset computer language, where the computer language may be C language or Java language, which is not limited in this application. Specifically, the service system first sends the target response information to the basic service system through the message delivery tool, where the target response information is sent by using a response message code, and the response message code refers to an allocation template code corresponding to the target response information. The basic service system can directly determine the type of the medical platform display information after receiving the response message codes, wherein the type of the medical platform display information comprises texts, cards and applets, and the basic service system can convert the target response information into the medical platform display information according to the type of the medical platform display information. After the basic service system converts the target response information into medical platform display information, the medical platform display information can be directly sent to a medical public platform for displaying.
For example, the following steps are carried out: the method comprises the steps that a distribution template code of target response information received by a basic service system is test-min-app, a judgment module in the basic service system determines that the display type of medical platform display information corresponding to the distribution template code is a small program, and then a conversion module in the basic service system is used for converting the target response information (computer program code) into the medical platform display information (characters, pictures, texts, voice, video and music).
205. And the business system displays the target response information through the medical public platform.
After a user sends a user request to the service system through the medical public platform, the service system responds according to the user request, generates corresponding replied target response information, returns the target response information to the medical public platform, and displays the target response information through the medical public platform, so that the user can clearly determine required information on the medical public platform.
In the embodiment of the invention, after receiving a user request sent by a medical public platform, a basic service system analyzes the user request to obtain a request type and a request attribute, responds to a temporary message synchronously, a service system constructs target response information by using the request type and the request attribute, and after finishing the operation of constructing the target response information, the service system sends the target response information to the medical public platform by means of the basic service system. This scheme can be applied to in the wisdom medical treatment field, has improved the work efficiency of medical public platform to promote the construction in wisdom city.
With reference to fig. 3, the method for processing a medical public address message in the embodiment of the present invention is described above, and a device for processing a medical public address message in the embodiment of the present invention is described below, where an embodiment of the device for processing a medical public address message in the embodiment of the present invention includes:
the receiving module 301 is used for receiving a user request sent by a medical public platform through a basic service system;
the analysis module 302 is configured to analyze the user request based on the basic service system, acquire the user request transmitted by the basic service system through a message delivery tool, and extract a request type and a request attribute in the user request, where the request type includes a subscription type and a scanning type, and the request attribute is used to describe basic information data carried by the request type;
the response module 303, configured to, by the service system, construct target response information based on the request type and the request attribute, and synchronously send temporary response information to the medical public platform according to the basic service system, where the target response information is feedback information corresponding to a user request, and the temporary response information is used to temporarily return notification information to the medical public platform;
and a sending module 304, after the operation of constructing the target response information is completed, the service system is configured to send the target response information to the public medical platform through the message delivery tool.
In the embodiment of the invention, after receiving a user request sent by a medical public platform, a basic service system analyzes the user request to obtain a request type and a request attribute, responds to a temporary message synchronously, a service system constructs target response information by using the request type and the request attribute, and after finishing the operation of constructing the target response information, the service system sends the target response information to the medical public platform by means of the basic service system. This scheme can be applied to in the wisdom medical treatment field, has improved the work efficiency of medical public platform to promote the construction in wisdom city.
Referring to fig. 4, another embodiment of the apparatus for processing a medical public address message according to the embodiment of the present invention includes:
the receiving module 301 is used for receiving a user request sent by a medical public platform through a basic service system;
the analysis module 302 is configured to analyze the user request based on the basic service system, acquire the user request transmitted by the basic service system through a message delivery tool, and extract a request type and a request attribute in the user request, where the request type includes a subscription type and a scanning type, and the request attribute is used to describe basic information data carried by the request type;
the response module 303, configured to, by the service system, construct target response information based on the request type and the request attribute, and synchronously send temporary response information to the medical public platform according to the basic service system, where the target response information is feedback information corresponding to a user request, and the temporary response information is used to temporarily return notification information to the medical public platform;
and a sending module 304, after the operation of constructing the target response information is completed, the service system is configured to send the target response information to the public medical platform through the message delivery tool.
Optionally, the parsing module 302 is specifically configured to:
the business system searches a message label in the user request by utilizing the basic service system, wherein the message label comprises a type label and an attribute label;
the service system acquires the message content carried by the message label through the basic service system, and determines the request type and the request attribute of the user request based on the message content;
and the service system acquires the request type and the request attribute in the user request sent by the message transfer tool.
Optionally, the response module 303 includes:
a determining unit 3031, wherein the service system is configured to determine a target template based on the request type, determine target content based on the request attribute, and construct target response information by using the target template and the target content;
the response unit 3032, when constructing the target response information by using the target template and the target content, the business system is configured to synchronously send temporary response information to the medical public platform according to the basic service system.
Optionally, the determining unit 3031 is specifically configured to:
the service system screens the preset template with the same type as the request from the types of the preset templates, and determines the preset template with the same type as the request as a target template;
the service system screens the preset processing logic with the same attribute as the request from the attributes of the preset processing logic, and determines the preset processing logic with the same attribute as the request as target content;
and the business system constructs target response information by using the target template and the target content.
Optionally, the response unit 3032 is specifically configured to:
when target response information is constructed by using the target template and the target content, a business system constructs a null character string with zero byte length through the basic service system, determines the null character string as temporary response information, and synchronously sends the temporary response information to the medical public platform;
or when the business system utilizes the target template and the target content to construct target response information, the business system constructs a response password through the basic service system, determines the response password as temporary response information, and synchronously sends the temporary response information to the medical public platform.
Optionally, the sending module 304 is specifically configured to:
after the operation of constructing the target response information is completed, the business system sends the target response information to a basic service system through the message transmission tool;
the business system acquires a response message code corresponding to the target response information through the basic service system, and determines medical platform display information corresponding to the target response information through the response message code;
and the business system sends the medical platform display information to the medical public platform by using the basic service system.
Optionally, the processing device of the medical public number message further includes:
and the display module 305 is used for displaying the target response information through the medical public platform by the service system.
In the embodiment of the invention, after receiving a user request sent by a medical public platform, a basic service system analyzes the user request to obtain a request type and a request attribute, responds to a temporary message synchronously, a service system constructs target response information by using the request type and the request attribute, and after finishing the operation of constructing the target response information, the service system sends the target response information to the medical public platform by means of the basic service system. This scheme can be applied to in the wisdom medical treatment field, has improved the work efficiency of medical public platform to promote the construction in wisdom city.
Fig. 3 and 4 describe the processing device of the public medical information in the embodiment of the present invention in detail from the perspective of the modular functional entity, and the processing device of the public medical information in the embodiment of the present invention is described in detail from the perspective of hardware processing.
Fig. 5 is a schematic structural diagram of a medical public information processing apparatus 500 according to an embodiment of the present invention, which may have a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 510 (e.g., one or more processors) and a memory 520, and one or more storage media 530 (e.g., one or more mass storage devices) for storing applications 533 or data 532. Memory 520 and storage media 530 may be, among other things, transient or persistent storage. The program stored on the storage medium 530 may include one or more modules (not shown), each of which may include a series of instruction operations in the processing device 500 for medical public information messages. Still further, the processor 510 may be configured to communicate with the storage medium 530 to execute a series of instruction operations in the storage medium 530 on the medical public information processing device 500.
The medical public number message processing device 500 may also include one or more power supplies 540, one or more wired or wireless network interfaces 550, one or more input-output interfaces 560, and/or one or more operating systems 531, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, and the like. Those skilled in the art will appreciate that the configuration of the medical community number message processing device shown in fig. 5 does not constitute a limitation of the medical community number message processing device, and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components.
The invention also provides a medical public number message processing device, which comprises a memory and a processor, wherein the memory stores computer readable instructions, and the computer readable instructions, when executed by the processor, cause the processor to execute the steps of the medical public number message processing method in the above embodiments.
The present invention also provides a computer readable storage medium, which may be a non-volatile computer readable storage medium, or a volatile computer readable storage medium, having stored therein instructions, which, when run on a computer, cause the computer to perform the steps of the method for processing a medical public number message.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A processing method of a medical public number message is characterized by comprising the following steps:
the business system receives a user request sent by a medical public platform through a basic service system;
the business system analyzes the user request based on the basic service system, acquires the user request transmitted by the basic service system through a message transmission tool, extracts the request type and the request attribute in the user request, wherein the request type comprises a subscription type and a scanning type, and the request attribute is used for describing basic information data carried by the request type;
the business system constructs target response information based on the request type and the request attribute, and synchronously sends temporary response information to the medical public platform according to the basic service system, wherein the target response information is feedback information corresponding to the user request, and the temporary response information is used for temporarily returning notification information to the medical public platform;
and after the operation of constructing the target response information is completed, the business system sends the target response information to the medical public platform through the message transmission tool.
2. The method for processing the medical public number message according to claim 1, wherein the business system parses the user request based on the basic service system, and obtains the user request transmitted by the basic service system through a message delivery tool, and extracting the request type and the request attribute in the user request comprises:
the business system searches a message label in the user request by utilizing the basic service system, wherein the message label comprises a type label and an attribute label;
the service system acquires the message content carried by the message label through the basic service system, and determines the request type and the request attribute of the user request based on the message content;
and the service system acquires the request type and the request attribute in the user request sent by the message transfer tool.
3. The method for processing the medical public number message according to claim 1, wherein the business system constructs target response information based on the request type and the request attribute, and synchronously sends temporary response information to the medical public platform according to the basic service system comprises:
the service system determines a target template based on the request type, determines target content based on the request attribute, and constructs target response information by using the target template and the target content;
and when the target response information is constructed by utilizing the target template and the target content, the business system synchronously sends temporary response information to the medical public platform according to the basic service system.
4. The method of claim 3, wherein the business system determines a target template based on the request type, determines target content based on the request attribute, and constructs target response information using the target template and the target content comprises:
the service system screens the preset template with the same type as the request from the types of the preset templates, and determines the preset template with the same type as the request as a target template;
the service system screens the preset processing logic with the same attribute as the request from the attributes of the preset processing logic, and determines the preset processing logic with the same attribute as the request as target content;
and the business system constructs target response information by using the target template and the target content.
5. The method for processing the medical public number message according to claim 3, wherein the step of the business system synchronously sending the temporary response message to the medical public platform according to the basic service system when constructing the target response message by using the target template and the target content comprises the following steps:
when target response information is constructed by using the target template and the target content, a business system constructs a null character string with zero byte length through the basic service system, determines the null character string as temporary response information, and synchronously sends the temporary response information to the medical public platform;
or when the business system utilizes the target template and the target content to construct target response information, the business system constructs a response password through the basic service system, determines the response password as temporary response information, and synchronously sends the temporary response information to the medical public platform.
6. The method for processing the medical public number message according to claim 1, wherein the step of sending the target response message to the medical public platform by the business system through the message transmission tool after completing the operation of constructing the target response message comprises the steps of:
after the operation of constructing the target response information is completed, the business system sends the target response information to a basic service system through the message transmission tool;
the business system acquires a response message code corresponding to the target response information through the basic service system, and determines medical platform display information corresponding to the target response information through the response message code;
and the business system sends the medical platform display information to the medical public platform by using the basic service system.
7. The method for processing the medical public number message according to any one of claims 1 to 6, wherein after the business system transmits the target response message to the medical public platform through the message delivery tool after the operation of constructing the target response message is completed, the method for processing the medical public number message further comprises:
and the business system displays the target response information through the medical public platform.
8. A medical public number message processing apparatus, comprising:
the service system is used for receiving a user request sent by the medical public platform through the basic service system;
the service system is used for analyzing the user request based on the basic service system, acquiring the user request transmitted by the basic service system through a message transmission tool, and extracting a request type and a request attribute in the user request, wherein the request type comprises a subscription type and a scanning type, and the request attribute is used for describing basic information data carried by the request type;
the service system is used for constructing target response information based on the request type and the request attribute and synchronously sending temporary response information to the medical public platform according to the basic service system, the target response information is feedback information corresponding to a user request, and the temporary response information is used for temporarily returning notification information to the medical public platform;
and the sending module is used for sending the target response information to the medical public platform through the message transmission tool after the operation of constructing the target response information is completed.
9. A processing apparatus of a medical public number message, characterized by comprising: a memory and at least one processor, the memory having instructions stored therein;
the at least one processor invokes the instructions in the memory to cause the processing device of the medical public number message to perform the method of processing a medical public number message of any one of claims 1-7.
10. A computer readable storage medium having stored thereon instructions which, when executed by a processor, carry out a method of processing a medical public number message according to any one of claims 1 to 7.
CN202110599521.3A 2021-05-31 2021-05-31 Method, device and equipment for processing medical public account message and storage medium Pending CN113257407A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110599521.3A CN113257407A (en) 2021-05-31 2021-05-31 Method, device and equipment for processing medical public account message and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110599521.3A CN113257407A (en) 2021-05-31 2021-05-31 Method, device and equipment for processing medical public account message and storage medium

Publications (1)

Publication Number Publication Date
CN113257407A true CN113257407A (en) 2021-08-13

Family

ID=77183727

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110599521.3A Pending CN113257407A (en) 2021-05-31 2021-05-31 Method, device and equipment for processing medical public account message and storage medium

Country Status (1)

Country Link
CN (1) CN113257407A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107341059A (en) * 2017-07-16 2017-11-10 深圳大智软件技术有限公司 A kind of wechat public number concurrent message treatment mechanism
US20170329565A1 (en) * 2015-02-05 2017-11-16 Tencent Technology (Shenzhen) Company Limited Information processing method, client, server, and computer-readable storage medium
CN108369596A (en) * 2015-12-11 2018-08-03 微软技术许可有限责任公司 Personalized natural language understanding system
WO2019178817A1 (en) * 2018-03-22 2019-09-26 华为技术有限公司 Product sales volume extraction and reporting method, payment method, and terminal apparatus
CN111128333A (en) * 2019-11-05 2020-05-08 朱蜀秦 One-stop intelligent diagnosis and intelligent medical management system
CN111342982A (en) * 2020-02-28 2020-06-26 海信集团有限公司 Method and system for transmitting integrated multiple messages
CN112035636A (en) * 2020-08-28 2020-12-04 康键信息技术(深圳)有限公司 Question-answer management method, device, equipment and storage medium of medical inquiry system
CN112133414A (en) * 2020-09-08 2020-12-25 深圳中兴网信科技有限公司 Medical service system
CN112307311A (en) * 2019-07-30 2021-02-02 腾讯科技(深圳)有限公司 Information searching method, device, equipment and storage medium
CN112562871A (en) * 2020-12-22 2021-03-26 联仁健康医疗大数据科技股份有限公司 Online inquiry method, online inquiry device, electronic equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170329565A1 (en) * 2015-02-05 2017-11-16 Tencent Technology (Shenzhen) Company Limited Information processing method, client, server, and computer-readable storage medium
CN108369596A (en) * 2015-12-11 2018-08-03 微软技术许可有限责任公司 Personalized natural language understanding system
CN107341059A (en) * 2017-07-16 2017-11-10 深圳大智软件技术有限公司 A kind of wechat public number concurrent message treatment mechanism
WO2019178817A1 (en) * 2018-03-22 2019-09-26 华为技术有限公司 Product sales volume extraction and reporting method, payment method, and terminal apparatus
CN112307311A (en) * 2019-07-30 2021-02-02 腾讯科技(深圳)有限公司 Information searching method, device, equipment and storage medium
CN111128333A (en) * 2019-11-05 2020-05-08 朱蜀秦 One-stop intelligent diagnosis and intelligent medical management system
CN111342982A (en) * 2020-02-28 2020-06-26 海信集团有限公司 Method and system for transmitting integrated multiple messages
CN112035636A (en) * 2020-08-28 2020-12-04 康键信息技术(深圳)有限公司 Question-answer management method, device, equipment and storage medium of medical inquiry system
CN112133414A (en) * 2020-09-08 2020-12-25 深圳中兴网信科技有限公司 Medical service system
CN112562871A (en) * 2020-12-22 2021-03-26 联仁健康医疗大数据科技股份有限公司 Online inquiry method, online inquiry device, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
段任: "基于互联网开放平台的微信公众号构建", 《中国管理信息化》, vol. 20, no. 5, 1 March 2017 (2017-03-01), pages 160 - 162 *

Similar Documents

Publication Publication Date Title
US9348929B2 (en) Mobile mapping of quick response (QR) codes to web resources
CN101681343B (en) Systems and methods for providing desktop or application remoting to a web browser
JP4781897B2 (en) Sensor event control device
DK2443552T3 (en) Providing a custom application for a user terminal
CN101971560B (en) Method and apparatus for processing a multi-step authentication sequence
CN111988171B (en) Method, proxy server and system for calling SOAP Web service based on RESTful style request
CA2539474A1 (en) System and method for dynamic generation and customization of web service client applications for terminals
AU3748300A (en) Providing clients with services that retrieve data from data sources that do not necessarily support the format required by the clients
CN107391277B (en) Information processing method and device
US8583451B2 (en) Context information processing system used for accessing medical data
US20180088984A1 (en) Methods and devices of batch process of content management
CN113419729B (en) Front-end page building method, device, equipment and storage medium based on componentization
KR100818296B1 (en) System and method for managing postal devices using rfid
CN113434311B (en) Service data interaction method, device, equipment and storage medium
EP2652635B1 (en) Providing a customized application to a user terminal
CN101902458B (en) Interprocess communication method across host machine, device thereof and system thereof
CN113257407A (en) Method, device and equipment for processing medical public account message and storage medium
US8402053B2 (en) Registering and discovering unique identifiers
CN114301970B (en) Service calling method, device, electronic equipment and storage medium
JP4643432B2 (en) Coupon printing method, coupon issuing system and server
CN107666499B (en) Information storage method and device for server
CN113992641A (en) Data processing method, device, equipment and storage medium
CN113296785A (en) Document generation method, system, device and readable storage medium
CN108984318B (en) Message delivery method and device based on driving model and readable storage medium
KR102317120B1 (en) Machining system for artificial intelligence processing on service platform

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