CN110572768B - Alarm method, device, equipment and storage medium - Google Patents
Alarm method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN110572768B CN110572768B CN201910662804.0A CN201910662804A CN110572768B CN 110572768 B CN110572768 B CN 110572768B CN 201910662804 A CN201910662804 A CN 201910662804A CN 110572768 B CN110572768 B CN 110572768B
- Authority
- CN
- China
- Prior art keywords
- user
- position information
- alarm
- order
- threshold value
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
- G06Q10/083—Shipping
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
- G06Q10/083—Shipping
- G06Q10/0833—Tracking
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B25/00—Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems
- G08B25/01—Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium
- G08B25/08—Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium using communication transmission lines
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/023—Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/90—Services for handling of emergency or hazardous situations, e.g. earthquake and tsunami warning systems [ETWS]
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Economics (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Operations Research (AREA)
- Marketing (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- General Business, Economics & Management (AREA)
- Development Economics (AREA)
- Emergency Management (AREA)
- Entrepreneurship & Innovation (AREA)
- Human Resources & Organizations (AREA)
- Computer Networks & Wireless Communication (AREA)
- Tourism & Hospitality (AREA)
- Quality & Reliability (AREA)
- Strategic Management (AREA)
- Health & Medical Sciences (AREA)
- Environmental & Geological Engineering (AREA)
- Public Health (AREA)
- Alarm Systems (AREA)
Abstract
The invention discloses an alarm method, an alarm device, alarm equipment and a storage medium. The method comprises the steps of receiving an alarm request sent by a client end in response to a wake-up operation; acquiring first position information of distribution personnel and second position information of a user; and if the distance difference between the first position information and the second position information is smaller than a first threshold value, alarming to an alarming end. Through the technical scheme, the alarm function of the corresponding client is started based on the relative position relation between the distribution personnel and the user, and the corresponding alarm scheme is provided for the user according to the actual situation, so that the user can alarm simply, conveniently and quickly.
Description
Technical Field
The embodiment of the invention relates to the technical field of Internet, in particular to an alarm method, an alarm device, alarm equipment and a storage medium.
Background
With the development of the application of the network reservation freight transportation service, more and more users select to obtain the freight transportation service in a network reservation mode, and generally the users and drivers are strangers who do not know each other.
When goods are transported, some users and drivers take a vehicle together, and when the drivers threaten the personal safety of the users, the users can give an alarm by dialing a telephone. For example, when a user finds that a driver threatens the personal safety of the user, the user immediately picks up a mobile phone to unlock the mobile phone and dials an alarm call. The whole alarming process is complicated and consumes long time.
Disclosure of Invention
In order to solve the above problem, embodiments of the present invention provide an alarm method, an alarm device, an alarm apparatus, and a storage medium, which are used to provide an alarm method for a user in an order distribution process according to actual situations.
In a first aspect, an embodiment of the present invention provides an alarm method, where the method includes:
receiving an alarm request sent by a client in response to a wake-up operation;
acquiring first position information of a delivery person and second position information of a user in the process of delivering an order of the user;
and if the distance difference between the first position information and the second position information is smaller than a first threshold value, alarming to an alarming end.
In a second aspect, an embodiment of the present invention provides an alarm apparatus, including:
the receiving module is used for receiving an alarm request sent by a client in response to the awakening operation;
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring first position information of a delivery person and second position information of a user in the process of delivering an order of the user;
and the alarm module is used for alarming to an alarm end if the distance difference between the first position information and the second position information is smaller than a first threshold value.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, and a memory, where the memory is configured to store one or more computer instructions, and when the one or more computer instructions are executed by the processor, the electronic device implements the alarm method according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer storage medium for storing a computer program, where the computer program is used to make a computer implement the alarm method in the first aspect when executed.
In the embodiment of the invention, in the process that the delivery personnel deliver the order for the user, if the server receives an alarm request sent by the client in response to the awakening operation, the server acquires the first position information of the delivery personnel and the second position information of the user. When the difference value between the first position information and the second position information is smaller than the first threshold value through judgment, the user and the delivery personnel can be considered to take the same freight vehicle, and the personal safety of the user can be possibly threatened by the delivery personnel. Therefore, after the service end receives the alarm request sent by the user and determines that the user and the distributor take the same freight transport vehicle, the service end gives an alarm to the alarm end. By the technical scheme, the client needing to start the alarm function is determined based on the relative position relation between the distribution personnel and the user, a simple, convenient and quick alarm mode is provided for the user with the real potential threat, the alarm speed of the user is improved, and the false alarm condition can be effectively avoided.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic flow chart of an alarm method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an alarm process provided by an embodiment of the invention;
fig. 3 is a schematic flow chart of a server determining process according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an alarm device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device corresponding to the alarm device provided in the embodiment of fig. 4.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. 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.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, and "a" and "an" generally include at least two, but do not exclude at least one, unless the context clearly dictates otherwise.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
It is also noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a good or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such good or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a commodity or system that includes the element.
The alarm method is mainly suitable for meeting the rapid alarm requirements of users in the process of carrying out order distribution. For example, assuming that a user has a cargo transportation demand, the user sends a cargo transportation request to the server, and the server allocates a delivery person capable of providing the cargo transportation service to the user according to the cargo transportation request. After the delivery personnel arrive at the goods receiving place appointed by the user and complete the goods loading, the order delivery is started. At this time, if the user selects to take a vehicle for goods transportation together with the delivery person, the user will keep close contact with the delivery person during order delivery, and the delivery person will pose a potential threat to the personal safety of the user. If the user does not follow the delivery personnel to carry out order delivery together, or the user drives the vehicle to follow the goods transportation vehicle to carry out order delivery by himself, in the order delivery process, the user does not keep close contact with the delivery personnel, and the delivery personnel do not pose a potential threat to the personal safety of the user. Therefore, a need exists for a method that can identify whether a user has a potential threat and provide a quick alarm for the user with the potential threat, so as to ensure that the user can give an alarm quickly in the face of an emergency and provide a strong guarantee for the personal safety of the user. The following describes the alarm method according to the embodiment of the present application:
fig. 1 is a schematic flow chart of an alarm method according to an embodiment of the present invention. The alarm method can be applied to a server and mainly comprises the following steps:
101: and receiving an alarm request sent by the client in response to the awakening operation.
102: the method comprises the steps of obtaining first position information of a delivery person and second position information of a user in the process of delivering an order of the user.
103: and if the distance difference between the first position information and the second position information is smaller than a first threshold value, alarming to an alarming end.
The wake-up operation referred to herein may include: any of the following: the method comprises the steps of making a specific sound, pressing a set key on a user terminal and triggering a set shaking behavior on the user terminal, wherein the waking operation in the scheme does not comprise the waking operation needing a complicated operation process, such as calling and the like. The wake-up operation that emits a specific sound, for example, may be a voice wake-up operation, which is to wake up the client after the user speaks a wake-up word. Pressing a set key on the user terminal may include: a touch screen awakening operation and a physical key awakening operation. For example, the touch screen wake-up operation is that the user can wake up the client after touching the touch screen. The physical key wake-up operation is that the user can wake up the client after pressing a physical button (such as an on-off key, a volume key, a Home key, and the like) on the user terminal of the user installed with the client. The shaking behavior set for triggering the user terminal may be, for example, a shaking-to-shaking wake-up operation, where a user holds the user terminal with the client and can wake up the client after shaking. Through the simple awakening operation, the method is more suitable for the emergency situation that a user is inconvenient to alarm by dialing a telephone.
The wake-up operation in the client may be customized by the user through the client, for example, the user may simultaneously define the voice wake-up operation and the shake wake-up operation in the client according to the need of the user, so that the user may wake up the client through any one of the two defined wake-up operations.
For example, fig. 2 is a schematic diagram of an alarm system according to an embodiment of the present invention. As can be seen from the figure, the alarm system includes a user holding a user terminal, a distributor, a client installed in the user terminal, a server, and an alarm. If the user meets a dangerous condition and cannot touch the mobile phone, after the user shouts the voice awakening word of 'alarm', the client of the user is awakened, and the client sends an alarm request to the server. It is easy to understand that the wake-up word corresponding to the voice wake-up operation can be set by the user himself, for example, the wake-up word can be set to "alarm", "save", "110", etc. In the using process, when a user only speaks a wake-up word (for example, an alarm), the client can be awakened, and when the user speaks a long sentence containing the wake-up word (for example, hurry up to me alarm), the client can also be awakened, so that the awakening requirement of the user can be better responded.
In practical application, in order to ensure that an alarm request sent by a client is real and reliable, after receiving the alarm request, a server does not directly give an alarm to an alarm end, but determines whether to give an alarm or not after judging the current actual condition. As shown in fig. 2, during order distribution, when the user and the distribution personnel are in the same vehicle, a situation may occur that the distribution personnel threaten the personal safety of the user, and in such a practical situation, the server side may give an alarm.
It should be noted that, in the process of delivering an order, the user and the delivery person are in a moving state, and the corresponding positions at different times are different. In order to accurately judge whether the user and the delivery personnel are on the same transport vehicle in the delivery process, the server side needs to acquire the first position information of the delivery personnel and the second position information of the user at the same time. If the difference between the time when the server side acquires the first position information and the time when the server side acquires the second position information is large, the difference between the distances between the first position information and the second position information is too large, and the position relation between the user and the distribution personnel is not accurately judged. For example, assuming that the user and the distributor are in the same vehicle, when the speed is 100KM/h, but the difference between the two times is 1 second, the corresponding distance difference is detected to be about 27 meters, which is much larger than the first threshold (for example, the first threshold is typically 2 meters). Therefore, when the difference between the two location information acquisition times is large, the server needs to acquire the location information of the distribution personnel and the user again.
After the server judges and decides to alarm, the server can directly alarm the alarm end without the participation of a user in a specific alarm process, so that the alarm is more direct and efficient. The server side can also control the client side of the user to alarm, so that the alarm side can conveniently receive the latest alarm information of the user in real time, such as the latest on-site voice information, the latest on-site image information and the like.
As an alternative embodiment, a determination method for determining whether the user and the delivery person are on the same vehicle is provided. Fig. 3 is a schematic flow chart of a server side determination process, which includes the following steps:
301: inquiring the order which corresponds to the user identification and is being delivered; the first position information of the delivery personnel is the position information of the delivery personnel delivering the order; the second location information of the user is the location information of the user during the order distribution process.
302: and if the distance difference between the first position information and the initial address of the order is greater than a second threshold value, and the distance difference between the first position information and the second position information is smaller than a first threshold value, alarming to an alarming end, wherein the first threshold value is smaller than the second threshold value.
It is easily understood that the delivery orders are usually distributed and managed by the server, and the server stores the user identifier and the registration information of the delivery personnel corresponding to each distributed order, such as the name, contact address, home address, identification number, etc. of the delivery personnel. As can be seen from the foregoing, the alarm method according to the present application is mainly applicable to meeting the rapid alarm requirement of the user during the delivery order process. Therefore, after receiving the alarm request from the client, the server first needs to determine whether the user has an order being delivered. As an alternative embodiment, the specific way to determine whether the user has an order being delivered is as follows:
and the server side inquires whether the order of the user is contained in the currently distributed order or not according to the user identification contained in the received alarm request. If the server side does not inquire the order which is distributed for the user, the server side judges that the alarm request sent by the user belongs to misoperation or confirms that the alarm request is irrelevant to the current distribution service, and the server side ignores the alarm request. As an alternative, after the server ignores the alert request, the user terminal where the client is located may jump to a dial alert phone interface, for example, a "110" is displayed on the dial interface, and the user only needs to click the dial control to implement the alert. If the order which is delivered for the user is inquired, determining the delivery personnel which is currently delivering the order and the registration information of the delivery personnel.
After the server side inquires the order which is being delivered by the user, the server side needs to acquire the first position information of the current delivery personnel and the second position information of the user. After the server side obtains the first position information, a distance difference value between the first position information and the starting address of the order being delivered by the delivery personnel is further determined. And judging whether the delivery personnel leave the starting address to deliver the order according to the comparison result of the distance difference and the second threshold value. If the judgment result is that the distance difference between the first position information and the starting address of the order is not larger than the second threshold, the delivery personnel is considered not to start delivering the order, and whether the delivery personnel and the user are on the same transport vehicle or not does not need to be judged. If the judgment result is that the distance difference between the first position information and the starting address of the order is larger than the second threshold, the distribution personnel can be considered to start to distribute the order, and whether the distance difference between the first position information of the distribution personnel and the second position information of the user is smaller than the first threshold is further judged, so that whether the user and the distribution personnel are on the same transport vehicle or not is determined.
It should be noted that the first threshold value is used for determining whether the user and the delivery person are riding in the same transportation vehicle, and therefore, in order to avoid erroneous determination, the first threshold value cannot be too large (it is understood that the length of the vehicle cannot be exceeded), and for example, the first threshold value may be about 2 meters. The second threshold is used to determine whether the delivery personnel leaves the starting address for order delivery, and therefore, in order to avoid misjudgment, the second threshold cannot be too small, for example, the second threshold may be about 500 meters. The threshold size is only used as an example and does not constitute a limitation to the present application, and a user may set the sizes of the first threshold and the second threshold according to actual needs, and generally, the first threshold is smaller than the second threshold.
In practical applications, there may be a plurality of ways to determine whether the delivery person leaves the start address, for example, the server receives a request sent by the delivery person to leave the start address, so as to trigger the determination of the size relationship between the distance difference and the second threshold. And the position information of the distribution personnel can be acquired according to a certain sampling frequency, so that the relationship between the distance difference value and the second threshold value is triggered and judged.
After determining that the delivery person leaves the starting address, acquiring first position information of the delivery person and second position information of the user at the same time in the order delivery process. It should be noted that the same time may be understood as the same or similar time, so that the distance difference between the first position information and the second position information can be determined more accurately.
If the distance difference between the first position information and the second position information is larger than the first threshold, it can be considered that the distribution personnel and the user are respectively on different transport vehicles, that is, the distribution personnel cannot be in close contact with the user in the order distribution process, and the personal safety of the user cannot be threatened. If the distance difference between the first position information and the second position information is smaller than the first threshold value, the distribution personnel and the user are considered to be on the same transport vehicle, the distribution personnel may threaten the personal safety of the user in the order distribution process, and the server side gives an alarm to the alarm side. The alarm end can comprise an alarm end of a public security system and an alarm end where a service system is located.
According to the embodiment, the server side can judge whether the user has the potential threat according to the order distribution state and the distance difference between the first position information and the second position information, and a scheme for rapidly alarming the user with the potential threat is provided. According to the scheme, a corresponding alarm mode can be provided for the user more accurately, and the alarm right is prevented from being abused by the user while the alarm requirement of the user is met. Meanwhile, the alarm mode of the alarm device is simple and various, and the alarm requirements under different scenes are met.
As an alternative scheme, when the client sends an alarm request to the server, the client can automatically send the position information of the current position of the client, the alarm can be completed without the user participating in the alarm process, the alarm efficiency can be effectively improved, and the hidden alarm can be realized.
In practical application, the server may control the client to start the recording function, so as to obtain voice information of the sites where the user and the delivery personnel are located during the order delivery process. As an alternative, the voice information recorded by the client can be sent to the server in real time, so that the personnel at the server can know the current conditions of the user and the delivery personnel in time, and the voice information is stored in the server more safely.
If the client supports the image shooting function, the server can control the client to start the image shooting function, so that the server can obtain the image information of the sites where the user and the delivery personnel are located in the order delivery process. As an alternative, because the storage space of the client is limited, the image information shot by the client can be sent to the server in real time, so that the personnel at the server can know the current conditions of the user and the delivery personnel more timely and intuitively, and the image information can be stored in the server more safely.
It should be noted that the server referred to herein may be a local server or a cloud server cluster, so as to better serve the client.
The alarm device of one or more embodiments of the present invention will be described in detail below. Those skilled in the art will appreciate that these alerting devices can be constructed using commercially available hardware components and configured through the steps taught in this scheme.
Fig. 4 is a schematic structural diagram of an alarm device according to an embodiment of the present invention, where the alarm device is applicable to a server and may include: a receiving module 41, an obtaining module 42 and an alarming module 43.
A receiving module 41, configured to receive an alarm request issued by a client in response to a wake-up operation;
an obtaining module 42, configured to obtain first location information of a distributor and second location information of a user in a process of distributing an order of the user;
and the alarm module 43 is configured to alarm the alarm terminal if the distance difference between the first location information and the second location information is smaller than the first threshold.
Optionally, the alarm request includes a user identifier of the user; an obtaining module 42, configured to query the order being delivered corresponding to the user identifier; the first position information of the delivery personnel is the position information of the delivery personnel delivering the order; the second location information of the user is the location information of the user during the order distribution process.
Optionally, the alarm module 43 is configured to alarm the alarm terminal if a distance difference between the first location information and the start address of the order is greater than a second threshold, and the distance difference between the first location information and the second location information is smaller than a first threshold, where the first threshold is smaller than the second threshold.
Optionally, the alarm module 43 is further configured to control the client to enable a recording function to obtain voice information that the user and the distributor communicate with each other during the order distribution process, and control the client to enable an image capturing function to obtain image information of the user and the distributor during the order distribution process.
Optionally, the waking up operation comprises: at least one of voice awakening operation, touch screen awakening operation, physical key awakening operation and shaking awakening operation.
The apparatus shown in fig. 4 may perform the steps related to the server in fig. 1, and the detailed execution process and technical effect refer to the description in the foregoing embodiment, which is not described herein again.
In one possible design, the structure of the alarm device shown in fig. 4 may be implemented as an electronic device, as shown in fig. 5, which may include: a processor 51, a memory 52, wherein the memory 52 is used for storing one or more computer instructions, and when the one or more computer instructions are executed by the processor 51, the steps performed by the server in the foregoing embodiments are implemented.
Optionally, the electronic device may further include a communication interface 53 for communicating with other devices.
In addition, an embodiment of the present invention provides a computer storage medium, which is used to store a computer program, and when the computer program is executed by a server, the alarm method in the foregoing embodiments is implemented.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by adding a necessary general hardware platform, and of course, can also be implemented by a combination of hardware and software. With this understanding in mind, the above-described aspects and portions of the present technology which contribute substantially or in part to the prior art may be embodied in the form of a computer program product, which may be embodied on one or more computer-usable storage media having computer-usable program code embodied therein, including without limitation disk storage, CD-ROM, optical storage, and the like.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable resource updating apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable resource updating apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable resource updating apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable resource updating apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (7)
1. An alarm method is applied to a server side, and comprises the following steps:
receiving an alarm request sent by a client in response to a user's wake-up operation;
acquiring first position information of a distributor and second position information of the user in the process of distributing the order of the user;
if the distance difference between the first position information and the second position information is smaller than a first threshold value, alarming to an alarming end;
the alarm request includes a user identifier of the user, and the method further includes: inquiring the order which corresponds to the user identification and is being delivered; the first position information of the delivery personnel is the position information of the delivery personnel delivering the order; the second position information of the user is the position information of the user in the order distribution process; and if the distance difference between the first position information and the initial address of the order is greater than a second threshold value, and the distance difference between the first position information and the second position information is smaller than a first threshold value, alarming to an alarming end, wherein the first threshold value is smaller than the second threshold value.
2. The method of claim 1, wherein after alerting the alerting terminal, further comprising:
and controlling the client to start a recording function so as to acquire voice information of the mutual communication between the user and the delivery personnel in the order delivery process.
3. The method of claim 1, wherein after alerting the alerting terminal, further comprising: and controlling the client to start an image shooting function so as to acquire the image information of the user and the delivery personnel in the order delivery process.
4. The method of claim 1, wherein the wake-up operation comprises any one of: the method comprises the steps of making a specific sound, pressing a set key on a user terminal and triggering set shaking behaviors on the user terminal.
5. An alarm device, characterized in that the device comprises:
the receiving module is used for receiving an alarm request sent by a client in response to the awakening operation;
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring first position information of a delivery person and second position information of a user in the process of delivering an order of the user; the acquisition module is also used for inquiring the order which corresponds to the user identification and is being delivered; the first position information of the delivery personnel is the position information of the delivery personnel delivering the order; the second position information of the user is the position information of the user in the order distribution process
The alarm module is used for alarming to an alarm end if the distance difference between the first position information and the second position information is smaller than a first threshold value; the alarm module is further used for alarming to an alarm terminal if the distance difference between the first position information and the starting address of the order is larger than a second threshold value and the distance difference between the first position information and the second position information is smaller than a first threshold value, wherein the first threshold value is smaller than the second threshold value.
6. A computer storage medium for storing a computer program which, when executed by a computer, causes the computer to implement the alarm method of any one of claims 1 to 4.
7. An electronic device comprising a processor, a memory for storing one or more computer instructions, wherein the one or more computer instructions, when executed by the processor, implement the method of alerting as recited in any of claims 1-4 above.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910662804.0A CN110572768B (en) | 2019-07-22 | 2019-07-22 | Alarm method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910662804.0A CN110572768B (en) | 2019-07-22 | 2019-07-22 | Alarm method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110572768A CN110572768A (en) | 2019-12-13 |
CN110572768B true CN110572768B (en) | 2021-09-17 |
Family
ID=68773131
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910662804.0A Active CN110572768B (en) | 2019-07-22 | 2019-07-22 | Alarm method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110572768B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103945344A (en) * | 2014-04-23 | 2014-07-23 | 华为技术有限公司 | Information sending method, network device and terminal |
CN104240439A (en) * | 2014-09-02 | 2014-12-24 | 山东钢铁股份有限公司 | Safety protection method and safety protection system |
CN104599459A (en) * | 2014-12-09 | 2015-05-06 | 深圳市普天宜通技术有限公司 | Multimedia integration implementation method and system allowing alarm in scheduling system |
CN109741581A (en) * | 2018-12-29 | 2019-05-10 | 杭州平普智能科技有限公司 | A kind of spacing abnormal alarm method and apparatus of the Prison Management System Developed based on UWB positioning |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2962898B1 (en) * | 2014-07-03 | 2021-11-10 | Volvo Car Corporation | A method and system for generating an alarm signal in a vehicle |
CN106781700B (en) * | 2017-03-21 | 2023-10-27 | 中国矿业大学(北京) | Personnel injury early warning system for underground coal mine transport vehicle |
-
2019
- 2019-07-22 CN CN201910662804.0A patent/CN110572768B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103945344A (en) * | 2014-04-23 | 2014-07-23 | 华为技术有限公司 | Information sending method, network device and terminal |
CN104240439A (en) * | 2014-09-02 | 2014-12-24 | 山东钢铁股份有限公司 | Safety protection method and safety protection system |
CN104599459A (en) * | 2014-12-09 | 2015-05-06 | 深圳市普天宜通技术有限公司 | Multimedia integration implementation method and system allowing alarm in scheduling system |
CN109741581A (en) * | 2018-12-29 | 2019-05-10 | 杭州平普智能科技有限公司 | A kind of spacing abnormal alarm method and apparatus of the Prison Management System Developed based on UWB positioning |
Also Published As
Publication number | Publication date |
---|---|
CN110572768A (en) | 2019-12-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20140349672A1 (en) | System and method with automatic radius crossing notification for gps tracker | |
CN103957322B (en) | The theft preventing method and mobile terminal of mobile terminal | |
JP3527335B2 (en) | Portable terminal system and schedule management method | |
TW202009860A (en) | Task processing method, apparatus, and system | |
US20200257749A1 (en) | Method and a device for friend recommendation | |
CN110753078B (en) | Prompting method and device, electronic equipment and storage medium | |
CA3075831A1 (en) | Lost device detection using geospatial location data | |
CN112511580A (en) | Message pushing method, device, storage medium and equipment | |
CN106412078B (en) | Accurate information method for pushing, device and system | |
CN108428027B (en) | Event processing method and device | |
CN107835115A (en) | A kind of information operation method, equipment and medium | |
CN105183440B (en) | Method and apparatus for managing temporary content on a mobile device | |
Jovanovic et al. | SOSerbia: Android‐Based Software Platform for Sending Emergency Messages | |
CN115022943A (en) | Method for positioning geographic position and electronic equipment | |
CN110572768B (en) | Alarm method, device, equipment and storage medium | |
WO2014044169A9 (en) | Online social networking interaction method and related device and system | |
CN108805512A (en) | A kind of attendance information recording method and its equipment, system | |
CN107920330B (en) | Method and device for determining geographic position | |
CN113436048A (en) | Public place smoking set automatic locking method and device and electronic equipment | |
CN112752222B (en) | Behavior recognition method and device, electronic equipment and computer storage medium | |
CN110825560B (en) | Method, device and equipment for processing execution errors and computer readable storage medium | |
CN111143819A (en) | Application locking method and device and computer storage medium | |
KR101892963B1 (en) | System, method and apparatus for automatic security of mobile platform | |
CN110544062A (en) | Information acquisition method, device, equipment and storage medium | |
CN111722889A (en) | Vehicle type display method, terminal device 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 |