Communication track determination method and device

By building the user's knowledge graph and relationship network to verify the confidence of real-time trajectories, it solves the problem that users' self-input information cannot reflect the actual location, achieves more accurate communication trajectory queries, and improves service quality and efficiency.

CN118803570APending Publication Date: 2024-10-18CHINA MOBILE GRP HEILONGJIANG CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310869839.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-14
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

In the existing technology, the communication trajectory query results initiated by users themselves cannot truly reflect the actual location of the mobile terminal user, resulting in an impact on service quality and efficiency.

Method used

By constructing the user's knowledge graph and relationship network, the time prediction model and relationship network are used to verify the real-time trajectory, determine the confidence of the trajectory, and determine the communication trajectory when there is no abnormality in the confidence to improve the accuracy of trajectory query.

Benefits of technology

It effectively improves the accuracy of user communication trajectories, can truly reflect the user's actual location, and improves service quality and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118803570A_ABST
    Figure CN118803570A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of big data, and provides a communication track determination method and device. The method comprises the following steps: constructing a knowledge graph corresponding to a first user based on first behavior data of the first user of which a communication track is to be determined; based on second behavior data of a second user associated with the first user, constructing a relationship network corresponding to the first user; determining the confidence coefficient of the real-time track of the first user based on the knowledge graph and the relational network; and under the condition that the confidence coefficient indicates no abnormity, determining a real-time track with the confidence coefficient indicating no abnormity as a communication track of the first user. According to the communication track determination method provided by the embodiment of the invention, the accuracy of the user communication track can be effectively improved, and the actual position of the user can be effectively reflected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of big data technology, and in particular to a method and device for determining a communication trajectory. Background Art

[0002] At present, in the existing scenario of querying user communication tracks, for example, when querying the user's itinerary card, the user usually initiates the track query by himself using the mobile phone, and displays the query result to the inspector, so that the inspector can provide corresponding services to the user according to the query result and the relevant strategy. Specifically, the user can enter the mobile phone number in the query interface based on the communication user information, so that the itinerary server can query the location of the base station connected when the mobile communication terminal using the mobile phone number performs data communication according to the mobile phone number, and return the location to the user as the location query result for the mobile phone number, so that the user can display the returned location query result to the service personnel, so that the service personnel can provide services to the user based on the query result.

[0003] However, since the user track query process is initiated by the user himself, the query result is actually only generated for the communication information input by the user himself. Therefore, there is a problem that the query result provided by the user cannot truly reflect the actual location of the user using the mobile terminal. Summary of the invention

[0004] The embodiments of the present application provide a communication track determination method and device to solve the technical problem that the query result provided by the user cannot actually reflect the actual location of the user using the mobile terminal.

[0005] In a first aspect, an embodiment of the present application provides a communication trajectory determination method, including:

[0006] Based on the first behavior data of the first user whose communication trajectory is to be determined, a knowledge graph corresponding to the first user is constructed; wherein the first behavior data includes: at least one of: mobile phone number login device information, electronic account information, social network information, residence information, and work information;

[0007] constructing a relationship network corresponding to the first user based on second behavior data of a second user associated with the first user;

[0008] Determining the confidence of the real-time trajectory of the first user based on the knowledge graph and the relationship network;

[0009] In a case where the confidence level indicates no abnormality, the real-time trajectory of the confidence level indicating no abnormality is determined as the communication trajectory of the first user.

[0010] In one embodiment, determining the confidence of the real-time trajectory of the first user based on the knowledge graph and the relationship network includes:

[0011] Based on the knowledge graph, obtaining a real-time trajectory of the first user;

[0012] By using a preset time prediction model, the real-time trajectory is verified using the relationship network to obtain a verification result;

[0013] Based on the verification result, a confidence level of the real-time trajectory is determined.

[0014] In one embodiment, the method further comprises:

[0015] In the case where the confidence level indicates an abnormality, determining a cause of the abnormality corresponding to the real-time trajectory;

[0016] The knowledge graph is updated based on the cause of the abnormality, the updated knowledge graph is used as the knowledge graph, and the process of returning to execute the preset time prediction model and verifying the real-time trajectory using the relationship network to obtain a verification result; based on the verification result, the step of determining the confidence level of the real-time trajectory until the confidence level indicates no abnormality.

[0017] In one embodiment, the step of updating the knowledge graph based on the abnormal cause, using the updated knowledge graph as the knowledge graph, returning to execute the step of verifying the real-time trajectory using the relationship network through the preset time prediction model to obtain a verification result; and determining the confidence of the real-time trajectory based on the verification result until the confidence indicates no abnormality, includes:

[0018] Update the knowledge graph based on the abnormal cause, and use the updated knowledge graph as the knowledge graph;

[0019] Training the time prediction model based on the abnormal cause, and using the trained time prediction model as the time prediction model;

[0020] Return to the step of verifying the real-time trajectory using the relationship network through the preset time prediction model to obtain a verification result; and determining the confidence level of the real-time trajectory based on the verification result until the confidence level indicates no abnormality.

[0021] In one embodiment, the real-time trajectory is verified by using the relationship network through a preset time prediction model to obtain a verification result, including:

[0022] In the relationship network, identifying a target group photo including the first user, and determining a shooting time and a shooting location corresponding to the target group photo;

[0023] Based on the shooting time and the shooting location, the time and location in the real-time trajectory are verified by the time prediction model to obtain the verification result.

[0024] In one embodiment, determining the shooting time and shooting location corresponding to the target group photo includes at least one of the following:

[0025] When the target group photo is taken by application software, obtaining the shooting time and the shooting location from the application software;

[0026] When the target group photo is uploaded by a terminal, obtaining the shooting time and the shooting location uploaded by the terminal;

[0027] The shooting time and the shooting location are determined based on the target element in the target group photo.

