WO2020133475A1 - Information transmission method, apparatus, storage medium and electronic device - Google Patents

Information transmission method, apparatus, storage medium and electronic device Download PDF

Info

Publication number
WO2020133475A1
WO2020133475A1 PCT/CN2018/125783 CN2018125783W WO2020133475A1 WO 2020133475 A1 WO2020133475 A1 WO 2020133475A1 CN 2018125783 W CN2018125783 W CN 2018125783W WO 2020133475 A1 WO2020133475 A1 WO 2020133475A1
Authority
WO
WIPO (PCT)
Prior art keywords
travel route
information
threshold
geographic location
electronic device
Prior art date
Application number
PCT/CN2018/125783
Other languages
French (fr)
Chinese (zh)
Inventor
张寅祥
帅朝春
陆天洋
吴建文
戴堃
Original Assignee
深圳市欢太科技有限公司
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市欢太科技有限公司, Oppo广东移动通信有限公司 filed Critical 深圳市欢太科技有限公司
Priority to PCT/CN2018/125783 priority Critical patent/WO2020133475A1/en
Priority to CN201880099428.2A priority patent/CN112997175A/en
Publication of WO2020133475A1 publication Critical patent/WO2020133475A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/40Data acquisition and logging

Definitions

  • This application relates to the field of communication technologies, and in particular, to an information sending method, device, storage medium, and electronic equipment.
  • Embodiments of the present application provide an information sending method, device, storage medium, and electronic equipment, which can improve the accuracy of information sending.
  • an embodiment of the present application provides an information sending method, which is applied to an electronic device, and the method includes:
  • Predict the target travel route of the electronic device based on the initial geographic location and historical travel route
  • an information sending apparatus which is applied to an electronic device, and the apparatus includes:
  • the information acquisition module is used to obtain the initial geographic location when traveling and the historical travel route of the electronic device in the historical time period;
  • a prediction module used to predict the target travel route of the electronic device based on the initial geographic location and the historical travel route
  • the determination module is used to determine the current geographic location
  • a difference obtaining module configured to obtain position difference information according to the current geographic location and the target travel route
  • the sending module is used to determine whether to send alarm information to the outside world based on the location difference information.
  • an embodiment of the present application provides a storage medium in which multiple instructions are stored, and the instructions are adapted to be loaded by a processor to perform the following steps:
  • Predict the target travel route of the electronic device based on the initial geographic location and historical travel route
  • an embodiment of the present application provides an electronic device, including a processor and a storage medium, where multiple instructions are stored in the storage medium, and the processor loads the instructions to perform the following steps:
  • Predict the target travel route of the electronic device based on the initial geographic location and historical travel route
  • FIG. 1 is a first schematic flowchart of an information sending method provided by an embodiment of the present application.
  • FIG. 2 is a second schematic flowchart of the information sending method provided by the embodiment of the present application.
  • FIG. 3 is a first schematic structural diagram of an information sending device provided by an embodiment of the present application.
  • FIG. 4 is a second schematic structural diagram of an information sending apparatus provided by an embodiment of the present application.
  • FIG. 5 is a third schematic structural diagram of an information sending apparatus provided by an embodiment of the present application.
  • FIG. 6 is a third schematic structural diagram of an information sending device provided by an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 8 is another schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • embodiments of the present application provide an information sending method, device, storage medium, and electronic equipment, which will be described in detail below.
  • an embodiment of the present application provides an information sending method, which is applied to an electronic device.
  • the electronic device may be a smart terminal such as a smart phone or a tablet computer.
  • the information sending method may include the following processes:
  • the initial geographic location is the initial geographic location when traveling, such as the location of a family location, the geographic location of an office, the geographic location of a school, and so on.
  • the acquired geographic location information may be more precise geographic location information such as specific longitude, latitude, altitude, etc., or rough geographic location information such as geographic interval and location range.
  • the historical travel route of the electronic device may be recorded information of the change of the geographic location of the electronic device.
  • each travel route can be determined based on the magnitude of the change in the geographic location amplitude of the electronic device within a certain time (eg, unit time). For example, within one hour, the geographic location of the electronic device has been changing, and the route formed by the geographic location of the electronic device within one hour may be used as a travel route.
  • each recorded travel route information of the electronic device can be converted into corresponding data and stored in a preset storage area.
  • the data corresponding to the certain application or applications within a certain period of time can be retrieved from the storage area, and the obtained data can be parsed to obtain the corresponding Information to serve as the historical travel route of the application or applications in the historical time period.
  • the historical time period may be the past month, the most recent week, and so on.
  • the initial geographic location of the travel can be compared with it to determine on which historical travel route the initial geographic location falls, so as to predict the current location of the electronic device The travel route to be taken.
  • the characteristics of the current time point may be introduced, that is, the target occurrence route may be predicted based on the current geographic location, the current time point, and the historical appearance route, that is, in some embodiments
  • the following process may be included:
  • the target travel route of the electronic device is predicted.
  • a timer can be integrated in the electronic device to detect the current time information in real time, such as a time stamp. Then, convert the obtained timestamp to the time information in the current common time format, such as xx year xx month xx day xx hour xx minutes xx seconds, and can also be converted into week xx, week xx, xx hours xx minutes xx seconds, etc. .
  • the historical time period may include multiple time periods, and each time period includes multiple time periods. For example, every day from 12:00 noon to 14:00 is a period of time. , Everyday from 17:00 to 19:00 is another time period. 12:00 to 14:00 noon on Monday and 12:00 to 14:00 noon on Tuesday can be used as the same time period in different time periods.
  • the sample time period may be divided based on the travel time of the route appearing in the historical time period.
  • the divided time period may include 7:00 to 9:00, 11:00 to 13:00, 17:00 to 19:00, 21:00 to 23:00, and so on. If the current time point is 12:12:12, it can be determined that the sample time period corresponding to the current time point is 11:00 to 13:00.
  • the historical travel route corresponding to the sample time period in different time periods can be filtered out from the historical travel route.
  • the historical travel route with the highest probability of matching from the selected historical travel routes is used as the predicted target travel route.
  • the travel route information of the electronic device within a certain period of time may be counted, and the re-employment travel route of the electronic device at different time points may be obtained according to the statistical results, as a habit of the user using the application to predict different Time point, target travel route at different initial positions.
  • a prediction algorithm model (such as a mixed Gaussian algorithm model, a convolutional neural network algorithm model, etc.) of an electronic device's travel route can be constructed based on statistical travel route information, so as to adjust the different time points and different initial positions according to the prediction results.
  • Target travel route such as a mixed Gaussian algorithm model, a convolutional neural network algorithm model, etc.
  • the time period required for recording can be directly set, and then the geographic location change information of the electronic device can be recorded within this time period, so that Subsequent use.
  • GPS positioning technology may be used to determine the current geographic location.
  • the current geographic location is the real-time geographic location of the electronic device.
  • the acquired current geographic location information may be more precise geographic location information such as specific longitude, latitude, altitude, etc., or rough geographic location information such as geographic interval and location range.
  • the difference information between the current geographic location and each location on the predicted target travel route is obtained.
  • the location difference information may be distance difference information, location difference information, direction difference information, and so on.
  • alarm information can be sent to surrounding electronic devices or mobile electronic devices in the form of broadcasting.
  • the alarm information may include information for seeking rescue (such as edited help text), current geographic location information, device number or telephone number information of the electronic device, and user information of the electronic device, etc.
  • the electronic device can also call the camera to shoot the surrounding environment information, and add the obtained image information to the alarm information to send to the outside world.
  • the mobile electronic device may be an alarm information receiving device installed on vehicle equipment such as a police car, a regular taxi, etc., which can monitor the alarm signals issued by the surrounding electronic devices in real time, and can issue a prompt message when detecting the received alarm signal (such as ringing) to notify users in the vehicle equipment to go to the location where the electronic equipment is located for assistance.
  • vehicle equipment such as a police car, a regular taxi, etc.
  • the difference information may be an example.
  • the preset rule may be set by a product manufacturer or a person skilled in the art, for example, the position may be sampled every n meters. Among them, the value of n can be 10, 100, 1000, etc., which can be set according to actual needs.
  • the step "determining whether to send an alarm message to the outside world based on the location difference information” may include the following process:
  • the minimum distance difference value is selected from the distance difference value set
  • step 1052 Determine whether the minimum distance difference is greater than the first threshold; if so, perform step 1053, otherwise end the process.
  • the first threshold is a safe distance, that is, the maximum distance between the current geographic location and the geographic location in the standard route when the electronic device does not issue an alarm message.
  • the safety distance may be set by a product manufacturer or a person skilled in the art.
  • the first threshold may be 5 meters, 10 meters, etc., and may be set according to the actual width and size of the route.
  • the electronic device When the distance difference is greater than the first threshold, that is, when the minimum distance between the current geographic location and the standard route is greater than the safe distance, the electronic device sends an alarm message to the outside world to seek assistance from surrounding users.
  • the security risks in different time periods are different. For example, the hidden dangers of riding at night far exceed the hidden dangers of riding during the day. Therefore, in order to improve the accuracy of the judgment result, different judgment thresholds can be set for different time periods. That is, before determining whether the minimum distance difference is greater than the first threshold, the following process may also be included:
  • the preset threshold is updated to the second threshold, where the second threshold is less than the first threshold
  • the step "judging whether the distance difference is greater than the first preset threshold” may include the following process:
  • the preset time period may be night time, such as 21:00 every day to 6:00 the next day. It can also be another time period with a larger or smaller range, which can be set according to the actual situation. Since the safety hazard at night is greater, the second threshold is set to be less than the first threshold, that is, the safety distance is to be reduced to improve the sensitivity of the electronic device to send the alarm message.
  • the following process may also be included:
  • the step "judging whether the distance difference is greater than the first preset threshold” may include the following process:
  • the preset location area may be an area with less people flow and a more remote geographical location.
  • the size of the area can be set according to the actual situation. Due to the greater security risks in remote areas with less traffic, the third threshold is set to be less than the first threshold, which means that the safety distance will be reduced to increase the sensitivity of the electronic device to send alarm messages.
  • the determination threshold of the distance difference may also be dynamically adjusted based on real-time road condition information. That is, after determining that the distance difference is greater than the first threshold, before sending the alarm information to the outside world, the following process may also be included:
  • the real-time road condition information may be the road condition information obtained from the server in real time by establishing a communication connection with the server through the electronic device.
  • the traffic condition information may include information such as congested road sections and clear road sections. Based on the acquired real-time road condition information, it can be determined whether the current target travel route includes a congested road segment. If there is a congested road section, the driver will bypass the original congested route and use the new route instead. Therefore, the electronic device can re-predict the travel route according to the current conditions (such as road condition information and current geographic location) to monitor the actual travel.
  • the current conditions such as road condition information and current geographic location
  • the following process may also be included:
  • the electronic device When it is determined that the distance difference is greater than the first threshold, it is determined whether the electronic device is in a close state to the end position of the travel route after the re-prediction within a preset duration;
  • the determination may be further based on the distance between the electronic device and the end of the route (ie, the destination). That is, after determining that the distance difference is greater than the safety distance, it can be determined whether the electronic device is approaching the destination or away from the destination. If it is far away from the destination, it can be considered that it is currently outside the safe range, so it can send an alarm message to the outside world for help.
  • the information sending method obtains the initial geographic location of the travel and the historical travel route of the electronic device within the historical time period; based on the initial geographic location and the historical travel route, the target travel route of the electronic device is predicted ;Acquire location difference information based on current geographic location and target travel route; determine whether to send alarm information to the outside world based on location difference information.
  • This solution predicts the user's travel route through the user's historical travel habits, and sends warning information to the outside world when the actual route deviates from the predicted travel route to improve the accuracy of information transmission, thereby ensuring the user's personal safety.
  • An embodiment of the present application further provides an information sending apparatus 300, which may be integrated in an electronic device, which may be a smart terminal device such as a smart phone, a tablet computer, and the like, and multiple applications are installed in the electronic device.
  • an electronic device which may be a smart terminal device such as a smart phone, a tablet computer, and the like, and multiple applications are installed in the electronic device.
  • the information sending device 300 may include: an information acquiring module 31, a prediction module 32, a determining module 33, a difference acquiring module 34, and a sending module 35. among them:
  • the information obtaining module 31 is used to obtain the initial geographic location when traveling and the historical travel route of the electronic device in the historical time period;
  • the prediction module 32 is used to predict the target travel route of the electronic device according to the initial geographic location and the historical travel route;
  • the determining module 33 is used to determine the current geographic location
  • the difference obtaining module 34 is configured to obtain position difference information according to the current geographic location and the target travel route;
  • the sending module 35 is configured to determine whether to send alarm information to the outside world based on the location difference information.
  • the location difference information includes a distance difference value; referring to FIG. 4, the difference acquisition module 34 may include:
  • the sampling sub-module 341 is configured to sample the location of the target travel route according to a preset rule to obtain multiple sample geographic locations;
  • the sending module 35 may be used to: determine whether the minimum distance difference is greater than a first threshold; if so, send an alarm message to the outside world.
  • the device 300 may further include:
  • the first updating module 36 is used to determine the current time before determining whether the minimum distance difference is greater than the first threshold; determine whether the current time is within a preset time period; if not, set the preset The threshold is updated to a second threshold, where the second threshold is less than the first threshold;
  • the sending module 35 may be used to: determine whether the distance difference is greater than a second preset threshold; if so, send an alarm message to the outside world.
  • the device 300 may further include:
  • the second update module 37 is configured to determine whether the current geographic location is within a preset location area; if so, update the preset threshold to a third threshold, where the third threshold is less than the first threshold;
  • the sending module 35 may be used to: determine whether the distance difference is greater than a third preset threshold; if so, send an alarm message to the outside world.
  • the prediction module 32 may be used to:
  • the target travel route of the electronic device is predicted based on the initial geographic location, historical travel route, and sample time period.
  • the embodiments of the present application provide an information sending device, which obtains the initial geographic location when traveling and the historical travel route of the electronic device within a historical time period; predicts the target of the electronic device based on the initial geographic location and historical travel route Travel route; obtain location difference information based on current geographic location and target travel route; determine whether to send alarm information to the outside world based on location difference information.
  • This application predicts the user's travel route through the user's historical travel habits, and sends warning information to the outside world when the actual route deviates from the predicted travel route to improve the accuracy of the information sent, thereby ensuring the user's personal safety.
  • the electronic device 500 includes a processor 501 and a memory 502.
  • the processor 501 and the memory 502 are electrically connected.
  • the processor 500 is the control center of the electronic device 500, which uses various interfaces and lines to connect the various parts of the entire electronic device, executes or loads the computer program stored in the memory 502, and calls the data stored in the memory 502 to execute
  • the electronic device 500 performs various functions and processes data to perform overall monitoring of the electronic device 500.
  • the memory 502 can be used to store software programs and modules.
  • the processor 501 runs computer programs and modules stored in the memory 502 to execute various functional applications and data processing.
  • the memory 502 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, a computer program required for at least one function, and the like; the storage data area may store data created according to the use of electronic devices, and the like.
  • the memory 502 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 502 may further include a memory controller to provide the processor 501 with access to the memory 502.
  • the processor 501 in the electronic device 500 will load the instructions corresponding to the process of one or more computer programs into the memory 502 according to the following steps, and the processor 501 runs and stores the instructions in the memory 502
  • the computer program in order to achieve various functions, as follows:
  • Predict the target travel route of the electronic device based on the initial geographic location and historical travel route
  • the location difference information includes a distance difference value; when acquiring location difference information according to the current geographic location and the target travel route, the processor 501 performs the following steps:
  • the obtaining location difference information according to the current geographic location and the target travel route includes:
  • the processor 501 When determining whether to send an alarm message to the outside world based on the location difference information, the processor 501 performs the following steps:
  • the processor 501 before determining whether the minimum distance difference is greater than the first threshold, the processor 501 further performs the following steps:
  • the processor 501 When determining whether the distance difference is greater than a first preset threshold, the processor 501 performs the following steps:
  • the processor 501 before determining whether the minimum distance difference is greater than the first threshold, the processor 501 further performs the following steps:
  • the processor 501 When determining whether the distance difference is greater than a first preset threshold, the processor 501 performs the following steps:
  • the processor 501 after determining that the distance difference is greater than the first threshold, before sending an alarm message to the outside world, performs the following steps:
  • the target travel route If not, based on the road condition information, the target travel route, the historical travel route and the current geographic location, re-predict the travel route.
  • the processor 501 after re-predicting the travel route based on the road condition information, the target travel route, the historical travel route, and the current geographic location, before sending the alarm information to the outside world, performs the following steps:
  • the electronic device When it is determined that the distance difference is greater than the first threshold, it is determined whether the electronic device is in a close state to the end position of the travel route after the re-prediction within a preset duration;
  • the processor 501 when predicting the target travel route of the electronic device based on the initial geographic location and the historical travel route, performs the following steps:
  • the target travel route of the electronic device is predicted based on the initial geographic location, historical travel route, and sample time period.
  • the embodiments of the present application provide an electronic device, which obtains the initial geographic location when traveling and the historical travel route of the electronic device within a historical time period; based on the initial geographic location and historical travel route, the target travel of the electronic device is predicted Route; obtain location difference information based on current geographic location and target travel route; determine whether to send alarm information to the outside world based on location difference information.
  • This application predicts the user's travel route through the user's historical travel habits, and sends warning information to the outside world when the actual route deviates from the predicted travel route to improve the accuracy of the information sent, thereby ensuring the user's personal safety.
  • the electronic device 500 may further include: a display 503, a radio frequency circuit 504, an audio circuit 505, and a power supply 506.
  • the display 503, the radio frequency circuit 504, the audio circuit 505, and the power supply 506 are electrically connected to the processor 501, respectively.
  • the display 503 can be used to display information input by the user or provided to the user and various graphical user interfaces, which can be composed of graphics, text, icons, video, and any combination thereof.
  • the radio frequency circuit 504 can be used to send and receive radio frequency signals to establish wireless communication with network devices or other electronic devices through wireless communication, and send and receive signals with network devices or other electronic devices.
  • the audio circuit 505 can be used to provide an audio interface between a user and an electronic device through speakers and microphones.
  • the power supply 506 can be used to power various components of the electronic device 500.
  • the power supply 506 may be logically connected to the processor 501 through a power management system, so as to implement functions such as charging, discharging, and power consumption management through the power management system.
  • the electronic device 500 may further include a camera, a Bluetooth module, etc., which will not be repeated here.
  • An embodiment of the present application also provides a storage medium that stores a computer program, and when the computer program is run on a computer, the computer is caused to execute the information sending method in any of the foregoing embodiments, for example: The initial geographic location and the historical travel route of the electronic device within the historical time period; based on the initial geographic location and historical travel route, predict the target travel route of the electronic device; determine the current geographic location; based on the current geographic location and the target travel The route obtains position difference information; based on the position difference information, it is determined whether to send alarm information to the outside world.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.
  • the computer program may be stored in a computer-readable storage medium, such as stored in the memory of the electronic device, and executed by at least one processor in the electronic device, and the execution process may include, for example, the implementation of the information transmission method Example process.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, or the like.
  • each functional module may be integrated into one processing chip, or each module may exist alone physically, or two or more modules may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or software function modules. If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium, such as a read-only memory, magnetic disk, or optical disk.

