Method, device and equipment for determining flow and obtaining flow determination model

By obtaining users' mobile, device and application data, determining category characteristics, and personalized prediction of user traffic needs, it solves the problem of low traffic prediction accuracy in the existing technology and achieves more accurate traffic prediction and network adaptive adjustment.

CN118740656APending Publication Date: 2024-10-01HUAWEI TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310366293.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-30
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing technologies have insufficient individual differences when predicting user traffic needs, resulting in low traffic prediction accuracy and inability to effectively support traffic prediction.

Method used

By obtaining the user's mobile data, device data and application data, the user's category characteristics are determined, thereby personalized prediction of the user's traffic demand in a specific period of time, taking into account the user's identity and communication intention, and using the target traffic determination model for traffic prediction.

Benefits of technology

It improves the accuracy of traffic prediction, realizes personalized traffic prediction, can more accurately predict users' traffic needs, and supports network adaptive adjustment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740656A_ABST
    Figure CN118740656A_ABST
Patent Text Reader

Abstract

The invention discloses a method, device and equipment for determining traffic and acquiring a traffic determination model, and belongs to the technical field of communication. The traffic determination method comprises the steps that first movement data, first device data and first application data are acquired, the first movement data indicate the movement condition of a reference object, the first device data indicate the operation condition of a first device used by the reference object, and the first application data indicate the operation condition of a first application on the first device; determining a first category feature according to the first mobile data, the first device data and the first application data, wherein the first category feature indicates an object identity of the reference object; and according to the first category feature, determining the size of traffic required to be used by the reference object in the first time period. The first category features are determined through the data of the multiple dimensions, the accuracy of the first category features is high, in the process of predicting the traffic size according to the first category features, the influence of the object identity of the reference object on traffic use is considered, and the prediction result is more accurate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to methods, devices and equipment for determining flow and obtaining a flow determination model. Background Art

[0002] With the development of communication technology, users can run applications through communication technology anytime and anywhere to meet communication needs. Applications consume traffic during operation, that is, the amount of traffic used by users at a specific time and space can reflect the user's current communication needs. The specific time and space is, for example, the time and space where the user runs the application. Therefore, the amount of traffic that the user needs to use can be determined in advance to predict the communication needs, and then the network adaptive adjustment can be completed according to the predicted communication needs. Summary of the invention

[0003] The present application provides a method, device and apparatus for determining flow rate and obtaining a flow determination model to determine the flow rate required by a user. The technical solution is as follows:

[0004] In a first aspect, a method for determining traffic is provided, the method comprising: acquiring first mobile data, first device data, and first application data of a reference object, the first mobile data indicating the movement of the reference object, the first device data indicating the operation of a first device used by the reference object, and the first application data indicating the operation of a first application on the first device; determining a first category feature of the reference object based on the first mobile data, the first device data, and the first application data, the first category feature indicating the object identity of the reference object; and determining a size of traffic that the reference object needs to use within a first time period based on the first category feature of the reference object.

[0005] The first category feature is determined by using data of multiple dimensions such as the first mobile data, the first device data, and the first application data of the reference object, so that the utilization rate of the data is high and the accuracy of the determined first category feature is high. Since the first category feature can indicate the object identity of the reference object, in the process of predicting the traffic usage size based on the first category feature, the influence of the object identity of the reference object on the traffic usage is taken into account, so as to achieve personalized and targeted prediction, and the predicted traffic size is more accurate.

[0006] In a possible implementation, determining the first category feature of the reference object based on the first mobile data, the first device data, and the first application data includes: obtaining the first contextual semantic feature corresponding to the reference object on the first date, the first date being the date on which the first mobile data, the first device data, or the first application data is collected, and the first contextual semantic feature is used to indicate the communication intention of the reference object on the first date; determining the first category feature of the reference object based on the first contextual semantic feature, the first mobile data, the first device data, and the first application data. Since the first contextual semantic feature can indicate the communication intention of the reference object, in the process of determining the first category feature based on the first contextual semantic feature, the communication intention of the reference object is taken into consideration, so that the obtained first category feature is more accurate.

[0007] In a possible implementation, the first situational semantic feature includes a first semantic feature, a second semantic feature, and a third semantic feature, the first semantic feature is used to indicate the date type of the first date, the second semantic feature is used to indicate the regional function of the first area, the first area is the area visited by the reference object on the first date, and the third semantic feature is used to indicate the use requirement of the reference object to use the first application on the first date. The first situational semantic feature includes the date type of the first date, the regional function of the first area, and the use requirement of the first application, respectively. The semantic analysis is performed from different dimensions, and the first situational semantic feature is more comprehensive. The first category feature determined based on the more comprehensive first situational semantic feature has a high accuracy.

[0008] In a possible implementation, before obtaining the first situational semantic feature corresponding to the reference object on the first date, the method further includes: determining the moving speed of the reference object according to the first position information and the first collection time included in the first movement data, the first collection time being on the first date; and determining the area indicated by the first position information as the first area when the moving speed of the reference object is not greater than the speed threshold. By setting the speed threshold, the first position information through which the reference object passes is excluded, and the information of the first position information is cleaned. The second semantic feature determined by the cleaned first position information has a high accuracy rate, thereby improving the accuracy of the determined flow size.

[0009] In a possible implementation, determining the first category feature of the reference object according to the first situational semantic feature, the first movement data, the first device data, and the first application data includes: determining the first spatiotemporal movement feature of the reference object according to the first situational semantic feature and the first movement data; determining the first device usage feature of the reference object according to the first situational semantic feature, the first movement data, the first device data, and the first application data; and determining the first category feature of the reference object according to the first spatiotemporal movement feature and the first device usage feature. The first category feature is determined from two dimensions, namely, spatiotemporal movement and device usage, and the information considered is comprehensive, so that the first category feature determined has high accuracy.

[0010] In a possible implementation, determining the amount of traffic that the reference object needs to use in the first time period according to the first category feature of the reference object includes: obtaining the traffic usage feature of the reference object; determining the amount of traffic that the reference object needs to use in the first time period according to the traffic usage feature and the first category feature of the reference object. The first category feature can reflect the group to which the reference object belongs, and the traffic usage feature reflects the personal habits of the reference object. Based on the first category feature and the traffic usage feature, the traffic is predicted from multiple dimensions of the group and the individual, and the predicted traffic has high accuracy.

[0011] In a possible implementation, the amount of traffic that the reference object needs to use in the first time period is determined based on the traffic usage characteristics and the first category characteristics of the reference object, including: determining the second contextual semantic characteristics corresponding to the reference object in the first time period based on the first category characteristics of the reference object, the second contextual semantic characteristics being used to indicate the communication intention of the reference object in the first time period; and determining the amount of traffic that the reference object needs to use in the first time period based on the traffic usage characteristics and the second contextual semantic characteristics of the reference object. The second contextual semantic characteristics reflect the communication intention of the reference object in the first time period, and on the basis of the targeted prediction of traffic consumption based on the communication intention, the traffic usage characteristics of the reference object are also referenced, so that the predicted traffic amount is more accurate.

[0012] In a possible implementation, before determining the first category feature of the reference object according to the first mobile data, the first device data and the first application data, it also includes: obtaining a target traffic determination model corresponding to the reference object, the target traffic determination model includes a target category identification module and a target traffic calculation module; determining the first category feature of the reference object according to the first mobile data, the first device data and the first application data, including: calling the target category identification module to determine the first category feature of the reference object according to the first mobile data, the first device data and the first application data; determining the traffic size that the reference object needs to use in the first time period according to the first category feature of the reference object, including: calling the target traffic calculation module to determine the traffic size that the reference object needs to use in the first time period according to the first category feature of the reference object. The target traffic determination model can be used to determine the traffic size that needs to be used, and the traffic determination process is simple and efficient.

[0013] In a possible implementation, the first device data includes at least one of the following: screen-on duration, unlock times, ring mode, audio mode, charging status, Bluetooth status, headset status, music playback status, microphone status, speaker status, and signal type of the first device. The first device data includes a wide range of data and is relatively comprehensive.

[0014] In a possible implementation, the first application data includes at least one of an application name, usage times, traffic data, and screen usage time of the first application. The data type included in the first application data is not limited, and the flexibility is high.

[0015] In a possible implementation, the first category feature of the reference object includes at least one of visitor identity information and movement frequency information of the reference object. The temporal and spatial movement law of the reference object is determined by the visitor identity information and the movement frequency information, and then the object identity of the reference object is determined according to the temporal and spatial movement law, and the obtained object identity has high reliability.

[0016] In a second aspect, a method for obtaining a traffic determination model is provided, the method comprising: obtaining second mobile data, second device data and second application data of a training object, the second mobile data indicating the movement of the training object, the second device data indicating the operation of a second device used by the training object, and the second application data indicating the operation of a second application on the second device; obtaining an initial traffic determination model to be trained, the initial traffic determination model comprising an initial category identification module and an initial traffic calculation module; calling the initial category identification module to determine a second category feature of the training object according to the second mobile data, the second device data and the second application data, the second category feature indicating the object identity of the training object; updating the parameters of the initial category identification module according to the baseline category feature and the second category feature of the training object to obtain a target category identification module; calling the initial traffic calculation module to determine the traffic size that the training object needs to use in a second time period according to the baseline category feature of the training object; updating the parameters of the initial traffic calculation module according to the baseline traffic of the training object and the traffic size that the training object needs to use in the second time period to obtain a target traffic calculation module; obtaining a target traffic determination model based on the target traffic calculation module and the target category identification module.

[0017] The initial category recognition module is trained by using data from multiple dimensions such as the second mobile data, the second device data, and the second application data of the training object, and the target category recognition module obtained by training has high accuracy. The initial traffic calculation module is trained based on the baseline category features of the training object, and the target traffic calculation module obtained by training will refer to the category features of the training object, such as the baseline category features, in the process of predicting traffic, and the predicted traffic has high accuracy.

[0018] In a possible implementation, the initial category identification module is called to determine the second category feature of the training object according to the second mobile data, the second device data, and the second application data, including: calling the initial category identification module to obtain the third situational semantic feature corresponding to the training object on the second date, the second date is the date of collecting the second mobile data, the second device data, or the second application data, and the third situational semantic feature is used to indicate the communication intention of the training object on the second date; the second category feature of the training object is determined according to the third situational semantic feature, the second mobile data, the second device data, and the second application data. Since the third situational semantic feature can indicate the communication intention of the training object, in the process of determining the second category feature according to the third situational semantic feature, the communication intention of the training object is taken into consideration, so that the obtained second category feature is more accurate.

[0019] In a possible implementation, the third contextual semantic feature includes a fourth semantic feature, a fifth semantic feature, and a sixth semantic feature, the fourth semantic feature is used to indicate the date type of the second date, the fifth semantic feature is used to indicate the regional function of the second area, the second area is the area visited by the training subject on the second date, and the sixth semantic feature is used to indicate the training subject's need to use the second application on the second date. The third contextual semantic feature includes semantic analysis of multiple dimensions such as date, area, and application, and the third contextual semantic feature is more comprehensive. The second category feature determined based on the more comprehensive third contextual semantic feature has a high accuracy.

[0020] In a possible implementation, before obtaining the third situational semantic feature corresponding to the second date of the training object, the method further includes: determining the moving speed of the training object according to the second location information and the second collection time included in the second movement data, the second collection time being on the second date; and determining the area indicated by the second location information as the second area when the moving speed of the training object is not greater than the speed threshold. The second location information is cleaned by the speed threshold to improve the accuracy of the second semantic feature determined according to the second location information, so as to improve the accuracy of the predicted traffic volume.

[0021] In a possible implementation, determining the second category feature of the training object according to the third situational semantic feature, the second movement data, the second device data, and the second application data includes: determining the second spatiotemporal movement feature of the training object according to the third situational semantic feature and the second movement data; determining the second device usage feature of the training object according to the third situational semantic feature, the second movement data, the second device data, and the second application data; determining the second category feature of the training object according to the second spatiotemporal movement feature and the second device usage feature. The second category feature is determined from the two dimensions of spatiotemporal movement and device usage, respectively, with high accuracy.

[0022] In a possible implementation, before updating the parameters of the initial category recognition module according to the baseline category features and the second category features of the training object, the method further includes: determining the baseline category features of the training object according to the object identity of the training object. The baseline category features are determined according to the object identity, and the baseline category features obtained thereby have high reliability.

[0023] In a possible implementation, calling the initial traffic calculation module to determine the traffic size that the training object needs to use in the second time period according to the baseline category characteristics of the training object includes: calling the initial traffic calculation module to obtain the traffic usage characteristics of the training object; determining the traffic size that the training object needs to use in the second time period according to the traffic usage characteristics and the second category characteristics of the training object. According to the second category characteristics and the traffic usage characteristics, the traffic is predicted from the dimensions of the group and the individual, respectively, and the predicted traffic has high accuracy.

[0024] In a possible implementation, the amount of traffic that the training object needs to use in the second time period is determined based on the traffic usage characteristics and the second category characteristics of the training object, including: determining the fourth situational semantic feature corresponding to the training object in the second time period based on the second category characteristics of the training object, the fourth situational semantic feature is used to indicate the communication intention of the training object in the second time period; determining the amount of traffic that the training object needs to use in the second time period based on the traffic usage characteristics and the fourth situational semantic feature of the training object. In the process of predicting traffic, the communication intention of the training object is taken into account, and the predicted traffic size is more accurate.

[0025] In a possible implementation, the second device data includes at least one of the following: screen-on duration, unlock times, ring mode, audio mode, charging status, Bluetooth status, headset status, music playback status, microphone status, speaker status, and signal type of the second device. The second device data includes a wide range of data and is relatively comprehensive.