[0028] In one embodiment, the real-time trajectory is obtained by at least one of the following:

[0029] The communication card information corresponding to the communication number of the scanned itinerary code;

[0030] The communication card information corresponding to the communication number bound to the identification ID of the terminal that scans the itinerary code;

[0031] Terminal for scanning itinerary code;

[0032] the scanned physical features of the first user;

[0033] The identity information of the first user.

[0034] In one embodiment, the method further comprises:

[0035] Execute a target operation based on the communication trace to obtain a query result;

[0036] The target operation includes at least one of the following:

[0037] In response to a first query instruction instructing to query a trajectory within a specified date or a specified time period, obtaining a communication trajectory corresponding to the specified date or the specified time period from the communication trajectory and outputting it as a first query result;

[0038] In response to a second query instruction instructing to query whether the first user has visited a designated area, outputting a judgment result indicating whether the communication track overlaps with the designated area as a second query result;

[0039] In response to a third query instruction instructing to query the tracks of other users in a preset group within a specified date or a specified time period, obtaining the communication tracks corresponding to the specified date or the specified time period from the communication tracks of the other users and outputting them as a third query result;

[0040] In response to a fourth query instruction instructing to query whether other users in a preset group have visited a designated area, outputting a judgment result representing whether a communication track of the other users overlaps with the designated area as a fourth query result;

[0041] In response to a fifth query instruction instructing to query the usage of the communication number of the first user, the usage of the communication number of the first user is obtained based on the communication track and the communication card information of the first user, and is output as a fifth query result.

[0042] In one embodiment, the method further comprises:

[0043] The target itinerary card page corresponding to the query result is input into the recognition model to obtain a recognition result output by the recognition model indicating whether the target itinerary card page is normal; wherein the recognition model is trained based on a preset initial itinerary card page, a disturbance pattern and an adversarial training method, and the recognition model is used to identify whether the target itinerary card page is normal.

[0044] In a second aspect, an embodiment of the present application provides a communication track determination device, including:

[0045] A first construction module is used to: construct a knowledge graph corresponding to a first user based on first behavior data of a first user whose communication trajectory is to be determined; wherein the first behavior data includes at least one of: mobile phone number login device information, electronic account information, social network information, residence information, and work information;

[0046] A second building module is used to: build a relationship network corresponding to the first user based on second behavior data of a second user associated with the first user;

[0047] A first determination module, configured to: determine the confidence of the real-time trajectory of the first user based on the knowledge graph and the relationship network;

[0048] The second determination module is used to: when the confidence indication is normal, determine the real-time trajectory of the confidence indication that there is no abnormality as the communication trajectory of the first user.

[0049] In a third aspect, an embodiment of the present application provides a terminal, including a memory, a transceiver, and a processor;

[0050] A memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations:

[0051] Based on the first behavior data of the first user whose communication trajectory is to be determined, a knowledge graph corresponding to the first user is constructed; wherein the first behavior data includes: at least one of: mobile phone number login device information, electronic account information, social network information, residence information, and work information;

[0052] constructing a relationship network corresponding to the first user based on second behavior data of a second user associated with the first user;

[0053] Determining the confidence of the real-time trajectory of the first user based on the knowledge graph and the relationship network;

[0054] In a case where the confidence level indicates no abnormality, the real-time trajectory of the confidence level indicating no abnormality is determined as the communication trajectory of the first user.

[0055] In a fourth aspect, an embodiment of the present application provides an electronic device, including a processor and a memory storing a computer program, wherein when the processor executes the program, the steps of the communication trajectory determination method described in the first aspect are implemented.

[0056] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the communication trajectory determination method described in the first aspect.

[0057] The communication trajectory determination method and device provided in the embodiment of the present application can, for the first user whose communication trajectory is to be determined, construct a knowledge graph corresponding to the first user based on the first behavior data of the first user, and construct a relationship network corresponding to the first user based on the second behavior data of the second user associated with the first user, and then determine the confidence of the real-time trajectory of the first user based on the constructed knowledge graph and relationship network to characterize the accuracy of the real-time trajectory, and then determine the real-time trajectory whose confidence indicates no abnormality as the communication trajectory of the first user. The embodiment of the present application can combine the knowledge graph and relationship network of the first user to jointly evaluate the accuracy of the real-time trajectory of the first user, and characterize the accuracy of the real-time trajectory by the confidence. When the confidence indicates no abnormality, the corresponding real-time trajectory is used as the communication trajectory of the first user. Compared with the related technology that determines the communication trajectory of the user only based on the communication information input by the user, the present application effectively improves the accuracy of the user's communication trajectory and can effectively reflect the actual location of the user. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0059] Figure 1 This is one of the flow charts of the communication track determination method provided in the embodiment of the present application;

[0060] Figure 2 is a schematic diagram of a relationship network in the communication trajectory determination method provided in an embodiment of the present application;

[0061] Figure 3 This is the second flow chart of the communication track determination method provided in the embodiment of the present application;

[0062] Figure 4 It is a flowchart of adversarial training in the communication trajectory determination method provided in an embodiment of the present application;

[0063] Figure 5 is a schematic diagram of the structure of a communication trajectory determination device provided in an embodiment of the present application;

[0064] Figure 6 is a schematic diagram of the structure of a terminal provided in an embodiment of the present application;

[0065] Figure 7 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application; DETAILED DESCRIPTION

[0066] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0067] It should be noted that all user-related data involved in this application must be authorized and agreed by the user.

[0068] Figure 1 This is one of the flow charts of the communication track determination method provided in the embodiment of the present application. Figure 1 , the present application embodiment provides a communication track determination method, which may include:

[0069] Step 101: construct a knowledge graph corresponding to the first user based on the first behavior data of the first user whose communication trajectory is to be determined; wherein the first behavior data includes at least one of: mobile phone number login device information, electronic account information, social network information, residence information, and work information.

