CN115551002A - Pre-hospital first aid transmission method based on 5G network - Google Patents

Pre-hospital first aid transmission method based on 5G network Download PDF

Info

Publication number
CN115551002A
CN115551002A CN202211373090.XA CN202211373090A CN115551002A CN 115551002 A CN115551002 A CN 115551002A CN 202211373090 A CN202211373090 A CN 202211373090A CN 115551002 A CN115551002 A CN 115551002A
Authority
CN
China
Prior art keywords
data
service data
snapshot
time
priority
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.)
Granted
Application number
CN202211373090.XA
Other languages
Chinese (zh)
Other versions
CN115551002B (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.)
Beijing Zhongsenxinhe Technology Co ltd
Original Assignee
Beijing Zhongsenxinhe Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zhongsenxinhe Technology Co ltd filed Critical Beijing Zhongsenxinhe Technology Co ltd
Priority to CN202211373090.XA priority Critical patent/CN115551002B/en
Publication of CN115551002A publication Critical patent/CN115551002A/en
Application granted granted Critical
Publication of CN115551002B publication Critical patent/CN115551002B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0231Traffic management, e.g. flow control or congestion control based on communication conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A90/00Technologies having an indirect contribution to adaptation to climate change
    • Y02A90/10Information and communication technologies [ICT] supporting adaptation to climate change, e.g. for weather forecasting or climate simulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to the field of communication, and discloses a pre-hospital emergency transmission method based on a 5G network, which comprises the following steps: the method comprises the steps that a 5G wireless router arranged on a carrier receives service data sent by a medical terminal, obtains a terminal identifier in the service data, classifies the service data according to the terminal identifier, obtains classification information of the service data, and assigns identifiers to the service data, so that all the service data have different identifiers; adding the service data into a service data list corresponding to the priority according to the priority of the service data, acquiring time information of the service data, detecting whether a time information key value with corresponding granularity exists in a snapshot map, if not, newly building a key value, and storing the service data; if the data exists, the business data corresponding to the key value is updated, the data is processed in a grading way, the data is guaranteed to be stored and sent according to the priority, and the bandwidth is guaranteed to meet the transmission of the priority data.

Description