[0026] In a possible implementation, the second application data includes at least one of an application name, usage times, traffic data, and screen usage time of the second application. The data type included in the second application data is not limited, and the flexibility is high.

[0027] In a possible implementation, the second category feature of the training object includes at least one of the visitor identity information and the movement frequency information of the training object. The space-time movement law of the training object is determined by the visitor identity information and the movement frequency information, and then the object identity of the training object is determined according to the space-time movement law, and the obtained object identity has high reliability.

[0028] In a third aspect, a device for determining traffic flow is provided, the device comprising: an acquisition module, used to acquire first mobile data, first device data and first application data of a reference object, the first mobile data indicating the movement of the reference object, the first device data indicating the operation of a first device used by the reference object, and the first application data indicating the operation of a first application on the first device; a determination module, used to determine a first category feature of the reference object based on the first mobile data, the first device data and the first application data, the first category feature indicating the object identity of the reference object; the determination module is also used to determine the amount of traffic flow that the reference object needs to use within a first time period based on the first category feature of the reference object.

[0029] In one possible implementation, a determination module is used to obtain a first situational semantic feature corresponding to a reference object on a first date, where the first date is a date on which first mobile data, first device data or first application data is collected, and the first situational semantic feature is used to indicate the communication intention of the reference object on the first date; and determine a first category feature of the reference object based on the first situational semantic feature, the first mobile data, the first device data and the first application data.

[0030] In one possible implementation, the first situational semantic feature includes a first semantic feature, a second semantic feature, and a third semantic feature, the first semantic feature is used to indicate the date type of the first date, the second semantic feature is used to indicate the regional function of the first area, the first area is the area visited by the reference object on the first date, and the third semantic feature is used to indicate the reference object's need to use the first application on the first date.

[0031] In a possible implementation, a determination module is used to determine a moving speed of a reference object based on first location information and a first collection time included in first movement data, where the first collection time is on a first date; when the moving speed of the reference object is not greater than a speed threshold, the area indicated by the first location information is determined as the first area.

[0032] In one possible implementation, a determination module is used to determine a first spatiotemporal movement feature of a reference object based on a first situational semantic feature and first movement data; determine a first device usage feature of the reference object based on the first situational semantic feature, first movement data, first device data, and first application data; and determine a first category feature of the reference object based on the first spatiotemporal movement feature and the first device usage feature.

[0033] In a possible implementation, the determination module is used to obtain traffic usage characteristics of the reference object; and determine the amount of traffic that the reference object needs to use in the first time period according to the traffic usage characteristics of the reference object and the first category characteristics.

[0034] In one possible implementation, a determination module is used to determine a second situational semantic feature corresponding to the reference object in the first time period based on the first category feature of the reference object, wherein the second situational semantic feature is used to indicate the communication intention of the reference object in the first time period; and to determine the amount of traffic that the reference object needs to use in the first time period based on the traffic usage feature and the second situational semantic feature of the reference object.

[0035] In a possible implementation, the acquisition module is also used to obtain a target traffic determination model corresponding to the reference object, the target traffic determination model includes a target category identification module and a target traffic calculation module; the determination module is used to call the target category identification module to determine the first category characteristics of the reference object based on the first mobile data, the first device data and the first application data; and the target traffic calculation module is called to determine the traffic size that the reference object needs to use within the first time period based on the first category characteristics of the reference object.

[0036] In one possible implementation, the first device data includes at least one of the screen-on duration, unlock times, ring mode, audio mode, charging status, Bluetooth status, headphone status, music playback status, microphone status, speaker status, and signal type of the first device.

[0037] In a possible implementation, the first application data includes at least one of an application name, usage counts, traffic data, and screen usage time of the first application.

[0038] In a possible implementation manner, the first category feature of the reference object includes at least one of visitor identity information and movement frequency information of the reference object.

[0039] In a fourth aspect, a device for obtaining a traffic determination model is provided, the device comprising: an acquisition module, used to obtain second mobile data, second device data and second application data of a training object, the second mobile data indicating the movement of the training object, the second device data indicating the operation of a second device used by the training object, and the second application data indicating the operation of a second application on the second device; the acquisition module, also used to obtain an initial traffic determination model to be trained, the initial traffic determination model comprising an initial category identification module and an initial traffic calculation module; a determination module, used to call the initial category identification module to determine the second category feature of the training object according to the second mobile data, the second device data and the second application data, the second category feature indicating the object identity of the training object; an update module, used to update the parameters of the initial category identification module according to the baseline category feature and the second category feature of the training object, to obtain a target category identification module; the determination module, also used to call the initial traffic calculation module to determine the traffic size that the training object needs to use in the second time period according to the baseline category feature of the training object; the update module, also used to update the parameters of the initial traffic calculation module according to the baseline traffic of the training object and the traffic size that the training object needs to use in the second time period, to obtain a target traffic calculation module; the acquisition module, also used to obtain a target traffic determination model based on the target traffic calculation module and the target category identification module.

[0040] In one possible implementation, a determination module is used to call an initial category identification module to obtain a third situational semantic feature corresponding to the training object on a second date, where the second date is a date on which second mobile data, second device data or second application data is collected, and the third situational semantic feature is used to indicate the communication intention of the training object on the second date; and the second category feature of the training object is determined based on the third situational semantic feature, the second mobile data, the second device data and the second application data.

[0041] In one possible implementation, the third situational semantic feature includes a fourth semantic feature, a fifth semantic feature, and a sixth semantic feature, the fourth semantic feature is used to indicate the date type of the second date, the fifth semantic feature is used to indicate the regional function of the second area, the second area is the area visited by the training subject on the second date, and the sixth semantic feature is used to indicate the training subject's need to use the second application on the second date.

[0042] In a possible implementation, the determination module is further used to determine the moving speed of the training object based on the second position information and the second collection time included in the second movement data, and the second collection time is on the second date; when the moving speed of the training object is not greater than the speed threshold, the area indicated by the second position information is determined as the second area.

[0043] In one possible implementation, a determination module is used to determine a second spatiotemporal movement feature of a training object based on a third situational semantic feature and a second movement data; determine a second device usage feature of the training object based on the third situational semantic feature, the second movement data, the second device data, and the second application data; and determine a second category feature of the training object based on the second spatiotemporal movement feature and the second device usage feature.

[0044] In a possible implementation, the determination module is further configured to determine a baseline category feature of the training object according to the object identity of the training object.

[0045] In a possible implementation, the determination module is used to call the initial traffic calculation module to obtain the traffic usage characteristics of the training object; and determine the traffic size that the training object needs to use in the second time period according to the traffic usage characteristics and the second category characteristics of the training object.

[0046] In one possible implementation, a determination module is used to determine a fourth situational semantic feature corresponding to the training object in the second time period based on the second category feature of the training object, wherein the fourth situational semantic feature is used to indicate the communication intention of the training object in the second time period; and to determine the amount of traffic that the training object needs to use in the second time period based on the traffic usage feature of the training object and the fourth situational semantic feature.

[0047] In one possible implementation, the second device data includes at least one of the screen-on duration, unlock times, ring mode, audio mode, charging status, Bluetooth status, headphone status, music playback status, microphone status, speaker status, and signal type of the second device.

[0048] In a possible implementation, the second application data includes at least one of an application name, usage counts, traffic data, and screen usage time of the second application.

[0049] In a possible implementation manner, the second category of features of the training object includes at least one of visitor identity information and movement frequency information of the training object.

[0050] In a fifth aspect, a computer device is provided, comprising a processor, the processor being used to load and execute at least one instruction so that the computer device implements the method for determining traffic in the first aspect or any possible implementation of the first aspect, or implements the method for obtaining a traffic determination model in the second aspect or any possible implementation of the second aspect.

[0051] In a possible implementation, the device further includes a memory, which is coupled to the processor and stores at least one instruction.

[0052] In a sixth aspect, a computer-readable storage medium is provided, in which at least one instruction is stored, and the instruction is loaded and executed by a processor to implement the method for determining traffic in the first aspect or any possible implementation of the first aspect, or to implement the method for obtaining a traffic determination model in the second aspect or any possible implementation of the second aspect.

[0053] In the seventh aspect, a computer program (product) is provided, which includes a computer program / instructions, and the computer program / instructions are executed by a processor to enable a computer to implement the method for determining the flow in the first aspect or any possible implementation of the first aspect, or to implement the method for obtaining a flow determination model in the second aspect or any possible implementation of the second aspect.

[0054] In an eighth aspect, a communication device is provided, the device comprising: a transceiver, a memory, and a processor. The transceiver, the memory, and the processor communicate with each other through an internal connection path, the memory is used to store instructions, and the processor is used to execute the instructions stored in the memory to control the transceiver to receive signals and control the transceiver to send signals, and when the processor executes the instructions stored in the memory, the processor executes the method in the first aspect or any possible implementation of the first aspect, or executes the method in the second aspect or any possible implementation of the second aspect.

[0055] Optionally, there are one or more processors and one or more memories.

[0056] Optionally, the memory may be integrated with the processor, or the memory may be provided separately from the processor.

[0057] In the specific implementation process, the memory can be a non-transitory memory, such as a read-only memory (ROM), which can be integrated with the processor on the same chip or can be set on different chips. This application does not limit the type of memory and the setting method of the memory and the processor.

[0058] In a ninth aspect, a chip is provided, which includes a processor for calling and executing program instructions or codes stored in a memory, so that a communication device equipped with the chip executes the methods in the above aspects.

[0059] In the tenth aspect, another chip is provided, comprising: an input interface, an output interface, a processor and a memory, wherein the input interface, the output interface, the processor and the memory are connected via an internal connection path, and the processor is used to execute the code in the memory. When the code is executed, the processor is used to execute the methods in the above aspects.

[0060] It should be understood that the beneficial effects achieved by the technical solutions of the third to tenth aspects of the present application and the corresponding possible implementation methods can be referred to the above-mentioned technical effects of the first aspect or the second aspect and their corresponding possible implementation methods, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] Figure 1 A schematic diagram of an implementation environment provided for an embodiment of the present application;

[0062] Figure 2 A flow chart of a method for determining flow provided in an embodiment of the present application;

[0063] Figure 3 A schematic diagram of comparison before and after the first location information is screened provided in an embodiment of the present application;

[0064] Figure 4 A schematic diagram of a rasterization process provided in an embodiment of the present application;

[0065] Figure 5 A schematic diagram of the coordinate distribution of a surface of interest provided in an embodiment of the present application;

[0066] Figure 6 A flow chart of a method for obtaining a flow determination model provided in an embodiment of the present application;

[0067] Figure 7 A statistical graph of dwell time and traffic consumption provided in an embodiment of the present application;

[0068] Figure 8 Another statistical graph of dwell time and traffic consumption provided in an embodiment of the present application;

[0069] Fig. 9 A mobility difference comparison diagram provided in an embodiment of the present application;

[0070] Fig.10 A flow chart of another flow determination provided in an embodiment of the present application;

[0071] Fig.11 A statistical graph of the accuracy of a target category recognition module provided in an embodiment of the present application;

[0072] Fig.12Another accuracy statistical graph of a target category recognition module provided in an embodiment of the present application;

[0073] Fig.13 A statistical diagram of error loss provided in an embodiment of the present application;

[0074] Fig.14 A flow prediction schematic diagram provided for an embodiment of the present application;

[0075] Fig.15 A schematic diagram of the structure of a flow rate determination device provided in an embodiment of the present application;

[0076] Fig.16 A schematic diagram of the structure of a device for obtaining a flow determination model provided in an embodiment of the present application;

[0077] Fig.17 A schematic diagram of the structure of a network device provided in an embodiment of the present application;

[0078] Fig.18 A schematic diagram of the structure of another network device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0079] The terms used in the implementation method of this application are only used to explain the specific embodiments of this application, and are not intended to limit this application. In order to make the purpose, technical solution and advantages of this application clearer, the implementation method of this application will be further described in detail below with reference to the accompanying drawings.

[0080] With the development of communication technology, mobile terminals and communication networks have become an integral part of daily life. By running applications on mobile terminals or communication networks in the network, communication needs in daily life can be met. For example, at home on weekends, entertainment videos can be played by running video playback software to meet entertainment needs in communication needs. Since applications consume traffic during operation, traffic consumption can, to a certain extent, reflect the user's communication needs in the network at a specific time and space. The specific time and space is, for example, the time and space where the user runs the application. Therefore, the amount of traffic that the user needs to use can be determined in advance to achieve the prediction of communication needs, and then the network adaptive adjustment can be completed according to the predicted communication needs.

[0081] In the related technology 1, the mobile traffic data of the base station and the user behavior tags provided by the traffic subscription service provider are used to predict the user's mobility and traffic usage behavior, and the mobile traffic demand required by the user is determined based on the predicted user's mobility and traffic usage behavior. The traffic prediction in the related technology 1 predicts the user's traffic from the perspective of the base station, which does not take into account the individual differences of users, and the predicted traffic accuracy is low.

[0082] In the related technology 2, the space is divided into business area, residential area, entertainment area and comprehensive area, and the traffic consumption mode and reasons of ordinary users and important users in different areas are determined. The related technology 2 only analyzes the consumption mode and reasons of data traffic of different users, and does not support traffic prediction.

[0083] The embodiment of the present application provides a method for determining traffic flow, which is used to determine the traffic flow size that a reference object, i.e., a user, needs to use in a first period of time, so as to implement network adaptive adjustment according to the predicted traffic flow size. Figure 1 , which shows a schematic diagram of an implementation environment of the method for determining flow provided in an embodiment of the present application. The implementation environment includes a computing device cluster 10, and the computing device cluster 10 includes at least one computing device, and the computing devices can communicate with each other through a wired or wireless network.