[0070] Step 102: construct a relationship network corresponding to the first user based on second behavior data of a second user associated with the first user.

[0071] Step 103: Determine the confidence level of the real-time trajectory of the first user based on the knowledge graph and the relationship network.

[0072] Step 104: When the confidence level indicates no abnormality, determine the real-time trajectory of the confidence level indicating no abnormality as the communication trajectory of the first user.

[0073] Since the query process in the related art is initiated by the user himself, the query result is actually only generated for the communication information input by the user himself. Therefore, there is a problem that the query result provided by the user cannot truly reflect the actual location of the user using the mobile terminal.

[0074] For example, a user temporarily changes his mobile phone card or logs in to another mobile phone number before making a query, resulting in the query result provided to the inspector not being the user's actual historical itinerary. When the inspector provides the user with the corresponding service, it is actually based on the wrong user location, which seriously affects the quality and efficiency of the service provided. For example, it may result in users who have been to high-risk areas having the ability to purchase train tickets to travel.

[0075] The embodiments of the present application can improve the accuracy of the existing user trajectory query. Specifically, the communication number of the communication card in the mobile terminal currently used by the user and the communication number associated with the user's identity information can be combined to query the corresponding communication records within a specified date or a specified time period, and the location of the user's data communication within the specified date or specified time period can be determined based on the communication records obtained in this way.

[0076] In the embodiment of the present application, for the first user whose communication trajectory is to be determined, a knowledge graph corresponding to the first user can be constructed based on the first behavior data of the first user.

[0077] For example, for the first behavior data of the first user, the following first user behavior data (all authorized by the user) may be obtained from user a (the first user) who needs to display the communication track:

[0078] (1) Login information of at least one mobile phone number (all belonging to user a, regardless of operator) on at least one terminal device during a historical period, including address, time, and device identification (ID).

[0079] (2) Login information of an electronic account (social account, telecommunication account, financial account, etc.) on at least one terminal device during a historical period.

[0080] (3) The location when posting “new things” on social platforms or applications (apps), the location information of photos, and the identity of the people in the photos.

[0081] (4) User a’s residential information and work information.

[0082] A relationship network corresponding to the first user may also be constructed based on the second behavior data of the second user associated with the first user.

[0083] For example, the second behavior data of user b may also be obtained, where user b is a user who has an association with user a, and the association may be, for example, a relative, friend, colleague, or the like.

[0084] Figure 2 is a schematic diagram of a relationship network in the communication trajectory determination method provided in an embodiment of the present application, with reference to Figure 2 For a first user, a second user may be a relative, a real friend, an online friend, a colleague, etc. of the first user, and multiple second users may also be associated with each other.

[0085] Optionally, the knowledge graph of the first user may also be jointly constructed based on the first behavior data of the first user and the second behavior data of the second user.

[0086] After constructing the knowledge graph and relationship network of the first user, the confidence of the real-time trajectory of the first user can be determined based on the knowledge graph and the relationship network to characterize the accuracy of the real-time trajectory, and then the real-time trajectory whose confidence indicates no abnormality can be determined as the communication trajectory of the first user.

[0087] Optionally, the real-time trajectory can be obtained by at least one of the following:

[0088] a) The communication card information corresponding to the communication number of the scanned itinerary code;

[0089] Optionally, the communication number may be a mobile phone number (which may include information such as a terminal ID), and the communication card information may be mobile phone card information.

[0090] Specifically, the real-time trajectory of the first user can be obtained based on the mobile card information used in the mobile communication device used by the first user. When the user uses the mobile communication device in daily life, the mobile card information can be included in the data communication request, so that the nearby base station can forward the communication data for the first user by verifying the mobile card information. Therefore, based on such mobile card information obtained from the user, the communication data record related to the mobile card information can be obtained from, for example, a communication server, and the location of the user at each time when performing data communication can be determined based on the communication data record.

[0091] For example, the location may be the location recorded by a nearby base station when the first user uses a mobile communication device with a SIM card inserted for data communication. The location may only indicate the area or approximate range where the first user is located. Alternatively, when the first user performs data communication, the communication data may include the user's current location information collected by its mobile terminal, and the communication server may record the location information when recording the user's data communication record. The location determined based on the communication data record may also be the precise location of the user when performing data communication.

[0092] b) The communication card information corresponding to the communication number bound to the ID of the terminal that scans the itinerary code;

[0093] Specifically, as the user uses the mobile terminal, the communication server may successively store communication records corresponding to, for example, the communication user identification of the communication card in the mobile terminal.

[0094] For example, most users currently use two different SIM cards in their mobile phones, and can use these two SIM cards for data communication and voice communication respectively. Therefore, the communication server also records the communication records corresponding to these two SIM cards accordingly. And when it is necessary to know the location of the user at a specified time or a specified time period, the location information of the user when communicating with these two mobile phone numbers can be obtained by querying the communication records on the communication server, and thus the location of the user at the specified date or specified time period can be determined.

[0095] c) Terminal for scanning the itinerary code;

[0096] Specifically, the terminal that scans the travel code can obtain the real-time trajectory based on the scanning record.

[0097] d) the scanned physical features of the first user;

[0098] Optionally, the physical features may include facial features, fingerprint features, etc.

[0099] e) Identity information of the first user.

[0100] Optionally, the identity information may include an ID number obtained by identifying the user's ID card.

[0101] Specifically, based on the real-time trajectory of the user obtained based on the mobile phone card in the user's mobile phone, the user's identity information can be further obtained, such as the identity information obtained by reading the ID number of the ID card issued by the identity management department, and obtaining all mobile phone numbers corresponding to the identity information from the communication server based on the identity information obtained in this way, and then querying the historical communication trajectories of these mobile phone numbers; or it can be based on the user's physical features, for example, through facial features, and the identity information matching the features obtained from the identity server in the cloud can be used as the identity information of the user.