Abstract

The present application embodiment provides an information transmission method, an apparatus, a storage medium and an electronic device. An information transmission method involving: obtaining an initial geographic location at departure, and also historical travel routes for an electronic device within a historical time period; in accordance with the initial geographic location and the historical travel routes, predicting a target travel route for the electronic device; in accordance with a present geographic location and the target travel route, obtaining location difference information; on the basis of the location difference information, determining whether to send alert information to the outside world.

Description

信息发送方法、装置、存储介质及电子设备Information sending method, device, storage medium and electronic equipment 技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种信息发送方法、装置、存储介质及电子设备。This application relates to the field of communication technologies, and in particular, to an information sending method, device, storage medium, and electronic equipment.
背景技术Background technique
随着电子设备智能化的发展,智能手机、平板电脑等终端设备基于用户的使用习惯进行智能预测成为新的议题。相关技术中,针对用户的习惯预测的方式可能是单一的,而用户在不同的状态下习惯可能是不一样的,因此如何根据用户在不同的场景下进行电子设备状态的动态切换成为新的讨论议题。With the development of intelligent electronic devices, smart prediction based on users' usage habits of terminal devices such as smartphones and tablets has become a new issue. In the related art, the way of predicting the habit of the user may be single, and the habit of the user in different states may be different, so how to dynamically switch the state of the electronic device according to the user in different scenarios has become a new discussion issue.
发明内容Summary of the invention
本申请实施例提供一种信息发送方法、装置、存储介质及电子设备,可以提升信息发送的准确性。Embodiments of the present application provide an information sending method, device, storage medium, and electronic equipment, which can improve the accuracy of information sending.
第一方面,本申请实施例提供一种信息发送方法,应用于电子设备,所述方法包括:In a first aspect, an embodiment of the present application provides an information sending method, which is applied to an electronic device, and the method includes:
获取出行时的初始地理位置、及历史时间段内电子设备历史出行路线;Obtain the initial geographic location at the time of travel and the historical travel route of the electronic device in the historical time period;
根据所述初始地理位置和历史出行路线,预测电子设备的目标出行路线;Predict the target travel route of the electronic device based on the initial geographic location and historical travel route;
确定当前地理位置;Determine the current geographic location;
根据所述当前地理位置和所述目标出行路线获取位置差异信息;Acquiring location difference information according to the current geographic location and the target travel route;
基于所述位置差异信息确定是否向外界发送报警信息。Based on the location difference information, it is determined whether to send alarm information to the outside world.
第二方面,本申请实施例提供一种信息发送装置,应用于电子设备,所述装置包括:In a second aspect, an embodiment of the present application provides an information sending apparatus, which is applied to an electronic device, and the apparatus includes:
信息获取模块,用于获取出行时的初始地理位置、及历史时间段内电子设备历史出行路线;The information acquisition module is used to obtain the initial geographic location when traveling and the historical travel route of the electronic device in the historical time period;
预测模块,用于根据所述初始地理位置和历史出行路线,预测电子设备的目标出行路线;A prediction module, used to predict the target travel route of the electronic device based on the initial geographic location and the historical travel route;
确定模块,用于确定当前地理位置;The determination module is used to determine the current geographic location;
差异获取模块,用于根据所述当前地理位置和所述目标出行路线获取位置差异信息;A difference obtaining module, configured to obtain position difference information according to the current geographic location and the target travel route;
发送模块,用于基于所述位置差异信息确定是否向外界发送报警信息。The sending module is used to determine whether to send alarm information to the outside world based on the location difference information.
第三方面,本申请实施例提供一种存储介质,所述存储介质中存储有多条指令,所述指令适于由处理器加载以执行以下步骤:In a third aspect, an embodiment of the present application provides a storage medium in which multiple instructions are stored, and the instructions are adapted to be loaded by a processor to perform the following steps:
获取出行时的初始地理位置、及历史时间段内电子设备历史出行路线;Obtain the initial geographic location at the time of travel and the historical travel route of the electronic device in the historical time period;
根据所述初始地理位置和历史出行路线,预测电子设备的目标出行路线;Predict the target travel route of the electronic device based on the initial geographic location and historical travel route;
确定当前地理位置;Determine the current geographic location;
根据所述当前地理位置和所述目标出行路线获取位置差异信息;Acquiring location difference information according to the current geographic location and the target travel route;
基于所述位置差异信息确定是否向外界发送报警信息。Based on the location difference information, it is determined whether to send alarm information to the outside world.
第四方面,本申请实施例提供一种电子设备,包括处理器以及存储介质,所述存储介质中存储有多条指令,所述处理器加载所述指令以执行以下步骤:According to a fourth aspect, an embodiment of the present application provides an electronic device, including a processor and a storage medium, where multiple instructions are stored in the storage medium, and the processor loads the instructions to perform the following steps:
获取出行时的初始地理位置、及历史时间段内电子设备历史出行路线;Obtain the initial geographic location at the time of travel and the historical travel route of the electronic device in the historical time period;
根据所述初始地理位置和历史出行路线,预测电子设备的目标出行路线;Predict the target travel route of the electronic device based on the initial geographic location and historical travel route;
确定当前地理位置;Determine the current geographic location;
根据所述当前地理位置和所述目标出行路线获取位置差异信息;Acquiring location difference information according to the current geographic location and the target travel route;
基于所述位置差异信息确定是否向外界发送报警信息。Based on the location difference information, it is determined whether to send alarm information to the outside world.
附图说明BRIEF DESCRIPTION
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍。显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the technical solutions in the embodiments of the present application, the drawings required in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, without paying any creative labor, other drawings can also be obtained based on these drawings.
为了更完整地理解本申请及其有益效果,下面将结合附图来进行以下说明,其中在下面的描述中相同的附图标号表示相同部分。For a more complete understanding of the present application and its beneficial effects, the following description will be made in conjunction with the accompanying drawings, wherein the same reference numerals in the following description indicate the same parts.
图1是本申请实施例提供的信息发送方法的第一流程示意图。FIG. 1 is a first schematic flowchart of an information sending method provided by an embodiment of the present application.
图2是本申请实施例提供的信息发送方法的第二流程示意图。FIG. 2 is a second schematic flowchart of the information sending method provided by the embodiment of the present application.
图3是本申请实施例提供的信息发送装置的第一结构示意图。FIG. 3 is a first schematic structural diagram of an information sending device provided by an embodiment of the present application.
图4是本申请实施例提供的信息发送装置的第二结构示意图。FIG. 4 is a second schematic structural diagram of an information sending apparatus provided by an embodiment of the present application.
图5是本申请实施例提供的信息发送装置的第三结构示意图。FIG. 5 is a third schematic structural diagram of an information sending apparatus provided by an embodiment of the present application.
图6是本申请实施例提供的信息发送装置的第三结构示意图。FIG. 6 is a third schematic structural diagram of an information sending device provided by an embodiment of the present application.
图7是本申请实施例提供的电子设备的结构示意图。7 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
图8是本申请实施例提供的电子设备的又一结构示意图。FIG. 8 is another schematic structural diagram of an electronic device provided by an embodiment of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative work fall within the protection scope of the present application.
在生活中,出租车之所以安全是出厂时统一安装报警装置,但是却不适用于顺风车等私家车。有基于此,本申请实施例提供一种信息发送方法、装置、存储介质及电子设备,以下将分别进行详细说明。In life, the reason why taxis are safe is to install alarm devices at the factory, but it is not suitable for private cars such as downwind cars. Based on this, embodiments of the present application provide an information sending method, device, storage medium, and electronic equipment, which will be described in detail below.
如图1所示,本申请实施例提供了一种信息发送方法,应用于电子设备。该电子设备可以是智能手机、平板电脑等智能终端。其中,信息发送方法可以包括以下流程:As shown in FIG. 1, an embodiment of the present application provides an information sending method, which is applied to an electronic device. The electronic device may be a smart terminal such as a smart phone or a tablet computer. Among them, the information sending method may include the following processes:
101、获取出行时的初始地理位置、及历史时间段内电子设备历史出行路线。101. Obtain the initial geographic location when traveling and the historical travel route of the electronic device in the historical time period.
在本实施例中,获取电子设备当前地理位置的方式可以有多种,比如,可以采用全球定位系统(Global Positioning System,简称GPS)技术,在所述电子设备内部集成GPS芯片装置,以获取当前地理位置信息。又例如,还可以采用基站定位技术,在基站确定电子设备的地理位置之后发送相应信息至终端,以获取当前地理位置。另外,还可以采用其他定位方式,如无线保真技术(WIreless-FIdelity,简称Wi-Fi)定位、蓝牙定位等方式。在本申请实施例中,初始地理位置为出行时的最开始地理位置,如家庭地位置、办公地理位置、学校地理位置等等。In this embodiment, there may be many ways to obtain the current geographic location of the electronic device. For example, a Global Positioning System (Global Positioning System, GPS for short) technology may be used to integrate a GPS chip device inside the electronic device to obtain the current Geographical information. For another example, base station positioning technology may also be used, and after the base station determines the geographic location of the electronic device, corresponding information is sent to the terminal to obtain the current geographic location. In addition, other positioning methods may also be used, such as wireless fidelity (WIreless-FIdelity, Wi-Fi for short) positioning, Bluetooth positioning, and the like. In the embodiment of the present application, the initial geographic location is the initial geographic location when traveling, such as the location of a family location, the geographic location of an office, the geographic location of a school, and so on.
其中,获取的地理位置信息可以是具体的经度、纬度、海拔等较为精确的地理位置信息,也可以是地理区间、位置范围等较为粗略的地理位置信息。Wherein, the acquired geographic location information may be more precise geographic location information such as specific longitude, latitude, altitude, etc., or rough geographic location information such as geographic interval and location range.
在本申请实施例中,电子设备的历史出行路线可以为电子设备的运地理位置变化记录信息。实际应用中,可以基于电子设备在一定时间(如单位时间)内的地理位置幅度变化大小,来确定每一出行路线。例如,在一个小时内,电子设备的地理位置一直在变化,则可以将该一个小时内电子设备的地理位置变化形成的线路,作为一出行路线。In the embodiment of the present application, the historical travel route of the electronic device may be recorded information of the change of the geographic location of the electronic device. In practical applications, each travel route can be determined based on the magnitude of the change in the geographic location amplitude of the electronic device within a certain time (eg, unit time). For example, within one hour, the geographic location of the electronic device has been changing, and the route formed by the geographic location of the electronic device within one hour may be used as a travel route.
实际应用中,可将电子设备每一记录的出行路线信息转换成相应的数据存储到预设的存储区域中。当需要使用某一或某些应用的出行路线信息时,则可以从该存储区域中调取与该某一或某些应用在某一时间段内对应的数据,对获取的数据进行解析得到相应的信息,以作为该某一或某些应用在历史时间段内的历史出行路线。In practical applications, each recorded travel route information of the electronic device can be converted into corresponding data and stored in a preset storage area. When the travel route information of a certain application or certain applications needs to be used, the data corresponding to the certain application or applications within a certain period of time can be retrieved from the storage area, and the obtained data can be parsed to obtain the corresponding Information to serve as the historical travel route of the application or applications in the historical time period.
其中,历史时间段可以是过去一个月、最近一周等。The historical time period may be the past month, the most recent week, and so on.
102、根据初始地理位置和历史出行路线,预测电子设备的目标出行路线。102. According to the initial geographic location and the historical travel route, predict the target travel route of the electronic device.
具体的,可以基于历史出行路线、历史出行路线中的起始点和终点,将出行的初始地理位置与其进行比对,确定初始地理位置落入在哪一条历史出行路线上,从而来预测电子设备当前欲走的出行路线。Specifically, based on the historical travel route, the starting point and the end point in the historical travel route, the initial geographic location of the travel can be compared with it to determine on which historical travel route the initial geographic location falls, so as to predict the current location of the electronic device The travel route to be taken.
具体实施时,为提升出行路线预测的准确性,可引入当前时间点的特征,也即可基于当前地理位置、当前时间点、以及历史出现路线来预测目标出现路线,也即,在一些实施例中,步骤“根据初始地理位置和历史出行路线,预测电子设备的目标出行路线”,可以包括以下流程:During specific implementation, in order to improve the accuracy of the travel route prediction, the characteristics of the current time point may be introduced, that is, the target occurrence route may be predicted based on the current geographic location, the current time point, and the historical appearance route, that is, in some embodiments In the step "predict the target travel route of the electronic device based on the initial geographic location and historical travel route", the following process may be included:
确定当前时间点;Determine the current time;
确定当前时间点对应的样本时间段;Determine the sample time period corresponding to the current time point;
根据初始地理位置、历史出行路线及样本时间段,预测电子设备的目标出行路线。Based on the initial geographic location, historical travel route, and sample time period, the target travel route of the electronic device is predicted.
具体的,可以在电子设备中集成计时器,用于实时检测当前的时间信息,如时间戳。然后,将获取的时间戳换算成目前通用的时间格式的时间信息,如xx年xx月xx日xx时xx分xx秒,还可以转换成第xx周、星期xx、xx时xx分xx秒等。Specifically, a timer can be integrated in the electronic device to detect the current time information in real time, such as a time stamp. Then, convert the obtained timestamp to the time information in the current common time format, such as xx year xx month xx day xx hour xx minutes xx seconds, and can also be converted into week xx, week xx, xx hours xx minutes xx seconds, etc. .
本实施例中,历史时间段可以包括多个时间周期,每一时间周期包括多个时间段。例如,每天的中午12:00到14:00为一时间段。,每天的中午17:00到19:00为另一时间段。星期一的中午12:00到14:00和星期二的中午12:00到14:00可以作为不同时间周期的相同时间段。In this embodiment, the historical time period may include multiple time periods, and each time period includes multiple time periods. For example, every day from 12:00 noon to 14:00 is a period of time. , Everyday from 17:00 to 19:00 is another time period. 12:00 to 14:00 noon on Monday and 12:00 to 14:00 noon on Tuesday can be used as the same time period in different time periods.
在本申请实施例中,可以基于历史时间段内出现路线的出行时间,来划分样本时间段。例如,可以将划分时间段包括7:00至9:00,11:00至13:00,17:00至19:00,21:00至23:00等等。若当前时间点为12:12:12,则可以确定当前时间点对应的样本时间段为11:00至13:00。In the embodiment of the present application, the sample time period may be divided based on the travel time of the route appearing in the historical time period. For example, the divided time period may include 7:00 to 9:00, 11:00 to 13:00, 17:00 to 19:00, 21:00 to 23:00, and so on. If the current time point is 12:12:12, it can be determined that the sample time period corresponding to the current time point is 11:00 to 13:00.
然后,可以基于所确定的样本时间段,从历史出行路线中筛选出不同时间周期中该样本时间段对应的历史出行路线。结合初始地理位置,从筛选出的历史出行路线中匹配概率最大的历史出行路线,作为预测到的目标出行路线。Then, based on the determined sample time period, the historical travel route corresponding to the sample time period in different time periods can be filtered out from the historical travel route. Combined with the initial geographic location, the historical travel route with the highest probability of matching from the selected historical travel routes is used as the predicted target travel route.
在一些实施例中,可统计一定时间段内电子设备的出行路线信息,根据统计结果得出在不同时间点下的电子设备的改聘出行路线,以此作为用户使用应用的习惯,来预测不同时间点、不同初始位置下的目标出行路线。实际应用中,可基于统计的出行路线信息构建电子设备出行路线的预测算法模型(如混合高斯算法模型、卷积神经网络算法模型等),从而根据预测结果调整不同时间点、不同初始位置下的目标出行路线。In some embodiments, the travel route information of the electronic device within a certain period of time may be counted, and the re-employment travel route of the electronic device at different time points may be obtained according to the statistical results, as a habit of the user using the application to predict different Time point, target travel route at different initial positions. In practical applications, a prediction algorithm model (such as a mixed Gaussian algorithm model, a convolutional neural network algorithm model, etc.) of an electronic device's travel route can be constructed based on statistical travel route information, so as to adjust the different time points and different initial positions according to the prediction results. Target travel route.
具体实施过程中,为减少电子设备的功耗,节省电子设备的资源,可直接设定所需记录的时间段,然后在该时间段内对电子设备的地理位置变化信息进行记录即可,以便后续使用。In the specific implementation process, in order to reduce the power consumption of the electronic device and save the resources of the electronic device, the time period required for recording can be directly set, and then the geographic location change information of the electronic device can be recorded within this time period, so that Subsequent use.
103、确定当前地理位置。103. Determine the current geographic location.
在本实施例中,可以采用GPS定位技术、基站定位技术、Wi-Fi定位技术、蓝牙定位等方式确定当前地理位置。在本申请实施例中,该当前地理位置为电子设备的实时地理位置。In this embodiment, GPS positioning technology, base station positioning technology, Wi-Fi positioning technology, Bluetooth positioning, etc. may be used to determine the current geographic location. In the embodiment of the present application, the current geographic location is the real-time geographic location of the electronic device.
其中,获取的当前地理位置信息可以是具体的经度、纬度、海拔等较为精确的地理位置信息,也可以是地理区间、位置范围等较为粗略的地理位置信息。Wherein, the acquired current geographic location information may be more precise geographic location information such as specific longitude, latitude, altitude, etc., or rough geographic location information such as geographic interval and location range.
104、根据当前地理位置和目标出行路线获取位置差异信息。104. Obtain location difference information according to the current geographic location and the target travel route.
具体的,获取当前地理位置与预测到的目标出行路线上各个位置的差异信息。例如,该位置差异信息可以是距离差异信息、所在区域差异信息、方向差异信息等。Specifically, the difference information between the current geographic location and each location on the predicted target travel route is obtained. For example, the location difference information may be distance difference information, location difference information, direction difference information, and so on.
105、基于位置差异信息确定是否向外界发送报警信息。105. Determine whether to send an alarm message to the outside world based on the location difference information.
具体的,可根据获取的差异信息的大小程度来确定是否向外界发送报警信息。实际应用中,可以通过广播的形式向周围的电子设备、或移动电子装置发送报警信息。其中,该报警信息中可以包括寻求救援的信息(如编辑好的求助文字)、当前的地理位置信息、电子设备的设备号或电话号码信息、以及电子设备的使用者信息等。进一步的,电子设备还 可以调用摄像头拍摄周围的环境信息,并将得到的图像信息一同添加到报警信息中发送到外界。Specifically, whether to send the alarm information to the outside world can be determined according to the magnitude of the acquired difference information. In practical applications, alarm information can be sent to surrounding electronic devices or mobile electronic devices in the form of broadcasting. Wherein, the alarm information may include information for seeking rescue (such as edited help text), current geographic location information, device number or telephone number information of the electronic device, and user information of the electronic device, etc. Further, the electronic device can also call the camera to shoot the surrounding environment information, and add the obtained image information to the alarm information to send to the outside world.
例如,移动电子装置可以是警车、正规的出租车等车辆设备上安装的报警信息接收装置,可以实时监控周围的电子设备发出的报警信号,并可在检测接收到报警信号时,发出提示信息(如响铃)以通知车辆设备内的用户前往电子设备所在处进援助。For example, the mobile electronic device may be an alarm information receiving device installed on vehicle equipment such as a police car, a regular taxi, etc., which can monitor the alarm signals issued by the surrounding electronic devices in real time, and can issue a prompt message when detecting the received alarm signal ( Such as ringing) to notify users in the vehicle equipment to go to the location where the electronic equipment is located for assistance.
在上述各实施方式的基础上,本申请实施例中根据当前地理位置和目标出行路线获取位置差异信息的方式可以有多种。在一些实施例中,可以为之差异信息为举例差值为例,参考图2,则步骤“根据当前地理位置和目标出行路线获取位置差异信息”,可以包括以下流程:Based on the above embodiments, there may be multiple ways to obtain location difference information according to the current geographic location and the target travel route in the embodiments of the present application. In some embodiments, the difference information may be an example. The difference value is an example. Referring to FIG. 2, the step "Acquiring position difference information based on the current geographic location and the target travel route" may include the following process:
1041、按照预设规则对目标出行路线进行位置点采样,得到多个样本地理位置;1041. Sample the location of the target travel route according to preset rules to obtain multiple sample geographic locations;
1042、获取所述多个样本地理位置与当前位置之间的距离差值,得到距离差值集合。1042. Obtain the distance difference between the geographic locations of the multiple samples and the current position to obtain a set of distance differences.
其中,预设规则可以是由产品生产厂商或本领域技术人员设定的,例如每隔n米可以对位置进行一次采样。其中,n的值可以为10、100、1000等等,可以根据实际需求进行设定。The preset rule may be set by a product manufacturer or a person skilled in the art, for example, the position may be sampled every n meters. Among them, the value of n can be 10, 100, 1000, etc., which can be set according to actual needs.
继续参考图2,步骤“基于位置差异信息确定是否向外界发送报警信息”,可以包括以下流程:With continued reference to FIG. 2, the step "determining whether to send an alarm message to the outside world based on the location difference information" may include the following process:
1051、从所述距离差值集合中选取最小距离差值;1051, the minimum distance difference value is selected from the distance difference value set;
1052、判断所述最小距离差值是否大于第一阈值;若是,执行步骤1053,否则结束流程。1052. Determine whether the minimum distance difference is greater than the first threshold; if so, perform step 1053, otherwise end the process.
1053、若是,则向外界发送报警信息。1053. If yes, send an alarm message to the outside world.
其中,第一阈值为安全距离,也即电子设备不发出警报信息下,当前地理位置距离标准路线中地理位置的最大距离。该安全距离可以由产品生产厂商或本领域技术人员设定的,例如,该第一阈值可以为5米、10米等等,具体可以根据路线的实际宽度、大小进行设定。The first threshold is a safe distance, that is, the maximum distance between the current geographic location and the geographic location in the standard route when the electronic device does not issue an alarm message. The safety distance may be set by a product manufacturer or a person skilled in the art. For example, the first threshold may be 5 meters, 10 meters, etc., and may be set according to the actual width and size of the route.
当距离差值大于第一阈值时,也即当前地理位置距离标准路线的最小距离大于安全距离时,电子设备向外界发送报警信息,以寻求周围的用户援助。When the distance difference is greater than the first threshold, that is, when the minimum distance between the current geographic location and the standard route is greater than the safe distance, the electronic device sends an alarm message to the outside world to seek assistance from surrounding users.
在一些实施例中,考虑到实际情况,不同时间段的安全隐患不相同。例如,夜间的乘车安全隐患远超过白天的乘车安全隐患。因此,为了提升判断结果的准确性,可以对不同的时间段设置不同的判定阈值。也即,在判断最小距离差值是否大于第一阈值之前,还可以包括以下流程:In some embodiments, considering the actual situation, the security risks in different time periods are different. For example, the hidden dangers of riding at night far exceed the hidden dangers of riding during the day. Therefore, in order to improve the accuracy of the judgment result, different judgment thresholds can be set for different time periods. That is, before determining whether the minimum distance difference is greater than the first threshold, the following process may also be included:
确定当前时间点;Determine the current time;
判断当前时间点是否处于预设时间段内;Determine whether the current time is within the preset time period;
若否,则将预设阈值更新为第二阈值,其中,第二阈值小于第一阈值;If not, the preset threshold is updated to the second threshold, where the second threshold is less than the first threshold;
步骤“判断距离差值是否大于第一预设阈值”,可以包括以下流程:The step "judging whether the distance difference is greater than the first preset threshold" may include the following process:
判断距离差值是否大于第二预设阈值;Determine whether the distance difference is greater than the second preset threshold;
若是,则向外界发送报警信息。If it is, send an alarm message to the outside world.
其中,预设时间段可以是夜间时间,如每天的21:00至第二天的6:00。也可以是其他范围更大或更小的时间段,具体可以根据实际情况进行设定。由于夜间安全隐患较大,因此将第二阈值设定为小于第一阈值,也即将安全距离调小,以提升电子设备发送报警信息的灵敏度。The preset time period may be night time, such as 21:00 every day to 6:00 the next day. It can also be another time period with a larger or smaller range, which can be set according to the actual situation. Since the safety hazard at night is greater, the second threshold is set to be less than the first threshold, that is, the safety distance is to be reduced to improve the sensitivity of the electronic device to send the alarm message.
在一些实施例中,在判断最小距离差值是否大于第一阈值之前,还可以包括以下流程:In some embodiments, before determining whether the minimum distance difference is greater than the first threshold, the following process may also be included:
判断当前地理位置是否处于预设位置区域内;Determine whether the current geographic location is within the preset location area;
若是,将预设阈值更新为第三阈值,其中,第三阈值小于第一阈值。If yes, update the preset threshold to a third threshold, where the third threshold is less than the first threshold.
步骤“判断距离差值是否大于第一预设阈值”,可以包括以下流程:The step "judging whether the distance difference is greater than the first preset threshold" may include the following process:
判断距离差值是否大于第三预设阈值;Determine whether the distance difference is greater than the third preset threshold;
若是,则向外界发送报警信息。If it is, send an alarm message to the outside world.
其中,预设位置区域可以是人流量较少、地理位置较为偏僻的地区。该地区的范围大小可以根据实际情况进行设定。由于偏僻、人流量较少的地区安全隐患较大,因此将第三阈值设定为小于第一阈值,也即将安全距离调小,以提升电子设备发送报警信息的灵敏度。Among them, the preset location area may be an area with less people flow and a more remote geographical location. The size of the area can be set according to the actual situation. Due to the greater security risks in remote areas with less traffic, the third threshold is set to be less than the first threshold, which means that the safety distance will be reduced to increase the sensitivity of the electronic device to send alarm messages.
在一些实施例中,考虑到实际情况,还可以基于实时的路况信息动态调整距离差值的判定阈值。也即,在判定距离差值大于第一阈值后,向外界发送报警信息之前,还可以包括以下流程:In some embodiments, considering the actual situation, the determination threshold of the distance difference may also be dynamically adjusted based on real-time road condition information. That is, after determining that the distance difference is greater than the first threshold, before sending the alarm information to the outside world, the following process may also be included:
获取实时路况信息;Get real-time traffic information;
根据路况信息判断当前目标出行路线中是否包括拥堵路段;Determine whether the current target travel route includes the congested road segment according to the road condition information;
若否,基于路况信息、目标出行路线、历史出行路线及当前地理位置,重新预测出行路线。If not, based on traffic information, target travel route, historical travel route and current geographic location, re-predict travel route.
其中,实时路况信息可以是通过电子设备与服务器建立通信连接,从服务器实时获取到的路况信息。该路况信息中可以包括拥堵路段、畅通路段等信息。基于获取到的实时路况信息,可以判断当前目标出行路线中是否包括拥堵路段。若出现拥堵路段,则实际应用中司机将会绕开原始拥堵路线,改用新路线行驶。因此,电子设备可以根据当前的各情况(如路况信息、及当前地理位置)重新预测出行路线,来对实际出行进行进行监控。Wherein, the real-time road condition information may be the road condition information obtained from the server in real time by establishing a communication connection with the server through the electronic device. The traffic condition information may include information such as congested road sections and clear road sections. Based on the acquired real-time road condition information, it can be determined whether the current target travel route includes a congested road segment. If there is a congested road section, the driver will bypass the original congested route and use the new route instead. Therefore, the electronic device can re-predict the travel route according to the current conditions (such as road condition information and current geographic location) to monitor the actual travel.
在一些实施例中,在基于路况信息、目标出行路线、历史出行路线及当前地理位置,重新预测出行路线后,向外界发送报警信息之前,还可以包括以下流程:In some embodiments, after re-predicting the travel route based on the road condition information, the target travel route, the historical travel route, and the current geographic location, before sending the alarm information to the outside world, the following process may also be included:
在判定距离差值大于第一阈值时,判断在预设时长内,电子设备与重新预测后出行路线的终点位置是否处于接近状态;When it is determined that the distance difference is greater than the first threshold, it is determined whether the electronic device is in a close state to the end position of the travel route after the re-prediction within a preset duration;
若否,则向外界发送报警信息。If not, send an alarm message to the outside world.
具体的,重新规划路线后,可能由于规划的路线与实际出行的路线出现偏差。因此,为了提升报警信息的发送的准确性,还可以进一步根据电子设备与路线终点(即目的地)的距离进行判定。也即,在判定距离差值大于安全距离后,可以判断电子设备是在靠近目的地,还是远离目的地。如果是远离目的地,则可以认为当前超出安全范围,因此可以向外界发送报警信息以寻求帮助。Specifically, after re-planning the route, the planned route may deviate from the actual route. Therefore, in order to improve the accuracy of the transmission of the alarm information, the determination may be further based on the distance between the electronic device and the end of the route (ie, the destination). That is, after determining that the distance difference is greater than the safety distance, it can be determined whether the electronic device is approaching the destination or away from the destination. If it is far away from the destination, it can be considered that it is currently outside the safe range, so it can send an alarm message to the outside world for help.
由上可知,本申请实施例提供的信息发送方法,通过获取出行时的初始地理位置、及历史时间段内电子设备历史出行路线;根据初始地理位置和历史出行路线,预测电子设备的目标出行路线;根据当前地理位置和目标出行路线获取位置差异信息;基于位置差异信息确定是否向外界发送报警信息。本方案通过用户的历史出行习惯来预测用户的出行路线,并在实际路线偏离预测的出行路线时,向外界发送预警信息,提升信息发送的准确性,从而保证用户的人身安全。As can be seen from the above, the information sending method provided by the embodiments of the present application obtains the initial geographic location of the travel and the historical travel route of the electronic device within the historical time period; based on the initial geographic location and the historical travel route, the target travel route of the electronic device is predicted ;Acquire location difference information based on current geographic location and target travel route; determine whether to send alarm information to the outside world based on location difference information. This solution predicts the user's travel route through the user's historical travel habits, and sends warning information to the outside world when the actual route deviates from the predicted travel route to improve the accuracy of information transmission, thereby ensuring the user's personal safety.
本申请实施例还提供一种信息发送装置300,该装置可以集成在电子设备中,该电子设备可以是智能手机、平板电脑等智能终端设备,所述电子设备中安装有多个应用。An embodiment of the present application further provides an information sending apparatus 300, which may be integrated in an electronic device, which may be a smart terminal device such as a smart phone, a tablet computer, and the like, and multiple applications are installed in the electronic device.
如图3所示,信息发送装置300可包括:信息获取模块31、预测模块32、确定模块33、差异获取模块34、发送模块35。其中:As shown in FIG. 3, the information sending device 300 may include: an information acquiring module 31, a prediction module 32, a determining module 33, a difference acquiring module 34, and a sending module 35. among them:
信息获取模块31,用于获取出行时的初始地理位置、及历史时间段内电子设备历史出行路线;The information obtaining module 31 is used to obtain the initial geographic location when traveling and the historical travel route of the electronic device in the historical time period;
预测模块32,用于根据所述初始地理位置和历史出行路线,预测电子设备的目标出行路线;The prediction module 32 is used to predict the target travel route of the electronic device according to the initial geographic location and the historical travel route;
确定模块33,用于确定当前地理位置;The determining module 33 is used to determine the current geographic location;
差异获取模块34,用于根据所述当前地理位置和所述目标出行路线获取位置差异信息;The difference obtaining module 34 is configured to obtain position difference information according to the current geographic location and the target travel route;
发送模块35,用于基于所述位置差异信息确定是否向外界发送报警信息。The sending module 35 is configured to determine whether to send alarm information to the outside world based on the location difference information.
在一些实施例中,所处位置差异信息包括距离差值;参考图4,差异获取模块34可以包括:In some embodiments, the location difference information includes a distance difference value; referring to FIG. 4, the difference acquisition module 34 may include:
采样子模块341,用于按照预设规则对所述目标出行路线进行位置点采样,得到多个样本地理位置;The sampling sub-module 341 is configured to sample the location of the target travel route according to a preset rule to obtain multiple sample geographic locations;
获取子模块342,用于获取所述多个样本地理位置与所述当前位置之间的距离差值,得到距离差值集合;An obtaining sub-module 342, configured to obtain the distance difference between the geographic locations of the multiple samples and the current position to obtain a set of distance differences;
所述发送模块35可以用于:判断所述最小距离差值是否大于第一阈值;若是,则向外界发送报警信息。The sending module 35 may be used to: determine whether the minimum distance difference is greater than a first threshold; if so, send an alarm message to the outside world.
在一些实施例中,参考图5,所述装置300还可以包括:In some embodiments, referring to FIG. 5, the device 300 may further include:
第一更新模块36,用于在判断所述最小距离差值是否大于第一阈值之前,确定当前时间点;判断所述当前时间点是否处于预设时间段内;若否,将所述预设阈值更新为第二阈值,其中,第二阈值小于第一阈值;The first updating module 36 is used to determine the current time before determining whether the minimum distance difference is greater than the first threshold; determine whether the current time is within a preset time period; if not, set the preset The threshold is updated to a second threshold, where the second threshold is less than the first threshold;
所述发送模块35可以用于:判断所述距离差值是否大于第二预设阈值;若是,则向外界发送报警信息。The sending module 35 may be used to: determine whether the distance difference is greater than a second preset threshold; if so, send an alarm message to the outside world.
在一些实施例中,参考图6,所述装置300还可以包括:In some embodiments, referring to FIG. 6, the device 300 may further include:
第二更新模块37,用于判断当前地理位置是否处于预设位置区域内;若是,将所述预设阈值更新为第三阈值,其中,第三阈值小于第一阈值;The second update module 37 is configured to determine whether the current geographic location is within a preset location area; if so, update the preset threshold to a third threshold, where the third threshold is less than the first threshold;
所述发送模块35可以用于:判断所述距离差值是否大于第三预设阈值;若是,则向外界发送报警信息。The sending module 35 may be used to: determine whether the distance difference is greater than a third preset threshold; if so, send an alarm message to the outside world.
在一些实施例中,所述预测模块32可以用于:In some embodiments, the prediction module 32 may be used to:
确定当前时间点;Determine the current time;
确定当前时间点对应的样本时间段;Determine the sample time period corresponding to the current time point;
根据所述初始地理位置、历史出行路线及样本时间段,预测电子设备的目标出行路线。The target travel route of the electronic device is predicted based on the initial geographic location, historical travel route, and sample time period.
由上可知,本申请实施例提供了一种信息发送装置,通过获取出行时的初始地理位置、及历史时间段内电子设备历史出行路线;根据初始地理位置和历史出行路线,预测电子设备的目标出行路线;根据当前地理位置和目标出行路线获取位置差异信息;基于位置差异信息确定是否向外界发送报警信息。本申请通过用户的历史出行习惯来预测用户的出行路线,并在实际路线偏离预测的出行路线时,向外界发送预警信息,提升信息发送的准确性,从而保证用户的人身安全。As can be seen from the above, the embodiments of the present application provide an information sending device, which obtains the initial geographic location when traveling and the historical travel route of the electronic device within a historical time period; predicts the target of the electronic device based on the initial geographic location and historical travel route Travel route; obtain location difference information based on current geographic location and target travel route; determine whether to send alarm information to the outside world based on location difference information. This application predicts the user's travel route through the user's historical travel habits, and sends warning information to the outside world when the actual route deviates from the predicted travel route to improve the accuracy of the information sent, thereby ensuring the user's personal safety.
本申请实施例还提供一种电子设备,该电子设备中安装有多个应用。请参阅图7,电子设备500包括处理器501以及存储器502。其中,处理器501与存储器502电性连接。An embodiment of the present application also provides an electronic device, and multiple applications are installed in the electronic device. Referring to FIG. 7, the electronic device 500 includes a processor 501 and a memory 502. The processor 501 and the memory 502 are electrically connected.
该处理器500是电子设备500的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或加载存储在存储器502内的计算机程序,以及调用存储在存储器502内的数据,执行电子设备500的各种功能并处理数据,从而对电子设备500进行整体监控。The processor 500 is the control center of the electronic device 500, which uses various interfaces and lines to connect the various parts of the entire electronic device, executes or loads the computer program stored in the memory 502, and calls the data stored in the memory 502 to execute The electronic device 500 performs various functions and processes data to perform overall monitoring of the electronic device 500.
该存储器502可用于存储软件程序以及模块,处理器501通过运行存储在存储器502的计算机程序以及模块,从而执行各种功能应用以及数据处理。存储器502可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的计算机程序等;存储数据区可存储根据电子设备的使用所创建的数据等。此外,存储器502可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器502还可以包括存储器控制器,以提供处理器501对存储器502的访问。The memory 502 can be used to store software programs and modules. The processor 501 runs computer programs and modules stored in the memory 502 to execute various functional applications and data processing. The memory 502 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, a computer program required for at least one function, and the like; the storage data area may store data created according to the use of electronic devices, and the like. In addition, the memory 502 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 502 may further include a memory controller to provide the processor 501 with access to the memory 502.
在本申请实施例中,电子设备500中的处理器501会按照如下的步骤,将一个或一个以上的计算机程序的进程对应的指令加载到存储器502中,并由处理器501运行存储在存储器502中的计算机程序,从而实现各种功能,如下:In the embodiment of the present application, the processor 501 in the electronic device 500 will load the instructions corresponding to the process of one or more computer programs into the memory 502 according to the following steps, and the processor 501 runs and stores the instructions in the memory 502 The computer program in order to achieve various functions, as follows:
获取出行时的初始地理位置、及历史时间段内电子设备历史出行路线;Obtain the initial geographic location at the time of travel and the historical travel route of the electronic device in the historical time period;
根据所述初始地理位置和历史出行路线,预测电子设备的目标出行路线;Predict the target travel route of the electronic device based on the initial geographic location and historical travel route;
确定当前地理位置;Determine the current geographic location;
根据所述当前地理位置和所述目标出行路线获取位置差异信息;Acquiring location difference information according to the current geographic location and the target travel route;
基于所述位置差异信息确定是否向外界发送报警信息。Based on the location difference information, it is determined whether to send alarm information to the outside world.
在一些实施例中,所处位置差异信息包括距离差值;在根据所述当前地理位置和所述目标出行路线获取位置差异信息时,所述处理器501执行以下步骤:In some embodiments, the location difference information includes a distance difference value; when acquiring location difference information according to the current geographic location and the target travel route, the processor 501 performs the following steps:
所述根据所述当前地理位置和所述目标出行路线获取位置差异信息,包括:The obtaining location difference information according to the current geographic location and the target travel route includes:
按照预设规则对所述目标出行路线进行位置点采样,得到多个样本地理位置;Sampling the target travel route according to preset rules to obtain multiple sample geographic locations;
获取所述多个样本地理位置与所述当前位置之间的距离差值,得到距离差值集合;Obtaining a distance difference between the plurality of sample geographic locations and the current position to obtain a distance difference set;
在基于所述位置差异信息确定是否向外界发送报警信息时,所述处理器501执行以下步骤:When determining whether to send an alarm message to the outside world based on the location difference information, the processor 501 performs the following steps:
从距离差值集合中选取最小距离差值;Select the smallest distance difference from the distance difference set;
判断所述最小距离差值是否大于第一阈值;Determine whether the minimum distance difference is greater than the first threshold;
若是,则向外界发送报警信息。If it is, send an alarm message to the outside world.
在一些实施例中,在在判断所述最小距离差值是否大于第一阈值之前,所述处理器501还执行以下步骤:In some embodiments, before determining whether the minimum distance difference is greater than the first threshold, the processor 501 further performs the following steps:
确定当前时间点;Determine the current time;
判断所述当前时间点是否处于预设时间段内;Determine whether the current time point is within a preset time period;
若否,则将所述预设阈值更新为第二阈值,其中,第二阈值小于第一阈值;If not, update the preset threshold to a second threshold, where the second threshold is less than the first threshold;
在判断所述距离差值是否大于第一预设阈值时,所述处理器501执行以下步骤:When determining whether the distance difference is greater than a first preset threshold, the processor 501 performs the following steps:
判断所述距离差值是否大于第二预设阈值;Determine whether the distance difference is greater than a second preset threshold;
若是,则执行向外界发送报警信息的操作。If yes, the operation of sending an alarm message to the outside world is performed.
在一些实施例中,在判断所述最小距离差值是否大于第一阈值之前,所述处理器501还执行以下步骤:In some embodiments, before determining whether the minimum distance difference is greater than the first threshold, the processor 501 further performs the following steps:
判断当前地理位置是否处于预设位置区域内;Determine whether the current geographic location is within the preset location area;
若是,将所述预设阈值更新为第三阈值,其中,第三阈值小于第一阈值;If yes, update the preset threshold to a third threshold, where the third threshold is less than the first threshold;
在判断所述距离差值是否大于第一预设阈值时,所述处理器501执行以下步骤:When determining whether the distance difference is greater than a first preset threshold, the processor 501 performs the following steps:
判断所述距离差值是否大于第三预设阈值;Determine whether the distance difference is greater than a third preset threshold;
若是,则执行向外界发送报警信息的操作。If yes, the operation of sending an alarm message to the outside world is performed.
在一些实施例中,在判定所述距离差值大于第一阈值后,向外界发送报警信息之前,所述处理器501执行以下步骤:In some embodiments, after determining that the distance difference is greater than the first threshold, before sending an alarm message to the outside world, the processor 501 performs the following steps:
获取实时路况信息;Get real-time traffic information;
根据所述路况信息判断当前所述目标出行路线中是否包括拥堵路段;Judging whether the current target travel route includes a congested road segment according to the road condition information;
若否,基于所述路况信息、目标出行路线、历史出行路线及当前地理位置,重新预测出行路线。If not, based on the road condition information, the target travel route, the historical travel route and the current geographic location, re-predict the travel route.
在一些实施例中,在基于所述路况信息、目标出行路线、历史出行路线及当前地理位置,重新预测出行路线后,向外界发送报警信息之前,所述处理器501执行以下步骤:In some embodiments, after re-predicting the travel route based on the road condition information, the target travel route, the historical travel route, and the current geographic location, before sending the alarm information to the outside world, the processor 501 performs the following steps:
在判定所述距离差值大于第一阈值时,判断在预设时长内,所述电子设备与重新预测后出行路线的终点位置是否处于接近状态;When it is determined that the distance difference is greater than the first threshold, it is determined whether the electronic device is in a close state to the end position of the travel route after the re-prediction within a preset duration;
若否,则向外界发送报警信息。If not, send an alarm message to the outside world.
在一些实施例中,在根据所述初始地理位置和历史出行路线,预测电子设备的目标出行路线时,所述处理器501执行以下步骤:In some embodiments, when predicting the target travel route of the electronic device based on the initial geographic location and the historical travel route, the processor 501 performs the following steps:
确定当前时间点;Determine the current time;
确定当前时间点对应的样本时间段;Determine the sample time period corresponding to the current time point;
根据所述初始地理位置、历史出行路线及样本时间段,预测电子设备的目标出行路线。The target travel route of the electronic device is predicted based on the initial geographic location, historical travel route, and sample time period.
由上可知,本申请实施例提供了一种电子设备,通过获取出行时的初始地理位置、及历史时间段内电子设备历史出行路线;根据初始地理位置和历史出行路线,预测电子设备的目标出行路线;根据当前地理位置和目标出行路线获取位置差异信息;基于位置差异信息确定是否向外界发送报警信息。本申请通过用户的历史出行习惯来预测用户的出行路线,并在实际路线偏离预测的出行路线时,向外界发送预警信息,提升信息发送的准确性,从而保证用户的人身安全。As can be seen from the above, the embodiments of the present application provide an electronic device, which obtains the initial geographic location when traveling and the historical travel route of the electronic device within a historical time period; based on the initial geographic location and historical travel route, the target travel of the electronic device is predicted Route; obtain location difference information based on current geographic location and target travel route; determine whether to send alarm information to the outside world based on location difference information. This application predicts the user's travel route through the user's historical travel habits, and sends warning information to the outside world when the actual route deviates from the predicted travel route to improve the accuracy of the information sent, thereby ensuring the user's personal safety.
请一并参阅图8,在某些实施方式中,电子设备500还可以包括:显示器503、射频电路504、音频电路505以及电源506。其中,其中,显示器503、射频电路504、音频电路505以及电源506分别与处理器501电性连接。Please refer to FIG. 8 together. In some embodiments, the electronic device 500 may further include: a display 503, a radio frequency circuit 504, an audio circuit 505, and a power supply 506. Among them, the display 503, the radio frequency circuit 504, the audio circuit 505, and the power supply 506 are electrically connected to the processor 501, respectively.
该显示器503可以用于显示由用户输入的信息或提供给用户的信息以及各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。The display 503 can be used to display information input by the user or provided to the user and various graphical user interfaces, which can be composed of graphics, text, icons, video, and any combination thereof.
该射频电路504可以用于收发射频信号,以通过无线通信与网络设备或其他电子设备建立无线通讯,与网络设备或其他电子设备之间收发信号。The radio frequency circuit 504 can be used to send and receive radio frequency signals to establish wireless communication with network devices or other electronic devices through wireless communication, and send and receive signals with network devices or other electronic devices.
该音频电路505可以用于通过扬声器、传声器提供用户与电子设备之间的音频接口。The audio circuit 505 can be used to provide an audio interface between a user and an electronic device through speakers and microphones.
该电源506可以用于给电子设备500的各个部件供电。在一些实施例中,电源506可以通过电源管理系统与处理器501逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The power supply 506 can be used to power various components of the electronic device 500. In some embodiments, the power supply 506 may be logically connected to the processor 501 through a power management system, so as to implement functions such as charging, discharging, and power consumption management through the power management system.
尽管图8中未示出,电子设备500还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown in FIG. 8, the electronic device 500 may further include a camera, a Bluetooth module, etc., which will not be repeated here.
本申请实施例还提供一种存储介质,该存储介质存储有计算机程序,当该计算机程序在计算机上运行时,使得该计算机执行上述任一实施例中的信息发送方法,比如:获取出行时的初始地理位置、及历史时间段内电子设备历史出行路线;根据所述初始地理位置和历史出行路线,预测电子设备的目标出行路线;确定当前地理位置;根据所述当前地理位置和所述目标出行路线获取位置差异信息;基于所述位置差异信息确定是否向外界发送报警信息。An embodiment of the present application also provides a storage medium that stores a computer program, and when the computer program is run on a computer, the computer is caused to execute the information sending method in any of the foregoing embodiments, for example: The initial geographic location and the historical travel route of the electronic device within the historical time period; based on the initial geographic location and historical travel route, predict the target travel route of the electronic device; determine the current geographic location; based on the current geographic location and the target travel The route obtains position difference information; based on the position difference information, it is determined whether to send alarm information to the outside world.
在本申请实施例中,存储介质可以是磁碟、光盘、只读存储器(Read Only Memory,ROM)、或者随机存取记忆体(Random Access Memory,RAM)等。In the embodiment of the present application, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the description of each embodiment has its own emphasis. For a part that is not detailed in an embodiment, you can refer to the related descriptions of other embodiments.
需要说明的是,对本申请实施例的信息发送方法而言,本领域普通测试人员可以理解实现本申请实施例的信息发送方法的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,该计算机程序可存储于一计算机可读取存储介质中,如存储在电子设备的存储器中,并被该电子设备内的至少一个处理器执行,在执行过程中可包括如信息发送方法的实施例的流程。其中,存储介质可为磁碟、光盘、只读存储器、随机存取记忆体等。It should be noted that, for the information sending method of the embodiment of the present application, ordinary testers in the art can understand that all or part of the process of implementing the information sending method of the embodiment of the present application can be completed by controlling relevant hardware through a computer program , The computer program may be stored in a computer-readable storage medium, such as stored in the memory of the electronic device, and executed by at least one processor in the electronic device, and the execution process may include, for example, the implementation of the information transmission method Example process. Among them, the storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, or the like.
对本申请实施例的信息发送装置而言,其各功能模块可以集成在一个处理芯片中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。该集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中,该存储介质譬如为只读存储器,磁盘或光盘等。For the information sending device of the embodiment of the present application, each functional module may be integrated into one processing chip, or each module may exist alone physically, or two or more modules may be integrated into one module. The above integrated modules can be implemented in the form of hardware or software function modules. If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium, such as a read-only memory, magnetic disk, or optical disk.
以上对本申请实施例所提供的一种信息发送方法、装置、存储介质及电子设备进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The information transmission method, device, storage medium, and electronic equipment provided in the embodiments of the present application are described in detail above. Specific examples are used in this article to explain the principles and implementation of the present application. The descriptions of the above embodiments are only It is used to help understand the method of this application and its core ideas; meanwhile, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation and application scope. In summary, this specification The content should not be construed as limiting the application.

