[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN106485088B - The method and system saved are recorded to online interrogation - Google Patents

The method and system saved are recorded to online interrogation Download PDF

Info

Publication number
CN106485088B
CN106485088B CN201610915591.4A CN201610915591A CN106485088B CN 106485088 B CN106485088 B CN 106485088B CN 201610915591 A CN201610915591 A CN 201610915591A CN 106485088 B CN106485088 B CN 106485088B
Authority
CN
China
Prior art keywords
online
record data
inquiry
online inquiry
inquiry record
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.)
Expired - Fee Related
Application number
CN201610915591.4A
Other languages
Chinese (zh)
Other versions
CN106485088A (en
Inventor
辛植
李钊
张纶
郭晨阳
宋晓天
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Lanhai Online Health Management Co Ltd
Original Assignee
Shanghai Lanhai Online Health Management 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 Shanghai Lanhai Online Health Management Co Ltd filed Critical Shanghai Lanhai Online Health Management Co Ltd
Priority to CN201610915591.4A priority Critical patent/CN106485088B/en
Publication of CN106485088A publication Critical patent/CN106485088A/en
Application granted granted Critical
Publication of CN106485088B publication Critical patent/CN106485088B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/332Query formulation
    • G06F16/3329Natural language query formulation or dialogue systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Mathematical Physics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Human Computer Interaction (AREA)
  • Artificial Intelligence (AREA)
  • Computing Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention, which is disclosed, records the method saved to online interrogation, comprising: records the interrogation side and the content of inquisition by interrogation side, generates online interrogation record data and save to server;The first storage is received to identify and save;Unloading request Concurrency is generated according to the first storage mark to send to scheduling queue;The scheduling queue is requested according to selected unloading, and the corresponding online interrogation of the unloading request for obtaining the selection from the server records data, and is saved in data storage;The second storage mark for searching the online interrogation record data on the data storage is received, the record data are obtained from the data storage according to the second storage mark and are fed back.The present invention alleviates the pressure of online medical platform server significantly, improves the treatment effeciency of server.

Description

Method and system for storing online inquiry records
Technical Field
The invention relates to the technical field of online medical treatment, in particular to a method and a system for storing online inquiry records.
Background
With the rapid development of internet technology, the current internet combined with mobile network technology can realize the interactive communication between people in different areas at any time and any place. In the online medical field based on the internet, a user can interact with a doctor online to perform medical consultation, the mode that the user and the doctor need to communicate face to treat in the traditional medical field is broken, the cross-region medical resource sharing is realized, the region limitation of the medical resource is removed, the reasonable distribution of the medical resource is realized, and the problems of difficulty in treating and arranging numbers, long way and the like in hospitals at present are solved. The development of the internet provides convenience for remote interaction, and many of the traditional industries needing on-the-spot communication can be realized through interaction on the internet. As in the medical industry, internet technology now allows users to interact with doctors via the internet in an online manner, including: text interaction, audio interaction, video interaction, and the like.
However, the problem of the user can not be completely solved by each online inquiry interaction, nor can the inquiry doctor solve the problem of the user each time, and sometimes the problem of the user can be comprehensively solved by the discussion among offline doctor teams; sometimes the user's problem is temporarily resolved, but the user needs to consult the previous inquiry situation when he subsequently has a further medical problem. It is necessary to store the interaction records between the doctor and the user during the online inquiry interaction process, so as to analyze the real requirements of the user from the interaction records or provide references for subsequent medical interactions.
However, the record in the online inquiry interaction process is not only text content, but also includes: the audio and video contents occupy larger storage space, and in addition, online inquiry interactive records of a large number of users are generated every moment, and the pressure of the server is greatly increased by storing the online inquiry interactive records on the server; when a user or a doctor queries the online inquiry interaction record, the server concurrency problem can be caused when data is obtained from the server; there may also be problems with the online generation, saving of online interrogation interaction records being unsuccessful or lost.
Therefore, it is an urgent problem in the art to provide a safe, fast and processing-stress-reduced scheme for storing online inquiry records.
Disclosure of Invention
In view of the above, the present invention provides a method and a system for storing online inquiry records, which solve the problems that when the pressure of a server is increased in the process of storing the online inquiry records and the online inquiry interaction records are queried, the server concurrency is generated when data is acquired from the server, and the online inquiry interaction records are unsuccessful or lost.
In order to solve the technical problem, the invention provides a method for storing an online inquiry record, which comprises the following steps:
on the online inquiry platform, an inquiry link between an inquiry party and an inquired party is connected, inquiry contents of the inquiry party and the inquired party are recorded, and online inquiry record data are generated and stored in a server;
receiving and storing a first storage identifier used for searching the online inquiry record data on the server;
when the inquiry link is hung up, generating a dump request according to the first storage identifier and sending the dump request to a scheduling queue;
the scheduling queue sorts the unloading requests according to a preset scheduling strategy sequence to obtain unloading scheduling sorting, selects a preset number of unloading requests according to the unloading scheduling sorting sequence, acquires online inquiry record data corresponding to the selected unloading requests from the server according to the selected unloading requests, and stores the online inquiry record data in a data storage; continuing to select the remaining unloading requests in the scheduling queue for unloading according to the preset number and the unloading scheduling sorting sequence until all the unloading requests in the scheduling queue are finished;
receiving and storing a second storage identifier used for searching the online inquiry record data on the data storage;
when a viewing request for viewing the on-line inquiry record data is received, the on-line inquiry record data is obtained from the data storage according to the second storage identification and fed back;
and when receiving an online inquiry record feedback switching request and a request for viewing the online inquiry record, acquiring the online inquiry record data from the server according to the first storage identifier and feeding back the online inquiry record data.
Further, when a viewing request for viewing the online inquiry record data is received, the online inquiry record data is obtained from the data storage according to the second storage identifier and fed back, and the method further comprises the following steps:
receiving a viewing request for viewing the online inquiry record, and when the second storage identification does not exist, acquiring the online inquiry record data from the server according to the first storage identification and feeding back the online inquiry record data;
and when a viewing request for viewing the online inquiry record is received and the second storage identification exists, acquiring the online inquiry record data from the data storage according to the second storage identification and feeding back the online inquiry record data.
Further, wherein the predetermined scheduling policy further comprises: sorting according to the sequence of receiving the unloading requests;
the predetermined number is further a number greater than or equal to 1.
Further, wherein the method further comprises:
when a history storage identifier of history inquiry record data of the inquiring party and the inquired party exists, updating the first storage identifier and the second storage identifier into the history storage identifier;
and when a viewing request for viewing the on-line inquiry record data is received, acquiring and displaying the historical storage identification.
Further, wherein the online inquiry recording data further comprises: and (5) inquiring the recorded audio and video data on line.
In another aspect, the present invention further provides a system for storing an online inquiry record, including: the online inquiry system comprises an online inquiry record data generating module, a first storage identifier receiving module, a dump request generating module, a scheduling queue, a second storage identifier receiving module and an online inquiry record data viewing module; wherein,
the on-line inquiry record data generation module is used for connecting an inquiry link between an inquiry party and an inquired party on an on-line inquiry platform, recording inquiry contents of the inquiry party and the inquired party, and generating on-line inquiry record data to be stored in a server;
the first storage identifier receiving module is used for receiving and storing a first storage identifier used for searching the online inquiry record data on the server;
the unloading request generating module is used for generating an unloading request according to the first storage identifier and sending the unloading request to a scheduling queue when the inquiry link is hung up;
the scheduling queue is used for sequencing the unloading requests according to a preset scheduling strategy sequence to obtain an unloading scheduling sequence, selecting a preset number of unloading requests according to the unloading scheduling sequence, acquiring online inquiry record data corresponding to the selected unloading requests from the server according to the selected unloading requests, and storing the online inquiry record data in a data storage; continuing to select the remaining unloading requests in the scheduling queue for unloading according to the preset number and the unloading scheduling sorting sequence until all the unloading requests in the scheduling queue are finished;
the second storage identifier receiving module is used for receiving and storing a second storage identifier used for searching the online inquiry record data on the data storage;
the online inquiry record data viewing module is used for acquiring the online inquiry record data from the data storage according to the second storage identifier and feeding back the online inquiry record data when receiving a viewing request for viewing the online inquiry record data;
and when receiving an online inquiry record feedback switching request and a request for viewing the online inquiry record, acquiring the online inquiry record data from the server according to the first storage identifier and feeding back the online inquiry record data.
Further, wherein the online inquiry record data viewing module is further configured to:
receiving a viewing request for viewing the online inquiry record, and when the second storage identification does not exist, acquiring the online inquiry record data from the server according to the first storage identification and feeding back the online inquiry record data;
and when a viewing request for viewing the online inquiry record is received and the second storage identification exists, acquiring the online inquiry record data from the data storage according to the second storage identification and feeding back the online inquiry record data.
Further, wherein the predetermined scheduling policy further comprises: sorting according to the sequence of receiving the unloading requests;
the predetermined number is further a number greater than or equal to 1.
Further, wherein the system further comprises: a storage identity update module to:
when a history storage identifier of history inquiry record data of the inquiring party and the inquired party exists, updating the first storage identifier and the second storage identifier into the history storage identifier;
and when a viewing request for viewing the on-line inquiry record data is received, acquiring and displaying the historical storage identification.
Further, wherein the online inquiry recording data further comprises: and (5) inquiring the recorded audio and video data on line.
Compared with the prior art, the method and the system for storing the on-line inquiry records have the advantages that:
(1) according to the method and the system for storing the online inquiry records, the online inquiry records are monitored and generated and are temporarily stored on the server, and then the online inquiry records are uploaded to the data memory to be stored on the basis of queue scheduling, so that the pressure of the server is greatly relieved, and the processing efficiency of the server is improved.
(2) According to the method and the system for storing the online inquiry records, the online inquiry records are uploaded to the data storage to be stored, only the storage identification of the online inquiry records is stored in the server, and when a user or a doctor views the online inquiry records, data are obtained from the data storage, so that the possible concurrence problem caused by viewing a large number of the online inquiry records on the server is avoided.
(3) The method and the system for storing the online inquiry records monitor the online inquiry interaction process and generate the online inquiry records, temporarily store the online inquiry records to a server for caching when the online inquiry interaction is completed, and transfer the online inquiry records to a data memory after a specific time, thereby ensuring the safety of storing the online inquiry records on the basis of not influencing the viewing of the online inquiry records.
Of course, it is not necessary for any product in which the present invention is practiced to achieve all of the above-described technical effects simultaneously.
Other features of the present invention and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a schematic flow chart of a method for saving an online inquiry record according to embodiment 1 of the present invention;
fig. 2 is a schematic flow chart of a method for saving an online inquiry record according to embodiment 2 of the present invention;
fig. 3 is a schematic structural diagram of a system for saving an online inquiry record according to embodiment 3 of the present invention;
fig. 4 is a schematic flow chart of creating an online inquiry link and generating online inquiry record data according to embodiment 2 of the present invention;
fig. 5 is a schematic flow chart illustrating the process of storing the online inquiry record data in the data storage of the third party according to embodiment 2 of the present invention.
Detailed Description
Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
Example 1
Fig. 1 is a schematic flow chart of the method for saving an online inquiry record in this embodiment. In the embodiment, the pressure of generating, storing and extracting the online inquiry record data by the local server is solved by backing up the online inquiry record data of the online inquiry platform in the server and storing and extracting the online inquiry record data in the third-party data storage. The method for storing the online inquiry record in the embodiment comprises the following steps:
step 101, an on-line inquiry party initiates an on-line inquiry call to an inquired party through an on-line inquiry platform.
The on-line inquiry platform is a platform for establishing on-line inquiry links between an inquiry party (patient) and an inquired party (doctor) and managing on-line inquiry data, and based on the platform, the inquiry party can communicate with the inquired party by characters and audios and videos.
And 102, the online inquiry platform creates an online inquiry link according to the call of the inquiry party to the inquired party, when the inquired party answers the online inquiry call, the inquiry link between the inquiry party and the inquired party is connected, the inquiry contents of the inquiry party and the inquired party are recorded, and online inquiry record data is generated and stored in a server.
The on-line inquiry platform establishes an on-line inquiry link of the inquiry party to the inquired party, monitors the on-line inquiry link to generate on-line inquiry record data, records inquiry content on the basis of not influencing the communication between the inquiry party and the inquired party, and facilitates subsequent viewing.
Step 103, the server receives and stores the online inquiry record data, generates a first storage identifier including a storage position of the online inquiry record data on the server, and feeds the first storage identifier back to the online inquiry platform.
And backing up and storing the monitored online inquiry record data on a server of the online inquiry platform so as to be used when the online inquiry record data stored on the third-party data storage is damaged or is not stored successfully. The first storage identification at least comprises an identification of online inquiry record data and a storage position on the server, so that subsequent searching is facilitated.
And 104, receiving and storing a first storage identifier used for searching the online inquiry record data on the server by the online inquiry platform.
And storing the first storage identifier on the online inquiry platform, and calling the online inquiry record data from the server by using the first storage identifier when needed, so that the load is reduced compared with the load of directly storing the online inquiry record data.
And 105, when the inquiry link is hung up, generating a transfer request according to the first storage identifier and sending the transfer request to a scheduling queue.
When one of the inquiring party and the inquired party hangs up, judging that the inquiring link hangs up, finishing the on-line inquiring at the moment, and simultaneously, the on-line inquiring record data stored on the server is the complete record data of the on-line inquiring. The online inquiry platform can acquire the identification of the online inquiry record data and the storage position on the server according to the first storage identification, and accordingly generates a transfer request for transferring the online inquiry data to a data storage of a third party.
Step 106, the scheduling queue sorts the unloading requests according to a predetermined scheduling strategy sequence to obtain unloading scheduling sorting, selects a predetermined number of unloading requests according to the unloading scheduling sorting sequence, and acquires online inquiry record data corresponding to the selected unloading requests from the server according to the selected unloading requests and stores the online inquiry record data in a data storage; and continuing to select the remaining unloading requests in the scheduling queue for unloading according to the preset quantity and the unloading scheduling sorting sequence until all the unloading requests in the scheduling queue are finished.
The online inquiry platform generates a large amount of inquiry record data every moment, and if the huge data is transferred to a data memory of a third party, the transfer pressure of the online inquiry platform can be caused, so that the transfer of the online inquiry record data is reasonably distributed through a scheduling queue of the online inquiry platform, and the transfer pressure on the online inquiry platform can be avoided under the condition of ensuring the normal service of the online inquiry platform.
And 107, the data storage receives and stores the online inquiry record data, generates a second storage identifier comprising a storage position of the online inquiry record data on the data storage, and feeds the second storage identifier back to the online inquiry platform.
The data storage is a storage of a third party of the online inquiry platform, a Content Delivery Network (CDN) is formed with the online inquiry platform, only a second storage identifier of the storage position of the online inquiry record data on the data storage is stored on the online inquiry platform for being used for calling data during inquiry, and the online inquiry record data is stored on a node of the CDN, so that the transmission speed and the stability of storing and calling the online inquiry record data are improved.
And step 108, receiving and storing a second storage identifier used for searching the online inquiry record data on the data storage.
And step 109, when receiving a viewing request for viewing the on-line inquiry record data, acquiring the on-line inquiry record data from the data storage according to the second storage identifier and feeding back the on-line inquiry record data.
Preferably, when the online inquiry platform receives the online inquiry record data, the node data storage for storing the online inquiry record data is found according to the second storage identifier, and the node data storage is connected to the inquiring party, so that the inquiring party can directly obtain the online inquiry record data from the node data storage, and the data transmission efficiency is further improved.
And step 110, when receiving a request for switching the on-line inquiry record feedback and viewing the on-line inquiry record, acquiring the on-line inquiry record data from the server according to the first storage identifier and feeding back the on-line inquiry record data.
When the online inquiry record data acquired according to the second storage identifier is damaged or abnormal, the acquisition mode of the online inquiry record data is switched, the source data of the online inquiry record data is directly acquired from the server for storing the online inquiry record data, and the safety and the integrity of the online inquiry record data are guaranteed.
In the method for storing the online inquiry records in this embodiment, the online inquiry records are generated by monitoring the online inquiry and temporarily stored in the server, and then the online inquiry records are uploaded to the data storage device for storage based on queue scheduling, so that the pressure of the server is greatly relieved, and the processing efficiency of the server is improved.
Example 2
Fig. 2 is a schematic flow chart of the method for saving an online inquiry record in this embodiment. In the method for storing the online inquiry record in this embodiment, specific contents for viewing the stored online inquiry record data are described on the basis of embodiment 1. The method for storing the online inquiry record in this embodiment includes the following steps:
step 201, on the online inquiry platform, the inquiry link between the inquiry party and the inquired party is connected, the inquiry contents of the inquiry party and the inquired party are recorded, and the generated online inquiry record data is stored to the server.
Step 202, receiving and storing a first storage identifier used for searching the online inquiry record data on the server.
And 203, when the inquiry link is hung up, generating a transfer request according to the first storage identifier and sending the transfer request to a scheduling queue.
Preferably, the scheduling queue is a First-In First-Out scheduling queue (First In First Out, abbreviated as FIFO). The first-in first-out refers to a scheme that according to the principle that the first-in storage is sent out first, the unloading request entering the scheduling queue is scheduled according to the priority of the storage in the storage, and the unloading request is scheduled according to the priority scheduling order.
Step 204, the scheduling queue sorts the unloading requests according to a predetermined scheduling policy sequence to obtain an unloading scheduling sort, selects a predetermined number of unloading requests according to the unloading scheduling sort sequence, and obtains online inquiry record data corresponding to the selected unloading requests from the server according to the selected unloading requests, and stores the online inquiry record data in a data storage; and continuing to select the remaining unloading requests in the scheduling queue for unloading according to the preset quantity and the unloading scheduling sorting sequence until all the unloading requests in the scheduling queue are finished.
Preferably, the predetermined scheduling policy further includes: sorting according to the sequence of receiving the unloading requests; the predetermined number is further a number greater than or equal to 1.
And step 205, receiving and storing a second storage identifier used for searching the online inquiry record data on the data storage.
And step 206, receiving a viewing request for viewing the online inquiry record, and when the second storage identifier does not exist, acquiring the online inquiry record data from the server according to the first storage identifier and feeding back the online inquiry record data.
And step 207, receiving a viewing request for viewing the online inquiry record, and when the second storage identifier exists, acquiring the online inquiry record data from the data storage according to the second storage identifier and feeding back the online inquiry record data.
And step 208, when receiving a request for switching the on-line inquiry record feedback and viewing the on-line inquiry record, acquiring the on-line inquiry record data from the server according to the first storage identifier and feeding back the on-line inquiry record data.
Step 209, when a history storage identifier of history inquiry record data of the inquiring party and the inquired party exists, updating the first storage identifier and the second storage identifier into the history storage identifier; and when a viewing request for viewing the on-line inquiry record data is received, acquiring and displaying the historical storage identification.
Preferably, the online inquiry recording data described in this embodiment is online inquiry audio-video recording data.
As shown in fig. 4, a schematic flow chart of the method for storing online inquiry records according to this embodiment, in which an online inquiry link is established to generate online inquiry record data, includes the following steps:
step 401, an online inquiry call is started through the online inquiry platform.
And step 402, judging whether an online inquiry link is connected or not on the online inquiry platform.
And 403, starting to monitor the content of the online inquiry while connecting the online inquiry link, and generating online inquiry record data.
And step 404, storing the generated online inquiry record data to a server.
Step 405, hang up the on-line inquiry link when one party hangs up in the on-line inquiry.
And step 406, ending the monitoring when the online inquiry link is hung up and generating a dump request of online inquiry record data.
Step 407, ending the online inquiry call when the online inquiry link is not connected and hung up.
As shown in fig. 5, a schematic flow chart of the method for saving an online inquiry record according to this embodiment of the present invention for storing online inquiry record data in a data storage of a third party includes the following steps:
and step 501, connecting an online inquiry link based on the online inquiry platform.
Step 502, monitoring and storing the on-line inquiry data to a server.
Step 503, when the online inquiry link based on the online inquiry platform is hung up, ending the monitoring and receiving the first storage identifier sent by the server.
And step 504, storing the first storage identification into a database of the online inquiry platform.
And 505, after the monitoring is finished, generating a dump request of the online inquiry record data and sending the dump request to a scheduling queue of the online inquiry platform.
And step 506, obtaining the online inquiry record data according to the scheduling strategy in the scheduling queue and transferring the online inquiry record data to a data memory.
And 507, receiving a second storage identifier sent by the data storage, and storing the second storage identifier into a database of the online inquiry platform.
And step 508, when the online inquiry record data is viewed, acquiring a first storage identifier or a second storage identifier from a database of the online inquiry platform, and acquiring the online inquiry record data according to the first storage identifier or the second storage identifier for displaying.
According to the method for storing the online inquiry records, when the user or the doctor views the online inquiry records, the data are acquired from the data storage, and the possible concurrence problem caused by viewing a large number of online inquiry records on the server is avoided.
Example 3
Fig. 3 is a schematic structural diagram of the system for saving an online inquiry record in this embodiment. The system for saving the online inquiry records in this embodiment is used for implementing the method for saving the online inquiry records in the above embodiment. The system for storing the online inquiry record in this embodiment includes: the online inquiry system comprises an online inquiry record data generating module 301, a first storage identifier receiving module 302, a dump request generating module 303, a scheduling queue 304, a second storage identifier receiving module 305 and an online inquiry record data viewing module 306.
The online inquiry record data generating module 301 is coupled to the first storage identifier receiving module 302, and configured to connect an inquiry link between an inquiring party and an inquired party on an online inquiry platform, record inquiry contents of the inquiring party and the inquired party, generate online inquiry record data, and store the online inquiry record data in a server;
the first storage identifier receiving module 302 is coupled to the online inquiry record data generating module 301 and the unloading request generating module 303, and is configured to receive and store a first storage identifier used for searching the online inquiry record data on the server;
the unloading request generating module 303 is coupled to the scheduling queue 304 and the first storage identifier receiving module 302, and is configured to generate an unloading request according to the first storage identifier and send the unloading request to the scheduling queue when the inquiry link is disconnected;
the scheduling queue 304 is coupled to the unloading request generating module 303 and the second storage identifier receiving module 305, and is configured to sort the unloading requests according to a predetermined scheduling policy sequence to obtain an unloading scheduling sequence, select a predetermined number of unloading requests according to the unloading scheduling sequence, obtain online inquiry record data corresponding to the selected unloading request from the server according to the selected unloading request, and store the online inquiry record data in the data storage; continuing to select the remaining unloading requests in the scheduling queue for unloading according to the preset number and the unloading scheduling sorting sequence until all the unloading requests in the scheduling queue are finished;
the second storage identifier receiving module 305 is coupled to the scheduling queue 304 and the online inquiry record data viewing module 306, and is configured to receive and store a second storage identifier used for searching the online inquiry record data on the data storage;
the online inquiry record data viewing module 306 is coupled to the second storage identifier receiving module 305, and is configured to, when receiving a viewing request for viewing the online inquiry record data, obtain the online inquiry record data from the data storage according to the second storage identifier and feed back the online inquiry record data;
and when receiving an online inquiry record feedback switching request and a request for viewing the online inquiry record, acquiring the online inquiry record data from the server according to the first storage identifier and feeding back the online inquiry record data.
The online inquiry log data viewing module 306 is further configured to:
receiving a viewing request for viewing the online inquiry record, and when the second storage identification does not exist, acquiring the online inquiry record data from the server according to the first storage identification and feeding back the online inquiry record data;
and when a viewing request for viewing the online inquiry record is received and the second storage identification exists, acquiring the online inquiry record data from the data storage according to the second storage identification and feeding back the online inquiry record data.
The predetermined scheduling policy further includes: sorting according to the sequence of receiving the unloading requests; the predetermined number is further a number greater than or equal to 1.
The above system further comprises: a storage identity updating module 307, coupled to the second storage identity receiving module 305, configured to:
when a history storage identifier of history inquiry record data of the inquiring party and the inquired party exists, updating the first storage identifier and the second storage identifier into the history storage identifier;
and when a viewing request for viewing the on-line inquiry record data is received, acquiring and displaying the historical storage identification.
In the above system, the on-line inquiry recording data further includes: and (5) inquiring the recorded audio and video data on line.
According to the embodiments, the method and the system for storing the on-line inquiry records have the following beneficial effects:
(1) according to the method and the system for storing the online inquiry records, the online inquiry records are monitored and generated and are temporarily stored on the server, and then the online inquiry records are uploaded to the data memory to be stored on the basis of queue scheduling, so that the pressure of the server is greatly relieved, and the processing efficiency of the server is improved.
(2) According to the method and the system for storing the online inquiry records, the online inquiry records are uploaded to the data storage to be stored, only the storage identification of the online inquiry records is stored in the server, and when a user or a doctor views the online inquiry records, data are obtained from the data storage, so that the possible concurrence problem caused by viewing a large number of the online inquiry records on the server is avoided.
(3) The method and the system for storing the online inquiry records monitor the online inquiry interaction process and generate the online inquiry records, temporarily store the online inquiry records to a server for caching when the online inquiry interaction is completed, and transfer the online inquiry records to a data memory after a specific time, thereby ensuring the safety of storing the online inquiry records on the basis of not influencing the viewing of the online inquiry records.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Although some specific embodiments of the present invention have been described in detail by way of examples, it should be understood by those skilled in the art that the above examples are for illustrative purposes only and are not intended to limit the scope of the present invention. It will be appreciated by those skilled in the art that modifications may be made to the above embodiments without departing from the scope and spirit of the invention. The scope of the invention is defined by the appended claims.

Claims (8)

1. A method for storing an online inquiry record, comprising:
on the online inquiry platform, an inquiry link between an inquiry party and an inquired party is connected, inquiry contents of the inquiry party and the inquired party are recorded, and online inquiry record data are generated and stored in a server; monitoring the on-line inquiry link, and backing up and storing the monitored on-line inquiry record data on a server of the on-line inquiry platform;
receiving and storing a first storage identifier used for searching the online inquiry record data on the server;
when the inquiry link is hung up, generating a dump request according to the first storage identifier and sending the dump request to a scheduling queue;
the scheduling queue sorts the unloading requests according to a preset scheduling strategy sequence to obtain unloading scheduling sorting, selects a preset number of unloading requests according to the unloading scheduling sorting sequence, acquires online inquiry record data corresponding to the selected unloading requests from the server according to the selected unloading requests, and stores the online inquiry record data in a data storage; the data memory is a memory of a third party of the online inquiry platform, and forms a content distribution network with the online inquiry platform; continuing to select the remaining unloading requests in the scheduling queue for unloading according to the preset number and the unloading scheduling sorting sequence until all the unloading requests in the scheduling queue are finished;
receiving and storing a second storage identifier used for searching the online inquiry record data on the data storage;
receiving a viewing request for viewing the online inquiry record, and when the second storage identifier does not exist, acquiring the online inquiry record data from the server according to the first storage identifier and feeding back the online inquiry record data;
or when a viewing request for viewing the online inquiry record is received and the second storage identifier exists, acquiring the online inquiry record data from the data storage according to the second storage identifier and feeding back the online inquiry record data;
and when receiving an online inquiry record feedback switching request and a request for viewing the online inquiry record, acquiring the online inquiry record data from the server according to the first storage identifier and feeding back the online inquiry record data.
2. The method of claim 1, wherein the predetermined scheduling policy further comprises: sorting according to the sequence of receiving the unloading requests;
the predetermined number is further a number greater than or equal to 1.
3. The method of saving an online interrogation record of claim 1, further comprising:
when a history storage identifier of history inquiry record data of the inquiring party and the inquired party exists, updating the first storage identifier and the second storage identifier into the history storage identifier;
and when a viewing request for viewing the on-line inquiry record data is received, acquiring and displaying the historical storage identification.
4. The method for saving an on-line inquiry record according to claim 1, wherein the on-line inquiry record data further comprises: and (5) inquiring the recorded audio and video data on line.
5. A system for storing an online interrogation record, comprising: the online inquiry system comprises an online inquiry record data generating module, a first storage identifier receiving module, a dump request generating module, a scheduling queue, a second storage identifier receiving module and an online inquiry record data viewing module; wherein,
the on-line inquiry record data generation module is used for connecting an inquiry link between an inquiry party and an inquired party on an on-line inquiry platform, recording inquiry contents of the inquiry party and the inquired party, and generating on-line inquiry record data to be stored in a server;
the first storage identifier receiving module is used for receiving and storing a first storage identifier used for searching the online inquiry record data on the server;
the unloading request generating module is used for generating an unloading request according to the first storage identifier and sending the unloading request to a scheduling queue when the inquiry link is hung up;
the scheduling queue is used for sequencing the unloading requests according to a preset scheduling strategy sequence to obtain an unloading scheduling sequence, selecting a preset number of unloading requests according to the unloading scheduling sequence, acquiring online inquiry record data corresponding to the selected unloading requests from the server according to the selected unloading requests, and storing the online inquiry record data in a data storage; the data memory is a memory of a third party of the online inquiry platform, and forms a content distribution network with the online inquiry platform; continuing to select the remaining unloading requests in the scheduling queue for unloading according to the preset number and the unloading scheduling sorting sequence until all the unloading requests in the scheduling queue are finished;
the second storage identifier receiving module is used for receiving and storing a second storage identifier used for searching the online inquiry record data on the data storage;
the online inquiry record data viewing module is used for receiving a viewing request for viewing the online inquiry record, and acquiring the online inquiry record data from the server according to the first storage identifier and feeding back the online inquiry record data when the second storage identifier does not exist; or the online inquiry record data acquisition module is used for acquiring the online inquiry record data from the data storage according to the second storage identifier and feeding back the online inquiry record data when receiving a viewing request for viewing the online inquiry record and the second storage identifier exists;
and when receiving an online inquiry record feedback switching request and a request for viewing the online inquiry record, acquiring the online inquiry record data from the server according to the first storage identifier and feeding back the online inquiry record data.
6. The system for storing records of online interrogation according to claim 5, wherein the predetermined scheduling policy is further: sorting according to the sequence of receiving the unloading requests;
the predetermined number is further a number greater than or equal to 1.
7. The system for saving an online interrogation record according to claim 5, characterized by further comprising: a storage identity update module to:
when a history storage identifier of history inquiry record data of the inquiring party and the inquired party exists, updating the first storage identifier and the second storage identifier into the history storage identifier;
and when a viewing request for viewing the on-line inquiry record data is received, acquiring and displaying the historical storage identification.
8. The system for storing an on-line inquiry record according to claim 5, wherein the on-line inquiry record data further comprises: and (5) inquiring the recorded audio and video data on line.
CN201610915591.4A 2016-10-20 2016-10-20 The method and system saved are recorded to online interrogation Expired - Fee Related CN106485088B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610915591.4A CN106485088B (en) 2016-10-20 2016-10-20 The method and system saved are recorded to online interrogation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610915591.4A CN106485088B (en) 2016-10-20 2016-10-20 The method and system saved are recorded to online interrogation

Publications (2)

Publication Number Publication Date
CN106485088A CN106485088A (en) 2017-03-08
CN106485088B true CN106485088B (en) 2019-02-12

Family

ID=58271076

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610915591.4A Expired - Fee Related CN106485088B (en) 2016-10-20 2016-10-20 The method and system saved are recorded to online interrogation

Country Status (1)

Country Link
CN (1) CN106485088B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110825693A (en) * 2019-10-25 2020-02-21 武汉联影医疗科技有限公司 Medical data storage method, device and readable storage medium
CN114496312A (en) * 2022-02-15 2022-05-13 康键信息技术(深圳)有限公司 Data processing method and device based on online inquiry and computer equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075984A (en) * 2010-12-31 2011-05-25 北京邮电大学 System and method for optimizing video service transmission of wireless local area network
CN102377792A (en) * 2010-08-07 2012-03-14 浙江工业大学 Home network monitoring system based on WEB
CN103258138A (en) * 2013-05-28 2013-08-21 美合实业(苏州)有限公司 Central inquiring system
CN103312776A (en) * 2013-05-08 2013-09-18 青岛海信传媒网络技术有限公司 Method and device for caching contents of videos by edge node server
CN103747274A (en) * 2013-12-18 2014-04-23 北京邮电大学 Video data center with additionally-arranged cache cluster and cached resource scheduling method thereof
CN103902836A (en) * 2014-04-14 2014-07-02 康博嘉信息科技(北京)有限公司 Method, device and system for medical information interaction based on cloud service platform
CN104750858A (en) * 2015-04-16 2015-07-01 成都影泰科技有限公司 Network-based data storage method
CN104765951A (en) * 2014-04-08 2015-07-08 惠州Tcl移动通信有限公司 Multimedia medical recording assembly and data access method
CN105491377A (en) * 2015-12-15 2016-04-13 华中科技大学 Video decoding macro-block-grade parallel scheduling method for perceiving calculation complexity
CN106354998A (en) * 2016-08-26 2017-01-25 成都汉康信息产业有限公司 Online medical system supporting remote diagnosis

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102377792A (en) * 2010-08-07 2012-03-14 浙江工业大学 Home network monitoring system based on WEB
CN102075984A (en) * 2010-12-31 2011-05-25 北京邮电大学 System and method for optimizing video service transmission of wireless local area network
CN103312776A (en) * 2013-05-08 2013-09-18 青岛海信传媒网络技术有限公司 Method and device for caching contents of videos by edge node server
CN103258138A (en) * 2013-05-28 2013-08-21 美合实业(苏州)有限公司 Central inquiring system
CN103747274A (en) * 2013-12-18 2014-04-23 北京邮电大学 Video data center with additionally-arranged cache cluster and cached resource scheduling method thereof
CN104765951A (en) * 2014-04-08 2015-07-08 惠州Tcl移动通信有限公司 Multimedia medical recording assembly and data access method
CN103902836A (en) * 2014-04-14 2014-07-02 康博嘉信息科技(北京)有限公司 Method, device and system for medical information interaction based on cloud service platform
CN104750858A (en) * 2015-04-16 2015-07-01 成都影泰科技有限公司 Network-based data storage method
CN105491377A (en) * 2015-12-15 2016-04-13 华中科技大学 Video decoding macro-block-grade parallel scheduling method for perceiving calculation complexity
CN106354998A (en) * 2016-08-26 2017-01-25 成都汉康信息产业有限公司 Online medical system supporting remote diagnosis

Also Published As

Publication number Publication date
CN106485088A (en) 2017-03-08

Similar Documents

Publication Publication Date Title
CN103379362B (en) VOD method and system
US9608831B2 (en) Migrating a chat message service provided by a chat server to a new chat server
US20120296976A1 (en) Delivering Messages in a Communication System
CN106776829A (en) A kind of data guiding system and its method of work
CN106230922A (en) A kind of news subscribing method, message production unit and message reception units
CN103685332B (en) File uploading method, client, server and system
CN106485088B (en) The method and system saved are recorded to online interrogation
WO2019047568A1 (en) User call processing method, apparatus, computer device, and storage medium
CN108573026A (en) A kind of data circulation method and device, storage medium, server
CN106790454A (en) Deferred information method for pushing and device
CN105955807A (en) System and method for processing task
GB2468179A (en) Electronic mail attachment compression
CN107018159A (en) Service request processing method and device and service request method and device
CN111193789A (en) Subscription information pushing method and device, computer equipment and readable storage medium
CN110839074A (en) Data request receiving and processing method and device
CN105681266B (en) A kind of communication cluster method and device of mediaphone MMTel
CN115622906A (en) Application log capturing system and method
CN104253702B (en) A kind of terminal management method and system
CN109949129A (en) A kind of order processing system and method for high concurrent
US20140032744A1 (en) Method of comparing outputs in a plurality of information systems
CN106202361A (en) Data query method and system
US20120209897A1 (en) Disc image file management system and disc image file management method
CN104063451B (en) A kind of database connection management method and system
CN111143426A (en) Multi-system user information association method and device
CN110263305A (en) Configuration file control methods, device, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190212

Termination date: 20201020

CF01 Termination of patent right due to non-payment of annual fee