[0102] After obtaining the identity information, the user identification corresponding to the identity information, such as the mobile communication number, can be queried from the communication server or another server storing the user identification associated with the identity information based on the identity information of the user thus obtained. For example, at each mobile operator, a user can register with his / her real name when purchasing a mobile phone number to bind his / her identity information with the purchased mobile phone number, that is, to establish a corresponding relationship, and the operator can store such a corresponding relationship in the server, so that when receiving the user's data communication request, the user's communication request can be authenticated based on the corresponding relationship between the mobile phone number and the identity information stored in advance, and data receiving and sending services can be provided to the user after verification, and the user's data communication record can be stored on the communication server accordingly.

[0103] For example, a user may obtain two mobile phone numbers from a mobile operator, and both communication numbers are bound to the user's ID number. Therefore, the mobile phone number associated with the user's identity information can be obtained from, for example, a communication identity server storing the communication numbers, and the corresponding communication records can be queried, and the location within a specified date or date range can be determined based on the queried communication records.

[0104] In the communication trajectory determination method provided in the embodiment of the present application, the knowledge graph and relationship network of the first user can be combined to jointly evaluate the accuracy of the real-time trajectory of the first user, and the accuracy of the real-time trajectory can be characterized by confidence. When the confidence indicates no abnormality, the corresponding real-time trajectory is used as the communication trajectory of the first user. Compared with the related technology that determines the communication trajectory of the user only based on the communication information input by the user, the present application effectively improves the accuracy of the user's communication trajectory and can effectively reflect the actual location of the user.

[0105] Optionally, the implementation method of determining the confidence of the real-time trajectory of the first user based on the knowledge graph and the relationship network may include:

[0106] Based on the knowledge graph, obtaining a real-time trajectory of the first user;

[0107] By using a preset time prediction model, the real-time trajectory is verified using the relationship network to obtain a verification result;

[0108] Based on the verification result, a confidence level of the real-time trajectory is determined.

[0109] Specifically, based on the knowledge graph of the first user, the corresponding real-time trajectory can be obtained, and then the real-time trajectory can be verified by using a relationship network through a preset time prediction model to obtain a verification result, and then the confidence of the real-time trajectory can be determined based on the verification result.

[0110] For example, the real-time trajectory of the first user obtained based on the knowledge graph indicates that the user was located in Harbin during a certain period of time. However, through the relationship network of the first user, it is found that the second user and the first user took a photo together during the period of time, and the real-time location of the photo was Beijing. There is a contradiction between the two, so it can be considered that there is an anomaly in the real-time trajectory of the first user. At this time, the confidence level indicating the anomaly can be output.

[0111] Optionally, when the confidence level indicates an abnormality, a cause of the abnormality corresponding to the real-time trajectory may be determined;

[0112] The knowledge graph is updated based on the cause of the abnormality, the updated knowledge graph is used as the knowledge graph, and the process of returning to execute the preset time prediction model and verifying the real-time trajectory using the relationship network to obtain a verification result; based on the verification result, the step of determining the confidence level of the real-time trajectory until the confidence level indicates no abnormality.

[0113] Optionally, the updating of the knowledge graph based on the abnormal cause, taking the updated knowledge graph as the knowledge graph, returning to execute the step of verifying the real-time trajectory using the relationship network through the preset time prediction model to obtain a verification result; and determining the confidence of the real-time trajectory based on the verification result until the confidence indicates that there is no abnormality may include:

[0114] Update the knowledge graph based on the abnormal cause, and use the updated knowledge graph as the knowledge graph;

[0115] Training the time prediction model based on the abnormal cause, and using the trained time prediction model as the time prediction model;

[0116] Return to the step of verifying the real-time trajectory using the relationship network through the preset time prediction model to obtain a verification result; and determining the confidence level of the real-time trajectory based on the verification result until the confidence level indicates no abnormality.

[0117] Specifically, the idea of ​​prediction through the time prediction model is as follows:

[0118] Step 1: Input the knowledge graph of the first user into the time prediction model, train the time prediction model, so that the time prediction model can better predict whether the real-time trajectory of the first user is suspected of abnormality, and output a confidence level.

[0119] For example, after obtaining the real-time trajectory of user a, it is found that in the picture posted by user b on the social platform, there is a photo of two people at a certain time and place, and during that time, the place has no intersection with the real-time trajectory of user a. In this case, it can be determined that there is an abnormality in the communication trajectory of user a, and the real-time trajectory of user a can be set with an abnormal label.

[0120] Optionally, the method of obtaining the verification result by verifying the real-time trajectory using the relationship network through the preset time prediction model may include:

[0121] In the relationship network, identifying a target group photo including the first user, and determining a shooting time and a shooting location corresponding to the target group photo;

[0122] Based on the shooting time and the shooting location, the time and location in the real-time trajectory are verified by the time prediction model to obtain the verification result.

[0123] Optionally, the implementation method of determining the shooting time and shooting location corresponding to the target group photo may include at least one of the following:

[0124] 1) When the target group photo is taken by application software, the shooting time and the shooting location are obtained from the application software.

[0125] Specifically, the target group photo can be taken in real time when using the app software, and the shooting time and location are recorded by the social platform.

[0126] 2) When the target group photo is uploaded via a terminal, the shooting time and the shooting location uploaded by the terminal are obtained.

[0127] Specifically, you can upload photos previously taken by the terminal, and share the shooting time and location when uploading by the terminal.

[0128] 3) Based on the target elements in the target group photo, determine the shooting time and the shooting location.

[0129] Specifically, the shooting time and location can be judged through some elements in the photo. For example, if a photo is taken in front of a train station with a clock in front of the station, it can be judged that the shooting time is the time displayed on the clock and the shooting location is the train station.