Claims (20)

  1. 一种信息发送方法,应用于电子设备,其中,所述方法包括:An information sending method applied to electronic equipment, wherein the method includes:
    获取出行时的初始地理位置、及历史时间段内电子设备历史出行路线;Obtain the initial geographic location at the time of travel and the historical travel route of the electronic device in the historical time period;
    根据所述初始地理位置和历史出行路线,预测电子设备的目标出行路线;Predict the target travel route of the electronic device based on the initial geographic location and historical travel route;
    确定当前地理位置;Determine the current geographic location;
    根据所述当前地理位置和所述目标出行路线获取位置差异信息;Acquiring location difference information according to the current geographic location and the target travel route;
    基于所述位置差异信息确定是否向外界发送报警信息。Based on the location difference information, it is determined whether to send alarm information to the outside world.
  2. 根据权利要求1所述的信息发送方法,其中,所处位置差异信息包括距离差值;The information sending method according to claim 1, wherein the location difference information includes a distance difference value;
    所述根据所述当前地理位置和所述目标出行路线获取位置差异信息,包括:The obtaining location difference information according to the current geographic location and the target travel route includes:
    按照预设规则对所述目标出行路线进行位置点采样,得到多个样本地理位置;Sampling the target travel route according to preset rules to obtain multiple sample geographic locations;
    获取所述多个样本地理位置与所述当前位置之间的距离差值,得到距离差值集合;Obtaining a distance difference between the plurality of sample geographic locations and the current position to obtain a distance difference set;
    则,所述基于所述位置差异信息确定是否向外界发送报警信息,包括:Then, the determining whether to send the alarm information to the outside world based on the location difference information includes:
    从所述距离差值集合中选取最小距离差值;Selecting the smallest distance difference from the set of distance differences;
    判断所述最小距离差值是否大于第一阈值;Determine whether the minimum distance difference is greater than the first threshold;
    若是,则向外界发送报警信息。If it is, send an alarm message to the outside world.
  3. 根据权利要求2所述的信息发送方法,其中,在判断所述最小距离差值是否大于第一阈值之前,还包括:The information sending method according to claim 2, wherein before determining whether the minimum distance difference is greater than a first threshold, further comprising:
    确定当前时间点;Determine the current time;
    判断所述当前时间点是否处于预设时间段内;Determine whether the current time point is within a preset time period;
    若否,则将所述预设阈值更新为第二阈值,其中,第二阈值小于第一阈值;If not, update the preset threshold to a second threshold, where the second threshold is less than the first threshold;
    所述判断所述距离差值是否大于第一预设阈值,包括:The judging whether the distance difference is greater than a first preset threshold includes:
    判断所述距离差值是否大于第二预设阈值;Determine whether the distance difference is greater than a second preset threshold;
    若是,则向外界发送报警信息。If it is, send an alarm message to the outside world.
  4. 根据权利要求2所述的信息发送方法,其中,在判断所述最小距离差值是否大于第一阈值之前,包括:The information transmission method according to claim 2, wherein, before determining whether the minimum distance difference is greater than a first threshold, it includes:
    判断当前地理位置是否处于预设位置区域内;Determine whether the current geographic location is within the preset location area;
    若是,将所述预设阈值更新为第三阈值,其中,第三阈值小于第一阈值;If yes, update the preset threshold to a third threshold, where the third threshold is less than the first threshold;
    所述判断所述距离差值是否大于第一预设阈值,包括:The judging whether the distance difference is greater than a first preset threshold includes:
    判断所述距离差值是否大于第三预设阈值;Determine whether the distance difference is greater than a third preset threshold;
    若是,则向外界发送报警信息。If it is, send an alarm message to the outside world.
  5. 根据权利要求2所述的信息发送方法,其中,在判定所述距离差值大于第一阈值后,向外界发送报警信息之前,还包括:The information sending method according to claim 2, wherein after determining that the distance difference is greater than the first threshold, before sending alarm information to the outside world, further comprising:
    获取实时路况信息;Get real-time traffic information;
    根据所述路况信息判断当前所述目标出行路线中是否包括拥堵路段;Judging whether the current target travel route includes a congested road segment according to the road condition information;
    若否,基于所述路况信息、目标出行路线、历史出行路线及当前地理位置,重新预测出行路线。If not, based on the road condition information, the target travel route, the historical travel route, and the current geographic location, re-predict the travel route.
  6. 根据权利要求5所述的信息发送方法,其中,在基于所述路况信息、目标出行路线、历史出行路线及当前地理位置,重新预测出行路线后,向外界发送报警信息之前,还包括:The information sending method according to claim 5, wherein after re-predicting the travel route based on the road condition information, the target travel route, the historical travel route, and the current geographic location, before sending the alarm information to the outside world, further comprising:
    在判定所述距离差值大于第一阈值时,判断在预设时长内,所述电子设备与重新预测后出行路线的终点位置是否处于接近状态;When it is determined that the distance difference is greater than the first threshold, it is determined whether the electronic device is in a close state to the end position of the travel route after the re-prediction within a preset duration;
    若否,则向外界发送报警信息。If not, send an alarm message to the outside world.
  7. 根据权利要求1所述的信息发送方法,其中,所述根据所述初始地理位置和历史出行路线,预测电子设备的目标出行路线,包括:The information transmission method according to claim 1, wherein the predicting the target travel route of the electronic device based on the initial geographic location and the historical travel route includes:
    确定当前时间点;Determine the current time;
    确定当前时间点对应的样本时间段;Determine the sample time period corresponding to the current time point;
    根据所述初始地理位置、历史出行路线及样本时间段,预测电子设备的目标出行路线。The target travel route of the electronic device is predicted based on the initial geographic location, historical travel route, and sample time period.
  8. 一种信息发送装置,应用于电子设备,其中,所述装置包括:An information sending device applied to electronic equipment, wherein the device includes:
    信息获取模块,用于获取出行时的初始地理位置、及历史时间段内电子设备历史出行路线;The information acquisition module is used to obtain the initial geographic location when traveling and the historical travel route of the electronic device in the historical time period;
    预测模块,用于根据所述初始地理位置和历史出行路线,预测电子设备的目标出行路线;A prediction module, used to predict the target travel route of the electronic device based on the initial geographic location and the historical travel route;
    确定模块,用于确定当前地理位置;The determination module is used to determine the current geographic location;
    差异获取模块,用于根据所述当前地理位置和所述目标出行路线获取位置差异信息;A difference obtaining module, configured to obtain position difference information according to the current geographic location and the target travel route;
    发送模块,用于基于所述位置差异信息确定是否向外界发送报警信息。The sending module is used to determine whether to send alarm information to the outside world based on the location difference information.
  9. 根据权利要求8所述的信息发送装置,其中,所处位置差异信息包括距离差值;所述差异获取模块,包括:The information sending device according to claim 8, wherein the location difference information includes a distance difference value; and the difference acquisition module includes:
    采样子模块,用于按照预设规则对所述目标出行路线进行位置点采样,得到多个样本地理位置;A sampling submodule, configured to sample the location of the target travel route according to a preset rule to obtain multiple sample geographic locations;
    获取子模块,用于获取所述多个样本地理位置与所述当前位置之间的距离差值,得到距离差值集合;An acquisition submodule, configured to acquire the distance difference between the geographic locations of the multiple samples and the current position to obtain a set of distance differences;
    所述发送模块用于:从所述距离差值集合中选取最小距离差值;判断所述最小距离差值是否大于第一阈值;若是,则向外界发送报警信息。The sending module is configured to: select a minimum distance difference from the set of distance differences; determine whether the minimum distance difference is greater than a first threshold; if so, send an alarm message to the outside world.
  10. 根据权利要求9所述的信息发送装置,其中,所述装置还包括:The information transmitting apparatus according to claim 9, wherein the apparatus further comprises:
    第一更新模块,用于在判断所述最小距离差值是否大于第一阈值之前,确定当前时间点;判断所述当前时间点是否处于预设时间段内;若否,将所述预设阈值更新为第二阈值,其中,第二阈值小于第一阈值;The first update module is used to determine the current time before determining whether the minimum distance difference is greater than the first threshold; determine whether the current time is within a preset time period; if not, set the preset threshold Update to the second threshold, where the second threshold is less than the first threshold;
    所述发送模块用于:判断所述距离差值是否大于第二预设阈值;若是,则向外界发送报警信息。The sending module is used to: determine whether the distance difference is greater than a second preset threshold; if so, send an alarm message to the outside world.
  11. 根据权利要求9所述的信息发送装置,其中,所述装置还包括:The information transmitting apparatus according to claim 9, wherein the apparatus further comprises:
    第二更新模块,用于判断当前地理位置是否处于预设位置区域内;若是,将所述预设阈值更新为第三阈值,其中,第三阈值小于第一阈值;A second update module, used to determine whether the current geographic location is within a preset location area; if so, update the preset threshold to a third threshold, where the third threshold is less than the first threshold;
    所述发送模块用于:判断所述距离差值是否大于第三预设阈值;若是,则向外界发送报警信息。The sending module is used to: determine whether the distance difference is greater than a third preset threshold; if so, send an alarm message to the outside world.
  12. 根据权利要求8所述的信息发送装置,其中,所述预测模块用于:The information transmitting apparatus according to claim 8, wherein the prediction module is used to:
    确定当前时间点;Determine the current time;
    确定当前时间点对应的样本时间段;Determine the sample time period corresponding to the current time point;
    根据所述初始地理位置、历史出行路线及样本时间段,预测电子设备的目标出行路线。The target travel route of the electronic device is predicted based on the initial geographic location, historical travel route, and sample time period.
  13. 一种存储介质,其中,所述存储介质中存储有多条指令,所述指令适于由处理器加载以执行以下步骤:A storage medium, wherein a plurality of instructions are stored in the storage medium, and the instructions are adapted to be loaded by a processor to perform the following steps:
    获取出行时的初始地理位置、及历史时间段内电子设备历史出行路线;Obtain the initial geographic location at the time of travel and the historical travel route of the electronic device in the historical time period;
    根据所述初始地理位置和历史出行路线,预测电子设备的目标出行路线;Predict the target travel route of the electronic device based on the initial geographic location and historical travel route;
    确定当前地理位置;Determine the current geographic location;
    根据所述当前地理位置和所述目标出行路线获取位置差异信息;Acquiring location difference information according to the current geographic location and the target travel route;
    基于所述位置差异信息确定是否向外界发送报警信息。Based on the location difference information, it is determined whether to send alarm information to the outside world.
  14. 一种电子设备,其中,包括处理器以及存储介质,所述存储介质中存储有多条指令,所述处理器加载所述指令以执行以下步骤:An electronic device, including a processor and a storage medium, where a plurality of instructions are stored in the storage medium, and the processor loads the instructions to perform the following steps:
    获取出行时的初始地理位置、及历史时间段内电子设备历史出行路线;Obtain the initial geographic location at the time of travel and the historical travel route of the electronic device in the historical time period;
    根据所述初始地理位置和历史出行路线,预测电子设备的目标出行路线;Predict the target travel route of the electronic device based on the initial geographic location and historical travel route;
    确定当前地理位置;Determine the current geographic location;
    根据所述当前地理位置和所述目标出行路线获取位置差异信息;Acquiring location difference information according to the current geographic location and the target travel route;
    基于所述位置差异信息确定是否向外界发送报警信息。Based on the location difference information, it is determined whether to send alarm information to the outside world.
  15. 根据权利要求14所述的电子设备,其中,所处位置差异信息包括距离差值;The electronic device according to claim 14, wherein the location difference information includes a distance difference value;
    在根据所述当前地理位置和所述目标出行路线获取位置差异信息时,所述处理器执行以下步骤:When acquiring location difference information according to the current geographic location and the target travel route, the processor performs the following steps:
    所述根据所述当前地理位置和所述目标出行路线获取位置差异信息,包括:The obtaining location difference information according to the current geographic location and the target travel route includes:
    按照预设规则对所述目标出行路线进行位置点采样,得到多个样本地理位置;Sampling the target travel route according to preset rules to obtain multiple sample geographic locations;
    获取所述多个样本地理位置与所述当前位置之间的距离差值,得到距离差值集合;Obtaining a distance difference between the plurality of sample geographic locations and the current position to obtain a distance difference set;
    在基于所述位置差异信息确定是否向外界发送报警信息时,所述处理器执行以下步骤:When determining whether to send an alarm message to the outside world based on the location difference information, the processor performs the following steps:
    从所述距离差值集合中选取最小距离差值Select the smallest distance difference from the set of distance differences
    判断所述最小距离差值是否大于第一阈值;Determine whether the minimum distance difference is greater than the first threshold;
    若是,则向外界发送报警信息。If it is, send an alarm message to the outside world.
  16. 根据权利要求15所述的电子设备,其中,在判断所述最小距离差值是否大于第一阈值之前,所述处理器还执行以下步骤:The electronic device according to claim 15, wherein before determining whether the minimum distance difference is greater than a first threshold, the processor further performs the following steps:
    确定当前时间点;Determine the current time;
    判断所述当前时间点是否处于预设时间段内;Determine whether the current time point is within a preset time period;
    若否,则将所述预设阈值更新为第二阈值,其中,第二阈值小于第一阈值;If not, update the preset threshold to a second threshold, where the second threshold is less than the first threshold;
    在判断所述距离差值是否大于第一预设阈值时,所述处理器执行以下步骤:When determining whether the distance difference is greater than a first preset threshold, the processor performs the following steps:
    判断所述距离差值是否大于第二预设阈值;Determine whether the distance difference is greater than a second preset threshold;
    若是,则执行向外界发送报警信息的操作。If yes, the operation of sending an alarm message to the outside world is performed.
  17. 根据权利要求15所述的电子设备,其中,在判断所述最小距离差值是否大于第一阈值之前,所述处理器还执行以下步骤:The electronic device according to claim 15, wherein before determining whether the minimum distance difference is greater than a first threshold, the processor further performs the following steps:
    判断当前地理位置是否处于预设位置区域内;Determine whether the current geographic location is within the preset location area;
    若是,将所述预设阈值更新为第三阈值,其中,第三阈值小于第一阈值;If yes, update the preset threshold to a third threshold, where the third threshold is less than the first threshold;
    在判断所述距离差值是否大于第一预设阈值时,所述处理器执行以下步骤:When determining whether the distance difference is greater than a first preset threshold, the processor performs the following steps:
    判断所述距离差值是否大于第三预设阈值;Determine whether the distance difference is greater than a third preset threshold;
    若是,则执行向外界发送报警信息的操作。If yes, the operation of sending an alarm message to the outside world is performed.
  18. 根据权利要求15所述的电子设备,其中,在判定所述距离差值大于第一阈值后,向外界发送报警信息之前,所述处理器执行以下步骤:The electronic device according to claim 15, wherein after determining that the distance difference is greater than the first threshold, the processor performs the following steps before sending alarm information to the outside world:
    获取实时路况信息;Get real-time traffic information;
    根据所述路况信息判断当前所述目标出行路线中是否包括拥堵路段;Judging whether the current target travel route includes a congested road segment according to the road condition information;
    若否,基于所述路况信息、目标出行路线、历史出行路线及当前地理位置,重新预测出行路线。If not, based on the road condition information, the target travel route, the historical travel route, and the current geographic location, re-predict the travel route.
  19. 根据权利要求18所述的电子设备,其中,在基于所述路况信息、目标出行路线、历史出行路线及当前地理位置,重新预测出行路线后,向外界发送报警信息之前,所述处理器还执行以下步骤:The electronic device according to claim 18, wherein after re-predicting the travel route based on the road condition information, the target travel route, the historical travel route, and the current geographic location, the processor further executes The following steps:
    在判定所述距离差值大于第一阈值时,判断在预设时长内,所述电子设备与重新预测后出行路线的终点位置是否处于接近状态;When it is determined that the distance difference is greater than the first threshold, it is determined whether the electronic device is in a close state to the end position of the travel route after the re-prediction within a preset duration;
    若否,则向外界发送报警信息。If not, send an alarm message to the outside world.
  20. 根据权利要求14所述的电子设备,其中,在根据所述初始地理位置和历史出行路线,预测电子设备的目标出行路线时,所述处理器执行以下步骤:The electronic device according to claim 14, wherein, when predicting the target travel route of the electronic device based on the initial geographic location and the historical travel route, the processor performs the following steps:
    确定当前时间点;Determine the current time;
    确定当前时间点对应的样本时间段;Determine the sample time period corresponding to the current time point;
    根据所述初始地理位置、历史出行路线及样本时间段,预测电子设备的目标出行路线。The target travel route of the electronic device is predicted based on the initial geographic location, historical travel route, and sample time period.
