Information sharing system based on websocket communication technology

The websocket-based information sharing system addresses delays in ambulance-to-hospital communication by enabling real-time synchronization of patient information and location data, ensuring timely treatment preparation and response.

CN119211173AInactive Publication Date: 2024-12-27BEIYIN FINANCIAL TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411349925.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-26
Publication Date
2024-12-27
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Current information synchronization methods in medical emergencies, such as ambulance-to-hospital communication, rely on telephone communications, leading to delays and inefficiencies in real-time data exchange, affecting patient treatment preparation and response.

Method used

An information sharing system utilizing websocket communication technology, comprising a mobile device App, information communication and distribution service module, information storage service module, information sharing management platform, and message communication module, to enable real-time synchronization of patient information and location data across multiple terminals.

Benefits of technology

The system ensures real-time data synchronization, reduces server resource overhead, and guarantees data reliability, allowing for immediate response to patient condition changes during transport.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119211173A_ABST
    Figure CN119211173A_ABST
Patent Text Reader

Abstract

The invention discloses an information sharing system based on a websocket communication technology. The information sharing system comprises a mobile device App, an information communication and distribution service module, an information storage service module, an information sharing management platform and a message communication module. The mobile device App is used for acquiring the GPS position information of the mobile terminal device, establishing a communication link with the information communication distribution service module, synchronously storing the patient information and sending the ambulance position information in real time; the information communication and distribution service module is used for establishing a websocket communication service, receiving and forwarding position information uploaded by each terminal and synchronizing messages; the information storage service module is used for establishing database service; the information sharing management platform is used for establishing an Amap client service; and the message communication module is used for sending and receiving messages in real time through websocket service. The resource overhead of the server is reduced, and real-time synchronization of multi-terminal information and positions can be carried out at the same time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of Internet communication technology, and in particular to an information sharing system based on websocket communication technology. Background Art

[0002] With the continuous development of Internet technology and network hardware facilities, Internet applications have gradually penetrated into all aspects of people's lives. Both education and medical care are constantly innovating with the development of Internet technology. In the medical field, the real-time grasp of the various physical indicators and conditions of critically ill patients plays a key role in the treatment of patients. In the past, due to the limitations and delays of communication technology, the changes in the condition of patients in the ambulance and the preparation for treatment could not be synchronized with the hospital information in the first time, thus affecting the treatment of patients.

[0003] Currently, most information synchronization methods are still based on telephone communications, which require regular telephone communications to synchronize information on the ambulance's location, road conditions, and the patient's condition. Hospitals are unable to make advance preparations for treatment and respond to changes in the patient's condition in real time based on actual conditions. Summary of the invention

[0004] In view of the above problems, the present invention is proposed to provide an information sharing system based on the websocket communication technology that overcomes the above problems or at least partially solves the above problems.

[0005] According to one aspect of the present invention, there is provided an information sharing system based on websocket communication technology, the information sharing system comprising: a mobile device App, an information communication and distribution service module, an information storage service module, an information sharing management platform and a message communication module;

[0006] The mobile device App is used to obtain the GPS location information of the mobile device, establish a communication link with the information communication distribution service module, synchronously input the patient information, synchronously save the patient information and send the ambulance location information in real time;

[0007] The information communication and distribution service module is used to establish a websocket communication service, receive and forward the location information uploaded by each terminal, and synchronize messages;

[0008] The information storage service module is used to establish a database service to store patient information synchronously entered by the mobile terminal device App for terminal patient information sharing and viewing;

[0009] The information sharing management platform is used to establish the Amap client service, integrate the location information of the mobile devices on each vehicle, synchronize the location information of multiple devices and call the API interface provided by Amap for visual rendering;

[0010] The message communication module is used to send and receive messages in real time through the websocket service, so that the terminal and each mobile terminal can communicate with each other in real time and provide real-time message reminders.

[0011] Optionally, the method of the mobile device App includes:

[0012] The user logs in to the App and binds the current vehicle license plate number;

[0013] Initialize the websocket service and establish a data sending connection;

[0014] Use a 10s period to regularly obtain the GPS positioning data of the mobile device and send it to the communication server via websocket communication;

[0015] The user enters the patient information and saves it synchronously to the information storage service database.

[0016] Optionally, the method of the information communication and distribution service module includes:

[0017] Initialize the websocket service;

[0018] Receive location coordinate point information sent by multiple mobile devices and cache it;

[0019] Distribute data from each mobile device to information sharing services.

[0020] Optionally, the information storage service module specifically includes:

[0021] Establish a connection with the database;

[0022] Provide App mobile device service interface;

[0023] Receive and integrate the data submitted and saved by the App;