[0130] Step 2: If the real-time trajectory of the first user is set to abnormal, verify the cause of the abnormality, obtain the updated two user behavior data (first behavior data and second behavior data) after error correction, update the knowledge graph, update the model training, and feed back the output results of each user (for example, user a) in the model to the knowledge graph each time, update the entities or edges on the knowledge graph, and repeat this cycle to make the model prediction effect more accurate. Figure 3 This is a flow chart of the communication track determination method provided in the embodiment of the present application. Figure 3 .

[0131] After multiple trainings, if the real-time trajectories of the users are judged to be normal, the time prediction model can be output, and the knowledge graph and communication trajectory of the first user can be output at the same time.

[0132] Optionally, a target operation may be performed based on the communication trace to obtain a query result;

[0133] The target operation includes at least one of the following:

[0134] (1) In response to a first query instruction instructing to query a trajectory within a specified date or a specified time period, the communication trajectory corresponding to the specified date or the specified time period is obtained from the communication trajectory and output as a first query result.

[0135] Specifically, the location data (included in the communication track) of the first user at a specified date or specified time period can be obtained. When querying the communication records from the mobile communication server, due to the large number of communication records, the time of the communication records to be queried can usually be specified.

[0136] For example, a specific date or a specific time period may be specified as a constraint condition for the communication records to be queried, such as 7 days or 14 days, so that the location data of users who use the communication user information for data communication on the specified date or time period may be obtained.

[0137] For another example, when a period of date is specified as a constraint condition for querying communication records when querying communication records, multiple locations of the user during the period can be obtained, the locations in the user's communication records can be obtained in units of days, and the communication tracks can be generated for the locations of each day during the period as the query results, or the locations of each day during the period can be compared first, and if the locations queried on consecutive days are the same, the locations of these consecutive days can be determined as one location.

[0138] If 7 days is specified as a specific time period when querying the communication records, and in the queried communication records, the locations recorded in the communication records of the first, second and third days are all Beijing, and the location recorded in the communication records of the fourth day is Tianjin, then Beijing and Tianjin can be output as the communication tracks of the 4-day time period.

[0139] (2) In response to a second query instruction instructing to query whether the first user has visited a designated area, a judgment result indicating whether the communication track overlaps with the designated area is output as a second query result.

[0140] Specifically, a designated area or region may be given to determine whether the user has visited the place or region (designated region) at a designated time.

[0141] Based on the communication track of the user's data communication within the specified date determined as above, a specific area or region can be further specified, so that the communication location in the communication track determined by the above query can be filtered according to the specified area, and the location information that meets the conditions of the specified area or region after filtering can be output.

[0142] For example, an area outside the area to which the user's communication number belongs can be specified as a designated area, or an area outside the area to which the user's identity information belongs can be specified as a designated area, so that the locations outside the designated area among the locations obtained by the above query can be output and displayed as filtered locations.

[0143] (3) In response to a third query instruction instructing to query the tracks of other users in a preset group within a specified date or a specified time period, the communication tracks corresponding to the specified date or the specified time period are obtained from the communication tracks of the other users and output as the third query result.

[0144] (4) In response to a fourth query instruction instructing to query whether other users in a preset group have visited a designated area, a judgment result indicating whether the communication track of the other users overlaps with the designated area is output as a fourth query result.

[0145] Specifically, by establishing a group relationship, the communication tracks of other users in the group within a specified date or a specified time period can be queried.

[0146] In addition, when the user's identity information is obtained, the identity information server may be further searched for group information registered or designated by the user at a provider providing communication services based on the identity information.

[0147] For example, a user may designate his or her family or friends in a unified group and register the identity information of the family or friends designated as the group with the service provider, so that the service provider can provide corresponding specific services to all users in the group based on the identity information of the family or friends registered by the user. In this case, the communication tracks of these users within a specified date or specified time period can be further queried based on the identity information of other users in the group queried based on the identity information of the user, and can be output together with the communication track queried for the user as above.

[0148] (5) In response to a fifth query instruction instructing to query the usage of the communication number of the first user, based on the communication track and the communication card information of the first user, the usage of the communication number of the first user is obtained and output as the fifth query result.

[0149] Specifically, the usage of these communication numbers can be obtained based on the user's communication track and bound communication card information.

[0150] In addition, in an embodiment of the present application, based on obtaining the communication number associated with the user's identity and / or the communication number of the communication card in the terminal currently used by the user, the usage of these communication numbers can be further obtained.

[0151] For example, the activation status of each communication number, that is, the time and place of the first data communication, can be obtained, and from this, it can be further determined whether the user has activated multiple communication numbers in a short period of time, or whether he is a permanent user in a designated area, etc.

[0152] Optionally, the target itinerary card page corresponding to the query result may be input into a recognition model to obtain a recognition result output by the recognition model indicating whether the target itinerary card page is normal;

[0153] Among them, the recognition model is trained based on a preset initial itinerary card page, a disturbance pattern and an adversarial training method, and the recognition model is used to identify whether the target itinerary card page is normal.

[0154] Specifically, the embodiments of the present application also provide a method for preventing the influence of disturbance patterns and reducing the probability of misidentification of the itinerary card.

[0155] In some embodiments, if an all-in-one terminal is used to intelligently identify the communication itinerary card (itinerary card page) displayed on a mobile phone, a disturbance pattern can be added to the communication itinerary card and then input into the recognition model for adversarial training, so that the model in the device recognizes the communication itinerary card with the added disturbance pattern as abnormal or normal.

[0156] For example, Figure 4 is a flow chart of adversarial training in the communication trajectory determination method provided in the embodiment of the present application, with reference to Figure 4 , add the first disturbance pattern to the normal communication itinerary card, so that the model recognizes it as abnormal; add the second disturbance pattern to the abnormal communication itinerary card, so that the model recognizes it as normal. In these two cases, the recognition results will be disturbed, which can prove that the robustness of the model is poor. Therefore, it is necessary to conduct adversarial training on the recognition model to reduce the probability of misidentification of the communication itinerary card. Specifically, the existing adversarial training method can be used to conduct adversarial training on the recognition model.