Pre-hospital emergency transmission method based on 5G network
Technical Field
The invention relates to the field of communication, in particular to a pre-hospital first aid transmission method based on a 5G network.
Background
In the existing ambulance emergency rescue network, patient sign data, illness state images, emergency illness state records and the like are transmitted to a hospital at the first time when an ambulance receives a patient, so that doctors in the hospital can make correct guidance and make a rescue scheme in advance, and the vision of 'getting on the bus and getting in the hospital' of the patient is realized.
However, the 5G technology also has the defects of small coverage area, large power consumption and high safety, the emergency ambulance is easy to have network instability and network congestion during high-speed movement and in areas with dense pedestrian flows, and especially for the purpose of saving energy consumption, part of base stations may switch the working mode when the load is low, thereby causing unpredictable signal coverage between cells. Therefore, when it is used in a practical scenario, the above-mentioned drawbacks of the signal connection of the user terminal using the 5G technology at the cell junction must be considered, thereby improving the reliability of the data connection.
Disclosure of Invention
An object of the present invention is to solve at least one of the above problems, and to provide a method for pre-hospital emergency transmission based on a 5G network, wherein the method includes:
the 5G wireless router arranged on the carrier receives service data sent by the medical terminal;
acquiring a terminal identifier in the service data, classifying the service data according to the terminal identifier, acquiring the classification information of the service data, and assigning the identifier to the service data so that all the service data have different identifiers; adding the service data into a service data list corresponding to the priority according to the priority of the service data;
acquiring time information of the service data, detecting whether a time information key value with corresponding granularity exists in a snapshot, if not, establishing the time information key value newly, and storing the service data; if yes, updating the service data corresponding to the time information key value;
detecting whether the time granularity value is changed, if so, acquiring a time granularity list ordered according to the time granularity value, acquiring the service data included in the time granularity list, generating a time granularity snapshot according to the service data, storing the time granularity snapshot to a snapshot priority queue, and deleting the service data of which the snapshot is generated; the time-granularity snapshot contains an identifier list of the service data;
judging whether the network slice is available, if so, sending a snapshot priority queue; judging whether the quality of the network slice is greater than a quality threshold, if so, sending data according to a priority order; if the quality threshold is lower, the data is transmitted in chronological order.
According to one aspect of the invention, the service data comprises rescue video, patient sign data, patient basic information, patient diagnosis data and carrier information, the carrier information comprises the driving speed and position information of a carrier, and the patient diagnosis data comprises electrocardio, blood oxygen, pulse, blood pressure, a breathing machine, a recording device and a defibrillator.
According to one aspect of the invention, the time granularity value is 20-50 milliseconds.
According to one aspect of the invention, the identifier is a random number of 64-512 bits in length.
According to an aspect of the present invention, after the time information key is newly created in the snapshot map, a snapshot value corresponding to a maximum value lower than the newly created time information key is used as a value of the newly created time information key.
According to an aspect of the invention, after the service data is added to the snapshot, the priority of the service data is reduced.
According to an aspect of the present invention, after the service data is added to the snapshot map, the identifier is added to an identifier list of the snapshot map, and the identifiers of the same kind are deleted.
According to one aspect of the invention, the quality of the network slice is determined by creating a new process, sending a sniff packet to the edge server, starting a timer, receiving a response packet from the server, and if the response packet is received within a timeout period, taking the completion time as a network quality factor.
According to one aspect of the invention, the network slice used by a received return packet is marked as a low quality network when the start timestamp of the return packet is below an existing value.
In order to achieve the above object, the present invention provides a pre-hospital emergency transmission system based on a 5G network, including:
a service data acquisition module: the 5G wireless router arranged on the carrier receives service data sent by the medical terminal;
the business data list establishing module: acquiring a terminal identifier in the service data, classifying the service data according to the terminal identifier to acquire the classification information of the service data, and assigning identifiers to the service data to enable all the service data to have different identifiers; adding the service data into a service data list corresponding to the priority according to the priority of the service data;
the time information key value establishing module: acquiring time information of the service data, detecting whether a time information key value with corresponding granularity exists in a snapshot map, if not, establishing the time information key value newly, and storing the service data; if the time information key value exists, the business data corresponding to the time information key value is updated;
the time granularity list establishing module: detecting whether the time granularity value is changed, if so, acquiring a time granularity list sorted according to the time granularity value, acquiring the service data included in the time granularity list, generating a time granularity snapshot according to the service data, storing the time granularity snapshot to a snapshot priority queue, and deleting the service data of which the snapshot has been generated; the time-granularity snapshot contains an identifier list of the business data;
a data sending module: judging whether the network slice is available, if so, sending a snapshot priority queue; judging whether the quality of the network slice is greater than a quality threshold, if so, sending data according to a priority order; if the quality threshold is lower, the data is transmitted in chronological order.
Based on this, the beneficial effects of the invention are:
(1) Data is locally aligned, so that the consistency and continuity of the data are ensured;
(2) The data is processed in a grading way, so that the data is guaranteed to be stored and sent according to the priority, and the bandwidth is guaranteed to meet the transmission of the priority data;
(3) The network verification is carried out by detecting the accessibility of the edge server, so that the operation cost is effectively reduced.
Drawings
Fig. 1 schematically shows a flow chart of a method for pre-hospital emergency transmission over a 5G network according to the present invention;
fig. 2 schematically shows a flow diagram of a pre-hospital emergency transmission system based on a 5G network according to the present invention.
Detailed Description
The present disclosure will now be discussed with reference to exemplary embodiments, it being understood that the embodiments discussed are merely for enabling persons of ordinary skill in the art to better understand and thus implement the present disclosure, and do not imply any limitation on the scope of the present disclosure.
As used herein, the term "include" and its variants are to be read as open-ended terms meaning "including, but not limited to. The term "based on" is to be read as "based, at least in part, on" and the terms "one embodiment" and "an embodiment" are to be read as "at least one embodiment".
Fig. 1 is a flow chart schematically illustrating a method for transmitting pre-hospital emergency treatment based on a 5G network according to the present invention, and as shown in fig. 1, the method for transmitting pre-hospital emergency treatment based on the 5G network according to the present invention includes:
the 5G wireless router arranged on the carrier receives service data sent by the medical terminal;
acquiring a terminal identifier in the service data, classifying the service data according to the terminal identifier, acquiring classification information of the service data, and assigning the identifier to the service data to enable all the service data to have different identifiers; adding the service data into a service data list corresponding to the priority according to the priority of the service data;
acquiring time information of service data, detecting whether a time information key value with corresponding granularity exists in a snapshot map, if not, establishing a new time information key value, and storing the service data; if yes, updating the service data corresponding to the time information key value;
detecting whether the time granularity value is changed, if so, acquiring a time granularity list ordered according to the time granularity value, acquiring service data included in the time granularity list, generating a time granularity snapshot according to the service data, storing the time granularity snapshot to a snapshot priority queue, and deleting the service data of which the snapshot is generated; the time granularity snapshot contains an identifier list of the service data;
judging whether the network slice is available, if so, sending a snapshot priority queue; judging whether the quality of the network slice is greater than a quality threshold, if so, sending data according to the priority order; if the quality threshold is lower, the data is transmitted in chronological order.
According to one embodiment of the invention, the service data comprises rescue video, patient sign data, patient basic information, patient diagnosis data and carrier information, the carrier information comprises the driving speed and position information of the carrier, and the patient diagnosis data comprises electrocardio, blood oxygen, pulse, blood pressure, a breathing machine, a recording device and a defibrillator.
According to one embodiment of the invention, the time granularity value is 20-50 milliseconds.
According to one embodiment of the invention, the identifier is a random number of 64-512 bits in length.
According to one embodiment of the invention, after the time information key is newly established in the snapshot, the snapshot value corresponding to the maximum value lower than the newly established time information key is used as the value of the newly established time information key.
According to one embodiment of the invention, after the service data is added to the snapshot map, the priority of the service data is reduced.
According to one embodiment of the invention, after the service data is added to the snapshot map, the identifiers are added to the identifier list of the snapshot map, and the identifiers of the same kind are deleted.
According to one embodiment of the invention, the quality of the network slice is determined by creating a new process, sending a sniff packet to the edge server, starting a timer, receiving a response packet from the server, and if the response packet is received within a timeout period, taking the completion time as a network quality factor.
According to one embodiment of the invention, when the start timestamp of a received return packet is lower than an existing value, the network slice used by the return packet is marked as a low quality network.
According to one embodiment of the invention, the 5G wireless router receives service data sent by the medical terminal; the terminal of (2) may be a 5G router, which may also be another wireless terminal. The terminal is arranged so that data generated by equipment in the carrier is not communicated with the server in the form of a wireless router, a built-in SIM card or an Internet of things card, all the data are processed by a local 5G wireless router to obtain data to be sent, and the data are communicated with a hospital end in the form of the 5G wireless router, so that service data have uniform outlets and inlets;
acquiring a terminal identifier in the service data, classifying the service data according to the terminal identifier, acquiring classification information of the service data, and assigning identifiers to the service data to enable all the service data to have different identifiers; adding the service data into a service data list corresponding to the priority according to the priority of the service data; acquiring time information of service data, detecting whether a time information key value with corresponding granularity exists in a snapshot map, if not, establishing a new time information key value, and storing the service data; if yes, updating the service data corresponding to the time information key value; the purpose of the step is to classify the data and aggregate the data locally, so that the data presented locally or in the cloud have consistent content in historical time granularity, and the data are transmitted according to a preset priority level all the time; for each time information key value, data is saved in the form of a list or a graph; the terminal identifier here may be preset, or configured at the time of access, or adjusted after access. For different terminal identifications, the processing modes of the generated data are inconsistent, and under the condition of knowing the data structure, the processed data object can be obtained by reading the file header, and the priority is determined. In the invention, the data storage modes of different priorities are not consistent, and under the condition of enough memory, the data sent preferentially is stored in the memory, and the data of suboptimal priority is stored in a disk;
detecting whether the time granularity value is changed, if so, acquiring a time granularity list ordered according to the time granularity value, acquiring service data included in the time granularity list, generating a time granularity snapshot according to the service data, storing the time granularity snapshot to a snapshot priority queue, and deleting the service data of which the snapshot is generated; the time granularity snapshot contains an identifier list of the service data; in this step, a timestamp may be obtained, where the timestamp may be of a local router, or the timestamp may be obtained by obtaining a timestamp of a server and verifying local time, and the time granularity value is divided according to the timestamp and the type of service data, for example, according to a 100ms slice, the slice may be defined according to the current time millisecond number/100, and for example, a time 101ms after a time point t should have different time granularity values; for data transmitted through the 5G wireless router, a proper granularity value should be provided to ensure that data with high priority is sent in time and data with low priority at least with snapshot is fed back.
In this step, the server receives the snapshot and restores the information according to the information description in the snapshot to obtain the original information. Similar to the steps of creating the snapshot and maintaining the list, the data can be stored according to the snapshot timestamp, and when the data outside the snapshot is obtained, the data inside the snapshot is added into the data list of the corresponding terminal;
in the process, two different types of Data1 and Data2 are assumed to exist, data1 belongs to Data which is generated, namely is transmitted and can have a plurality of values, data2 belongs to Data which needs to keep synchronization after being generated but needs to keep single value, and two queues L with different priorities are set 1 And L 2 And the former has higher priority than the latter, thenFirst Data D of received Data1 t1,1 When it is, D t1,1 Is stored in L 1 In the receiving Data2, the first Data D t2,1 When D is greater than D t2,1 Is stored in L 2 Then add it to L 1 In, and delete L 2 Inner D t2,1 The same data only exists in one queue by adopting a deduplication strategy; or a redundancy strategy is adopted, and the same data can exist in a plurality of queues;
if Data1 generates new Data D t1,2 Add it to queue L 1 Inner;
if Data2 generates new Data D t2,2 Add it to queue L 2 In, look up all identifiers and D in L1 t2,2 The consistent data are deleted, and new data D are obtained t1,2 Added to L1.
A snapshot mechanism is further introduced, corresponding to each time granularity value, data1 should belong to Data which should be sent after being generated and can have a plurality of values, and Data2 belongs to a unique value of each time granularity; introducing a snapshot queue Snap, wherein the Data types in the snapshot queue comprise a list and single-value Data, assuming that Data1 is list Data and Data2 is single-value Data, and receiving the first Data D of the Data1 t1,1 When D is greater than D t1,1 Is stored in L 1 In the receiving Data2, the first Data D t2,1 When D is greater than D t2,1 Is stored in L 2 In the method, a deduplication strategy is adopted, and the same data only exists in one queue; or a redundancy strategy is adopted, and the same data can exist in a plurality of queues; because the snapshot is empty at this time, all the data are added into the snapshot and then the data in the source queue are deleted respectively;
if Data1 generates new Data D t1,2 Add it to queue L 1 If the time granularity value is consistent with the time granularity in the snapshot, D is added t1,2 Add to the Data list of the time-granular snapshot Data1 and add D t1,2 From L 1 Deleting; if not, newly creating a snapshot, and adding D t1,2 Add to the Data list of the time-granular snapshot Data1, and add D t1,2 From L 1 Deleting;
if Data2 generates new Data D t2,2 Add it to queue L 2 If the time granularity value is consistent with the time granularity in the snapshot, all identifiers and D in the snapshot are searched t2,2 Consistent data (e.g. D) t2,1 ) And delete D t2,2 Add to the Data list of the time-granular snapshot Data2 and add D t1,2 From L 2 Deleting; if not, newly creating a snapshot, and adding D t2,2 Add to the Data list of the time-granular snapshot Data2 and add D t2,2 From L 2 And (5) deleting.
In the above steps, if the redundancy policy is used, the data does not need to be deleted from the source queue.
Further, whether the network slice is available or not is judged, and if the network slice is available, a snapshot priority queue is sent; judging whether the quality of the network slice is greater than a quality threshold, if so, sending data according to the priority order; and if the data is lower than the quality threshold value, transmitting the data of the snapshot priority queue according to the time sequence. The step is to send the data stored in the cache in a grading way, send the snapshot queue preferentially, then send the data with high priority in the cache, and send the data with low priority after the data with high priority is sent.
According to one embodiment of the invention, the rescue video is video information acquired by an image acquisition device arranged in the vehicle, and the video information is transmitted to a server after being acquired so as to be used for judging field information and further remotely guiding rescue based on the field information; audio data in the vehicle can be periodically acquired and sent to a server or a hospital, or text information is acquired in a periodic voice conversion mode and sent to the server; patient's diagnostic data passes through the sensor or the monitoring terminal that carrier itself carried, through the vital sign data that acquire patient, based on certain frequency acquisition information to send to the 5G wireless router that the carrier carried. The electrocardiogram data can be original phonocardiogram data or processed characteristic data; the service data is generated continuously, or generated intermittently, or is disposable data; for example, basic information of a patient is used for constructing an electronic medical record at a hospital building end, and the electronic medical record belongs to disposable data; the video, audio and blood oxygen data belong to continuously acquired data and continuously generated data; the pulse and the electrocardio belong to data which are generated continuously but can be transmitted intermittently, and belong to data which are generated intermittently, so that different data can be distinguished and processed according to data sources; for example, according to the HL7 data acquired by the 5G router, the file header of the HL7 is acquired to determine the version of the HL7 data, a resolver is configured for the HL7 data, and information such as a message source, an identifier, time, an event type and the like of the HL7 data is resolved, so that the service data to be processed is acquired. Correspondingly, a data dictionary may be configured on the router side, and is used to perform further priority assignment according to the information in the acquired service data, for example, to store a correspondence between a priority and a list of devices, when acquiring the service data, the acquired priority is queried in the data dictionary, and when not queried, the highest priority or a conventional priority is assigned.
According to one embodiment of the invention, since all data sent to the hospital end in the vehicle is not generated and sent continuously, when a time window or granularity is configured, all data can be ensured to be sent without wasting resources; for example, for blood sample data, a sampling period of 100ms may be set, and for image data, a sampling period of 20ms may be set; a longer sampling period may be set for the recording.
According to an embodiment of the present invention, for each time granularity of information, unique ID information should be generated, and considering different data sources, at least different clients may generate different data in a short time and avoid collision of data, or fix data collision within a certain range, for which a random number may be generated in a way of selecting a snowflake ID. When the snowflake ID is adopted, the problem of repeated data transmission of the equipment by the primary key can be solved because the support number of the terminal equipment can be controlled within 1024. In addition, even if the problem of ID collision that may occur in different domains is considered, the collision may be avoided by the form of sub-pools or auxiliary IDs.
According to an embodiment of the invention, after the time information key value is newly created in the snapshot, the snapshot value corresponding to the maximum time information key value lower than the newly created time information key value is used as the value of the newly created time information key value. Since when saving data using the graph, part of the data is still multiplexed at the next time granularity, if the generation of the data is periodic or the generation of the data is one-time, the last received data should be used as the value of the new key when no new data is received at the next time granularity.
According to one embodiment of the invention, after the service data is added to the snapshot map, the priority of the service data is lowered. If part of the service data exists in the high-priority queue and the low-priority queue at the same time, the priority of the corresponding low-priority queue is reduced after the service data is added into the high-priority queue, so that the data in the sending queue keeps the priority determined according to the requirement.
According to one embodiment of the invention, after the service data is added to the snapshot map, the identifier of the service data is added to the identifier list of the snapshot map, and the identifier of the same kind of service data is deleted. The step can realize that for the update of single-value data in the snapshot map, in one snapshot map, one type of data can be configured to appear only once, but not to appear multiple times, and the data is ensured to be kept up to date when being sent by means of searching and updating the data in the snapshot map.
According to an embodiment of the invention, the network slice quality is that a new process is created, a sniff packet is sent to an edge server, for example, the length of the sniff packet is configured to be the capacity of cache data, a counter is configured, and if the sniff packet is completed within a timeout time, the completion time is taken as a network quality factor; otherwise, the network is marked as poor quality, and no data is sent in the network environment with poor quality.
According to an embodiment of the present invention, the server connected to the carrier may be an edge server, the most suitable processing server is determined according to the region, since the edge server may be bound to the first region, the edge server may obtain an optimal edge server by acquiring a location, or may determine a time for the edge server to process data in time by starting a process of sending a test packet, sending a packet with a length (e.g., 10kb to 1 Mb) to the configured edge server, and when the corresponding process starts, recording a time stamp of the start and identifier information of a network slice used, and performing an operation of sending the data packet, and then, within a time threshold range, e.g., 300ms, determining whether a feedback of the edge server is received, and if so, determining a ranking of the edge server according to a returned message (including whether the sending is successful, and a connection task), so as to evaluate the quality of the network slice. After the edge server is selected and the edge server is performed, the data is forwarded to the yard end through the edge server, and the information required by the yard end related to the carrier end is synchronized to the edge server side.
According to one embodiment of the invention, if the start timestamp of a received return packet is lower than the existing value, the network slice used by the return packet is marked as a low quality network. In some cases, the packet returned by the edge server should be marked as a low quality network if the information contained in the packet significantly exceeds a threshold. If a new transmission task exists after the transmission time of the packet, the network quality score is updated according to the new transmission task.
According to one embodiment of the invention, the sniffing packets can be performed intermittently or continuously, for example, according to the acquired vehicle speed, the frequency is reduced when the vehicle is running at low speed, and the frequency of the test is increased when the vehicle is higher than 20 m/s. In particular, when the vehicle is a low-altitude aircraft, the sampling frequency should be increased appropriately, for example, a test period of 100ms is set, and accordingly, the counter configured for sending the sniff packet may also be set to be a threshold value which is decreased in a targeted manner, for example, to be 100ms.
Furthermore, in order to achieve the above objects, the present invention further provides a pre-hospital emergency transmission system based on a 5G network, fig. 2 schematically shows a flow chart of the pre-hospital emergency transmission system based on the 5G network according to the present invention, and as shown in fig. 2, the pre-hospital emergency transmission system based on the 5G network according to the present invention comprises:
a service data acquisition module: the 5G wireless router arranged on the carrier receives service data sent by the medical terminal;
the business data list establishing module: acquiring a terminal identifier in the service data, classifying the service data according to the terminal identifier, acquiring classification information of the service data, and assigning the identifier to the service data to enable all the service data to have different identifiers; adding the service data into a service data list corresponding to the priority according to the priority of the service data;
the time information key value establishing module: acquiring time information of service data, detecting whether a time information key value with corresponding granularity exists in a snapshot map, if not, establishing a new time information key value, and storing the service data; if so, updating the service data corresponding to the time information key value;
a time granularity list establishing module: detecting whether the time granularity value is changed, if so, acquiring a time granularity list ordered according to the time granularity value, acquiring service data included in the time granularity list, generating a time granularity snapshot according to the service data, storing the time granularity snapshot to a snapshot priority queue, and deleting the service data of which the snapshot is generated; the time granularity snapshot contains an identifier list of the service data;
a data sending module: judging whether the network slice is available, if so, sending a snapshot priority queue; judging whether the quality of the network slice is greater than a quality threshold, if so, sending data according to the priority order; if the quality threshold is lower, the data is transmitted in chronological order.
According to one embodiment of the invention, the service data comprises rescue video, patient sign data, patient basic information, patient diagnosis data and carrier information, the carrier information comprises the driving speed and position information of the carrier, and the patient diagnosis data comprises electrocardio, blood oxygen, pulse, blood pressure, a breathing machine, a recording device and a defibrillator.
According to one embodiment of the invention, the time granularity value is 20-50 milliseconds.
According to one embodiment of the invention, the identifier is a random number of 64-512 bits in length.
According to one embodiment of the invention, after the time information key is newly created in the snapshot map, the snapshot value corresponding to the maximum value lower than the time information key is used as the value of the time information key.
According to one embodiment of the invention, after the service data is added to the snapshot map, the priority of the service data is reduced.
According to one embodiment of the invention, after the service data is added to the snapshot map, the identifiers are added to the identifier list of the snapshot map, and the identifiers of the same kind are deleted.
According to one embodiment of the invention, the quality of the network slice is determined by creating a new process, sending a sniff packet to the edge server, starting a timer, receiving a response packet from the server, and if the response packet is received within a timeout period, taking the completion time as a network quality factor.
According to one embodiment of the invention, when the start timestamp of a received return packet is lower than an existing value, the network slice used by the return packet is marked as a low quality network.
According to one embodiment of the invention, the 5G wireless router receives service data sent by the medical terminal; the terminal of (2) may be a 5G router, which may also be another wireless terminal. The terminal is arranged so that data generated by equipment in the carrier is not communicated with the server in the form of a wireless router, a built-in SIM card or an Internet of things card, all the data are processed by a local 5G wireless router to obtain data to be sent, and the data are communicated with a hospital end in the form of the 5G wireless router, so that service data have uniform outlets and inlets;
acquiring a terminal identifier in the service data, classifying the service data according to the terminal identifier, acquiring classification information of the service data, and assigning identifiers to the service data to enable all the service data to have different identifiers; adding the service data into a service data list corresponding to the priority according to the priority of the service data; acquiring time information of service data, detecting whether a time information key value with corresponding granularity exists in a snapshot map, if not, establishing a new time information key value, and storing the service data; if so, updating the service data corresponding to the time information key value; the purpose of the step is to classify the data and aggregate the data locally, so that the data presented locally or in the cloud have consistent content in historical time granularity, and the data are transmitted according to a preset priority all the time; for each time information key value, data is saved in the form of a list or a graph; the terminal identifier here may be preset, or configured at the time of access, or adjusted after access. For different terminal identifications, the processing modes of generating data are different, and under the condition of knowing the data structure, the processed data object can be obtained by reading the file header, and the priority is determined. In the invention, the data storage modes of different priorities are not consistent, and under the condition of enough memory, the data sent preferentially is stored in the memory, and the data of suboptimal priority is stored in a disk;
detecting whether the time granularity value is changed, if so, acquiring a time granularity list ordered according to the time granularity value, acquiring service data included in the time granularity list, generating a time granularity snapshot according to the service data, storing the time granularity snapshot to a snapshot priority queue, and deleting the service data of which the snapshot is generated; the time granularity snapshot contains an identifier list of the service data; in this step, a timestamp may be obtained, where the timestamp may be of a local router, or the timestamp may be obtained by obtaining a timestamp of a server and verifying local time, and the time granularity value is divided according to the timestamp and the type of service data, for example, according to a 100ms slice, the slice may be defined according to the current time millisecond number/100, and for example, a time 101ms after a time point t should have different time granularity values; for data transmitted through the 5G wireless router, a proper granularity value should be provided to ensure that data with high priority is sent in time and data with low priority at least with snapshot is fed back.
In this step, the server receives the snapshot and restores the information according to the information description in the snapshot to obtain the original information. Similar to the steps of creating the snapshot and maintaining the list, the data can be stored according to the snapshot timestamp, and when the data outside the snapshot is obtained, the data inside the snapshot is added into the data list of the corresponding terminal;
in the process, two different types of Data1 and Data2 are assumed to exist, data1 belongs to Data which is generated, namely is transmitted and can have a plurality of values, data2 belongs to Data which needs to keep synchronization after being generated but needs to keep single value, and two queues L with different priorities are set 1 And L 2 And the priority of the former is higher than that of the latter, the first Data D of Data1 is received t1,1 When D is greater than D t1,1 Is stored in L 1 In the receiving Data2, the first Data D t2,1 When it is, D t2,1 Is stored in L 2 Then add it to L 1 In, and delete L 2 Inner D t2,1 The same data only exists in one queue by adopting a deduplication strategy; or the same data can exist in a plurality of queues by adopting a redundancy strategy;
if Data1 generates new Data D t1,2 Add it to queue L 1 Internal;
if Data2 generates new Data D t2,2 Add it to queue L 2 In, look up all identifiers and D in L1 t2,2 The consistent data are deleted, and new data D are obtained t1,2 Is added to L1.
A snapshot mechanism is further introduced, corresponding to each time granularity value, data1 should belong to Data which should be sent after being generated and can have a plurality of values, and the value of Data2 belonging to each time granularity is unique; introducing a snapshot queue Snap, wherein the Data types in the snapshot queue comprise a list and single-value Data, assuming that Data1 is list Data and Data2 is single-value Data, and receiving DaFirst data D of ta1 t1,1 When it is, D t1,1 Is stored in L 1 In the receiving Data2, the first Data D t2,1 When D is greater than D t2,1 Is stored in L 2 In the method, the same data only exists in one queue by adopting a deduplication strategy; or a redundancy strategy is adopted, and the same data can exist in a plurality of queues; because the snapshot is empty at this time, all the data are added into the snapshot and then the data in the source queue are deleted respectively;
if Data1 generates new Data D t1,2 Add it to queue L 1 If the time granularity value is consistent with the time granularity in the snapshot, D is added t1,2 Add to the Data list of the time-granular snapshot Data1, and add D t1,2 From L 1 Deleting; if not, newly creating a snapshot, and adding D t1,2 Add to the Data list of the time-granular snapshot Data1, and add D t1,2 From L 1 Deleting;
if Data2 generates new Data D t2,2 Add it to queue L 2 If the time granularity value is consistent with the time granularity in the snapshot, all identifiers and D in the snapshot are searched t2,2 Consistent data (e.g. D) t2,1 ) And delete D t2,2 Add to the Data list of the time-granular snapshot Data2 and add D t1,2 From L 2 Deleting; if not, newly creating a snapshot, and adding D t2,2 Add to the Data list of the time-granular snapshot Data2 and add D t2,2 From L 2 And (5) deleting.
In the above steps, if the redundancy policy is used, the data does not need to be deleted from the source queue.
Further, judging whether the network slice is available, if so, sending a snapshot priority queue; judging whether the quality of the network slice is greater than a quality threshold, if so, sending data according to the priority order; and if the data is lower than the quality threshold value, transmitting the data of the snapshot priority queue according to the time sequence. The step is to send the data stored in the cache in a grading way, send the snapshot queue preferentially, then send the data with high priority in the cache, and send the data with low priority after the data with high priority is sent.
According to one embodiment of the invention, the rescue video is video information acquired by an image acquisition device arranged in the vehicle, and the video information is transmitted to a server after being acquired so as to be used for judging field information and further remotely guiding rescue based on the judgment; audio data in the vehicle can be periodically acquired and sent to a server or a hospital, or text information is acquired in a periodic voice conversion mode and sent to the server; the patient diagnosis data is obtained through a sensor or a monitoring terminal carried by the carrier, vital sign data of a patient is obtained, information is obtained based on a certain frequency, and the information is sent to a 5G wireless router carried by the carrier. The electrocardiogram data can be original phonocardiogram data or processed characteristic data; the service data is continuously generated, or intermittently generated, or disposable data; for example, basic information of a patient is used for constructing an electronic medical record at a hospital building end, and the electronic medical record belongs to disposable data; the video, audio and blood oxygen data belong to continuously acquired data and belong to continuously generated data; the pulse and the electrocardio belong to data which are generated continuously but can be transmitted intermittently, and belong to data which are generated intermittently, so that different data can be distinguished and processed according to data sources; for example, according to the HL7 data acquired by the 5G router, the file header of the HL7 is acquired to determine the version of the HL7 data, a resolver is configured for the HL7 data, and information such as a message source, an identifier, time, an event type and the like of the HL7 data is resolved, so that the service data to be processed is acquired. Correspondingly, a data dictionary may be configured on the router side, and is used to perform further priority assignment according to the information in the acquired service data, for example, to store a correspondence between a priority and a list of devices, when acquiring the service data, the acquired priority is queried in the data dictionary, and when not queried, the highest priority or a conventional priority is assigned.
According to one embodiment of the invention, since all data sent to the hospital end in the vehicle is not generated and sent continuously, when a time window or granularity is configured, all data can be ensured to be sent without wasting resources; for example, for blood sample data, a sampling period of 100ms may be set, and for image data, a sampling period of 20ms may be set; a longer sampling period may be set for the recording.
According to an embodiment of the present invention, for each time granularity of information, unique ID information should be generated, and considering different data sources, at least different clients may generate different data in a short time and avoid collision of data, or fix data collision within a certain range, for which a random number may be generated in a way of selecting a snowflake ID. When the snowflake ID is adopted, the problem of repeated data transmission of the equipment by the primary key can be solved because the support number of the terminal equipment can be controlled within 1024. In addition, even if the problem of ID collision that may occur in different domains is considered, the collision may be avoided by the form of subbase or auxiliary ID.
According to an embodiment of the invention, after the time information key value is newly created in the snapshot, the snapshot value corresponding to the maximum time information key value lower than the newly created time information key value is used as the value of the newly created time information key value. Since when saving data using the graph, part of the data is still multiplexed at the next time granularity, if the generation of the data is periodic or the generation of the data is one-time, the last received data should be used as the value of the new key when no new data is received at the next time granularity.
According to one embodiment of the invention, after the service data is added to the snapshot map, the priority of the service data is reduced. If part of the service data exists in the high-priority queue and the low-priority queue at the same time, the priority of the corresponding low-priority queue is reduced after the service data is added into the high-priority queue, and therefore the data in the sending queue can keep the priority determined according to the requirements.
According to an embodiment of the present invention, after the service data is added to the snapshot map, the identifier of the service data is added to the identifier list of the snapshot map, and the identifier of the same type of service data is deleted. The step can realize that for the update of single-value data in the snapshot map, in one snapshot map, one type of data can be configured to appear only once, but not to appear multiple times, and the data is ensured to be kept up to date when being sent by means of searching and updating the data in the snapshot map.
According to an embodiment of the invention, the network slice quality is that a new process is created, a sniff packet is sent to an edge server, for example, the length of the sniff packet is configured to be the capacity of cache data, a counter is configured, and if the sniff packet is completed within a timeout period, the completion time is taken as a network quality factor; otherwise, the network is marked as poor quality and no data is sent in the poor quality network environment.
According to an embodiment of the present invention, the server connected to the carrier may be an edge server, the most suitable processing server is determined according to the region, since the edge server may be bound to the first region, the edge server may obtain an optimal edge server by acquiring a location, or may determine a time for the edge server to process data in time by starting a process of sending a test packet, sending a packet with a length (e.g., 10kb to 1 Mb) to the configured edge server, and when the corresponding process starts, recording a time stamp of the start and identifier information of a network slice used, and performing an operation of sending the data packet, and then, within a time threshold range, e.g., 300ms, determining whether a feedback of the edge server is received, and if so, determining a ranking of the edge server according to a returned message (including whether the sending is successful, and a connection task), so as to evaluate the quality of the network slice. After the edge server is selected and the edge server is performed, the data is forwarded to the yard end through the edge server, and the information required by the yard end related to the carrier end is synchronized to the edge server side.
According to one embodiment of the invention, if the start timestamp of a received return packet is lower than the existing value, the network slice used by the return packet is marked as a low quality network. In some cases, the packet returned by the edge server should be marked as a low quality network if the information contained in the packet significantly exceeds a threshold. If a new transmission task exists after the transmission time of the packet, the network quality score is updated according to the new transmission task.
According to one embodiment of the invention, the sniffing packets can be performed intermittently or continuously, for example, according to the acquired vehicle speed, the frequency is reduced when the vehicle is running at low speed, and the frequency of the test is increased when the vehicle is higher than 20 m/s. In particular, when the vehicle is a low-altitude aircraft, the sampling frequency should be increased appropriately, for example, a test period of 100ms is set, and accordingly, the counter configured for the sending sniffing packet may also be set to a threshold value which is decreased in a targeted manner, for example, to 100ms.
Based on the method, the data are aligned locally, so that the consistency and the continuity of the data are ensured; the data is processed in a grading way, so that the data is guaranteed to be stored and sent according to the priority, and the bandwidth is guaranteed to meet the transmission of the priority data; the network verification is carried out by detecting the accessibility of the edge server, so that the operation cost is effectively reduced.
Those of ordinary skill in the art will appreciate that the modules and algorithm steps described in connection with the embodiments disclosed herein can be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working process of the apparatus and the device described above may refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed coupling or direct coupling or communication connection between each other may be through some interfaces, indirect coupling or communication connection between devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, each functional module in the embodiments of the present invention may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module.
The functions may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as separate products. 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 several 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 for transmitting/receiving the power saving signal according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by a person skilled in the art that the scope of the invention according to the present application is not limited to the specific combination of the above-mentioned features, but also covers other embodiments where any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.
It should be understood that, the serial numbers of the steps in the summary and the embodiments of the present invention do not absolutely imply the sequence of execution, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.

