Intelligent early warning method and system, intelligent glasses and storage medium
Through wireless connection and positioning information processing between smart glasses, timely warnings are achieved when the first user and the second user are far apart in outdoor sports, solving the problem that traditional warning methods cannot be transmitted in time, and improving sports safety.
Patent Information
- Application Number
- CN202411532280.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-30
- Publication Date
- 2025-02-25
AI Technical Summary
In outdoor sports activities, when teammates are far apart or the environment is noisy, traditional early warning methods are difficult to convey early warning information in a timely manner, resulting in an increase in safety risks.
By designing an intelligent early warning method, the wireless connection between the first smart glasses worn by the first user and the second smart glasses worn by the second user is obtained, the movement route and positioning information are obtained, the target smart glasses are screened out, and the warning information is sent to the target smart glasses to achieve timely early warning.
This method can ensure that early warning information can be transmitted in a timely manner, reduce security risks, and improve motion safety when the first user is far away from the second user.
Smart Images

Figure CN119516740A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent early warning technology, and in particular to an intelligent early warning method, system, smart glasses and storage medium. Background Art
[0002] Safety is of vital importance in outdoor sports activities. Due to the complexity and unpredictability of the outdoor environment, teammates often face challenges of accidents or obstacles. Although traditional warning methods, such as motion gestures and shouting loudly, can convey information to a certain extent, they have many shortcomings. When teammates are far apart or the environment is noisy, these methods often fail to notify in place, resulting in the failure to deliver warning information in time. Summary of the invention
[0003] The main purpose of this application is to provide an intelligent warning method, system, smart glasses and storage medium, aiming to solve the problem that the warning information cannot be transmitted in time due to the long distance between the first user and the second user.
[0004] To achieve the above object, the present application proposes an intelligent early warning method, which is applied to a first pair of smart glasses worn by a first user, the first pair of smart glasses being connected to a second pair of smart glasses worn by a plurality of second users, and the method comprising:
[0005] When a warning signal triggered by the first user is detected, generating warning information;
[0006] Acquire a movement route, first positioning information of the first smart glasses, and second positioning information of each of the second smart glasses;
[0007] Filtering a target smart glasses from each of the second smart glasses based on the movement route, the first positioning information, and each of the second positioning information;
[0008] The warning information is sent to the target smart glasses, so that the target smart glasses warn the corresponding second user according to the warning information.
[0009] In one embodiment, the step of selecting a target smart glasses from each of the second smart glasses based on the movement route, the first positioning information, and each of the second positioning information includes:
[0010] Acquire a movement route, first positioning information, and second positioning information;
[0011] determining a movement direction of the first user based on the movement route, and determining a relative position relationship between the first positioning information and each of the second positioning information based on the movement direction;
[0012] Filter out target smart glasses from each of the second smart glasses according to each of the relative position relationships.
[0013] In one embodiment, when the warning signal triggered by the first user is detected, before the step of generating warning information, the step further includes:
[0014] Sending a connection invitation to each of the second smart glasses, so that the second smart glasses generate a connection willingness signal based on the second user;
[0015] When the connection intention signal is a connection consent signal, connection is established with each of the second smart glasses that generated the connection consent signal.
[0016] In one embodiment, after the step of sending the warning information to the target smart glasses, the method further includes:
[0017] Acquire current weather information and historical weather information, and obtain weather warning information based on the current weather information and the historical weather information;
[0018] The first user is warned according to the weather warning information.
[0019] In one embodiment, the step of acquiring current weather information and historical weather information, and obtaining weather warning information based on the current weather information and the historical weather information includes:
[0020] Retrieving historical temperature information and collecting current temperature information according to a first preset time interval;
[0021] Compare the historical temperature information with the current temperature information to obtain a temperature change weather warning;
[0022] Retrieving historical humidity information, and collecting current humidity information according to a second preset time interval;
[0023] Comparing the current humidity information with the historical humidity information to obtain humidity change weather warning information;
[0024] Weather warning information is obtained based on the temperature change weather warning information and the humidity change weather warning information.
[0025] In one embodiment, the method uses a second pair of smart glasses worn by a second user, the second pair of smart glasses being connected to a first pair of smart glasses worn by a first user, and the method includes:
[0026] When acting as a target smart glasses, the smart glasses receive the warning information sent by the first smart glasses, and warn the corresponding second user according to the warning information, where the warning information is information generated by the first smart glasses when detecting the warning signal triggered by the first user.
[0027] In one embodiment, the method is applied to a server, and the method includes:
[0028] When a plurality of users respectively wear smart glasses to form a team, generating warning information based on a warning signal sent by a first smart glasses worn by a first user among the plurality of users;
[0029] Determine target smart glasses based on the movement routes of the multiple users, the first positioning information of the first user, and the second positioning information of other users among the multiple users;
[0030] The warning information is sent to the target smart glasses, so that the target smart glasses warn the corresponding other users according to the warning information.
[0031] In addition, to achieve the above-mentioned purpose, the present application also proposes an intelligent early warning system, which at least includes: first smart glasses worn by a first user and second smart glasses worn by a second user;
[0032] The first smart glasses are configured to generate warning information when a warning signal triggered by the first user is detected;
[0033] The first smart glasses are further used to obtain a movement route, first positioning information and second positioning information, and determine a target smart glasses based on the movement route, the first positioning information and the second positioning information, wherein the first positioning information is the position information of the first smart glasses, and the second position information is the position information of the second smart glasses;
[0034] The first smart glasses are further used to send the warning information to the target smart glasses;
[0035] The second smart glasses are used to receive the warning information sent by the first smart glasses when acting as target smart glasses, and to warn the corresponding second user according to the warning information. The warning information is information generated by the first smart glasses when detecting the warning signal triggered by the first user.
[0036] In addition, to achieve the above-mentioned purpose, the present application also proposes a pair of smart glasses, which include: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the intelligent early warning method as described above.
[0037] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the intelligent early warning method described above are implemented.
[0038] This application proposes an intelligent early warning method, system, smart glasses and storage medium, the method is applied to a first smart glasses worn by a first user, the first smart glasses are connected to a second smart glasses worn by a plurality of second users, the method includes: when a warning signal triggered by the first user is detected, a warning message is generated; a movement route, a first positioning information of the first smart glasses and a second positioning information of each of the second smart glasses are obtained, and a target smart glasses is selected from each of the second smart glasses based on the movement route, the first positioning information and the second positioning information; the warning message is sent to the target smart glasses, so that the target smart glasses warn the corresponding second user according to the warning message. This shows that this application can solve the problem of insufficient warning due to the long distance between the first user and the second user through information interaction between the interconnected first smart glasses and the second smart glasses. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0040] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0041] Figure 1 This is a flow chart of the first embodiment of the intelligent early warning method proposed in this embodiment;
[0042] Figure 2 This is a flow chart of a second embodiment of the intelligent early warning method proposed in this embodiment;
[0043] Figure 3 A diagram of the intelligent early warning system provided for this embodiment;
[0044] Figure 4 Schematic diagram of the internal structure of smart glasses suitable for implementing this embodiment.
[0045] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0046] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0047] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0048] It should be noted that all directional indications in the embodiments of the present application (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0049] It is understandable that safety is of paramount importance in outdoor sports activities. Due to the complexity and unpredictability of the outdoor environment, teammates often face challenges of accidents or obstacles. Although traditional warning methods, such as motion gestures and shouting loudly, can convey information to a certain extent, they have many shortcomings. When teammates are far apart or the environment is noisy, these methods often fail to notify in place, resulting in the failure to deliver warning information in time.
[0050] The existing measures are supplemented and improved by the following measures. First, wireless communication equipment, such as walkie-talkies or Bluetooth headsets, is introduced to achieve real-time communication. The first user informs the second user behind him of the warning information through the communication equipment to ensure that the warning information is quickly conveyed. However, when the distance is too far and the second user is in motion, there is a problem that the warning information cannot be received in time or the location of the accident or obstacle represented by the warning information cannot be accurately determined, resulting in the problem that even if the warning information is received, it cannot be correctly avoided.
[0051] Therefore, in order to solve the problem that the warning information cannot be transmitted in time due to the long distance between the first user and the second user, this embodiment proposes an intelligent warning method, system, smart glasses and storage medium, the method is applied to the first smart glasses worn by the first user, wherein the first smart glasses are connected to the second smart glasses worn by several second users, the method includes: when the warning signal triggered by the first user is detected, the warning information is generated; the movement route, the first positioning information of the first smart glasses and the second positioning information of each second smart glasses are obtained, and the target smart glasses are selected from each second smart glasses based on the movement route, the first positioning information and the second positioning information; the warning information is sent to the target smart glasses, so that the target smart glasses warn the corresponding second user according to the warning information. This shows that the present application can solve the problem that the warning information cannot be transmitted in time due to the long distance between the first user and the second user through the information interaction between the first smart glasses and the second smart glasses connected to each other.
[0052] For ease of understanding, the following combination Figures 1 to 4 The intelligent early warning method provided in the embodiment of the present application and the intelligent early warning method, system, smart glasses and storage medium provided in the following embodiments are specifically introduced.
[0053] The present application embodiment provides an intelligent early warning method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the intelligent early warning method proposed in this embodiment.
[0054] like Figure 1 As shown, the method includes:
[0055] Step S10: When a warning signal triggered by the first user is detected, warning information is generated.
[0056] It should be noted that the execution subject of this embodiment can be a computing service device with intelligent early warning, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, etc. The following takes smart glasses with intelligent early warning functions (i.e., the first smart glasses and the second smart glasses) as an example to illustrate this embodiment and the following embodiments.
[0057] In addition, the method proposed in this embodiment uses a first smart glasses worn by a first user, and the first smart glasses are connected to second smart glasses worn by several second users. The first user may be a user who arrives at the accident site or the obstacle site first. The first smart glasses are smart glasses worn by the first user, and the second user may be a user who has not yet arrived at the accident site or the obstacle site and is at a certain distance from the first user and is located behind the first user with reference to the direction of the accident site or the obstacle site as the forward direction. The second smart glasses may be glasses worn by the second user.
[0058] It should be noted that the above-mentioned warning signal can be a signal triggered by the above-mentioned first user according to the type of accident or obstacle observed. The above-mentioned warning signal can be triggered by the first user through a preset button, or can be triggered by the voice recognition result of the above-mentioned first user. This embodiment is explained by triggering through the voice recognition result, but this embodiment is not specifically limited. The above-mentioned warning information can be information composed of the location of the accident or obstacle determined by the above-mentioned first smart glasses based on the type of accident uploaded by the user and the current location of the above-mentioned first smart glasses.
[0059] During the specific implementation process, when the first smart glasses detect a warning signal triggered by a user through voice recognition results, the type of accident or obstacle is obtained by analyzing the voice recognition results and the location of the accident or obstacle is determined by the location of the first smart glasses, and warning information is generated based on the type of accident or obstacle and the location of the accident or obstacle.
[0060] It can be understood that the first smart glasses and the second smart glasses are connected, and the connection can be a wireless connection based on Bluetooth, wifi signals or 5G signals, etc., and this embodiment does not make specific restrictions. Further, in order to connect the first smart glasses and the second smart glasses of the first user and the second user who need to warn each other, before step S10, it also includes:
[0061] A connection invitation is sent to each second smart glasses, so that the second smart glasses generate a connection willingness signal based on the second user.
[0062] When the connection intention signal is a connection approval signal, connection is established with each second pair of smart glasses that generated the connection approval signal.
[0063] It should be noted that the connection invitation may be an invitation sent by the first smart glasses to all the surrounding second smart glasses, and the connection willingness signal may be a willingness signal fed back by the second smart glasses based on the selection of the second user. The willingness signal may include: a connection consent signal and a connection rejection signal, and the connection consent signal may be a signal fed back by the second user through the second smart glasses to agree to connect with the first smart glasses.
[0064] In a specific implementation, the first smart glasses send a connection invitation to all the surrounding second smart glasses. After receiving the connection invitation, the second smart glasses display the connection invitation to the second user for selection, and based on the selection result of the second user, the corresponding connection intention signal is fed back to the first smart glasses. When the connection intention signal is a connection rejection signal, the first smart glasses cannot connect with the second smart glasses that feed back the connection rejection signal. When the connection intention signal is a connection agreement signal, the first smart glasses connect with each of the second smart glasses that feed back the connection agreement signal.
[0065] Step S20: Acquire the movement route, the first positioning information of the first smart glasses, and the second positioning information of each second smart glasses.
[0066] Step S30: selecting a target smart glasses from each second smart glasses based on the movement route, the first positioning information and each second positioning information.
[0067] It should be noted that the movement route may be a route pre-set by the first user and each of the second users or a route that the first user and each of the second users have already traveled. The first smart glasses and the second smart glasses may obtain the movement direction by analyzing the movement route. The first positioning information may be the position information of the first smart glasses, and the second positioning information may be the position information of the second smart glasses. The target smart glasses may be the smart glasses that need to be warned among the second smart glasses connected to the first smart glasses.
[0068] In a specific implementation, after generating the warning information, the first smart glasses obtain the current movement route, the location information of the first smart glasses and the second positioning information, and select the target smart glasses from several second smart glasses connected to the first smart glasses based on the current movement route, the location information of the first smart glasses and the second positioning information.
[0069] Furthermore, in the process of team sports (for example, team cycling or team running, etc.), generally, the team members who encounter obstacles or accidents in front send warnings to the team members who have not encountered accidents or obstacles in the back, so step S30 also includes:
[0070] The moving direction of the first user is determined based on the moving route, and the relative position relationship between the first positioning information and each second positioning information is determined based on the moving direction.
[0071] The target smart glasses are selected from the second smart glasses according to the relative position relationships.
[0072] It should be noted that the above-mentioned movement direction can be a direction determined by the above-mentioned movement route, which points from the movement starting point to the movement end point along the movement route. In a specific implementation, after generating the warning information, the above-mentioned first smart glasses obtain the current movement route and determine the movement direction according to the movement route. Taking the above-mentioned movement direction as a reference direction, the position information of the above-mentioned first smart glasses and the position information of each second smart glasses are compared, and the second smart glasses corresponding to the second smart glasses position information behind the above-mentioned first smart glasses position information relative to the reference direction are taken as the target smart glasses.
[0073] Step S40: Send the warning information to the target smart glasses, so that the target smart glasses warn the corresponding second user according to the warning information.
[0074] It should be noted that the corresponding second user may be a user wearing the second smart glasses selected as the target smart glasses. In a specific implementation, after screening out the target smart glasses, the first smart glasses send the generated warning information to the target smart glasses, so that the target smart glasses warn the second user wearing the target smart glasses according to the warning information.
[0075] In addition, it should be noted that the first smart glasses can provide weather warnings to the first user according to the temperature and humidity of the surrounding environment during exercise. Specifically, after the step of sending the warning information to the target smart glasses, the step further includes:
[0076] Obtain current weather information and historical weather information, and obtain weather warning information based on the current weather information and historical weather information.
[0077] The first user is warned according to the weather warning information.
[0078] It should be noted that the current weather information may be the weather information at the current time point, the historical weather information may be the weather information within the past period of time (e.g., the past hour), and the weather warning information may be warning information for possible extreme weather (e.g., cold waves, heat waves, and storms, etc.). In a specific implementation, the first smart glasses may obtain the historical weather information and the current weather information through the network or through a collection device, and this embodiment does not impose specific restrictions. After obtaining the current weather information and the historical weather information, the first smart glasses generate weather warning information by analyzing the changes in the weather information, and issue a warning to the first user wearing the first smart glasses based on the weather warning information.
[0079] Furthermore, in order to accurately determine the changes in the above current weather information and the above historical weather information, a method for obtaining weather information can be used to obtain weather information by online acquisition and collector acquisition. Among them, weather acquisition is mainly based on the collection of current ambient temperature and humidity. Therefore, the steps of obtaining current weather information and historical weather information, and obtaining weather warning information based on the current weather information and historical weather information include:
[0080] Historical temperature information is retrieved, and current temperature information is collected at a first preset time interval.
[0081] Compare historical temperature information with current temperature information to obtain temperature change weather warnings.
[0082] The historical humidity information is retrieved, and the current humidity information is collected at a second preset time interval.
[0083] Compare the current humidity information with the historical humidity information to obtain humidity change weather warning information.
[0084] Weather warning information is obtained based on the temperature change weather warning information and the humidity change weather warning information.
[0085] It should be understood that the above-mentioned historical temperature information may be the temperature information collected within a period of time (for example, within one hour). The above-mentioned current temperature information may be the currently collected temperature, and the above-mentioned temperature change weather warning may be the warning information corresponding to extreme weather (for example, cold waves) caused by temperature changes. The above-mentioned historical humidity information may be the humidity information collected within a period of time (for example, within one hour). The above-mentioned first preset time may be a period of time (for example, one minute) preset by the first user. The above-mentioned current humidity information may be the currently collected humidity. The above-mentioned humidity change weather warning may be the warning information corresponding to extreme weather (for example, storms) caused by humidity changes.
[0086] In a specific implementation, the first smart glasses obtain the current temperature information and historical temperature information of the area where the first user is located through an online method and a temperature sensor, and obtain the temperature change of the area where the first user is located by comparing the current temperature information and the historical temperature information. A temperature change weather warning is obtained based on the temperature change. The current humidity information and historical humidity information of the area where the first user is located are obtained through an online method and a humidity sensor, and obtain the humidity change of the area where the first user is located by comparing the current humidity information and the historical humidity information. A humidity change weather warning is obtained based on the humidity change. Weather warning information is generated based on the temperature change weather warning and the humidity change weather warning.
[0087] In one example, it is assumed that the first smart glasses collect current temperature and humidity data every 10 seconds and save them in a queue, and at the same time pop up the data from one hour ago.
[0088] After each data point is collected, the data in the past hour is analyzed: the difference between the minimum and maximum values of the two data points at the current time point and the corresponding data in the past hour is calculated:
[0089] If the current temperature is more than 10℃ lower than the past highest temperature, and the past lowest temperature was below 20℃, and the humidity remains unchanged or decreases, then a cold wave will be reported.
[0090] If the current temperature is more than 10°C higher than the past minimum temperature, and the past minimum temperature was above 30°C, and the humidity remains the same or decreases, then a heat wave is reported.
[0091] If the current temperature is more than 5°C below the past high and the humidity rises by more than 10%, then report a storm.
[0092] This embodiment proposes an intelligent early warning method, which is applied to the first smart glasses worn by the first user, and the first smart glasses are connected to the second smart glasses worn by several second users. The method includes: when the early warning signal triggered by the first user is detected, early warning information is generated; the movement route, the first positioning information of the first smart glasses and the second positioning information of each second smart glasses are obtained, and the target smart glasses are screened out from each second smart glasses based on the movement route, the first positioning information and the second positioning information; the early warning information is sent to the target smart glasses, so that the target smart glasses warn the corresponding second user according to the early warning information. This shows that the present application can solve the problem that the early warning information cannot be transmitted in time due to the long distance between the first user and the second user through the information interaction between the first smart glasses and the second smart glasses connected to each other.
[0093] Based on the first embodiment, in the second embodiment, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be described in detail later. Figure 2 , Figure 2 This is a flow chart of the second embodiment of the intelligent early warning method proposed in this embodiment. It should be understood that the intelligent early warning method proposed in this embodiment is applied to a second pair of smart glasses worn by a second user, and the second pair of smart glasses is connected to a first pair of smart glasses worn by a first user. The method includes:
[0094] Step S50: When acting as the target smart glasses, the warning information sent by the first smart glasses is received, and a warning is issued to the corresponding second user according to the warning information. The warning information is information generated by the first smart glasses when detecting the warning signal triggered by the first user.
[0095] In a specific implementation, after receiving the warning information sent by the first smart glasses, the second smart glasses used as the target smart glasses analyze the warning information and issue a warning to the second user wearing the target smart glasses.
[0096] Furthermore, in order to more accurately and timely warn the second user wearing the target smart glasses, step S50 includes:
[0097] When the warning information sent by the first smart glasses is received, the type of the accident ahead and the location of the accident ahead are determined based on the warning information.
[0098] Get the current location information, and get the distance to the accident ahead based on the current location information and the location of the accident ahead.
[0099] The corresponding second user is warned based on the distance and type of the accident ahead.
[0100] It should be noted that the above-mentioned accident type ahead may be the type of obstacle or accident encountered (such as car accidents, traffic jams, water accumulation, and impassable roads, etc.) obtained by the above-mentioned first smart glasses according to the analysis of the above-mentioned voice recognition results after the above-mentioned first user triggers the warning signal through the voice recognition results; the above-mentioned accident location ahead may be the location where the above-mentioned first smart glasses detect the warning signal after the above-mentioned first user triggers the warning signal through the voice recognition results; the above-mentioned current location information may be the current location information of the target smart glasses; the above-mentioned accident distance ahead may be the distance between the current position of the target smart glasses and the accident location ahead along the direction of the movement route.
[0101] In a specific implementation, after serving as the target smart glasses, the second smart glasses obtain the type of accident ahead and the location of the accident ahead according to the warning information sent by the first smart glasses, and determine the distance between the second user wearing the target smart glasses and the location of the accident ahead according to the current location of the target smart glasses and the location of the accident ahead, and warn the second user wearing the target smart glasses at the corresponding distance based on the type of the accident ahead (for example, when the type of accident ahead is impassable, when the distance of the accident ahead is less than 800 meters, a warning is given to the second user wearing the target smart glasses).
[0102] Furthermore, in order to achieve efficient information transmission between the first smart glasses and the second smart glasses and the processing of warning information, the first smart glasses and the second smart glasses may be connected via a server. Therefore, this embodiment further discloses another intelligent warning method, which is applied to the server and includes:
[0103] When a plurality of users respectively wearing smart glasses form a team, a warning message is generated based on a warning signal sent by a first pair of smart glasses worn by a first user among the plurality of users.
[0104] The target smart glasses are determined based on the movement routes of the multiple users, the first positioning information of the first user, and the second positioning information of other users among the multiple users.
[0105] The warning information is sent to the target smart glasses, so that the target smart glasses warn the corresponding other users according to the warning information.
[0106] In a specific implementation, the server may be a cloud or a host with computing functions, etc. This embodiment uses the cloud for illustration, but does not impose specific restrictions on this embodiment. When the cloud receives a signal from multiple users wearing smart glasses to form a team, it can obtain the location information and status information uploaded by the smart glasses in real time. When the cloud receives a warning signal sent by a user, it generates warning information and uses the smart glasses that send the warning signal as the first smart glasses, and uses other smart glasses as the second smart glasses. It obtains the location information of the first smart glasses, i.e., the first positioning information, the location information of the second smart glasses, i.e., the second positioning information, and the riding route. According to the first positioning information, the second positioning information, and the route information, the target smart glasses are selected from the second smart glasses, and the warning information is sent to the target smart glasses, so that the target smart glasses warn the corresponding other users according to the warning information.
[0107] This embodiment also provides an intelligent early warning system, please refer to Figure 3 , Figure 3A diagram of an intelligent early warning system provided in this embodiment, wherein the intelligent early warning system comprises at least: first smart glasses worn by a first user and second smart glasses worn by a second user;
[0108] The first smart glasses are configured to generate warning information when a warning signal triggered by a first user is detected;
[0109] The first smart glasses are further used to obtain a movement route, first positioning information, and second positioning information, and determine a target smart glasses based on the movement route, the first positioning information, and the second positioning information, wherein the first positioning information is the position information of the first smart glasses, and the second position information is the position information of the second smart glasses;
[0110] The first smart glasses are further used to send warning information to the target smart glasses;
[0111] The second smart glasses are used to receive the warning information sent by the first smart glasses when acting as the target smart glasses, and to warn the corresponding second user according to the warning information. The warning information is the information generated by the first smart glasses when detecting the warning signal triggered by the first user.
[0112] The intelligent early warning system provided in this embodiment adopts the intelligent early warning method in the above embodiment, which can solve the problem that the early warning information cannot be transmitted in time due to the long distance between the first user and the second user. Compared with the prior art, the beneficial effects of the intelligent early warning device provided in this embodiment are the same as the beneficial effects of the intelligent early warning method provided in the above embodiment, and other technical features in the intelligent early warning device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0113] The present embodiment provides a pair of smart glasses, which include: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the intelligent early warning method in the above-mentioned embodiment one.
[0114] Reference below Figure 4 , Figure 4 Schematic diagram of the internal structure of smart glasses suitable for implementing the present embodiment. The smart glasses in the present embodiment may be glasses including a smart early warning function. Figure 4 The smart glasses shown are merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0115] like Figure 4As shown, the smart glasses may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the smart glasses are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the smart glasses to communicate with other devices wirelessly or wired to exchange data. Although the figure shows smart glasses with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0116] In particular, according to the present embodiment, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the present embodiment includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through a communication device, or installed from the storage device 1003, or installed from the ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present embodiment are executed.
[0117] The smart glasses provided in this embodiment adopt the intelligent early warning method in the above embodiment, which can solve the problem that the early warning information cannot be transmitted in time due to the long distance between the first user and the second user. Compared with the prior art, the beneficial effects of the smart glasses provided in this embodiment are the same as the beneficial effects of the intelligent early warning method provided in the above embodiment, and other technical features in the smart glasses are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0118] It should be understood that the various parts disclosed in this embodiment can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0119] The above is only a specific implementation of this embodiment, but the protection scope of this embodiment is not limited thereto. Any technician familiar with the technical field can easily think of changes or replacements within the technical scope disclosed in this embodiment, which should be included in the protection scope of this embodiment. Therefore, the protection scope of this embodiment should be based on the protection scope of the claims.
[0120] This embodiment provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the intelligent early warning method in the above-mentioned embodiment.
[0121] The computer-readable storage medium provided in this embodiment may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0122] The computer-readable storage medium may be included in the smart glasses; or may exist independently without being assembled into the smart glasses.
[0123] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the smart glasses, the smart glasses can perform intelligent early warning.
[0124] The computer program code for performing the operations of the present embodiment may be written in one or more programming languages or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0125] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present embodiment. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0126] The modules involved in the description of this embodiment may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0127] The readable storage medium provided in this embodiment is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned intelligent early warning method, aiming to solve the problem that the early warning information cannot be delivered in time due to the long distance between the first user and the second user. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this embodiment are the same as the beneficial effects of the intelligent early warning method provided in the above-mentioned embodiment, and will not be repeated here.
[0128] This embodiment also provides a computer program product, including a computer program, which implements the steps of the above-mentioned intelligent early warning method when executed by a processor.
[0129] The computer program product provided in this embodiment can solve the problem that the warning information cannot be delivered in time due to the long distance between the first user and the second user. Compared with the prior art, the beneficial effects of the computer program product provided in this embodiment are the same as the beneficial effects of the intelligent warning method provided in the above embodiment, which will not be described in detail here.
[0130] The above are only some embodiments, and the patent scope of this embodiment is not limited thereto. All equivalent structural changes made by using the contents of the description and drawings of this application under the technical concept of this application, or directly / indirectly applied in other related technical fields are included in the patent protection scope of this application.
Claims
1. An intelligent early warning method, characterized in that: The method is applied to a first pair of smart glasses worn by a first user, the first pair of smart glasses being connected to a plurality of second pairs of smart glasses worn by second users, and the method comprises: When a warning signal triggered by the first user is detected, generating warning information; Acquire a movement route, first positioning information of the first smart glasses, and second positioning information of each of the second smart glasses; Filtering a target smart glasses from each of the second smart glasses based on the movement route, the first positioning information, and each of the second positioning information; The warning information is sent to the target smart glasses, so that the target smart glasses warn the corresponding second user according to the warning information.
2. The method according to claim 1, characterized in that The step of selecting a target smart glasses from each of the second smart glasses based on the movement route, the first positioning information and each of the second positioning information comprises: determining a movement direction of the first user based on the movement route, and determining a relative position relationship between the first positioning information and each of the second positioning information based on the movement direction; Filter out target smart glasses from each of the second smart glasses according to each of the relative position relationships.
3. The method according to claim 1, characterized in that Before the step of generating warning information when the warning signal triggered by the first user is detected, the step further includes: Sending a connection invitation to each of the second smart glasses, so that the second smart glasses generate a connection willingness signal based on the second user; When the connection intention signal is a connection consent signal, connection is established with each of the second smart glasses that generated the connection consent signal.
4. The method according to any one of claims 1 to 3, characterized in that After the step of sending the warning information to the target smart glasses, the method further includes: Acquire current weather information and historical weather information, and obtain weather warning information based on the current weather information and the historical weather information; The first user is warned according to the weather warning information.
5. The method according to claim 4, characterized in that The step of obtaining current weather information and historical weather information, and obtaining weather warning information based on the current weather information and the historical weather information includes: Retrieving historical temperature information and collecting current temperature information according to a first preset time interval; Compare the historical temperature information with the current temperature information to obtain a temperature change weather warning; Retrieving historical humidity information, and collecting current humidity information according to a second preset time interval; Comparing the current humidity information with the historical humidity information to obtain humidity change weather warning information; Weather warning information is obtained based on the temperature change weather warning information and the humidity change weather warning information.
6. An intelligent early warning method, characterized in that: The method uses a second pair of smart glasses worn by a second user, the second pair of smart glasses being connected to a first pair of smart glasses worn by a first user, and the method includes: When acting as a target smart glasses, the smart glasses receive the warning information sent by the first smart glasses, and warn the corresponding second user according to the warning information, where the warning information is information generated by the first smart glasses when detecting the warning signal triggered by the first user.
7. An intelligent early warning method, characterized in that: The method is applied to a server, and the method comprises: When a plurality of users respectively wear smart glasses to form a team, generating warning information based on a warning signal sent by a first smart glasses worn by a first user among the plurality of users; Determine target smart glasses based on the movement routes of the multiple users, the first positioning information of the first user, and the second positioning information of other users among the multiple users; The warning information is sent to the target smart glasses, so that the target smart glasses warn the corresponding other users according to the warning information.
8. An intelligent early warning system, characterized in that: The intelligent early warning system at least includes: a first pair of smart glasses worn by a first user and a second pair of smart glasses worn by a second user; The first smart glasses are configured to generate warning information when a warning signal triggered by the first user is detected; The first smart glasses are further used to obtain a movement route, first positioning information, and second positioning information; The first smart glasses are further used to determine the target smart glasses based on the movement route, the first positioning information and the second positioning information, wherein the first positioning information is the position information of the first smart glasses, and the second position information is the position information of the second smart glasses; The first smart glasses are further used to send the warning information to the target smart glasses; The second smart glasses are used to receive the warning information sent by the first smart glasses when acting as target smart glasses, and to warn the corresponding second user according to the warning information. The warning information is information generated by the first smart glasses when detecting the warning signal triggered by the first user.
9. A smart glasses, characterized in that: The smart glasses include: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the intelligent early warning method as described in any one of claims 1 to 5 or to implement the steps of the intelligent early warning method as described in claim 6 or 7.
10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the intelligent early warning method as described in any one of claims 1 to 5 or the steps of the intelligent early warning method as described in claim 6 or 7 are implemented.