[0157] In the embodiment of the present application, the user's real track is determined by using the mobile phone card currently used by the user and the bound mobile phone number queried based on the identity information, thereby improving the accuracy of determining the communication track.

[0158] The communication trajectory determination device provided in an embodiment of the present application is described below. The communication trajectory determination device described below and the communication trajectory determination method described above can correspond to each other.

[0159] Figure 5 is a schematic diagram of the structure of the communication trajectory determination device provided in an embodiment of the present application, referring to Figure 5 , the communication track determination device 500 includes:

[0160] The first construction module 501 is used to: construct a knowledge graph corresponding to the first user based on the first behavior data of the first user whose communication trajectory is to be determined; wherein the first behavior data includes: at least one of: mobile phone number login device information, electronic account information, social network information, residence information, and work information;

[0161] A second construction module 502 is used to: construct a relationship network corresponding to the first user based on second behavior data of a second user associated with the first user;

[0162] A first determination module 503 is used to determine the confidence of the real-time trajectory of the first user based on the knowledge graph and the relationship network;

[0163] The second determining module 504 is configured to: when the confidence level indicates no abnormality, determine the real-time trajectory of the confidence level indicating no abnormality as the communication trajectory of the first user.

[0164] In the communication trajectory determination device provided in the embodiment of the present application, the knowledge graph and relationship network of the first user can be combined to jointly evaluate the accuracy of the real-time trajectory of the first user, and the accuracy of the real-time trajectory can be characterized by confidence. When the confidence indicates no abnormality, the corresponding real-time trajectory is used as the communication trajectory of the first user. Compared with the related technology that determines the communication trajectory of the user only based on the communication information input by the user, the present application effectively improves the accuracy of the user's communication trajectory and can effectively reflect the actual location of the user.

[0165] Optionally, the first determining module 503 is specifically configured to:

[0166] Based on the knowledge graph, obtaining a real-time trajectory of the first user;

[0167] By using a preset time prediction model, the real-time trajectory is verified using the relationship network to obtain a verification result;

[0168] Based on the verification result, a confidence level of the real-time trajectory is determined.

[0169] Optionally, the communication track determination device 500 further includes:

[0170] A processing module, configured to: determine a cause of the abnormality corresponding to the real-time trajectory when the confidence level indicates an abnormality;

[0171] The knowledge graph is updated based on the cause of the abnormality, the updated knowledge graph is used as the knowledge graph, and the process of returning to execute the preset time prediction model and verifying the real-time trajectory using the relationship network to obtain a verification result; based on the verification result, the step of determining the confidence level of the real-time trajectory until the confidence level indicates no abnormality.

[0172] Optionally, the processing module is specifically used for:

[0173] Update the knowledge graph based on the abnormal cause, and use the updated knowledge graph as the knowledge graph;

[0174] Training the time prediction model based on the abnormal cause, and using the trained time prediction model as the time prediction model;

[0175] Return to the step of verifying the real-time trajectory using the relationship network through the preset time prediction model to obtain a verification result; and determining the confidence level of the real-time trajectory based on the verification result until the confidence level indicates no abnormality.

[0176] Optionally, the first determining module 503 is further specifically configured to:

[0177] In the relationship network, identifying a target group photo including the first user, and determining a shooting time and a shooting location corresponding to the target group photo;

[0178] Based on the shooting time and the shooting location, the time and location in the real-time trajectory are verified by the time prediction model to obtain the verification result.

[0179] Optionally, the first determining module 503 is further specifically configured to perform at least one of the following:

[0180] When the target group photo is taken by application software, obtaining the shooting time and the shooting location from the application software;

[0181] When the target group photo is uploaded by a terminal, obtaining the shooting time and the shooting location uploaded by the terminal;

[0182] The shooting time and the shooting location are determined based on the target element in the target group photo.

[0183] Optionally, the real-time trajectory is obtained by at least one of the following:

[0184] The communication card information corresponding to the communication number of the scanned itinerary code;

[0185] The communication card information corresponding to the communication number bound to the identification ID of the terminal that scans the itinerary code;

[0186] Terminal for scanning itinerary code;

[0187] the scanned physical features of the first user;

[0188] The identity information of the first user.

[0189] Optionally, the processing module is further configured to:

[0190] Execute a target operation based on the communication trace to obtain a query result;

[0191] The target operation includes at least one of the following:

[0192] In response to a first query instruction instructing to query a trajectory within a specified date or a specified time period, obtaining a communication trajectory corresponding to the specified date or the specified time period from the communication trajectory and outputting it as a first query result;

[0193] In response to a second query instruction instructing to query whether the first user has visited a designated area, outputting a judgment result indicating whether the communication track overlaps with the designated area as a second query result;

[0194] In response to a third query instruction instructing to query the tracks of other users in a preset group within a specified date or a specified time period, obtaining the communication tracks corresponding to the specified date or the specified time period from the communication tracks of the other users and outputting them as a third query result;

[0195] In response to a fourth query instruction instructing to query whether other users in a preset group have visited a designated area, outputting a judgment result representing whether a communication track of the other users overlaps with the designated area as a fourth query result;

[0196] In response to a fifth query instruction instructing to query the usage of the communication number of the first user, the usage of the communication number of the first user is obtained based on the communication track and the communication card information of the first user, and is output as a fifth query result.

[0197] Optionally, the processing module is also used to: input the target itinerary card page corresponding to the query result into a recognition model, and obtain a recognition result output by the recognition model that characterizes whether the target itinerary card page is normal; wherein the recognition model is trained based on a pre-set initial itinerary card page, a disturbance pattern and an adversarial training method, and the recognition model is used to identify whether the target itinerary card page is normal.

