CN116405456A - Travel reminding method and electronic equipment - Google Patents

Travel reminding method and electronic equipment Download PDF

Info

Publication number
CN116405456A
CN116405456A CN202310366046.4A CN202310366046A CN116405456A CN 116405456 A CN116405456 A CN 116405456A CN 202310366046 A CN202310366046 A CN 202310366046A CN 116405456 A CN116405456 A CN 116405456A
Authority
CN
China
Prior art keywords
user
information
authorization
flight
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310366046.4A
Other languages
Chinese (zh)
Inventor
王亚猛
姚伟娜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202310366046.4A priority Critical patent/CN116405456A/en
Publication of CN116405456A publication Critical patent/CN116405456A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a travel reminding method and electronic equipment. After the electronic equipment is detected to receive the flight short message and no authorization relation exists between the authorization object and the specific application account, judging whether to execute the operation of displaying the guide information for the nth time, and displaying the guide information for the nth time if the operation of displaying the guide information for the nth time is confirmed; and after the authorization is completed, the electronic equipment acquires the travel data of the user's flight class from the server corresponding to the specific application, and displays the travel prompt based on the travel data of the user's flight class. The method and the device can remind the user to authorize when appropriate, and further provide accurate and timely travel reminding for the user based on detailed travel information of the user.

Description

