CN115412596B - Travel message subscription method, device, equipment and medium based on travel management - Google Patents

Travel message subscription method, device, equipment and medium based on travel management Download PDF

Info

Publication number
CN115412596B
CN115412596B CN202210935515.5A CN202210935515A CN115412596B CN 115412596 B CN115412596 B CN 115412596B CN 202210935515 A CN202210935515 A CN 202210935515A CN 115412596 B CN115412596 B CN 115412596B
Authority
CN
China
Prior art keywords
travel
subscription
event
trip
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210935515.5A
Other languages
Chinese (zh)
Other versions
CN115412596A (en
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.)
Shenzhen Huishenwang Information Technologies Co ltd
Original Assignee
Shenzhen Huishenwang Information Technologies 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 Shenzhen Huishenwang Information Technologies Co ltd filed Critical Shenzhen Huishenwang Information Technologies Co ltd
Priority to CN202210935515.5A priority Critical patent/CN115412596B/en
Publication of CN115412596A publication Critical patent/CN115412596A/en
Application granted granted Critical
Publication of CN115412596B publication Critical patent/CN115412596B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention relates to the field of data analysis, and discloses a travel message subscription method based on travel management, which comprises the following steps: acquiring a subscription event and a subscription IP of a subscriber, extracting a subscription position of the subscription event, and retrieving a travel release event; inquiring a first distribution event corresponding to a subscription position, collecting historical trip data of the subscription position, and analyzing trip variation trend of the subscription position according to the historical trip data; through subscribing IP, perceiving the real-time position of the subscriber, and inquiring a second release event corresponding to the real-time position; when calculating the route from the subscription position to the real-time position, the route time, the travel change trend, the subscription position, the real-time position, the first publishing event and the second publishing event are used as input data to be input into a travel management model trained in a preset travel publishing server in advance, a travel report of a subscriber is output, and the travel report is returned to the subscriber. The invention can improve the user experience of the travel message.

Description