[0198] The terminal involved in the embodiments of the present application may be a device that provides voice and / or data connectivity to a user, a handheld device with a wireless connection function, or other processing devices connected to a wireless modem, etc. In different systems, the name of the terminal device may also be different. For example, in a 5G system, the terminal device may be called a user equipment (UE).

[0199] The network device involved in the embodiments of the present application may be a base station, which may include multiple cells providing services for terminals. Depending on the specific application scenario, the base station may also be called an access point, or may be a device in an access network that communicates with a wireless terminal device through one or more sectors on an air interface, or other names.

[0200] Figure 6 is a schematic diagram of the structure of the terminal provided in the embodiment of the present application, referring to Figure 6 , the embodiment of the present application further provides a terminal, which may include: a memory 610, a transceiver 620 and a processor 630;

[0201] The memory 610 is used to store computer programs; the transceiver 620 is used to send and receive data under the control of the processor 630; the processor 630 is used to read the computer program in the memory 610 and perform the following operations:

[0202] Based on the first behavior data of the first user whose communication trajectory is to be determined, a knowledge graph corresponding to the first user is constructed; wherein the first behavior data includes: at least one of: mobile phone number login device information, electronic account information, social network information, residence information, and work information;

[0203] constructing a relationship network corresponding to the first user based on second behavior data of a second user associated with the first user;

[0204] Determining the confidence of the real-time trajectory of the first user based on the knowledge graph and the relationship network;

[0205] In a case where the confidence level indicates no abnormality, the real-time trajectory of the confidence level indicating no abnormality is determined as the communication trajectory of the first user.

[0206] Among them, Figure 6 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 630 and various circuits of memory represented by memory 610 are linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 620 may be a plurality of components, namely, a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium. For different user devices, the user interface 640 may also be an interface capable of externally connecting to the required internal devices.

[0207] The processor 630 is responsible for managing the bus architecture and general processing, and the memory 610 can store data used by the processor 630 when performing operations.

[0208] The processor 630 is used to execute any of the methods provided in the embodiments of the present application according to the obtained executable instructions by calling the computer program stored in the memory 610. The processor and the memory may also be arranged physically separately.

[0209] It should be noted here that the terminal and network device provided in the embodiment of the present application can implement all the method steps implemented in the above method embodiment and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as the method embodiment will not be described in detail here.

[0210] Figure 7 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application, such as Figure 7As shown, the electronic device 700 may include: a processor 710, a communication interface 720, a memory 730 and a communication bus 740, wherein the processor 710, the communication interface 720, and the memory 730 communicate with each other through the communication bus 740. The processor 710 may call a computer program in the memory 730 to execute the steps of the communication trajectory determination method, for example, including:

[0211] Based on the first behavior data of the first user whose communication trajectory is to be determined, a knowledge graph corresponding to the first user is constructed; wherein the first behavior data includes: at least one of: mobile phone number login device information, electronic account information, social network information, residence information, and work information;

[0212] constructing a relationship network corresponding to the first user based on second behavior data of a second user associated with the first user;

[0213] Determining the confidence of the real-time trajectory of the first user based on the knowledge graph and the relationship network;

[0214] In a case where the confidence level indicates no abnormality, the real-time trajectory of the confidence level indicating no abnormality is determined as the communication trajectory of the first user.

[0215] In addition, the logic instructions in the above-mentioned memory 730 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.

[0216] On the other hand, an embodiment of the present application further provides a computer program product, the computer program product including a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, and when the computer program is executed by a processor, the computer can perform the steps of the communication trajectory determination method provided in the above embodiments, for example, including:

[0217] Based on the first behavior data of the first user whose communication trajectory is to be determined, a knowledge graph corresponding to the first user is constructed; wherein the first behavior data includes: at least one of: mobile phone number login device information, electronic account information, social network information, residence information, and work information;

[0218] constructing a relationship network corresponding to the first user based on second behavior data of a second user associated with the first user;

[0219] Determining the confidence of the real-time trajectory of the first user based on the knowledge graph and the relationship network;

[0220] In a case where the confidence level indicates no abnormality, the real-time trajectory of the confidence level indicating no abnormality is determined as the communication trajectory of the first user.

[0221] On the other hand, an embodiment of the present application further provides a processor-readable storage medium, wherein the processor-readable storage medium stores a computer program, wherein the computer program is used to enable the processor to execute the steps of the communication trajectory determination method provided in the above embodiments, for example, including:

[0222] Based on the first behavior data of the first user whose communication trajectory is to be determined, a knowledge graph corresponding to the first user is constructed; wherein the first behavior data includes: at least one of: mobile phone number login device information, electronic account information, social network information, residence information, and work information;

[0223] constructing a relationship network corresponding to the first user based on second behavior data of a second user associated with the first user;

[0224] Determining the confidence of the real-time trajectory of the first user based on the knowledge graph and the relationship network;

[0225] In a case where the confidence level indicates no abnormality, the real-time trajectory of the confidence level indicating no abnormality is determined as the communication trajectory of the first user.

[0226] The processor-readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NANDFLASH), solid-state drive (SSD)), etc.

[0227] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0228] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0229] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A communication trajectory determination method, characterized in that: include: Based on the first behavior data of the first user whose communication trajectory is to be determined, a knowledge graph corresponding to the first user is constructed; wherein the first behavior data includes: at least one of: mobile phone number login device information, electronic account information, social network information, residence information, and work information; constructing a relationship network corresponding to the first user based on second behavior data of a second user associated with the first user; Determining the confidence of the real-time trajectory of the first user based on the knowledge graph and the relationship network; In a case where the confidence level indicates no abnormality, the real-time trajectory of the confidence level indicating no abnormality is determined as the communication trajectory of the first user.