Travel reminding method and electronic equipment
The application is a divisional application, the name of the original application is a travel reminding method and electronic equipment, the application number of the original application is 202111595477.5, the original application date is 2021, 12 months and 23 days, and the whole content of the original application is incorporated by reference in the application.
Technical Field
The application relates to the technical field of computers, in particular to a travel reminding method and electronic equipment.
Background
With the rapid development of electronic technology, the popularity of mobile terminals such as smart phones is higher and higher, and with the development of network technology, the functions of the mobile terminals are more and more powerful, so that users can complete a plurality of things through the mobile terminals, such as online ordering of airplane tickets, online ordering of train tickets and the like. After the user orders the airplane ticket, the ticket purchasing website can push a short message reminder to the user so as to avoid the user missing the journey.
Disclosure of Invention
The embodiment of the application provides an optimized travel reminding method and electronic equipment.
In some scenes, after the user orders the airplane ticket, the ticket purchasing website pushes a short message reminder to the mobile phone of the user, and the short message reminder has the problem that the short message content is default, for example, the short message only prompts the travel time or the flight destination, and other information is missing, so that the user cannot obtain more detailed information. Therefore, the user can be reminded of traveling in other reminding modes. However, other alert methods may be used, requiring user authorization, after which user authorization may be obtained from a server of a particular application (e.g.
Figure BDA0004167910370000011
The application server, the travel aspect application is an application integrating the travel information of airline tickets of various large airlines) to obtain the complete trip information of the user. Some embodiments of the present application may remind the user to authorize when appropriate, and then may provide accurate and timely travel reminding for the user based on the detailed travel information of the user.
In a first aspect, an embodiment of the present application provides a method for reminding a user of traveling, which is applied to an electronic device, and the method includes: detecting whether a flight short message is received; if the flight short message is determined to be received, detecting whether the flight short message has information default and whether an authorized object and a user account of a specific application exist or not, wherein the authorized object comprises the user account of the user in a server corresponding to the electronic device or an identifier of the electronic device, and the specific application is used for acquiring travel data of a flight class of the user from the servers corresponding to at least two airlines; when the fact that the flight short message exists in a default mode and the authorization relation between the authorization object and the user account of the specific application does not exist is detected, judging whether an operation of displaying guide information for the nth time is executed, wherein the guide information is used for guiding the user to conduct authorization operation so that a server corresponding to the specific application can establish the authorization relation between the authorization object and the user account of the specific application, and N is an integer larger than 0; if the operation of displaying the guide information for the Nth time is determined to be executed, displaying the guide information; after the authorization relation is established, the electronic equipment acquires travel data of the user's flight class from a server corresponding to the specific application according to the authorization relation and the authorization object, and displays travel reminding on the electronic equipment according to the acquired travel data of the user's flight class.
If the user does not have an authorized relationship between the user account of the specific application and the authorized object (such as the identifier of the electronic device), the server corresponding to the electronic device cannot acquire the complete journey information of the user from the server of the aviation crossbar, so that the electronic device cannot provide accurate flight journey reminding for the user. In addition, although the servers of the airlines or the servers of the airlines send feedback short messages after the users order the airline tickets, the feedback short messages have the problem of content deficiency (such as lack of departure time information in the short message content) and cannot meet the requirement of flight travel reminding. In the application, the default (default can be understood as missing) of the flight short message content is detected, and the authorized object and the user have no authorized relationship between the user account numbers of the specific application, so that the guiding information is displayed. The user can be determined that the user has the airplane travel requirement through detection operation; the method comprises the steps that guiding information is displayed at the moment when the user is determined to have the airplane travel requirement, and the user is reminded to carry out authorization operation when the user is proper, so that the identification of the electronic equipment is bound with the user account number of the user in a specific application, the electronic equipment can timely acquire the complete travel information of the user, the electronic equipment can remind the user according to the complete user travel information, and the user is prevented from missing the flight travel. In addition, because the server of the specific application is used for obtaining the journey information of the user from the servers corresponding to at least two airlines, the user is guided to carry out the authorization operation by displaying the guide information, so that after the authorization operation, the electronic equipment can obtain the journey data of the user in different airlines, and the accuracy of carrying out journey reminding on the user can be further improved.
According to a first aspect, detecting whether a flight sms has information default includes: the method comprises the steps of obtaining basic information of a pre-stored flight short message, wherein the basic information of the flight short message comprises the following steps: flight number, departure date, departure place and destination; detecting whether any content in basic information of a default flight short message exists in the information of the flight short message; if any content in the basic information of the flight short message is detected to be defaulted in the information of the flight short message, determining that the flight short message exists in the default. Therefore, whether the flight short message has the default information can be rapidly judged through the preset basic information of the flight short message.
According to a first aspect, determining whether to perform an nth operation of displaying guidance information includes: acquiring a difference value between the N-1 time of displaying the guide information and a first time, wherein the first time is a time when a flight short message default is detected and an authorization relationship exists between an authorization object and a user account of a specific application; judging whether the difference value of the time lengths is larger than the N-1 th preset interval time length, wherein the N-1 th preset interval time length is used for indicating the minimum interval time length between the N-1 th display guide information and the N-th display guide information; and if the difference value is larger than or equal to the N-1 th preset interval duration, determining the N-th display guide information.
In this way, the time difference value is compared with the N-1 preset interval duration, whether the condition for displaying the guide information is met is judged, when the acquired difference value is larger than the N-1 preset interval duration, the guide information is displayed, the time interval for displaying the guide information twice is prevented from being short, and the interference of the guide information to the user is reduced.
According to a first aspect, before determining whether the difference is greater than the N-1 th preset interval period, the method further comprises: acquiring accumulated times of displaying guide information; and determining the N-1 th preset interval duration according to the accumulated times. In this way, the interval duration of displaying the guide information in two adjacent times is related to the accumulated times of displaying the guide information, instead of the same preset interval duration, so that the determined N-1 th preset interval duration better meets the requirements of users.
According to a first aspect, determining the N-1 th preset interval duration according to the accumulated number of times includes: acquiring a first product value between the accumulated times and a preset fixed time length; the first product value is taken as the N-1 th preset interval duration. The N-1 th preset interval time length is increased along with the increase of the accumulated times, namely the time interval between the adjacent two display guide information is increased along with the increase of the accumulated times, so that the user is prevented from being disturbed.
According to a first aspect, the method further comprises: acquiring the time of displaying the guide information for the Nth time; updating the stored time of displaying the guide information for the N-1 th time to the time of displaying the guide information for the N-th time; the value of the stored cumulative number of times is added to 1. Every time the guiding information is displayed once, namely, the time of displaying the guiding information and the accumulated times are stored, so that whether the next guiding information is displayed or not can be quickly judged later, and the judging speed is improved.
According to a first aspect, the method further comprises: after the nth display of the guide information, in response to an ignore operation by the user, a time at which the ignore operation is received is taken as a time at which the guide information is displayed for the nth-1 display, the ignore operation being for instructing to ignore the guide information. When the user ignores the guide information, the stored time for displaying the guide information is updated, the interval duration for displaying the guide information next time is prolonged, the frequency of displaying the guide information is reduced, the frequency of displaying the guide information is further reduced, and the user is prevented from being disturbed. For example, if the time for storing the display guide information is T1, after 23 hours of display, the user ignores the card, and the determined preset interval duration is 24 hours, if the stored time for displaying the guide information is not updated, after 1 hour, when the flight short message is detected to default again and the authorized object and the user account of the specific application do not have an authorized relationship, the guide information will be displayed again, the situation of frequently displaying the guide information will occur, and the stored time value is updated to the time for receiving the ignore operation, the interval between two adjacent times of displaying the guide time will be increased, and the problem of frequently displaying the guide information is avoided.
According to a first aspect, before displaying the guidance information for the nth time, the method further comprises: judging whether the accumulated times reach a preset times threshold value or not; and if the accumulated times reach the times threshold, canceling the Nth display of the guide information. Through a preset frequency threshold, when the accumulated frequency reaches the frequency threshold, the display of the guide information is canceled, the guide information displayed for multiple times indicates that the user does not have the intention of guiding authorization, and the display of the guide information is canceled at the moment without disturbing the user, so that the authorized guide meets the requirements of the user.
According to the first aspect, the guide information is displayed adjacent to each other for a predetermined fixed time period. The time intervals of displaying the guide information are the same in two adjacent times, so that the guide information is displayed regularly.
According to a first aspect, after taking the first product value as the N-1 th preset interval duration, the method further comprises: detecting whether the N-1 th preset interval duration exceeds a preset interval threshold; and if the N-1 th preset interval duration is detected to exceed the interval threshold value, setting the N-1 th preset interval duration as the interval threshold value. After the preset interval duration exceeds the interval threshold, setting the N-1 th preset interval duration as the interval threshold, so that the problem that authorization reminding is not carried out for a long time can be avoided.
According to a first aspect, the method further comprises: responding to the authorization operation of the user, and detecting whether the user account of the user in a specific application is in a login state; when the user account number of the specific application is detected to be in a login state, the user jumps to an authorization page so that the user can agree with the authorization operation or cancel the authorization operation. After the user performs the authorization operation, the user jumps to the authorization page, so that the user can conveniently perform the operation of agreeing to the authorization or canceling the authorization, and the flexibility of the user operation is improved.
According to a first aspect, before detecting whether a flight sms is received, the method further comprises: it is detected that there is no authorization relationship between the authorization object and the user's user account for the particular application. Before the flight short message is detected, the fact that an authorization relationship exists between an authorization object and a user account of a specific application is detected, and the problem that an invalid operation (namely an operation of detecting whether the flight short message is received or not) is caused by the fact that short message detection operation is performed under the condition that the authorization relationship exists is avoided. Meanwhile, no authorization relationship exists between the authorization object and the user account of the specific application, so that the situation of detection errors can be avoided, and the detection accuracy is improved.
According to the first aspect, before determining whether to perform the nth operation of displaying the guidance information, the method further includes: the display mode of the Nth display guide information is obtained, and the display mode comprises the following types: cards and/or notifications. The guiding information can be displayed in various modes, and the guiding information can be displayed in one of the modes, so that the guiding information is flexible to display. The guiding information can be displayed simultaneously by adopting two display modes, so that the probability that the guiding information is seen by a user is increased, and the guiding problem that the user misses the guiding of the guiding information is avoided.
According to the first aspect, before determining whether to perform the nth operation of displaying the guidance information, the method further includes: the display mode in which the nth display guide information is detected includes a notification mode. Before the Nth operation is detected, the display mode of detecting the Nth display guide information comprises a notification mode, when the electronic equipment receives the notification, the notification is displayed no matter what application the electronic equipment is running, so that the application is disturbed, the display mode of the notification belongs to a strong disturbance mode, whether the guide information is displayed or not is judged before the guide displayed by the notification, and the situation that a user is disturbed frequently is avoided.
In a second aspect, the present application provides an electronic device, comprising: one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored on the memory, which when executed by the one or more processors, cause the electronic device to perform the method of travel alerting of the first aspect and any implementation manner of the first aspect.
Any implementation manner of the second aspect and the second aspect corresponds to any implementation manner of the first aspect and the first aspect, respectively. The technical effects corresponding to the second aspect and any implementation manner of the second aspect may be referred to the technical effects corresponding to the first aspect and any implementation manner of the first aspect, which are not described herein.
In a third aspect, the present application provides a computer readable medium, configured to store a computer program, where the computer program when executed on an electronic device causes the electronic device to execute a method for prompting a trip corresponding to any implementation manner of the first aspect and the first aspect.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments of the present application will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural view of an exemplary illustrated electronic device;
FIG. 2 is a schematic software architecture diagram of an exemplary electronic device;
fig. 3 is a schematic interaction diagram between internal modules and between other servers when the electronic device executes the method for reminding a user of traveling according to the embodiment of the present application;
FIG. 4 is a schematic diagram of an exemplary illustrated presence information default flight sms;
FIG. 5 is a schematic diagram of exemplary display of guidance information;
fig. 6 is a schematic diagram of exemplary illustrated guidance information and ignoring the guidance information.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The term "and/or" is herein merely an association relationship describing an associated object, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone.
The terms first and second and the like in the description and in the claims of embodiments of the present application are used for distinguishing between different objects and not necessarily for describing a particular sequential order of objects. For example, the first target object and the second target object, etc., are used to distinguish between different target objects, and are not used to describe a particular order of target objects.
In the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as examples, illustrations, or descriptions. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In the description of the embodiments of the present application, unless otherwise indicated, the meaning of "a plurality" means two or more. For example, the plurality of processing units refers to two or more processing units; the plurality of systems means two or more systems.
Fig. 1 is a schematic structural diagram of an electronic device 100 according to an embodiment of the present application. It should be understood that the electronic device 100 shown in fig. 1 is only one example of an electronic device, and that the electronic device 100 may have more or fewer components than shown in the figures, may combine two or more components, or may have a different configuration of components. The various components shown in fig. 1 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The electronic device 100 may include: processor 110, external memory interface 120, internal memory 121, universal serial bus (universal serial bus, USB) interface 130, charge management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headset interface 170D, sensor module 180, keys 190, motor 191, indicator 192, camera 193, display 194, and subscriber identity module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor, a gyroscope sensor, a barometric sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
It is to be understood that in other embodiments of the present application, electronic device 100 may include more or less components than illustrated, or certain components may be combined, or certain components may be split, or different arrangements of components.
Fig. 2 is a software configuration block diagram of the electronic device 100 according to the embodiment of the present application.
In the embodiment of the present application, the electronic device 100 takes an Android system with a layered architecture as an example, and a software structure of the electronic device 100 is illustrated.
The layered architecture of the electronic device 100 divides the software into several layers, each with a distinct role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun row (Android run) and system libraries, and a kernel layer, respectively.
As shown in fig. 2, the application layer may include a series of application packages. The application package may include context awareness modules, business logic processing modules, business presentation modules, gallery, WLAN, bluetooth, music, games, short messages, etc. applications.
The context awareness module is resident or operates in a low power form, with the ability to perceive external facts or circumstances. When the card reminds that the service is in a processing on state, the context awareness module monitors registered matters (such as specific time, specific place or specific event, etc.), and if a user triggers one of the matters, the context awareness module sends a notification to the service logic processing module. In addition, the context awareness module may also detect related events and acquire states of events from other applications of the application layer or the application framework layer or the kernel layer through the application program interface, such as detecting bluetooth connection, network connection, monitoring user sms, customizing timers, etc.
The business logic processing module is used for realizing the display of various cards and the display of notices.
And the business presentation module (such as YOYO suggestion) is used for controlling the card to display or disappear. For example, the business presentation module may receive the command to display the reminder card delivered by the business logic processing module and present the reminder card to the user. Correspondingly, if a card disappearing command transmitted by the service logic processing module is received, the service presentation module eliminates the card.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layer may include a window manager, a content provider, a view system, a resource manager, a notification manager, an activity manager, and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), etc.
The kernel layer is a layer between hardware and software. The kernel layer at least comprises a display driver, a Wi-Fi driver, a Bluetooth driver, an audio driver, a sensor driver and the like.
It will be appreciated that the layers and components contained in the layers in the software structure shown in fig. 2 do not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer layers than shown, and more or fewer components may be included in each layer, as the present application is not limited.
In some embodiments, after the user orders the airplane ticket, the airplane travel website can remind the user to travel in a short message mode, however, the short message reminding contents of different travel companies are different, and content defaults of different degrees exist, for example, the short message only comprises airplane departure time or only comprises reminding contents of travel destinations. The mobile phone can not provide travel reminding (such as reminding the user of registering time, check-in place and the like) for the user through the default short message.
If an authorization relationship exists between the electronic device of the user and the user account of the server of the airline company, the airline company (hereinafter referred to as "airline company") can return detailed journey information of the user to the mobile phone by acquiring the basic information of the user, so that the electronic device can provide journey reminding for the user. When the flight short message is short, the server of the airline company cannot return the complete journey information of the user according to the default basic information, so that the electronic equipment cannot provide accurate travel reminding for the user. Therefore, the mobile phone needs to prompt the user in time to authorize the acquisition of complete trip information so as to provide accurate trip prompt for the user in other modes.
Some embodiments of the present application provide a method for reminding a trip, so that an electronic device may timely obtain user authorization, further obtain complete trip information of a user, and provide accurate and timely trip reminding for the user based on the complete trip information.
In the embodiment of the application, the electronic device is illustrated by taking a mobile phone as an example. In other embodiments, the electronic device may also be a tablet, smart wearable device, in-vehicle device, or the like.
Fig. 3 is a schematic interaction diagram between internal modules and between other servers when the mobile phone executes the method for reminding a user of traveling according to the embodiment of the present application. The travel reminding method comprises the following steps:
step 301: the business logic processing module registers the flight SMS fence to the context awareness module.
Illustratively, the business logic processing module may be a system application that may not be visible to the user. The business logic processing module can be started when the mobile phone is initialized. After the service logic processing module is started, an instruction for registering the flight short message fence can be initiated to the context awareness module, and the context awareness module is used for responding to the registration instruction of the service logic processing module and registering the flight short message fence.
Optionally, when the service logic processing module registers the flight sms fence with the context awareness module, the context awareness module may be instructed to monitor whether the mobile phone receives the flight sms.
In one example, the business logic processing module may also detect whether an authorization relationship (also referred to as a binding relationship) exists between the authorization object and a user account of a particular application (also referred to hereinafter as a "particular application account") prior to performing step 301. Optionally, the authorization object may be a user account of a server corresponding to the electronic device (hereinafter also referred to as "user service platform account") of the user, or may be an identification of the electronic device of the user. In this example, the server to which the electronic device corresponds is also referred to as a user service platform, which may be a glowing server. The specific application account may be an account of a user in a server of a specific application (hereinafter also referred to as a specific server), which may be an application integrating airplane ticket travel information of each large airline, for example, a "travel crossbar" application. In this example, the authorization object is exemplified by an identification of the electronic device.
The service logic processing module can also detect whether an authorization relationship exists between the authorization object and the specific application account, which can be specifically: the business logic processing module may initiate a query request to the user service platform requesting a query of a relationship between the authorized object and the particular application account. And the user service platform responds to the query request, queries whether an authorization relationship exists between the authorization object and the specific application account, and returns a query result to the service logic processing module. Alternatively, the query request may carry identification information of the electronic device, such as "DeviceID".
If the query result indicates that there is no authorized relationship between the authorized object and the specific application account, the service logic processing module executes step 301 and stores the query result. If the query result indicates that the authorization relationship exists between the authorization object and the specific application account, the business logic processing module ends the flow.
Alternatively, the handset may invoke a particular function, e.g., from a server of a particular application, through an authorization relationship between the authorization object and the particular application account. The handset may obtain the complete travel information of the user from a particular server (i.e., a server referring to a particular application).
Before the service logic processing module indicates to register the flight short message fence, whether an authorization relationship exists between the authorization object and the specific application account or not can be detected, and if the authorization relationship exists, the process is ended, so that the user is prevented from being wrongly reminded of the authorization.
Step 302: the context awareness module detects a flight SMS fence trigger.
Illustratively, the context awareness module may register the flight sms fence based on the indication of the business logic processing module. After registering the flight short message fence, the context awareness module can detect whether the received short message comprises a flight sensitive vocabulary. Flight sensitive words include, but are not limited to: flight number, mobile phone number, departure time, landing time, etc. And the context awareness module monitors each short message. If the context awareness module recognizes that the short message comprises any one of the information of the flight number, the mobile phone number, the departure time, the landing time and the like, the triggering of the flight short message fence can be determined. Alternatively, the context awareness module may employ a natural language understanding (Natural Language Understanding, "NLU") model to identify the content of the flight sms.
For example, a user may log into a third party application, such as a carrier application or an airline application, through a local phone number (which may also be a glowing account number or other account number password). After the user logs in successfully, the air ticket can be purchased through a third party application. The third party application, upon detecting the success of the ticket purchase, may send a ticket-out feedback message to the user's registered cell phone number (e.g., the native cell phone number mentioned above). Exemplary ticketing feedback messages include, but are not limited to: flight number, passenger name, departure time, landing time, departure place, destination, etc. The mobile phone receives the ticketing feedback short message sent by the third party application through the operator server. The context awareness module detects the short message and recognizes that the short message comprises a flight sensitive vocabulary. Correspondingly, the perception module determines the triggering of the flight short message fence.
In another example, the context awareness module may also detect whether the short message belongs to a flight short message through short message sender information of the short message, where the short message sender information may include a name of a sender, phone information of the sender, and so on. And if the context awareness module detects the information of the short message sender, determining the triggering of the flight short message fence. For example, in fig. 4, the first "XX business trip" of the second short message is the information of the short message sender, and the context awareness module identifies the information of the short message sender and determines that the short message belongs to the flight short message. Or the flight short message is identified by identifying the number of the sender.
In another example, the flight sms may be identified by the sms sender information and the flight sensitive vocabulary.
Step 303: the context awareness module indicates the flight SMS fence trigger to the business logic processing module.
And when the context awareness module detects the triggering of the flight short message fence, reporting an event of the triggering of the flight short message fence to the service logic processing module.
Step 304: the service logic processing module detects that the flight short message exists in a default mode and that the authorized object and the user have no authorized relation between the user account number of the specific application.
And the service logic processing module receives the flight short message analyzed by the context awareness module. The business logic processing module detects whether the flight short message has information default or not by detecting the basic information of the flight short message. And the service logic processing module extracts the keywords of the flight short message, and if the keywords matched with the basic information of the short message are not detected, the default of the aviation short message is determined. If it is detected that the flight sms includes all the basic information of the flight sms, it is determined that the flight sms is complete, and the subsequent guiding and authorizing operation is not performed, that is, step 305 is not performed.
For example, the service logic processing module may preset basic information of the flight sms to include: flight number, departure date, departure place and destination. If the service logic processing module detects any one of the basic information of the default flight short message, determining that the flight short message exists in a default mode. Fig. 4 illustrates a default situation for a flight sms. The table in fig. 4, the first column is the content of the short message, and the second column lists the default items of the short message. For example, in the first ticket refund sms, the flight number is defaulted. The second short message defaults to the origin and destination. The third message defaults to date, origin and destination.
If the service logic processing module detects that the flight short message exists in a default mode, the service logic processing module can initiate a query request to the user service platform again to query whether an authorization relationship exists between the authorization object and the specific application account. The user service platform responds to the query request to query whether an authorization relationship exists between the authorization object and the specific application account number, and a query result is obtained. And the user service platform returns the query result to the business logic processing module. If the query result indicates that there is no authorization relationship between the authorization object and the particular application account, then a subsequent authorization-directed operation may be performed (e.g., step 305 is performed).
If the query result indicates that a binding relationship (i.e., an authorization relationship) exists between the authorization object and the specific application account, the service logic processing module ends the flow.
Optionally, the service logic processing module may also detect whether an authorization relationship exists between the authorization object and the specific application account. And after the business logic processing module detects that the authorization relationship between the authorization object and the specific application account is not existed, detecting whether the flight short message is default or not.
When the flight short message is complete and has an authorized relationship, the mobile phone can acquire the complete journey information of the user from the specific server through basic information (such as the basic information comprises the flight number, departure date, departure place and destination) in the flight short message, and when the flight short message is short, the complete information of the user cannot be acquired from the specific server due to the default of the basic information, so that the travel reminding of the user cannot be performed according to the complete journey information of the user.
In the example, after the flight short message fence is triggered, when the flight short message is detected to be default and no authorization relationship exists between the authorization object and the specific application account, the guiding information is displayed, so that the problem of displaying the guiding information in an error way is avoided, and the user is prevented from being disturbed. Meanwhile, after the guide information is displayed, the user can conveniently and timely bind the identification of the electronic equipment with the account number of the specific server, so that the electronic equipment can acquire detailed journey information of the user from the specific server (such as a longitudinal server and a transverse server of the travel) through a user service platform, and further, the mobile phone can accurately remind the user of the journey.
In one example, the business logic processing module may perform step 305 after detecting that there is no authorization relationship between the authorization object and the particular application account.
Step 305: the business logic processing module sends a display instruction for instructing the business presentation module to display the guiding information to the context awareness module.
The service logic processing module sends a display indication to the service presentation module, the display indication being used to instruct the service presentation module to display the guidance information. The display instruction may carry guiding information, where the guiding information is used to instruct a user to perform an authorized operation. For example, the guidance information includes links to authorization-related pages, such as links to login pages of a server of a particular application (e.g., "travel crossbar"), or links to authorized pages between an authorization object (e.g., an identification of an electronic device in which the YOYO suggestion is located) and a particular application account.
Step 306: the service presentation module displays the guidance information.
The service presentation module displays the guiding information, and the guiding information is used for guiding a user to conduct authorization operation. The guiding information can be displayed through a card of the mobile phone, such as the guiding information displayed through a card of a negative screen, such as the guiding information displayed through a card of a main screen, or the guiding information can be displayed through a notification mode. The service presentation module can also prompt the guiding information in a voice prompt and vibration prompt mode. The service presentation module may also display the guide information in multiple display modes at the same time, for example, display the guide information on a screen negative to one screen through a card, and display the guide information in a notification mode. The manner in which the guidance information is displayed is not listed in this application.
By adopting various display modes, the reminding efficiency of the authorized reminding can be improved, and the probability of finding the authorized reminding by a user is improved, so that the user service platform is timely authorized to acquire the user travel information.
Step 307: the service presentation module detects an authorization operation of the user.
Illustratively, the user performs an authorization operation according to the instruction of the guiding information, so that the specific server completes the authorization between the authorization object and the specific application account. The user's authorization operation may be an operation indicating that the user agrees with authorization, such as clicking a button of "agreeing with authorization".
For example, the guiding information is displayed in the form of a card, the user clicks on the reminding card, if it is detected that the specific application account is in the login state, the user jumps to the authorization page, such as the page 408 in (4) of fig. 5, the authorization page 408 may include a control for indicating permission of authorization (such as the control 409 in (8) of fig. 5) and a control for indicating cancellation of authorization (such as the control 410 in (8) of fig. 5), and if the service presentation module receives an operation for permitting authorization (such as an operation for clicking the control 409 in (8) of fig. 5), step 308 is performed.
In one example, if the user clicks the reminder card and then detects that the specific application account is in an unregistered state, the user first jumps to a login page of the specific application account. And the user carries out login operation according to the indication of the login page.
Step 308: the service presentation module sends authorization information to the specific application server.
The service presentation module may obtain authorization information of the user, where the authorization information may include information related to the user service platform, such as: the package name of the application program in the electronic equipment, such as the package name suggested by YOYO, is a functional interface parameter of the user service platform. The system can also comprise related information of a specific application, such as a packet name of the specific application, APPID (application program identification) of the specific application, a user identification OpenID of a user in a travel aspect, information of a user account number of a user service platform and the like.
Step 309: the specific application server sends the authorization completion information to the user service platform.
The specific application server verifies the authorization information, and detailed authorization process is not described in detail in this application. The specific application server sends authorization completion information to the user service platform, wherein the authorization completion information can be used for indicating that the authorization is completed between the identification of the electronic equipment and the specific application account.
Step 310: the user service platform receives the information of the completion of authorization.
After receiving the information of the completion of the authorization, the user service platform stores the authorization relationship between the authorization object and the specific application account. Optionally, the user service platform may further store a PUSH subscription relationship between the electronic device and the user service platform, and the user service platform may PUSH the PUSH message to the electronic device having the PUSH subscription relationship with the user service platform through the PUSH subscription relationship. For example, the mobile phone a has a PUSH subscription relationship with the user service platform, and the user service platform can PUSH the message to the mobile phone a by pushing.
Step 311: the user service platform pushes a push notification of successful authorization to a context awareness module of the mobile phone.
Therefore, the user service platform can send the authorized information to the mobile phone in the form of push notification, and the context awareness module of the mobile phone receives the push notification.
Step 312: the context awareness module sends a message of successful authorization to the business logic processing module.
Step 313: the service logic processing module sends a termination instruction for instructing termination of displaying the guidance information to the service presentation module.
After the service logic processing module receives the authorization completion information, a termination instruction for closing the guide information can be sent to the service presentation module, wherein the termination instruction is used for instructing the service presentation module to remove the guide information from the display screen.
In the example, the service presentation module is timely instructed to terminate the guide information, so that the disturbance to the user can be reduced, and the use experience of the user is improved.
Step 314: the service presentation module terminates displaying the guidance information.
Illustratively, the service presentation module terminates displaying the guide information, e.g., if the guide information is presented in the form of a card, the service presentation module removes the card from the interface after the service presentation module terminates displaying the guide information. If the guiding information is displayed in multiple modes at the same time, after the service presentation module receives the termination instruction, the guiding information displayed in multiple display modes is terminated. For example, the mobile phone interface has a notification a and a card a, the notification a displays the guiding information, and the card a displays the guiding information. When the service presentation module receives the termination instruction, the service presentation module removes the card A and the notification A at the same time.
After the authorization relation is established, the electronic equipment acquires travel data of the user's flight class from a server corresponding to the specific application according to the authorization relation and the authorization object, and displays travel reminding on the electronic equipment according to the acquired travel data of the user's flight class. For example, the authorized object may be an identifier of the mobile phone, and the mobile phone may obtain the travel data (i.e. detailed flight travel data) of the user in the flight class from the server corresponding to the longitudinal and transverse directions through the authorized relationship stored in the glory platform. The electronic equipment carries out travel reminding according to the travel data of the flight class of the user, for example, the travel data of the airplane class of the user indicates that the airplane takes off from a capital airport at 9 months and 20 days, 12:00, the destination is Shanghai, the mobile phone can pop up a card at 8 points of 9 months and 20 days, and the card reminds the user that the travel of the airplane is carried out at 12 points. For another example, when the user reaches the capital airport, information (such as information of the machine cabinet) of the user can be displayed on the mobile phone interface so as to remind the user to check the machine. Travel reminders for other scenarios are not listed one by one in this example.
If there is no authorized relationship between the account number of the specific server of the user (such as the account number of the user in the aviation and the aspect of travel) and the authorized object (such as the identification of the electronic device), the user service platform cannot acquire the complete journey information of the user from the server in the aviation and the aspect of travel, so that the electronic device cannot provide accurate journey reminding for the user. In addition, although the airline operators or the airline operators can send feedback short messages after ordering the airline tickets by the user, the feedback short messages have the problem of content deficiency, and the requirement of travel reminding cannot be met. In the example, the flight short message fence trigger is detected, so that the need of the user for airplane travel can be determined; after the user is determined to have the airplane travel requirement, the flight short message default is detected, the authorized relationship between the authorized object and the specific application account is not existed, the guide information is displayed, the user is reminded to carry out the authorized operation, so that the identification of the electronic equipment is bound with the specific application account, the complete journey information of the user is timely acquired, the follow-up electronic equipment is convenient to remind the user according to the complete user journey information, and the user is prevented from missing the flight journey.
In other embodiments, to reduce the number of times the guidance information is displayed, the step in case 2, i.e., the service logic processing module performs step 3041 (not shown in fig. 3), may be performed after performing step 304.
Scenario of case 2:
step 3041: the service logic processing module obtains the last time of displaying the guide information and the accumulated times of displaying the guide information.
Illustratively, the business logic processing module stores the time at which the guidance information was last displayed and the cumulative number of times the guidance information was displayed. The last time the guide information was displayed may also be used to indicate the time the user operated on the guide information.
Step 3042: and the service logic processing module determines the time for displaying the guide information according to the accumulated times.
For example, the service logic processing module may determine a preset interval duration between two adjacent display guidance information according to the accumulated number of times. In this example, the preset interval duration may increase as the cumulative number increases to avoid disturbing the user.
For example, the predetermined interval duration may be equal to the cumulative number of times L, e.g., L is equal to 24 hours. For example, the 1 st preset interval duration=1×24h, that is, the preset interval duration between the first display time and the second display time is 24 hours, and the 2 nd preset interval duration=2×24h, that is, the preset interval duration between the second display time and the third display time is 48 hours. Alternatively, the preset interval duration may also be pre-stored, for example, the 1 st preset interval duration (i.e., the interval between the first display time and the second display time) may be set to 24 hours, the 2 nd preset interval duration (i.e., the interval between the second display time and the third display time) may be 72 hours, and the 3 rd preset interval duration (i.e., the interval between the third display time and the fourth display time) may be 168 hours.
After the preset interval duration is determined, detecting whether the duration of the last time of displaying the guide information exceeds the preset interval duration, and if so, displaying the guide information when the default of the flight short message is determined to be detected and no authorization relationship exists between the authorized object and the specific application account. For example, the cumulative number of times is 1, the duration of the preset interval is determined to be 24 hours, the time for displaying the guidance information last time is T1, the time for detecting that the flight short message is default and no authorization relationship exists between the authorized object and the specific application account is T2, and if T2-T1 is greater than 24 hours, it can be determined that the guidance information is displayed at the time T2 (that is, the guidance information is displayed at the time of T2).
If the preset interval duration is not exceeded, determining whether to display the guide information according to the preset interval duration and the last time the guide information is displayed. For example, the accumulated number of times is 2, the duration of the preset interval is determined to be 48 hours, the time for displaying the guide information last time is T1, the current detection time (namely, the time for detecting that the flight short message exists in a default and no authorization relationship exists between the authorized object and the specific application account) is T2, and when the T2-T1 is less than 48 hours, it can be determined that the guide information is not displayed when the flight short message exists in the default and no authorization relationship exists between the authorized object and the specific application account. When the default of the flight short message is detected next time and no authorization relation exists between the authorization object and the specific application account (for example, the detection time is T3), whether T3-T1 is greater than or equal to 48 hours is detected, if the T3-T1 is greater than or equal to 48 hours is determined, the default of the flight short message existence information is determined next time and no authorization relation exists between the authorization object and the specific application account, and guiding information is displayed.
After determining to display the guidance information, the service logic processing module may send a display indication to the service presentation module, i.e. perform step 3051.
Step 3051: the business logic processing module sends a display instruction for instructing the business presentation module to display the guiding information to the business presentation module.
Illustratively, the display instruction includes guidance information therein.
Step 3052: the business logic processing module updates the time of displaying the guiding information and the accumulated times.
Illustratively, the service logic processing module updates the stored time of displaying the guide information to the time of displaying the guide information this time, and adds one to the accumulated number of times. For example, if the stored time of last display of the guidance information is recorded as th=t1, the cumulative number n=1, and the determined time of current display of the guidance information is T2, th is set to T2, that is, th=t2, and the cumulative number n=2 is set.
It should be noted that, step 3051 and step 3052 may be performed simultaneously.
Step 306: the service presentation module displays guide information for indicating the binding of the specific application account.
Step 307: the service presentation module detects an authorization operation of the user.
Step 308: the service presentation module sends authorization information to the specific application server.
Step 309: the specific application server sends the authorization completion information to the user service platform.
Step 310: the user service platform receives the information of the completion of authorization.
Step 311: the user service platform pushes a push notification of successful authorization to a context awareness module of the mobile phone.
Step 312: the context awareness module sends a message of successful authorization to the business logic processing module.
Step 313: the service logic processing module sends a termination instruction for instructing to cancel the display of the guidance information to the service presentation module.
In this example, steps 306 to 313 in case 2 are similar to steps 306 to 313 in fig. 3, and will not be described here again.
In this example, by recording the time of displaying the guidance information last time and the accumulated number of times of displaying the guidance information, the preset interval duration can be determined, whether the guidance information is displayed this time or not can be determined, the frequent display of the guidance information can be avoided, the disturbance to the user is avoided, the preset interval duration increases along with the increase of the accumulated number of times, and therefore the number of times of displaying the guidance information is reduced, and the disturbance to the user is further reduced.
Case 3: the user ignores the scenario of the operation on the guidance information.
In another example, after step 306 in case 2 is performed, steps 307 'to 308' (not shown in fig. 3) may be performed.
Step 307': if the service presentation module receives the neglect operation of the user, the service presentation module can send the time for receiving the neglect operation to the service logic processing module. After step 307', step 308' is performed.
Illustratively, the ignore operation may be an operation such as sliding the card left, clicking on a ignored control, or the like. For example, if the guiding information is displayed in the form of a card, the user slides the card left, i.e. ignores the card. The service presentation module acquires the neglect operation, reports the event of the neglect operation to the service logic processing module, and the service logic processing module takes the time of receiving the event of the neglect operation as the time of receiving the neglect operation.
Step 308': the business logic processing module updates the stored time of displaying the guidance information to the time of receiving the ignore operation.
For example, in step 3052, the time Th for displaying the guidance information is stored as T2, in step 306, the time for displaying the guidance information is T2, and the time for receiving the ignore operation is T4, and the service logic processing module sets Th as T4.
After step 308', the context awareness module continues to detect whether the flight sms fence is triggered, i.e., returns to step 302.
In this example, if the time of displaying the guide information is T1, after 23 hours of displaying, the user performs the neglect operation on the card, and the determined preset interval duration is 24 hours, if the stored time of displaying the guide information is not updated, after 1 hour, when the flight short message is detected to default again and no authorization relationship exists between the authorized object and the specific application account, the guide information will be displayed again, and the situation of frequently displaying the guide information will occur.
In other embodiments, after performing step 304, the business logic processing module obtains a display mode for displaying the guidance information. If the service logic processing module adopts the pushing notification display mode, the service logic processing module executes step 3041; if the business logic processing module determines that the card display mode is adopted, step 305 is directly executed.
In some embodiments, if the service logic processing module determines that the notification is to be displayed, the service logic processing module may set an interval duration threshold, for example, the interval duration threshold is set to 7×24 hours. And if the service logic processing module determines that the preset interval time length is greater than or equal to 7 x 24h, setting the preset interval time length to be 7 x 24h. If the card is displayed at intervals of 7 x 24h, after receiving the flight short message triggering event, the business logic processing module detects that the flight short message is default and detects that the account number of the 'aviation and travel aspect' is not bound with an authorized object (deviceID of the mobile phone). The service logic processing module instructs the service presentation module to display the guidance information at intervals of 7 x 24 hours. The number of notification times is reduced and the problem that authorization reminding is not carried out for a long time is avoided.
In this example, since the card is usually in the negative screen or the main screen, the long-term display of the guiding information does not affect the user, and the long-term display can be performed, and the notification belongs to a strong disturbing mode, and the number of times of notification is controlled in this example, so that the user is prevented from being disturbed.
Fig. 5 is a schematic diagram exemplarily shown displaying guide information. The travel reminding method of the application is described in the example with reference to the specific example.
In this example, the specific application is exemplified by "aviation and travel, and the user service platform (i.e., the server corresponding to the electronic device) is exemplified by a glowing platform. The business logic processing module initiates a query request to the glory platform to query whether the authorized object is bound with an account number of the 'travel aspect' (namely, a user account number of the user in the travel aspect). The glory platform returns a query result indicating that the authorized object is unbound to the account number of "travel aspect". The business logic processing module instructs the context awareness module to register the flight short message fence, and the context awareness module monitors whether the mobile phone receives the flight short message. And after the context awareness module recognizes the flight short message A, reporting an event triggered by the flight short message fence to the service logic processing module. The service logic module acquires the flight short message reported by the context awareness module, and determines that the flight short message is default if any one of short message basic information (such as a flight number, a departure date, a departure place and a destination) preset by default of the content of the flight short message is detected. The business logic processing module detects that the authorized object is not bound with the account number of the 'aviation and travel aspect', and indicates the business presentation module (such as the YOYO suggestion) to display the guide information, wherein the business logic processing module indicates that the guide information can be displayed in a notification mode. Fig. 5 (1) shows an icon 403 for displaying a notification in the short message interface 401, and a received flight short message 402 as a default destination, landing time, or the like. After the service logic processing module of the mobile phone determines to display the guiding information, a notification icon 403 is displayed on the short message interface 401 (that is, the guiding information is displayed in a notification mode). With continued reference to (1) in fig. 5, when the user performs a sliding operation in the direction of the black arrow, the mobile phone displays the specific content of the notification in the display screen in response to the sliding operation of the user. As shown in fig. 5 (2), two notifications are displayed in the interface 404, the notification 405 shows the content of the guiding information, and the user clicks on the notification 405 to jump to the authorization page (such as the interface 408 shown in fig. 5 (4)).
In another scenario, the user does not open the received flight sms, as shown in (3) in fig. 5, the guiding information is displayed in the form of a card, the main screen of the mobile phone is at the interface 406, and the service presentation module displays the guiding information in the form of a card. A card 407 is displayed in the interface 406, the card contains guiding information, and prompting information of guiding authorization and a control 4071 of guiding authorization are displayed in the card 407. If the user clicks the control 4071, the user may jump to the authorization interface 408, as shown in (4) of fig. 5, where the user is prompted to perform authorization in the interface 408, and if the control 409 is triggered, authorization information is sent to the server of the travel crossbar, and the server of the travel crossbar sends information that authorization is completed to the glory platform. After receiving the authorization completion information, the glowing platform returns authorization success information to the context awareness module of the mobile phone, and the context awareness module sends the authorization success information to the service logic processing module, and the service logic processing module instructs the service presentation module (such as YOYO suggestion) to terminate displaying the card 407. The business presentation module removes the card 407 from the interface 406.
In this example, an authorization relationship between the identity of the electronic device and the account number of the travel aspect is taken as an example. Specifically, after the user performs the authorization operation, YOYO in this example suggests that authorization information, such as OpenID of the user, be reported to the server of the travel aspect. And the navigation crossbar server verifies the authorization information and sends the authorization completion information to the glowing platform, and after the glowing platform receives the authorization completion information, the navigation crossbar account number and the OpenID of the user are recorded to be bound. The glowing platform also records the corresponding relation between the OpenID of the user and the identification (such as DeviceID) of the electronic equipment, and when the glowing platform records that the account number of the travel aspect and the OpenID of the user are bound, the authorization relation between the identification of the electronic equipment and the account number of the travel aspect is stored. After the authorization is completed, the electronic device can acquire complete journey data of the user from the navigation crossbar server through the glory platform and the stored authorization relationship.
Fig. 5 (5) shows an interface where the "travel aspect" application views the user's account authorization success for the travel aspect. As shown in fig. 5 (5), the interface 411 is an authorization management interface of the "travel crossbar" application, and the control 412 is in an open state, i.e., the user account of the user in the travel crossbar authorizes the YOYO suggestion.
Alternatively, authorization with a particular server (i.e., a server of a particular application) may also be achieved by logging into the glory platform through the glory account.
In another example, account binding may also be performed, where account binding refers to binding between a user's account of a glowing platform and an account of a particular server (i.e., a server of a particular application).
A scenario in which the user ignores the card is described below in connection with fig. 6.
Referring to fig. 6, in this example, a specific application is exemplified by "travel aspect" and a user service platform is exemplified by a glory platform. The business logic processing module initiates a query request to the glory platform to query whether an authorized relationship exists between the identification of the electronic equipment and the account number of the aviation and travel. The glory platform returns a query result indicating that there is no binding between the identity of the electronic device and the account number of "travel crossbar". The business logic processing module instructs the context awareness module to register the flight short message fence, and the context awareness module monitors whether the mobile phone receives the flight short message. And after the context awareness module recognizes the flight short message A, reporting an event triggered by the flight short message fence to the service logic processing module. The service logic processing module extracts information from the short message A through the NLU model, and when the extracted information defaults any one of basic information (such as flight number, departure date, departure place and destination) of the preset short message, the exhausted logic module determines that the flight short message defaults. The business logic processing module detects that the identification of the electronic equipment is not bound with the account number of the 'aviation and travel aspect'. The service logic processing module obtains the time of displaying the guidance information last time and the accumulated number of times of displaying the guidance information, in this example, the identifier Th is used for indicating the time of displaying the guidance information last time, the identifier N is used for indicating the accumulated number of times, and the th=null, n=0. And the time (namely the first detection time) when the flight short message is detected to be default and no authorization relationship exists between the identification of the electronic equipment and the specific application account is recorded as T1. The business logic processing module sends a display indication to the business presentation module, wherein the display indication comprises guiding information and a display mode (such as a notification mode). Th=t1, n=1 are updated at the same time. I.e. time T1 is the time of the 1 st presentation. The service presentation module displays the guide information in a notification mode, and the user slides the notification leftwards, wherein the leftwards sliding operation is used for indicating the user to ignore the notification. The service presentation module receives the neglect operation (such as left-hand sliding operation) of the user and reports the event of the neglect operation to the service logic processing module. The time when the business logic processing module receives the neglect operation event is t1, namely the time when the business logic processing module receives the neglect operation is t1. The service logic processing module sets Th to t1. When the context awareness module continues to monitor the flight sms fence, and when the flight sms fence is detected to be triggered again, the steps S303 to S304 in fig. 2 are continued, the service logic processing module detects that the flight sms is default and no authorization relationship exists between the identification of the electronic device and the specific application account, the second detection time is recorded as T2, the service logic module obtains th=t1, n=1, the service logic processing module determines that the 1 st preset interval duration is 1×24 hours according to N, the duration of the second detection time (T2) from the time T1 exceeds or is equal to 24 hours, and the service logic processing module instructs the service presentation module to perform the 2 nd display at the time T2 to update th=t2, n=2. In fig. 6, the interval a is 24 hours or longer.
If the user does not operate the notification displayed for the second time, the notification is still displayed in the display screen. The context awareness module continues to monitor whether the flight sms fence is triggered or not, and the third time of detecting the flight sms fence trigger, and continues to the steps S303 to S304 in fig. 2. The business logic processing module detects that the flight short message is default and no authorization relationship exists between the authorization object and the specific application account number for the third time, the third detection time is recorded as T2, the business logic processing module obtains th=t2 and n=2, the business logic processing module determines that the 2 nd preset interval duration is 2 x 24 hours according to N, and when the duration (T2-T2) of the third detection time T2 (namely the time when the flight short message is detected to be default and no authorization relationship exists between the authorization object and the specific application account number for the third time) is less than 2 x 24 hours, the guide information is not displayed when the flight short message is detected to be default for the third time and no authorization relationship exists between the authorization object and the specific application account number. Interval B in fig. 6 is less than 2 x 24 hours.
In this example, if the service logic processing module receives the event triggered by reporting the flight sms fence for the fourth time by the context awareness module, and continues the steps shown in S302 to S304 in fig. 2, the service logic processing module detects that the flight sms default for the fourth time and that no authorization relationship exists between the authorization object and the specific application account, and the fourth detection time is recorded as T3. The service logic processing module obtains th=t2, n=2, and determines that the 2 nd preset interval duration is 2×24 hours according to N, and detects that the duration (T3-T2) of the fourth detection time T3 (i.e., the time when the fourth detection of the flight short message exists in default and no authorization relationship exists between the authorized object and the specific application account) is greater than 2×24 hours from the time T2, and then determines that the fourth detection of the flight short message exists in default and no authorization relationship exists between the authorized object and the specific application account, and displays the guiding information. In fig. 6, interval C is equal to or greater than 2 x 24 hours.
In this example, if the service logic processing module receives the event triggered by the fifth flight sms fence, the steps S302 to S304 in fig. 2 are continued. The service logic processing module may detect whether the accumulated number of times reaches a preset number of times threshold, in this example, as shown in fig. 6, the number of times threshold is 3 times, where the accumulated number of times n=3 is equal to the number of times threshold, and then the service logic processing module instructs the service presentation module to cancel the presented guidance information.
In the example, the frequency threshold is set, the service logic processing module cancels the displayed guide information, avoids the user from displaying excessive guide information, and improves the user experience.
It will be appreciated that the electronic device, in order to achieve the above-described functions, includes corresponding hardware and/or software modules that perform the respective functions. The steps of an algorithm for each example described in connection with the embodiments disclosed herein may be embodied in hardware or a combination of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Those skilled in the art may implement the described functionality using different approaches for each particular application in conjunction with the embodiments, but such implementation is not to be considered as outside the scope of this application.
The present embodiment also provides a computer storage medium, in which computer instructions are stored, which when executed on an electronic device, cause the electronic device to execute the relevant method steps to implement the method for reminding a trip in the foregoing embodiment. The storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The present embodiment also provides a computer program product, which when run on a computer, causes the computer to perform the above-mentioned related steps to implement the method for reminding a trip in the above-mentioned embodiment.
The electronic device, the computer storage medium, the computer program product, or the chip provided in this embodiment are used to execute the corresponding methods provided above, so that the beneficial effects thereof can be referred to the beneficial effects in the corresponding methods provided above, and will not be described herein.
Any of the various embodiments of the application, as well as any of the same embodiments, may be freely combined. Any combination of the above is within the scope of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (13)

