CN113688333B - Navigation information generation method and device, electronic equipment and storage medium - Google Patents

Navigation information generation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113688333B
CN113688333B CN202111255763.7A CN202111255763A CN113688333B CN 113688333 B CN113688333 B CN 113688333B CN 202111255763 A CN202111255763 A CN 202111255763A CN 113688333 B CN113688333 B CN 113688333B
Authority
CN
China
Prior art keywords
communication content
information
target
target user
communication
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
CN202111255763.7A
Other languages
Chinese (zh)
Other versions
CN113688333A (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.)
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 CN202111255763.7A priority Critical patent/CN113688333B/en
Publication of CN113688333A publication Critical patent/CN113688333A/en
Application granted granted Critical
Publication of CN113688333B publication Critical patent/CN113688333B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • G06F16/3332Query translation
    • G06F16/3334Selection or weighting of terms from queries, including natural language queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • G06F16/3332Query translation
    • G06F16/3335Syntactic pre-processing, e.g. stopword elimination, stemming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • G06F16/334Query execution
    • G06F16/3344Query execution using natural language analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis

Abstract

The invention provides a navigation information generation method, a navigation information generation device, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring original communication content; extracting the content of the original communication content to obtain target communication content, and constructing a communication content database and a communication content standard database according to the target communication content; constructing a geographic position real-time database based on the position service information; processing the target communication content through a standard text semantic processing network to obtain semantic scores of different sentences in the target communication content; a travel route matching the target user is determined, and corresponding navigation information is presented in the map client based on the travel route. The invention can accurately form a traveling route by analyzing the communication content in the instant communication client, and present navigation information in the map client, thereby reducing the difficulty that users cannot accurately input geographical positions in strange use environments, and being suitable for different navigation use environments.

Description