[0024] Read and write database patient information related data.

[0025] Optionally, the information sharing management platform specifically includes:

[0026] User logs into the information sharing service platform;

[0027] Initialize Amap service;

[0028] Initialize the websocket service and establish a data sending connection;

[0029] Receive and parse data packets from communication services;

[0030] Call the Amap API method to render data and mark it on the map;

[0031] Query the current location of the vehicle based on the license plate number and remotely call the Amap API method to calculate the estimated arrival time and remaining distance.

[0032] Optionally, the message communication module specifically includes:

[0033] Initialize the websocket service;

[0034] Establish a websocket connection with the messaging service;

[0035] Send or receive communication service messages and communicate instantly with mobile device apps.

[0036] Optionally, the specific workflow of the information sharing management platform includes:

[0037] After the user logs in to the information sharing platform, the user initiates the call to the data sharing query API provided by the data storage module to query and share medical records with the mobile terminal;

[0038] Initialize the websocket service and call the onopen method of websocket communication to connect the information communication and distribution service. Determine the current connection status according to the readystate connection status value and send a message to obtain the current location data.

[0039] Load Amap online and create a map container to perform initial rendering with the hospital as the coordinate center;

[0040] Receive the positioning data containing vehicle information sent by the information communication and distribution service and cache the data. If the current vehicle data exists in the cache array, refresh and replace it;

[0041] Enter the vehicle license plate number information to query the vehicle location;

[0042] Render the current vehicle's position on the map based on the queried vehicle;

[0043] Read the data points in the cache array in a 10s cycle and call the Amap point rendering method to render the vehicle data coordinate points on the map;

[0044] After the vehicle data points are rendered, the Amap open interface is called to perform distance and estimated arrival time estimation query using the current data coordinate point and the destination data point as parameters.

[0045] The present invention provides an information sharing system based on websocket communication technology, the information sharing system comprising: a mobile device App, an information communication and distribution service module, an information storage service module, an information sharing management platform and a message communication module; the mobile device App is used to obtain the GPS location information of the mobile terminal device, establish a communication link with the information communication distribution service module, synchronously enter the patient information, synchronously save the patient information and send the location information of the ambulance in real time; the information communication and distribution service module is used to establish a websocket communication service, receive and forward the location information uploaded by each terminal and synchronize messages; the information storage service module is used to establish a database service, store the patient information synchronously entered by the mobile terminal device App, and provide the terminal with patient information for sharing and viewing; the information sharing management platform is used to establish a high-quality map client service, integrate the location information of the mobile terminal devices on each vehicle, synchronize the location information of multiple devices, and call the API interface provided by the high-quality map for visual rendering; the message communication module is used to send and receive messages in real time through the websocket service, so that the terminal and each mobile terminal can communicate messages in real time and provide real-time message reminders. It solves the delay problem of information synchronization, reduces server resource overhead, guarantees data reliability, and can synchronize information and locations on multiple terminals in real time.

[0046] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0048] Figure 1 A block diagram of an information sharing system based on websocket communication technology provided by an embodiment of the present invention;

[0049] Figure 2 A specific workflow diagram of the mobile device App provided by an embodiment of the present invention;

[0050] Figure 3 A specific workflow diagram of the information communication and distribution service provided by the embodiment of the present invention;

[0051] Figure 4This is a specific workflow diagram of the information sharing platform provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0052] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0053] The terms "comprises" and "having" and any variations thereof in the description embodiments, claims and drawings of the present invention are intended to cover non-exclusive inclusions, for example, including a series of steps or units.

[0054] The technical solution of the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments.

[0055] An information sharing system based on websocket communication technology.

[0056] The system mainly includes a mobile device App, an information communication and distribution service module, an information storage service module, a real-time location sharing module, and a message communication module.

[0057] System module function description:

[0058] Mobile device App: Log in to the App to obtain the GPS location information of the mobile device and establish a communication link with the information communication distribution service module, simultaneously enter the patient information, synchronously save the patient information and send the ambulance location information in real time.

[0059] Information communication and distribution service module: Establish websocket communication service, receive and forward location information uploaded by each terminal and synchronize messages.

[0060] Information storage service module: Establish a database service to store patient information entered synchronously by the mobile terminal device App for terminal patient information sharing and viewing.

[0061] Information sharing management platform: Establish Amap client service, integrate the location information of mobile devices on each vehicle, synchronize the location information of multiple devices and call the API interface provided by Amap for visual rendering, support distance query for each vehicle, travel time calculation, road condition assessment and other functions.

[0062] Instant messaging module: real-time message sending and receiving via websocket service, enabling real-time message exchange between the terminal and mobile terminals, and real-time message reminders.