1. A method for travel reminding, applied to an electronic device, the method comprising:
when the electronic equipment is detected to receive the flight short message, triggering and detecting whether the flight short message has information default or not and whether an authorized object and a user account of a specific application exist or not, wherein the authorized object comprises the user account of the user in a server corresponding to the electronic equipment or an identifier of the electronic equipment, and the specific application is used for acquiring flight information of the user from servers corresponding to at least two airlines;
when the fact that the flight short message exists in a default mode and no authorization relation exists between an authorization object and a user account of a specific application is detected, judging whether an nth operation of displaying guide information is executed, wherein the guide information is used for guiding the user to conduct authorization operation so that a server corresponding to the specific application can establish the authorization relation between the authorization object and the user account of the specific application, and N is an integer larger than 0;
Displaying the guide information if the operation of displaying the guide information for the Nth time is determined to be executed;
after the authorization relationship is established, the electronic equipment acquires the flight information of the user from the server corresponding to the specific application according to the authorization relationship and the authorization object, and carries out travel reminding on the user on the electronic equipment according to the acquired flight information of the user.
2. The method of claim 1, wherein the detecting whether the flight sms has information default comprises:
the method comprises the steps of obtaining basic information of a pre-stored flight short message, wherein the basic information of the flight short message comprises the following steps: flight number, departure date, departure place and destination;
detecting whether any content in basic information of the flight short message is defaulted in the information of the flight short message;
if any content in the basic information of the flight short message is detected to be defaulted in the information of the flight short message, determining that the flight short message exists in the default.
3. The method of claim 1, wherein the determining whether to perform the nth operation of displaying the guidance information comprises:
Acquiring a difference value between the N-1 th time of displaying the guide information and a first time, wherein the first time is a time when the flight short message default is detected and no authorization relationship exists between the authorization object and the user account of the specific application;
judging whether the difference value is larger than an N-1 th preset interval duration or not, wherein the N-1 th preset interval duration is used for indicating the minimum interval duration between the N-1 th display of the guide information and the N-th display of the guide information;
and if the difference value is larger than or equal to the N-1 th preset interval duration, determining that the guiding information is displayed for the N time.
4. A method according to claim 3, wherein prior to determining whether the difference is greater than the N-1 th preset interval period, the method further comprises:
acquiring and displaying the accumulated times of the guide information;
and determining the N-1 th preset interval duration according to the accumulated times.
5. The method of claim 4, wherein determining the N-1 th preset interval duration based on the accumulated number of times comprises:
obtaining the product of the accumulated times and a preset fixed time length as a first product value;
And taking the first product value as the N-1 th preset interval duration.
6. The method according to claim 4 or 5, characterized in that the method further comprises:
acquiring the time of displaying the guide information for the Nth time;
updating the stored time of displaying the guide information for the N-1 th time to the time of displaying the guide information for the N-th time;
and adding 1 to the stored value of the accumulated times.
7. The method of claim 6, wherein the method further comprises:
after the guidance information is displayed for the nth time, responding to the neglecting operation of a user, and taking the moment of receiving the neglecting operation as the moment of displaying the guidance information for the (N-1) th time, wherein the neglecting operation is used for indicating the neglecting of the guidance information.
8. The method of claim 4 or 5, wherein prior to the nth displaying the guidance information, the method further comprises:
judging whether the accumulated times reach a preset times threshold value or not;
and if the accumulated times reach the times threshold, canceling the Nth display of the guide information.
9. The method of claim 1, wherein the guidance information is displayed two adjacent times at a predetermined fixed time interval.
10. The method of claim 5, wherein after said taking said first product value as said N-1 th preset interval duration, said method further comprises:
detecting whether the N-1 th preset interval duration exceeds a preset interval threshold;
and if the N-1 th preset interval duration is detected to exceed the interval threshold, setting the N-1 th preset interval duration as the interval threshold.
11. The method according to claim 1, wherein the method further comprises:
responding to authorization operation of a user, and detecting whether a user account of the user in a specific application is in a login state;
and when the user account number of the specific application is detected to be in a login state, jumping to an authorization page to allow the user to agree with the authorization operation or cancel the authorization operation.
12. The method of claim 1, wherein prior to said detecting whether a flight sms is received, the method further comprises:
it is detected that no authorization relationship exists between the authorization object and the user account of the specific application.
13. An electronic device, comprising:
One or more processors;
a memory;
and one or more computer programs, wherein the one or more computer programs are stored on the memory, which when executed by the one or more processors, cause the electronic device to perform the method of travel alerting of any of claims 1-12.
CN202310366046.4A 2021-12-23 2021-12-23 Travel reminding method and electronic equipment Pending CN116405456A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310366046.4A CN116405456A (en) 2021-12-23 2021-12-23 Travel reminding method and electronic equipment

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202310366046.4A CN116405456A (en) 2021-12-23 2021-12-23 Travel reminding method and electronic equipment
CN202111595477.5A CN115022271B (en) 2021-12-23 2021-12-23 Travel reminding method and electronic equipment

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN202111595477.5A Division CN115022271B (en) 2021-12-23 2021-12-23 Travel reminding method and electronic equipment