[0084] Optionally, the method for determining the flow rate can be independently executed by a computing device, or can be interactively executed by a group of computing devices including multiple computing devices. The embodiment of the present application also provides a method for obtaining a flow determination model, which can be independently executed by a computing device, or can be interactively executed by a group of computing devices. The embodiment of the present application does not limit the number of computing devices included in the computing device cluster 10. Figure 1 Only two computing devices are used as examples for illustration. The computing device used to execute the method for determining the flow rate and the computing device used to obtain the method for determining the flow rate model can be the same computing device / group, or different computing devices. The different computing devices can be different computing devices included in the same computing device cluster, or computing devices included in different computing device clusters. This embodiment of the application does not limit this.

[0085] Exemplarily, the computing device included in the computing device cluster 10 may be a server, such as a central server, an edge server, or a local server in a local data center. The server may be a physical server, or a cloud server that provides cloud computing services, for example, implementing the relevant functions and processes involved in the flow determination method on an interface of a cloud server similar to an artificial intelligence (AI) open platform. In some embodiments, the computing device included in the computing device cluster 10 may also be a terminal device such as a desktop computer, a laptop computer, or a smart phone.

[0086] The flow chart of the method for determining flow rate provided in the embodiment of the present application is as follows: Figure 2 As shown, including S201-S203.

[0087] S201, obtaining first movement data, first device data and first application data of a reference object, wherein the first movement data indicates movement of the reference object, the first device data indicates operation of a first device used by the reference object, and the first application data indicates operation of a first application on the first device.

[0088] In one possible implementation, a statistical application for collecting data is installed and running on the first device used by the reference object. The first device used by the reference object can be any mobile terminal, including but not limited to mobile phones, tablets, and notebooks. In some cases, the first device can also be a device in an autonomous driving network. A reference object can correspond to one first device, and a reference object can also correspond to multiple first devices. For example, if user A, who is a reference object, has two mobile phones, then the first devices corresponding to user A are two mobile phones, or if user B, who is a reference object, is accustomed to using a mobile phone and a tablet computer, then the first devices corresponding to user B are a mobile phone and a tablet computer. The statistical application installed on the first device can be an application built by a user who uses the traffic determination method, or it can be an application provided by an open source platform such as an application store. The embodiment of the present application does not limit the statistical application. The first mobile data, first device data, and first application data of the reference object can be collected through the statistical application.

[0089] The first movement data includes but is not limited to the first location information and the first collection time of the first device. Since the first device is a device carried by the reference object, the first location information of the first device and the first collection time corresponding to the first location information can reflect the location of the reference object at the first collection time, that is, the historical movement of the reference object.

[0090] In one possible case, the first location information is the longitude and latitude information of the first device, and the first collection time corresponding to the first location information refers to the first collection time as the moment when the first location information is collected. The embodiment of the present application does not limit the method of collecting longitude and latitude information, which can be achieved through positioning technologies such as global positioning system (GPS) positioning, wireless network communication technology (WiFi) positioning and base station positioning. In some cases, the longitude and latitude information of the first device can be collected using a fusion positioning method, and different positioning methods are selected according to different scenarios where the first device is located to improve the accuracy of the collected longitude and latitude information. For example, when the first device is located outdoors, the first location information is collected using GPS positioning technology, and when the first device is located indoors, the first location information is collected using WiFi positioning and base station positioning technology.

[0091] Optionally, the first collection time may be separately recorded time data. In this case, since the first location information and the first collection time are independent data, the first location information and the first collection time will carry a first identifier, and the first identifier is used to determine the correspondence between the first location information and the first collection time. The first identifier is, for example, a collection order, or other data that can distinguish different first location information and different first collection times. In addition, the first collection time may also be time data carried in the first location information, such as a timestamp. After collecting the first location information through positioning technology, the statistical application will stamp the collected first location information with a timestamp as the first collection time for collecting the first location information.

[0092] In one possible case, the statistics application can access the status of each sensor in the first device to obtain the first device data. The first device data includes at least one of the screen-on duration, unlock times, ring mode, audio mode, charging status, Bluetooth status, headphone status, music playback status, microphone status, speaker status, and signal type of the first device. Among them, when the reference object uses the first device, the screen of the first device will remain on to interact with the reference object. Therefore, the screen-on duration of the first device can reflect the length of time the reference object uses the first device. In the case where the first device is provided with a device lock, the reference object needs to unlock the first device when using the first device. Therefore, the number of unlocks of the first device can reflect the number of times the reference object uses the first device. In addition, data such as the ring mode, audio module, charging status, and Bluetooth status of the first device can reflect the reference object's usage habits of using the first device.

[0093] Exemplarily, the statistics application obtains the background information of each first application to obtain the first application data. The first application refers to the application used by the reference object, and the first application can be an application installed on the first device, or a virtual application located in the cloud and operated by the first device, or a web application, etc. The first application data includes at least one of the application name, usage count, traffic data, and screen usage time of the first application.

[0094] The embodiments of the present application do not limit the collection period of the statistical application to collect the first mobile data, the first device data, and the first application data. The collection period can be set to a value of any size based on experience and the implementation environment. The implementation environment is, for example, the identity of the reference object or the position of the reference object during data collection. For example, the collection period of the reference object whose identity is a student is set to 10 seconds based on experience. Then, the statistical application collects the first mobile data, the first device data, and the first application data every 10 seconds. Moreover, in the process of collecting the first device data and the first application data, the statistical application will also count the data collection time of the first device data and the first application data. The description of the data collection time is similar to the description of the first collection time. Please refer to the relevant content about the first collection time above, which will not be repeated here.

[0095] Optionally, the duration of the first mobile data, the first device data, and the first application data collected by the statistical application can be continuous collection, such as uninterrupted collection for one day; or can be intermittent collection, such as being set to last for 17 hours a day, and continuously collecting for one month. The duration can be uniformly set by the computing device, or the reference object can customize the start time and end time of data collection according to the work and rest time during the data collection process, so as to ensure that the daily data collection time meets the requirements, for example, the requirement can be that the daily data collection time reaches more than 16 hours.

[0096] In addition, the first mobile data, the first device data, and the first application data collected by the statistical application may be historical data, that is, the generation time of the above data occurs before the current time. In a possible implementation, a communication connection is established between the computing device and the statistical application, and the first mobile data, the first device data, and the first application data sent by the statistical application can be received after the statistical application collects the data.

[0097] S202 , determining a first category feature of a reference object according to first mobile data, first device data, and first application data, where the first category feature indicates an object identity of the reference object.

[0098] Regardless of the method by which the computing device obtains the first mobile data, the first device data, and the first application data, the first category feature of the reference object can be determined based on the obtained data. Exemplarily, before determining the first category feature, the computing device also pre-processes the first mobile data, the first device data, and the first application data, and the pre-processing process includes but is not limited to: based on the collection time corresponding to any reference object being less than the time threshold, deleting the first mobile data, the first device data, and the first application data corresponding to any reference object.

[0099] The embodiments of the present application do not limit the units of the collection duration and the time threshold, which can be any time unit such as hours, weeks, months and days. Taking the collection duration as the collection days as an example, the collection days corresponding to any reference object refer to the days when the total amount of the first mobile data, the first device data and the first application data of the reference object is greater than the quantity threshold. Both the time threshold and the quantity threshold can be set based on experience. For example, if the time threshold is set to 7 days and the quantity threshold is set to 4500 based on experience, the number of days when the number of data items of the first mobile data, the first device data and the first application data of user A as the reference object is more than 4500 is 6 days. Since 6 days is less than 7 days, the computing device determines that user A does not meet the traffic prediction conditions and deletes the first mobile data, the first device data and the first application data of user A.

[0100] By setting a time threshold and a quantity threshold, the data of the reference object whose data collection is interrupted is filtered out to avoid the low accuracy of the predicted traffic in the process of predicting the traffic corresponding to the reference object due to insufficient data. For the first mobile data of the reference object that has passed the screening, the computing device will also delete the data collected in the first mobile data under poor signal conditions. In some possible cases, when using positioning technology to collect longitude and latitude information, when the signal is poor, the collected longitude and latitude information is a null value, and the computing device cannot determine the name of the area where the reference object is located at this moment based on the null value. Since the reference object may move at any time, if the null value is filled according to the longitude and latitude information before the null value, the accuracy of the obtained longitude and latitude information is low. Therefore, for the null value collected under poor signal, the computing device will delete the null value to obtain the processed first mobile data, and effectively improve the accuracy of the first mobile data by deleting the null value data in the first mobile data.

[0101] In addition to processing the first mobile data, the computing device also processes the first device data. In some cases, when the signal of the first device is poor, some of the first device data collected by the statistical application will be null values. For example, the charging status included in the first device data is also null when the signal is poor. When the computing device processes the charging status that is a null value, based on the fact that the change in the power of the first device is a continuous and non-mutated process, the computing device can determine the power corresponding to the null value based on the data before and after the null value, and obtain the charging status corresponding to the null value. That is, the computing device can automatically fill in the null value in the charging status to make the amount of data in the filled first mobile data more comprehensive.

[0102] Regardless of the method used by the computing device to preprocess the first mobile data, the first device data, and the first application data, the first type of feature can be determined based on the preprocessed data. The determination process includes but is not limited to: obtaining a first contextual semantic feature corresponding to the reference object on the first date, the first date being the date on which the first mobile data, the first device data, or the first application data is collected, and the first contextual semantic feature is used to indicate the communication intention of the reference object on the first date; determining the first category feature of the reference object based on the first contextual semantic feature, the first mobile data, the first device data, and the first application data.

[0103] The embodiment of the present application does not limit the date on which the statistical application collects the first mobile data, the first device data, and the first application data. The statistical application may choose to collect the first mobile data, the first device data, and the first application data on the same day, or may choose to collect the first mobile data, the first device data, and the first application data on different dates. The different dates may be different collection dates for the three data, or the collection date of any one data may be different from the collection date of other data. Based on this, the first date may be the date on which any data is collected. For example, there is a signal state of the first device on date A that does not meet the collection requirements, resulting in the first location information in the first mobile data collected on date A being null values. After preprocessing, the data collected on date A is the first device data and the first application data. However, since date A collects the first device data and the first application data, date A also belongs to the first date.

[0104] In one possible implementation, the first situational semantic feature corresponding to the first date includes a first semantic feature, a second semantic feature, and a third semantic feature, wherein the first semantic feature is used to indicate the date type of the first date, the second semantic feature is used to indicate the regional function of the first area, the first area is the area visited by the reference object on the first date, and the third semantic feature is used to indicate the reference object's need to use the first application on the first date.

[0105] The date type of the first date includes working days, weekends, holidays, etc. The computing device can search the calendar and holiday schedule according to the first date, determine the date type of the first date, and obtain the first semantic feature. Optionally, the date type of the first date can also be manually confirmed and then input into the computing device to determine the date type of the first date. The computing device determines the first semantic feature of the reference object based on this and encodes the first semantic feature of the first date.

[0106] In one possible case, determining the second semantic feature includes: determining the moving speed of the reference object according to the first location information and the first collection time included in the first movement data; and determining the area indicated by the first location information as the first area when the moving speed of the reference object is not greater than the speed threshold. The first collection time being on the first date means that the first collection time is the moment of the first date. For example, when the first date is March 12, when the first collection time is 12:00:00 on March 12, the first collection time belongs to the collection time on the first date.

[0107] Optionally, the moving speed of the reference object is determined according to the first position information and the first acquisition time included in the first movement data, including but not limited to the computing device obtaining the first position information of the reference object at the first acquisition time and the first position information of the adjacent acquisition time of the first acquisition time, calculating the straight-line moving distance between the two first position information, and dividing the straight-line moving distance by the time difference between the first acquisition time and the adjacent acquisition time to obtain the moving speed of the reference object. Wherein, the adjacent acquisition time refers to the acquisition time that is one acquisition cycle apart from the first acquisition time. Continuing with the acquisition cycle of 10 seconds in the above embodiment as an example, when the first acquisition time is 10:30:10, the adjacent acquisition time is 10:30:00. Of course, the adjacent acquisition time can be the time before the first acquisition time in the above example, or it can be the time after the first acquisition time. For example, 10:30:20 also belongs to the adjacent acquisition time of the first acquisition time 10:30:10. The moving speed corresponding to the first acquisition time can be determined according to the first position information of the reference object at 10:30:20.

[0108] After determining the moving speed of the reference object, the computing device may compare the moving speed and the speed threshold to determine the moving state of the reference object. For example, based on the moving speed of the reference object being greater than the speed threshold, the moving state of the reference object is determined to be moving; based on the moving speed of the reference object being not greater than the speed threshold, the moving state of the reference object is determined to be staying. The speed threshold may be a numerical value of any size and speed unit set based on experience, for example, set to 2.5 meters per second. Then, when the moving speed of the reference object is greater than 2.5 meters per second, it is determined that the reference object may be on a moving vehicle such as a bicycle, electric vehicle, or car, and the moving state of the reference object is moving (move). When the moving speed of the reference object is not greater than 2.5 meters per second, it is determined that the reference object may be in a staying or walking state, and the moving state of the reference object is staying (dwell).

[0109] The moving speed of the reference object is not greater than the speed threshold, indicating that the reference object is not moving on the road, and is in the state of having arrived and staying in the area corresponding to the first position information. For example, the reference object has arrived at the seat, which is the dwell state, or the reference object has arrived inside the teaching building corresponding to the first position information and is on the way to the destination classroom. In this case, although the reference object is still moving, the reference object has always been inside the teaching building, which is also the dwell state. By comparing the moving speed and the speed threshold, the area corresponding to the filtered first position information is not the area passed by the reference object during the movement, but the area visited by the reference object. The computing device thus determines that the area indicated by the first position information is the first area for which the regional function needs to be determined.