[0063] The overall functional scheme of each module of the system is as follows:

[0064] Mobile devices:

[0065] The user logs in to the App and binds the current vehicle license plate number.

[0066] Initialize the websocket service and establish a data sending connection.

[0067] The GPS positioning data of the mobile device is obtained regularly with a 10s period and sent to the communication server via websocket communication.

[0068] The user enters the patient information and saves it synchronously to the information storage service database.

[0069] Information communication and distribution services:

[0070] Initialize websocket service

[0071] Receive location coordinate point information sent by multiple mobile devices and cache it.

[0072] Distribute data from each mobile device to information sharing services.

[0073] Information storage service module:

[0074] Establish a connection with the database

[0075] Provide App mobile device service interface

[0076] Receive and integrate data submitted and saved by the App

[0077] Read and write database patient information related data

[0078] Information sharing management platform:

[0079] User logs in to the information sharing service platform.

[0080] Initialize Amap service

[0081] Initialize the websocket service and establish a data sending connection.

[0082] Receive and parse data packets from communication services.

[0083] Call the Amap API method to render data and mark it on the map.

[0084] Query the current location of the vehicle based on the license plate number and remotely call the Amap API method to calculate the estimated arrival time and remaining distance.

[0085] Instant messaging service:

[0086] 1. Initialize the websocket service

[0087] 2. Establish a websocket link with the messaging service.

[0088] 3. Send or receive communication service messages and conduct instant communication with mobile device apps.

[0089] like Figure 2 As shown, the specific workflow of the mobile device App is as follows:

[0090] The user logs in to the system through a mobile device and binds the current vehicle to define the license plate number information in the vehicle management module of the information sharing management platform.

[0091] After the user logs into the system, he can query the patient information with existing medical records through the patient query interface. If there is no current patient, he can create a new patient through the information entry module function and call the data storage API method to save it in the database.

[0092] The device positioning module initializes the websocket service and calls the onopen method of websocket communication to establish a communication connection with the specified service IP, and determines the current connection status according to the readystate connection status value.

[0093] After the websocket service is connected successfully, the data is acquired by calling the GPS coordinate data method on the App side every 10 seconds. After the location data is acquired successfully, the websocket.send method is called to send real-time messages to the server.

[0094] Data is sent in a 10s cycle, and the connection status is checked, and reconnection is performed after disconnection.

[0095] The instant messaging module uses the defined data identifier to distinguish whether the message sent by the server is an instant messaging message.

[0096] After the user logs out, the websocket sends a close request to the server and closes the communication connection.

[0097] like Figure 3 As shown in the figure, the specific workflow of information communication and distribution services is as follows:

[0098] Create and start the websocket service, accept connection requests sent by multiple mobile device apps, and cache the vehicle binding information of different devices as the only communication credential for different websocket connections.

[0099] Different messages received are distinguished from mobile device location data and instant messaging messages according to the message type and cached.

[0100] If the message is an instant messaging message, it is directly forwarded to the instant messaging module of the information sharing platform through message sending, otherwise, step 4, step 5 and step 6 are executed.

[0101] If the current vehicle's location data exists in the cache, the current data is overwritten; otherwise, new data is created for caching.

[0102] The unique credential of the information sharing platform connection is used to determine whether the connection has been established. If the connection is established for the first time, after receiving the data acquisition message, all vehicle location data in the current data cache is read and integrated and sent to the information sharing platform through the message sending function.

[0103] The vehicle location data in the data cache is read regularly at a 10s cycle and sent to the information sharing platform via messages.

[0104] The connection status is self-checked. The connection status of each connection is checked regularly. For connections that have not communicated messages for a long time, the close method is called to close them to accept the server bandwidth.

[0105] like Figure 4 As shown in the figure, the specific workflow of the information sharing platform is as follows:

[0106] After the user logs in to the information sharing platform, the user initiates a call to the data sharing query API provided by the data storage module to query and share medical records with the mobile terminal.

[0107] Initialize the websocket service and call the onopen method of websocket communication to establish a communication connection between the information communication and the distribution service. Determine the current connection status based on the readystate connection status value and send a message to obtain the current location data.

[0108] Load Amap online and create a map container to perform initial rendering with the hospital as the coordinate center.

[0109] Receive the positioning data containing vehicle information sent by the information communication and distribution service and cache the data. If the current vehicle data exists in the cache array, refresh and replace it.

[0110] Enter the vehicle license plate number information to query the vehicle location

[0111] Render the current vehicle's position on the map based on the queried vehicle

[0112] The data points in the cache array are read in a 10s cycle, and the Amap point rendering method is called to render the vehicle data coordinate points on the map.

