Disclosure of Invention
Therefore, the invention provides a rescue information processing method, a device and a readable medium based on a data interface, which aim to solve the problem that support cannot be timely and effectively provided due to inaccurate rescue information mastering in the prior art.
In order to achieve the above purpose, the invention provides the following technical scheme:
according to a first aspect of the present invention, a rescue information processing method based on a data interface is provided, which specifically includes the following steps:
s1: the method comprises the steps that a rescue station receives an access request, determines a first data interface based on identity information, receives first data sent by a person to be rescued through the first data interface, and obtains a first preset value according to the first data and a first preset algorithm, wherein the first preset value represents position information of the person to be rescued;
s2: if the first preset value meets a first preset condition, opening a second data interface, establishing communication connection between the person to be rescued and the rescue site, and receiving second data and third data sent by the person to be rescued; if the first preset value does not meet the first preset condition, opening a third data interface, and sending a support request to a station close to the person to be rescued;
s3: the rescue station obtains a second preset value according to the second data and a second preset algorithm, wherein the second preset value represents the life state information of the person to be rescued; obtaining a third preset value according to the third data and a third preset algorithm, wherein the third preset value represents the demand information of the person to be rescued; evaluating the rescue difficulty value of the person to be rescued according to the first preset value, the second preset value and the third preset value;
s4: the rescue station acquires fourth data, fifth data and sixth data inside the station; obtaining a fourth preset value according to the fourth data and a fourth preset algorithm, wherein the fourth preset value represents material allocation information of the rescue station; obtaining a fifth preset value according to the fifth data and a fifth preset algorithm, wherein the fifth preset value represents personnel information of a rescue station; obtaining a sixth preset value according to the sixth data and a sixth preset algorithm, wherein the sixth preset value represents route planning information of a rescue station; evaluating the rescue capacity value of the rescue station according to the fourth preset value, the fifth preset value and the sixth preset value;
s5: if the rescue difficulty value of the person to be rescued and the rescue capacity value of the rescue station meet a second preset condition, the capability of the rescue station is sufficient; and if the rescue difficulty value of the person to be rescued and the rescue ability value of the rescue station do not meet a second preset condition, indicating that the rescue station has insufficient ability.
Further, the first preset condition is 0<W1<L;
Wherein, W1And L is a first preset value, and the maximum rescue distance acceptable by the preset rescue station.
Further, the formula for evaluating the rescue difficulty value of the person to be rescued is as follows:
θ1=K1*W1+ K2*W2+ K3*W3 (1)
wherein, theta1For rescue difficulty value, W1At a first predetermined value, K1A predetermined weight, W, of a first predetermined value2At a second predetermined value, K2A preset weight, W, of a second preset value3At a third preset value, K3And is a preset weight of a third preset value.
Further, the formula for evaluating the rescue ability value of the rescue station is as follows:
θ2 =K4*W4+ K5*W5+ K6*W6 (2)
wherein, theta2For rescue ability value, W4At a fourth preset value, K4Preset weight, W, for a fourth preset value5At a fifth preset value, K5Is a preset weight of a fifth preset value, W6Is a sixth preset value, K6Is a preset weight of a sixth preset value.
Further, a third preset condition is included, and on the basis of the situation that the capacity of the rescue station is insufficient, if the rescue difficulty value of the person to be rescued and the rescue capacity value of the rescue station meet the third preset condition, the rescue station stands by in place, opens a third data interface, and sends a support signal to a nearby rescue station or a rescue master station; and if the rescue difficulty value of the person to be rescued and the rescue capacity value of the rescue station do not meet a third preset condition, reducing the amount of rescue by the rescue station, opening a third data interface, and sending a support signal to nearby rescue stations.
Further, a fourth preset condition is included, based on step S4, if the rescue difficulty value of the person to be rescued and the rescue ability value of the rescue station satisfy the fourth preset condition, it indicates that the capability of the rescue station is far insufficient and cannot provide support for the rescue station, and a third data interface is opened to send a support signal to a nearby rescue station or a rescue master station.
Further, the second preset condition is θ1<θ2;
The third preset condition is theta1>2θ2;
The fourth preset condition is theta1*θ2<0;
Wherein, theta1Is the rescue difficulty value of the person to be rescued, theta2The rescue ability value of the rescue station of the person to be rescued.
Further, the first preset algorithm is as follows:
W1=ρ+C*δ (3)
wherein, W1The clock error is a first preset value, rho is the distance from the satellite to the rescue station, delta is the clock error of the receiver clock, and C is the clock error times of the receiver clock;
the second preset algorithm is as follows:
wherein, W2Is a second preset value, f1(a) The function is a second preset function, wherein a represents the injury of the person to be rescued, and b represents the environment of the person to be rescued;
the third preset algorithm is as follows:
wherein, W3Is a third preset value, i represents the number of parameters in the third data, fcn(Cn) Is a third predetermined function, xcnIs a predetermined weight, x, corresponding to cncnDetermining the degree of influence of cn on the state of the person to be rescued, CnRepresenting the nth parameter in the third data, wherein the value range of n is an integer which is greater than or equal to 1 and less than or equal to i;
the fourth preset algorithm is as follows:
wherein, W4Is a fourth preset value, i represents the number of parameters in the fourth data, fdn(dn) Is a fourth predetermined function, xdnIs a predetermined weight, x, corresponding to dndnAccording to the degree of importance of dn to rescue, dnRepresenting the nth parameter in the fourth data, wherein the value range of n is an integer which is greater than or equal to 1 and less than or equal to i;
the fifth preset algorithm is as follows:
wherein, W5Is a fifth preset value, i represents the number of parameters in the fifth data, fen(en) Is a fifth predetermined function, xenIs a preset weight, x, corresponding to enenDetermined by the person to which en corresponds, enRepresenting the nth parameter in the fifth data, wherein the value range of n is an integer which is greater than or equal to 1 and less than or equal to i;
the sixth preset algorithm is as follows:
wherein, W6Is a sixth preset value, f6(c) For the sixth preset function, c represents the road surface smoothness of the road, and d represents the traffic jam.
According to a second aspect of the present invention, there is provided a rescue information processing apparatus based on a data interface, including:
the device comprises a request receiving module, a first sending module and a second sending module, wherein the request receiving module is used for receiving an access request sent by a person to be rescued, and the access request carries identity card information of a requester;
the first data interface determining module is used for determining a first data interface based on the identity information of the person to be rescued and supporting receiving of first data;
the second data interface determining module is used for opening a second data interface and establishing communication connection between the person to be rescued and the rescue station based on the first preset value meeting the first preset condition;
the third data interface determining module is used for opening a third data interface and supporting the sending of a rescue request to other rescue sites based on the fact that the first preset value does not meet the first preset condition or the rescue difficulty value of the person to be rescued and the rescue ability value of the rescue site do not meet the second preset condition;
a memory for storing computer execution instructions;
a processor for executing the computer-executable instructions stored in the memory to enable the device to execute any one of the rescue information processing methods based on the data interface.
According to a third aspect of the present invention, there is provided a computer-readable medium including a program and instructions, when the program or instructions are run on a computer, the rescue information processing method based on a data interface according to any one of the above is implemented.
The invention has the following advantages:
according to the invention, whether the rescue station is the nearest station or not is judged by comparing the first preset conditions, so that a person to be rescued can be supported in time, and delay of rescue time on the way is avoided. If the first preset value does not meet the first preset condition, sending a rescue request to other rescue stations; and if the first preset value meets a first preset condition, receiving other rescue information of the person to be rescued, and evaluating the rescue difficulty value of the person to be rescued according to the first preset value, the second preset value and the third preset value. And simultaneously analyzing the response capability condition inside the rescue station, and evaluating the rescue capability value of the rescue station according to the fourth preset value, the fifth preset value and the sixth preset value. And comparing the rescue difficulty value of the person to be rescued with the rescue ability value of the rescue station through a second preset condition, and judging whether the rescue station has the ability to rescue. The response measures are automatically generated according to the capacity of the rescue station, the analysis time of manual operation is reduced, rescue personnel can quickly implement rescue, precious rescue time is won, and therefore the success rate of rescue actions is greatly improved.
Detailed Description
The present invention is described in terms of particular embodiments, other advantages and features of the invention will become apparent to those skilled in the art from the following disclosure, and it is to be understood that the described embodiments are merely exemplary of the invention and that it is not intended to limit the invention to the particular embodiments disclosed. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In a first aspect, an embodiment of the present application provides a rescue information processing method based on a data interface, which specifically includes the following steps:
s1: the method comprises the steps that a person to be rescued sends an access request and rescue information, wherein the access request carries identity card information of a requester, and the identity information refers to identification information bound between the person to be rescued and a rescue site, so that the rescue site can conveniently identify the authenticity of the access request;
the rescue information comprises first data, second data and third data, wherein the first data are satellite positioning information of the person to be rescued, the second data comprise environmental information and injury information of the person to be rescued, and the third data comprise medicine information, food information and clothes information required by the person to be rescued;
the rescue station receives the access request, determines a first data interface based on the identity information, receives first data sent by a person to be rescued through the first data interface, and obtains a first preset value according to the first data and a first preset algorithm, wherein the first preset value represents position information of the person to be rescued;
the first preset algorithm is as follows:
W1=ρ+C*δ (3)
wherein, W1The clock error is a first preset value, rho is the distance from the satellite to the rescue station, delta is the clock error of the receiver clock, and C is the clock error times of the receiver clock.
S2: if the first preset value meets the first preset condition, opening a second data interface, establishing communication connection between the person to be rescued and the rescue site, and receiving second data and third data; if the first preset value does not meet the first preset condition, opening a third data interface, and sending a support request to a station close to the person to be rescued;
the first preset condition is 0<W1<L;
Wherein, W1Is as followsAnd L is a preset farthest rescue distance acceptable by the rescue station.
The farthest distance for timely rescue is set, the nearest rescue station can be conveniently allocated, the nearest rescue station can obtain rescue information in time, a support scheme is quickly generated, and the delay of the optimal rescue time is avoided.
S3: the rescue station obtains a second preset value according to the second data and a second preset algorithm, and the second preset value represents the life state information of the person to be rescued;
the second preset algorithm is
Wherein, W2Is a second preset value, f1(a) And a represents the injury of the person to be rescued and b represents the environment of the person to be rescued as a second preset function.
The value of a is an integer of 0-3, which represents that the injury degree of the patient is light, medium and heavy; the value of b is an integer of 1-2, which represents that the environmental conditions around the patient are normal and abnormal.
Obtaining a third preset value according to the third data and a third preset algorithm, wherein the third preset value represents the demand information of the person to be rescued;
the third preset algorithm is
Wherein, W3Is a third preset value, i represents the number of parameters in the third data, fcn(Cn) Is a third predetermined function, xcnIs a predetermined weight, x, corresponding to cncnDetermining the degree of influence of cn on the state of the person to be rescued, CnAnd the value range of n is an integer which is greater than or equal to 1 and less than or equal to i.
CnMedication, food and clothing information representing the patient's needs, respectively. Each piece of information represents a different function equation,and then summing to obtain a third preset value.
Evaluating the rescue difficulty value of the person to be rescued according to the first preset value, the second preset value and the third preset value;
the formula for evaluating the rescue difficulty value of the person to be rescued is as follows:
θ1=K1*W1+ K2*W2+ K3*W3 (1)
wherein, theta1For rescue difficulty value, W1At a first predetermined value, K1A predetermined weight, W, of a first predetermined value2At a second predetermined value, K2A preset weight, W, of a second preset value3At a third preset value, K3And is a preset weight of a third preset value.
S4: the rescue station acquires basic information inside the station, wherein the basic information comprises fourth data, fifth data and sixth data, the fourth data is information for medicine preparation and equipment preparation in the station, the fifth data is basic information of staff in the station, and the sixth data is route planning information;
obtaining a fourth preset value according to the fourth data and a fourth preset algorithm, wherein the fourth preset value represents the material allocation information of the rescue station;
the fourth preset algorithm is
Wherein, W4Is a fourth preset value, i represents the number of parameters in the fourth data, fdn(dn) Is a fourth predetermined function, xdnIs a predetermined weight, x, corresponding to dndnAccording to the degree of importance of dn to rescue, dnAnd the nth parameter in the fourth data is represented, and the value range of n is an integer which is greater than or equal to 1 and less than or equal to i.
dnDrug compounding and device compounding information representing the patient's needs, respectively. And each piece of information represents a different function equation, and the different function equations are summed to obtain a fourth preset value.
Obtaining a fifth preset value according to the fifth data and a fifth preset algorithm, wherein the fifth preset value represents personnel information of the rescue station;
the fifth preset algorithm is
Wherein, W5Is a fifth preset value, i represents the number of parameters in the fifth data, fen(en) Is a fifth predetermined function, xenIs a preset weight, x, corresponding to enenDetermined by the person to which en corresponds, enAnd the nth parameter in the fifth data is represented, and the value range of n is an integer which is greater than or equal to 1 and less than or equal to i.
enRespectively, representing the person who needs to move. Each worker's physical fitness varies, fen(en) And (4) summing the index function representing each person and the number of the staff to obtain the total score of the staff at the rescue site.
Obtaining a sixth preset value according to the sixth data and a sixth preset algorithm, wherein the sixth preset value represents route planning information of the rescue station;
the sixth preset algorithm is
Wherein, W6Is a sixth preset value, f6(c) For the sixth preset function, c represents the road surface smoothness of the road, and d represents the traffic jam.
The value of c is an integer of 0-1, which represents that the road surface is flat and uneven; the value of d is an integer of 1-2, which represents that the road condition is smooth and crowded.
Evaluating the rescue capacity value of the rescue station according to the fourth preset value, the fifth preset value and the sixth preset value;
the formula for evaluating the rescue ability value of the rescue station is as follows:
θ2 =K4*W4+ K5*W5+ K6*W6 (2)
wherein, theta2For rescue ability value, W4At a fourth preset value, K4Preset weight, W, for a fourth preset value5At a fifth preset value, K5Is a preset weight of a fifth preset value, W6Is a sixth preset value, K6Is a preset weight of a sixth preset value.
S5: the second preset condition is theta1<θ2;
Wherein, theta1Is the rescue difficulty value of the person to be rescued, theta2The rescue ability value of the rescue station of the person to be rescued.
If the rescue difficulty value of the person to be rescued and the rescue ability value of the rescue station meet a second preset condition, the capability of the rescue station is sufficient, the person to be rescued can be rescued in a sufficient amount, and the rescue is performed by equally distributing the existing resources and personnel of the rescue station; and if the rescue difficulty value of the person to be rescued and the rescue ability value of the rescue station do not meet the second preset condition, indicating that the rescue station has insufficient ability.
Based on the condition that the capacity of the rescue station is insufficient, the method further comprises a third preset condition, wherein the third preset condition is theta1>2θ2;
Wherein, theta1Is the rescue difficulty value of the person to be rescued, theta2The rescue ability value of the rescue station of the person to be rescued.
If the rescue difficulty value of the person to be rescued and the rescue capacity value of the rescue station meet a third preset condition and indicate that personnel and materials in the rescue station can not support rescue far, the rescue station stands by in situ, a third data interface is opened, a support signal is sent to a nearby rescue station or a rescue master station, and tasks are distributed by the rescue master station or other rescue stations are used for rescue; and if the rescue difficulty value of the person to be rescued and the rescue ability value of the rescue station do not meet the third preset condition, the rescue station performs rescue according to the self capacity reduction, reserve materials are reserved, a third data interface is opened, and a support signal is sent to the nearby rescue station.
After the rescue difficulty value and the rescue ability value are obtained through calculation, the first preset condition is brought into for preliminary screening, sufficient rescue is carried out or next screening is carried out according to the result, when the rescue station capacity is insufficient, different rescue schemes are selected according to the third preset condition, the process is carried out fully automatically, and the time wasted by manual operation is reduced. And response measures are generated according to the capacity of the rescue station, so that the analysis time of manual operation is reduced, rescue personnel can quickly implement rescue, precious rescue time is won, and the success rate of rescue actions is greatly improved.
The method also comprises a fourth preset condition, wherein the fourth preset condition is theta1*θ2<0;
Wherein, theta1Is the rescue difficulty value of the person to be rescued, theta2The rescue ability value of the rescue station of the person to be rescued.
After the step S4, the calculated rescue difficulty value and rescue ability value may be directly compared with a fourth preset condition, and if the fourth preset condition is satisfied, the step S5 is not needed, so that a process of bringing in the comparison condition is omitted, and the operation time is saved. And if the rescue difficulty value of the person to be rescued and the rescue capacity value of the rescue station meet the fourth preset condition, the situation that the rescue station is far insufficient in capacity and cannot provide support for the rescue station is represented, the third data interface is opened, and a support signal is sent to a nearby rescue station or a rescue master station.
In a second aspect, an embodiment of the present application provides a rescue information processing apparatus based on a data interface, including: the device comprises a request receiving module, a first sending module and a second sending module, wherein the request receiving module is used for receiving an access request sent by a person to be rescued, and the access request carries identity card information of a requester; the first data interface determining module is used for determining a first data interface based on the identity information of the person to be rescued and supporting receiving of first data; the second data interface determining module is used for opening a second data interface based on the first preset value meeting the first preset condition, establishing communication connection between a person to be rescued and a rescue site, and acquiring information and inquiring the person to be rescued by utilizing the communication channel; the third data interface determining module is used for opening a third data interface and supporting the sending of a rescue request to other rescue sites based on the fact that the first preset value does not meet the first preset condition or the rescue difficulty value of the person to be rescued and the rescue ability value of the rescue site do not meet the second preset condition;
by using the module, the rescue station receives data in a screening manner, so that a support scheme beneficial to rescue is generated, automatic access to an access party is completed, and a dispatching scheme is automatically generated according to the rescue difficulty and the capability of the rescue station.
Also included are a memory and a processor. A memory for storing computer execution instructions; and the processor is used for executing the computer execution instructions stored in the memory so as to enable the device to execute the rescue information processing method based on the data interface.
In a third aspect, an embodiment of the present application provides a computer-readable medium, which includes a program and instructions, and when the program or the instructions are run on a computer, the rescue information processing method based on a data interface is implemented.
Although the invention has been described in detail above with reference to a general description and specific examples, it will be apparent to one skilled in the art that modifications or improvements may be made thereto based on the invention. Accordingly, such modifications and improvements are intended to be within the scope of the invention as claimed.