Travel message subscription method, device, equipment and medium based on travel management
Technical Field
The present invention relates to the field of data analysis, and in particular, to a travel message subscription method, apparatus, device, and medium based on trip management.
Background
The travel message subscription is a process that a subscriber subscribes to obtain the travel condition of the subscription area, and the subscriber can know the travel condition of the subscription area and make protection work and travel planning through the travel message subscription.
The current travel message subscription method mainly feeds back the local travel situation after the subscriber searches the travel situation of the subscription place by the mobile phone, the method cannot provide the corresponding travel policy and travel scheme locally at the same time, and due to the real-time travel variability, the subscription recommended travel message may have deviation, so that the user is required to inquire for many times, and the use experience is affected.
Disclosure of Invention
In order to solve the problems, the invention provides a travel message subscription method, a travel message subscription device, travel message subscription equipment and travel message subscription media based on travel management, which can improve the user experience of travel messages.
In a first aspect, the present invention provides a travel message subscription method based on trip management, including:
acquiring a subscription event and a subscription IP of a subscriber, uploading the subscription event and the subscription IP to a preset travel release server to search a travel release event in the travel release server, and inquiring a first release event corresponding to the subscription position from the travel release event;
Extracting a subscription position of the subscription event by using a position extraction model trained in advance in the preset travel release server, collecting historical travel data of the subscription position, and analyzing travel change trend of the subscription position according to the historical travel data by using a travel analysis model trained in advance in the preset travel release server;
sensing the real-time position of the subscriber through the subscription IP by using a position sensing service of the preset travel release server, and inquiring a second release event corresponding to the real-time position from the travel release event;
when the route from the subscription position to the real-time position is calculated, the route time, the travel change trend, the subscription position, the real-time position, the first release event and the second release event are used as input data to be input into a travel management model trained in the preset travel release server in advance, so that a travel report of the subscriber is output through the travel management model, and the travel report is returned to the subscriber.
In a possible implementation manner of the first aspect, the extracting, by using a location extraction model trained in advance in the preset trip release server, a subscription location of the subscription event includes:
Preprocessing the subscription event by utilizing a data processing layer in the position extraction model to obtain a target event;
analyzing the context semantic information of the target event by utilizing an analysis layer in the position extraction model;
and extracting the subscription position by utilizing an activation function in the position extraction model according to the context semantic information.
In a possible implementation manner of the first aspect, the activating function includes:
where s' represents the subscription location, s represents the context semantic information, and e represents the infinite non-circulating fraction.
In one possible implementation manner of the first aspect, the querying the first publishing event corresponding to the subscription location from the travel publishing event includes:
configuring a clustering rule of the subscription position according to the travel release event;
clustering the travel release events according to the clustering rule by a preset clustering function to obtain travel clustering events;
mapping the subscription position and the travel clustering event to obtain a first distribution event.
In a possible implementation manner of the first aspect, the preset clustering function includes:
wherein E represents travel clustering events, N represents the rule number of clustering rules, c represents the travel release event number, and x t Represents the t-th event and mu in travel release events i Representing the clustering rule i-th rule.
In one possible implementation manner of the first aspect, the analyzing, according to the historical trip data, a trip variation trend of the subscription location through a trip analysis model trained in advance in the preset trip release server includes:
according to the historical trip data, the historical trip trend, the historical trip policy and the current trip policy of the subscription position are traced back through a tracing layer of the trip analysis model;
judging the causal relationship between the historical trip trend and the historical trip policy by utilizing a logic layer of the trip analysis model;
and analyzing the travel change trend of the subscription position by utilizing an inference layer of the travel analysis model according to the causal relationship and the current travel policy.
In one possible implementation manner of the first aspect, the sensing, by the subscription IP, the real-time location of the subscriber by using a location sensing service in the preset travel issue server includes:
according to the subscription IP, utilizing equipment identification network in the location awareness service to identify communication equipment;
Acquiring an induction signal of the communication equipment by utilizing a signal acquisition network in the location awareness service;
and judging the real-time position of the subscriber corresponding to the sensing signal by using a position sensing network in the position sensing service.
In a second aspect, the present invention provides a travel message subscription device based on trip management, the device comprising:
the system comprises a publishing event inquiry module, a subscribing event inquiry module and a subscribing event inquiry module, wherein the publishing event inquiry module is used for acquiring a subscribing event and a subscribing IP of a subscriber, uploading the subscribing event and the subscribing IP to a preset travel publishing server so as to search a travel publishing event in the travel publishing server and inquire a first publishing event corresponding to the subscribing position from the travel publishing event;
the trip change analysis module is used for extracting the subscription position of the subscription event by utilizing a position extraction model trained in advance in the preset trip release server, collecting historical trip data of the subscription position, and analyzing the trip change trend of the subscription position according to the historical trip data through a trip analysis model trained in advance in the preset trip release server;
the real-time location awareness module is used for perceiving the real-time location of the subscriber through the subscription IP by utilizing the location awareness service of the preset travel publication server and inquiring a second publication event corresponding to the real-time location from the travel publication events;
The travel report generation module is used for inputting the travel time, the travel change trend, the subscription position, the real-time position, the first release event and the second release event as input data into a travel management model trained in the preset travel release server in advance when calculating the route from the subscription position to the real-time position, so as to output the travel report of the subscriber through the travel management model, and returning the travel report to the subscriber.
In a third aspect, the present invention provides an electronic device comprising:
at least one processor; and a memory communicatively coupled to the at least one processor;
wherein the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the trip message subscription method based on trip management as set forth in any one of the first aspects above.
In a fourth aspect, the present invention provides a computer readable storage medium storing a computer program which, when executed by a processor, implements the trip message subscription method based on trip management as set forth in any one of the first aspects above.
Compared with the prior art, the technical principle and beneficial effect of this scheme lie in:
according to the embodiment of the invention, the subscription event and the subscription IP of the subscriber are acquired, the subscription event and the subscription IP are uploaded to a preset travel release server, personal information and subscription place information of the subscriber can be extracted through the subscription event and the subscription IP and uploaded to the travel release server, data support is provided for matching the travel situation of the subscription place in the travel release server in the later period, and the subscription position of the subscription event is extracted by utilizing a position extraction model trained in advance in the preset travel release server, and the subscription position can be rapidly extracted through the position extraction model, so that the travel situation of the subscription place is determined, and the data processing efficiency is improved; thirdly, according to the historical travel data, the travel change trend of the subscription position is analyzed through a travel analysis model trained in the preset travel release server in advance, so that subscribers can plan own travel routes better, and the satisfaction degree of the subscription of the subscribers is improved; further, according to the embodiment of the invention, through the subscription IP, the real-time position of the subscriber can be perceived through the travel condition of the location of the subscriber through the real-time position query subscriber by using the position perception service of the preset travel publication server, so that a travel policy can be provided for the subscriber in the later period, finally, according to the embodiment of the invention, the travel time, the travel change trend, the subscription position, the real-time position, the first publication event and the second publication event are used as input data to a travel management model trained in the preset travel publication server in advance, so that a travel report of the subscriber is output through the travel management model, and the travel report is returned to the travel scheme and travel prediction which are the safest for the subscriber can be analyzed through comprehensive data, so that the subscription times of the subscriber are reduced, and the experience of the subscriber is improved. Therefore, the travel message subscription method and device based on travel management, the electronic equipment and the computer readable storage medium can improve the user experience of the travel message.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the invention or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, and it will be obvious to a person skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1 is a flow chart of a travel message subscribing method based on travel management according to an embodiment of the present invention;
fig. 2 is a schematic block diagram of a travel message subscribing device based on travel management according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an internal structure of an electronic device for implementing a travel message subscription method based on travel management according to an embodiment of the present invention.
Detailed Description
It should be understood that the detailed description is presented by way of example only and is not intended to limit the invention.
The embodiment of the invention provides a travel message subscription method based on travel management, and an execution subject of the travel message subscription method based on travel management comprises, but is not limited to, at least one of a server, a terminal and the like which can be configured to execute the travel message subscription method provided by the embodiment of the invention. In other words, the trip message subscription method based on trip management may be performed by software or hardware installed in a terminal device or a server device, and the software may be a blockchain platform. The service end includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like. The server may be an independent server, or may be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution network (Content DeliveryNetwork, CDN), and basic cloud computing services such as big data and artificial intelligence platforms.
Fig. 1 is a schematic flow chart of a travel message subscription method based on travel management according to an embodiment of the present invention. The travel message subscription method based on travel management described in fig. 1 comprises the following steps:
s1, acquiring a subscription event and a subscription IP of a subscriber, uploading the subscription event and the subscription IP to a preset travel release server to search a travel release event in the travel release server, and inquiring a first release event corresponding to the subscription position from the travel release event.
According to the embodiment of the invention, the subscription event and the subscription IP of the subscriber are acquired, uploaded to the preset travel release server, the personal information and the subscription place information of the subscriber can be extracted through the subscription event and the subscription IP and uploaded to the travel release server, and data support is provided for the travel situation of matching the subscription place in the travel release server in the later period. The subscription event refers to a travel message that a subscriber wants to subscribe to. The subscription IP refers to personal information of the subscriber, such as name, age, contact information, etc. The travel issue server is a server for issuing and storing travel conditions, such as a hundred-degree server, a tremble server and the like.
As an embodiment of the present invention, the uploading the subscription event and the subscription IP to a preset travel issue server may transmit data from a source channel to the travel issue server through a transfer from () method of FileChannel.
Further, according to the embodiment of the invention, the travel release event in the travel release server is searched, so that data guarantee can be provided for subscribing the travel information by the subscriber, the travel information acquired by the subscriber is more complete, and the subscription experience of the subscriber is improved.
According to the embodiment of the invention, the travel situation of the positioning position can be primarily judged by inquiring the first distribution event corresponding to the subscription position from the travel distribution event, wherein the first distribution event refers to the position detail travel situation subscribed by the subscriber and the travel policy.
As an embodiment of the present invention, the querying the first publishing event corresponding to the subscription location from the travel publishing event includes: configuring a clustering rule of the subscription position according to the travel release event, and clustering the travel release event through a preset clustering function according to the clustering rule to obtain a travel clustering event; mapping the subscription position and the travel clustering event to obtain a first distribution event.
The clustering rule is a rule for classifying the travel release event, for example, a rule for classifying all regions in the same city, and a rule for classifying high-risk regions in a travel policy. The travel clustering event is an event after the travel release event is clustered according to the clustering rule.
Further, in an optional implementation of the present invention, the configuring the clustering rule of the subscription location may be accomplished through an iptables policy and rule chain.
According to the embodiment of the invention, the travel release events are clustered through the preset clustering function, so that the travel release events can be event-sorted by obtaining the travel clustering events, the subscription positions can be matched with the complete travel information, and the subscription experience of subscribers is further improved.
Further, in an optional implementation of the present invention, the preset clustering function includes:
wherein E represents travel clustering events, N represents the rule number of clustering rules, c represents the travel release event number, and x t Represents the t-th event and mu in travel release events i Representing the clustering rule i-th rule.
S2, extracting the subscribing position of the subscribing event by utilizing a position extraction model trained in advance in the preset trip release server, collecting historical trip data of the subscribing position, and analyzing the trip variation trend of the subscribing position through a trip analysis model trained in advance in the preset trip release server according to the historical trip data.
According to the embodiment of the invention, the subscription position of the subscription event is extracted by utilizing the position extraction model trained in the preset travel release server in advance, so that the rapid positioning of the subscription address can be intelligently realized, and the subsequent data processing efficiency is improved. The location extraction model is a model trained to extract location information in the subscription event, and can be constructed through an entity relation extraction network; the subscription position refers to a specific position of the subscriber for subscribing the travel condition, such as a Hangzhou sand area, a combined fertilizer high new area and the like.
As an embodiment of the present invention, the extracting the subscription location of the subscription event by using a location extraction model trained in advance in the preset travel issue server includes: preprocessing the subscription event by utilizing a data processing layer in the position extraction model to obtain a target event; analyzing the context semantic information of the target event by utilizing an analysis layer in the position extraction model; and extracting the subscription position of the subscription event by utilizing an activation function in the position extraction model according to the context semantic information.
The data processing layer is used for performing operations such as invalid value deletion, missing value supplementation, format unification and the like on the subscription event data; the analysis layer is a data layer for carrying out semantic analysis on the data processed by the data processing layer; the context semantic information refers to a data set obtained after the target event is analyzed by the analysis layer.
Further, in an optional implementation of the present invention, the preprocessing the subscription event by using a data processing layer in the location extraction model to obtain a target event includes: and removing missing data in the subscription event to obtain a complete data event, removing logically wrong data in the complete data event to obtain a cleaning data event, and unifying formats of the cleaning data event to obtain the target event.
Further, in an alternative implementation of the present invention, the analyzing the top and bottom Wen Yuyi of the target event may be implemented by a tool such as SPSS, datahoop in the parsing layer.
Further, in an alternative implementation of the present invention, the activating function includes:
where s' represents the subscription location, s represents the context semantic information, and e represents the infinite non-circulating fraction.
Further, according to the embodiment of the invention, the historical trip data of the subscription position is collected to intelligently analyze the trip variation trend of the subsequent subscription position, and optionally, the historical trip data of the subscription position can be collected through a big data technology.
According to the historical travel data, the travel change trend of the subscription position is analyzed through the travel analysis model trained in the preset travel release server in advance, so that subscribers can plan own travel routes better, and the satisfaction degree of the subscription of the subscribers is improved. The historical trip data refers to trip release data from the trip start to the latest day of the subscription place. The travel analysis model is a model which can be used for reasoning and predicting the development condition of the later travel through the historical travel data of the subscription place through training, and can be constructed through the bert network.
According to one embodiment of the present invention, the analyzing, according to the historical trip data, the trip variation trend of the subscription position through a trip analysis model trained in the preset trip release server in advance includes: according to the historical trip data, the historical trip trend, the historical trip policy and the current trip policy of the subscription position are traced back through a tracing layer of the trip analysis model, and the causal relationship between the historical trip trend and the historical trip policy is judged by utilizing a logic layer of the trip analysis model; and analyzing the travel change trend of the subscription position by utilizing an inference layer of the travel analysis model according to the causal relationship and the current travel policy.
The backtracking layer is used for analyzing the travel development condition before the subscription position and all the issued travel policies; the causal relationship refers to a causal logic relationship between the historical travel trend and the historical travel policy, for example, because the travel of a travel policy subscription place with a valid subscription place is rapidly reduced, and the travel policy with an invalid subscription place causes the subscription place to confirm the rapid increase of the travel, and the logic layer refers to a layer for analyzing the logic relationship between the travel policy and the travel trend; the reasoning layer is a layer for reasoning the travel trend of the subscription ground.
Further, in an optional implementation of the present invention, the tracking back of the historical trip trend and the historical trip policy of the subscription location and the current trip policy FineReport are implemented by applying a data analysis tool to perform visual analysis.
And S3, through the subscription IP, sensing the real-time position of the subscriber by using the position sensing service of the preset travel release server, and inquiring a second release event corresponding to the real-time position from the travel release events.
According to the embodiment of the invention, through the subscription IP, the real-time position of the subscriber can be perceived through the travel condition of the position of the subscriber by utilizing the position perception service of the preset travel release server, so that a travel policy can be provided for a travel scheme for the subscriber in the later period. Wherein the real-time location refers to the current location of the subscriber.
As an embodiment of the present invention, the sensing, by the subscription IP, the real-time location of the subscriber by using the location sensing service in the preset travel distribution server includes: according to the subscription IP, utilizing equipment identification network in the location awareness service to identify communication equipment; acquiring an induction signal of the communication equipment by utilizing a signal acquisition network in the location awareness service; and judging the real-time position of the subscriber corresponding to the sensing signal by using a position sensing network in the position sensing service.
The communication equipment refers to equipment for subscribing the message by a subscriber, such as mobile phones, computers and other equipment; the sensing signal refers to a signal sent by the communication equipment, such as a computer broadband network and a mobile phone communication network.
Further, in an optional implementation of the present invention, according to the subscription IP, the device identification network in the location awareness service is used to identify the communication device, and the signal acquisition network in the location awareness service is used to acquire the sensing signal of the communication device, and the sensing signal is transmitted to the background through the mobile GPRS signal to realize the transmission of the positioning mobile GPRS signal to the background to realize the positioning.
Further, according to the embodiment of the invention, the travel situation of the subscription area can be definitely determined by inquiring the second published event corresponding to the real-time position from the travel published events, and data support is provided for a travel scheme for subscribers in the later period.
It should be noted that, the query of the second published event is the same as the query principle of the first published event, and further description is omitted herein.
S4, when the route from the subscription position to the real-time position is calculated, the route time, the travel change trend, the subscription position, the real-time position, the first release event and the second release event are used as input data to be input into a travel route management model trained in the preset travel release server in advance, so that a travel report of the subscriber is output through the travel route management model, and the travel report is returned to the subscriber.
According to the embodiment of the invention, the travel situation of the subscriber to the subscription place is analyzed according to the travel trend by calculating the route time from the subscription position to the real-time position, so that the safety is ensured when a travel scheme is made.
As an embodiment of the present invention, the calculating the route from the subscription location to the real-time location may be implemented by map navigation.
Further, according to the embodiment of the invention, the route time, the travel change trend, the subscription position, the real-time position, the first distribution event and the second distribution event are used as input data to the travel management model trained in the preset travel distribution server in advance, so that the travel report of the subscriber is output through the travel management model, and the travel report is returned to the travel scheme and travel prediction which are the safest for the subscriber through comprehensive data analysis, the subscription times of the subscriber are reduced, and the experience of the subscriber is improved.
The trip report is a scheme for performing data carding on the data of the route time consumption, the trip variation trend, the subscription position, the real-time position, the first release event and the second release event by using the trip travel management model, and analyzing a safe trip, for example, the trip report includes: travel route from the subscriber location to the subscription location, prediction of travel messages at the subscription location, travel publishing events at the subscription location, and the like.
As an embodiment of the present invention, the inputting the route time, the trip change trend, the subscription location, the real-time location, the first distribution event, the second distribution event as input data into a trip management model trained in advance in the preset trip distribution server, so as to output a trip report of the subscriber through the trip management model includes: performing data carding on the input data by utilizing a data carding module in the travel route management model to obtain carding data; utilizing a logical reasoning function in the travel route management model to infer data logical characteristics among the combing data; and outputting the travel report of the subscriber by using a scheme output module in the travel journey management model according to the data logic characteristics and the carding data.
The data carding module is used for carrying out operations such as repeated data deletion, uniform data format and the like on the input data; the data logic refers to a data logic relation existing between the combing data, for example, the predicted travel situation of the subscriber reaching the subscription place can be predicted according to the travel trend of the subscription place and the route to the subscription place, and the travel policy can be deduced according to the predicted travel situation of the subscription place.
Further, the preset logical reasoning function includes:
where x' represents a logical characteristic of the data, (x) 1 ,x 2 ,...,x n ) Representing the comb data, e representing an infinite non-cyclic fraction, n representing the number of comb data.
As an embodiment of the invention, the return of the travel report to the subscriber may be implemented by a return statement in mysql.
It can be seen that, in the embodiment of the present invention, by acquiring the subscription event and the subscription IP of the subscriber, uploading the subscription event and the subscription IP to a preset travel publication server, and extracting personal information and subscription location information of the subscriber through the subscription event and the subscription IP, and uploading the personal information and the subscription location information to the travel publication server, and providing data support for the travel situation of matching subscription locations in the travel publication server in the later stage, the subscription location of the subscription event is extracted by using a location extraction model trained in the preset travel publication server in advance, and the subscription location can be extracted rapidly through the location extraction model, so as to determine the travel situation of the subscription location, thereby improving the data processing efficiency; thirdly, according to the historical travel data, the travel change trend of the subscription position is analyzed through a travel analysis model trained in the preset travel release server in advance, so that subscribers can plan own travel routes better, and the satisfaction degree of the subscription of the subscribers is improved; further, according to the embodiment of the invention, through the subscription IP, the real-time position of the subscriber can be perceived through the travel condition of the location of the subscriber through the real-time position query subscriber by using the position perception service of the preset travel publication server, so that a travel policy can be provided for the subscriber in the later period, finally, according to the embodiment of the invention, the travel time, the travel change trend, the subscription position, the real-time position, the first publication event and the second publication event are used as input data to a travel management model trained in the preset travel publication server in advance, so that a travel report of the subscriber is output through the travel management model, and the travel report is returned to the travel scheme and travel prediction which are the safest for the subscriber can be analyzed through comprehensive data, so that the subscription times of the subscriber are reduced, and the experience of the subscriber is improved. Therefore, the travel message subscription method based on travel management provided by the embodiment of the invention can improve the user experience of travel messages.
As shown in fig. 2, the travel message subscribing device function module diagram based on travel management of the present invention is shown. The travel message subscribing device 400 based on travel management can be installed in electronic equipment. Depending on the implementation function, the trip message subscription device based on trip management may include a published event query module 401, a trip variation analysis module 402, a real-time location awareness module 403, and a trip report generation module 404. The module of the invention, which may also be referred to as a unit, refers to a series of computer program segments, which are stored in the memory of the electronic device, capable of being executed by the processor of the electronic device and of performing a fixed function.
In the embodiment of the present invention, the functions of each module/unit are as follows:
the published event query module 401 is configured to obtain a subscribed event and a subscribed IP of a subscriber, upload the subscribed event and the subscribed IP to a preset travel published server, so as to retrieve a travel published event in the travel published server, and query a first published event corresponding to the subscribed position from the travel published event;
the trip change analysis module 402 is configured to extract a subscription position of the subscription event by using a position extraction model trained in the preset trip release server in advance, collect historical trip data of the subscription position, and analyze a trip change trend of the subscription position according to the historical trip data by using a trip analysis model trained in the preset trip release server in advance;
The real-time location awareness module 403 is configured to perceive, through the subscription IP, a real-time location of the subscriber by using a location awareness service in the preset travel publication server, and query a second publication event corresponding to the real-time location from the travel publication events;
the trip report generating module 404 is configured to input, as input data, the route time, the trip change trend, the subscription position, the real-time position, the first distribution event, and the second distribution event into a trip travel management model trained in advance in the preset trip distribution server when calculating a route from the subscription position to the real-time position, so as to output a trip report of the subscriber through the trip travel management model, and return the trip report to the subscriber.
In detail, the modules in the trip message subscribing device 400 based on trip management in the embodiment of the present invention adopt the same technical means as the trip message subscribing method based on trip management described in fig. 1 and can generate the same technical effects when in use, and are not described herein. Fig. 3 is a schematic structural diagram of an electronic device for implementing a travel message subscription method based on travel management according to the present invention.
The electronic device may comprise a processor 50, a memory 51, a communication bus 52 and a communication interface 53, and may further comprise a computer program stored in the memory 51 and executable on the processor 50, such as a travel message subscription program based on travel management.
The processor 50 may be formed by an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or may be formed by a plurality of integrated circuits packaged with the same function or different functions, including one or more central processing units (Central Processing unit, CPU), a microprocessor, a digital processing chip, a graphics processor, a combination of various control chips, and so on. The processor 50 is a Control Unit (Control Unit) of the electronic device, connects various components of the entire electronic device using various interfaces and lines, executes or executes programs or modules stored in the memory 51 (for example, executes travel message subscription programs based on travel management, etc.), and invokes data stored in the memory 51 to perform various functions of the electronic device and process data.
The memory 51 includes at least one type of readable storage medium including flash memory, a removable hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. The memory 51 may in some embodiments be an internal storage unit of the electronic device, such as a mobile hard disk of the electronic device. The memory 51 may also be an external storage device of the electronic device in other embodiments, for example, a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like. Further, the memory 51 may also include both an internal storage unit and an external storage device of the electronic device. The memory 51 may be used not only for storing application software installed in an electronic device and various types of data, such as codes of a database-configured connection program, but also for temporarily storing data that has been output or is to be output.
The communication bus 52 may be a peripheral component interconnect standard (peripheral component interconnect, PCI) bus, or an extended industry standard architecture (extended industry standard architecture, EISA) bus, among others. The bus may be classified as an address bus, a data bus, a control bus, etc. The bus is arranged to enable a connection communication between the memory 51 and at least one processor 50 etc.
The communication interface 53 is used for communication between the electronic device 5 and other devices, including a network interface and a user interface. Optionally, the network interface may include a wired interface and/or a wireless interface (e.g., WI-FI interface, bluetooth interface, etc.), typically used to establish a communication connection between the electronic device and other electronic devices. The user interface may be a Display (Display), an input unit such as a Keyboard (Keyboard), or alternatively a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch, or the like. The display may also be referred to as a display screen or display unit, as appropriate, for displaying information processed in the electronic device and for displaying a visual user interface.
Fig. 3 shows only an electronic device with components, and it will be understood by those skilled in the art that the structure shown in fig. 3 is not limiting of the electronic device and may include fewer or more components than shown, or may combine certain components, or a different arrangement of components.
For example, although not shown, the electronic device may further include a power source (such as a battery) for supplying power to the respective components, and the power source may be logically connected to the at least one processor 50 through a power management device, so that functions of charge management, discharge management, and power consumption management are implemented through the power management device. The power supply may also include one or more of any of a direct current or alternating current power supply, recharging device, power failure detection circuit, power converter or inverter, power status indicator, etc. The electronic device may further include various sensors, bluetooth modules, wi-Fi modules, etc., which are not described herein.
It should be understood that the embodiments described are for illustrative purposes only and are not limited in scope by this configuration.
The database-configured connection program stored in the memory 51 in the electronic device is a combination of a plurality of computer programs, which, when run in the processor 50, can implement:
Acquiring a subscription event and a subscription IP of a subscriber, uploading the subscription event and the subscription IP to a preset travel release server to search a travel release event in the travel release server, and inquiring a first release event corresponding to the subscription position from the travel release event;
extracting a subscription position of the subscription event by using a position extraction model trained in advance in the preset travel release server, collecting historical travel data of the subscription position, and analyzing travel change trend of the subscription position according to the historical travel data by using a travel analysis model trained in advance in the preset travel release server;
sensing the real-time position of the subscriber through the subscription IP by using a position sensing service of the preset travel release server, and inquiring a second release event corresponding to the real-time position from the travel release event;
when the route from the subscription position to the real-time position is calculated, the route time, the travel change trend, the subscription position, the real-time position, the first release event and the second release event are used as input data to be input into a travel management model trained in the preset travel release server in advance, so that a travel report of the subscriber is output through the travel management model, and the travel report is returned to the subscriber.
In particular, the specific implementation method of the processor 50 on the computer program may refer to the description of the relevant steps in the corresponding embodiment of fig. 1, which is not repeated herein.
Further, the electronic device integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a non-volatile computer readable storage medium. The storage medium may be volatile or nonvolatile. For example, the computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM).
The present invention also provides a storage medium storing a computer program which, when executed by a processor of an electronic device, can implement:
acquiring a subscription event and a subscription IP of a subscriber, uploading the subscription event and the subscription IP to a preset travel release server to search a travel release event in the travel release server, and inquiring a first release event corresponding to the subscription position from the travel release event;
Extracting a subscription position of the subscription event by using a position extraction model trained in advance in the preset travel release server, collecting historical travel data of the subscription position, and analyzing travel change trend of the subscription position according to the historical travel data by using a travel analysis model trained in advance in the preset travel release server;
sensing the real-time position of the subscriber through the subscription IP by using a position sensing service of the preset travel release server, and inquiring a second release event corresponding to the real-time position from the travel release event;
when the route from the subscription position to the real-time position is calculated, the route time, the travel change trend, the subscription position, the real-time position, the first release event and the second release event are used as input data to be input into a travel management model trained in the preset travel release server in advance, so that a travel report of the subscriber is output through the travel management model, and the travel report is returned to the subscriber.
In the several embodiments provided in the present invention, it should be understood that the disclosed apparatus, device and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be other manners of division when actually implemented.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical units, may be located in one place, or may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units can be realized in a form of hardware or a form of hardware and a form of software functional modules.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof.
The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
It should be noted that in this document, relational terms such as "first" and "second" and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing is only a specific embodiment of the invention to enable those skilled in the art to understand or practice the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

