Method and device for identifying long-distance freight driver, server and storage medium
By analyzing the user's signaling data, calculating the movement speed and movement time, and identifying long-distance freight drivers, the problem of difficulty in identifying long-distance freight drivers from different manufacturers in the existing technology is solved, and effective identification and coordination of long-distance freight drivers are achieved.
Patent Information
- Application Number
- CN202510361471.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-26
- Publication Date
- 2025-04-25
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing technology is difficult to identify long-distance freight drivers from different manufacturers, making it difficult to achieve overall coordination of long-distance freight drivers.
By obtaining signaling data from multiple users, the user's movement speed and movement time between two adjacent locations are calculated, thereby determining the long-distance freight driver. This method does not need to rely on data permissions and execution standards of different manufacturers, and can identify long-distance freight drivers from different manufacturers.
It realizes the identification of long-distance freight drivers from different manufacturers, breaks away from the limitations of data permissions and implementation standards, and facilitates the coordination of long-distance freight drivers.
Smart Images

Figure CN119886749A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a method, device, server and storage medium for identifying a long-distance freight driver. Background Art
[0002] At present, with the development of society, online shopping has become an inseparable part of people's lives, and express freight is an important part of online shopping. In order to ensure a better user experience, it is sometimes necessary to coordinate with long-distance freight drivers.
[0003] In the prior art, in order to better coordinate long-distance freight drivers, it is often necessary to identify long-distance freight drivers through hardware devices on the trucks. However, this method is limited by the data permissions and implementation standards of different manufacturers. Therefore, it is difficult to identify long-distance freight drivers from different manufacturers, and thus it is difficult to achieve overall coordination of long-distance freight drivers. Summary of the invention
[0004] In view of this, the purpose of the present application is to provide a method, device, server and storage medium for identifying long-distance freight drivers, so as to identify long-distance freight drivers from different manufacturers, thereby facilitating the coordination of long-distance freight drivers.
[0005] In order to achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows: In a first aspect, the present application provides a method for identifying a long-distance freight driver, the method comprising: Acquire signaling data corresponding to a plurality of users; the signaling data includes a plurality of user locations and a timestamp corresponding to each of the user locations; For each user, sort the positions of each user according to each timestamp; According to each of the user positions and the timestamps corresponding to the user positions, sequentially calculating a first moving speed of the user between two adjacent user positions, and determining a moving time of the user according to the first moving speed and the timestamp; A long-distance freight driver is determined from the plurality of users based on the first moving speed, the moving time, the plurality of user locations, and the timestamp corresponding to the plurality of user locations of each of the users.
[0006] In an optional implementation, determining a long-distance freight driver from the plurality of users according to the first moving speed, the moving time, the plurality of user locations, and the timestamp corresponding to each of the user locations, includes: Determine at least one first user from the plurality of users according to the movement time and the first movement speed corresponding to each of the users; calculating, in sequence, according to the user positions corresponding to the first users and the timestamps corresponding to the user positions, the second moving speeds of the first users between adjacent first preset number of user positions, and determining at least one second user from the first users according to the second moving speeds corresponding to the first users; Based on the user location corresponding to each second user and the timestamp corresponding to the user location, the overall moving distance and average moving speed of each second user are calculated, and the long-distance freight driver is determined from the second users based on the overall moving distance and average moving speed corresponding to each second user.
[0007] In an optional implementation manner, determining at least one first user from the plurality of users according to the movement time and the first movement speed corresponding to each of the users includes: Determine, according to the movement time and the first movement speed corresponding to each of the users, a target user who is moving within a preset time period and whose first movement speed is greater than a first preset speed; If the number of continuous target first moving speeds corresponding to the target user is less than a second preset number, the target user is determined to be the first user; the target first moving speed is the number of first moving speeds that do not reach the second preset speed.
[0008] In an optional implementation manner, the acquiring signaling data corresponding to multiple users includes: Acquire multiple base station working parameter data and multiple initial signaling data corresponding to the users; The base station engineering parameter data corresponding to the initial signaling data is determined respectively according to the base station information in each of the initial signaling data, and the initial signaling data and the base station engineering parameter data are merged to obtain the signaling data.
[0009] In an optional implementation manner, the acquiring signaling data corresponding to multiple users includes: Acquire signaling data corresponding to a plurality of the users within a first preset time period; Determining a long-distance freight driver from the plurality of users includes: The long-distance freight driver within the first preset time period is determined from the plurality of users.
[0010] In an optional implementation, after determining the long-distance freight driver within the first preset time period from the plurality of users, the method further includes: Obtain historical long-distance freight drivers within a second preset time period, and determine a target long-distance freight driver based on the historical long-distance freight drivers and the long-distance freight drivers; wherein the second preset time period is greater than the first preset time period.
[0011] In a second aspect, the present application provides a long-distance freight driver identification device, the device comprising: An acquisition module, used to acquire signaling data corresponding to multiple users; the signaling data includes multiple user locations and timestamps corresponding to each of the user locations; A determination module, used for sorting the positions of the users according to the timestamps for the users respectively; The determination module is further used to sequentially calculate a first moving speed of the user between two adjacent user positions according to each of the user positions and a timestamp corresponding to the user position, and determine a moving time of the user according to the first moving speed and the timestamp; The determination module is further used to determine a long-distance freight driver from the plurality of users based on the first moving speed, the moving time, the plurality of user locations and the timestamp corresponding to the respective user locations of the plurality of users.
[0012] In an optional embodiment, the determination module is also used to determine at least one first user from the multiple users based on the moving time and the first moving speed corresponding to each of the users; calculate the second moving speed of each of the first users between a first preset number of adjacent user positions in sequence based on the user position corresponding to each of the first users and the timestamp corresponding to the user position, and determine at least one second user from the first users based on the second moving speed corresponding to each of the first users; calculate the overall moving distance and the average moving speed of each of the second users based on the user position corresponding to each of the second users and the timestamp corresponding to the user position, and determine the long-distance freight driver from the second users based on the overall moving distance and the average moving speed corresponding to each of the second users.
[0013] In a third aspect, the present application provides a server, comprising a processor and a memory, wherein the memory stores a computer program executable by the processor, and the processor can execute the computer program to implement the method described in any one of the aforementioned implementations.
[0014] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method described in any one of the aforementioned implementations.
[0015] The method, device, server and storage medium for identifying long-distance freight drivers provided in the embodiments of the present application can determine the first moving speed and moving time of each user according to the multiple user positions corresponding to each user and the timestamp corresponding to each of the user positions, and determine the long-distance freight driver from multiple users according to the first moving speed, moving time, multiple user positions and the timestamp corresponding to each of the user positions. In this way, the long-distance freight driver can be identified through the signaling data of different users, so that the restrictions of data authority and execution standards of different manufacturers can be eliminated, and the long-distance freight drivers of different manufacturers can be identified, thereby facilitating the realization of communication and coordination of long-distance freight drivers.
[0016] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 A block diagram of a server provided in an embodiment of the present application is shown; Figure 2 A schematic diagram showing a flow chart of a method for identifying a long-distance freight driver provided in an embodiment of the present application; Figure 3 Another schematic diagram of the process of identifying a long-distance freight driver provided in an embodiment of the present application is shown; Figure 4 A functional module diagram of a long-distance freight driver identification device provided in an embodiment of the present application is shown.
[0019] Icon: 10 - server; 100 - memory; 110 - processor; 120 - communication module; 200 - acquisition module; 210 - determination module. DETAILED DESCRIPTION
[0020] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.
[0021] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0022] It should be noted that relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0023] Please refer to Figure 1 , is a block diagram of a server 10 provided in an embodiment of the present application. The server 10 includes a memory 100, a processor 110, and a communication module 120. The memory 100, the processor 110, and the communication module 120 are electrically connected to each other directly or indirectly to achieve data transmission or interaction. For example, these components can be electrically connected to each other through one or more communication buses or signal lines.
[0024] The memory 100 is used to store computer programs or data that can be executed by the processor. The memory can be, but is not limited to, random access memory (RAM), read only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electric erasable programmable read-only memory (EEPROM), etc.
[0025] The processor 110 is used to read / write data or programs stored in the memory, and execute the computer program to implement the long-distance freight driver identification method provided in the embodiment of the present application.
[0026] The communication module 120 is used to establish a communication connection between the server 10 and other communication terminals through the network, and to send and receive data through the network.
[0027] It should be understood that Figure 1 The structure shown is only a schematic diagram of the structure of the server 10. The server 10 may also include Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown. Figure 1 Each component shown in the figure can be implemented by hardware, software or a combination thereof.
[0028] Next, the above Figure 1 The server in the embodiment is the execution entity, and the method for identifying a long-distance freight driver provided in the embodiment of the present application is exemplarily introduced in combination with the flow chart.
[0029] Specifically, Figure 2 A flow chart of a method for identifying a long-distance freight driver provided in an embodiment of the present application is shown in FIG. Figure 2 , the method comprising: Step S20: Acquire signaling data corresponding to multiple users.
[0030] The signaling data includes multiple user locations and timestamps corresponding to each user location.
[0031] Optionally, the server may obtain signaling data corresponding to multiple users through an operator.
[0032] In this embodiment, the signaling data refers to the mobile phone signaling data of each user.
[0033] It should be noted that signaling data refers to data used to control and manage communication connections in a communication network. It does not contain the user's actual communication content (such as voice, text messages, videos, etc.), but is responsible for establishing, maintaining and terminating communication connections.
[0034] Optionally, the user location may be latitude and longitude information.
[0035] Step S21 , sorting the positions of the users according to the timestamps respectively.
[0036] Step S22, according to each user position and the timestamp corresponding to the user position, sequentially calculate the first moving speed of the user between two adjacent user positions, and determine the moving time of the user according to the first moving speed and the timestamp.
[0037] It can be understood that since signaling data is used to control and manage communication connections, the signaling data may include base station related information. The server can determine the user location corresponding to each specific time point based on the signaling data. In this case, the server can further determine the user's movement information, that is, the user's first movement speed and movement time.
[0038] Optionally, the user location may be longitude and latitude information, and the server may calculate the distance between two adjacent user locations according to a preset distance formula, and calculate the time elapsed between the two adjacent user locations in combination with the timestamps corresponding to the two adjacent user locations, thereby calculating the user's first moving speed between the two adjacent user locations based on the distance and time between the two adjacent user locations.
[0039] In an example, if the user positions include A, B, C, and D, the server may sequentially calculate the user's first moving speed between A and B, the first moving speed between B and C, and the first moving speed between C and D.
[0040] In one possible implementation, the distance formula may be: dist=6378137*math.acos(math.sin(latA*math.pi / 180)*math.sin(LatB*math.pi / 180)+math.c os(latA*math.pi / 180)*math.cos(LatB*math.pi / 180)*math.cos((lonA-LonB)*math.pi / 180)).
[0041] Among them, dist represents the distance, math.acos() represents the arccosine function, math.sin() represents the sine function, latA represents the latitude coordinate of A, math.pi represents the numeric constant, LatB represents the latitude coordinate of B, math.cos() represents the cosine function, lonA represents the longitude coordinate of A, and LonB represents the longitude coordinate of B.
[0042] Optionally, for the convenience of calculation, the units corresponding to the distance and time between two adjacent user positions may be unified. For example, the distance may be in kilometers and the time may be in hours. Based on this, the unit of the first moving speed is kilometers per hour.
[0043] Optionally, the server may determine whether the user moves during the period of time according to the first movement speed and the timestamp between two adjacent user positions, thereby determining the movement time of the user.
[0044] Step S23, determining a long-distance freight driver from the multiple users according to the first moving speed, moving time, multiple user locations and timestamps corresponding to the locations of the multiple users.
[0045] Optionally, since long-distance freight drivers have certain behavioral characteristics during the freight transportation process, the server can determine whether the user is a long-distance freight driver based on the behavioral characteristics of the long-distance freight drivers and the movement information and signaling data of each user.
[0046] In this embodiment, the long-distance freight driver refers to a long-distance express freight driver.
[0047] In the method for identifying long-distance freight drivers provided in the embodiment of the present application, the server can determine the first moving speed and moving time of each user according to the multiple user positions corresponding to each user and the timestamp corresponding to each user position, and determine the long-distance freight driver from multiple users according to the first moving speed, moving time, multiple user positions and the timestamp corresponding to each user position of each user. In this way, the long-distance freight driver can be identified through the signaling data of different users, so that the restrictions of data authority and execution standards of different manufacturers can be eliminated, and the long-distance freight drivers of different manufacturers can be identified, so as to facilitate the realization of the communication and coordination of long-distance freight drivers.
[0048] Next, a possible implementation method is provided for how to obtain signaling data corresponding to multiple users.
[0049] Specifically, in Figure 2 On the basis of Figure 3 For another flow chart of the method for identifying a long-distance freight driver provided in the embodiment of the present application, please refer to Figure 3 , the above Figure 2 Step S20 in can also be implemented by the following steps.
[0050] Step S20-1, obtaining multiple base station working parameter data and initial signaling data corresponding to multiple users.
[0051] Optionally, the initial signaling data may include multiple data, such as routing information, connection control information, user information, etc., and the base station engineering parameter data may include base station related information, location information, etc. For example, base station name, base station ID, longitude and latitude information.
[0052] Step S20-2, determining the base station engineering parameter data corresponding to the initial signaling data according to the base station information in each initial signaling data, and merging the initial signaling data and the base station engineering parameter data to obtain the signaling data.
[0053] Optionally, considering that there may be some useless fields in the acquired base station working parameter data and initial signaling data, the base station working parameter data and the initial signaling data may be processed before being merged.
[0054] In this embodiment, the server may filter the empty data and the data with missing location fields in the base station working parameter data, and extract the data required for subsequent calculations from the initial signaling data.
[0055] In an example, the data extracted from the initial signaling data may include user information, time information, and base station information, wherein the base station information may be a base station ID or a base station name corresponding to the signaling data.
[0056] Optionally, the server may merge the base station working parameter data and the corresponding initial signaling data according to the base station information, thereby obtaining the corresponding signaling data.
[0057] Optionally, after obtaining the signaling data, the server may group the signaling data according to user information in the signaling data, thereby obtaining signaling data corresponding to each user.
[0058] Optionally, to facilitate analysis, the server may obtain signaling data corresponding to multiple users within a first preset time period each time, and on this basis, the server may determine the long-distance freight drivers within the first preset time period from among the multiple users.
[0059] In this embodiment, the first preset duration can be set according to actual application conditions, for example, one day, and the server can obtain the signaling data of the previous day every day, and determine the long-distance freight driver based on the signaling data of this day.
[0060] Optionally, considering that each transportation time of a long-distance freight driver may be long, determining the long-distance freight driver based only on the identification results of a certain day may lead to missed identification. Therefore, after determining the long-distance freight drivers within the first preset time period, the server can also obtain historical long-distance freight drivers within a second preset time period, and determine the target long-distance freight driver based on the historical long-distance freight drivers and the long-distance freight drivers.
[0061] The second preset duration is greater than the first preset duration.
[0062] In this embodiment, the second preset time period can be set according to actual application requirements, for example, one month, and the server can combine all the long-distance freight drivers determined within one month and the long-distance freight drivers determined the previous day to jointly determine the target long-distance freight driver.
[0063] Next, a possible implementation method is provided for determining a long-distance freight driver from multiple users based on each user's first moving speed, moving time, multiple user locations, and timestamps corresponding to each user location.
[0064] Specifically, the server may first determine at least one first user from a plurality of users according to the movement time and the first movement speed corresponding to each user.
[0065] Optionally, in order to reduce subsequent computing pressure, the server may first preliminarily screen multiple users based on the moving time and the first moving speed to determine which users are first users, and then screen out long-distance freight drivers from the multiple first users.
[0066] In this embodiment, the server can calculate the second moving speed of each first user between a first preset number of adjacent user positions in sequence based on the user position corresponding to each first user and the timestamp corresponding to the user position, and determine at least one second user from the first users based on the second moving speed corresponding to each first user.
[0067] Optionally, the first preset number may be set according to actual application conditions and the accuracy of the base station, for example, 4, and the server may calculate the second moving speeds between 4 adjacent user positions in sequence.
[0068] In an example, if the user positions of a first user include A, B, C, D, and E, the server may calculate the second moving speed of the first user between A and D and the second moving speed between B and E in sequence.
[0069] In this example, the server may calculate the distances and times between four adjacent user locations based on the distances and times between two adjacent user locations, respectively, thereby calculating the second moving speed based on the distances and times between the four adjacent locations.
[0070] For example, if the second moving speed between A and D is to be calculated, the distance between AB, the distance between BC, and the distance between CD can be added respectively to obtain the distance between A and D, the time between AB, the time between BC, and the time between CD can be added to obtain the time between A and D, and then the second moving speed between A and D is calculated by dividing the distance by the time. Optionally, considering that there is a speed limit for long-distance freight drivers, the maximum speed must not exceed a third preset speed, such as 100 kilometers per hour, and the server can determine each first user whose second moving speed is greater than 100 as a second user.
[0071] Please continue to refer to the above example. If the second moving speed of the first user between A~D and the second moving speed between B~E are both greater than 100, it can be determined that the first user is the second user.
[0072] In this embodiment, the server can calculate the overall moving distance and average moving speed of each second user based on the user location corresponding to each second user and the timestamp corresponding to the user location, and determine the long-distance freight driver from the second users based on the overall moving distance and average moving speed corresponding to each second user.
[0073] Optionally, since long-distance freight drivers generally have time limits, in order to meet time requirements, it is also possible to determine whether the user is a long-distance freight driver based on the user's overall average moving speed and overall moving distance.
[0074] In this embodiment, if the overall moving distance of the second user reaches a preset distance and the average moving speed falls within a preset speed range, it can be determined that the second user is a long-distance freight driver.
[0075] In one example, the overall average speed of long-distance freight drivers can reach about 69.3, so a speed range can be set according to the overall average speed, such as [60,100], to determine whether the second user is a long-distance freight driver based on the speed range and the average moving speed of the second user.
[0076] In this example, the distance that a long-distance truck driver moves in a day can generally reach 1,500 kilometers. Therefore, whether the second user is a long-distance truck driver can be determined based on whether the overall moving distance corresponding to the second user exceeds 1,500 kilometers.
[0077] In this example, if the user locations of a second user include A, B, C, D, and E, the server can calculate the overall moving distance and average moving speed of the second user between A and E. If the overall moving distance of the second user is greater than 1,500 kilometers and the average moving speed of the second user is greater than or equal to 60 and less than or equal to 100, it can be determined that the second user is a long-distance freight driver.
[0078] Next, a possible implementation manner is provided for how to determine at least one first user from a plurality of users according to the movement time and the first movement speed corresponding to each user.
[0079] Specifically, the server may first determine a target user who moves within a preset time period and whose first moving speed is greater than a first preset speed according to the moving time and the first moving speed corresponding to each user, and then determine whether the target user is the first user.
[0080] Optionally, considering that long-distance truck drivers usually start their trucks at night, that is, long-distance truck drivers should move in the early morning hours, the server can determine whether the user moves in the early morning hours based on the user's movement time.
[0081] In one possible implementation, the preset time period may be from 12:00 p.m. to 4:00 a.m.
[0082] Optionally, taking into account the rest needs and time requirements of the long-distance freight driver, during this period of time, the long-distance freight driver should have at least one first moving speed greater than the first preset speed.
[0083] Optionally, the first preset speed can be set according to actual application requirements, such as 50 kilometers per hour.
[0084] In this embodiment, if the number of consecutive target first moving speeds corresponding to the target user is less than the second preset number, the target user is determined to be the first user.
[0085] The target first moving speed is the number of first moving speeds that do not reach the second preset speed.
[0086] Optionally, the server may also determine, for each target user, whether there are a second preset number of consecutive target first moving speeds, that is, first moving speeds that do not reach the second preset speed.
[0087] It is understandable that, considering the rest needs and time requirements of long-distance freight drivers, each driving time of long-distance freight drivers should be greater than one day, and the movement of this day should be uninterrupted, so there should not be a situation where a certain speed is not met continuously.
[0088] Optionally, the second preset number and the second preset speed may be set according to actual application requirements. For example, the second preset number may be 5, and the second preset speed may be 40 kilometers per hour.
[0089] In an example, if the user positions of a target user include A, B, C, D, E, F, G, and H, and the first moving speed of the target user between AB, BC, CD, DE, and EF does not reach 40 kilometers per hour, it can be determined that the target user is not the first user. Conversely, if the target user only has two consecutive first moving speeds of AB and BC that do not reach 40 kilometers per hour, it can be determined that the target user is the first user.
[0090] In order to execute the corresponding steps in the above embodiments and various possible methods, a method for implementing a long-distance truck driver identification device is provided below. Figure 4 , Figure 4A functional module diagram of a long-distance freight driver identification device provided in an embodiment of the present application.
[0091] It should be noted that the basic principle and technical effects of the long-distance truck driver identification device provided in this embodiment are the same as those of the above embodiments. For the sake of brief description, for the parts not mentioned in this embodiment, reference can be made to the corresponding contents in the above embodiments. The long-distance truck driver identification device includes: an acquisition module 200 and a determination module 210.
[0092] The acquisition module 200 is used to acquire signaling data corresponding to multiple users; the signaling data includes multiple user locations and a timestamp corresponding to each user location.
[0093] It can be understood that the acquisition module 200 can also be used to execute the above step S20.
[0094] The determination module 210 is used to sort the positions of the users according to the timestamps respectively.
[0095] It can be understood that the determination module 210 can also be used to execute the above step S21.
[0096] The determination module 210 is further configured to sequentially calculate a first moving speed of a user between two adjacent user locations according to each user location and a timestamp corresponding to the user location, and determine a moving time of the user according to the first moving speed and the timestamp.
[0097] It can be understood that the determination module 210 can also be used to execute the above step S22.
[0098] The determination module 210 is further used to determine a long-distance freight driver from multiple users based on the first moving speed, moving time, multiple user locations and timestamps corresponding to the locations of each user.
[0099] It can be understood that the determination module 210 can also be used to execute the above step S23.
[0100] Optionally, the determination module 210 can also be used to determine at least one first user from multiple users based on the movement time and first movement speed corresponding to each user; calculate the second movement speed of each first user between adjacent first preset number of user positions in sequence based on the user position corresponding to each first user and the timestamp corresponding to the user position, and determine at least one second user from the first users based on the second movement speed corresponding to each first user; calculate the overall movement distance and average movement speed of each second user based on the user position corresponding to each second user and the timestamp corresponding to the user position, and determine a long-distance freight driver from the second users based on the overall movement distance and average movement speed corresponding to each second user.
[0101] Optionally, the determination module 210 can also be used to determine a target user who is moving within a preset time period and whose any first moving speed is greater than the first preset speed based on the moving time and the first moving speed corresponding to each user; if the number of consecutive target first moving speeds corresponding to the target user is less than a second preset number, the target user is determined to be the first user; the target first moving speed is the number of first moving speeds that does not reach the second preset speed.
[0102] Optionally, the acquisition module 200 can also be used to obtain multiple base station engineering parameter data and initial signaling data corresponding to multiple users; determine the base station engineering parameter data corresponding to the initial signaling data according to the base station information in each initial signaling data, and merge the initial signaling data and the base station engineering parameter data to obtain the signaling data.
[0103] It can be understood that the acquisition module 200 can also be used to execute the above steps S20-1 to S20-2.
[0104] Optionally, the acquisition module 200 may also be used to acquire signaling data corresponding to multiple users within a first preset time period.
[0105] Optionally, the determination module 210 may also be used to determine long-distance freight drivers within a first preset time period from multiple users.
[0106] Optionally, the determination module 210 can also be used to obtain historical long-distance freight drivers within a second preset time period, and determine the target long-distance freight driver based on the historical long-distance freight drivers and long-distance freight drivers; wherein the second preset time period is greater than the first preset time period.
[0107] Optionally, the above modules can be stored in the form of software or firmware. Figure 1 The memory shown in the figure or fixed in the operating system (OS) of the server, and can be Figure 1 Meanwhile, the data and program codes required for executing the above modules can be stored in the memory.
[0108] The embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for identifying a long-distance freight driver provided in the embodiment of the present application can be implemented.
[0109] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and a part of the module, program segment or code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0110] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0111] If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. 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. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or 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: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, and other media that can store program codes.
[0112] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for identifying a long-distance freight driver, characterized in that: The method comprises: Acquire signaling data corresponding to a plurality of users; the signaling data includes a plurality of user locations and a timestamp corresponding to each of the user locations; For each user, sort the positions of each user according to each timestamp; According to each of the user positions and the timestamps corresponding to the user positions, sequentially calculating a first moving speed of the user between two adjacent user positions, and determining a moving time of the user according to the first moving speed and the timestamp; A long-distance freight driver is determined from the plurality of users based on the first moving speed, the moving time, the plurality of user locations, and the timestamp corresponding to the plurality of user locations of each of the users.
2. The method according to claim 1, characterized in that: Determining a long-distance freight driver from a plurality of users according to the first moving speed, the moving time, a plurality of user locations, and a timestamp corresponding to each of the user locations includes: Determine at least one first user from the plurality of users according to the movement time and the first movement speed corresponding to each of the users; calculating, in sequence, according to the user positions corresponding to the first users and the timestamps corresponding to the user positions, the second moving speeds of the first users between adjacent first preset number of user positions, and determining at least one second user from the first users according to the second moving speeds corresponding to the first users; Based on the user location corresponding to each second user and the timestamp corresponding to the user location, the overall moving distance and average moving speed of each second user are calculated, and the long-distance freight driver is determined from the second users based on the overall moving distance and average moving speed corresponding to each second user.
3. The method according to claim 2, characterized in that The determining at least one first user from the plurality of users according to the movement time and the first movement speed corresponding to each of the users comprises: Determine, according to the movement time and the first movement speed corresponding to each of the users, a target user who is moving within a preset time period and whose first movement speed is greater than a first preset speed; If the number of continuous target first moving speeds corresponding to the target user is less than a second preset number, the target user is determined to be the first user; the target first moving speed is the number of first moving speeds that do not reach the second preset speed.
4. The method according to claim 1, characterized in that: The obtaining of signaling data corresponding to a plurality of users includes: Acquire multiple base station working parameter data and multiple initial signaling data corresponding to the users; The base station engineering parameter data corresponding to the initial signaling data is determined respectively according to the base station information in each of the initial signaling data, and the initial signaling data and the base station engineering parameter data are merged to obtain the signaling data.
5. The method according to claim 1, characterized in that The obtaining of signaling data corresponding to a plurality of users includes: Acquire signaling data corresponding to a plurality of the users within a first preset time period; Determining a long-distance freight driver from the plurality of users includes: The long-distance freight driver within the first preset time period is determined from the plurality of users.
6. The method according to claim 5, characterized in that After determining the long-distance freight driver within the first preset time period from the plurality of users, the method further includes: Obtain historical long-distance freight drivers within a second preset time period, and determine a target long-distance freight driver based on the historical long-distance freight drivers and the long-distance freight drivers; wherein the second preset time period is greater than the first preset time period.
7. A device for identifying long-distance truck drivers, characterized in that: The device comprises: An acquisition module, used to acquire signaling data corresponding to multiple users; the signaling data includes multiple user locations and timestamps corresponding to each of the user locations; A determination module, used for sorting the positions of the users according to the timestamps for the users respectively; The determination module is further used to sequentially calculate a first moving speed of the user between two adjacent user positions according to each of the user positions and a timestamp corresponding to the user position, and determine a moving time of the user according to the first moving speed and the timestamp; The determination module is further used to determine a long-distance freight driver from the plurality of users based on the first moving speed, the moving time, the plurality of user locations and the timestamp corresponding to the respective user locations of the plurality of users.
8. The device according to claim 7, characterized in that The determination module is further configured to determine at least one first user from the plurality of users according to the movement time and the first movement speed corresponding to each of the users; sequentially calculate the second movement speed of each of the first users between a first preset number of adjacent user positions according to the user positions corresponding to each of the first users and the timestamps corresponding to the user positions, and determine at least one second user from the first users according to the second movement speed corresponding to each of the first users; Based on the user location corresponding to each second user and the timestamp corresponding to the user location, the overall moving distance and average moving speed of each second user are calculated, and the long-distance freight driver is determined from the second users based on the overall moving distance and average moving speed corresponding to each second user.
9. A server, characterized in that: The method comprises a processor and a memory, wherein the memory stores a computer program executable by the processor, and the processor can execute the computer program to implement the method according to any one of claims 1 to 6.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Method and device for determining vehicle, and storage medium
CN109784807A
Subway user identification method and device, computer equipment and readable storage medium
CN116193402A
UWB-based positioning method and device, and medium
WO2024088243A1