[0113] After the vehicle data points are rendered, the Amap open interface is called to perform distance and estimated arrival time estimation queries using the current data coordinate point and destination data point as parameters.

[0114] The instant messaging module uses the defined data identifier to distinguish whether the message sent by the server is information that needs to be read and to communicate with the mobile device App instantly.

[0115] Beneficial effects: It solves the delay problem of information synchronization, reduces the resource overhead of the server, guarantees the reliability of data, and can synchronize the information and location of multiple terminals in real time at the same time.

[0116] The above specific implementation methods further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific implementation methods of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. An information sharing system based on websocket communication technology, characterized in that: The information sharing system includes: a mobile device App, an information communication and distribution service module, an information storage service module, an information sharing management platform and a message communication module; The mobile device App is used to obtain the GPS location information of the mobile device, establish a communication link with the information communication distribution service module, synchronously input the patient information, synchronously save the patient information and send the ambulance location information in real time; The information communication and distribution service module is used to establish a websocket communication service, receive and forward the location information uploaded by each terminal, and synchronize messages; The information storage service module is used to establish a database service to store patient information synchronously entered by the mobile terminal device App for terminal patient information sharing and viewing; The information sharing management platform is used to establish the Amap client service, integrate the location information of the mobile devices on each vehicle, synchronize the location information of multiple devices and call the API interface provided by Amap for visual rendering; The message communication module is used to send and receive messages in real time through the websocket service, so that the terminal and each mobile terminal can communicate with each other in real time and provide real-time message reminders.

2. According to claim 1, an information sharing system based on websocket communication technology is characterized in that: The method of the mobile device App includes: The user logs in to the App and binds the current vehicle license plate number; Initialize the websocket service and establish a data sending connection; Use a 10s period to regularly obtain the GPS positioning data of the mobile device and send it to the communication server via websocket communication; The user enters the patient information and saves it synchronously to the information storage service database.

3. According to claim 1, an information sharing system based on websocket communication technology is characterized in that: The method of the information communication and distribution service module includes: Initialize the websocket service; Receive location coordinate point information sent by multiple mobile devices and cache it; Distribute data from each mobile device to information sharing services.

4. According to claim 1, an information sharing system based on websocket communication technology is characterized in that: The information storage service module specifically includes: Establish a connection with the database; Provide App mobile device service interface; Receive and integrate the data submitted and saved by the App; Read and write database patient information related data.

5. According to claim 1, an information sharing system based on websocket communication technology is characterized in that: The information sharing management platform specifically includes: User logs into the information sharing service platform; Initialize Amap service; Initialize the websocket service and establish a data sending connection; Receive and parse data packets from communication services; Call the Amap API method to render data and mark it on the map; Query the current location of the vehicle based on the license plate number and remotely call the Amap API method to calculate the estimated arrival time and remaining distance.

6. According to claim 1, an information sharing system based on websocket communication technology is characterized in that: The message communication module specifically includes: Initialize the websocket service; Establish a websocket connection with the messaging service; Send or receive communication service messages and communicate instantly with mobile device apps.

7. The information sharing system based on websocket communication technology according to claim 1 is characterized in that: The specific workflow of the information sharing management platform includes: After the user logs in to the information sharing platform, the user initiates the call to the data sharing query API provided by the data storage module to query and share medical records with the mobile terminal; Initialize the websocket service and call the onopen method of websocket communication to connect the information communication and distribution service. Determine the current connection status according to the readystate connection status value and send a message to obtain the current location data. Load Amap online and create a map container to perform initial rendering with the hospital as the coordinate center; Receive the positioning data containing vehicle information sent by the information communication and distribution service and cache the data. If the current vehicle data exists in the cache array, refresh and replace it; Enter the vehicle license plate number information to query the vehicle location; Render the current vehicle's position on the map based on the queried vehicle; Read the data points in the cache array in a 10s cycle and call the Amap point rendering method to render the vehicle data coordinate points on the map; After the vehicle data points are rendered, the Amap open interface is called to perform distance and estimated arrival time estimation query using the current data coordinate point and the destination data point as parameters.

Citation Information

Patent Citations

  • Vehicle localization management system based on car networking and implementation method of vehicle localization management system based on car networking

    CN104464349A

  • Data transmission method between agricultural vehicle-mounted intelligent terminal and monitoring client based on WebGIS technology

    CN106027611A

  • Information processing method and apparatus

    CN109450983A

  • Data transmission method and system based on WebSocket, and medium

    CN112565214A

  • Artificial intelligence-based referral supervision method, apparatus and device, and storage medium

    CN113706724A