Navigation information generation method and device, electronic equipment and storage medium
Technical Field
The present invention relates to navigation technologies, and in particular, to a navigation information generating method and apparatus, an electronic device, and a storage medium.
Background
With the rapid development of internet technology, it is more and more common to set a geographic location sharing function in social products. In the related art, the position sharing function can only check the real-time position of the opposite side, and if the convergence of multiple users is realized based on the position sharing function, the communication cost is high because the users can only make a verbal appointment in a telephone or instant communication mode; moreover, for a user who navigates for the first time in an unfamiliar environment, the problem that the geographic position is difficult to describe clearly exists, so that the converged destination is not clear for the user, the problems that the user spends long time and the destination is difficult to find in the converging process are caused, the user experience is poor, and meanwhile, frequent adjustment of navigation information in a vehicle-mounted map is not beneficial to driving safety.
Disclosure of Invention
In view of this, embodiments of the present invention provide a navigation information generating method and apparatus, an electronic device, and a storage medium, which can accurately form a travel route by analyzing communication content in an instant messaging client, and present navigation information in a map client, so as to reduce difficulty that a user cannot accurately input a geographic location in an unfamiliar use environment, and meanwhile, an automatic navigation information generating method is simple, user operations are reduced, and use safety is improved.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides a navigation information generation method, which comprises the following steps:
establishing an association relation between the instant messaging client and the map client;
responding to the incidence relation, the map client side obtains original communication content through the instant communication client side;
extracting the content of the original communication content to obtain target communication content, and constructing a communication content database and a communication content standard database according to the target communication content;
acquiring location service information of a target user, and constructing a geographic location real-time database based on the location service information;
processing the target communication content by utilizing the communication content database and the communication content standard database through a standard text semantic processing network to obtain semantic scores of different sentences in the target communication content;
and determining a traveling route matched with the target user based on the semantic scores of different sentences in the target communication content, and presenting corresponding navigation information in the map client based on the traveling route.
The embodiment of the present invention further provides a navigation information generating apparatus, where the navigation information generating apparatus includes:
the information transmission module is used for establishing an association relationship between the instant messaging client and the map client;
the information processing module is used for responding to the incidence relation, and the map client side obtains original communication contents through the instant communication client side;
the information processing module is used for extracting the content of the original communication content to obtain target communication content, and constructing a communication content database and a communication content standard database according to the target communication content;
the information processing module is used for acquiring the position service information of a target user and constructing a geographic position real-time database based on the position service information;
the information processing module is used for processing the target communication content by utilizing the communication content database and the communication content standard database through a standard text semantic processing network to obtain semantic scores of different sentences in the target communication content;
the information processing module is used for determining a traveling route matched with the target user based on semantic scores of different sentences in the target communication content, and presenting corresponding navigation information in the map client based on the traveling route.
In the above scheme, the information processing module is configured to respond to a trigger instruction of a target user to obtain a user identifier of the target user;
the information processing module is used for configuring corresponding information retrieval permission for the map client based on the user identification;
and the information processing module is used for responding to the incidence relation and acquiring the original communication content presented in the conversation interface in the instant communication client through the information retrieval authority.
In the above scheme, the information processing module is configured to perform data screening processing on the original communication content, and analyze and obtain a title and a tag of the original communication content;
the information processing module is used for triggering a target word segmentation library and performing word segmentation processing on the title and the label of the original communication content through the target word segmentation library to obtain a statement-level original communication content;
the information processing module is used for determining the similarity of the statement-level original communication content through a semantic similarity model;
the information processing module is configured to construct a communication content database according to the similarity of the statement-level original communication content, where the communication content data includes:
the identification information of the target user, the communication time parameter of the instant communication, the communication content and the similarity of the communication content.
In the above scheme, the information processing module is configured to sort the similarities of the sentence-level original communication contents of different target users respectively according to the similarities of the sentence-level original communication contents, so as to obtain similarity sorting results;
the information processing module is used for selecting the sentence-level original communication content with the highest similarity from the similarity sequencing results;
the information processing module is configured to construct the communication content standard database based on the sentence-level original communication content with the highest similarity, where the communication content standard database includes:
identification information of the target user, communication time parameters of instant messaging and communication contents.
In the above scheme, the information processing module is configured to trigger a location service process matched with the target user identifier according to the target user identifier;
the information processing module is used for receiving the position detection information of the target user through the position service process;
the information processing module is used for recording the position detection information and converting the position detection information into a data format matched with the position service process to form the position service information;
the information processing module is used for acquiring timestamp information corresponding to the position service information and constructing the geographic position real-time database by using the position service information and the timestamp information.
In the above scheme, the information processing module is configured to determine a network parameter of the standard text semantic processing network based on similarity parameters of different sentences in the communication content standard database;
the information processing module is used for adjusting the network parameters of the standard text semantic processing network by utilizing the hamming distances of different sentences in different target communication contents so as to realize the calculation of the composite hamming distance score of the communication contents of the target user in a standard semantic scene through the standard text semantic processing network;
and the information processing module is used for obtaining semantic scores of different sentences in the target communication content through the composite Hamming distance score of the communication content.
In the above scheme, the information processing module is configured to determine the sentence with the highest score based on semantic scores of different sentences in the target communication content;
the information processing module is used for determining the user identification of the corresponding target user based on the sentence with the highest score;
the information processing module is used for performing identification matching processing in the geographic position real-time database according to the user identification of the target user to obtain real-time geographic position information of the target user;
the information processing module is used for determining a traveling route matched with the target user based on the real-time position information;
the information processing module is configured to present corresponding navigation information in the map client, where the navigation information includes: a travel route matching the target user, and real-time location information of the target user.
In the above-mentioned scheme, the first step of the method,
the information processing module is used for determining at least two traveling routes matched with the target user based on the real-time position information;
the information processing module is used for determining the travelling time corresponding to the at least two travelling routes according to the geographic position real-time database;
the information processing module is used for screening the travelling route with the shortest time according to the travelling time respectively corresponding to the at least two travelling routes;
and the information processing module is used for prompting the traveling time corresponding to the traveling route of the target user through the communication client.
In the above-mentioned scheme, the first step of the method,
the information processing module is used for acquiring map data matched with vehicle positioning information through the geographic position real-time database when the using environment of the map client is a vehicle-mounted terminal;
the information processing module is used for carrying out data analysis processing on the map data to obtain road parameters corresponding to the vehicle;
wherein the road parameter corresponding to the vehicle is at least one of the following:
the number of lanes of the position where the vehicle is located, road attribute information of the position where the vehicle is located, and road monitoring information of the position where the vehicle is located;
and the information processing module is used for displaying the road parameters in the navigation information presented in the map client and presenting the road parameters to different target objects through the instant messaging client.
In the above-mentioned scheme, the first step of the method,
the information processing module is used for responding to a position sharing instruction triggered based on a position icon in a conversation window function bar in the instant messaging client and presenting a position sharing interface containing the navigation information when the using environment of the map client is a vehicle-mounted terminal;
and the information processing module is used for responding to a target user adding instruction triggered by a position icon in the conversation window function bar in the instant messaging client and adding different target users in the position sharing interface.
In the above scheme, the information processing module is configured to obtain real-time location information of the target user when corresponding navigation information is presented in the map client;
the information processing module is used for sending the real-time position information of the target user to a cloud server network and recording a traveling route matched with the target user through the cloud server network;
the information processing module is used for carrying out real-time position pushing to the instant messaging client sides of different target users through the cloud server network so as to realize that the different target users obtain the real-time position information of the corresponding target users through the instant messaging client sides.
An embodiment of the present invention further provides an electronic device, where the electronic device includes:
a memory for storing executable instructions;
and the processor is used for realizing the preorder navigation information generation method when the executable instruction stored in the memory is operated.
The embodiment of the invention also provides a computer-readable storage medium, which stores executable instructions, and is characterized in that the executable instructions are executed by a processor to realize the method for generating the navigation information of the preamble.
The embodiment of the invention has the following beneficial effects:
the technical scheme provided by the invention establishes an incidence relation with a map client through an instant messaging client; responding to the incidence relation, the map client side obtains original communication content through the instant communication client side; extracting the content of the original communication content to obtain target communication content, and constructing a communication content database and a communication content standard database according to the target communication content; acquiring location service information of a target user, and constructing a geographic location real-time database based on the location service information; processing the target communication content by utilizing the communication content database and the communication content standard database through a standard text semantic processing network to obtain semantic scores of different sentences in the target communication content; and determining a traveling route matched with the target user based on the semantic scores of different sentences in the target communication content, and presenting corresponding navigation information in the map client based on the traveling route. The method can accurately form a traveling route by analyzing the communication content in the instant communication client, and presents the navigation information in the map client, thereby reducing the difficulty that the user cannot accurately input the geographic position in the strange use environment, simultaneously, the generation mode of the navigation information is simple in an automatic way, the operation of the user is reduced, the use safety can be improved, and meanwhile, the method can be adapted to different navigation use environments.
Drawings
FIG. 1A is a diagram illustrating a location sharing function in the related art 1;
FIG. 1B is a diagram illustrating a location sharing function in the related art 2;
fig. 2A is a schematic view of a usage scenario 1 of a navigation information generating method according to an embodiment of the present invention;
fig. 2B is a schematic structural diagram of a navigation information generating apparatus according to an embodiment of the present invention;
fig. 3 is an optional flowchart of a navigation information generating method according to an embodiment of the present invention, schematically illustrated in fig. 1;
fig. 4 is an optional flowchart of a navigation information generating method according to an embodiment of the present invention, schematically illustrated in fig. 2;
FIG. 5 is a network forming diagram of a standard text semantic processing network according to an embodiment of the present invention;
fig. 6 is an optional flowchart of a navigation information generating method according to an embodiment of the present invention, schematically illustrated in fig. 3;
FIG. 7 is a schematic view of navigation information in an embodiment of the present invention;
fig. 8 is a schematic view of a usage scenario of a navigation information generating method according to an embodiment of the present invention 2;
fig. 9 is an optional flowchart of a navigation information generating method according to an embodiment of the present invention, schematically illustrated in fig. 4;
fig. 10 is a communication content diagram of a navigation information generating method according to an embodiment of the present invention;
fig. 11 is a navigation information diagram of a navigation information generating method according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail with reference to the accompanying drawings, the described embodiments should not be construed as limiting the present invention, and all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
Before further detailed description of the embodiments of the present invention, terms and expressions mentioned in the embodiments of the present invention are explained, and the terms and expressions mentioned in the embodiments of the present invention are applied to the following explanations.
1) In response to the condition or state on which the performed operation depends, one or more of the performed operations may be in real-time or may have a set delay when the dependent condition or state is satisfied; there is no restriction on the order of execution of the operations performed unless otherwise specified.
2) Natural Language Processing (NLP): is an important direction in the fields of computer science and artificial intelligence, and aims to research various theories and methods for realizing effective communication between people and computers by using natural language; in natural language processing, the size of input data is changed, and the method is a deep learning method with variable input scales.
3) Artificial Intelligence (AI): the method is a theory, method, technology and application system for simulating, extending and expanding human intelligence by using a digital computer or a machine controlled by the digital computer, sensing the environment, acquiring knowledge and obtaining the best result by using the knowledge.
4) Machine Learning (ML): the method is a multi-field cross discipline and relates to a plurality of disciplines such as probability theory, statistics, approximation theory, convex analysis, algorithm complexity theory and the like. Specially researching how a computer simulates or realizes the learning behavior of human beings so as to acquire new knowledge or skills; reorganizing the existing knowledge structure to improve the performance of the knowledge structure. Machine learning is the core of artificial intelligence, is the fundamental approach for computers to have intelligence, and is applied to all fields of artificial intelligence. Machine learning generally includes techniques such as artificial neural networks, belief networks, reinforcement learning, transfer learning, and inductive learning.
5) An artificial Neural Network is a mathematical model that simulates the structure and function of a biological Neural Network, such as Deep Neural Networks (DNNs), Convolutional Neural Networks (CNNs), Recurrent Neural Networks (RNNs), and so on.
6) Speech Recognition (SR Speech Recognition): also known as Automatic Speech Recognition (ASR Automatic Speech Recognition), Computer Speech Recognition (CSR Computer Speech Recognition) or Speech-To-Text Recognition (STT Speech To Text), the goal of which is To automatically convert human Speech content into corresponding Text using a Computer.
7) And position sharing, wherein each conversation member entering the position sharing function can observe respective position information on a map in real time.
8) Hamming distance: as used in data transmission error control coding, hamming distance is a concept that represents the different number of corresponding bits of two (same length) words, and d (x, y) represents the hamming distance between two words x, y. And carrying out exclusive OR operation on the two character strings, and counting the number of 1, wherein the number is the Hamming distance.
9) Fuzzy navigation: the fuzzy navigation in the scheme is a navigation mode that information of a destination point is not clearly given, a target user is determined according to related content extracted by an NLP technology through communication content of a user in an instant messaging client, and an optimal route is generated by combining LBS information of the target user, for example, position sharing among different users is realized.
10) A Mini Program (Program) is a Program developed based on a front-end-oriented Language (e.g., JavaScript) and implementing a service in a hypertext Markup Language (HTML) page, and software downloaded by a client (e.g., a browser or any client embedded in a browser core) via a network (e.g., the internet) and interpreted and executed in a browser environment of the client saves steps installed in the client. For example, the small program in the terminal is awakened through a voice instruction, so that the small program for realizing various services such as air ticket purchase, task processing and making, data display and the like can be downloaded and run in the social network client.
In most usage scenarios of the location sharing function, a user often needs to implement a fast set of multi-party members through the location sharing function. However, in the related art, the location sharing function can only view the location information of each session member, and as shown in part (r) in fig. 1A, the location sharing interface only presents the location information of each session member. If the convergence of multiple users is realized based on the position sharing function, the users can only use telephone or instant messaging to orally appoint, and some geographic positions have the problem of difficult description and clearness, so that the destination of the convergence is not clear for the users. Although star mark positions can be added on some position sharing interfaces, the addition entrance is deeper, as shown in part II of fig. 1A, the star mark positions can be added only by clicking a 'setting' button at the upper left corner, clicking 'adding star mark positions' and the like, after the star mark positions are added, a user is prompted only through a system message, the prompting mode is not clear, the user often overlooks, and meanwhile, when the vehicle is in an environment, driving dangerousness is increased by frequently operating a map client, and safe driving of the user is not facilitated. In the merging process, if route navigation is needed, the user also needs to jump to other map clients, and as shown in fig. 1B, the navigation route is provided for the user through the other map clients. Meanwhile, the user asks for questions by adding corresponding starting positions and ending positions in the environment shown in fig. 1B to generate navigation information, and for an unfamiliar use environment, the user needs to check after searching for the starting positions and the ending positions, so that the steps are complicated, and the use experience of the user is influenced. Therefore, in the whole process of realizing the user set based on the position sharing function, the user still suffers from the problems that the destination is difficult to be clear, the user must jump between the position sharing page and other map clients for multiple times, and the like, and the user experience is poor.
Based on this, a navigation information generation method, a navigation information generation apparatus, a software program, a device, and a storage medium according to embodiments of the present invention are proposed to solve at least the above-mentioned problems in the related art, and each of the following descriptions is provided.
Based on the above explanation of the nouns and terms involved in the embodiment of the present invention, the navigation information generation system provided in the embodiment of the present invention is explained below, a use environment of the navigation information generation method provided in the present application is explained below, referring to fig. 2A, fig. 2A is a schematic view of a use scenario of the navigation information generation method provided in the embodiment of the present invention, referring to fig. 2A, a client provided with semantic understanding software on a terminal (including a terminal 10-1 and a terminal 10-2) can generate navigation information, a user can input a corresponding sentence to be semantically understood through the set semantic understanding software client, and an artificial intelligent client (e.g., a voice assistant applet in an instant messaging client) can also receive a corresponding semantic understanding result and display the received semantic understanding result to the user; the terminal is connected to the server 200 through the network 300, the network 300 may be a wide area network or a local area network, or a combination of the two, and data transmission is achieved by using a wireless link, wherein the navigation information generation method provided by the present invention may serve as a client (packaged in a vehicle-mounted terminal or packaged in different mobile electronic devices) with a cloud service form, and the present application is not particularly limited, wherein the navigation information generation method is provided as a cloud service for enterprise clients to help the enterprise clients to provide navigation services according to different device use environments.
To support an exemplary application, the terminals (including terminal 10-1 and terminal 10-2) are connected to the server 200 via a network 300, and the network 300 may be a wide area network or a local area network, or a combination thereof, and data transmission is achieved using wireless or wired links.
The terminal (such as the terminal 10-1) is used for establishing an association relationship between the instant messaging client and the map client; responding to the incidence relation, the map client side obtains original communication content through the instant communication client side; extracting the content of the original communication content to obtain target communication content, and constructing a communication content database and a communication content standard database according to the target communication content; acquiring location service information of a target user, and constructing a geographic location real-time database based on the location service information; processing the target communication content by utilizing the communication content database and the communication content standard database through a standard text semantic processing network to obtain semantic scores of different sentences in the target communication content; and determining a traveling route matched with the target user based on semantic scores of different sentences in the target communication content, and presenting corresponding navigation information in the map client based on the traveling route, wherein the terminal can be a mobile phone and other intelligent devices, and can also be a vehicle-mounted intelligent system. The navigation information generation method provided by the invention can serve clients (packaged in a vehicle-mounted terminal or packaged in different mobile electronic devices) with available types as cloud services, and the specific use scene is not specifically limited in the application, wherein the navigation information generation method is provided for enterprise clients as the cloud services to help the enterprise clients generate navigation information according to different device use environments.
And the server 200 is configured to receive the location information sent by the terminal, and send the location information to the terminals of other session members, so as to implement location information sharing.
In practical application, referring to fig. 3, fig. 3 is a schematic diagram of implementing location sharing according to an embodiment of the present invention. Here, a terminal (e.g., terminal 10-1) is provided with an instant messaging client that includes a network layer, a data layer, and a presentation layer. When the terminal receives a position sharing instruction triggered by a session window, positioning the current position through a GPS function; the instant messaging client pulls the location information of the terminal through the network layer and sends the location information to the server 200. The server 200 receives the location information of the terminal and sends the location information to other terminals, so as to realize location sharing of each conversation member.
The instant messaging client generates and presents a position sharing interface through the map data integrated by the data layer and the acquired position information of each conversation member, and particularly displays the position information of each conversation member joining the position sharing on a map in a user head portrait mode.
And when the instant messaging client receives an aggregation point creating instruction triggered based on the position sharing interface, presenting an aggregation point adding interface, and enabling a user to add an aggregation point in the position sharing interface. And displaying the selected aggregation point on the position sharing interface according to the position information of the aggregation point selected by the user on the aggregation point adding interface. In addition to displaying the rendezvous point, information such as a user's route to the rendezvous point can be displayed. In addition, the position information of the aggregation point is sent to the server, so that the server is synchronized to the client sides of other conversation members, the positions of the aggregation points can be clearly determined by the conversation members, the rapid and accurate aggregation of the user is achieved, and the user experience is improved.
In practical application, the server 200 may be a server configured independently to support various services, or may be configured as a server cluster; the terminal (e.g., terminal 10-1) may be any of a variety of types of user terminals, such as a smart phone, a tablet computer, a laptop computer, and the like, and may also be a wearable computing device, a Personal Digital Assistant (PDA), a desktop computer, a cellular telephone, a media player, a navigation device, a game console, a television, or a combination of any two or more of these or other data processing devices.
As an example, the server 200 is configured to lay and train the voice recognition models, deploy the trained voice recognition models in corresponding terminals, and process voice information in a voice instruction using environment carrying digital information by using the deployed voice recognition models through the terminals (the terminal 10-1 and/or the terminal 10-2).
The navigation information generation method provided by the embodiment of the application is realized based on Artificial Intelligence (AI), which is a theory, method, technology and application system for simulating, extending and expanding human Intelligence by using a digital computer or a machine controlled by the digital computer, sensing the environment, acquiring knowledge and obtaining the best result by using the knowledge. In other words, artificial intelligence is a comprehensive technique of computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can react in a manner similar to human intelligence. Artificial intelligence is the research of the design principle and the realization method of various intelligent machines, so that the machines have the functions of perception, reasoning and decision making.
The artificial intelligence technology is a comprehensive subject and relates to the field of extensive technology, namely the technology of a hardware level and the technology of a software level. The artificial intelligence infrastructure generally includes technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technologies, operation/interaction systems, mechatronics, and the like. The artificial intelligence software technology mainly comprises a computer vision technology, a voice processing technology, a natural language processing technology, machine learning/deep learning and the like.
In the embodiment of the present application, the artificial intelligence software technology mainly involved includes the above-mentioned voice processing technology and machine learning and other directions. For example, the present invention may relate to a Speech Recognition Technology (ASR) in Speech Technology (Speech Technology), which includes Speech signal preprocessing (Speech signal preprocessing), Speech signal frequency domain analysis (Speech signal analysis), Speech signal feature extraction (Speech signal feature extraction), Speech signal feature matching/Recognition (Speech signal feature matching/Recognition), training of Speech (Speech training), and the like.
For example, Machine Learning (ML) may be involved, which is a multi-domain cross discipline, involving probability theory, statistics, approximation theory, convex analysis, algorithm complexity theory, and so on. The special research on how a computer simulates or realizes the learning behavior of human beings so as to acquire new knowledge or skills and reorganize the existing knowledge structure to continuously improve the performance of the computer. Machine learning is the core of artificial intelligence, is the fundamental approach for computers to have intelligence, and is applied to all fields of artificial intelligence. Machine Learning generally includes techniques such as Deep Learning (Deep Learning), which includes artificial Neural networks (artificial Neural networks), such as Convolutional Neural Networks (CNN), Recurrent Neural Networks (RNN), Deep Neural Networks (DNN), and the like.
As will be described in detail below, the navigation information generating apparatus according to an embodiment of the present invention may be implemented in various forms, such as a dedicated terminal with image processing and data calculating functions, or an internet-of-vehicles apparatus with image processing and data processing functions, for example, the navigation information generating apparatus in fig. 1. Fig. 2B is a schematic diagram of a structure of a navigation information generating apparatus according to an embodiment of the present invention, and it can be understood that fig. 2B only shows an exemplary structure of the navigation information generating apparatus, and not a whole structure, and a part of the structure or a whole structure shown in fig. 2B may be implemented as needed.
The navigation information generating device provided by the embodiment of the invention comprises: at least one processor 201, memory 202, user interface 203, and at least one network interface 204. The various components in the navigation information generation apparatus are coupled together by a bus system 205. It will be appreciated that the bus system 205 is used to enable communications among the components. The bus system 205 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 205 in fig. 2B.
The user interface 203 may include, among other things, a display, a keyboard, a mouse, a trackball, a click wheel, a key, a button, a touch pad, or a touch screen.
It will be appreciated that the memory 202 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. The memory 202 in embodiments of the present invention is capable of storing data to support operation of the terminal (e.g., 10-1). Examples of such data include: any computer program, such as an operating system and application programs, for operating on a terminal (e.g., 10-1). The operating system includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application program may include various application programs.
In some embodiments, the navigation information generating apparatus provided in the embodiments of the present invention may be implemented by a combination of software and hardware, and for example, the navigation information generating apparatus provided in the embodiments of the present invention may be a processor in the form of a hardware decoding processor, which is programmed to execute the navigation information generating method provided in the embodiments of the present invention. For example, a processor in the form of a hardware decoding processor may employ one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), or other electronic components.
As an example of the navigation information generating apparatus provided by the embodiment of the present invention implemented by combining software and hardware, the navigation information generating apparatus provided by the embodiment of the present invention may be directly embodied as a combination of software modules executed by the processor 201, where the software modules may be located in a storage medium, the storage medium is located in the memory 202, the processor 201 reads executable instructions included in the software modules in the memory 202, and the navigation information generating method provided by the embodiment of the present invention is completed in combination with necessary hardware (for example, including the processor 201 and other components connected to the bus 205).
By way of example, the Processor 201 may be an integrated circuit chip having Signal processing capabilities, such as a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like, wherein the general purpose Processor may be a microprocessor or any conventional Processor or the like.
As an example of the navigation information generating apparatus provided in the embodiment of the present invention being implemented by hardware, the apparatus provided in the embodiment of the present invention may be implemented by directly using the processor 201 in the form of a hardware decoding processor, for example, by being executed by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), or other electronic components, to implement the navigation information generating method provided in the embodiment of the present invention.
The memory 202 in the embodiment of the present invention is used to store various types of data to support the operation of the navigation information generating apparatus. Examples of such data include: any executable instructions for operating on the navigation information generation apparatus, such as executable instructions, may be included in the executable instructions, and the program that implements the navigation information generation method of the embodiments of the present invention may be included in the executable instructions.
In other embodiments, the navigation information generating apparatus provided in the embodiments of the present invention may be implemented in software, and fig. 2B illustrates the navigation information generating apparatus stored in the memory 202, which may be software in the form of programs, plug-ins, and the like, and includes a series of modules, and as an example of the program stored in the memory 202, the navigation information generating apparatus may include the following software modules: an information transmission module 2081 and an information processing module 2082. When the software modules in the navigation information generating apparatus are read into the RAM by the processor 201 and executed, the functions of the software modules in the navigation information generating apparatus are introduced as follows:
the information transmission module 2081 is used for establishing an association relationship between the instant messaging client and the map client;
the information processing module 2082, configured to respond to the association relationship, where the map client obtains original communication content through the instant messaging client;
the information processing module 2082 is configured to perform content extraction processing on the original communication content to obtain a target communication content, and construct a communication content database and a communication content standard database according to the target communication content;
the information processing module 2082 is used for acquiring the location service information of the target user and constructing a geographic location real-time database based on the location service information;
the information processing module 2082 is configured to process the target communication content by using the communication content database and the communication content standard database through a standard text semantic processing network, so as to obtain semantic scores of different sentences in the target communication content;
the information processing module 2082 is configured to determine a travel route matching the target user based on semantic scores of different sentences in the target communication content, and present corresponding navigation information in the map client based on the travel route.
According to the electronic device shown in fig. 2B, in one aspect of the present application, the present application also provides a computer program product or a computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes different embodiments and combinations of embodiments provided in various alternative implementations of the navigation information generation method.
Continuing to describe the navigation information generating method provided by the embodiment of the present invention with reference to the navigation information generating device shown in fig. 2B, fig. 3 is an optional schematic flow chart of the navigation information generating method provided by the embodiment of the present invention, and it can be understood that the navigation information generating method shown in fig. 3 may be applied to a vehicle-mounted terminal, and may also be applied to a vehicle networking device, such as a vehicle networking applet of an instant messaging client, to implement the timely generation of navigation information, where the steps shown in fig. 3 may be executed by the vehicle-mounted terminal or the vehicle networking device, such as a vehicle-mounted intelligent system (with a data computing function) with an information processing function, the vehicle networking device, or the vehicle networking applet. The following is a description of the steps shown in fig. 3.
Step 301: the navigation information generation device controls the instant communication client to establish an association relation with the map client.
Step 302: and the navigation information generation device responds to the incidence relation, and the map client acquires original communication content through the instant communication client.
In some embodiments of the present invention, in response to the association relationship, the map client obtains the original communication content through the instant communication client, and may be implemented as follows:
responding to a trigger instruction of a target user, and acquiring a user identifier of the target user; configuring corresponding information retrieval permission for the map client based on the user identification; and responding to the incidence relation, and acquiring the original communication content presented in the conversation interface in the instant communication client through the information retrieval authority. Wherein the user identification of the target user includes but is not limited to at least one of the following: the map client can acquire communication contents in the instant messaging client by configuring corresponding information calling authorities for the map client, and when the communication contents in the instant messaging client are voice information, a voice information recognition program can be triggered to convert the voice information into corresponding text information so as to acquire corresponding navigation information by processing the text information.
Step 303: and the navigation information generation device extracts the content of the original communication content to obtain target communication content, and constructs a communication content database and a communication content standard database according to the target communication content.
In some embodiments of the present invention, fig. 4 is an optional schematic flow chart of the navigation information generating method provided in the embodiments of the present invention, and it can be understood that the navigation information generating method shown in fig. 4 may be applied to a vehicle-mounted terminal, and may also be used in a car networking device, such as a car networking applet of an instant messaging client, to implement the timely generation of the navigation information, and specifically includes the following steps:
step 401: and carrying out data screening processing on the original communication content, and analyzing to obtain the title and the label of the original communication content.
Step 402: triggering a target word segmentation library, and performing word segmentation processing on the title and the label of the original communication content through the target word segmentation library to obtain the sentence-level original communication content.
When obtaining the statement original communication content, the following processing modes can be used for the information input by the user voice: (1) and (3) performing voice recognition processing, and deleting punctuations, letters, numbers and special symbols in the voice recognition result, such as: deletion [ a-zA-Z0-9'! #$ ]&\'()*+,-./:;<=>
Figure 607098DEST_PATH_IMAGE001
@,。
Figure 993080DEST_PATH_IMAGE002
★、…【】《》
Figure 241659DEST_PATH_IMAGE002
“”‘’![\\]^_`{|}~]+ etc. to ease the influence of garbage information on text information processing.
(2) Deleting specified stop words, such as: "of", "coupled", "calash" … ….
(3) And configuring a self-defined word segmentation dictionary, wherein the word segmentation dictionary can comprise a subject (I, you, he and the self), a direction noun (to and from the subject and to the self) and a common vocabulary of a transportation verb (driving, walking and running).
(4) And performing word segmentation on the screened texts, and changing each text into a word sequence, wherein the formed word segmentation sequence is shown in table 1.
TABLE 1 participle sequence Format
Figure 902447DEST_PATH_IMAGE003
Step 403: and determining the similarity of the sentence-level original communication contents through a semantic similarity model.
Step 404: and constructing a communication content database according to the similarity of the sentence-level original communication content.
Wherein the communication content data includes: the identification information of the target user, the communication time parameter of the instant communication, the communication content and the similarity of the communication content.
In some embodiments of the present invention, two target users are taken as an example (location sharing between two target users user1 and user2), wherein,
Figure 169349DEST_PATH_IMAGE004
representing the text obtained by word segmentation in the chat content text acquired by the User 1(User1) from the instant messaging tool
Figure 460653DEST_PATH_IMAGE005
Figure 993266DEST_PATH_IMAGE006
The method represents the ith text participle obtained by participling in the chat content of the user1 acquired from the instant messaging tool.
Figure 395428DEST_PATH_IMAGE007
Representing the text obtained by word segmentation in the chat content text acquired by the User 2(User2) from the instant messaging tool
Figure 329886DEST_PATH_IMAGE008
Figure 792091DEST_PATH_IMAGE009
Representing chat of user2 obtained from instant messengerAnd obtaining the ith text word segmentation after word segmentation in the content.
Then, a semantic similarity model is constructed by hamming distance, and formula 1 is referred to:
Figure 998951DEST_PATH_IMAGE010
in the formula 1, in which,
Figure 1542DEST_PATH_IMAGE011
indicating that User 1(User1) participled text containing the text "i go there" from standard content text,
Figure 728189DEST_PATH_IMAGE012
Figure 423613DEST_PATH_IMAGE013
meaning that User 1(User1) participled text that contained "to me here" text from standard content text,
Figure 134080DEST_PATH_IMAGE014
Figure 612466DEST_PATH_IMAGE015
representing User 2(User2) tokenizing text containing "go to you" text from standard content text,
Figure 521516DEST_PATH_IMAGE016
Figure 309212DEST_PATH_IMAGE017
meaning that User 2(User2) participles text containing "you am here" text from standard content text,
Figure 303713DEST_PATH_IMAGE018
. The construction information of the communication content database comprises: a first user id (communication initiator id), a second user id (communication receiver id), communication content and communication time sent by the first user, and communication content sent by the second userAnd communication time and communication content similarity scores.
In some embodiments of the present invention, the similarity of the sentence-level original communication contents of different target users may be sorted according to the similarity of the sentence-level original communication contents, so as to obtain similarity sorting results; selecting the sentence-level original communication content with the highest similarity from the similarity sequencing results; constructing the communication content standard database based on the sentence-level original communication content with the highest similarity, wherein the communication content standard database comprises: identification information of the target user, communication time parameters of instant messaging and communication contents. Specifically, taking two target users as an example (position sharing between two target users user1 and user2), each user may be grouped and ranked from high to low according to the similarity score of each group, and the content ranked first is selected, so as to obtain a standard library, whose structure is as follows: the communication system comprises a first user id (communication initiator id), a second user id (communication receiver id), communication content and communication time sent by a first user, and communication content and communication time sent by a second user.
Step 304: the navigation information generation device acquires the position service information of the target user and constructs a geographic position real-time database based on the position service information.
In some embodiments of the present invention, a location service process matching the target user identifier may be triggered according to the target user identifier; receiving position detection information of the target user through the position service process; recording the position detection information, and converting the position detection information into a data format matched with the position service process to form the position service information; obtaining timestamp information corresponding to the location service information, and constructing the geographic location real-time database using the location service information and the timestamp information.
Location Based Services (LBS) utilize various types of Location technologies to obtain the current Location of the positioning device, and provide information resources and basic Services to the positioning device through the mobile internet. First, the user can determine the spatial position of the user by using a positioning technology, and then the user can acquire resources and information related to the position through the mobile internet. The LBS service integrates various information technologies such as mobile communication, internet, space positioning, position information, big data and the like, and a mobile internet service platform is utilized to update and interact data, so that a user can obtain corresponding services through space positioning, and because the operating environments of navigation information generation methods are different, the position detection information is converted into a data format matched with a position service process, so that navigation errors caused by non-uniform data formats can be avoided, and more accurate navigation information can be generated for the user, wherein when the geographical position real-time database is constructed, the construction information of the geographical position real-time database comprises: user id, user real-time LBS location information, timestamp information.
Step 305: and the navigation information generating device processes the target communication content by utilizing the communication content database and the communication content standard database through a standard text semantic processing network to obtain semantic scores of different sentences in the target communication content.
In some embodiments of the present invention, obtaining semantic scores of different sentences in the target communication content may be implemented by:
determining network parameters of the standard text semantic processing network based on similarity parameters of different sentences in the communication content standard database; adjusting network parameters of the standard text semantic processing network by using the Hamming distances of different sentences in different target communication contents so as to calculate a composite Hamming distance score of the communication contents of the target user in a standard semantic scene through the standard text semantic processing network; and obtaining semantic scores of different sentences in the target communication content through the composite Hamming distance score of the communication content. Referring to fig. 5, fig. 5 is a schematic diagram of network formation of a standard text semantic processing network in an embodiment of the present invention, taking two target users as an example (two target users)Location sharing between target users user1 and user2), with "i go you there", "go me here", "you go me here", and "go you there" in the standard semantic library. Respectively calculating the similarity of pairwise calculation:
Figure 585790DEST_PATH_IMAGE019
indicating the relevance of user1 "i go to you" to user2 "go to you" text,
Figure 552609DEST_PATH_IMAGE020
indicating the relevance of user1 "i go there" to user2 "i come here" text,
Figure 589835DEST_PATH_IMAGE021
indicating the relevance of user1 "go me here" to user2 "go you there" text,
Figure 743736DEST_PATH_IMAGE022
indicating the relevance of user1 "come to me" to user2 "you come to me" text. Thereby constructing a standard text semantic processing network.
Step 306: the navigation information generation device determines a traveling route matched with the target user based on semantic scores of different sentences in the target communication content, and presents corresponding navigation information in the map client based on the traveling route.
In some embodiments of the present invention, fig. 6 is an optional schematic flow chart of the navigation information generating method provided in the embodiments of the present invention, and it can be understood that the navigation information generating method shown in fig. 6 may be applied to a vehicle-mounted terminal, and may also be applied to a vehicle networking device, such as a car networking applet of an instant messaging client, to implement the timely generation of the navigation information, and specifically includes the following steps:
step 601: and determining the sentence with the highest score based on the semantic scores of different sentences in the target communication content.
In the process of determining the composite hamming distance score and obtaining the semantic scores of different sentences in the target communication content, taking two target users as an example (position sharing between two target users user1 and user2), the semantic score of the composite hamming distance is calculated according to formula 2:
Figure 891820DEST_PATH_IMAGE023
equation 2 thus yields the combined scores of user1 and user2 under the four standard semantic scenarios:
1) the composite hamming distance of user1 "i go there" is scored as:
Figure 962413DEST_PATH_IMAGE024
2) the composite hamming distance from user1 "to me" is divided into:
Figure 108224DEST_PATH_IMAGE025
3) the composite hamming distance of user2 "go there" is scored as:
Figure 15000DEST_PATH_IMAGE026
4) the composite hamming distance of user2 "you come and me there" is scored as:
Figure 904459DEST_PATH_IMAGE027
the scene with the highest score and the corresponding user id are selected as a starting user (first user) of the travel route in the navigation information, and the other user is a merging user (second user). Therefore, the correlation degrees of four semantic scenes in the standard library are calculated firstly, and a convolution matrix of 2 x 2 orders is obtained. And then, calculating the Hamming distance between the semantic text content of each person of the two communication parties and the respective standard text content in the standard library in the instant communication software as the correlation, and obtaining a 2 x 2-order Hamming distance matrix. And then carrying out matrix multiplication on the Hamming distance matrix and the convolution matrix to obtain a 2 x 2-order composite Hamming correlation matrix. By processing in this way, the comprehensive scores of both communication parties in various semantic environments can be fully considered, and the semantic understanding and identifying accuracy is improved. Meanwhile, the starting user of the navigation information is determined by selecting the user with the highest score, and the server of the map client can be matched with the corresponding identification information to obtain the real-time LBS position information corresponding to the target user, so that the recommended navigation route is automatically generated, and the generation efficiency of the navigation information is improved.
Step 602: and determining the user identification of the corresponding target user based on the sentence with the highest score.
Step 603: and performing identification matching processing in the geographic position real-time database according to the user identification of the target user to obtain the real-time geographic position information of the target user.
Step 604: determining a travel route matching the target user based on the real-time location information.
Step 605: presenting, in the map client, corresponding navigation information, wherein the navigation information includes: a travel route matching the target user, and real-time location information of the target user.
Specifically, referring to fig. 7, fig. 7 is a schematic view of navigation information in the embodiment of the present invention, when the communication content of the first user is processed and matched as "i go there", the geographic location LBS information where the second user is currently located is generated, and a corresponding travel route is generated and the navigation information is presented according to the geographic location LBS information where the first user is currently located.
In some embodiments of the present invention, due to the complexity of the navigation environment, adverse factors such as congestion, accidents, roadblocks, etc. may occur, and therefore, at least two travel routes matching the target user may also be determined based on the real-time location information; determining the corresponding travel time of the at least two travel routes according to the geographic position real-time database; screening the traveling route with the shortest time according to the traveling time respectively corresponding to the at least two traveling routes; and prompting the traveling time corresponding to the traveling route of the target user through the communication client, wherein the first user can click and select any traveling route to be selected so as to adapt to different road environments.
The following description is given by taking a vehicle-mounted intelligent device as an example, and referring to fig. 8, fig. 8 is a schematic view of a usage scenario of the navigation information generation method provided in the embodiment of the present invention, the navigation information generation method provided in the present invention may be used as a form of cloud service to serve a client (packaged in a vehicle-mounted terminal or packaged in different mobile electronic devices), and the present application is not particularly limited to a specific usage scenario, where the navigation information generation method is provided as a cloud service to enterprise clients to help the enterprise clients to provide corresponding navigation services according to different device usage environments of the user.
Continuing to refer to fig. 9, fig. 9 is an optional schematic flow chart of the navigation information generating method provided in the embodiment of the present invention, and it can be understood that the navigation information generating method shown in fig. 9 may be applied to a vehicle-mounted terminal, and may also be applied to a vehicle networking device, such as a car networking applet of an instant messaging client, to implement timely generation of navigation information, specifically, in fig. 9, the number of target users is 3, and location sharing among three target users, user1, user2, and user3 specifically includes the following steps:
step 901: and establishing an association relationship between the instant messaging client of each user and the map client.
Step 902: and responding to the incidence relation, and the map client acquires original communication content through the instant communication client.
Fig. 10 is a schematic communication content diagram of a navigation information generating method according to an embodiment of the present invention, where a travel route to be generated includes: user1-user 2-user 3 or user1-user 3-user 2.
Step 903: and extracting the content of the original communication content to obtain target communication content, and constructing a communication content database and a communication content standard database according to the target communication content.
Step 904: and acquiring the position service information of the target user, and constructing a geographic position real-time database based on the position service information.
The navigation information generation method is executed through the vehicle-mounted terminal, so that road information in navigation can be monitored through position service information, and particularly when the use environment of the map client is the vehicle-mounted terminal, map data matched with vehicle positioning information is acquired through the geographic position real-time database; carrying out data analysis processing on the map data to obtain road parameters corresponding to the vehicle; wherein the road parameter corresponding to the vehicle is at least one of the following: the number of lanes of the position where the vehicle is located, road attribute information of the position where the vehicle is located, and road monitoring information of the position where the vehicle is located; and displaying the road parameters in navigation information presented in the map client, and presenting the road parameters to different target objects through the instant messaging client.
Step 905: and processing the target communication content by utilizing the communication content database and the communication content standard database through a standard text semantic processing network to obtain semantic scores of different sentences in the target communication content.
Step 906: and determining a traveling route matched with the target user based on the semantic scores of different sentences in the target communication content.
Fig. 11 is a navigation information schematic diagram of the navigation information generating method according to the embodiment of the present invention, wherein the travel times corresponding to the at least two travel routes may also be determined according to the geographic position real-time database, where a time period from user1 to user2 to user3 is 10 minutes, or a time period from user1 to user3 to user2 is 15 minutes; screening the traveling route with the shortest time according to the traveling time respectively corresponding to the at least two traveling routes; and prompting the traveling time corresponding to the traveling route of the target user through the communication client.
Step 907: and when the corresponding navigation information is presented in the map client, acquiring the real-time position information of the target user.
Step 908: and sending the real-time position information of the target user to a cloud server network, and recording a traveling route matched with the target user through the cloud server network.
Step 909: and carrying out real-time position pushing to the instant messaging client sides of different target users through the cloud server network so as to realize that the different target users obtain the real-time position information of the corresponding target users through the instant messaging client sides.
When the using environment of the map client is a vehicle-mounted terminal, responding to a position sharing instruction triggered based on a position icon in a conversation window function bar in the instant messaging client, and presenting a position sharing interface containing the navigation information;
and responding to a target user adding instruction triggered by a position icon in the conversation window function bar in the instant messaging client, and adding different target users in the position sharing interface. Therefore, after the target users 1, user2 and user3 complete the sharing of the navigation information, the target users 4 can be added continuously, and new travel routes are generated continuously.
The invention has the following beneficial technical effects:
the invention establishes an incidence relation with a map client through an instant communication client; responding to the incidence relation, the map client side obtains original communication content through the instant communication client side; extracting the content of the original communication content to obtain target communication content, and constructing a communication content database and a communication content standard database according to the target communication content; acquiring location service information of a target user, and constructing a geographic location real-time database based on the location service information; processing the target communication content by utilizing the communication content database and the communication content standard database through a standard text semantic processing network to obtain semantic scores of different sentences in the target communication content; and determining a traveling route matched with the target user based on the semantic scores of different sentences in the target communication content, and presenting corresponding navigation information in the map client based on the traveling route. The method can accurately form a traveling route by analyzing the communication content in the instant communication client, and presents the navigation information in the map client, thereby reducing the difficulty that the user cannot accurately input the geographic position in the strange use environment, simultaneously, the generation mode of the navigation information is simple in an automatic way, the operation of the user is reduced, the use safety can be improved, and meanwhile, the method can be adapted to different navigation use environments.
The above description is only exemplary of the present invention and should not be taken as limiting the scope of the present invention, and any modifications, equivalents, improvements, etc. made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (14)

1. A navigation information generating method, the method comprising:
establishing an association relation between the instant messaging client and the map client;
responding to the incidence relation, the map client side obtains original communication content through the instant communication client side;
extracting the content of the original communication content to obtain target communication content, and constructing a communication content database and a communication content standard database according to the target communication content, wherein the communication content data comprises: identification information of a target user, communication time parameters of instant messaging, communication contents and similarity of the communication contents;
acquiring location service information of a target user, and constructing a geographic location real-time database based on the location service information;
determining network parameters of a standard text semantic processing network based on similarity parameters of different sentences in the communication content standard database;
adjusting network parameters of the standard text semantic processing network by using the Hamming distances of different sentences in different target communication contents so as to calculate a composite Hamming distance score of the communication contents of the target user in a standard semantic scene through the standard text semantic processing network;
obtaining semantic scores of different sentences in the target communication content through the composite Hamming distance score of the communication content;
and determining a traveling route matched with the target user based on the semantic scores of different sentences in the target communication content, and presenting corresponding navigation information in the map client based on the traveling route.
2. The method of claim 1, wherein the obtaining, by the map client, original messaging content via the instant messaging client in response to the association comprises:
responding to a trigger instruction of a target user, and acquiring a user identifier of the target user;
configuring corresponding information retrieval permission for the map client based on the user identification;
and responding to the incidence relation, and acquiring the original communication content presented in the conversation interface in the instant communication client through the information retrieval authority.
3. The method according to claim 1, wherein the extracting the original communication content to obtain the target communication content, and constructing a communication content database and a communication content standard database according to the target communication content comprises:
performing data screening processing on the original communication content, and analyzing to obtain a title and a label of the original communication content;
triggering a target word segmentation library, and performing word segmentation processing on the title and the label of the original communication content through the target word segmentation library to obtain a sentence-level original communication content;
determining the similarity of the sentence-level original communication contents through a semantic similarity model;
and constructing a communication content database according to the similarity of the sentence-level original communication content.
4. The method of claim 3, further comprising:
according to the similarity of the sentence-level original communication contents, respectively sequencing the similarities of the sentence-level original communication contents of different target users to obtain similarity sequencing results;
selecting the sentence-level original communication content with the highest similarity from the similarity sequencing results;
constructing the communication content standard database based on the sentence-level original communication content with the highest similarity, wherein the communication content standard database comprises:
identification information of the target user, communication time parameters of instant messaging and communication contents.
5. The method of claim 1, wherein obtaining location service information of a target user and building a geographic location real-time database based on the location service information comprises:
triggering a position service process matched with the target user identification according to the target user identification;
receiving position detection information of the target user through the position service process;
recording the position detection information, and converting the position detection information into a data format matched with the position service process to form the position service information;
obtaining timestamp information corresponding to the location service information, and constructing the geographic location real-time database using the location service information and the timestamp information.
6. The method of claim 1, wherein determining a travel route matching the target user based on semantic scores of different sentences in the target communication content, and presenting corresponding navigation information in the map client based on the travel route comprises:
determining the sentence with the highest score based on the semantic scores of different sentences in the target communication content;
determining a user identifier of a corresponding target user based on the sentence with the highest score;
according to the user identification of the target user, carrying out identification matching processing in the geographic position real-time database to obtain real-time geographic position information of the target user;
determining a travel route matched with the target user based on the real-time position information;
presenting, in the map client, corresponding navigation information, wherein the navigation information includes: a travel route matching the target user, and real-time location information of the target user.
7. The method of claim 6, further comprising:
determining at least two travel routes matching the target user based on the real-time location information;
determining the corresponding travel time of the at least two travel routes according to the geographic position real-time database;
screening the traveling route with the shortest time according to the traveling time respectively corresponding to the at least two traveling routes;
and prompting the traveling time corresponding to the traveling route of the target user through the communication client.
8. The method according to claim 1, characterized in that it comprises:
when the using environment of the map client is a vehicle-mounted terminal, obtaining map data matched with vehicle positioning information through the geographic position real-time database;
carrying out data analysis processing on the map data to obtain road parameters corresponding to the vehicle;
wherein the road parameter corresponding to the vehicle is at least one of the following:
the number of lanes of the position where the vehicle is located, road attribute information of the position where the vehicle is located, and road monitoring information of the position where the vehicle is located;
and displaying the road parameters in navigation information presented in the map client, and presenting the road parameters to different target objects through the instant messaging client.
9. The method of claim 1, further comprising:
when the using environment of the map client is a vehicle-mounted terminal, responding to a position sharing instruction triggered based on a position icon in a conversation window function bar in the instant messaging client, and presenting a position sharing interface containing the navigation information;
and responding to a target user adding instruction triggered by a position icon in the conversation window function bar in the instant messaging client, and adding different target users in the position sharing interface.
10. The method of claim 1, further comprising:
when the corresponding navigation information is presented in the map client, acquiring the real-time position information of the target user;
sending the real-time position information of the target user to a cloud server network, and recording a traveling route matched with the target user through the cloud server network;
and carrying out real-time position pushing to the instant messaging client sides of different target users through the cloud server network so as to realize that the different target users obtain the real-time position information of the corresponding target users through the instant messaging client sides.
11. A navigation information generating apparatus, characterized by comprising:
the information transmission module is used for establishing an association relationship between the instant messaging client and the map client;
the information processing module is used for responding to the incidence relation, and the map client side obtains original communication contents through the instant communication client side;
the information processing module is configured to perform content extraction processing on the original communication content to obtain a target communication content, and construct a communication content database and a communication content standard database according to the target communication content, where the communication content data includes: identification information of a target user, communication time parameters of instant messaging, communication contents and similarity of the communication contents;
the information processing module is used for acquiring the position service information of a target user and constructing a geographic position real-time database based on the position service information;
the information processing module is used for determining network parameters of a standard text semantic processing network based on similarity parameters of different sentences in the communication content standard database;
the information processing module is used for adjusting network parameters of the standard text semantic processing network by utilizing the Hamming distances of different sentences in different target communication contents so as to realize the calculation of the composite Hamming distance score of the communication contents of the target user in a standard semantic scene through the standard text semantic processing network;
the information processing module is used for obtaining semantic scores of different sentences in the target communication content through the composite Hamming distance score of the communication content;
the information processing module is used for determining a traveling route matched with the target user based on semantic scores of different sentences in the target communication content, and presenting corresponding navigation information in the map client based on the traveling route.
12. A computer program product comprising a computer program or instructions for implementing the navigation information generating method of any one of claims 1 to 10 when executed by a processor.
13. An electronic device, characterized in that the electronic device comprises:
a memory for storing executable instructions;
a processor for implementing the navigation information generating method of any one of claims 1 to 10 when executing the executable instructions stored in the memory.
14. A computer-readable storage medium storing executable instructions, wherein the executable instructions, when executed by a processor, implement the navigation information generating method of any one of claims 1 to 10.
CN202111255763.7A 2021-10-27 2021-10-27 Navigation information generation method and device, electronic equipment and storage medium Active CN113688333B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111255763.7A CN113688333B (en) 2021-10-27 2021-10-27 Navigation information generation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111255763.7A CN113688333B (en) 2021-10-27 2021-10-27 Navigation information generation method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113688333A CN113688333A (en) 2021-11-23
CN113688333B true CN113688333B (en) 2022-02-08

Family

ID=78588293

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111255763.7A Active CN113688333B (en) 2021-10-27 2021-10-27 Navigation information generation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113688333B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105827798A (en) * 2015-07-29 2016-08-03 维沃移动通信有限公司 Processing method of position information and electronic device
CN109425361A (en) * 2017-09-05 2019-03-05 上海博泰悦臻网络技术服务有限公司 A kind of navigation method and system, car-mounted terminal based on wechat
KR20200119016A (en) * 2019-04-09 2020-10-19 주식회사 단비아이엔씨 Chatbot-based web page navigation apparatus and method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9574898B2 (en) * 2014-03-20 2017-02-21 Here Global B.V. Method and apparatus for providing sharing of navigation route and guidance information among devices
CN104296769A (en) * 2014-10-14 2015-01-21 广东翼卡车联网服务有限公司 Navigation method and system taking positional information shared by social software as destination

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105827798A (en) * 2015-07-29 2016-08-03 维沃移动通信有限公司 Processing method of position information and electronic device
CN109425361A (en) * 2017-09-05 2019-03-05 上海博泰悦臻网络技术服务有限公司 A kind of navigation method and system, car-mounted terminal based on wechat
KR20200119016A (en) * 2019-04-09 2020-10-19 주식회사 단비아이엔씨 Chatbot-based web page navigation apparatus and method

Also Published As

Publication number Publication date
CN113688333A (en) 2021-11-23

Similar Documents

Publication Publication Date Title
CN111897941B (en) Dialogue generation method, network training method, device, storage medium and equipment
Uc-Cetina et al. Survey on reinforcement learning for language processing
CN112329467B (en) Address recognition method and device, electronic equipment and storage medium
US20200042597A1 (en) Generating question-answer pairs for automated chatting
CN111125309A (en) Natural language processing method and device, computing equipment and storage medium
WO2017186050A1 (en) Segmented sentence recognition method and device for human-machine intelligent question-answer system
US20200183928A1 (en) System and Method for Rule-Based Conversational User Interface
EP4113357A1 (en) Method and apparatus for recognizing entity, electronic device and storage medium
US20210248450A1 (en) Sorting attention neural networks
EP4125029A1 (en) Electronic apparatus, controlling method of thereof and non-transitory computer readable recording medium
CN111033490A (en) Cognitive mediator for cognitive instances
CN110720098A (en) Adaptive interface in voice activated network
WO2023159767A1 (en) Target word detection method and apparatus, electronic device and storage medium
CN113392197A (en) Question-answer reasoning method and device, storage medium and electronic equipment
CN116541493A (en) Interactive response method, device, equipment and storage medium based on intention recognition
CN117172978B (en) Learning path information generation method, device, electronic equipment and medium
CN109190116A (en) Semantic analytic method, system, electronic equipment and storage medium
CN113688333B (en) Navigation information generation method and device, electronic equipment and storage medium
CN113741759B (en) Comment information display method and device, computer equipment and storage medium
CN116362331A (en) Knowledge point filling method based on man-machine cooperation construction knowledge graph
CN114398903B (en) Intention recognition method, device, electronic equipment and storage medium
CN115129849A (en) Method and device for acquiring topic representation and computer readable storage medium
CN117131152B (en) Information storage method, apparatus, electronic device, and computer readable medium
CN113822034B (en) Method, device, computer equipment and storage medium for replying text
Faithpraise et al. Development of web application for ontology-based e-learning system

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40055361

Country of ref document: HK