Claims (10)

1. A pre-hospital emergency transmission method based on a 5G network comprises the following steps:
the 5G wireless router arranged on the carrier receives service data sent by the medical terminal;
acquiring a terminal identifier in the service data, classifying the service data according to the terminal identifier, acquiring the classification information of the service data, and assigning the identifier to the service data so that all the service data have different identifiers; adding the service data into a service data list corresponding to the priority according to the priority of the service data;
acquiring time information of the service data, detecting whether a time information key value with corresponding granularity exists in a snapshot map, if not, establishing the time information key value newly, and storing the service data; if yes, updating the service data corresponding to the time information key value;
detecting whether the time granularity value is changed, if so, acquiring a time granularity list ordered according to the time granularity value, acquiring the service data included in the time granularity list, generating a time granularity snapshot according to the service data, storing the time granularity snapshot to a snapshot priority queue, and deleting the service data of which the snapshot is generated; the time-granularity snapshot contains an identifier list of the business data;
judging whether the network slice is available, if so, sending a snapshot priority queue; judging whether the quality of the network slice is greater than a quality threshold, if so, sending data according to a priority order; if the quality threshold is lower, the data is transmitted in chronological order.
2. The method of claim 1, wherein the business data includes rescue video, patient sign data, patient basic information, patient diagnosis data, and carrier information, the carrier information includes vehicle speed and position information, and the patient diagnosis data includes ecg, oximetry, pulse, blood pressure, ventilator, recorder, and defibrillator.
3. The method of claim 2, wherein the time granularity value is 20-50 ms.
4. The method of claim 3, wherein the identifier is a random number with a length of 64-512 bits.
5. The method of claim 4, wherein after the time information key is created in the snapshot, a snapshot value corresponding to a maximum value lower than the time information key is used as the value of the time information key.
6. The method for pre-hospital emergency transmission based on 5G network as claimed in claim 5, wherein the priority of the service data is lowered after the service data is added to the snapshot.
7. The method for transmitting pre-hospital emergency based on 5G network as claimed in claim 6, wherein after the traffic data is added to the snapshot, the identifiers are added to the list of identifiers in the snapshot and the identifiers of the same kind are deleted.
8. The method as claimed in claim 7, wherein the quality of the network slice is determined by creating a new process, sending a sniff packet to the edge server, starting a timer, receiving a response packet from the edge server, and if the response packet is received within a timeout period, taking the completion time as a network quality factor.
9. The method of claim 8, wherein the network slice used by the received return packet is marked as a low quality network when a start timestamp of the return packet is lower than an existing value.
10. A pre-hospital emergency transmission system based on a 5G network is characterized by comprising:
a service data acquisition module: the method comprises the steps that a 5G wireless router arranged on a carrier receives service data sent by a medical terminal;
a service data list establishing module: acquiring a terminal identifier in the service data, classifying the service data according to the terminal identifier, acquiring the classification information of the service data, and assigning the identifier to the service data so that all the service data have different identifiers; adding the service data into a service data list corresponding to the priority according to the priority of the service data;
the time information key value establishing module: acquiring time information of the service data, detecting whether a time information key value with corresponding granularity exists in a snapshot, if not, establishing the time information key value newly, and storing the service data; if the time information key value exists, the business data corresponding to the time information key value is updated;
a time granularity list establishing module: detecting whether the time granularity value is changed, if so, acquiring a time granularity list ordered according to the time granularity value, acquiring the service data included in the time granularity list, generating a time granularity snapshot according to the service data, storing the time granularity snapshot to a snapshot priority queue, and deleting the service data of which the snapshot is generated; the time-granularity snapshot contains an identifier list of the service data;
a data sending module: judging whether the network slice is available, if so, sending a snapshot priority queue; judging whether the quality of the network slice is greater than a quality threshold, if so, sending data according to a priority order; if the quality threshold is lower, the data is transmitted in chronological order.
CN202211373090.XA 2022-11-04 2022-11-04 Pre-hospital emergency transmission method based on 5G network Active CN115551002B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211373090.XA CN115551002B (en) 2022-11-04 2022-11-04 Pre-hospital emergency transmission method based on 5G network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211373090.XA CN115551002B (en) 2022-11-04 2022-11-04 Pre-hospital emergency transmission method based on 5G network