1. Travel message subscription method based on travel management, which is characterized by comprising the following steps:
acquiring a subscription event and a subscription IP of a subscriber, uploading the subscription event and the subscription IP to a preset travel release server to search a travel release event in the travel release server, and inquiring a first release event corresponding to the subscription position from the travel release event;
extracting a subscription position of the subscription event by using a position extraction model trained in advance in the preset travel release server, collecting historical travel data of the subscription position, and analyzing travel change trend of the subscription position according to the historical travel data by using a travel analysis model trained in advance in the preset travel release server;
sensing the real-time position of the subscriber through the subscription IP by using a position sensing service of the preset travel release server, and inquiring a second release event corresponding to the real-time position from the travel release event;
when calculating a route from the subscription position to the real-time position, inputting the route time, the travel change trend, the subscription position, the real-time position, the first publishing event and the second publishing event as input data into a travel management model trained in advance in the preset travel publishing server so as to output a travel report of the subscriber through the travel management model and return the travel report to the subscriber;
The extracting the subscription position of the subscription event by using a position extraction model trained in the preset travel release server in advance comprises the following steps: preprocessing the subscription event by utilizing a data processing layer in the position extraction model to obtain a target event; analyzing the context semantic information of the target event by utilizing an analysis layer in the position extraction model; extracting the subscription position by using an activation function in the position extraction model according to the context semantic information;
according to the historical trip data, the trip variation trend of the subscription position is analyzed through a trip analysis model trained in the preset trip release server in advance, and the method comprises the following steps: according to the historical trip data, the historical trip trend, the historical trip policy and the current trip policy of the subscription position are traced back through a tracing layer of the trip analysis model; judging the causal relationship between the historical trip trend and the historical trip policy by utilizing a logic layer of the trip analysis model; analyzing travel change trend of the subscription position by utilizing an inference layer of the travel analysis model according to the causal relationship and the current travel policy;
Outputting the travel report of the subscriber through the travel journey management model, wherein the travel report comprises the following steps: performing data carding on the input data by utilizing a data carding module in the travel route management model to obtain carding data; utilizing a logical reasoning function in the travel route management model to infer data logical characteristics among the combing data; and outputting the travel report of the subscriber by using a scheme output module in the travel journey management model according to the data logic characteristics and the carding data.
2. The method of claim 1, wherein the activating function comprises:
where s' represents the subscription location, s represents the context semantic information, and e represents the infinite non-circulating fraction.
3. The method of claim 1, wherein the querying the first distribution event corresponding to the subscription location from the travel distribution events comprises:
configuring a clustering rule of the subscription position according to the travel release event;
clustering the travel release events according to the clustering rule by a preset clustering function to obtain travel clustering events;
mapping the subscription position and the travel clustering event to obtain a first distribution event.
4. A method according to claim 3, wherein the predetermined clustering function comprises:
wherein E represents travel clustering events, N represents the rule number of clustering rules, c represents the travel release event number, and x t Represents the t-th event and mu in travel release events i Representing the clustering rule i-th rule.
5. The method according to claim 1, wherein said sensing, by said subscription IP, a real-time location of said subscriber using a location awareness service of said preset travel publication server comprises:
according to the subscription IP, utilizing equipment identification network in the location awareness service to identify communication equipment;
acquiring an induction signal of the communication equipment by utilizing a signal acquisition network in the location awareness service;
and judging the real-time position of the subscriber corresponding to the sensing signal by using a position sensing network in the position sensing service.
6. Travel message subscription method and device based on travel management, which are characterized by comprising the following steps:
the system comprises a publishing event inquiry module, a subscribing event inquiry module and a subscribing event inquiry module, wherein the publishing event inquiry module is used for acquiring a subscribing event and a subscribing IP of a subscriber, uploading the subscribing event and the subscribing IP to a preset travel publishing server so as to search a travel publishing event in the travel publishing server and inquire a first publishing event corresponding to the subscribing position from the travel publishing event;
The trip change analysis module is used for extracting the subscription position of the subscription event by utilizing a position extraction model trained in advance in the preset trip release server, collecting historical trip data of the subscription position, and analyzing the trip change trend of the subscription position according to the historical trip data through a trip analysis model trained in advance in the preset trip release server; the extracting the subscription position of the subscription event by using a position extraction model trained in the preset travel release server in advance comprises the following steps: preprocessing the subscription event by utilizing a data processing layer in the position extraction model to obtain a target event; analyzing the context semantic information of the target event by utilizing an analysis layer in the position extraction model; extracting the subscription position by using an activation function in the position extraction model according to the context semantic information; according to the historical trip data, the trip variation trend of the subscription position is analyzed through a trip analysis model trained in the preset trip release server in advance, and the method comprises the following steps: according to the historical trip data, the historical trip trend, the historical trip policy and the current trip policy of the subscription position are traced back through a tracing layer of the trip analysis model; judging the causal relationship between the historical trip trend and the historical trip policy by utilizing a logic layer of the trip analysis model; analyzing travel change trend of the subscription position by utilizing an inference layer of the travel analysis model according to the causal relationship and the current travel policy;
The real-time location awareness module is used for perceiving the real-time location of the subscriber through the subscription IP by utilizing the location awareness service of the preset travel publication server and inquiring a second publication event corresponding to the real-time location from the travel publication events;
the travel report generation module is used for inputting the travel time, the travel change trend, the subscription position, the real-time position, the first release event and the second release event as input data into a travel management model trained in the preset travel release server in advance when calculating a route from the subscription position to the real-time position, so as to output a travel report of the subscriber through the travel management model and return the travel report to the subscriber; outputting the travel report of the subscriber through the travel route management model comprises the following steps: performing data carding on the input data by utilizing a data carding module in the travel route management model to obtain carding data; utilizing a logical reasoning function in the travel route management model to infer data logical characteristics among the combing data; and outputting the travel report of the subscriber by using a scheme output module in the travel journey management model according to the data logic characteristics and the carding data.
7. An electronic device, the electronic device comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the trip message subscription method based on trip management as set forth in any one of claims 1 to 5.
8. A computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the trip message subscription method based on trip management as claimed in any one of claims 1 to 5.
CN202210935515.5A 2022-08-05 2022-08-05 Travel message subscription method, device, equipment and medium based on travel management Active CN115412596B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210935515.5A CN115412596B (en) 2022-08-05 2022-08-05 Travel message subscription method, device, equipment and medium based on travel management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210935515.5A CN115412596B (en) 2022-08-05 2022-08-05 Travel message subscription method, device, equipment and medium based on travel management