[0110] Figure 3 A comparison diagram of the first position information before and after screening provided in an embodiment of the present application, Figure 3 The left picture in the figure is the visualization result of the first position information before screening. Figure 3 The right picture in is the visualization result of the first position information after filtering. Figure 3 The black circle in represents the first position information. Figure 3 , the first position information of the reference object in the moving state, that is, the moving path of the reference object, is effectively removed according to the speed threshold. The areas indicated by the filtered first position information are the teaching buildings reached by the reference object.

[0111] Exemplarily, after completing the screening of the first location information, the computing device may perform region identification on the first region according to the first location information. Based on the first location information being outside the reference range, the first location information is rasterized, and the rasterization result is, for example, Figure 4 Afterwards, the rasterization processing result is subjected to region identification using a reverse geocoding service of a map application programming interface (API) to obtain a region function of the first region; or, based on the first location information being within a reference range, the first location information is subjected to region identification using a coordinate range of each area of ​​interest (AOI) within the reference range to obtain a region function of the first region.

[0112] Figure 5 A schematic diagram of the AOI coordinate range of each area within a reference range provided in an embodiment of the present application, Figure 5 The black dot, triangle, quadrilateral, five-pointed star, pentagon and hexagon represent a coordinate point, and different shapes are used to distinguish the coordinate points corresponding to different buildings. Figure 5 The figure shows the distribution of the coordinate ranges of each AOI when the reference range is the school. Figure 5It can be seen that the coordinate points around each building in the school can form a surface to cover the building. Figure 5 This is a diagram for illustration purposes only, not for limiting the AOI coordinate range. The coordinate points corresponding to different buildings can be as follows: Figure 5 Different shapes can be used to distinguish them, or different colors can be used to distinguish them, for example, the coordinate points of different buildings are dots of different colors. Figure 5 This is a simplified schematic diagram of the AOI coordinate range. Even if the actual AOI coordinate range diagram obtained is different from Figure 5 Even if there are differences, they will not affect the implementation of the embodiments of the present application.

[0113] Since the school point of interest (POI) information called by the map API has a certain lag, the accuracy of identifying buildings inside the school is low. In the case where the reference object includes people on campus, the reference range can be determined based on the school range, and the first location information on campus and the first location information outside the campus are identified in different ways based on the reference range. The name of the area indicated by the first location information is determined, and then the area function is determined based on the area name to obtain the second semantic feature. Table 1 is an example of an area name and area function provided in an embodiment of the present application.

[0114] Table 1

[0115]

[0116]

[0117] The regional functions in Table 1 are classified according to experience. The division process, for example, is to first divide according to the first and second level industry categories of the map POI, and use independent card classification and discussion of similarities and differences to determine the regional functions corresponding to different industry categories. Among them, independent card classification refers to the use of card classification method, researchers independently classify all possible industry categories and name each group, so as to form a grouped information structure with an inclusive relationship. Discussion of similarities and differences refers to comparing the results of each card classification, such as which industry categories are often classified into the same group / different groups, which groups use the same name, and readjusting to obtain the target information structure. The process of determining regional functions is, for example, determining that convenient life includes leisure and entertainment, life services, beauty, car services, finance and sports and fitness, and adjusting office buildings to the corporate enterprise category in corporate institutions. When dividing on-campus buildings, since the department building, that is, the office building of the college, is mainly a place for doctoral students to conduct scientific research and office work, the corresponding regional function is corporate institutions, while the teaching building and library building are places for students to attend classes and study, and the corresponding regional function is education and training. By determining the regional function of the first region corresponding to each piece of first position information, the second semantic feature is obtained, thereby encoding the semantic feature of the first region.

[0118] In one possible case, the third semantic feature of the first application can be divided based on experience, and the division method can be independent card classification. The application type corresponding to each first application is determined through discussions on similarities and differences, and then the third semantic feature of each first application is determined. Optionally, the application types include ten major categories: social communication, leisure and entertainment, photography and beautification, travel, study and office, financial management, food shopping, convenient life, practical tools, and games. In an implementation method of an embodiment of the present application, each major category can also include a different number of subcategories. For example, under the social communication category, there are four subcategories: marriage and love, community, chat, and communication.

[0119] For example, the third semantic features of the same first application of different reference objects may be the same or different. For example, when the first application is a food delivery application, when the reference object is a user, the first application belongs to food shopping. When the reference object is a delivery object, since the food delivery application belongs to an application used by the delivery object for office work, the corresponding application type is learning and office. By determining the application type corresponding to each first application, the third semantic feature of the first application is obtained, and the semantic feature encoding of the first application is realized.

[0120] After obtaining the first situational semantic feature, the computing device can further determine the first category feature based on the first situational semantic feature. The determination process includes but is not limited to: determining the first spatiotemporal movement feature of the reference object based on the first situational semantic feature and the first movement data; determining the first device usage feature of the reference object based on the first situational semantic feature, the first movement data, the first device data and the first application data; determining the first category feature of the reference object based on the first spatiotemporal movement feature and the first device usage feature.

[0121] In one possible implementation, the computing device will also unify the time granularity and character type of the first situational semantic feature, the first mobile data, the first application data, and the first device data. The process of unifying the time granularity and character type can be referred to the following method for obtaining a traffic determination model. The relevant description of unifying the time granularity and character type of the third situational semantic feature, the second mobile data, the second application data, and the second device data will not be repeated here.

[0122] The computing device extracts a first spatiotemporal movement feature of the reference object through the first contextual semantic feature processed by cluster analysis, the first location information and the first acquisition time. The computing device extracts a first device usage feature of the reference object through the first contextual semantic feature processed by cluster analysis, the first movement data, the first device data and the first application data.

[0123] Since there is a correspondence between the first device usage feature and the first spatiotemporal movement feature of the reference object and the first category feature of the reference object. Therefore, the computing device determines the first category feature of the reference object by searching for the correspondence between the first spatiotemporal movement feature and the first device usage feature. Optionally, the first category feature includes at least one of the visitor identity information and movement frequency information of the reference object. Taking the visitor identity information including permanent residents and temporary visitors as an example, the correspondence between the visitor identity information and the first spatiotemporal movement feature and the first device usage feature is shown in Table 2.

[0124] Table 2

[0125]

[0126] Among them, a stay of more than 45 minutes is considered a long stay, and a stay of less than 45 minutes is considered a short stay. A visit of more than five times is considered a large number of visits. A visit of less than five times is considered a small number of visits.

[0127] Taking the mobile frequency information including two categories of high mobility and low mobility as an example, the corresponding relationship between the mobile frequency information and the first spatiotemporal mobility feature and the first device usage feature is shown in Table 3.

[0128] Table 3

[0129]

[0130]

[0131] According to the above correspondence, the computing device may determine the movement frequency information and the access identity information according to the first spatiotemporal movement feature and the first device usage feature respectively, and determine the first category feature according to the movement frequency information and the access identity information.

[0132] S203: Determine the flow rate required by the reference object in the first time period according to the first category feature of the reference object.

[0133] In an embodiment of the present application, the amount of traffic that the reference object needs to use during the first time period is determined based on the first category characteristics of the reference object, including but not limited to: the computing device obtains the traffic usage characteristics of the reference object; and determines the amount of traffic that the reference object needs to use during the first time period based on the traffic usage characteristics and the first category characteristics of the reference object.

[0134] Optionally, the computing device obtains the traffic usage characteristics of the reference object based on the traffic data in the first application data. In one possible implementation, the traffic data in the first application data can be processed in two statistical ways to obtain two traffic usage characteristics of maximum traffic (maxflow) and total traffic (sumflow). The time granularity of the traffic usage characteristics is 3 minutes set according to experience. Among them, maxflow refers to the traffic data of the first application that consumes the most traffic in at least one first application used by the reference object within each 3 minutes. When counting maxflow, the computing device retains the third semantic feature of the first application that consumes the most traffic and the second semantic feature of the first location information. sumflow refers to the sum of the traffic data of each first application in at least one first application used by the reference object within each 3 minutes. When counting sumflow, the computing device no longer considers the third semantic feature of the first application and the second semantic feature of the first location information.

[0135] In a possible implementation, the computing device also performs logarithmic processing on the traffic usage characteristics, for example, taking 10 as the base, and performs logarithmic processing on the traffic usage characteristics to make the traffic usage characteristics evenly distributed, thereby improving the accuracy of traffic prediction. Optionally, after processing the traffic usage characteristics, the computing device predicts the amount of traffic used by the reference object in the first time period based on the traffic usage of the group corresponding to the first category characteristics and the traffic usage characteristics of the reference object. In the case that the traffic usage of the group corresponding to the first category characteristics has a large commonality, traffic prediction is performed based on the group corresponding to the first category characteristics, thereby achieving traffic prediction from multiple dimensions of groups and individuals, with high prediction accuracy.

[0136] In another possible case, the process by which the computing device determines the amount of traffic that the reference object needs to use in the first time period based on the first category characteristics and the traffic usage characteristics includes: determining the second situational semantic characteristics corresponding to the reference object in the first time period based on the first category characteristics of the reference object, the second situational semantic characteristics being used to indicate the communication intention of the reference object in the first time period; determining the amount of traffic that the reference object needs to use in the first time period based on the traffic usage characteristics and the second situational semantic characteristics of the reference object.

[0137] The computing device obtains the second situational semantic feature corresponding to the reference object in the first time period based on the first mobile data, the first device data and the first application data of the reference object. For example, the area where the reference object is located in the first time period is predicted based on the first mobile data and the first type feature, and the communication demand of the reference object is predicted based on the first device data and the first application data, thereby obtaining the second situational semantic feature of the reference object. The computing device determines the amount of traffic that the reference object needs to use in the first time period based on the traffic usage feature and the second situational semantic feature of the reference object. The first time period can be set based on experience, for example, set to 3 minutes later.

[0138] Next, an example is given to illustrate the process of determining the amount of traffic that the reference object needs to use in the first time period based on the traffic usage characteristics and the first category characteristics of the reference object. Based on the first type characteristics of the reference object, the object identity of the reference object is indicated as a delivery object. According to the first mobile data, it is predicted that the reference object is located at the school gate in the first time period. According to the first device data and the first application data, it is determined that the communication demand of the reference object is to run a food delivery application for order delivery. According to the historical traffic usage characteristics of the reference object, the amount of traffic that the reference object needs to consume when running the food delivery application for order delivery is determined, thereby completing the traffic determination.

[0139] The embodiment of the present application does not limit the way in which the computing device determines the traffic flow, which may be obtained through model calculation. In one possible case, the computing device obtains a target traffic determination model corresponding to the reference object, and the target traffic determination model includes a target category identification module and a target traffic calculation module. After that, the target category identification module is called to perform the operation of determining the first category feature of the reference object according to the first mobile data, the first device data, and the first application data in S202, and then the target traffic calculation module is called to perform the operation of determining the traffic size that the reference object needs to use in the first time period according to the first category feature of the reference object in S203.

[0140] In summary, the traffic determination method provided in the embodiment of the present application determines the first category feature by referring to the first mobile data, the first device data and the first application data of the object in multiple dimensions, and the utilization rate of the data is high, and the accuracy of the determined first category feature is high. Compared with the third related art, this traffic determination method predicts the user's gender and three types of age based on data such as the type, direction, timestamp, recipient identity document (ID), call duration and connected mobile phone signal tower of the mobile phone interaction, and makes more full use of the data. Compared with the fourth related art, the method collects data such as the installation of user applications and user ID, the list of installed applications, the usage time of each application in the list, extracts high-dimensional combined features from the collected data, and predicts the user's gender and eleven types of age. The predicted object identity is no longer limited to the age and gender of the reference object, and the identified object identity is more accurate.

[0141] In addition, since the first category feature can indicate the object identity of the reference object, in the process of predicting the traffic usage size based on the first category feature, the impact of the object identity of the reference object on the traffic usage is taken into account, and personalized and targeted predictions are achieved, and the predicted traffic size is more accurate. Based on more accurate traffic, the network is adaptively adjusted, and resources are scheduled for the first device in advance, which effectively improves the interactive experience of the reference object. In addition, in the process of traffic determination, the spatiotemporal trajectory of the reference object is accurately determined based on the first mobile data, providing learning samples for network big data intelligence.

[0142] The flowchart of the method for obtaining a flow determination model provided in the embodiment of the present application is as follows: Figure 6 As shown, including S601-S607.

[0143] S601, obtaining second movement data, second device data and second application data of the training object, wherein the second movement data indicates the movement of the training object, the second device data indicates the operation of the second device used by the training object, and the second application data indicates the operation of the second application on the second device.

[0144] The embodiment of the present application does not limit the training object for data collection, which may be the object identity shown in Table 4 or other object identities.

[0145] Table 4

[0146]

[0147]

[0148] In Table 4, M represents mean, and SD represents standard deviation. Referring to Table 4, the selected training subjects include undergraduates, master students, doctoral students, and delivery subjects. The number of training subjects with different subject identities is different, and the collection time may also be different. After the training subjects are selected, the statistical application can be installed and run on the second device of the training subjects to obtain the second mobile data, the second application data, and the second device data.

[0149] Exemplarily, the second device data includes at least one of the screen-on time, unlock times, ring mode, audio mode, charging status, Bluetooth status, headphone status, music playback status, microphone status, speaker status, and signal type of the second device. The second application data includes at least one of the application name, usage times, traffic data, and screen-occupied time of the second application. The description of the second mobile data, the second device data, and the second application data is similar to the description of the first mobile data, the first device data, and the first application data. The process by which the computing device obtains the second mobile data, the second device data, and the second application data of the training object is similar to the process by which the computing device obtains the first mobile data, the first device data, and the second application data of the reference object. Please refer to the relevant description in S201, which will not be repeated here.

