CN113687954A - Message notification method, device, computer equipment and storage medium - Google Patents

Message notification method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN113687954A
CN113687954A CN202010419390.1A CN202010419390A CN113687954A CN 113687954 A CN113687954 A CN 113687954A CN 202010419390 A CN202010419390 A CN 202010419390A CN 113687954 A CN113687954 A CN 113687954A
Authority
CN
China
Prior art keywords
epidemic prevention
prevention notification
user account
resource transfer
epidemic
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
CN202010419390.1A
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010419390.1A priority Critical patent/CN113687954A/en
Publication of CN113687954A publication Critical patent/CN113687954A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Toxicology (AREA)
  • Electromagnetism (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Traffic Control Systems (AREA)

Abstract

The application discloses a message notification method, a message notification device, computer equipment and a storage medium, and belongs to the technical field of networks. The method comprises the following steps: displaying a result interface of the resource transfer event, wherein the result interface comprises a resource transfer result of the resource transfer event and an epidemic prevention notification subscription entrance; receiving an epidemic prevention notification subscription instruction triggered by the epidemic prevention notification subscription entrance, wherein the epidemic prevention notification subscription instruction is used for indicating an epidemic prevention notification message for subscribing the traffic travel; and sending an epidemic prevention notification subscription request to a server, wherein the epidemic prevention notification subscription request is used for indicating the server to send the epidemic prevention notification message to a terminal where the first user account is located when the server confirms that the vehicle of the traffic trip has an epidemic situation. The method and the device reduce the operation cost of the user and improve the efficiency of epidemic prevention notification.

Description

Message notification method, device, computer equipment and storage medium
Technical Field
The present application relates to the field of network technologies, and in particular, to a message notification method and apparatus, a computer device, and a storage medium.
Background
In order to make epidemic prevention work well, epidemic situation information in the field of taxis can be traced and checked conveniently, taxis in more and more cities carry out real-name riding registration work so as to carry out epidemic prevention (epidemic situation prevention and control) notification.
In the related technology, the two-dimensional code for real-name riding registration needs to be additionally printed, a driver of a taxi needs to take the two-dimensional code off line and paste the two-dimensional code in the taxi, a passenger can scan the two-dimensional code in the taxi through a code scanning function in an application program of a mobile phone when taking the taxi, and a page skipped after code scanning is filled with real-name information and a contact mode of the passenger. When the relevant department confirms that the taxi has the epidemic situation (such as the confirmation of the driver and the confirmation of the passenger taking the taxi), the epidemic situation can be timely notified to the passenger according to the information registered by the passenger in advance.
The technology needs a driver to paste an additionally printed two-dimensional code in a car, needs a passenger to additionally scan the code by using a mobile phone and input registration information, and is high in operation cost and low in efficiency of epidemic prevention notification.
Disclosure of Invention
The embodiment of the application provides a message notification method, a message notification device, computer equipment and a storage medium, which can reduce the operation cost of a user and improve the efficiency of epidemic prevention notification. The technical scheme is as follows:
in one aspect, a message notification method is provided, and the method includes:
displaying a result interface of a resource transfer event, wherein the result interface comprises a resource transfer result of the resource transfer event and an epidemic prevention notification subscription entrance, the resource transfer event is an event that a first user account transfers a target amount of resources to a second user account with an epidemic prevention notification function opened, and the target amount is determined by a traffic route;
receiving an epidemic prevention notification subscription instruction triggered by the epidemic prevention notification subscription entrance, wherein the epidemic prevention notification subscription instruction is used for indicating an epidemic prevention notification message for subscribing the traffic travel;
and sending an epidemic prevention notification subscription request to a server, wherein the epidemic prevention notification subscription request is used for indicating the server to send the epidemic prevention notification message to a terminal where the first user account is located when the server confirms that the vehicle of the traffic trip has an epidemic situation.
In one possible implementation manner, the epidemic prevention notification subscription interface for displaying the sub-application program of the target application program includes:
and displaying a subscription window and the travel information of the traffic travel in the epidemic prevention notification subscription interface, wherein the subscription window is used for prompting whether to subscribe the epidemic prevention notification message of the traffic travel, and the travel information comprises at least one of vehicle information, driver information or the target amount.
In one aspect, a message notification method is provided, and the method includes:
responding to a resource transfer event initiated by a first user account, triggering the first user account to transfer resources of a target amount to a second user account with an opened epidemic prevention notification function, wherein the target amount is determined through a traffic route;
sending a resource transfer result of the resource transfer event and an epidemic prevention notification subscription entrance to a terminal where the first user account is located;
and receiving an epidemic prevention notification subscription request triggered by the first user account based on the epidemic prevention notification subscription entrance, wherein the epidemic prevention notification subscription request is used for indicating that an epidemic prevention notification message is sent to a terminal where the first user account is located when the vehicle of the traffic trip is confirmed to have an epidemic situation.
In one possible implementation, after receiving the epidemic prevention notification subscription request triggered based on the epidemic prevention notification subscription entrance, the method further includes:
responding to an epidemic situation event, and sending an epidemic prevention notification message to a terminal where the first user account is located, wherein the epidemic situation event is an event that an epidemic situation occurs in a vehicle of the traffic trip.
In one possible implementation manner, the opening of the epidemic prevention notification function of the second user account includes any one of the following:
adding the second user account into an epidemic prevention notification account set, wherein the epidemic prevention notification account set is used for recording accounts with the opened epidemic prevention notification function;
adding a target mark for the second user account, wherein the target mark is used for indicating that the second user account is an account with the opened epidemic prevention notification function.
In one possible implementation manner, the opening of the epidemic prevention notification function of the second user account includes:
and opening an epidemic prevention notification function of a graphic code corresponding to the second user account, wherein the graphic code is used for triggering an event of transferring resources to the second user account.
In one possible implementation manner, after the epidemic prevention notification function of the second user account is opened, the method further includes:
and sending an epidemic prevention notification opening result to the terminal where the second user account is located, wherein the epidemic prevention notification opening result is used for indicating whether the epidemic prevention notification function of the second user account is successfully opened or not.
In one possible implementation manner, after the epidemic prevention notification function of the second user account is opened, the method further includes:
closing an epidemic prevention notification function of the second user account in response to the driver being in a non-operation state;
and restarting the epidemic prevention notification function of the second user account in response to the fact that the driver is in the operating state.
In one aspect, a message notification apparatus is provided, the apparatus including:
the system comprises a display module, a resource transfer module and a control module, wherein the display module is used for displaying a result interface of a resource transfer event, the result interface comprises a resource transfer result of the resource transfer event and an epidemic prevention notification subscription entrance, the resource transfer event is an event that a first user account transfers a target amount of resources to a second user account which has opened an epidemic prevention notification function, and the target amount is determined by a traffic route;
the receiving module is used for receiving an epidemic prevention notification subscription instruction triggered based on the epidemic prevention notification subscription entrance, and the epidemic prevention notification subscription instruction is used for indicating an epidemic prevention notification message subscribed to the traffic route;
and the sending module is used for sending an epidemic prevention notification subscription request to a server, wherein the epidemic prevention notification subscription request is used for indicating the server to send the epidemic prevention notification message to a terminal where the first user account is located when the server confirms that the vehicle of the traffic trip has an epidemic situation.
In one possible implementation manner, the first user account and the second user account are accounts of different terminals logging in a target application program, and the server is a target application program server;
the device further comprises:
the scanning module is used for responding to a scanning instruction, scanning a graphic code displayed by a terminal where the second user account is located based on the target application program, and obtaining account information of the second user account;
the initiating module is used for initiating the resource transfer event through the target application program of the terminal where the first user account is located based on the account information of the second user account;
the receiving module is also used for receiving the resource transfer result of the resource transfer event and an epidemic prevention notification subscription entrance.
In one possible implementation, the receiving module is configured to:
responding to a trigger instruction of the epidemic prevention notification subscription entrance, displaying an epidemic prevention notification subscription interface of the sub-application program of the target application program, wherein the epidemic prevention notification subscription interface is used for prompting whether to subscribe an epidemic prevention notification message of the traffic route;
and receiving an epidemic prevention notification subscription instruction triggered on the epidemic prevention notification subscription interface.
In one possible implementation, the receiving module is configured to:
and displaying a subscription window and the travel information of the traffic travel in the epidemic prevention notification subscription interface, wherein the subscription window is used for prompting whether to subscribe the epidemic prevention notification message of the traffic travel, and the travel information comprises at least one of vehicle information, driver information or the target amount.
In a possible implementation manner, the receiving module is further configured to receive the epidemic prevention notification message from the server, where the epidemic prevention notification message is used to indicate that an epidemic situation occurs in a vehicle of the traffic trip;
the display module is also used for displaying the received epidemic prevention notification message.
In one aspect, a message notification apparatus is provided, the apparatus including:
the resource transfer module is used for responding to a resource transfer event initiated by a first user account, triggering the first user account to transfer resources of a target amount to a second user account which has opened an epidemic prevention notification function, wherein the target amount is determined by a traffic route;
a sending module, configured to send a resource transfer result of the resource transfer event and an epidemic prevention notification subscription entry to a terminal where the first user account is located;
and the receiving module is used for receiving an epidemic prevention notification subscription request triggered by the epidemic prevention notification subscription entrance, and the epidemic prevention notification subscription request is used for indicating that an epidemic prevention notification message is sent to the terminal where the first user account is located when the vehicle of the traffic route is confirmed to have an epidemic situation.
In a possible implementation manner, the sending module is further configured to send an epidemic prevention notification message to a terminal where the first user account is located in response to an epidemic situation event, where the epidemic situation event is an event of an epidemic situation occurring in a vehicle of the traffic trip.
In one possible implementation, the apparatus further includes:
an acquisition module for acquiring driver information of the vehicle;
the determining module is used for determining a second user account corresponding to the driver information according to the driver information, wherein the second user account is an account of a target application program logged on a terminal by a driver indicated by the driver information;
and the opening module is used for opening an epidemic prevention notification function of the second user account, the epidemic prevention notification function is used for sending an epidemic prevention notification message to a terminal where the first user account is located when the vehicle is confirmed to have an epidemic situation, the first user account is an account for transferring resources of a target amount to the second user account, and the target amount is determined through a traffic route.
In one possible implementation, the provisioning module is configured to perform any one of:
adding the second user account into an epidemic prevention notification account set, wherein the epidemic prevention notification account set is used for recording accounts with the opened epidemic prevention notification function;
adding a target mark for the second user account, wherein the target mark is used for indicating that the second user account is an account with the opened epidemic prevention notification function.
In one possible implementation, the provisioning module is configured to:
and opening an epidemic prevention notification function of a graphic code corresponding to the second user account, wherein the graphic code is used for triggering an event of transferring resources to the second user account.
In a possible implementation manner, the sending module is further configured to send an epidemic prevention notification activation result to the terminal where the second user account is located, where the epidemic prevention notification activation result is used to indicate whether the epidemic prevention notification function of the second user account is successfully activated.
In one possible implementation, the provisioning module is further configured to:
closing an epidemic prevention notification function of the second user account in response to the driver being in a non-operation state;
and restarting the epidemic prevention notification function of the second user account in response to the fact that the driver is in the operating state.
In one aspect, a computer device is provided, which comprises one or more processors and one or more memories, wherein at least one program code is stored in the one or more memories, and the program code is loaded and executed by the one or more processors to implement the above message notification method.
In one aspect, a computer-readable storage medium having at least one program code stored therein is provided, the at least one program code being loaded and executed by a processor to implement the above-mentioned message notification method.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
after the resource transfer event of transferring the target amount of resources from the first user account to the second user account with the opened epidemic prevention notification function is completed, an epidemic prevention notification subscription entrance is also displayed in a result interface of the resource transfer event, if a user wants to subscribe the epidemic prevention notification message of the traffic route, an epidemic prevention notification subscription instruction can be triggered on the basis of the epidemic prevention notification subscription entrance, and the terminal is triggered to send an epidemic prevention notification subscription request to the server, so that the server can send the epidemic prevention notification message to the terminal where the first user account is located when the epidemic situation of a vehicle of the traffic route is confirmed on the basis of the epidemic prevention notification subscription request. By the scheme, after paying the expense of the traffic trip, the user can directly subscribe the epidemic prevention notification message of the traffic trip through the epidemic prevention notification subscription entrance displayed on the terminal, so that the epidemic prevention notification message can be received in time when the vehicle taken by the user is in an epidemic situation, information registration is carried out without extra code scanning, the operation cost of the user is reduced, and the efficiency of epidemic prevention notification is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of an implementation environment of a message notification method according to an embodiment of the present application;
fig. 2 is a flowchart of a message notification method according to an embodiment of the present application;
fig. 3 is a flowchart of a message notification method according to an embodiment of the present application;
fig. 4 is a timing diagram of a message notification method according to an embodiment of the present application;
fig. 5 is a timing diagram illustrating a method for activating an epidemic prevention notification function according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a result interface of a resource transfer event according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a reminder interface provided by an embodiment of the present application;
FIG. 8 is a schematic diagram of an epidemic prevention notification subscription interface provided by an embodiment of the application;
FIG. 9 is a schematic diagram of a service notification interface provided by an embodiment of the application;
fig. 10 is a timing diagram of a message notification method according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a message notification apparatus according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a message notification apparatus according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of a terminal according to an embodiment of the present application;
fig. 14 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The terms "first," "second," and the like in this application are used for distinguishing between similar items and items that have substantially the same function or similar functionality, and it should be understood that "first," "second," and "nth" do not have any logical or temporal dependency or limitation on the number or order of execution.
In order to facilitate understanding of the technical solutions of the embodiments of the present application, some terms referred to in the embodiments of the present application are explained below:
code scanning: the user scans the graphic code using a graphic code scanning function provided by a target application on the terminal, such as a passenger using the target application on the terminal, and scans a toll collection code displayed by the driver's terminal based on the target application to pay the driver for the fare.
The sub-application program: depending on an application program run by a parent application program (host application program), the parent application program may be an application program installed in an operating system of a terminal through an installation package, and a child application program may provide quick use in the parent application program, and the child application program may be referred to as an applet.
Fig. 1 is a schematic diagram of an implementation environment of a message notification method according to an embodiment of the present application, and referring to fig. 1, the implementation environment may include a first terminal 101, a second terminal 102, and a server 103.
The first terminal 101 and the second terminal 102 may be, but are not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, and the like. The first terminal 101 and the second terminal 102 are installed and run with a target application. The target application may be a social application, an instant messaging application, a payment application, and the like, and the type of the target application is not limited in the embodiment of the present application. Illustratively, the first terminal 101 is a terminal used by a first user, and the second terminal 102 is a terminal used by a second user, e.g., the first user may be a passenger and the second user may be a driver (driver). The target application programs running in the first terminal 101 and the second terminal 102 have user accounts registered therein.
The server 103 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a web service, cloud communication, a middleware service, a domain name service, a security service, a CDN (content delivery Network), a big data and artificial intelligence platform. The server 103 is used for providing background services for the target application program.
The first terminal 101, the second terminal 102 and the server 103 may be directly or indirectly connected through wired or wireless communication, and the present application is not limited thereto.
Those skilled in the art will appreciate that the number of terminals described above may be greater or fewer. For example, the number of the terminal may be only one, or several tens or hundreds, or more, and in this case, other terminals are also included in the implementation environment. The number of terminals and the type of the device are not limited in the embodiments of the present application.
In this embodiment, the first user account and the second user account may be accounts for different terminals to log in the target application program, and in an example scenario, the first user account may be an account for a passenger to log in the target application program on the first terminal, and the second user account may be an account for a driver to log in the target application program on the second terminal. Accordingly, the server in the embodiment of the present application may be a target application server.
Fig. 2 is a flowchart of a message notification method according to an embodiment of the present application. The method is performed by a terminal, which may be a first terminal in the implementation environment shown in fig. 1, and referring to fig. 2, the method may include:
201. the first terminal displays a result interface of the resource transfer event, the result interface comprises a resource transfer result of the resource transfer event and an epidemic prevention notification subscription entrance, the resource transfer event is an event that a first user account transfers a target amount of resources to a second user account which has opened an epidemic prevention notification function, and the target amount is determined by a traffic route.
Where the resource may be funds stored in the user account. The target amount of resources is also the cost of a traffic trip, which is the trip of the first user from the origin to the destination in the vehicle of the second user. The activated epidemic prevention notification function of the second user account is used for returning an epidemic prevention notification subscription entrance to the first user account while returning a resource transfer result to the first user account after the first user account transfers resources to the second user account, so that the first user account can subscribe an epidemic prevention notification message.
In the embodiment of the application, the first user may initiate a resource transfer event through the first user account, and after the resource transfer event is completed, the first terminal may display a result interface of the resource transfer event, where the interface may include, in addition to the resource transfer result of the resource transfer event, an epidemic prevention notification subscription entry. The resource transfer result can indicate that the resource transfer event is successfully completed, the epidemic prevention notification subscription entrance is an entrance for subscribing the epidemic prevention notification message, and the user can subscribe the epidemic prevention notification message through the epidemic prevention notification subscription entrance. The epidemic prevention notification message is some notification messages related to epidemic prevention, for example, the epidemic prevention notification message can notify the vehicle taken by the user that the vehicle may be related to an epidemic situation, or further prompt the user to actively contact a control center, etc. The embodiment of the present application does not limit the specific content of the notification message.
202. And the first terminal receives an epidemic prevention notification subscription instruction triggered by the epidemic prevention notification subscription entrance, wherein the epidemic prevention notification subscription instruction is used for indicating an epidemic prevention notification message subscribed to the traffic route.
In the embodiment of the application, when the first terminal displays the epidemic prevention notification subscription entrance on the result interface of the resource transfer event, if the user wants to subscribe the epidemic prevention notification message of the traffic trip, the first terminal may operate the epidemic prevention notification subscription entrance to trigger the epidemic prevention notification subscription instruction, so that the first terminal may receive the epidemic prevention notification subscription instruction.
203. And the first terminal sends an epidemic prevention notification subscription request to the server, wherein the epidemic prevention notification subscription request is used for indicating the server to send an epidemic prevention notification message to the terminal where the first user account is located when the server confirms that the vehicle of the traffic trip has an epidemic situation.
Wherein the server may be a target application server. The occurrence of an epidemic in a vehicle may include confirmation of a driver, confirmation of a passenger riding the vehicle, and the like.
In the embodiment of the application, when the first terminal receives the epidemic prevention notification subscription instruction, the first terminal can know that the user wants to subscribe the epidemic prevention notification message, so that the first terminal can send the epidemic prevention notification subscription request to the server, and the server can send the epidemic prevention notification message to the terminal where the first user account logged in by the first terminal is located when confirming that the vehicle of the traffic route has an epidemic situation based on the epidemic prevention notification subscription request.
According to the method provided by the embodiment of the application, after the resource transfer event that the first user account transfers the target amount of resources to the second user account with the opened epidemic prevention notification function is completed, the resource transfer result and the epidemic prevention notification subscription entrance are displayed in the result interface of the resource transfer event, if a user wants to subscribe the epidemic prevention notification message of the traffic route, an epidemic prevention notification subscription instruction can be triggered based on the epidemic prevention notification subscription entrance, and the terminal is triggered to send the epidemic prevention notification subscription request to the server, so that the server can send the epidemic prevention notification message to the terminal where the first user account is located when the vehicle of the traffic route is confirmed to have an epidemic situation based on the epidemic prevention notification subscription request. By the scheme, after paying the expense of the traffic trip, the user can directly subscribe the epidemic prevention notification message of the traffic trip through the epidemic prevention notification subscription entrance displayed on the terminal, so that the epidemic prevention notification message can be received in time when the vehicle taken by the user is in an epidemic situation, information registration is carried out without extra code scanning, the operation cost of the user is reduced, and the efficiency of epidemic prevention notification is improved.
Fig. 3 is a flowchart of a message notification method according to an embodiment of the present application. The method is performed by a server, which may be a server in the implementation environment shown in fig. 1, and referring to fig. 3, the method may include:
301. the server responds to a resource transfer event initiated by the first user account, and triggers the first user account to transfer the resources of the target amount to the second user account with the opened epidemic prevention notification function, wherein the target amount is determined by the traffic route.
In this embodiment of the present application, after a resource transfer event is initiated from a first user account to a server, the server may transfer a target amount of resources in the first user account to a second user account in response to the resource transfer event.
302. And the server sends the resource transfer result of the resource transfer event and an epidemic prevention notification subscription entrance to the terminal where the first user account is located.
In this embodiment, after the server completes the resource transfer event, the server may return the resource transfer result of the resource transfer event and the epidemic prevention notification subscription entry to the terminal where the first user account is located, so that the terminal where the first user account is located may display the resource transfer result and the epidemic prevention notification subscription entry. The epidemic prevention notification subscription entrance is introduced in step 201, and is not described herein.
303. And the server receives an epidemic prevention notification subscription request triggered by the epidemic prevention notification subscription entrance, wherein the epidemic prevention notification subscription request is used for indicating that an epidemic prevention notification message is sent to the terminal where the first user account is located when the vehicle of the traffic route is confirmed to have an epidemic situation.
The epidemic prevention notification subscription request is introduced in step 203 and will not be described herein. After receiving the epidemic prevention notification subscription request of the first user account, the server can send an epidemic prevention notification message to the terminal where the first user account is located when confirming that the corresponding vehicle has an epidemic situation.
According to the method provided by the embodiment of the application, after the resource transfer event that the first user account transfers the target amount of resources to the second user account with the opened epidemic prevention notification function is completed, the resource transfer result and the epidemic prevention notification subscription entrance are returned to the terminal where the first user account is located, so that if a user wants to subscribe the epidemic prevention notification message of the traffic route, the user can trigger an epidemic prevention notification subscription instruction based on the epidemic prevention notification subscription entrance and trigger the terminal to send the epidemic prevention notification subscription request to the server, and therefore the server can send the epidemic prevention notification message to the terminal where the first user account is located when the vehicle of the traffic route is confirmed to have an epidemic situation based on the epidemic prevention notification subscription request. By the scheme, after paying the expense of the traffic trip, the user can directly subscribe the epidemic prevention notification message of the traffic trip through the epidemic prevention notification subscription entrance displayed on the terminal, so that the epidemic prevention notification message can be received in time when the vehicle taken by the user is in an epidemic situation, information registration is carried out without extra code scanning, the operation cost of the user is reduced, and the efficiency of epidemic prevention notification is improved.
The flows shown in fig. 2 and 3 are basic flows of the embodiments of the present application, and detailed flows of the embodiments of the present application are described below based on the basic flows.
Fig. 4 is a timing diagram of a message notification method according to an embodiment of the present application. The method is performed by interaction between a terminal and a server, and referring to fig. 4, the method may include:
401. the server acquires driver information of the vehicle.
The driver information may include identity information of a driver (driver), wherein the identity information may be real-name authentication information. The embodiment of the application does not limit the specific content of the driver information. The vehicle may be a vehicle, such as a taxi, in which the driver carries passengers to complete a traffic trip.
In a possible implementation manner, the server may obtain the driver information of the vehicle from a traffic management server, where the traffic management server may be a server of a traffic bureau, and the traffic bureau may register and record the information of the vehicle driver, that is, collect the driver information and the vehicle information of the vehicle, including a license plate number, driver identity information, driver operation information, and the like, according to the real-name riding related regulations, and store the information in the traffic management server, so that the traffic management server may store the driver information and the vehicle information of a plurality of vehicle drivers registered and recorded in the traffic bureau. The target application program server can be linked with the real-time data of the traffic management server through the background to acquire the driver information of the vehicle from the traffic management server, and an effective mode for acquiring the driver information is provided.
In this step 401, the server may obtain driver information of one vehicle, or may obtain driver information of multiple vehicles, and for a situation that one vehicle may have multiple drivers, the server may obtain multiple driver information of the vehicle.
402. And the server determines a second user account corresponding to the driver information according to the driver information, wherein the second user account is an account for logging in a target application program on the terminal by the driver indicated by the driver information.
The server may store account information corresponding to each driver information, and for example, when each driver opens a payment and receipt function (resource transfer function) of the account in the target application after registering the account in the target application, the server may request the driver to perform real-name authentication, so as to obtain the driver information, and bind the driver information with the registered account.
In this step 402, the server may query a binding relationship between the driver information and the account according to the driver information acquired in step 401, and determine the account bound to the driver information as a second user account corresponding to the driver information. If the server obtains a plurality of driver information in step 401, in this step 402, the server may determine a second user account corresponding to each driver information, respectively.
403. And the server opens an epidemic prevention notification function of the second user account, wherein the epidemic prevention notification function is used for sending an epidemic prevention notification message to a terminal where the first user account is located when the vehicle is confirmed to have an epidemic situation, the first user account is an account for transferring resources of a target amount to the second user account, and the target amount is determined through a traffic route.
After determining the second user account corresponding to the driver information, the server may open an epidemic prevention notification function for the second user account. If the server determines second user account numbers corresponding to the plurality of pieces of driver information, an epidemic prevention notification function can be opened for the second user account numbers in a unified mode.
In a possible implementation manner, the server activates an epidemic prevention notification function of the second user account, which includes any one of the following: adding the second user account into an epidemic prevention notification account set, wherein the epidemic prevention notification account set is used for recording an account which opens the epidemic prevention notification function; or adding a target mark for the second user account, wherein the target mark is used for indicating that the second user account is an account with the opened epidemic prevention notification function.
The server can maintain a set of epidemic prevention notification account numbers, and the server can add each account number which needs to open the epidemic prevention notification function into the set. Or, the server may add a target mark to each account which needs to open the epidemic prevention notification function to indicate that the epidemic prevention notification function has been opened, so that after any account transfers resources to the account which has opened the epidemic prevention notification function, an epidemic prevention notification subscription entry may be returned to any account, so that any account may subscribe the epidemic prevention notification message. The server can open the epidemic prevention notification function for the account by adding the account to the epidemic prevention notification account set or adding a mark to the account, so that the flexibility of opening the epidemic prevention notification function for the account is improved.
In one possible implementation manner, the provisioning, by the server, an epidemic prevention notification function of the second user account includes: and opening an epidemic prevention notification function of a graphic code corresponding to the second user account, wherein the graphic code is used for triggering an event of transferring resources to the second user account.
Any account of the target application program may be provided with a corresponding graphic code, which is also called a cash register code, and the specific form of the graphic code may be a two-dimensional code. The server can activate the epidemic prevention notification function of the graphic code corresponding to the account, and the account and the graphic code have a corresponding relationship, namely, the epidemic prevention notification function of the account is activated. The server can open the epidemic prevention notification function for the account in a mode of opening the epidemic prevention notification function for the graphic code corresponding to the account, so that the flexibility of opening the epidemic prevention notification function is improved.
In a possible implementation manner, after the server activates the epidemic prevention notification function of the second user account, the method provided in the embodiment of the present application further includes: and sending an epidemic prevention notification opening result to the terminal where the second user account is located, wherein the epidemic prevention notification opening result is used for indicating whether the epidemic prevention notification function of the second user account is successfully opened or not.
After the epidemic prevention notification function of the second user account is opened, the server can inform the opening result to the user to which the second user account belongs, such as a driver, and specifically, the server can send the opening result to the terminal where the second user account belongs, so that the driver can know that the epidemic prevention notification function is opened by the account.
In a possible implementation manner, after the server activates the epidemic prevention notification function of the second user account, the method provided in the embodiment of the present application further includes: closing the epidemic prevention notification function of the second user account in response to the fact that the driver is in the non-operation state; and restarting the epidemic prevention notification function of the second user account in response to the fact that the driver is in the operating state.
The server may detect whether the driver is in an operating state or a non-operating state, for example, a vehicle may be configured with a card punching device, when the driver starts to operate every day, the driver may use the card punching device to punch a card, the card punching device may report card punching information (including information of card punching time, location, and the like) to the traffic management server, and the server may acquire the card punching information of the driver from the traffic management server, so as to know the state of the driver. When the driver is determined to be in the non-operation state, the epidemic prevention notification function of the second user account can be temporarily closed, and when the driver is determined to be in the operation state again, the epidemic prevention notification function of the second user account can be recovered. By detecting whether the driver is in an operating state or not and closing the epidemic prevention notification function of the account when the driver is in a non-operating state, unnecessary epidemic prevention notification can be avoided.
Steps 401 to 403 are processes in which the server activates the epidemic prevention notification function for the account number of the vehicle driver. Referring to fig. 5, fig. 5 is a timing diagram of opening an epidemic prevention notification function according to an embodiment of the present application, as shown in fig. 5, a traffic bureau can register information for a driver, a target application server can link driver information through a background, the background opens the epidemic prevention notification function for an account of the driver or a graphic code corresponding to the account, and informs the driver of an opening result.
After the epidemic prevention notification function is opened for the driver in a unified way, the driver can show the graphic code corresponding to the account number to the passenger who finishes the traffic trip, and the passenger can subscribe the epidemic prevention notification after code scanning payment, and the specific process is introduced in the subsequent steps.
404. And the second terminal displays a graphic code based on the target application program, wherein the graphic code contains account information of a second user account with the opened epidemic prevention notification function.
After the driver completes the traffic route specified by the passenger, the driver can operate the target application program of the second terminal to trigger the target application program to display the graphic code, namely the cash register code of the driver.
405. And the first terminal responds to the scanning instruction, and scans the graphic code displayed by the terminal where the second user account is located based on the target application program to obtain account information of the second user account.
Because the graphic code displayed by the second terminal contains the account information of the second user account, the passenger can scan the graphic code displayed by the second terminal by using the scanning function provided by the target application program of the first terminal to obtain the account information of the second user account, namely the account information of the collection account.
406. The first terminal initiates the resource transfer event through the target application program of the terminal where the first user account is located based on the account information of the second user account, the resource transfer event is an event that the first user account transfers resources of a target amount to the second user account which has opened the epidemic prevention notification function, and the target amount is determined through a traffic route.
After the first terminal obtains account information of the second user account by scanning the graphic code displayed by the second terminal, an event of transferring resources of a target amount to the second user account can be initiated by logging in a target application program of the first user account, for example, after the first terminal scans the graphic code, a resource transfer amount input interface can be displayed, a passenger can input the target amount in the interface, the target amount can be informed to the passenger after the driver determines the traffic route of the passenger, the target amount can also be obtained by reading the reading of a charging device configured on the vehicle, and the charging device is used for calculating the charge according to the traffic route. The first terminal may use the input target amount as a resource amount transferred to the first user account and the second user account, and then use the target amount and account information of the second user account as event information of the resource transfer event, and initiate the resource transfer event by carrying the event information in a resource transfer request and sending the event information to the server.
407. The server responds to a resource transfer event initiated by the first user account, triggers the first user account to transfer the target amount of resources to the second user account with the opened epidemic prevention notification function, and then sends a resource transfer result of the resource transfer event and an epidemic prevention notification subscription entrance to the first terminal.
After receiving a resource transfer request sent by a first terminal, a server can know that a resource transfer event is initiated by a first user account, so that the server can deduct a target amount of resources from the first user account, transfer the target amount of resources to a second user account to complete the resource transfer event, and return an epidemic prevention notification subscription entrance while returning a resource transfer result to a terminal where the first user account is located, namely the first terminal. Alternatively, the server may also transmit the resource transfer result to the terminal where the second user account is located, so that the driver can know that the passenger has successfully paid the fee for the traffic trip by notifying the driver of the payment result of the passenger.
408. And after receiving the resource transfer result of the resource transfer event and the epidemic prevention notification subscription entrance, the first terminal displays a result interface of the resource transfer event, wherein the result interface comprises the resource transfer result of the resource transfer event and the epidemic prevention notification subscription entrance.
The first terminal may display the resource transfer result and the epidemic prevention notification subscription entry in a result interface of the resource transfer event. The resource transfer result may include indication information that the transfer was successful, the target amount, and account information of the second user account. The epidemic prevention notification subscription entrance can be in the form of a button, and prompt information can be displayed on the epidemic prevention notification subscription entrance to prompt that the epidemic prevention notification can be subscribed through the epidemic prevention notification subscription entrance.
Referring to fig. 6, fig. 6 is a schematic view of a result interface of a resource transfer event provided in an embodiment of the present application, and as shown in fig. 6, the result interface may display a resource transfer result, including indication information of transfer success, such as "payment success", and may also display a target amount and account information of a second user account as a payee. An epidemic prevention notification subscription entrance can be further displayed on the result interface, an area corresponding to the entrance can display a prompt message of 'receiving public transportation epidemic prevention notification', and the specific form of the entrance can be an 'enter' button.
409. And after receiving an epidemic prevention notification subscription instruction triggered by the epidemic prevention notification subscription entrance, the first terminal sends an epidemic prevention notification subscription request to the server, wherein the epidemic prevention notification subscription request is used for indicating the server to send an epidemic prevention notification message to the terminal where the first user account is located when the server confirms that the vehicle of the traffic trip has an epidemic situation.
The epidemic prevention notification subscription instruction is used for indicating an epidemic prevention notification message subscribed to the traffic route.
In one possible implementation manner, receiving an epidemic prevention notification subscription instruction triggered based on the epidemic prevention notification subscription entrance comprises the following first step and second step:
responding to a trigger instruction of the epidemic prevention notification subscription entrance, and displaying an epidemic prevention notification subscription interface of the sub-application program of the target application program, wherein the epidemic prevention notification subscription interface is used for prompting whether to subscribe the epidemic prevention notification message of the traffic trip.
When the first terminal displays the epidemic prevention notification subscription entrance on the result interface, the user (passenger) can click the epidemic prevention notification subscription entrance to enter the epidemic prevention notification subscription interface of the sub-application program of the target application program.
In one possible implementation manner, in response to a trigger instruction of the epidemic prevention notification subscription entrance, displaying an epidemic prevention notification subscription interface of a sub-application of the target application, including: responding to a trigger instruction of the epidemic prevention notification subscription entrance, displaying a reminding interface of the sub-application program of the target application program, wherein the reminding interface is used for reminding and confirming to receive the epidemic prevention notification message of the traffic trip; and responding to a confirmation instruction triggered on the reminding interface, and displaying an epidemic prevention notification subscription interface of the sub-application program.
After the user clicks the epidemic prevention notification subscription entrance, the first terminal may display a reminding interface of the sub-application program. The sub-application may be an applet, for example, the sub-application may be a "vehicle assistant" applet, the name of which is just one example, and may also be different names depending on the actual business, for example, for a taxi, the applet may be a "taxi assistant" applet. The user can receive epidemic situation notification, view historical taxi order information, issue electronic invoices and the like in the applet. Referring to fig. 7, fig. 7 is a schematic view of a reminding interface provided in an embodiment of the present application, as shown in fig. 7, a reminding message and a confirmation button may be displayed on the reminding interface, where the reminding message may be "to ensure your safe trip during epidemic prevention, you may receive epidemic prevention information related to the taxi journey taken", after seeing the reminding message, a user may click the confirmation button to trigger a confirmation instruction, and after receiving the confirmation instruction, the first terminal may display the epidemic prevention notification subscription interface. Referring to fig. 8, fig. 8 is a schematic view of an epidemic prevention notification subscription interface provided in an embodiment of the present application, and as shown in fig. 8, the epidemic prevention notification subscription interface may include subscription hint information and two buttons, where the subscription hint information may be "send the following message notification once: public transportation epidemic prevention information ", the two buttons are respectively a cancel button and an allow button, so that the user can select to allow or refuse to receive the epidemic prevention notice.
In one possible implementation, displaying an epidemic prevention notification subscription interface of the sub-application includes: and displaying a subscription window and the travel information of the traffic travel in the epidemic prevention notification subscription interface, wherein the subscription window is used for prompting whether to subscribe the epidemic prevention notification message of the traffic travel, and the travel information comprises at least one of vehicle information, driver information or the target amount.
As shown in fig. 8, the epidemic prevention notification subscription interface may adopt a form of a subscription window to prompt whether to subscribe the epidemic prevention notification message of the traffic trip, and vehicle information (such as license plate number), driver information (driver name), target amount, and the like are displayed on an interface outside the subscription window. The travel information is displayed on the epidemic prevention notification subscription interface, so that the user can check the information of the taken vehicle and the driver, and the epidemic prevention notification message of which travel is subscribed by the user is determined.
And step two, receiving an epidemic prevention notification subscription instruction triggered on the epidemic prevention notification subscription interface.
The user may trigger the epidemic prevention notification subscription instruction on the epidemic prevention notification subscription interface, for example, after the user sees the subscription prompt information in fig. 8, if the user wants to subscribe, the user may click the allow button to trigger the epidemic prevention notification subscription instruction.
410. And the server receives an epidemic prevention notification subscription request of the first user account.
411. And the server responds to an epidemic situation event, and sends an epidemic prevention notification message to the terminal where the first user account is located, wherein the epidemic situation event is an event that the vehicle of the traffic trip has an epidemic situation.
After receiving the epidemic prevention notification subscription request of the first user account, the server can know that the user to which the first user account belongs wants to subscribe the epidemic prevention notification message of the traffic trip of the user, so that the server can send the epidemic prevention notification message to the first user account in time when confirming that the traffic trip of the user has an epidemic situation.
In a possible implementation manner, before the server responds to the epidemic situation event and sends the epidemic prevention notification message to the terminal where the first user account is located, the method provided in the embodiment of the present application further includes: and receiving an epidemic situation occurrence message, wherein the epidemic situation occurrence message is used for indicating the occurrence of the epidemic situation of the vehicle of the traffic trip.
The server can receive epidemic situation occurrence messages provided by epidemic prevention related departments, for example, the epidemic situation occurrence messages sent by the traffic management server can indicate that a driver of a vehicle confirms a diagnosis or a passenger who takes the vehicle confirms a diagnosis, and the like. Specifically, the server may send the epidemic prevention notification message to the first terminal that logs in the first user account.
412. And after receiving the epidemic prevention notification message from the server, the first terminal displays the received epidemic prevention notification message, wherein the epidemic prevention notification message is used for indicating the epidemic situation of the vehicle in the traffic trip.
After receiving the epidemic prevention notification message, the first terminal may display the epidemic prevention notification message in a service notification interface of the target application. Referring to fig. 9, fig. 9 is a schematic view of a service notification interface provided in the embodiment of the present application, and as shown in fig. 9, the service notification interface of the target application may display names of the sub-applications and related contents of the epidemic prevention notification message, including a notification content "the public transportation that you have taken is possibly related to an epidemic situation", a prompt content "please actively contact the epidemic prevention center and complete the questionnaire of this investigation", and a contact call. The service notification interface can display an entrance of the sub-application program, the entrance can display a prompt message of 'enter into the applet for viewing', the service notification interface can also display a rejection notification entrance, and the rejection notification entrance can be used for setting that the epidemic prevention notification is not received any more.
The steps 404 to 412 are the processes of passenger code scanning payment and receiving epidemic prevention notice. Referring to fig. 10, fig. 10 is a timing diagram of a message notification method provided by an embodiment of the present application, as shown in fig. 10, a driver may provide a personal payment code (corresponding to a graphic code in step 404) to a passenger, the passenger may initiate a payment request (corresponding to steps 405 to 406), a server may process the payment request, complete a transfer, return a payment result and an epidemic prevention notification subscription entrance to the passenger (corresponding to step 407), and further notify the passenger of the payment result. The passenger may be allowed to receive the epidemic prevention notification, and the server may transmit the epidemic prevention notification to the passenger when it is confirmed that the epidemic situation occurs (corresponding to steps 408 to 411).
The technical scheme provided by the embodiment of the application can be applied to a scene that a passenger takes a taxi, and after a driver finishes a traffic journey of the passenger, the passenger can pay by scanning, enter a vehicle assistant small program, and confirm and receive epidemic prevention notification messages, namely the epidemic prevention related notification messages. For the driver, the technical scheme does not need to additionally print the two-dimensional code and requires the driver to register information, and the driver can continuously use the existing personal cash register code. For the passenger, the passenger can directly enter the small program subscription epidemic prevention notice after paying the fare without additionally scanning the code. When an epidemic occurs, the passenger can receive related notification through the applet service notification function. The technical scheme can help the taxi to carry out epidemic prevention, and the taxi epidemic prevention efficiency is improved.
According to the method provided by the embodiment of the application, after the resource transfer event that the first user account transfers the target amount of resources to the second user account with the opened epidemic prevention notification function is completed, the resource transfer result and the epidemic prevention notification subscription entrance are displayed in the result interface of the resource transfer event, if a user wants to subscribe the epidemic prevention notification message of the traffic route, an epidemic prevention notification subscription instruction can be triggered based on the epidemic prevention notification subscription entrance, and the terminal is triggered to send the epidemic prevention notification subscription request to the server, so that the server can send the epidemic prevention notification message to the terminal where the first user account is located when the vehicle of the traffic route is confirmed to have an epidemic situation based on the epidemic prevention notification subscription request. By the scheme, after paying the expense of the traffic trip, the user can directly subscribe the epidemic prevention notification message of the traffic trip through the epidemic prevention notification subscription entrance displayed on the terminal, so that the epidemic prevention notification message can be received in time when the vehicle taken by the user is in an epidemic situation, information registration is carried out without extra code scanning, the operation cost of the user is reduced, and the efficiency of epidemic prevention notification is improved.
Fig. 11 is a schematic structural diagram of a message notification apparatus according to an embodiment of the present application. Referring to fig. 11, the apparatus includes:
a display module 1101, configured to display a result interface of a resource transfer event, where the result interface includes a resource transfer result of the resource transfer event and an epidemic prevention notification subscription entry, the resource transfer event is an event that a first user account transfers a target amount of resources to a second user account that has an epidemic prevention notification function opened, and the target amount is determined by a traffic route;
a receiving module 1102, configured to receive an epidemic prevention notification subscription instruction triggered based on the epidemic prevention notification subscription entry, where the epidemic prevention notification subscription instruction is used to instruct to subscribe to an epidemic prevention notification message of the traffic trip;
the sending module 1103 is configured to send an epidemic prevention notification subscription request to the server, where the epidemic prevention notification subscription request is used to instruct the server to send the epidemic prevention notification message to the terminal where the first user account is located when the server confirms that the vehicle in the traffic trip has an epidemic situation.
In one possible implementation manner, the first user account and the second user account are accounts of different terminals logging in a target application program, and the server is a target application program server;
the device also includes:
the scanning module is used for responding to a scanning instruction, scanning a graphic code displayed by a terminal where the second user account is located based on the target application program, and obtaining account information of the second user account;
the initiating module is used for initiating the resource transfer event through the target application program of the terminal where the first user account is located based on the account information of the second user account;
the receiving module is also used for receiving the resource transfer result of the resource transfer event and an epidemic prevention notification subscription entrance.
In one possible implementation, the receiving module 1102 is configured to:
responding to a trigger instruction of the epidemic prevention notification subscription entrance, displaying an epidemic prevention notification subscription interface of the sub-application program of the target application program, wherein the epidemic prevention notification subscription interface is used for prompting whether to subscribe an epidemic prevention notification message of the traffic route;
and receiving an epidemic prevention notification subscription instruction triggered on the epidemic prevention notification subscription interface.
In one possible implementation, the receiving module 1102 is configured to:
and displaying a subscription window and the travel information of the traffic travel in the epidemic prevention notification subscription interface, wherein the subscription window is used for prompting whether to subscribe the epidemic prevention notification message of the traffic travel, and the travel information comprises at least one of vehicle information, driver information or the target amount.
In a possible implementation manner, the receiving module 1102 is further configured to receive the epidemic prevention notification message from the server, where the epidemic prevention notification message is used to indicate that an epidemic situation occurs in the vehicle of the traffic trip;
the display module 1101 is also configured to display the received epidemic prevention notification message.
In the embodiment of the application, after the resource transfer event of the target amount of resources is transferred from the first user account to the second user account with the opened epidemic prevention notification function is completed, the resource transfer result and the epidemic prevention notification subscription entrance are also displayed in a result interface of the resource transfer event, if a user wants to subscribe an epidemic prevention notification message of a traffic route, an epidemic prevention notification subscription instruction can be triggered based on the epidemic prevention notification subscription entrance, and the terminal is triggered to send an epidemic prevention notification subscription request to the server, so that the server can send the epidemic prevention notification message to the terminal where the first user account is located when the epidemic situation of a vehicle of the traffic route is confirmed based on the epidemic prevention notification subscription request. By the scheme, after paying the expense of the traffic trip, the user can directly subscribe the epidemic prevention notification message of the traffic trip through the epidemic prevention notification subscription entrance displayed on the terminal, so that the epidemic prevention notification message can be received in time when the vehicle taken by the user is in an epidemic situation, information registration is carried out without extra code scanning, the operation cost of the user is reduced, and the efficiency of epidemic prevention notification is improved.
Fig. 12 is a schematic structural diagram of a message notification apparatus according to an embodiment of the present application. Referring to fig. 12, the apparatus includes:
a resource transfer module 1201, configured to, in response to a resource transfer event initiated by a first user account, trigger the first user account to transfer a target amount of resources to a second user account with an epidemic prevention notification function, where the target amount is determined by a traffic route;
a sending module 1202, configured to send a resource transfer result of the resource transfer event and an epidemic prevention notification subscription entry to a terminal where the first user account is located;
a receiving module 1203, configured to receive an epidemic prevention notification subscription request triggered based on the epidemic prevention notification subscription entry, where the epidemic prevention notification subscription request is used to indicate that an epidemic prevention notification message is sent to a terminal where the first user account is located when an epidemic situation occurs in a vehicle of the traffic route is confirmed.
In a possible implementation manner, the sending module 1202 is further configured to send an epidemic prevention notification message to the terminal where the first user account is located in response to an epidemic situation event, where the epidemic situation event is an event that an epidemic situation occurs in a vehicle of the traffic trip.
In one possible implementation, the apparatus further includes:
the acquisition module is used for acquiring the driver information of the vehicle;
the determining module is used for determining a second user account corresponding to the driver information according to the driver information, wherein the second user account is an account of a driver indicated by the driver information for logging in a target application program on a terminal;
and the opening module is used for opening an epidemic prevention notification function of the second user account, the epidemic prevention notification function is used for sending an epidemic prevention notification message to a terminal where the first user account is located when the vehicle is confirmed to have an epidemic situation, the first user account is an account for transferring resources of a target amount to the second user account, and the target amount is determined through a traffic route.
In one possible implementation, the provisioning module is configured to perform any one of:
adding the second user account into an epidemic prevention notification account set, wherein the epidemic prevention notification account set is used for recording an account which opens the epidemic prevention notification function;
and adding a target mark for the second user account, wherein the target mark is used for indicating that the second user account is an account which has opened the epidemic prevention notification function.
In one possible implementation, the provisioning module is configured to:
and opening an epidemic prevention notification function of a graphic code corresponding to the second user account, wherein the graphic code is used for triggering an event of transferring resources to the second user account.
In a possible implementation manner, the sending module is further configured to send an epidemic prevention notification activation result to the terminal where the second user account is located, where the epidemic prevention notification activation result is used to indicate whether the epidemic prevention notification function of the second user account is successfully activated.
In one possible implementation, the provisioning module is further configured to:
closing the epidemic prevention notification function of the second user account in response to the fact that the driver is in the non-operation state;
and restarting the epidemic prevention notification function of the second user account in response to the fact that the driver is in the operating state.
In the embodiment of the application, after the resource transfer event of transferring the target amount of resources from the first user account to the second user account with the opened epidemic prevention notification function is completed, besides the resource transfer result, an epidemic prevention notification subscription entrance is returned to the terminal where the first user account is located, so that if a user wants to subscribe an epidemic prevention notification message of a traffic trip of the user, an epidemic prevention notification subscription instruction can be triggered based on the epidemic prevention notification subscription entrance, and the terminal is triggered to send an epidemic prevention notification subscription request to the server. By the scheme, after paying the expense of the traffic trip, the user can directly subscribe the epidemic prevention notification message of the traffic trip through the epidemic prevention notification subscription entrance displayed on the terminal, so that the epidemic prevention notification message can be received in time when the vehicle taken by the user is in an epidemic situation, information registration is carried out without extra code scanning, the operation cost of the user is reduced, and the efficiency of epidemic prevention notification is improved.
It should be noted that: in the message notification apparatus provided in the foregoing embodiment, only the division of the functional modules is illustrated in the message notification, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the message notification apparatus and the message notification method provided in the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments and are not described herein again.
Fig. 13 is a schematic structural diagram of a terminal according to an embodiment of the present application. The terminal 1300 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. Terminal 1300 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, etc.
In general, terminal 1300 includes: one or more processors 1301 and one or more memories 1302.
Processor 1301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 1301 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 1301 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also referred to as a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1301 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing content that the display screen needs to display. In some embodiments, processor 1301 may further include an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.
Memory 1302 may include one or more computer-readable storage media, which may be non-transitory. The memory 1302 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1302 is used to store at least one instruction for execution by processor 1301 to implement the message notification method provided by method embodiments herein.
In some embodiments, terminal 1300 may further optionally include: a peripheral interface 1303 and at least one peripheral. Processor 1301, memory 1302, and peripheral interface 1303 may be connected by a bus or signal line. Each peripheral device may be connected to the peripheral device interface 1303 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1304, display screen 1305, camera assembly 1306, audio circuitry 1307, positioning assembly 1308, and power supply 1309.
Peripheral interface 1303 may be used to connect at least one peripheral associated with I/O (Input/Output) to processor 1301 and memory 1302. In some embodiments, processor 1301, memory 1302, and peripheral interface 1303 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1301, the memory 1302, and the peripheral device interface 1303 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 1304 is used to receive and transmit RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 1304 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 1304 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1304 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 1304 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 1304 may also include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 1305 is used to display a UI (user interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1305 is a touch display screen, the display screen 1305 also has the ability to capture touch signals on or over the surface of the display screen 1305. The touch signal may be input to the processor 1301 as a control signal for processing. At this point, the display 1305 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, display 1305 may be one, providing the front panel of terminal 1300; in other embodiments, display 1305 may be at least two, either on different surfaces of terminal 1300 or in a folded design; in still other embodiments, display 1305 may be a flexible display disposed on a curved surface or on a folded surface of terminal 1300. Even further, the display 1305 may be arranged in a non-rectangular irregular figure, i.e., a shaped screen. The Display 1305 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or the like.
The camera assembly 1306 is used to capture images or video. Optionally, camera assembly 1306 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 1306 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuit 1307 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1301 for processing, or inputting the electric signals to the radio frequency circuit 1304 for realizing voice communication. For stereo capture or noise reduction purposes, multiple microphones may be provided, each at a different location of terminal 1300. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 1301 or the radio frequency circuitry 1304 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, audio circuitry 1307 may also include a headphone jack.
The positioning component 1308 is used for positioning the current geographic position of the terminal 1300 for implementing navigation or LBS (Location Based Service). The Positioning component 1308 can be a Positioning component based on the GPS (Global Positioning System) of the united states, the beidou System of china, the graves System of russia, or the galileo System of the european union.
Power supply 1309 is used to provide power to various components in terminal 1300. The power source 1309 may be alternating current, direct current, disposable or rechargeable. When the power source 1309 comprises a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 1300 also includes one or more sensors 1310. The one or more sensors 1310 include, but are not limited to: acceleration sensor 1311, gyro sensor 1312, pressure sensor 1313, fingerprint sensor 1314, optical sensor 1315, and proximity sensor 1316.
The acceleration sensor 1311 can detect the magnitude of acceleration on three coordinate axes of the coordinate system established with the terminal 1300. For example, the acceleration sensor 1311 may be used to detect components of gravitational acceleration in three coordinate axes. The processor 1301 may control the display screen 1305 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1311. The acceleration sensor 1311 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 1312 may detect the body direction and the rotation angle of the terminal 1300, and the gyro sensor 1312 may cooperate with the acceleration sensor 1311 to acquire a 3D motion of the user with respect to the terminal 1300. Processor 1301, based on the data collected by gyroscope sensor 1312, may perform the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensor 1313 may be disposed on a side bezel of terminal 1300 and/or underlying display 1305. When the pressure sensor 1313 is disposed on the side frame of the terminal 1300, a user's holding signal to the terminal 1300 may be detected, and the processor 1301 performs left-right hand recognition or shortcut operation according to the holding signal acquired by the pressure sensor 1313. When the pressure sensor 1313 is disposed at a lower layer of the display screen 1305, the processor 1301 controls an operability control on the UI interface according to a pressure operation of the user on the display screen 1305. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 1314 is used for collecting the fingerprint of the user, and the processor 1301 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 1314, or the fingerprint sensor 1314 identifies the identity of the user according to the collected fingerprint. When the identity of the user is identified as a trusted identity, the processor 1301 authorizes the user to perform relevant sensitive operations, including unlocking a screen, viewing encrypted information, downloading software, paying, changing settings, and the like. The fingerprint sensor 1314 may be disposed on the front, back, or side of the terminal 1300. When a physical button or vendor Logo is provided on the terminal 1300, the fingerprint sensor 1314 may be integrated with the physical button or vendor Logo.
The optical sensor 1315 is used to collect the ambient light intensity. In one embodiment, the processor 1301 may control the display brightness of the display screen 1305 according to the ambient light intensity collected by the optical sensor 1315. Specifically, when the ambient light intensity is high, the display brightness of the display screen 1305 is increased; when the ambient light intensity is low, the display brightness of the display screen 1305 is reduced. In another embodiment, the processor 1301 can also dynamically adjust the shooting parameters of the camera assembly 1306 according to the ambient light intensity collected by the optical sensor 1315.
Proximity sensor 1316, also known as a distance sensor, is typically disposed on a front panel of terminal 1300. Proximity sensor 1316 is used to gather the distance between the user and the front face of terminal 1300. In one embodiment, the processor 1301 controls the display 1305 to switch from the bright screen state to the dark screen state when the proximity sensor 1316 detects that the distance between the user and the front face of the terminal 1300 gradually decreases; the display 1305 is controlled by the processor 1301 to switch from the rest state to the bright state when the proximity sensor 1316 detects that the distance between the user and the front face of the terminal 1300 is gradually increasing.
Those skilled in the art will appreciate that the configuration shown in fig. 13 is not intended to be limiting with respect to terminal 1300 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be employed.
Fig. 14 is a schematic structural diagram of a server according to an embodiment of the present application, where the server 1400 may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 1401 and one or more memories 1402, where the memory 1402 stores at least one program code, and the at least one program code is loaded and executed by the processors 1401 to implement the methods provided by the foregoing method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the server may also include other components for implementing the functions of the device, which are not described herein again.
In an exemplary embodiment, there is also provided a computer readable storage medium, such as a memory, storing at least one program code, which is loaded and executed by a processor, to implement the message notification method in the above embodiments. For example, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
It will be understood by those skilled in the art that all or part of the steps in implementing the embodiments described above may be implemented by hardware, or may be implemented by hardware associated with program instructions, and that the program may be stored in a computer-readable storage medium, such as a read-only memory, a magnetic or optical disk, and so on.
The present application is intended to cover various modifications, alternatives, and equivalents, which may be included within the spirit and scope of the present application.

Claims (10)

1. A message notification method, the method comprising:
displaying a result interface of a resource transfer event, wherein the result interface comprises a resource transfer result of the resource transfer event and an epidemic prevention notification subscription entrance, the resource transfer event is an event that a first user account transfers a target amount of resources to a second user account with an epidemic prevention notification function opened, and the target amount is determined by a traffic route;
receiving an epidemic prevention notification subscription instruction triggered by the epidemic prevention notification subscription entrance, wherein the epidemic prevention notification subscription instruction is used for indicating an epidemic prevention notification message for subscribing the traffic travel;
and sending an epidemic prevention notification subscription request to a server, wherein the epidemic prevention notification subscription request is used for indicating the server to send the epidemic prevention notification message to a terminal where the first user account is located when the server confirms that the vehicle of the traffic trip has an epidemic situation.
2. The method according to claim 1, wherein the first user account and the second user account are accounts of different terminals logging in a target application program, and the server is a target application program server;
before the displaying a result interface of the resource transfer event, the method further includes:
responding to a scanning instruction, scanning a graphic code displayed by a terminal where the second user account is located based on the target application program, and obtaining account information of the second user account;
initiating the resource transfer event through the target application program of the terminal where the first user account is located based on account information of the second user account;
and receiving a resource transfer result of the resource transfer event and an epidemic prevention notification subscription entrance.
3. The method of claim 1, wherein receiving an epidemic prevention notification subscription instruction triggered based on the epidemic prevention notification subscription portal comprises:
responding to a trigger instruction of the epidemic prevention notification subscription entrance, displaying an epidemic prevention notification subscription interface of the sub-application program of the target application program, wherein the epidemic prevention notification subscription interface is used for prompting whether to subscribe an epidemic prevention notification message of the traffic route;
and receiving an epidemic prevention notification subscription instruction triggered on the epidemic prevention notification subscription interface.
4. The method of claim 1, wherein after sending the epidemic prevention notification subscription request to the server, the method further comprises:
receiving the epidemic prevention notification message from the server, wherein the epidemic prevention notification message is used for indicating that the vehicle of the traffic trip has an epidemic situation;
and displaying the received epidemic prevention notification message.
5. A message notification method, the method comprising:
responding to a resource transfer event initiated by a first user account, triggering the first user account to transfer resources of a target amount to a second user account with an opened epidemic prevention notification function, wherein the target amount is determined through a traffic route;
sending a resource transfer result of the resource transfer event and an epidemic prevention notification subscription entrance to a terminal where the first user account is located;
and receiving an epidemic prevention notification subscription request triggered by the epidemic prevention notification subscription entrance, wherein the epidemic prevention notification subscription request is used for indicating that an epidemic prevention notification message is sent to a terminal where the first user account is located when the vehicle of the traffic route is confirmed to have an epidemic situation.
6. The method of claim 5, wherein before triggering the first user account to transfer the target amount of resources to the second user account with the epidemic prevention notification function opened in response to a resource transfer event initiated by the first user account, the method further comprises:
acquiring driver information of the vehicle;
determining a second user account corresponding to the driver information according to the driver information, wherein the second user account is an account of a driver indicated by the driver information for logging in a target application program on a terminal;
and opening an epidemic prevention notification function of the second user account, wherein the epidemic prevention notification function is used for sending an epidemic prevention notification message to a terminal where the first user account is located when the vehicle is confirmed to have an epidemic situation, the first user account is an account for transferring resources of a target amount to the second user account, and the target amount is determined through a traffic route.
7. A message notification apparatus, characterized in that the apparatus comprises:
the system comprises a display module, a resource transfer module and a control module, wherein the display module is used for displaying a result interface of a resource transfer event, the result interface comprises a resource transfer result of the resource transfer event and an epidemic prevention notification subscription entrance, the resource transfer event is an event that a first user account transfers a target amount of resources to a second user account which has opened an epidemic prevention notification function, and the target amount is determined by a traffic route;
the receiving module is used for receiving an epidemic prevention notification subscription instruction triggered based on the epidemic prevention notification subscription entrance, and the epidemic prevention notification subscription instruction is used for indicating an epidemic prevention notification message subscribed to the traffic route;
and the sending module is used for sending an epidemic prevention notification subscription request to a server, wherein the epidemic prevention notification subscription request is used for indicating the server to send the epidemic prevention notification message to a terminal where the first user account is located when the server confirms that the vehicle of the traffic trip has an epidemic situation.
8. A message notification apparatus, characterized in that the apparatus comprises:
the resource transfer module is used for responding to a resource transfer event initiated by a first user account, triggering the first user account to transfer resources of a target amount to a second user account which has opened an epidemic prevention notification function, wherein the target amount is determined by a traffic route;
a sending module, configured to send a resource transfer result of the resource transfer event and an epidemic prevention notification subscription entry to a terminal where the first user account is located;
and the receiving module is used for receiving an epidemic prevention notification subscription request triggered by the epidemic prevention notification subscription entrance, and the epidemic prevention notification subscription request is used for indicating that an epidemic prevention notification message is sent to the terminal where the first user account is located when the vehicle of the traffic route is confirmed to have an epidemic situation.
9. A computer device, comprising one or more processors and one or more memories having at least one program code stored therein, the program code being loaded and executed by the one or more processors to implement the message notification method as claimed in any one of claims 1 to 4 or claims 5 to 6.
10. A computer-readable storage medium having stored therein at least one program code, the at least one program code being loaded and executed by a processor, to implement the message notification method of any of claims 1 to 4 or claims 5 to 6.
CN202010419390.1A 2020-05-18 2020-05-18 Message notification method, device, computer equipment and storage medium Pending CN113687954A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010419390.1A CN113687954A (en) 2020-05-18 2020-05-18 Message notification method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010419390.1A CN113687954A (en) 2020-05-18 2020-05-18 Message notification method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113687954A true CN113687954A (en) 2021-11-23

Family

ID=78575503

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010419390.1A Pending CN113687954A (en) 2020-05-18 2020-05-18 Message notification method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113687954A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115412596A (en) * 2022-08-05 2022-11-29 深圳市汇深网信息科技有限公司 Travel message subscription method, device, equipment and medium based on travel management

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115412596A (en) * 2022-08-05 2022-11-29 深圳市汇深网信息科技有限公司 Travel message subscription method, device, equipment and medium based on travel management
CN115412596B (en) * 2022-08-05 2024-01-05 深圳市汇深网信息科技有限公司 Travel message subscription method, device, equipment and medium based on travel management

Similar Documents

Publication Publication Date Title
CN110705983B (en) Method, device, equipment and storage medium for code scanning payment processing
CN111343342B (en) Information notification method and device and computer equipment
CN110311976B (en) Service distribution method, device, equipment and storage medium
CN112764608B (en) Message processing method, device, equipment and storage medium
CN113204298A (en) Method and device for displaying release progress, electronic equipment and storage medium
CN111275532A (en) Commodity expiration early warning method and device, computer equipment and storage medium
CN111311155A (en) Method, apparatus, system, device and storage medium for modifying distribution position
CN110909264A (en) Information processing method, device, equipment and storage medium
CN111523878A (en) Service processing method, device, system and storage medium
CN112036887A (en) Resource transfer method, device, equipment and storage medium
CN112785294B (en) Service processing method, resource display method, device, computer equipment and medium
CN113687954A (en) Message notification method, device, computer equipment and storage medium
CN112967043A (en) Resource transfer method, device, equipment and storage medium
CN111047328A (en) Mobile payment method, device, system and storage medium
CN111258683A (en) Detection method, detection device, computer equipment and storage medium
CN112016980A (en) Method and device for issuing travel invoice, server and storage medium
CN111475233B (en) Information acquisition method, graphic code generation method and device
CN111324815B (en) Automobile information processing method and device and storage medium
CN114598992A (en) Information interaction method, device, equipment and computer readable storage medium
CN114140105A (en) Resource transfer method, device, equipment and computer readable storage medium
CN114219112A (en) Health service reservation method, device, server and storage medium
CN112818243A (en) Navigation route recommendation method, device, equipment and storage medium
CN112529547A (en) Information notification method, device, equipment and storage medium
CN111681098A (en) Resource transfer method, device, server and computer readable storage medium
CN111131490A (en) State updating method and device, computer equipment and storage medium

Legal Events

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