Publications (2)

Publication Number Publication Date
CN115412596A CN115412596A (en) 2022-11-29
CN115412596B true CN115412596B (en) 2024-01-05

Family

ID=84158726

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210935515.5A Active CN115412596B (en) 2022-08-05 2022-08-05 Travel message subscription method, device, equipment and medium based on travel management

Country Status (1)

Country Link
CN (1) CN115412596B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112929870A (en) * 2019-12-06 2021-06-08 华为技术有限公司 Event subscription method and electronic equipment
CN113124889A (en) * 2020-01-15 2021-07-16 阿里巴巴集团控股有限公司 Path planning method and device and electronic equipment
CN113299397A (en) * 2020-02-21 2021-08-24 上海在途网络科技有限公司 User trip health safety management method, system, storage medium and platform
CN113687954A (en) * 2020-05-18 2021-11-23 腾讯科技(深圳)有限公司 Message notification method, device, computer equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112929870A (en) * 2019-12-06 2021-06-08 华为技术有限公司 Event subscription method and electronic equipment
CN113124889A (en) * 2020-01-15 2021-07-16 阿里巴巴集团控股有限公司 Path planning method and device and electronic equipment
CN113299397A (en) * 2020-02-21 2021-08-24 上海在途网络科技有限公司 User trip health safety management method, system, storage medium and platform
CN113687954A (en) * 2020-05-18 2021-11-23 腾讯科技(深圳)有限公司 Message notification method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN115412596A (en) 2022-11-29