[0150] S602, obtaining an initial flow determination model to be trained, where the initial flow determination model includes an initial category recognition module and an initial flow calculation module.

[0151] The embodiment of the present application does not limit the structure of the initial traffic determination model obtained by the computing device. For example, a decision tree model is used as the initial category recognition module, and a long short-term memory network (LSTM) is used as the initial traffic calculation module. The initial traffic determination model can also be other model structures, and the modules included in the initial traffic determination model can be composed of one network model or multiple network models, for example, a random forest classification model using multiple decision trees is used as the initial category recognition module.

[0152] S603, calling an initial category recognition module to determine a second category feature of the training object according to the second mobile data, the second device data and the second application data, where the second category feature indicates the object identity of the training object.

[0153] Optionally, before determining the second category feature, the computing device performs data cleaning on the second mobile data, the second device data, and the second application data. The data cleaning process is similar to the preprocessing process of the first mobile data, the first device data, and the first application data shown in the above embodiment S202, and the relevant description can be referred to. Through data cleaning, insufficient data collection time, insufficient data collection time, and second location information that is a null value in the second mobile data are deleted to improve the accuracy of the data, and the missing null values ​​in the second device data are filled to make the second device data more comprehensive.

[0154] After completing data cleaning, the computing device can call the initial category identification module to obtain the third situational semantic feature corresponding to the training object on the second date, where the second date is the date on which the second mobile data, the second device data or the second application data is collected, and the third situational semantic feature is used to indicate the communication intention of the training object on the second date; determine the second category feature of the training object based on the third situational semantic feature, the second mobile data, the second device data and the second application data.

[0155] Among them, the third situational semantic feature includes a fourth semantic feature, a fifth semantic feature and a sixth semantic feature, the fourth semantic feature is used to indicate the date type of the second date, the fifth semantic feature is used to indicate the regional function of the second area, the second area is the area visited by the training object on the second date, and the sixth semantic feature is used to indicate the use requirement of the training object to use the second application on the second date. Exemplarily, the meaning type of the fourth semantic feature and the first semantic feature, the process of determining the fourth semantic feature can refer to the process of determining the first semantic feature in S202, and will not be repeated here.

[0156] Before acquiring the fifth semantic feature, the computing device will also determine the second area for which the area function needs to be determined based on the second location information, and the determination process includes but is not limited to: determining the movement speed of the training object based on the second location information and the second collection time included in the second movement data, and the second collection time is on the second date; when the movement speed of the training object is not greater than the speed threshold, the area indicated by the second location information is determined as the second area. The process of determining the second area is similar to the process of determining the first area. For a detailed description, please refer to the relevant content of determining the first area in S202, which will not be repeated here.

[0157] The computing device determines the regional function of the second region, obtains the fifth semantic feature, and determines the sixth semantic feature according to the usage requirements of the second application used by the reference object. The process of the computing device determining the fifth semantic feature and determining the sixth semantic feature is similar to the process of determining the second semantic feature and the third semantic feature, and the relevant description in S202 may be referred to, and will not be repeated here.

[0158] Optionally, after determining the third situational semantic feature, the computing device may determine the second spatiotemporal movement feature of the training object based on the third situational semantic feature and the second movement data; determine the second device usage feature of the training object based on the third situational semantic feature, the second movement data, the second device data and the second application data; and determine the second category feature of the training object based on the second spatiotemporal movement feature and the second device usage feature.

[0159] In a possible implementation, before performing the second category feature recognition, the computing device will also process the data, adjust the time granularity of the second mobile data, the second device data, and the second application data, and merge the second mobile data, the second device data, and the second application data to obtain the spatiotemporal network data of the training object. Taking the acquisition cycle of 10 seconds as an example, the moment type feature corresponding to the hour and the third minute of the second date is added to the second acquisition time of every 10 seconds, and the time stamps of each moment type feature data record of each training object every day are combined and sorted, and the second device data of the last row of every three minutes are extracted. The computing device counts the second application data in every three minutes, that is, the screen occupation time, usage times, and traffic data of the second application of the second device in the second area, and merges the above second device data and the second application data according to the object identity of the reference object, the object identity document (ID), the second date, and the fourth semantic feature to obtain the spatiotemporal network data with a time granularity of 3 minutes. Among them, the multiple second application data generated every three minutes can correspond to one second device data.

[0160] Through the above operation, the feature data set of the spatiotemporal network data obtained includes object identity, object ID, second date, fourth semantic feature, fifth semantic feature, sixth semantic feature corresponding to the second application, screen usage time of the second application, number of uses, traffic data, screen brightness time of the second device, number of unlocks, ring mode, audio mode, charging status, Bluetooth status, headphone status, music playback status, microphone status, speaker status and signal type. Table 5 shows the scale of the feature data set of the spatiotemporal network data provided in the embodiment of the present application.

[0161] Table 5

[0162] Object identity Number of people 10 second data line 3-minute data row undergrad 59 8956602 628952 Master's students 23 3737875 260285 PhD Candidates 59 9591598 699970 Delivery Target 40 4854540 780254

[0163] Table 5 shows the spatiotemporal network data size of training objects with undergraduate, master, doctoral and delivery objects. There are two ways to represent the spatiotemporal network data of each training object, one is 10 seconds of data rows with a time granularity of 10 seconds, and the other is 3 minutes of data rows with a time granularity of 3 minutes.

[0164] After completing the time granularity adjustment, since the initial category recognition module has requirements for the character category of the processed spatiotemporal network data, the computing device also needs to convert the character category of the spatiotemporal network data into an integer feature that can be recognized by the initial category recognition module, that is, to encode the category feature of the spatiotemporal network data. The encoding process includes but is not limited to: for ordered category features, such as the second acquisition time, the ordinal encoding (OrdinalEncoder) estimator is used, and the OrdinalEncoder estimator converts each second acquisition time into a new integer feature, and the integer feature ranges from 0 to 23. For the second date, the second date is converted into integer features corresponding to Monday to Sunday and holidays, and the integer feature ranges from 0 to 7. Secondly, for the data of unordered category features, such as the sixth semantic feature and charging status corresponding to the second application, if it is converted into a continuous numerical input, the OrdinalEncoder will interpret the data of the unordered category features as ordered. Therefore, the hot encoding (OneHotEncoder) method will be used to convert the data of each unordered category feature with n_categories possible values ​​into n_categories binary features. Among them, one position in the binary feature is assigned a value of 1, and the other positions are assigned a value of 0.

[0165] By encoding the category features, the spatiotemporal network data with character categories as integer features is obtained, and the initial category recognition module recognizes the second category features from three dimensions: the object identity of the training object, the second spatiotemporal mobility feature, and the second device usage feature according to the spatiotemporal network data. In a possible implementation, the spatiotemporal network data can be divided into a model training set and a test set in proportion based on experience. For example, the spatiotemporal network data of eighty percent of the training objects in the training object group of each object identity is used as a training set, and the spatiotemporal network data of the remaining twenty percent of the training objects is used as a test set. Using model training, the second category features of the training objects with different object identities are learned to obtain the second spatiotemporal mobility features and the second device usage features of the training objects.

[0166] S604, updating the parameters of the initial category recognition module according to the baseline category features and the second category features of the training object to obtain a target category recognition module.

[0167] Exemplarily, before updating the parameters of the initial category recognition module, the computing device also needs to determine the baseline category characteristics of the training object based on the object identity of the training object, that is, to perform group attribute analysis on the training object. For example, the user attributes of different groups are analyzed according to the human factors research framework to obtain the baseline category characteristics of training objects with different object identities. According to the user attributes of the training object, its second spatiotemporal mobility characteristics and second device usage characteristics are analyzed, and the mobility frequency information is divided into two categories of high mobility and low mobility; according to the user attributes of the training object, the type, frequency, time period and purpose of the second area visited by the reference object, as well as the usage of the second application in the second area and the consumption pattern of traffic data, etc., are analyzed to divide the two types of access identity information: permanent residents and temporary visitors. Optionally, the user attributes of the training object may be age, object identity, economic income, etc.

[0168] Since the travel patterns of the training subjects have a strong predictable spatiotemporal regularity, and most people spend most of their time in a limited number of frequently visited places, "home" and "company" can be used as labels to identify the areas frequently visited by the training subjects. Therefore, based on the second area visited by the training subjects, and the second application used in the second area and the consumption pattern of traffic data, the training subjects can be divided into two types of visit identity information: permanent residents and temporary visitors of a certain area.

[0169] Taking a certain area as a school as an example, the access identity information in determining the benchmark category features is explained. The object identity of the training object is the student of the school. The benchmark spatiotemporal mobility features determined based on the fifth semantic feature of the second area, the second date and the fourth semantic feature, the length of stay, the travel mode, the daily travel range, and the activity range include: frequent stays in the campus comprehensive office building, teaching building, and dormitory building. Since the students of the school can also be further divided into undergraduates, masters and doctoral students, the benchmark spatiotemporal features of different students are also different. Among them, in the teaching building, the main activity of undergraduates is class teaching, which has short-term regularity, and the main activity of master students is self-study, with a longer total stay time; the main activity of doctoral students is scientific research and office work, and they frequently stay in the office building where the workstation is located.

[0170] Optionally, the use characteristics of the benchmark device are determined based on the use of the second device and the consumption pattern of traffic data, including: undergraduates use it for daily communications, viewing online courseware, submitting homework online, selecting courses, etc., and the network usage time is similar to the class time; master students use it for daily communications, real-time search for information, online meetings, etc., and use more WiFi traffic signals; doctoral students use multiple devices to connect to the Internet, collaborate in office or experiments, use fixed wireless network ports, etc., and wireless network WiFi access is more frequent and the usage is larger. In addition, as students, the training subjects will visit shopping district buildings at a low frequency. The main activities of the second device are leisure and entertainment, shopping, dining, etc., and they consume more by swiping payment codes or searching, and the total traffic energy consumption is low. Based on the above-mentioned benchmark device usage characteristics and benchmark spatiotemporal mobility characteristics, it can be determined that the student's access identity information at school belongs to a permanent resident.

[0171] When the training object's identity belongs to the delivery object, the training object's benchmark spatiotemporal movement characteristics include: high frequency of residence in business district buildings, high frequency of short-term visits to campus area office buildings, teaching buildings or dormitory buildings. The main activity of the takeaway group is to deliver food to users, and they stay briefly and multiple times at the entrances of multiple buildings. The benchmark equipment usage characteristics include: the main activities are work meal pickup and leisure and entertainment, the main traffic demand is fast response speed, no delay, and the ability to grab orders; more use of traffic signals, short-term use, accurate location identification, and timely response. Based on the above benchmark spatiotemporal movement and benchmark equipment usage characteristics, it is determined that the training object as a delivery object has a temporary visitor to the school.

[0172] Figure 7 and Figure 8 A comparison chart of the residence time and traffic consumption of students and delivery objects in school is provided in an embodiment of the present application. Figure 7 and Figure 8 From left to right, the first matrix represents undergraduates, the second matrix represents master students, the third matrix represents doctoral students, and the fourth matrix represents delivery objects. The color of the blocks is used to indicate the length of stay / traffic consumption. The darker the color, the longer the stay / the more traffic consumption. Figure 7 The training subjects with different identities have different residence times in different second areas. The undergraduate group, who are permanent residents, have regular classes, so their residence time is evenly distributed and their residence points are scattered. The doctoral student group has fixed workstations due to their scientific research work, so their residence time is concentrated in specific office locations. The master's student group is between undergraduates and doctoral students. The delivery objects who visit temporarily tend to stay near the business district during the same period of time.

[0173] See also Figure 8,The training subjects with different identities have different peak network usage periods in different second areas. For example, in the dormitory building on the far right, the resident student group consumes more traffic at each time period, while the temporary delivery objects consume less traffic. The delivery objects rest in various business district buildings from 9:00 to 11:00 and 14:00 to 16:00, which is the time when the traffic consumption in these buildings is the highest. At the same time, the student group is in specific teaching buildings and offices on campus to attend classes and conduct scientific research activities. In addition, Figure 7 and Figure 8 The depth of the color of the blocks in the figure is intended to distinguish different sizes of residence time / traffic consumption, which is an example provided in the embodiment of the present application. Figure 7 and Figure 8 The depth and clarity of the color of the blocks in the example do not affect the embodiment of the present application. Figure 7 and Figure 8 Although there is a problem that the attached figures are not clear due to printing and other operations, they can still be used to illustrate the difference in the amount of traffic consumed by different training subjects at different times and locations.

[0174] The above is the correspondence between the access identity information of the training object and the benchmark spatiotemporal mobility characteristics and the benchmark device usage characteristics. Optionally, the mobile frequency information of the training object also corresponds to the benchmark spatiotemporal mobility characteristics and the benchmark device usage characteristics. According to the mobility habits of the object identity and the human factors research analysis, although the activity trajectory of the training object has certain personalized characteristics, it has considerable common characteristics overall. The mobile frequency information can be divided into two categories: high mobility and low mobility according to the daily activity radius, the second area and the travel mode of the training object.

[0175] Continuing with the example of students and delivery objects, the baseline spatiotemporal mobility characteristics of students include: college students mainly stay at home and go to school, and their activity centers include residences such as home / dormitory, as well as school. There are fixed class times, weekends, and winter and summer vacations, with certain leisure and entertainment activities, and relatively rich travel locations. Masters and doctoral students mainly stay at home and conduct scientific research, and their activity centers include residences such as home / dormitory, as well as school (some have fixed scientific research workstations), and their social activities increase. The baseline device usage characteristics include: college students have a high degree of richness in mobile phone usage behavior, including information communication, audio-visual entertainment, food shopping, etc., with a high duration and frequency of use, and other electronic devices such as laptops and tablets carry learning activities. The richness of mobile phone usage behavior of master's and doctoral students has further increased, with a high duration and frequency of mobile phone use, and other secondary devices such as laptops and tablets carry learning activities. It is thus determined that students have low mobility.