PCT/CN2018/125783 2018-12-29 2018-12-29 Information transmission method, apparatus, storage medium and electronic device WO2020133475A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2018/125783 WO2020133475A1 (en) 2018-12-29 2018-12-29 Information transmission method, apparatus, storage medium and electronic device
CN201880099428.2A CN112997175A (en) 2018-12-29 2018-12-29 Information sending method, information sending device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/125783 WO2020133475A1 (en) 2018-12-29 2018-12-29 Information transmission method, apparatus, storage medium and electronic device

Publications (1)

Publication Number Publication Date
WO2020133475A1 true WO2020133475A1 (en) 2020-07-02

Family

ID=71126027

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/125783 WO2020133475A1 (en) 2018-12-29 2018-12-29 Information transmission method, apparatus, storage medium and electronic device

Country Status (2)

Country Link
CN (1) CN112997175A (en)
WO (1) WO2020133475A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113850419A (en) * 2021-09-10 2021-12-28 果客行(苏州)科技有限公司 Route recommendation method, device, equipment and storage medium based on travel big data

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105277189A (en) * 2014-06-30 2016-01-27 高德软件有限公司 Route pushing method and device
CN107045528A (en) * 2017-01-10 2017-08-15 深圳市金立通信设备有限公司 A kind of method and terminal reminded of going on a journey
CN107992530A (en) * 2017-11-14 2018-05-04 北京三快在线科技有限公司 Information recommendation method and electronic equipment
CN108053673A (en) * 2017-12-08 2018-05-18 上海壹账通金融科技有限公司 A kind of road conditions forecasting procedure, storage medium and server
WO2018154544A1 (en) * 2017-02-27 2018-08-30 Uber Technologies, Inc. Dynamic display of route preview information
CN108510230A (en) * 2017-09-30 2018-09-07 腾讯科技(深圳)有限公司 A kind of trip based reminding method, device and electronic equipment
WO2018197537A1 (en) * 2017-04-28 2018-11-01 Continental Automotive Gmbh Method and device for generating dynamic indications relating to a modification of route guidance

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105910619B (en) * 2016-06-07 2018-07-10 广东欧珀移动通信有限公司 Air navigation aid, device and mobile terminal
US20180239359A1 (en) * 2016-08-16 2018-08-23 Faraday&Future Inc. System and method for determining navigational hazards
CN106767864B (en) * 2016-12-05 2021-01-05 车音智能科技有限公司 Vehicle navigation control method and device
CN208079401U (en) * 2018-04-12 2018-11-09 广州运筹网络科技有限公司 Deviate monitoring and warning device based on the vehicle route of NBIOT and the Big Dipper
CN108961461A (en) * 2018-06-05 2018-12-07 中建八局第二建设有限公司 A kind of device and method of real-time monitoring engineering mechanical device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105277189A (en) * 2014-06-30 2016-01-27 高德软件有限公司 Route pushing method and device
CN107045528A (en) * 2017-01-10 2017-08-15 深圳市金立通信设备有限公司 A kind of method and terminal reminded of going on a journey
WO2018154544A1 (en) * 2017-02-27 2018-08-30 Uber Technologies, Inc. Dynamic display of route preview information
WO2018197537A1 (en) * 2017-04-28 2018-11-01 Continental Automotive Gmbh Method and device for generating dynamic indications relating to a modification of route guidance
CN108510230A (en) * 2017-09-30 2018-09-07 腾讯科技(深圳)有限公司 A kind of trip based reminding method, device and electronic equipment
CN107992530A (en) * 2017-11-14 2018-05-04 北京三快在线科技有限公司 Information recommendation method and electronic equipment
CN108053673A (en) * 2017-12-08 2018-05-18 上海壹账通金融科技有限公司 A kind of road conditions forecasting procedure, storage medium and server