Similar Documents

Publication Publication Date Title
CN112541745B (en) User behavior data analysis method and device, electronic equipment and readable storage medium
US20150213152A1 (en) Method for analyzing time series activity streams and devices thereof
CN102880501A (en) Realizing method, device and system for recommending applications
CN107895011A (en) Processing method, system, storage medium and the electronic equipment of session information
CN112560465B (en) Batch abnormal event monitoring method and device, electronic equipment and storage medium
CN111371858A (en) Group control equipment identification method, device, medium and electronic equipment
CN112733023A (en) Information pushing method and device, electronic equipment and computer readable storage medium
CN111539864A (en) LBS big data-based treading event information analysis method and device
US20180096379A1 (en) Methods and systems for estimating Click-Through-Rate for a SERP layout
CN111062562A (en) Community grid service linkage disposal control method and system
CN114550076A (en) Method, device and equipment for monitoring area abnormal behaviors and storage medium
CN107294905A (en) A kind of method and device for recognizing user
CN115412596B (en) Travel message subscription method, device, equipment and medium based on travel management
CN116843395A (en) Alarm classification method, device, equipment and storage medium of service system
CN114841165B (en) User data analysis and display method and device, electronic equipment and storage medium
CN116450723A (en) Data extraction method, device, computer equipment and storage medium
CN115561700A (en) Method and device for analyzing metering standard of direct current electric energy meter
CN110069691A (en) For handling the method and apparatus for clicking behavioral data
CN114625973A (en) Anonymous information cross-domain recommendation method and device, electronic equipment and storage medium
CN113343306A (en) Data query method, device, equipment and storage medium based on differential privacy
CN114219663A (en) Product recommendation method and device, computer equipment and storage medium
CN113344674A (en) Product recommendation method, device, equipment and storage medium based on user purchasing power
CN113449002A (en) Vehicle recommendation method and device, electronic equipment and storage medium
CN116431711B (en) Data intelligent acquisition method and system based on data characteristics
CN112819593B (en) Data analysis method, device, equipment and medium based on position information

Legal Events

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