WO2022037497A1 - Call record data processing method and apparatus, and communication device and storage medium - Google Patents

Call record data processing method and apparatus, and communication device and storage medium Download PDF

Info

Publication number
WO2022037497A1
WO2022037497A1 PCT/CN2021/112547 CN2021112547W WO2022037497A1 WO 2022037497 A1 WO2022037497 A1 WO 2022037497A1 CN 2021112547 W CN2021112547 W CN 2021112547W WO 2022037497 A1 WO2022037497 A1 WO 2022037497A1
Authority
WO
WIPO (PCT)
Prior art keywords
call
upper limit
call record
records
call records
Prior art date
Application number
PCT/CN2021/112547
Other languages
French (fr)
Chinese (zh)
Inventor
张上进
王太虎
Original Assignee
深圳市万普拉斯科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市万普拉斯科技有限公司 filed Critical 深圳市万普拉斯科技有限公司
Publication of WO2022037497A1 publication Critical patent/WO2022037497A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/64Automatic arrangements for answering calls; Automatic arrangements for recording messages for absent subscribers; Arrangements for recording conversations
    • H04M1/65Recording arrangements for recording a message from the calling party
    • H04M1/656Recording arrangements for recording a message from the calling party for recording conversations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Definitions

  • the present application relates to the field of communication technologies, and in particular, to a method, apparatus, communication device and storage medium for processing call record data.
  • the upper limit of the call record of a single calling card of a mobile phone is 500. If a call event occurs on the mobile phone, a new call record will be generated correspondingly. When the number of records reaches the upper limit, the older call records will be automatically deleted, so as to ensure that the new call records can be saved in time.
  • the present application provides a method, device, communication device and storage medium for processing call record data.
  • a first aspect of the present application relates to a method for processing call record data, the method comprising:
  • a second aspect of the present application relates to a call record data processing device, the device comprising:
  • a data acquisition module for acquiring the number of call records in multiple preset time intervals within a preset time period when it is detected that the total amount of currently existing call records reaches the upper limit of the first call record
  • a call record upper limit calculation module configured to calculate the second call record upper limit according to the number of call records in a plurality of preset time intervals, wherein the second call record upper limit is greater than the first call record upper limit
  • a call record upper limit update module configured to update the first call record upper limit to the second call record upper limit.
  • a third aspect of the present application relates to a communication device, comprising a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
  • a fourth aspect of the present application relates to a computer-readable storage medium having a computer program stored thereon, the computer program implementing the following steps when executed by a processor:
  • FIG. 1 is a schematic flowchart of a method for processing call record data in one embodiment
  • FIG. 2 is a schematic flowchart of a method for processing call record data in another embodiment
  • FIG. 3 is a schematic flowchart of a step of updating the upper limit of the call record in one embodiment
  • Fig. 4 is the structural block diagram of the call record data processing apparatus in one embodiment
  • FIG. 5 is a structural block diagram of a call record data processing device in another embodiment
  • FIG. 6 is an internal structure diagram of a communication device in one embodiment.
  • the present application provides a method for processing call record data.
  • the method is applied to a terminal for illustration. It can be understood that the method can also be applied to a server, and can also be applied to It is used in a system including a terminal and a server, and is realized through the interaction between the terminal and the server.
  • the method includes the following steps:
  • Step 202 when it is detected that the total amount of call records currently generated reaches the first call record upper limit, acquire the number of call records in a plurality of preset time intervals within a preset time period.
  • the terminal takes a smart phone as an example, and takes updating the upper limit of the call record of a single calling card of the smart phone as an example.
  • the call application module of the smartphone will generate a corresponding call record data.
  • the call events include incoming call events, outgoing call events and missed events
  • the call record data includes event generation time, call duration, number of calls, call number, call type, and the like.
  • the phone application module of the smart phone will count the total number of existing call records stored corresponding to a single phone card in real time, and will also record the number of call records generated by the phone card every day, so as to facilitate the analysis of the call record data. analyze.
  • the total number of currently existing call records will be compared with the upper limit of the first call record at the current time to determine the total number of currently generated call records. Whether the upper limit of the first call record is exceeded.
  • the preset call record upper limit update event is triggered, and the preset call record upper limit update event is triggered to obtain the call records of multiple time intervals within the preset time period. Number of call records.
  • a time interval is a time period divided based on the time axis. In this embodiment, the preset time period takes the most recent week before the current statistical time point as an example.
  • the call record upper limit update event can be triggered to obtain the number of call records in the last week, including the number of call records generated every day in the last 7 days. Further, the number of call records in multiple time intervals in the last week can be counted or acquired according to the preset time interval. For example, call records from the first day before the current statistical time point to the third day before the current statistical time point, and from the third day before the current statistical time point to the seventh day before the current statistical time point can be obtained. quantity.
  • the initial value of the upper limit of call records is 500 by default, and as the number or frequency of user calls increases, the upper limit of call records is adjusted accordingly in an increasing trend.
  • the upper limit of the first call record can be 500; when the smartphone does not update the upper limit of the call record for the first time, the upper limit of the first call record can also be the upper limit of the previously adjusted call record, such as 600 records .
  • the preset time period may be the last 5 days before the current statistical time point, the last half month or the last month and other time ranges, which can be set according to the actual situation. This is not limited.
  • the initial value of the first call record upper limit can also be set to 450, 460 and other values less than 500 .
  • the current statistical time point refers to the time point when it is detected that the total amount of currently generated call records reaches the upper limit of the first call record.
  • Step 204 Calculate the upper limit of the second call record according to the number of call records in a plurality of preset time intervals, where the upper limit of the second call record is greater than the upper limit of the first call record.
  • the second call upper limit can be calculated in combination with the preset parameters.
  • calculating the upper limit of the second call record according to the number of call records in a plurality of preset time intervals includes: Step 224 , according to the number of call records in the plurality of preset time intervals, in combination with the preset time interval. Set the update parameter of the number of call records, calculate the upper limit of the second call record, and the preset update parameter of the number of call records corresponds to the preset time interval.
  • the number of call records there are multiple update parameters for the number of call records, which can be understood as data ratio or density.
  • calculating the upper limit of the second call record may also be: acquiring the number of call records within a preset time period, and updating the interval relationship between the parameters according to the number of call records within the preset time period and the preset number of call records , calculate the upper limit of the second call record.
  • the upper limit of the first call record is 500. If the number of call records in the last week is between 50 and 100, the number of call records will be updated. The parameter can be set to 1.5, and the upper limit of the second call record can be changed to 1.5 times of 500. If the sum of the number of call records in the last week is between 100 and 150, the update parameter of the number of call records can be set to 2. Then you can change the second call record limit to 2 times of 500, and so on. It can be understood that the calculated second call upper limit should be greater than the first call record upper limit. Through this algorithm, the optimal upper limit of call records for each card is found, so as to intelligently update the upper limit of call records of the mobile phone, and solve the problem that users cannot find recent call records because the number of call records exceeds the fixed upper limit of call records.
  • Step 206 Update the upper limit of the first call record to the upper limit of the second call record.
  • the upper limit of the first call record can be correspondingly updated to the upper limit of the second call record, so as to expand the capacity of the call records that can be recorded by a single calling card of the smartphone.
  • the upper limit of the call record of a single calling card can be updated from the original 600 to 1000.
  • the number of call records in multiple preset time intervals within the preset time period is obtained, and the number of call records in multiple preset time intervals is obtained according to the plurality of preset time intervals.
  • the upper limit of the second call record is calculated, wherein the upper limit of the second call record is greater than the upper limit of the first call record, and the upper limit of the first call record is updated to the upper limit of the second call record.
  • the record upper limit makes the storage process of the call record also a dynamic update process, which avoids the inconvenience caused by the user's inability to query the call record at a certain time because the number of call records exceeds the upper limit of the call record, and improves the management efficiency of the call record.
  • acquiring the number of call records in a plurality of preset time intervals within the preset time period includes: acquiring the number of call records in the first time interval and the second time interval in the preset time interval according to the preset time interval. The number of call records in the interval and the number of call records in the third time interval.
  • the number of call records in a preset time period may be divided into three time axes (time intervals) for statistics. It can be understood that, in other embodiments, the number of time intervals may be 4, 5, and 6, etc., which may be divided according to actual conditions, which is not limited herein.
  • the preset time period takes the last week before the current statistical time point as an example, and the preset time interval can be the most recent first day before the current statistical time point, the second day before the current statistical time point to the current statistical time point. The third day, the fourth day before the current statistical time point to the seventh day before the current statistical time point.
  • the number of call records per day in the last week is 50, 10, 20, 30, 40, 20 and 10. then according to the above time interval, the first day before the current statistical time point, The number of call records from the second day before the current statistical time point to the third day before the current statistical time point, the fourth day before the current statistical time point to the seventh day before the current statistical time point, and the most recent first day before the current statistical time point is obtained. 50, the sum of the number of call records from the second day before the current statistical time point to the third day before the current statistical time point is 30, and the fourth day before the current statistical time point to the current statistical time point. The sum of the number of call records of seven days is 100 and the number of three call records. In this embodiment, the number of call records in the corresponding time interval is obtained based on the time axis, so that the upper limit of the second call record is more suitable for the actual needs of the user.
  • calculating the upper limit of the second call record includes:
  • Step 248 updating parameters according to the number of call records in the second time interval and the number of second call records to obtain the number of call records in the second stage;
  • Step 268 updating parameters according to the number of call records in the third time interval and the number of third call records, to obtain the number of call records in the third stage;
  • Step 288 Calculate the upper limit of the second call record based on the number of call records in the first stage, the number of call records in the first stage, and the number of call records in the first stage.
  • the preset call record quantity update parameter includes a first call record quantity update parameter, a second call record quantity update parameter, and a third call record quantity update parameter.
  • the first call record quantity update parameter, the second call record quantity update parameter, and the third call record quantity update parameter correspond to the first time interval, the second time interval, and the third time interval, respectively.
  • the preset call record quantity update parameter may be set based on a time interval, and the value decreases as the time interval is farther away from the current statistical time point.
  • the number of the preset call record number update parameters may be equal to the number of divided time intervals.
  • the first call record quantity update parameter, the second call record quantity update parameter, and the third call record quantity update parameter may be respectively set to 20%, 15%, and 10% of the upper limit of the first call record. It can be understood that, in this embodiment of the time interval, the number of call records is counted according to the time series, and the value of the update parameter of the number of call records is also set based on the time interval. The closer the data to the current statistical time point, the closer to the real user requirements, that is, the larger the value of the update parameter corresponding to the number of call records. In other words, the values of the first call record quantity update parameter, the second call record quantity update parameter, and the third call record quantity update parameter vary as their corresponding time intervals are farther from the current statistical time point. Decrease.
  • the distance between the time interval and the current statistical time point is, for example, the distance between the start time point of the time interval and the current statistical time. Based on this, the upper limit of the call record related to the actual needs of the user can be analyzed more accurately.
  • the preset time period also takes the last week before the current statistical time point as an example.
  • the process of updating the upper limit of the first call record may be to multiply the number of call records on the most recent day before the current statistical time point by the update parameter of the number of first call records.
  • the parameter is updated according to the number of divided call records in multiple time periods and the preset number of call records, and after updating the upper limit of the first call record, the method further includes: Step 208 , according to The second call record upper limit, save and display the call record data.
  • the subsequently generated call record data can be saved in time.
  • the generated call record data may be saved according to the updated call record upper limit, that is, the second call record upper limit.
  • the call record data is correspondingly displayed. For example, if the upper limit of the call records of a smartphone is updated from 500 to 1000, the number of call records that can be saved and displayed is also adjusted to 1,000. Users can view the latest 1,000 call records, which greatly improves the convenience. and user experience.
  • FIGS. 1-3 are shown in sequence according to the arrows, these steps are not necessarily executed in the sequence shown by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in FIGS. 1-3 may include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but may be executed at different times. The execution of these steps or stages The order is also not necessarily sequential, but may be performed alternately or alternately with other steps or at least a portion of the steps or phases within the other steps.
  • a call record data processing apparatus including: a data acquisition module 510, a call record upper limit calculation module 520, and a call record upper limit update module 530, wherein:
  • the data acquisition module 510 is configured to acquire the number of call records in a plurality of preset time intervals within a preset time period when it is detected that the total amount of currently existing call records reaches the first call record upper limit.
  • the call record upper limit calculation module 520 is configured to calculate the second call record upper limit according to the number of call records in a plurality of preset time intervals.
  • the call record upper limit update module 530 is configured to update the first call record upper limit to a second call record upper limit, wherein the second call record upper limit is greater than the first call record upper limit.
  • the call record upper limit calculation module 520 is further configured to calculate the upper limit of the second call record according to the number of call records in a plurality of preset time intervals and in combination with the preset number of call records update parameters, and update the preset number of call records The parameters correspond to preset time intervals.
  • the data acquisition module 510 is further configured to acquire the number of call records in the first time interval, the number of call records in the second time interval, and the number of call records in the third time interval within the preset time interval according to the preset time interval. Number of call records.
  • the call record upper limit update module 540 is further configured to obtain the number of call records in the first stage according to the number of call records in the first time interval and the preset first call record update parameters, and according to the number of call records in the second time interval The number and the preset second call record update parameters to obtain the number of second-stage call records, and according to the number of call records in the third time interval and the preset third call record update parameters, to obtain the third-stage call record number, based on the first stage The number of call records, the number of call records of the first stage, and the number of call records of the first stage, calculate the upper limit of the second call record.
  • the data acquisition module 510 is further configured to record the time when it is detected that the total amount of call records currently generated reaches the upper limit of the first call record as the current statistical time point.
  • the values of the preset first call record quantity update parameter, the preset second call record quantity update parameter, and the preset third call record quantity update parameter decrease as their corresponding time intervals are farther from the current statistical time point.
  • the apparatus further includes a call record data processing module 540, configured to save and display the call record data according to the second call record upper limit.
  • Each module in the above-mentioned call record data processing apparatus can be implemented in whole or in part by software, hardware and combinations thereof.
  • the above modules can be embedded in or independent of the processor in the communication device in the form of hardware, or stored in the memory in the communication device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
  • a communication device in one embodiment, the communication device may be a terminal, and its internal structure diagram may be as shown in FIG. 6 .
  • the communication device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the communication device is used to provide computing and control capabilities.
  • the memory of the communication device includes a non-volatile storage medium and an internal memory.
  • the nonvolatile storage medium stores an operating system and a computer program.
  • the internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium.
  • the communication interface of the communication device is used for wired or wireless communication with an external terminal, and the wireless communication can be realized by WIFI, operator network, NFC (Near Field Communication) or other technologies.
  • the computer program is executed by the processor, a method for processing call record data is realized.
  • the display screen of the communication device may be a liquid crystal display screen or an electronic ink display screen
  • the input device of the communication device may be a touch layer covered on the display screen, or a button, a trackball or a touchpad set on the shell of the communication device , or an external keyboard, trackpad, or mouse.
  • FIG. 6 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the communication device to which the solution of the present application is applied.
  • the specific communication device may be Include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.
  • a communication device including a memory and a processor, a computer program is stored in the memory, and the processor implements the above-mentioned method for processing call record data when executing the computer program.
  • the processor when the processor executes the computer program, the processor further implements the following steps: when it is detected that the total amount of call records currently generated reaches the first call record upper limit, acquiring calls in a plurality of preset time intervals within a preset time period For the number of records, calculate the upper limit of the second call record according to the number of call records in multiple preset time intervals, and update the upper limit of the first call record to the upper limit of the second call record, wherein the upper limit of the second call record is greater than the upper limit of the first call record.
  • the processor further implements the following steps when executing the computer program: according to the number of call records in a plurality of preset time intervals, in combination with the preset number of call records to update parameters, calculate the upper limit of the second call record, and preset the call record
  • the quantity update parameter corresponds to the preset time interval.
  • the processor executes the computer program, the following steps are further implemented: according to a preset time interval, acquiring the number of call records in the first time interval, the number of call records in the second time interval, and the number of call records in the first time interval within the preset time interval The number of call records in three time intervals.
  • the processor further implements the following steps when executing the computer program: updating parameters according to the number of call records in the first time interval and the number of first call records to obtain the number of call records in the first stage, and according to the number of call records in the second time interval Update the parameters of the number of call records and the number of second call records to obtain the number of call records in the second stage, update the parameters according to the number of call records in the third time interval and the number of third call records, and obtain the number of call records in the third stage, based on the first stage The number of call records, the number of call records of the first stage, and the number of call records of the first stage, calculate the upper limit of the second call record.
  • the processor executes the computer program, the following steps are further implemented: saving and displaying the call record data according to the second call record upper limit.
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned method for processing call record data is implemented.
  • the following steps are implemented: when it is detected that the total amount of call records currently generated reaches the first upper limit of the call record, acquiring calls in a plurality of preset time intervals within a preset time period Number of records: Calculate the upper limit of the second call record according to the number of call records in multiple preset time intervals, and update the upper limit of the first call record to the upper limit of the second call record, wherein the upper limit of the second call record is greater than the upper limit of the first call record.
  • the following steps are further implemented: according to the number of call records in a plurality of preset time intervals, in combination with the preset number of call records to update parameters, calculate the upper limit of the second call record, and preset the call record.
  • the record quantity update parameter corresponds to the preset time interval.
  • the following steps are further implemented: acquiring the number of call records in the first time interval, the number of call records in the second time interval, and The number of call records in the third time interval.
  • the following steps are further implemented: updating parameters according to the number of call records in the first time interval and the number of first call records, to obtain the number of call records in the first stage, and according to the second time interval Update the parameters of the number of call records and the number of second call records in The number of call records in the stage, the number of call records in the first stage, and the number of call records in the first stage are used to calculate the upper limit of the second call record.
  • the following steps are further implemented: saving and displaying the call record data according to the second call record upper limit.
  • call records recorded in this application should also be understood to include message communication records, or other record data of the terminal or server.
  • Non-volatile memory may include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, or optical memory, and the like.
  • Volatile memory may include random access memory (RAM) or external cache memory.
  • the RAM may be in various forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).