Also Published As

Publication number Publication date
CN112997175A (en) 2021-06-18

Similar Documents

Publication Publication Date Title
US9743234B2 (en) Monitoring a mobile device en route to destination
US8976244B2 (en) Personal mobile surveillance systems and methods
US9210545B2 (en) Managing alerts based on context
CN107534837B (en) Position-based reminding method, indicating equipment, reminding equipment and mobile terminal
US8886153B2 (en) Method and apparatus for configuring a mobile device to provide emergency notification
US8000694B2 (en) Communications device having a commute time function and methods of use thereof
US20150373646A1 (en) Method of controlling battery usage
US20150087264A1 (en) Contextually Aware Mobile Device
CN104601642A (en) Real-time road condition sharing method, device and system
CN108168569A (en) Air navigation aid, device, storage medium, mobile terminal and onboard system
CN102158594A (en) Method for mobile terminal reminding and mobile terminal
CN107016869A (en) Reminding method, server and the system of traffic accident
AU2018354458A1 (en) Road traffic monitoring and notification system
US9332392B1 (en) Remotely activating a combination of mobile device functions
CN104596529A (en) Navigation method and navigation apparatus
CN110267207B (en) Intelligent position monitoring method and device and electronic equipment
CN111885500B (en) Road condition reminding method and device based on narrowband Internet of things and storage medium
CN104361486A (en) Alarm clock reminding method and device
JP2007251840A (en) Mobile terminal
CN105549727A (en) Visitor flow rate reminding method and device
CN108171965B (en) Arrival reminding method and device, storage medium and mobile terminal
CN111429746A (en) Public transport arrival reminding method and device, storage medium and mobile terminal
WO2020133475A1 (en) Information transmission method, apparatus, storage medium and electronic device
US9031978B1 (en) Provision of location-based business information
WO2021129703A1 (en) Station arrival prompting method and device, terminal, and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18944631

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 09.11.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18944631

Country of ref document: EP

Kind code of ref document: A1