[0176] The benchmark spatiotemporal characteristics of the delivery objects include: the main daily activities are home and work, the fixed activity center is the home / dormitory and other residential places, the area related to the workplace is not fixed or has a large range, and there are relatively few leisure and entertainment activities and social activities. The benchmark device usage characteristics include: the tendency to use multiple mobile phones, the types of applications used are mainly for professional content, the use of call and text messaging services is more, the daily usage period is longer, the frequency of use is higher, more mobile data is used rather than WiFi data, and the requirements for network speed are higher. Therefore, it is determined that the delivery objects are highly mobile.

[0177] Fig. 9 A comparison chart of the mobility differences between students and delivery objects provided in an embodiment of the present application. Fig. 9 This is the information visualization result of the first position information of 5 randomly selected students and 5 delivery objects on a weekday and a weekend. Fig. 9 , there are obvious differences in the scope of activities and places visited by different identities of the objects. On weekdays, the student group visits and stays between the teaching buildings, campus buildings and dormitory buildings to conduct classes, teaching or scientific research and office activities. The delivery objects move between the shopping mall and nearby communities and buildings to wait for meals, pick up meals and deliver meals. On weekends, in addition to activities on campus, the student group will also move from the campus to nearby shopping malls for leisure and entertainment. The activity radius has changed, and the delivery objects are still picking up and delivering meals, moving between the shopping mall and nearby communities and office buildings.

[0178] The above examples are intended to illustrate the differences in baseline spatiotemporal mobility characteristics and baseline device usage characteristics between different object identities in the process of determining the baseline category characteristics of training objects, and are not intended to limit the object identities used in this application. For example, Tables 6 and 7 show more baseline spatiotemporal characteristics and baseline device usage characteristics corresponding to object identities.

[0179] Table 6

[0180]

[0181]

[0182] Table 6 shows the correspondence between different object identities and reference spatiotemporal movement features and reference device usage features. Table 7 shows the correspondence between different object identities and movement frequency information.

[0183] Table 7

[0184]

[0185] Based on Tables 6 and 7, it can be seen that the method for obtaining a traffic determination model provided in the embodiments of the present application is applicable to training objects with various object identities. The students and delivery objects illustrated in the above embodiments are intended to illustrate the process of determining the baseline category characteristics of the object identity, rather than to limit the scope of application of the traffic determination model.

[0186] In addition, the embodiment of the present application does not limit the order in which the computing device performs the operation of obtaining the baseline category feature. It can be after the initial category recognition module completes the second category feature recognition, or before the initial category recognition module determines the second category feature. For example, Fig.10 After the computing device executes the operation of S601 to obtain the second mobile data, the second device data, and the second application data, it determines the baseline category feature of the training object according to the object identity of the training object, and then sequentially executes the above operations to determine the third situational semantic feature, and determines the second category feature according to the third situational semantic feature, etc.

[0187] However, no matter when the computing device obtains the baseline category features, after obtaining the baseline category features, the parameters of the initial category recognition model can be optimized and adjusted according to the error between the baseline category features and the second category features. When the initial category model is a decision tree model, the target model obtained can use "entropy" as the evaluation criterion, set the random number generator to 42, set the maximum depth of the decision tree to 25, set the minimum number of samples required for leaf nodes to 500, set the number of features to be considered for optimal segmentation to none, and use the default values ​​for other parameters to obtain the target category recognition module. Fig.11 A schematic diagram of the accuracy of a target category recognition module provided in an embodiment of the present application, wherein the target type recognition module is a decision tree model.

[0188] When the initial category recognition module uses a random forest classification model that calls multiple decision trees, the parameters of the initial category model are adjusted in turn by grid search to determine the optimal parameters of the random forest. In one possible case, the number of decision trees in the target category recognition model obtained is 25, and the other parameters are the same as those in the above decision tree model. Fig.12 A schematic diagram of the accuracy of another target category recognition module provided in an embodiment of the present application, wherein the target category recognition module is a random forest model.

[0189] Through model training, the spatiotemporal network data of training objects with different object identities in the training set are learned to obtain the benchmark spatiotemporal mobility features and benchmark equipment usage features of different training objects. Therefore, based on the spatiotemporal network data of the training objects in the test set, the second category features of the training objects corresponding to the spatiotemporal network data every three minutes are predicted to realize the identity recognition of the training objects.

[0190] S605: Calling an initial flow calculation module to determine the flow size that the training object needs to use in the second period according to the baseline category characteristics of the training object.

[0191] Exemplarily, the computing device executes Fig.10 The process of calculating the flow size shown includes: calling the initial flow calculation module to obtain the flow usage characteristics of the training object; determining the flow size that the training object needs to use in the second time period according to the flow usage characteristics of the training object and the second category characteristics. The process of the computing device extracting the flow usage characteristics of the training object is similar to the process of extracting the flow usage characteristics of the reference object. Please refer to the relevant description of extracting the flow usage characteristics in S203, which will not be repeated here.

[0192] Optionally, the process of the computing device predicting traffic based on the traffic usage characteristics and the second category characteristics of the training object is similar to the process of predicting traffic based on the traffic usage characteristics and the first category characteristics of the reference object in the above embodiment S203. It can be determined directly based on the traffic usage characteristics and the second category characteristics, or it can be determined based on the second category characteristics. The fourth situational semantic feature corresponding to the training object in the second time period, the fourth situational semantic feature is used to indicate the communication intention of the training object in the second time period; the amount of traffic that the training object needs to use in the second time period is determined based on the traffic usage characteristics and the fourth situational semantic feature of the training object.

[0193] Exemplarily, the computing device sets the time step, feature column and rolling step according to different time granularities, and converts the spatiotemporal network data into time series data according to the time step. For example, according to a given historical time step, the input data such as the spatiotemporal network data is converted into time series data, and for the initial spatiotemporal network data of 3 minutes, the time step is set to 120, and the data converted according to the time step is the spatiotemporal network data of the previous 6 hours.

[0194] After obtaining the spatiotemporal network data, the computing device may determine the fourth situational semantic feature according to the spatiotemporal network data and the second category feature. Optionally, the process of the computing device determining the fourth situational semantic feature is similar to the process of determining the second situational semantic feature of the reference object in the above embodiment S203, and the process of determining the amount of traffic that the training object needs to use in the second time period according to the traffic usage feature and the fourth situational semantic feature is similar to the process of determining the amount of traffic that the reference object needs to use in the first time period according to the traffic usage feature and the second situational semantic feature in the above embodiment S203. Please refer to the relevant description in S203, which will not be repeated here.

[0195] S606: Update the parameters of the initial flow calculation module according to the baseline flow of the training object and the flow size that the training object needs to use in the second period to obtain a target flow calculation module.

[0196] In one possible case, the computing device will also divide the acquired time series data of different training objects to obtain the training set, validation set and test set involved in the model training. The division method can be implemented according to the time sequence. For example, for the 3-minute time series data, the last 480 rows, that is, the time series data of the last 24 hours, are used as the test set, and the remaining data is divided into the training set and the validation set in a ratio of 8:2. The training of the processing flow calculation module is implemented through the training set and the validation set, that is, the flow size involved in S605 and S606 is the flow size corresponding to the training set and the validation set.

[0197] Optionally, the error between the baseline flow of the training object and the flow size required to be used in the second period is calculated by a loss function to adjust the parameters of the initial flow calculation module according to the error. The loss function may be a mean square error function, an absolute mean error function, etc.

[0198] Taking the initial traffic calculation module as an LSTM model as an example, the process of training the initial traffic calculation module is explained. Exemplarily, the main body of the LSTM model consists of two LSTM layers containing 64 and 32 memory units respectively, an activation function (sigmoid) and a fully connected output layer containing several neurons in the target information table. For the case where the model compilation optimization algorithm is the Adam optimizer, the maximum number of training periods for the initial traffic calculation module is 200, the batch size is 32, and early stopping training (earlystopping()) is added to update the parameters of the initial traffic calculation module with validation loss (val-loss) as the monitoring parameter. Based on the fact that there is no improvement in the val-loss performance for 10 periods, it is determined that the training of the initial traffic calculation module is completed, and the target traffic calculation module is obtained. The computing device can continue to use the test set to test the computing effect of the target traffic calculation module.

[0199] Fig.13 The error loss in the module training and verification process provided in the embodiment of the present application is based on Fig.13 It can be seen that by continuously adjusting the parameters of the initial flow calculation module to reduce the calculation error of the initial flow calculation module, a target flow calculation module with high accuracy is obtained. Fig.14 The traffic prediction result of 3-minute time series data of 30 random training subjects with various training subject identities provided in the embodiment of the present application is shown in FIG. The dark gray represents the traffic prediction result, and the light gray represents the actual traffic used by the training subjects.

[0200] S607, obtaining a target flow determination model based on the target flow calculation module and the target category recognition module.

[0201] After the computing device obtains the target flow calculation module and the target category identification module through training, the target flow calculation module and the target category identification module are determined as the target flow determination model. The embodiment of the present application does not limit the order of obtaining the target flow calculation module and the target category identification module, which can be obtained by synchronous module training or asynchronous module training, and the order can be first obtaining the target category identification module and then obtaining the target flow calculation module in the embodiment of the present application. It can also be that the target flow calculation module is obtained first, and then the target category identification module is obtained. In addition, the 3 minutes involved in the training of the initial flow determination model in the embodiment of the present application is a time granularity set according to experience, and the time granularity can be flexibly adjusted according to the length of the second time period to be predicted.

[0202] In summary, the method for obtaining a traffic determination model provided in an embodiment of the present application determines the second category feature through data of multiple dimensions including the second mobile data, the second device data, and the second application data of the training object. The data utilization rate is high, and the target category recognition module obtained through training has high accuracy. The initial traffic calculation module is trained based on the baseline category feature of the training object. The target traffic calculation module obtained thereby will refer to the category features of the training object, such as the second category feature or the baseline category feature, in the process of predicting traffic, and the predicted traffic has high accuracy. By training the initial traffic determination model, a target traffic determination model for predicting traffic demand is obtained, so that network adaptive adjustment can be made according to the predicted traffic, energy consumption mode can be optimized, network load can be reduced, network resource utilization can be improved, and interactive experience can be improved.

[0203] The above describes the method for determining flow rate in an embodiment of the present application. Corresponding to the above method, an embodiment of the present application also provides a device for determining flow rate. Fig.15 Schematic diagram of a flow rate determination device provided in an embodiment of the present application. Fig.15 As shown in the following multiple modules, the Fig.15 The flow rate determination device shown is capable of performing the above Figure 2 It should be understood that the device may include more additional modules than the modules shown or omit some of the modules shown, and the embodiments of the present application are not limited to this. Fig.15 As shown, the device comprises:

[0204] An acquisition module 1501 is used to acquire first movement data, first device data, and first application data of a reference object, wherein the first movement data indicates movement of the reference object, the first device data indicates operation of a first device used by the reference object, and the first application data indicates operation of a first application on the first device;

[0205] A determination module 1502, configured to determine a first category feature of a reference object according to the first mobile data, the first device data, and the first application data, wherein the first category feature indicates an object identity of the reference object;

[0206] The determination module 1502 is further configured to determine the flow rate required to be used by the reference object in the first time period according to the first category feature of the reference object.

[0207] In one possible implementation, determination module 1502 is used to obtain a first situational semantic feature corresponding to a reference object on a first date, where the first date is a date on which first mobile data, first device data or first application data is collected, and the first situational semantic feature is used to indicate the communication intention of the reference object on the first date; and determine a first category feature of the reference object based on the first situational semantic feature, the first mobile data, the first device data and the first application data.

[0208] In one possible implementation, the first situational semantic feature includes a first semantic feature, a second semantic feature, and a third semantic feature, the first semantic feature is used to indicate the date type of the first date, the second semantic feature is used to indicate the regional function of the first area, the first area is the area visited by the reference object on the first date, and the third semantic feature is used to indicate the reference object's need to use the first application on the first date.

[0209] In a possible implementation, the determination module 1502 is used to determine the moving speed of the reference object based on the first position information and the first collection time included in the first movement data, and the first collection time is on the first date; when the moving speed of the reference object is not greater than the speed threshold, the area indicated by the first position information is determined as the first area.

[0210] In one possible implementation, determination module 1502 is used to determine a first spatiotemporal movement feature of a reference object based on a first situational semantic feature and first movement data; determine a first device usage feature of the reference object based on the first situational semantic feature, first movement data, first device data, and first application data; and determine a first category feature of the reference object based on the first spatiotemporal movement feature and the first device usage feature.

[0211] In a possible implementation, the determination module 1502 is used to obtain the traffic usage characteristics of the reference object; and determine the amount of traffic that the reference object needs to use in the first time period according to the traffic usage characteristics of the reference object and the first category characteristics.

[0212] In one possible implementation, determination module 1502 is used to determine a second situational semantic feature corresponding to the reference object in the first time period based on the first category feature of the reference object, the second situational semantic feature being used to indicate the communication intention of the reference object in the first time period; and to determine the amount of traffic that the reference object needs to use in the first time period based on the traffic usage feature and the second situational semantic feature of the reference object.

[0213] In a possible implementation, the acquisition module 1501 is also used to obtain a target traffic determination model corresponding to the reference object, the target traffic determination model includes a target category identification module and a target traffic calculation module; the determination module 1502 is used to call the target category identification module to determine the first category characteristics of the reference object based on the first mobile data, the first device data and the first application data; and call the target traffic calculation module to determine the traffic size that the reference object needs to use within the first time period based on the first category characteristics of the reference object.