Publications (2)

Publication Number Publication Date
CN115551002A true CN115551002A (en) 2022-12-30
CN115551002B CN115551002B (en) 2023-04-18

Family

ID=84721109

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211373090.XA Active CN115551002B (en) 2022-11-04 2022-11-04 Pre-hospital emergency transmission method based on 5G network

Country Status (1)

Country Link
CN (1) CN115551002B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210243639A1 (en) * 2020-01-31 2021-08-05 Dell Products, Lp System and method for prioritization of network traffic across multiple wireless options
CN114125904A (en) * 2021-12-10 2022-03-01 南方电网数字电网研究院有限公司 Service bearing distribution method and system based on 5G electric power
CN114302357A (en) * 2021-12-31 2022-04-08 联通(广东)产业互联网有限公司 Pre-hospital emergency transmission method, device, equipment and medium based on 5G private medical network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112423347B (en) * 2020-11-02 2023-08-11 中国联合网络通信集团有限公司 QoS guarantee method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210243639A1 (en) * 2020-01-31 2021-08-05 Dell Products, Lp System and method for prioritization of network traffic across multiple wireless options
CN114125904A (en) * 2021-12-10 2022-03-01 南方电网数字电网研究院有限公司 Service bearing distribution method and system based on 5G electric power
CN114302357A (en) * 2021-12-31 2022-04-08 联通(广东)产业互联网有限公司 Pre-hospital emergency transmission method, device, equipment and medium based on 5G private medical network