2. The communication trajectory determination method according to claim 1, characterized in that: The determining the confidence of the real-time trajectory of the first user based on the knowledge graph and the relationship network includes: Based on the knowledge graph, obtaining a real-time trajectory of the first user; By using a preset time prediction model, the real-time trajectory is verified using the relationship network to obtain a verification result; Based on the verification result, a confidence level of the real-time trajectory is determined.

3. The communication trajectory determination method according to claim 2, characterized in that: The method further comprises: In the case where the confidence level indicates an abnormality, determining a cause of the abnormality corresponding to the real-time trajectory; The knowledge graph is updated based on the cause of the abnormality, the updated knowledge graph is used as the knowledge graph, and the process of returning to execute the preset time prediction model and verifying the real-time trajectory using the relationship network to obtain a verification result; based on the verification result, the step of determining the confidence level of the real-time trajectory until the confidence level indicates no abnormality.

4. The communication trajectory determination method according to claim 3, characterized in that: The updating of the knowledge graph based on the abnormal cause, taking the updated knowledge graph as the knowledge graph, returning to execute the preset time prediction model, using the relationship network to verify the real-time trajectory, and obtaining a verification result; The step of determining the confidence level of the real-time trajectory based on the verification result, until the confidence level indicates no abnormality, comprises: Update the knowledge graph based on the abnormal cause, and use the updated knowledge graph as the knowledge graph; Training the time prediction model based on the abnormal cause, and using the trained time prediction model as the time prediction model; Return to the step of verifying the real-time trajectory using the relationship network through the preset time prediction model to obtain a verification result; and determining the confidence level of the real-time trajectory based on the verification result until the confidence level indicates no abnormality.

5. The communication trajectory determination method according to any one of claims 2 to 4, characterized in that: The method of verifying the real-time trajectory by using the relationship network through the preset time prediction model to obtain a verification result includes: In the relationship network, identifying a target group photo including the first user, and determining a shooting time and a shooting location corresponding to the target group photo; Based on the shooting time and the shooting location, the time and location in the real-time trajectory are verified by the time prediction model to obtain the verification result.

6. The communication trajectory determination method according to claim 5, characterized in that: Determining the shooting time and location corresponding to the target group photo includes at least one of the following: When the target group photo is taken by application software, obtaining the shooting time and the shooting location from the application software; When the target group photo is uploaded by a terminal, obtaining the shooting time and the shooting location uploaded by the terminal; The shooting time and the shooting location are determined based on the target element in the target group photo.

7. The communication trajectory determination method according to claim 1, characterized in that: The real-time trajectory is obtained by at least one of the following: The communication card information corresponding to the communication number of the scanned itinerary code; The communication card information corresponding to the communication number bound to the identification ID of the terminal that scans the itinerary code; Terminal for scanning itinerary code; the scanned physical features of the first user; The identity information of the first user.

8. The communication trajectory determination method according to claim 1, characterized in that: The method further comprises: Execute a target operation based on the communication trace to obtain a query result; The target operation includes at least one of the following: In response to a first query instruction instructing to query a trajectory within a specified date or a specified time period, obtaining a communication trajectory corresponding to the specified date or the specified time period from the communication trajectory and outputting it as a first query result; In response to a second query instruction instructing to query whether the first user has visited a designated area, outputting a judgment result indicating whether the communication track overlaps with the designated area as a second query result; In response to a third query instruction instructing to query the tracks of other users in a preset group within a specified date or a specified time period, obtaining the communication tracks corresponding to the specified date or the specified time period from the communication tracks of the other users and outputting them as a third query result; In response to a fourth query instruction instructing to query whether other users in a preset group have visited a designated area, outputting a judgment result representing whether a communication track of the other users overlaps with the designated area as a fourth query result; In response to a fifth query instruction instructing to query the usage of the communication number of the first user, the usage of the communication number of the first user is obtained based on the communication track and the communication card information of the first user, and is output as a fifth query result.

9. The communication track determination method according to claim 8, characterized in that: The method further comprises: The target itinerary card page corresponding to the query result is input into the recognition model to obtain a recognition result output by the recognition model indicating whether the target itinerary card page is normal; wherein the recognition model is trained based on a preset initial itinerary card page, a disturbance pattern and an adversarial training method, and the recognition model is used to identify whether the target itinerary card page is normal.

10. A communication trajectory determination device, characterized in that: include: A first construction module is used to: construct a knowledge graph corresponding to a first user based on first behavior data of a first user whose communication trajectory is to be determined; wherein the first behavior data includes at least one of: mobile phone number login device information, electronic account information, social network information, residence information, and work information; A second building module is used to: build a relationship network corresponding to the first user based on second behavior data of a second user associated with the first user; A first determination module, configured to: determine the confidence of the real-time trajectory of the first user based on the knowledge graph and the relationship network; The second determination module is used to: when the confidence indication is normal, determine the real-time trajectory of the confidence indication that there is no abnormality as the communication trajectory of the first user.

11. A terminal, characterized in that: Including memory, transceiver, processor; A memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations: Based on the first behavior data of the first user whose communication trajectory is to be determined, a knowledge graph corresponding to the first user is constructed; wherein the first behavior data includes: at least one of: mobile phone number login device information, electronic account information, social network information, residence information, and work information; constructing a relationship network corresponding to the first user based on second behavior data of a second user associated with the first user; Determining the confidence of the real-time trajectory of the first user based on the knowledge graph and the relationship network; In a case where the confidence level indicates no abnormality, the real-time trajectory of the confidence level indicating no abnormality is determined as the communication trajectory of the first user.

12. An electronic device comprising a processor and a memory storing a computer program, characterized in that: When the processor executes the computer program, the steps of the communication track determination method according to any one of claims 1 to 9 are implemented.

13. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the communication track determination method according to any one of claims 1 to 9 are implemented.