[0214] In one possible implementation, the first device data includes at least one of the screen-on duration, unlock times, ring mode, audio mode, charging status, Bluetooth status, headphone status, music playback status, microphone status, speaker status, and signal type of the first device.

[0215] In a possible implementation, the first application data includes at least one of an application name, usage counts, traffic data, and screen usage time of the first application.

[0216] In a possible implementation manner, the first category feature of the reference object includes at least one of visitor identity information and movement frequency information of the reference object.

[0217] The above device determines the first category feature by using data of multiple dimensions including the first mobile data, the first device data and the first application data of the reference object, and the utilization rate of the data is high, and the accuracy of the determined first category feature is high. Since the first category feature can indicate the object identity of the reference object, in the process of predicting the traffic usage size according to the first category feature, the influence of the object identity of the reference object on the traffic usage is taken into account, so as to achieve personalized and targeted prediction, and the predicted traffic size is more accurate.

[0218] Fig.16 Schematic diagram of a device for obtaining a flow determination model provided by an embodiment of the present application. Fig.16 As shown in the following multiple modules, the Fig.16 The device for obtaining the flow determination model shown can perform the above Figure 6 It should be understood that the device may include more additional modules than the modules shown or omit some of the modules shown, and the embodiments of the present application are not limited to this. Fig.16As shown, the device comprises:

[0219] An acquisition module 1601 is used to acquire second movement data, second device data, and second application data of a training object, wherein the second movement data indicates movement of the training object, the second device data indicates operation of a second device used by the training object, and the second application data indicates operation of a second application on the second device;

[0220] The acquisition module 1601 is also used to acquire an initial flow determination model to be trained, where the initial flow determination model includes an initial category recognition module and an initial flow calculation module;

[0221] A determination module 1602, configured to call an initial category recognition module to determine a second category feature of the training object according to the second mobile data, the second device data, and the second application data, wherein the second category feature indicates an object identity of the training object;

[0222] An updating module 1603 is used to update the parameters of the initial category recognition module according to the baseline category features and the second category features of the training object to obtain a target category recognition module;

[0223] The determination module 1602 is further used to call the initial flow calculation module to determine the flow size that the training object needs to use in the second period according to the baseline category characteristics of the training object;

[0224] The updating module 1603 is further used to update the parameters of the initial flow calculation module according to the baseline flow of the training object and the flow size that the training object needs to use in the second period, so as to obtain a target flow calculation module;

[0225] The acquisition module 1601 is further used to obtain a target flow determination model based on the target flow calculation module and the target category recognition module.

[0226] In one possible implementation, the determination module 1602 is used to call the initial category identification module to obtain the third situational semantic feature corresponding to the training object on the second date, where the second date is the date on which the second mobile data, the second device data or the second application data is collected, and the third situational semantic feature is used to indicate the communication intention of the training object on the second date; the second category feature of the training object is determined based on the third situational semantic feature, the second mobile data, the second device data and the second application data.

[0227] In one possible implementation, the third situational semantic feature includes a fourth semantic feature, a fifth semantic feature, and a sixth semantic feature, the fourth semantic feature is used to indicate the date type of the second date, the fifth semantic feature is used to indicate the regional function of the second area, the second area is the area visited by the training subject on the second date, and the sixth semantic feature is used to indicate the training subject's need to use the second application on the second date.

[0228] In a possible implementation, the determination module 1602 is further used to determine the moving speed of the training object based on the second position information and the second collection time included in the second movement data, and the second collection time is on the second date; when the moving speed of the training object is not greater than the speed threshold, the area indicated by the second position information is determined as the second area.

[0229] In one possible implementation, determination module 1602 is used to determine the second spatiotemporal movement feature of the training object based on the third situational semantic feature and the second movement data; determine the second device usage feature of the training object based on the third situational semantic feature, the second movement data, the second device data and the second application data; and determine the second category feature of the training object based on the second spatiotemporal movement feature and the second device usage feature.

[0230] In a possible implementation, the determination module 1602 is further configured to determine a baseline category feature of the training object according to the object identity of the training object.

[0231] In a possible implementation, the determination module 1602 is used to call the initial traffic calculation module to obtain the traffic usage characteristics of the training object; and determine the traffic size that the training object needs to use in the second time period according to the traffic usage characteristics and the second category characteristics of the training object.

[0232] In one possible implementation, determination module 1602 is used to determine the fourth situational semantic feature corresponding to the training object in the second time period based on the second category feature of the training object, and the fourth situational semantic feature is used to indicate the communication intention of the training object in the second time period; and to determine the amount of traffic that the training object needs to use in the second time period based on the traffic usage characteristics of the training object and the fourth situational semantic feature.

[0233] In one possible implementation, the second device data includes at least one of the screen-on duration, unlock times, ring mode, audio mode, charging status, Bluetooth status, headphone status, music playback status, microphone status, speaker status, and signal type of the second device.

[0234] In a possible implementation, the second application data includes at least one of an application name, usage counts, traffic data, and screen usage time of the second application.

[0235] In a possible implementation manner, the second category of features of the training object includes at least one of visitor identity information and movement frequency information of the training object.

[0236] The above device trains the initial category recognition module through data of multiple dimensions such as the second mobile data, the second device data and the second application data of the training object, and the trained target category recognition module has high accuracy. The initial traffic calculation module is trained based on the benchmark category features of the training object, and the target traffic calculation module obtained thereby will refer to the category features of the training object, such as the benchmark category features, in the process of predicting traffic, and the predicted traffic has high accuracy.

[0237] It should be understood that the above Fig.15 and Fig.16 When the device provided realizes its functions, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0238] See also Fig.17 , Fig.17 A schematic diagram of the structure of a network device 1700 provided by an exemplary embodiment of the present application is shown. Fig.17 The network device 1700 shown is used to perform the above Figure 2 The method for determining the flow rate shown in the figure involves the following operations, or performing the above Figure 6 The operations involved in the method for obtaining a traffic determination model are shown. The network device 1700 is, for example, a switch, a router, etc. The network device 1700 can be implemented by a general bus architecture.

[0239] like Fig.17 As shown, the network device 1700 includes at least one processor 1701 , a memory 1703 , and at least one communication interface 1704 .

[0240] Processor 1701 is, for example, a general-purpose central processing unit (CPU), a digital signal processor (DSP), a network processor (NP), a graphics processing unit (GPU), a neural-network processing units (NPU), a data processing unit (DPU), a microprocessor, or one or more integrated circuits for implementing the solution of the present application. For example, processor 1701 includes an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. PLD is, for example, a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof. It can implement or execute various logic blocks, modules, and circuits described in conjunction with the disclosure of the embodiments of the present application. The processor can also be a combination that implements a computing function, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.

[0241] Optionally, the network device 1700 further includes a bus. The bus is used to transmit information between the components of the network device 1700. The bus may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.17 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0242] The memory 1703 is, for example, a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, or a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 1703 is, for example, independent and connected to the processor 1701 via a bus. The memory 1703 can also be integrated with the processor 1701.

[0243] The communication interface 1704 uses any transceiver-like device for communicating with other devices or communication networks, and the communication network can be Ethernet, a radio access network (RAN) or a wireless local area network (WLAN), etc. The communication interface 1704 may include a wired communication interface and may also include a wireless communication interface. Specifically, the communication interface 1704 may be an Ethernet interface, a fast Ethernet (FE) interface, a gigabit Ethernet (GE) interface, an asynchronous transfer mode (ATM) interface, a wireless local area network (WLAN) interface, a cellular network communication interface or a combination thereof. The Ethernet interface may be an optical interface, an electrical interface or a combination thereof. In an embodiment of the present application, the communication interface 1704 may be used for the network device 1700 to communicate with other devices.

[0244] In a specific implementation, as an embodiment, the processor 1701 may include one or more CPUs, such as Fig.17 0 and CPU1 shown in FIG. Each of these processors may be a single-CPU processor or a multi-CPU processor. A processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0245] In a specific implementation, as an embodiment, the network device 1700 may include multiple processors, such as Fig.17 1701 and 1705 are shown in FIG. Each of these processors may be a single-CPU or a multi-CPU. A processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (such as computer program instructions).

[0246] In a specific implementation, as an embodiment, the network device 1700 may also include an output device and an input device. The output device communicates with the processor 1701 and can display information in a variety of ways. For example, the output device may be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector. The input device communicates with the processor 1701 and can receive user input in a variety of ways. For example, the input device may be a mouse, a keyboard, a touch screen device, or a sensor device.

[0247] In some embodiments, the memory 1703 is used to store the program code 1710 for executing the solution of the present application, and the processor 1701 can execute the program code 1710 stored in the memory 1703. That is, the network device 1700 can implement the method for determining the flow provided in the method embodiment, or implement the method for obtaining the flow determination model provided in the method embodiment through the processor 1701 and the program code 1710 in the memory 1703. The program code 1710 may include one or more software modules. Optionally, the processor 1701 itself may also store the program code or instruction for executing the solution of the present application.

[0248] In a specific embodiment, the network device 1700 of the embodiment of the present application may correspond to the computing device in the above-mentioned various method embodiments.

[0249] in, Figure 2 The flow rate determination method shown or Figure 6Each step of the method for obtaining the traffic determination model shown is completed by the hardware integrated logic circuit or software instructions in the processor of the network device 1700. The steps of the method disclosed in conjunction with the embodiment of the present application can be directly embodied as a hardware processor, or a combination of hardware and software modules in the processor. The software module can be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory, and completes the steps of the above method in conjunction with its hardware. To avoid repetition, it is not described in detail here.

[0250] Fig.18 It is a structural diagram of another network device provided in an embodiment of the present application. The network device is, for example, a server. The server may have relatively large differences due to different configurations or performances. It may include one or more processors 1801 and one or more memories 1802, wherein the one or more memories 1802 store at least one computer program, and the at least one computer program is loaded and executed by the one or more processors 1801, so that the server implements the method for determining the flow provided in the above-mentioned various method embodiments, or implements the method for obtaining the flow determination model provided in the above-mentioned various method embodiments. The processor 1801 is, for example, a central processing unit (CPU). Of course, the network device may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output. The network device may also include other components for implementing device functions, which will not be repeated here.

[0251] The embodiment of the present application also provides a communication device, which includes: a transceiver, a memory, and a processor. The transceiver, the memory, and the processor communicate with each other through an internal connection path, the memory is used to store instructions, and the processor is used to execute the instructions stored in the memory to control the transceiver to receive signals and control the transceiver to send signals, and when the processor executes the instructions stored in the memory, the processor executes the method for determining traffic or the method for obtaining a traffic determination model.

[0252] It should be understood that the processor may be a CPU, or other general-purpose processors, DSPs, ASICs, FPGAs or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor supporting an advanced RISC machines (ARM) architecture.

[0253] Further, in an optional embodiment, the memory may include a read-only memory and a random access memory, and provide instructions and data to the processor. The memory may also include a non-volatile random access memory. For example, the memory may also store information about the device type.

[0254] The memory may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memory. Among them, the nonvolatile memory may be a ROM, a programmable read-only memory (programmable ROM, PROM), an erasable programmable read-only memory (erasable PROM, EPROM), an EEPROM or a flash memory. The volatile memory may be a RAM, which is used as an external cache. By way of example but not limitation, many forms of RAM are available. For example, static random access memory (static RAM, SRAM), dynamic random access memory (dynamic random access memory, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (synchlink DRAM, SLDRAM) and direct memory bus random access memory (direct rambus RAM, DR RAM).

[0255] An embodiment of the present application also provides a computer-readable storage medium, in which at least one instruction is stored. The instruction is loaded and executed by a processor to enable a computer to implement any of the above-described methods for determining flow or any of the above-described methods for obtaining a flow determination model.

[0256] The embodiments of the present application also provide a computer program (product), which, when executed by a computer, can enable a processor or a computer to execute the corresponding steps and / or processes in the above method embodiments.

[0257] An embodiment of the present application also provides a chip, which includes a processor for calling and executing instructions stored in a memory from the memory, so that a communication device equipped with the chip executes any of the above-described methods for determining traffic, or executes any of the above-described methods for obtaining a traffic determination model.

[0258] An embodiment of the present application also provides another chip, including: an input interface, an output interface, a processor and a memory, wherein the input interface, the output interface, the processor and the memory are connected via an internal connection path, and the processor is used to execute the code in the memory. When the code is executed, the processor is used to execute any of the flow determination methods described above, or execute any of the methods for obtaining a flow determination model described above.

[0259] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in this application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integration. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk), etc.

[0260] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions. For example, the first mobile data, first device data and first application data involved in this application are all obtained with full authorization.

[0261] Those of ordinary skill in the art will appreciate that, in conjunction with the various method steps and modules described in the embodiments disclosed herein, they can be implemented in software, hardware, firmware, or any combination thereof. In order to clearly illustrate the interchangeability of hardware and software, the steps and components of each embodiment have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Those of ordinary skill in the art may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0262] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0263] When software is used for implementation, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer program instructions. As an example, the method of the embodiment of the present application can be described in the context of a machine executable instruction, and the machine executable instruction is such as included in the program module executed in the device on the real or virtual processor of the target. Generally speaking, a program module includes a routine, a program, a library, an object, a class, a component, a data structure, etc., which performs a specific task or realizes a specific abstract data structure. In various embodiments, the function of the program module can be merged or divided between the described program modules. The machine executable instruction for the program module can be executed in a local or distributed device. In a distributed device, the program module can be located in both a local and a remote storage medium.