Also Published As

Publication number Publication date
CN115551002B (en) 2023-04-18

Similar Documents

Publication Publication Date Title
CN108011904B (en) Information sending method, receiving method, device and information receiving and sending system
US8543082B2 (en) Method and system for transmitting the notification message in earthquake and tsunami warning system
US20100331017A1 (en) Method and system of efficiently using mobile terminal context
WO2003103225A1 (en) Managing data packet routing for heterogeneous communication links
JP6945627B2 (en) Service request handling
US20170215064A1 (en) Communication method in vehicular wireless communication system and vehicular wireless communication system for transmission of necessary information only from a sensor to the network
CN114302357A (en) Pre-hospital emergency transmission method, device, equipment and medium based on 5G private medical network
CN111884868B (en) Network slice reservation method and device
CN115551002B (en) Pre-hospital emergency transmission method based on 5G network
CN115796844A (en) Dynamic updating method of alarm threshold, terminal equipment and system
CN113691600A (en) Synchronization method and device of equipment state information and computer readable storage medium
CN110100421B (en) Medical device and method for facilitating remote medical support
CN111885173B (en) ECU (electronic control unit) conforming to AUTOSAR (automotive open system architecture) and sleep/wake-up management method thereof
CN110519712A (en) Information processing method and device, network element and storage medium
CN115426686B (en) Pre-hospital emergency transmission method based on bloom filter
CN115515184B (en) Service data sending method
CN116825301A (en) Pre-hospital medical first-aid information system based on 5G
CN113905090B (en) Message pushing method, device, server, electronic equipment and storage medium
Apilo et al. Experimental evaluation of a traffic warning system based on accurate driver condition assessment and 5G connectivity
CN107678293A (en) A kind of smart home health management information data-pushing management method
CN112261124B (en) Method and system for reporting vehicle state data and method for checking vehicle state
CN115426684A (en) Pre-hospital data receiving method
CN116963193A (en) Data transmission method, device, equipment, storage medium and product
CN115968042B (en) Resource allocation method of mobile medical vehicle
CN113891365B (en) Relay device control method, device, system and storage medium

Legal Events

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