Publications (1)

Publication Number Publication Date
CN116405456A true CN116405456A (en) 2023-07-07

Family

ID=83064664

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202111595477.5A Active CN115022271B (en) 2021-12-23 2021-12-23 Travel reminding method and electronic equipment
CN202310366046.4A Pending CN116405456A (en) 2021-12-23 2021-12-23 Travel reminding method and electronic equipment

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202111595477.5A Active CN115022271B (en) 2021-12-23 2021-12-23 Travel reminding method and electronic equipment

Country Status (1)

Country Link
CN (2) CN115022271B (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7769611B1 (en) * 2000-11-03 2010-08-03 International Business Machines Corporation System and method for automating travel agent operations
US20130132128A1 (en) * 2011-11-17 2013-05-23 Us Airways, Inc. Overbooking, forecasting and optimization methods and systems
CN107967154B (en) * 2017-12-14 2021-04-16 腾讯科技(深圳)有限公司 Reminding item generation method and device
CN108089832A (en) * 2017-12-18 2018-05-29 携程旅游网络技术(上海)有限公司 Flight dynamic information methods of exhibiting, system, equipment and storage medium
CN108881170A (en) * 2018-05-21 2018-11-23 阿里巴巴集团控股有限公司 A kind of data processing method, device, processing equipment and the system of authorization guidance
US20210262809A1 (en) * 2020-02-25 2021-08-26 Alclear, Llc Estimation and presentation of total journey time from origin to gate
CN112887191B (en) * 2021-01-08 2022-07-26 Oppo广东移动通信有限公司 Information display control method and related device

Also Published As

Publication number Publication date
CN115022271B (en) 2023-04-14
CN115022271A (en) 2022-09-06

Similar Documents

Publication Publication Date Title
CN114584650B (en) Method for pushing notification, electronic device and storage medium
US11537450B2 (en) Method, apparatus, and mobile terminal for associating notification messages
EP2790423B1 (en) Method and apparatus for emergency phone in a vehicle key
CN112600977B (en) Method and terminal for rapidly opening application or application function
CN101901542B (en) System and method for providing traffic notifications to mobile devices
US10065321B2 (en) Robot service cooperation system, platform and method
CN102917115A (en) System and method for preventing and/or limiting use of a mobile device
CN104025560A (en) Method and apparatus for providing data entry content to a remote environment
US11938948B1 (en) Customized vehicle operator workflows
CN110634191B (en) Authentication method, apparatus, medium, and device
CN115022459B (en) Travel reminding method and electronic equipment
CN115022943B (en) Method for positioning geographic position and electronic equipment
US11710409B2 (en) Customized route tracking
CN115038053B (en) Travel reminding method and electronic equipment
CN115016713B (en) Travel event subscription method and electronic equipment
CN115022271B (en) Travel reminding method and electronic equipment
CN106708501A (en) Activity monitoring method and device
CN114527900A (en) Interface information display method and electronic equipment
US20180248999A1 (en) Applications, methods, and systems for preventing a mobile device user from operating functions of a mobile device while operating a motor vehicle
CN115018436B (en) Travel reminding method and electronic equipment
CN115018437B (en) Travel reminding method and electronic equipment
CN115018435B (en) Travel reminding method and electronic equipment
CN113805975B (en) Service execution method, device and storage medium
KR102516559B1 (en) Server, vehicle terminal and method for providing emergency notification
CN115034733B (en) Travel reminding method and electronic equipment

Legal Events

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