[0264] The computer program code for implementing the method of the embodiment of the present application can be written in one or more programming languages. These computer program codes can be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable device for determining flow or a device for obtaining a flow determination model, so that when the program code is executed by a computer or other programmable device for determining flow or a device for obtaining a flow determination model, the functions / operations specified in the flow chart and / or block diagram are implemented. The program code can be executed entirely on a computer, partially on a computer, as an independent software package, partially on a computer and partially on a remote computer, or entirely on a remote computer or server.

[0265] In the context of the embodiments of the present application, computer program codes or related data may be carried by any appropriate carrier to enable a device, apparatus or processor to perform the various processes and operations described above. Examples of carriers include signals, computer readable media, and the like.

[0266] Examples of signals may include electrical, optical, radio, acoustic or other forms of propagated signals, such as carrier waves, infrared signals, etc.

[0267] A machine-readable medium may be any tangible medium that contains or stores a program for or related to an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination thereof. More detailed examples of machine-readable storage media include an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0268] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and modules described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0269] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the module is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, or it can be an electrical, mechanical or other form of connection.

[0270] The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the embodiments of the present application.

[0271] In addition, each functional module in each embodiment of the present application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.

[0272] If the integrated module 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 is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0273] In the present application, the terms "first", "second", etc. are used to distinguish between identical or similar items having substantially the same effects and functions. It should be understood that there is no logical or temporal dependency between "first", "second", and "nth", nor is there a limitation on quantity and execution order. It should also be understood that although the following description uses the terms first, second, etc. to describe various elements, these elements should not be limited by the terms. These terms are only used to distinguish one element from another. For example, without departing from the scope of the various described examples, a first image may be referred to as a second image, and similarly, a second image may be referred to as a first image. Both the first image and the second image may be images, and in some cases, may be separate and different images.

[0274] It should also be understood that in the various embodiments of the present application, the size of the serial number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0275] The term "at least one" in this application means one or more, and the term "multiple" in this application means two or more, for example, multiple second messages means two or more second messages. The terms "system" and "network" are often used interchangeably herein.

[0276] It should be understood that the terms used in the description of the various examples herein are only for describing specific examples and are not intended to be limiting. As used in the description of the various examples and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.

[0277] It should also be understood that the term "and / or" used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items. The term "and / or" is a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this application generally indicates that the associated objects before and after are in an "or" relationship.

[0278] It should also be understood that the term “comprise” (also known as “includes,” “including,” “comprises” and / or “comprising”) when used in this specification specifies the presence of stated features, integers, steps, operations, elements, and / or components, but does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.

[0279] It should also be understood that the terms "if" and "if" may be interpreted to mean "when" or "upon" or "in response to determining" or "in response to detecting." Similarly, the phrases "if it is determined that ..." or "if [a stated condition or event] is detected" may be interpreted to mean "upon determining that ..." or "in response to determining that ..." or "upon detecting [a stated condition or event]" or "in response to detecting [a stated condition or event]," depending on the context.

[0280] It should be understood that determining B based on A does not mean determining B only based on A. B can also be determined based on A and / or other information.

[0281] It should also be understood that the references to "one embodiment", "an embodiment", or "a possible implementation" throughout the specification mean that specific features, structures, or characteristics related to the embodiment or implementation are included in at least one embodiment of the present application. Therefore, the references to "in one embodiment" or "in an embodiment", or "a possible implementation" throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

Claims

1. A method for determining flow rate, characterized in that: The method comprises: Acquire first movement data, first device data, and first application data of a reference object, wherein the first movement data indicates movement of the reference object, the first device data indicates operation of a first device used by the reference object, and the first application data indicates operation of a first application on the first device; determining a first category feature of the reference object according to the first mobile data, the first device data, and the first application data, the first category feature indicating an object identity of the reference object; The flow rate required to be used by the reference object in a first time period is determined according to the first category feature of the reference object.

2. The method according to claim 1, characterized in that The determining the first category feature of the reference object according to the first mobile data, the first device data and the first application data comprises: Acquire a first contextual semantic feature corresponding to the reference object on a first date, where the first date is a date on which the first mobile data, the first device data, or the first application data is collected, and the first contextual semantic feature is used to indicate a communication intention of the reference object on the first date; A first category feature of the reference object is determined according to the first situational semantic feature, the first movement data, the first device data, and the first application data.

3. The method according to claim 2, characterized in that The first situational semantic feature includes a first semantic feature, a second semantic feature and a third semantic feature, the first semantic feature is used to indicate the date type of the first date, the second semantic feature is used to indicate the regional function of a first area, the first area is the area visited by the reference object on the first date, and the third semantic feature is used to indicate the usage requirement of the reference object to use the first application on the first date.

4. The method according to claim 3, characterized in that: Before acquiring the first situational semantic feature corresponding to the first date of the reference object, the method further includes: determining a moving speed of the reference object according to first location information and a first collection time included in the first movement data, the first collection time being on the first date; When the moving speed of the reference object is not greater than a speed threshold, the area indicated by the first position information is determined as the first area.

5. The method according to any one of claims 2 to 4, characterized in that: The determining the first category feature of the reference object according to the first situational semantic feature, the first mobile data, the first device data and the first application data includes: determining a first spatiotemporal movement feature of the reference object according to the first situational semantic feature and the first movement data; determining a first device usage feature of the reference object according to the first situational semantic feature, the first movement data, the first device data, and the first application data; A first category feature of the reference object is determined according to the first spatiotemporal movement feature and the first device usage feature.

6. The method according to any one of claims 1 to 5, characterized in that: The determining, according to the first category feature of the reference object, the flow rate required to be used by the reference object in the first time period includes: Obtaining traffic usage characteristics of the reference object; The amount of traffic that the reference object needs to use during the first time period is determined according to the traffic usage characteristics of the reference object and the first category characteristics.

7. The method according to claim 6, characterized in that The determining, according to the traffic usage characteristics of the reference object and the first category characteristics, the traffic size that the reference object needs to use during the first time period includes: Determining, according to the first category feature of the reference object, a second situational semantic feature corresponding to the reference object in the first time period, wherein the second situational semantic feature is used to indicate the communication intention of the reference object in the first time period; The amount of traffic that the reference object needs to use during the first time period is determined according to the traffic usage characteristics of the reference object and the second situational semantic characteristics.

8. The method according to any one of claims 1 to 7, characterized in that: Before determining the first category feature of the reference object according to the first mobile data, the first device data and the first application data, the method further includes: Acquire a target flow determination model corresponding to the reference object, wherein the target flow determination model includes a target category recognition module and a target flow calculation module; The determining the first category feature of the reference object according to the first mobile data, the first device data and the first application data comprises: calling the target category identification module to determine the first category feature of the reference object according to the first mobile data, the first device data and the first application data; Determining the flow size required for the reference object in the first time period according to the first category feature of the reference object includes: calling the target flow calculation module to determine the flow size required for the reference object in the first time period according to the first category feature of the reference object.

9. The method according to any one of claims 1 to 8, characterized in that: The first device data includes at least one of the screen-on time, unlock times, ring mode, audio mode, charging status, Bluetooth status, headphone status, music playback status, microphone status, speaker status, and signal type of the first device.

10. The method according to any one of claims 1 to 9, characterized in that: The first application data includes at least one of an application name, usage counts, traffic data, and screen usage time of the first application.

11. The method according to any one of claims 1 to 10, characterized in that: The first category feature of the reference object includes at least one of visitor identity information and movement frequency information of the reference object.

12. A method for obtaining a flow determination model, characterized in that: The method comprises: Acquire second movement data, second device data, and second application data of the training object, wherein the second movement data indicates movement of the training object, the second device data indicates operation of a second device used by the training object, and the second application data indicates operation of a second application on the second device; Acquire an initial flow determination model to be trained, wherein the initial flow determination model includes an initial category recognition module and an initial flow calculation module; calling the initial category identification module to determine a second category feature of the training object according to the second mobile data, the second device data, and the second application data, wherein the second category feature indicates an object identity of the training object; Update the parameters of the initial category recognition module according to the baseline category feature of the training object and the second category feature to obtain a target category recognition module; Calling the initial flow calculation module to determine the flow size that the training object needs to use in the second time period according to the baseline category characteristics of the training object; Update the parameters of the initial flow calculation module according to the baseline flow of the training object and the flow size that the training object needs to use in the second period to obtain a target flow calculation module; A target flow determination model is obtained based on the target flow calculation module and the target category identification module.

13. The method according to claim 12, characterized in that The calling the initial category identification module to determine the second category feature of the training object according to the second mobile data, the second device data and the second application data includes: calling the initial category recognition module to obtain a third situational semantic feature of the training subject corresponding to a second date, where the second date is a date on which the second mobile data, the second device data, or the second application data is collected, and the third situational semantic feature is used to indicate the communication intention of the training subject on the second date; A second category feature of the training object is determined according to the third situational semantic feature, the second movement data, the second device data, and the second application data.

14. The method according to claim 13, characterized in that The third situational semantic feature includes a fourth semantic feature, a fifth semantic feature and a sixth semantic feature, the fourth semantic feature is used to indicate the date type of the second date, the fifth semantic feature is used to indicate the regional function of the second area, the second area is the area visited by the training subject on the second date, and the sixth semantic feature is used to indicate the need for the training subject to use the second application on the second date.

15. The method according to claim 14, characterized in that Before obtaining the third situational semantic feature corresponding to the second date of the training object, the method further includes: determining a movement speed of the training object according to second location information and a second collection time included in the second movement data, the second collection time being on the second date; When the moving speed of the training object is not greater than a speed threshold, the area indicated by the second position information is determined as the second area.

16. The method according to any one of claims 13 to 15, characterized in that: The determining the second category feature of the training object according to the third situational semantic feature, the second mobile data, the second device data and the second application data comprises: Determining a second spatiotemporal movement feature of the training object according to the third situational semantic feature and the second movement data; Determine a second device usage feature of the training subject according to the third situational semantic feature, the second movement data, the second device data, and the second application data; A second category feature of the training object is determined according to the second spatiotemporal movement feature and the second device usage feature.

17. The method according to any one of claims 12 to 16, characterized in that: Before updating the parameters of the initial category recognition module according to the baseline category feature and the second category feature of the training object, the method further includes: A baseline category feature of the training object is determined based on the object identity of the training object.

18. The method according to any one of claims 12 to 17, characterized in that: The calling of the initial flow calculation module to determine the flow size that the training object needs to use in the second time period according to the baseline category characteristics of the training object includes: Calling the initial flow calculation module to obtain the flow usage characteristics of the training object; The amount of traffic that the training object needs to use during the second time period is determined according to the traffic usage characteristics of the training object and the second category characteristics.

19. The method according to claim 18, characterized in that The determining, according to the traffic usage characteristics of the training object and the second category characteristics, the traffic size that the training object needs to use during the second time period includes: Determining, according to the second category feature of the training object, a fourth situational semantic feature corresponding to the training object in the second time period, wherein the fourth situational semantic feature is used to indicate the communication intention of the training object in the second time period; The amount of traffic that the training object needs to use during the second time period is determined according to the traffic usage characteristics of the training object and the fourth situational semantic characteristics.

20. The method according to any one of claims 12 to 19, characterized in that: The second device data includes at least one of the screen-on duration, unlock times, ring mode, audio mode, charging status, Bluetooth status, headphone status, music playback status, microphone status, speaker status, and signal type of the second device.

21. The method according to any one of claims 12 to 20, characterized in that: The second application data includes at least one of an application name, usage counts, traffic data, and screen usage time of the second application.

22. The method according to any one of claims 12 to 21, characterized in that: The second category feature of the training object includes at least one of visitor identity information and movement frequency information of the training object.

23. A device for determining flow rate, characterized in that: The device comprises: an acquisition module, configured to acquire first movement data, first device data, and first application data of a reference object, wherein the first movement data indicates movement of the reference object, the first device data indicates operation of a first device used by the reference object, and the first application data indicates operation of a first application on the first device; a determination module, configured to determine a first category feature of the reference object according to the first mobile data, the first device data, and the first application data, wherein the first category feature indicates an object identity of the reference object; The determination module is further configured to determine the flow rate required to be used by the reference object within the first time period according to the first category feature of the reference object.

24. A device for obtaining a flow determination model, characterized in that: The device comprises: an acquisition module, configured to acquire second movement data, second device data, and second application data of a training object, wherein the second movement data indicates movement of the training object, the second device data indicates operation of a second device used by the training object, and the second application data indicates operation of a second application on the second device; The acquisition module is further used to acquire an initial flow determination model to be trained, wherein the initial flow determination model includes an initial category recognition module and an initial flow calculation module; a determination module, configured to call the initial category identification module to determine a second category feature of the training object according to the second mobile data, the second device data, and the second application data, wherein the second category feature indicates an object identity of the training object; An updating module, configured to update the parameters of the initial category recognition module according to the baseline category feature of the training object and the second category feature to obtain a target category recognition module; The determination module is further used to call the initial flow calculation module to determine the flow size that the training object needs to use in the second time period according to the baseline category characteristics of the training object; The updating module is further used to update the parameters of the initial flow calculation module according to the baseline flow of the training object and the flow size that the training object needs to use in the second time period to obtain a target flow calculation module; The acquisition module is further used to obtain a target flow determination model based on the target flow calculation module and the target category identification module.

25. A computer device, characterized in that: The computer device includes a processor, which is used to load and execute at least one instruction so that the computer device implements the method for determining traffic as described in any one of claims 1-11, or implements the method for obtaining a traffic determination model as described in any one of claims 12-22.

26. The computer device according to claim 25, characterized in that The computer device further includes a memory, which is coupled to the processor and stores the at least one instruction.

27. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one instruction, which is loaded and executed by the processor to implement the method for determining flow as described in any one of claims 1-11, or the method for obtaining a flow determination model as described in any one of claims 12-22.