Abstract

The present application relates to a call record data processing method and apparatus, and a communication device and a storage medium. The method comprises: when it is detected that the total number of currently generated call records reaches a first call record upper limit, acquiring the number of call records within a plurality of preset time intervals in a preset time period; calculating a second call record upper limit according to the number of call records within the plurality of preset time intervals, wherein the second call record upper limit is greater than the first call record upper limit; and updating the first call record upper limit to be the second call record upper limit.

Description

通话记录数据处理方法、装置、通信设备和存储介质Call record data processing method, device, communication device and storage medium
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求于2020年08月18日提交中国专利局、申请号为2020108325223、发明名称为“通话记录数据处理方法、装置、通信设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on August 18, 2020 with the application number 2020108325223 and the invention titled "Call Record Data Processing Method, Device, Communication Equipment and Storage Medium", the entire contents of which are approved by Reference is incorporated in this application.
技术领域technical field
本申请涉及通信技术领域,特别是涉及一种通话记录数据处理方法、装置、通信设备和存储介质。The present application relates to the field of communication technologies, and in particular, to a method, apparatus, communication device and storage medium for processing call record data.
背景技术Background technique
随着通信技术和电子技术的发展,市场上通信设备的品种和功能越来越丰富,手机、智能手表等移动通信设备也越来越广泛地应用在人们的生活及工作的各个领域中,给人们的生活带来极大的便利。With the development of communication technology and electronic technology, the varieties and functions of communication devices on the market are becoming more and more abundant, and mobile communication devices such as mobile phones and smart watches are also more and more widely used in various fields of people's life and work. It brings great convenience to people's life.
现有的通话记录数据管理方案,以手机为例,一般的,手机单张电话卡的通话记录上限是500条,若手机产生一个通话事件,对应会产生一条新的通话记录,当手机存储的通话记录数量达到上限时,会自动删除时间较早的通话记录,以此来保证新的通话记录能够及时被保存。The existing call record data management solution, taking a mobile phone as an example, generally, the upper limit of the call record of a single calling card of a mobile phone is 500. If a call event occurs on the mobile phone, a new call record will be generated correspondingly. When the number of records reaches the upper limit, the older call records will be automatically deleted, so as to ensure that the new call records can be saved in time.
发明内容SUMMARY OF THE INVENTION
本申请提供一种通话记录数据处理方法、装置、通信设备和存储介质。The present application provides a method, device, communication device and storage medium for processing call record data.
本申请的第一方面涉及一种通话记录数据处理方法,所述方法包括:A first aspect of the present application relates to a method for processing call record data, the method comprising:
当检测到当前产生的通话记录总量达到第一通话记录上限时,获取预设时间段内多个预设时间区间的通话记录数量;When it is detected that the total amount of call records currently generated reaches the upper limit of the first call record, obtain the number of call records in multiple preset time intervals within the preset time period;
根据多个预设时间区间的通话记录数量,计算第二通话记录上限,其中,第二通话记录上限大于第一通话记录上限;以及calculating the upper limit of the second call record according to the number of call records in a plurality of preset time intervals, wherein the upper limit of the second call record is greater than the upper limit of the first call record; and
将第一通话记录上限更新为第二通话记录上限。Update the upper limit of the first call record to the upper limit of the second call record.
本申请的第二方面涉及一种通话记录数据处理装置,所述装置包括:A second aspect of the present application relates to a call record data processing device, the device comprising:
数据获取模块,用于当检测到当前已有的通话记录总量达到第一通话记录上限时,获取预 设时间段内多个预设时间区间的通话记录数量;a data acquisition module for acquiring the number of call records in multiple preset time intervals within a preset time period when it is detected that the total amount of currently existing call records reaches the upper limit of the first call record;
通话记录上限计算模块,用于根据多个预设时间区间的通话记录数量,计算第二通话记录上限,其中,第二通话记录上限大于第一通话记录上限;a call record upper limit calculation module, configured to calculate the second call record upper limit according to the number of call records in a plurality of preset time intervals, wherein the second call record upper limit is greater than the first call record upper limit;
通话记录上限更新模块,用于将第一通话记录上限更新为第二通话记录上限。A call record upper limit update module, configured to update the first call record upper limit to the second call record upper limit.
本申请的第三方面涉及一种通信设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现以下步骤:A third aspect of the present application relates to a communication device, comprising a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
当检测到当前产生的通话记录总量达到第一通话记录上限时,获取预设时间段内多个预设时间区间的通话记录数量;When it is detected that the total amount of call records currently generated reaches the upper limit of the first call record, obtain the number of call records in multiple preset time intervals within the preset time period;
根据多个预设时间区间的通话记录数量,计算第二通话记录上限,其中,第二通话记录上限大于第一通话记录上限;Calculate the upper limit of the second call record according to the number of call records in a plurality of preset time intervals, wherein the upper limit of the second call record is greater than the upper limit of the first call record;
将第一通话记录上限更新为第二通话记录上限。Update the upper limit of the first call record to the upper limit of the second call record.
本申请的第四方面涉及一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:A fourth aspect of the present application relates to a computer-readable storage medium having a computer program stored thereon, the computer program implementing the following steps when executed by a processor:
当检测到当前产生的通话记录总量达到第一通话记录上限时,获取预设时间段内多个预设时间区间的通话记录数量;When it is detected that the total amount of call records currently generated reaches the upper limit of the first call record, obtain the number of call records in multiple preset time intervals within the preset time period;
根据多个预设时间区间的通话记录数量,计算第二通话记录上限,其中,第二通话记录上限大于第一通话记录上限;Calculate the upper limit of the second call record according to the number of call records in a plurality of preset time intervals, wherein the upper limit of the second call record is greater than the upper limit of the first call record;
将第一通话记录上限更新为第二通话记录上限。Update the upper limit of the first call record to the upper limit of the second call record.
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本发明的其它特征、目的和优点将从说明书、附图以及权利要求书变得明显。The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below. Other features, objects and advantages of the present invention will become apparent from the description, drawings and claims.
附图说明Description of drawings
为了更清楚地说明本申请实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本申请的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to illustrate the technical solutions of the embodiments of the present application more clearly, the following drawings will briefly introduce the drawings that need to be used in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, and therefore do not It should be regarded as a limitation of the scope, and for those of ordinary skill in the art, other related drawings can also be obtained according to these drawings without any creative effort.
图1为一个实施例中通话记录数据处理方法的流程示意图;1 is a schematic flowchart of a method for processing call record data in one embodiment;
图2为另一个实施例中通话记录数据处理方法的流程示意图;2 is a schematic flowchart of a method for processing call record data in another embodiment;
图3为一个实施例中通话记录上限更新步骤的流程示意图;3 is a schematic flowchart of a step of updating the upper limit of the call record in one embodiment;
图4为一个实施例中通话记录数据处理装置的结构框图;Fig. 4 is the structural block diagram of the call record data processing apparatus in one embodiment;
图5为另一个实施例中通话记录数据处理装置的结构框图;5 is a structural block diagram of a call record data processing device in another embodiment;
图6为一个实施例中通信设备的内部结构图。FIG. 6 is an internal structure diagram of a communication device in one embodiment.
具体实施方式detailed description
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
移动通信设备在给人们的生活带来便利之余,也存在着一些不便之处。有些用户因为职业需要或个人需求等原因,每天拨打电话或接听电话比较频繁,使得其移动通信设备产生的通话记录也相应增多。若用户想要查询几天前或者半个月前的通话记录数据,而由于通话记录上限的原因,若用户想要查看的通话记录已被自动删除,会导致用户无法查看到该通话记录。因此,现有的通话记录管理方案存在通话记录管理效率低的问题。In addition to bringing convenience to people's lives, mobile communication devices also have some inconveniences. Some users make or receive calls more frequently every day due to occupational needs or personal needs, which leads to a corresponding increase in call records generated by their mobile communication devices. If the user wants to query the call record data a few days ago or half a month ago, and due to the upper limit of the call record, if the call record that the user wants to view has been automatically deleted, the user cannot view the call record. Therefore, the existing call record management solutions have the problem of low call record management efficiency.
对此,如图1所示,本申请提供了一种通话记录数据处理方法,本实施例以该方法应用于终端进行举例说明,可以理解的是,该方法也可以应用于服务器,还可以应用于包括终端和服务器的系统,并通过终端和服务器的交互实现。本实施例中,该方法包括以下步骤:In this regard, as shown in FIG. 1 , the present application provides a method for processing call record data. In this embodiment, the method is applied to a terminal for illustration. It can be understood that the method can also be applied to a server, and can also be applied to It is used in a system including a terminal and a server, and is realized through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:
步骤202,当检测到当前已产生的通话记录总量达到第一通话记录上限时,获取预设时间段内多个预设时间区间的通话记录数量。 Step 202, when it is detected that the total amount of call records currently generated reaches the first call record upper limit, acquire the number of call records in a plurality of preset time intervals within a preset time period.
在实际应用中,本申请中,终端以智能手机为例,并以更新智能手机的单张电话卡的通话记录上限为例。每当智能手机发生一次通话事件,智能手机的通话应用模块会对应产生一条通话记录数据。其中,通话事件包括呼入事件、呼出事件以及未接事件,通话记录数据包括事件产生时间、通话时长、通话次数、通话号码以及通话类型等。为了便于通话记录的管理,智能手机的电话应用模块会实时统计当前单张电话卡对应存储的已有的通话记录总量,同时会记录该电话卡每天产生的通话记录数量,以便于对通话记录数据进行分析。记录每天的通话记录数量并实时统计当前已产生的通话记录总量之后,会将当前已有的通话记录总量与当前时间的第一通话记录上限进行比较,判断当前已产生的通话记录总量是否超过第一通话记录上限。当检测到当前已产生的通话记录总量达到第一通话记录上限时,触发预设通话记录上限更新事件,便触发预设的通话记录上限更新事件,获取预设时间段内多个时间区间的通话记录数量。时间区间即基于时间轴划分出的时间段。本实施例中,预设时间段以当前统计时间点前的最近的一 周为例。若当前已产生的通话记录总量达到第一通话记录上限时,则可触发通话记录上限更新事件,获取最近一周内的通话记录数量,即包括最近7天内每天产生的通话记录数量。进一步的,可按照预设好的时间区间,统计或获取最近一周中多个时间区间的通话记录数量。例如,可获取当前统计时间点前的第一天至当前统计时间点前的第三天、当前统计时间点前的第三天至当前统计时间点前的第七天两个时间段的通话记录数量。In practical applications, in this application, the terminal takes a smart phone as an example, and takes updating the upper limit of the call record of a single calling card of the smart phone as an example. Whenever a call event occurs on the smartphone, the call application module of the smartphone will generate a corresponding call record data. Among them, the call events include incoming call events, outgoing call events and missed events, and the call record data includes event generation time, call duration, number of calls, call number, call type, and the like. In order to facilitate the management of call records, the phone application module of the smart phone will count the total number of existing call records stored corresponding to a single phone card in real time, and will also record the number of call records generated by the phone card every day, so as to facilitate the analysis of the call record data. analyze. After recording the number of call records per day and counting the total number of call records currently generated in real time, the total number of currently existing call records will be compared with the upper limit of the first call record at the current time to determine the total number of currently generated call records. Whether the upper limit of the first call record is exceeded. When it is detected that the total number of call records currently generated reaches the first call record upper limit, the preset call record upper limit update event is triggered, and the preset call record upper limit update event is triggered to obtain the call records of multiple time intervals within the preset time period. Number of call records. A time interval is a time period divided based on the time axis. In this embodiment, the preset time period takes the most recent week before the current statistical time point as an example. If the total number of call records currently generated reaches the upper limit of the first call record, the call record upper limit update event can be triggered to obtain the number of call records in the last week, including the number of call records generated every day in the last 7 days. Further, the number of call records in multiple time intervals in the last week can be counted or acquired according to the preset time interval. For example, call records from the first day before the current statistical time point to the third day before the current statistical time point, and from the third day before the current statistical time point to the seventh day before the current statistical time point can be obtained. quantity.
本实施例中,通话记录上限的初始值默认为500条,随着用户通话次数或频率的增加,通话记录上限也相应地呈递增的趋势进行调整。当智能手机首次更新通话记录上限时,第一通话记录上限可以是500;当智能手机不是首次更新通话记录上限时,第一通话记录上限也可以是前次调整后的通话记录上限,如600条。可以理解的是,在其他实施例中,预设时间段可以是当前统计时间点前的最近5天、最近半个月或最近一个月等其他时间范围,具体可根据实际情况进行设定,在此不做限定。在其他实施例中,为了避免通话记录达到默认上限值500,影响智能手机的通话记录数据的正常记录,第一通话记录上限的初始值也可以设定为450、460以及其他小于500的数值。当前统计时间点是指检测到当前产生的通话记录总量达到第一通话记录上限的时间点。In this embodiment, the initial value of the upper limit of call records is 500 by default, and as the number or frequency of user calls increases, the upper limit of call records is adjusted accordingly in an increasing trend. When the smartphone updates the upper limit of the call record for the first time, the upper limit of the first call record can be 500; when the smartphone does not update the upper limit of the call record for the first time, the upper limit of the first call record can also be the upper limit of the previously adjusted call record, such as 600 records . It can be understood that, in other embodiments, the preset time period may be the last 5 days before the current statistical time point, the last half month or the last month and other time ranges, which can be set according to the actual situation. This is not limited. In other embodiments, in order to prevent the call record from reaching the default upper limit value of 500 and affecting the normal recording of the call record data of the smartphone, the initial value of the first call record upper limit can also be set to 450, 460 and other values less than 500 . The current statistical time point refers to the time point when it is detected that the total amount of currently generated call records reaches the upper limit of the first call record.
步骤204,根据多个预设时间区间的通话记录数量,计算第二通话记录上限,其中,第二通话记录上限大于第一通话记录上限。Step 204: Calculate the upper limit of the second call record according to the number of call records in a plurality of preset time intervals, where the upper limit of the second call record is greater than the upper limit of the first call record.
本实施例中,当获取多个预设时间区间的通话记录数量后,可结合预设的参数,计算第二通话上限。In this embodiment, after the number of call records in a plurality of preset time intervals is obtained, the second call upper limit can be calculated in combination with the preset parameters.
如图2所示,在其中一个实施例中,根据多个预设时间区间的通话记录数量,计算第二通话记录上限包括:步骤224,根据多个预设时间区间的通话记录数量,结合预设通话记录数量更新参数,计算第二通话记录上限,预设通话记录数量更新参数与预设时间区间对应。As shown in FIG. 2 , in one embodiment, calculating the upper limit of the second call record according to the number of call records in a plurality of preset time intervals includes: Step 224 , according to the number of call records in the plurality of preset time intervals, in combination with the preset time interval. Set the update parameter of the number of call records, calculate the upper limit of the second call record, and the preset update parameter of the number of call records corresponds to the preset time interval.
其中,通话记录数量更新参数为多个,其可理解为数据占比或密度。此外,通话记录数量更新参数与时间区间存在对应关系,其大小的设定与时间区间距离当前统计时间点的远近相关。在得到多个时间区间的通话记录数量后,可将多个时间区间的通话记录数量,与对应的通话记录数量更新参数进行运算,得到第二通话记录上限。Among them, there are multiple update parameters for the number of call records, which can be understood as data ratio or density. In addition, there is a corresponding relationship between the update parameter of the number of call records and the time interval, and the setting of its size is related to the distance between the time interval and the current statistical time point. After the number of call records in multiple time intervals is obtained, the number of call records in multiple time intervals can be calculated with the corresponding update parameter of the number of call records to obtain the second upper limit of call records.
在另一个实施例中,计算第二通话记录上限也可以是,获取预设时间段内的通话记录数量,根据预设时间段内的通话记录数量和预设的通话记录数量更新参数的区间关系,计算第二通话记录上限。In another embodiment, calculating the upper limit of the second call record may also be: acquiring the number of call records within a preset time period, and updating the interval relationship between the parameters according to the number of call records within the preset time period and the preset number of call records , calculate the upper limit of the second call record.
具体的,以当前统计时间点前的最近一周内的通话记录数量为例,第一通话记录上限以 500为例,若最近一周内的通话记录数量为50和100之间,则通话记录数量更新参数可设定为1.5,则可以将第二通话记上限更改为500的1.5倍,若最近一周的通话记录数量之和在100和150之间,则通话记录数量更新参数可设定为2,则可以将第二通话记录上限更改为500的2倍,以此类推。可以理解的是,计算得到的第二通话上限应大于第一通话记录上限。通过这种算法,找到当前每张卡最优的通话记录上限,从而智能地更新手机的通话记录上限,解决用户因为通话记录数量超过通话记录固定上限而无法找到最近通话记录的问题。Specifically, taking the number of call records in the last week before the current statistical time point as an example, the upper limit of the first call record is 500. If the number of call records in the last week is between 50 and 100, the number of call records will be updated. The parameter can be set to 1.5, and the upper limit of the second call record can be changed to 1.5 times of 500. If the sum of the number of call records in the last week is between 100 and 150, the update parameter of the number of call records can be set to 2. Then you can change the second call record limit to 2 times of 500, and so on. It can be understood that the calculated second call upper limit should be greater than the first call record upper limit. Through this algorithm, the optimal upper limit of call records for each card is found, so as to intelligently update the upper limit of call records of the mobile phone, and solve the problem that users cannot find recent call records because the number of call records exceeds the fixed upper limit of call records.
步骤206,将第一通话记录上限更新为第二通话记录上限。Step 206: Update the upper limit of the first call record to the upper limit of the second call record.
当计算得到第二通话记录上限时,便可将第一通话记录上限对应更新为第二通话记录上限,以扩大智能手机单张电话卡可记录的通话记录的容量。例如,更新第一通话记录上限后,单张电话卡的通话记录上限可由原本的600条更新为1000条。When the upper limit of the second call record is obtained by calculation, the upper limit of the first call record can be correspondingly updated to the upper limit of the second call record, so as to expand the capacity of the call records that can be recorded by a single calling card of the smartphone. For example, after updating the upper limit of the first call record, the upper limit of the call record of a single calling card can be updated from the original 600 to 1000.
上述通话记录数据处理方法中,当检测到当前产生的通话记录总量达到第一通话记录上限时,获取预设时间段内多个预设时间区间的通话记录数量,根据多个预设时间区间的通话记录数量,计算第二通话记录上限,其中,第二通话记录上限大于第一通话记录上限,并将第一通话记录上限更新为第二通话记录上限。整个过程,在通话记录数量即将超过上限时,分析预设时间段的通话记录数量,基于预设时间段内的多个时间区间的通话记录数量,计算第二通话记录上限,动态更新第一通话记录上限,使得通话记录的存储过程也是动态更新的过程,避免了用户因为通话记录数量超过通话记录上限,而无法查询到某个时间点的通话记录而带来不便,提高了通话记录管理效率。In the above call record data processing method, when it is detected that the total amount of currently generated call records reaches the first call record upper limit, the number of call records in multiple preset time intervals within the preset time period is obtained, and the number of call records in multiple preset time intervals is obtained according to the plurality of preset time intervals. The upper limit of the second call record is calculated, wherein the upper limit of the second call record is greater than the upper limit of the first call record, and the upper limit of the first call record is updated to the upper limit of the second call record. In the whole process, when the number of call records is about to exceed the upper limit, analyze the number of call records in the preset time period, calculate the upper limit of the second call record based on the number of call records in multiple time intervals within the preset time period, and dynamically update the first call The record upper limit makes the storage process of the call record also a dynamic update process, which avoids the inconvenience caused by the user's inability to query the call record at a certain time because the number of call records exceeds the upper limit of the call record, and improves the management efficiency of the call record.
在其中一个实施例中,获取预设时间段内多个预设时间区间的通话记录数量包括:按照预设时间区间,获取预设时间段内的第一时间区间的通话记录数量、第二时间区间的通话记录数量以及第三时间区间的通话记录数量。In one embodiment, acquiring the number of call records in a plurality of preset time intervals within the preset time period includes: acquiring the number of call records in the first time interval and the second time interval in the preset time interval according to the preset time interval. The number of call records in the interval and the number of call records in the third time interval.
本实施例中,可以是将预设时间段内的通话记录数量分成3个时间轴(时间区间)来进行统计。可以理解的是,在其他实施例中,时间区间的数量可以是4个、5个以及6个等,具体可根据实际情况进行划分,在此不做限定。预设时间段以当前统计时间点前的最近一周为例,则预设时间区间可以是当前统计时间点前的最近第一天、当前统计时间点前的第二天至当前统计时间点前的第三天、当前统计时间点前的第四天至当前统计时间点前的第七天。若最近一周内的每天的通话记录数量为50、10、20、30、40、20以及10,则根据上述时间区间,则对应获取当前统计时间点前的最近第一天、当前统计时间点前的第二天至当前统计时间点前的第三天、当前统计时间点前的第四天至当前统计时间点前的第七天的通话记录数量,得到当前统计 时间点前的最近第一天的通话记录数量50、当前统计时间点前的第二天至当前统计时间点前的第三天的通话记录数量之和30以及当前统计时间点前的第四天至当前统计时间点前的第七天的通话记录数量之和100三个通话记录数量。本实施例中,基于时间轴获取对应时间区间内的通话记录数量,能够使得第二通话记录上限更加贴合用户实际需求。In this embodiment, the number of call records in a preset time period may be divided into three time axes (time intervals) for statistics. It can be understood that, in other embodiments, the number of time intervals may be 4, 5, and 6, etc., which may be divided according to actual conditions, which is not limited herein. The preset time period takes the last week before the current statistical time point as an example, and the preset time interval can be the most recent first day before the current statistical time point, the second day before the current statistical time point to the current statistical time point. The third day, the fourth day before the current statistical time point to the seventh day before the current statistical time point. If the number of call records per day in the last week is 50, 10, 20, 30, 40, 20 and 10, then according to the above time interval, the first day before the current statistical time point, The number of call records from the second day before the current statistical time point to the third day before the current statistical time point, the fourth day before the current statistical time point to the seventh day before the current statistical time point, and the most recent first day before the current statistical time point is obtained. 50, the sum of the number of call records from the second day before the current statistical time point to the third day before the current statistical time point is 30, and the fourth day before the current statistical time point to the current statistical time point. The sum of the number of call records of seven days is 100 and the number of three call records. In this embodiment, the number of call records in the corresponding time interval is obtained based on the time axis, so that the upper limit of the second call record is more suitable for the actual needs of the user.
如图3所示,在其中一个实施例中,根据多个预设时间区间的通话记录数量,结合预设通话记录数量更新参数,计算第二通话记录上限包括:As shown in FIG. 3 , in one embodiment, according to the number of call records in a plurality of preset time intervals and in combination with the preset number of call records update parameters, calculating the upper limit of the second call record includes:
步骤228,根据第一时间区间的通话记录数量与第一通话记录数量更新参数,得到第一阶段通话记录数量; Step 228, updating parameters according to the number of call records in the first time interval and the number of first call records, to obtain the number of call records in the first stage;
步骤248,根据第二时间区间的通话记录数量与第二通话记录数量更新参数,得到第二阶段通话记录数量; Step 248, updating parameters according to the number of call records in the second time interval and the number of second call records to obtain the number of call records in the second stage;
步骤268,根据第三时间区间的通话记录数量与第三通话记录数量更新参数,得到第三阶段通话记录数量; Step 268, updating parameters according to the number of call records in the third time interval and the number of third call records, to obtain the number of call records in the third stage;
步骤288,基于第一阶段通话记录数量、第一阶段通话记录数量以及第一阶段通话记录数量,计算第二通话记录上限。Step 288: Calculate the upper limit of the second call record based on the number of call records in the first stage, the number of call records in the first stage, and the number of call records in the first stage.
本实施例中,预设通话记录数量更新参数包括第一通话记录数量更新参数、第二通话记录数量更新参数以及第三通话记录数量更新参数。第一通话记录数量更新参数、第二通话记录数量更新参数以及第三通话记录数量更新参数分别与第一时间区间、第二时间区间以及第三时间区间对应。具体的,预设通话记录数量更新参数可基于时间区间设定,且取值随着时间区间距离当前统计时间点越远而呈递减状态。此外,可以理解的是,预设通话记录数量更新参数的数量可与划分的时间区间的数量相等。本实施例中,第一通话记录数量更新参数、第二通话记录数量更新参数以及第三通话记录数量更新参数可以分别设置为第一通话记录上限的20%、15%以及10%。可以理解的是,时间区间本实施例中,通话记录数量按照时间序列来统计,且通话记录数量更新参数的取值也基于时间区间设定,越靠近当前统计时间点的数据越贴近用户的真实需求,即对应通话记录数量更新参数的值越大。换言之,所述第一通话记录数量更新参数、所述第二通话记录数量更新参数以及所述第三通话记录数量更新参数的值随着各自对应的时间区间距离所述当前统计时间点越远而递减。时间区间距离当前统计时间点的距离例如是时间区间的起始时间点与当前统计时间的距离。基于此,能够比较准确地分析出与用户实际需求相关的通话记录上限。预设时间段同样以当前统计时间点前的最近一周为例,更新第一通话记录上限的过程可以是将当前统计时间点前的最近一天的通话记录数量与第一通话记录数量更新 参数相乘,得到第一阶段通话记录数量;将当前统计时间点前的第二天和当前统计时间点前的第三天的通话记录数量之和与第二通话记录数量更新参数相乘,得到第二阶段通话记录数量;然后,将当前统计时间点前的第四天到当前统计时间点前的第七天的通话记录数量之和第三通话记录数量更新参数相乘,得到第三阶段通话记录数量;最后计算第一阶段通话记录数量、第二阶段通话记录数量第三阶段通话记录数量之和,得到第二通话记录上限;再将得到第二通话记录上限设置为当前电话卡的最优的通话记录上限,实现智能且动态地更新通话记录上限,避免用户无法查询到需要的通话记录。In this embodiment, the preset call record quantity update parameter includes a first call record quantity update parameter, a second call record quantity update parameter, and a third call record quantity update parameter. The first call record quantity update parameter, the second call record quantity update parameter, and the third call record quantity update parameter correspond to the first time interval, the second time interval, and the third time interval, respectively. Specifically, the preset call record quantity update parameter may be set based on a time interval, and the value decreases as the time interval is farther away from the current statistical time point. In addition, it can be understood that the number of the preset call record number update parameters may be equal to the number of divided time intervals. In this embodiment, the first call record quantity update parameter, the second call record quantity update parameter, and the third call record quantity update parameter may be respectively set to 20%, 15%, and 10% of the upper limit of the first call record. It can be understood that, in this embodiment of the time interval, the number of call records is counted according to the time series, and the value of the update parameter of the number of call records is also set based on the time interval. The closer the data to the current statistical time point, the closer to the real user requirements, that is, the larger the value of the update parameter corresponding to the number of call records. In other words, the values of the first call record quantity update parameter, the second call record quantity update parameter, and the third call record quantity update parameter vary as their corresponding time intervals are farther from the current statistical time point. Decrease. The distance between the time interval and the current statistical time point is, for example, the distance between the start time point of the time interval and the current statistical time. Based on this, the upper limit of the call record related to the actual needs of the user can be analyzed more accurately. The preset time period also takes the last week before the current statistical time point as an example. The process of updating the upper limit of the first call record may be to multiply the number of call records on the most recent day before the current statistical time point by the update parameter of the number of first call records. , to obtain the number of call records in the first stage; multiply the sum of the number of call records on the second day before the current statistical time point and the third day before the current statistical time point by the update parameter of the number of second call records to obtain the second stage The number of call records; then, multiply the number of call records from the fourth day before the current statistical time point to the seventh day before the current statistical time point and the third update parameter of the number of call records to obtain the number of call records in the third stage; Finally, calculate the sum of the number of call records in the first stage, the number of call records in the second stage and the number of call records in the third stage, and get the upper limit of the second call record; then set the upper limit of the second call record as the optimal upper limit of the call record of the current calling card , to intelligently and dynamically update the upper limit of call records, so that users cannot find the required call records.
如图2所示,在其中一个实施例中,根据划分后的多个时间段的通话记录数量和预设的通话记录数量更新参数,更新第一通话记录上限之后,还包括:步骤208,根据第二通话记录上限,保存并显示通话记录数据。As shown in FIG. 2 , in one embodiment, the parameter is updated according to the number of divided call records in multiple time periods and the preset number of call records, and after updating the upper limit of the first call record, the method further includes: Step 208 , according to The second call record upper limit, save and display the call record data.
在实际应用中,当更新了智能手机的通话记录上限,为保证智能手机的通话应用的正常运行,能够及时保存后续产生的通话记录数据。可根据更新后的通话记录上限即第二通话记录上限,保存产生的通话记录数据。此外,同样按照更新后的通话记录上限,对应显示通话记录数据。如智能手机的通话记录上限由500更新为1000,则原本可保存和显示的通话记录数据的数量也对应调整为1000,用户可查看最近1000条的通话记录数据,很大程度上提高了便利度和用户体验。In practical applications, when the upper limit of the call record of the smartphone is updated, in order to ensure the normal operation of the call application of the smartphone, the subsequently generated call record data can be saved in time. The generated call record data may be saved according to the updated call record upper limit, that is, the second call record upper limit. In addition, according to the updated upper limit of the call record, the call record data is correspondingly displayed. For example, if the upper limit of the call records of a smartphone is updated from 500 to 1000, the number of call records that can be saved and displayed is also adjusted to 1,000. Users can view the latest 1,000 call records, which greatly improves the convenience. and user experience.
应该理解的是,虽然图1-3的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图1-3中的至少一部分步骤可以包括多个步骤或者多个阶段,这些步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤中的步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the steps in the flowcharts of FIGS. 1-3 are shown in sequence according to the arrows, these steps are not necessarily executed in the sequence shown by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in FIGS. 1-3 may include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but may be executed at different times. The execution of these steps or stages The order is also not necessarily sequential, but may be performed alternately or alternately with other steps or at least a portion of the steps or phases within the other steps.
在其中一个实施例中,如图4所示,提供了一种通话记录数据处理装置,包括:数据获取模块510、通话记录上限计算模块520和通话记录上限更新模块530,其中:In one embodiment, as shown in FIG. 4, a call record data processing apparatus is provided, including: a data acquisition module 510, a call record upper limit calculation module 520, and a call record upper limit update module 530, wherein:
数据获取模块510,用于当检测到当前已有的通话记录总量达到第一通话记录上限时,获取预设时间段内多个预设时间区间的通话记录数量。The data acquisition module 510 is configured to acquire the number of call records in a plurality of preset time intervals within a preset time period when it is detected that the total amount of currently existing call records reaches the first call record upper limit.
通话记录上限计算模块520,用于根据多个预设时间区间的通话记录数量,计算第二通话记录上限。The call record upper limit calculation module 520 is configured to calculate the second call record upper limit according to the number of call records in a plurality of preset time intervals.
通话记录上限更新模块530,用于将第一通话记录上限更新为第二通话记录上限,其中, 第二通话记录上限大于第一通话记录上限。The call record upper limit update module 530 is configured to update the first call record upper limit to a second call record upper limit, wherein the second call record upper limit is greater than the first call record upper limit.
在其中一个实施例中,通话记录上限计算模块520还用于根据多个预设时间区间的通话记录数量,结合预设通话记录数量更新参数,计算第二通话记录上限,预设通话记录数量更新参数与预设时间区间对应。In one embodiment, the call record upper limit calculation module 520 is further configured to calculate the upper limit of the second call record according to the number of call records in a plurality of preset time intervals and in combination with the preset number of call records update parameters, and update the preset number of call records The parameters correspond to preset time intervals.
在其中一个实施例中,数据获取模块510还用于按照预设时间区间,获取预设时间段内的第一时间区间的通话记录数量、第二时间区间的通话记录数量以及第三时间区间的通话记录数量。In one embodiment, the data acquisition module 510 is further configured to acquire the number of call records in the first time interval, the number of call records in the second time interval, and the number of call records in the third time interval within the preset time interval according to the preset time interval. Number of call records.
在其中一个实施例,通话记录上限更新模块540还用于根据第一时间区间的通话记录数量与预设第一通话记录更新参数,得到第一阶段通话记录数量,根据第二时间区间的通话记录数量与预设第二通话记录更新参数,得到第二阶段通话记录数量,根据第三时间区间的通话记录数量与预设第三通话记录更新参数,得到第三阶段通话记录数量,基于第一阶段通话记录数量、第一阶段通话记录数量以及第一阶段通话记录数量,计算第二通话记录上限。In one embodiment, the call record upper limit update module 540 is further configured to obtain the number of call records in the first stage according to the number of call records in the first time interval and the preset first call record update parameters, and according to the number of call records in the second time interval The number and the preset second call record update parameters to obtain the number of second-stage call records, and according to the number of call records in the third time interval and the preset third call record update parameters, to obtain the third-stage call record number, based on the first stage The number of call records, the number of call records of the first stage, and the number of call records of the first stage, calculate the upper limit of the second call record.
在其中一个实施例中,所述数据获取模块510还用于记录检测到当前产生的通话记录总量达到第一通话记录上限的时间作为当前统计时间点。其中,预设第一通话记录数量更新参数、预设第二通话记录数量更新参数以及预设第三通话记录数量更新参数的值随着各自对应的时间区间距离当前统计时间点越远而递减。In one embodiment, the data acquisition module 510 is further configured to record the time when it is detected that the total amount of call records currently generated reaches the upper limit of the first call record as the current statistical time point. The values of the preset first call record quantity update parameter, the preset second call record quantity update parameter, and the preset third call record quantity update parameter decrease as their corresponding time intervals are farther from the current statistical time point.
如图5所示,在其中一个实施例中,装置还包括通话记录数据处理模块540,用于根据第二通话记录上限,保存并显示通话记录数据。As shown in FIG. 5, in one embodiment, the apparatus further includes a call record data processing module 540, configured to save and display the call record data according to the second call record upper limit.
关于通话记录数据处理装置的具体限定可以参见上文中对于通话记录数据处理方法的限定,在此不再赘述。上述通话记录数据处理装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于通信设备中的处理器中,也可以以软件形式存储于通信设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific limitation of the call record data processing apparatus, reference may be made to the above limitation on the call record data processing method, which will not be repeated here. Each module in the above-mentioned call record data processing apparatus can be implemented in whole or in part by software, hardware and combinations thereof. The above modules can be embedded in or independent of the processor in the communication device in the form of hardware, or stored in the memory in the communication device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
在一个实施例中,提供了一种通信设备,该通信设备可以是终端,其内部结构图可以如图6所示。该通信设备包括通过系统总线连接的处理器、存储器、通信接口、显示屏和输入装置。其中,该通信设备的处理器用于提供计算和控制能力。该通信设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该通信设备的通信接口用于与外部的终端进行有线或无线方式的通信,无线方式可通过WIFI、运营商网络、NFC(近场通信)或其他技术实现。该计算机程序被处理器执行时以实现一种通话记录数据处理方法。该通信设备的 显示屏可以是液晶显示屏或者电子墨水显示屏,该通信设备的输入装置可以是显示屏上覆盖的触摸层,也可以是通信设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。In one embodiment, a communication device is provided, the communication device may be a terminal, and its internal structure diagram may be as shown in FIG. 6 . The communication device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the communication device is used to provide computing and control capabilities. The memory of the communication device includes a non-volatile storage medium and an internal memory. The nonvolatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium. The communication interface of the communication device is used for wired or wireless communication with an external terminal, and the wireless communication can be realized by WIFI, operator network, NFC (Near Field Communication) or other technologies. When the computer program is executed by the processor, a method for processing call record data is realized. The display screen of the communication device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the communication device may be a touch layer covered on the display screen, or a button, a trackball or a touchpad set on the shell of the communication device , or an external keyboard, trackpad, or mouse.
本领域技术人员可以理解,图6中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的通信设备的限定,具体的通信设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 6 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the communication device to which the solution of the present application is applied. The specific communication device may be Include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.
在一个实施例中,提供了一种通信设备,包括存储器和处理器,存储器中存储有计算机程序,该处理器执行计算机程序时实现上述的通话记录数据处理方法。In one embodiment, a communication device is provided, including a memory and a processor, a computer program is stored in the memory, and the processor implements the above-mentioned method for processing call record data when executing the computer program.
在其中一个实施例中,处理器执行计算机程序时还实现以下步骤:当检测到当前产生的通话记录总量达到第一通话记录上限时,获取预设时间段内多个预设时间区间的通话记录数量,根据多个预设时间区间的通话记录数量,计算第二通话记录上限,将第一通话记录上限更新为第二通话记录上限,其中,第二通话记录上限大于第一通话记录上限。In one of the embodiments, when the processor executes the computer program, the processor further implements the following steps: when it is detected that the total amount of call records currently generated reaches the first call record upper limit, acquiring calls in a plurality of preset time intervals within a preset time period For the number of records, calculate the upper limit of the second call record according to the number of call records in multiple preset time intervals, and update the upper limit of the first call record to the upper limit of the second call record, wherein the upper limit of the second call record is greater than the upper limit of the first call record.
在其中一个实施例中,处理器执行计算机程序时还实现以下步骤:根据多个预设时间区间的通话记录数量,结合预设通话记录数量更新参数,计算第二通话记录上限,预设通话记录数量更新参数与预设时间区间对应。In one embodiment, the processor further implements the following steps when executing the computer program: according to the number of call records in a plurality of preset time intervals, in combination with the preset number of call records to update parameters, calculate the upper limit of the second call record, and preset the call record The quantity update parameter corresponds to the preset time interval.
在其中一个实施例中,处理器执行计算机程序时还实现以下步骤:按照预设时间区间,获取预设时间段内的第一时间区间的通话记录数量、第二时间区间的通话记录数量以及第三时间区间的通话记录数量。In one embodiment, when the processor executes the computer program, the following steps are further implemented: according to a preset time interval, acquiring the number of call records in the first time interval, the number of call records in the second time interval, and the number of call records in the first time interval within the preset time interval The number of call records in three time intervals.
在其中一个实施例中,处理器执行计算机程序时还实现以下步骤:根据第一时间区间的通话记录数量与第一通话记录数量更新参数,得到第一阶段通话记录数量,根据第二时间区间的通话记录数量与第二通话记录数量更新参数,得到第二阶段通话记录数量,根据第三时间区间的通话记录数量与第三通话记录数量更新参数,得到第三阶段通话记录数量,基于第一阶段通话记录数量、第一阶段通话记录数量以及第一阶段通话记录数量,计算第二通话记录上限。In one embodiment, the processor further implements the following steps when executing the computer program: updating parameters according to the number of call records in the first time interval and the number of first call records to obtain the number of call records in the first stage, and according to the number of call records in the second time interval Update the parameters of the number of call records and the number of second call records to obtain the number of call records in the second stage, update the parameters according to the number of call records in the third time interval and the number of third call records, and obtain the number of call records in the third stage, based on the first stage The number of call records, the number of call records of the first stage, and the number of call records of the first stage, calculate the upper limit of the second call record.
在其中一个实施例中,处理器执行计算机程序时还实现以下步骤:根据第二通话记录上限,保存并显示通话记录数据。In one of the embodiments, when the processor executes the computer program, the following steps are further implemented: saving and displaying the call record data according to the second call record upper limit.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现上述的通话记录数据处理方法。In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned method for processing call record data is implemented.
在其中一个实施例中,计算机程序被处理器执行时实现以下步骤:当检测到当前产生的通话记录总量达到第一通话记录上限时,获取预设时间段内多个预设时间区间的通话记录数量, 根据多个预设时间区间的通话记录数量,计算第二通话记录上限,将第一通话记录上限更新为第二通话记录上限,其中,第二通话记录上限大于第一通话记录上限。In one of the embodiments, when the computer program is executed by the processor, the following steps are implemented: when it is detected that the total amount of call records currently generated reaches the first upper limit of the call record, acquiring calls in a plurality of preset time intervals within a preset time period Number of records: Calculate the upper limit of the second call record according to the number of call records in multiple preset time intervals, and update the upper limit of the first call record to the upper limit of the second call record, wherein the upper limit of the second call record is greater than the upper limit of the first call record.
在其中一个实施例中,计算机程序被处理器执行时还实现以下步骤:根据多个预设时间区间的通话记录数量,结合预设通话记录数量更新参数,计算第二通话记录上限,预设通话记录数量更新参数与预设时间区间对应。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: according to the number of call records in a plurality of preset time intervals, in combination with the preset number of call records to update parameters, calculate the upper limit of the second call record, and preset the call record. The record quantity update parameter corresponds to the preset time interval.
在其中一个实施例中,计算机程序被处理器执行时还实现以下步骤:按照预设时间区间,获取预设时间段内的第一时间区间的通话记录数量、第二时间区间的通话记录数量以及第三时间区间的通话记录数量。In one of the embodiments, when the computer program is executed by the processor, the following steps are further implemented: acquiring the number of call records in the first time interval, the number of call records in the second time interval, and The number of call records in the third time interval.
在其中一个实施例中,计算机程序被处理器执行时还实现以下步骤:根据第一时间区间的通话记录数量与第一通话记录数量更新参数,得到第一阶段通话记录数量,根据第二时间区间的通话记录数量与第二通话记录数量更新参数,得到第二阶段通话记录数量,根据第三时间区间的通话记录数量与第三通话记录数量更新参数,得到第三阶段通话记录数量,基于第一阶段通话记录数量、第一阶段通话记录数量以及第一阶段通话记录数量,计算第二通话记录上限。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: updating parameters according to the number of call records in the first time interval and the number of first call records, to obtain the number of call records in the first stage, and according to the second time interval Update the parameters of the number of call records and the number of second call records in The number of call records in the stage, the number of call records in the first stage, and the number of call records in the first stage are used to calculate the upper limit of the second call record.
在其中一个实施例中,计算机程序被处理器执行时还实现以下步骤:根据第二通话记录上限,保存并显示通话记录数据。In one of the embodiments, when the computer program is executed by the processor, the following steps are further implemented: saving and displaying the call record data according to the second call record upper limit.
应当理解,本申请中记载的通话记录还应当理解为包括消息通信记录,或终端或服务器的其它记录数据。It should be understood that the call records recorded in this application should also be understood to include message communication records, or other record data of the terminal or server.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器(Read-Only Memory,ROM)、磁带、软盘、闪存或光存储器等。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或外部高速缓冲存储器。作为说明而非局限,RAM可以是多种形式,比如静态随机存取存储器(Static Random Access Memory,SRAM)或动态随机存取存储器(Dynamic Random Access Memory,DRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage In the medium, when the computer program is executed, it may include the processes of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database or other media used in the various embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, or optical memory, and the like. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, the RAM may be in various forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features It is considered to be the range described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present application, and the descriptions thereof are relatively specific and detailed, but should not be construed as a limitation on the scope of the patent of the present application. It should be pointed out that for those skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the scope of protection of the patent of the present application shall be subject to the appended claims.

Claims (14)

  1. 一种通话记录数据处理方法,包括:A method for processing call record data, comprising:
    当检测到当前产生的通话记录总量达到第一通话记录上限时,获取预设时间段内多个预设时间区间的通话记录数量;When it is detected that the total amount of call records currently generated reaches the upper limit of the first call record, obtain the number of call records in multiple preset time intervals within the preset time period;
    根据所述多个预设时间区间的通话记录数量,计算第二通话记录上限,其中,所述第二通话记录上限大于所述第一通话记录上限;以及calculating a second call record upper limit according to the number of call records in the plurality of preset time intervals, wherein the second call record upper limit is greater than the first call record upper limit; and
    将所述第一通话记录上限更新为所述第二通话记录上限。The first call record upper limit is updated to the second call record upper limit.
  2. 根据权利要求1所述的方法,其中,所述根据所述多个预设时间区间的通话记录数量,计算第二通话记录上限包括:The method according to claim 1, wherein the calculating the upper limit of the second call record according to the number of call records in the plurality of preset time intervals comprises:
    根据所述多个预设时间区间的通话记录数量,结合预设通话记录数量更新参数,计算第二通话记录上限,所述预设通话记录数量更新参数与所述预设时间区间对应。The upper limit of the second call record is calculated according to the number of call records in the plurality of preset time intervals and in combination with a preset number of call records update parameter, and the preset number of call records update parameter corresponds to the preset time interval.
  3. 根据权利要求2所述的方法,其中,所述获取预设时间段内多个预设时间区间的通话记录数量包括:The method according to claim 2, wherein the obtaining the number of call records in a plurality of preset time intervals within a preset time period comprises:
    按照预设时间区间,获取预设时间段内的第一时间区间的通话记录数量、第二时间区间的通话记录数量以及第三时间区间的通话记录数量。According to the preset time interval, the number of call records in the first time interval, the number of call records in the second time interval, and the number of call records in the third time interval are acquired within the preset time interval.
  4. 根据权利要求3所述的方法,其中,所述根据所述多个预设时间区间的通话记录数量,结合预设通话记录数量更新参数,计算第二通话记录上限包括:The method according to claim 3, wherein the calculating the upper limit of the second call record according to the number of call records in the plurality of preset time intervals and in combination with the update parameter of the preset number of call records comprises:
    根据第一时间区间的通话记录数量与第一通话记录数量更新参数,得到第一阶段通话记录数量;Update parameters according to the number of call records in the first time interval and the number of first call records to obtain the number of call records in the first stage;
    根据第二时间区间的通话记录数量与第二通话记录数量更新参数,得到第二阶段通话记录数量;Update parameters according to the number of call records in the second time interval and the number of second call records to obtain the number of call records in the second stage;
    根据第三时间区间的通话记录数量与第三通话记录数量更新参数,得到第三阶段通话记录数量;Update parameters according to the number of call records in the third time interval and the number of third call records to obtain the number of call records in the third stage;
    基于所述第一阶段通话记录数量、所述第一阶段通话记录数量以及所述第一阶段通话记录数量,计算第二通话记录上限。Based on the number of call records in the first stage, the number of call records in the first stage, and the number of call records in the first stage, the upper limit of the second call record is calculated.
  5. 根据权利要求4所述的方法,还包括:记录检测到当前产生的通话记录总量达到第一通话记录上限的时间作为当前统计时间点;The method according to claim 4, further comprising: recording the time when it is detected that the total amount of the currently generated call records reaches the upper limit of the first call record as the current statistical time point;
    其中,所述第一通话记录数量更新参数、所述第二通话记录数量更新参数以及所述第三通话记录数量更新参数的值随着各自对应的时间区间距离所述当前统计时间点越远而递减。Wherein, the values of the first call record quantity update parameter, the second call record quantity update parameter, and the third call record quantity update parameter vary as the respective corresponding time intervals are farther from the current statistical time point. Decrease.
  6. 根据权利要求1至5任一项所述的方法,其中,所述将所述第一通话记录上限更新为 所述第二通话记录上限之后,还包括:The method according to any one of claims 1 to 5, wherein after the updating the first call record upper limit to the second call record upper limit, the method further comprises:
    根据所述第二通话记录上限,保存并显示通话记录数据。According to the upper limit of the second call record, the call record data is saved and displayed.
  7. 一种通话记录数据处理装置,包括:A call record data processing device, comprising:
    数据获取模块,用于当检测到当前已有的通话记录总量达到第一通话记录上限时,获取预设时间段内多个预设时间区间的通话记录数量;a data acquisition module, configured to acquire the number of call records in a plurality of preset time intervals within a preset time period when it is detected that the total amount of currently existing call records reaches the first call record upper limit;
    通话记录上限计算模块,用于根据所述多个预设时间区间的通话记录数量,计算第二通话记录上限,其中,所述第二通话记录上限大于所述第一通话记录上限;以及a call record upper limit calculation module, configured to calculate a second call record upper limit according to the number of call records in the plurality of preset time intervals, wherein the second call record upper limit is greater than the first call record upper limit; and
    通话记录上限更新模块,用于将所述第一通话记录上限更新为所述第二通话记录上限。A call record upper limit update module, configured to update the first call record upper limit to the second call record upper limit.
  8. 根据权利要求7所述的装置,其中,所述通话记录上限计算模块还用于根据所述多个预设时间区间的通话记录数量,结合预设通话记录数量更新参数,计算第二通话记录上限,所述预设通话记录数量更新参数与所述预设时间区间对应。The device according to claim 7, wherein the call record upper limit calculation module is further configured to calculate the second call record upper limit according to the number of call records in the plurality of preset time intervals and in combination with the preset number of call records update parameters , the preset call record quantity update parameter corresponds to the preset time interval.
  9. 根据权利要求8所述的装置,其中,所述数据获取模块还用于按照预设时间区间,获取预设时间段内的第一时间区间的通话记录数量、第二时间区间的通话记录数量以及第三时间区间的通话记录数量。The device according to claim 8, wherein the data acquisition module is further configured to acquire, according to a preset time interval, the number of call records in the first time interval, the number of call records in the second time interval, and The number of call records in the third time interval.
  10. 根据权利要求9所述的装置,其中,所述通话记录上限更新模块还用于:The device according to claim 9, wherein the call record upper limit update module is further configured to:
    根据第一时间区间的通话记录数量与第一通话记录数量更新参数,得到第一阶段通话记录数量;Update parameters according to the number of call records in the first time interval and the number of first call records to obtain the number of call records in the first stage;
    根据第二时间区间的通话记录数量与第二通话记录数量更新参数,得到第二阶段通话记录数量;Update parameters according to the number of call records in the second time interval and the number of second call records to obtain the number of call records in the second stage;
    根据第三时间区间的通话记录数量与第三通话记录数量更新参数,得到第三阶段通话记录数量;Update parameters according to the number of call records in the third time interval and the number of third call records to obtain the number of call records in the third stage;
    基于所述第一阶段通话记录数量、所述第一阶段通话记录数量以及所述第一阶段通话记录数量,计算第二通话记录上限。Based on the number of call records in the first stage, the number of call records in the first stage, and the number of call records in the first stage, the upper limit of the second call record is calculated.
  11. 根据权利要求10所述的装置,其中,所述数据获取模块还用于记录检测到当前产生的通话记录总量达到第一通话记录上限的时间作为当前统计时间点;The device according to claim 10, wherein the data acquisition module is further configured to record the time when it is detected that the total amount of the currently generated call records reaches the upper limit of the first call record as the current statistical time point;
    其中,所述第一通话记录数量更新参数、所述第二通话记录数量更新参数以及所述第三通话记录数量更新参数的值随着各自对应的时间区间距离所述当前统计时间点越远而递减。Wherein, the values of the first call record quantity update parameter, the second call record quantity update parameter, and the third call record quantity update parameter vary as the respective corresponding time intervals are farther from the current statistical time point. Decrease.
  12. 根据权利要求7至11中任一项所述的装置,还包括通话记录数据处理模块,用于根据第二通话记录上限,保存并显示通话记录数据。The device according to any one of claims 7 to 11, further comprising a call record data processing module, configured to save and display the call record data according to the second call record upper limit.
  13. 一种通信设备,包括存储器和处理器,所述存储器存储有计算机程序,其中,所述处理器执行所述计算机程序时实现权利要求1至6中任一项所述的方法。A communication device comprising a memory and a processor, wherein the memory stores a computer program, wherein the processor implements the method of any one of claims 1 to 6 when the processor executes the computer program.
  14. 一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现权利要求1至6中任一项所述的方法。A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method of any one of claims 1 to 6.
PCT/CN2021/112547 2020-08-18 2021-08-13 Call record data processing method and apparatus, and communication device and storage medium WO2022037497A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010832522.3A CN114157750B (en) 2020-08-18 2020-08-18 Call record data processing method and device, communication equipment and storage medium
CN202010832522.3 2020-08-18

Publications (1)

Publication Number Publication Date
WO2022037497A1 true WO2022037497A1 (en) 2022-02-24

Family

ID=80323394

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/112547 WO2022037497A1 (en) 2020-08-18 2021-08-13 Call record data processing method and apparatus, and communication device and storage medium

Country Status (2)

Country Link
CN (1) CN114157750B (en)
WO (1) WO2022037497A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594700A (en) * 2008-05-29 2009-12-02 三星电子株式会社 Divide the method and apparatus of the memory headroom of wireless terminal
CN103220420A (en) * 2013-04-07 2013-07-24 广东欧珀移动通信有限公司 Method and device for permanently storing call record
CN105025161A (en) * 2015-06-12 2015-11-04 上海卓易科技股份有限公司 An apparatus realizing infinite storage of call records and a query method thereof
CN106776030A (en) * 2016-12-21 2017-05-31 维沃移动通信有限公司 The method and mobile terminal of a kind of dynamic managing internal memory
CN110221921A (en) * 2019-06-13 2019-09-10 深圳Tcl新技术有限公司 EMS memory management process, terminal and computer readable storage medium
EP3641286A1 (en) * 2018-10-15 2020-04-22 i2x GmbH Call recording system for automatically storing a call candidate and call recording method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107770355A (en) * 2017-10-30 2018-03-06 江西博瑞彤芸科技有限公司 A kind of data processing method based on message registration

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594700A (en) * 2008-05-29 2009-12-02 三星电子株式会社 Divide the method and apparatus of the memory headroom of wireless terminal
CN103220420A (en) * 2013-04-07 2013-07-24 广东欧珀移动通信有限公司 Method and device for permanently storing call record
CN105025161A (en) * 2015-06-12 2015-11-04 上海卓易科技股份有限公司 An apparatus realizing infinite storage of call records and a query method thereof
CN106776030A (en) * 2016-12-21 2017-05-31 维沃移动通信有限公司 The method and mobile terminal of a kind of dynamic managing internal memory
EP3641286A1 (en) * 2018-10-15 2020-04-22 i2x GmbH Call recording system for automatically storing a call candidate and call recording method
CN110221921A (en) * 2019-06-13 2019-09-10 深圳Tcl新技术有限公司 EMS memory management process, terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN114157750A (en) 2022-03-08
CN114157750B (en) 2022-09-09

Similar Documents

Publication Publication Date Title
US8434023B2 (en) Arranging icons according to a weighted value calculated in part using click frequency
CN103823543B (en) Portable electronic device and the method operated wherein
CN108574732B (en) Push message processing method, computer readable storage medium and terminal equipment
US9143592B2 (en) Mobile terminal and method for displaying contact list in order of priority levels
WO2018000678A1 (en) Method and apparatus for module process scheduling
CN108228300B (en) Method and device for controlling real-time refreshing of content
CN111984130A (en) Shortcut operation method and device and electronic equipment
CN112997134A (en) Application icon display method and device, storage medium and electronic equipment
CN111538678A (en) Data buffering method, device and computer readable storage medium
US20130219337A1 (en) Electronic device, storage medium and method for arranging icons of applications of the electronic device
US20150143292A1 (en) Method and Device for Processing Application of Mobile Terminal
CN110806908A (en) Application software pre-starting method, terminal and computer readable storage medium
WO2020048243A1 (en) Window adjustment method, window adjustment device and mobile terminal
CN108038050B (en) Performance adjusting method and device, storage medium and electronic equipment
WO2022037497A1 (en) Call record data processing method and apparatus, and communication device and storage medium
CN105302702A (en) Method and apparatus for testing performance of terminal
WO2020015114A1 (en) Method for querying operating state of application, and terminal device
CN106055688B (en) Search result display method and device and mobile terminal
CN106648916B (en) Method and device for reporting pedometer message
US20180107719A1 (en) Data access using aggregation
CN107402626A (en) Using cycle synchronisation management method, device, storage medium and electronic equipment
CN116781568A (en) Data monitoring alarm method, device, equipment and storage medium
CN113641567B (en) Database inspection method and device, electronic equipment and storage medium
CN112997539B (en) Application grouping adjustment method and device, storage medium and electronic equipment
CN110704523B (en) Data export method, device, equipment and computer readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21857592

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21857592

Country of ref document: EP

Kind code of ref document: A1