WO2012000237A1 - 一种终端数据的记录方法和装置 - Google Patents

一种终端数据的记录方法和装置 Download PDF

Info

Publication number
WO2012000237A1
WO2012000237A1 PCT/CN2010/077034 CN2010077034W WO2012000237A1 WO 2012000237 A1 WO2012000237 A1 WO 2012000237A1 CN 2010077034 W CN2010077034 W CN 2010077034W WO 2012000237 A1 WO2012000237 A1 WO 2012000237A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
recording
module
function module
function
Prior art date
Application number
PCT/CN2010/077034
Other languages
English (en)
French (fr)
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 中兴通讯股份有限公司
Priority to US13/522,525 priority Critical patent/US9521233B2/en
Priority to EP10853940.4A priority patent/EP2518648B1/en
Publication of WO2012000237A1 publication Critical patent/WO2012000237A1/zh

Links

Classifications

    • 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/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • 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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems
    • H04L12/5601Transfer mode dependent, e.g. ATM
    • H04L2012/5629Admission control
    • H04L2012/563Signalling, e.g. protocols, reference model
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems
    • H04L12/5601Transfer mode dependent, e.g. ATM
    • H04L2012/5629Admission control
    • H04L2012/5631Resource management and allocation
    • H04L2012/5636Monitoring or policing, e.g. compliance with allocated rate, corrective actions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems
    • H04L12/5601Transfer mode dependent, e.g. ATM
    • H04L2012/5638Services, e.g. multimedia, GOS, QOS
    • H04L2012/5646Cell characteristics, e.g. loss, delay, jitter, sequence integrity
    • H04L2012/5652Cell construction, e.g. including header, packetisation, depacketisation, assembly, reassembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/64Hybrid switching systems
    • H04L12/6418Hybrid transport
    • H04L2012/6443Network Node Interface, e.g. Routing, Path finding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2463/00Additional details relating to network architectures or network communication protocols for network security covered by H04L63/00
    • H04L2463/121Timestamp
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/60Details of telephonic subscriber devices logging of communication history, e.g. outgoing or incoming calls, missed calls, messages or URLs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/42221Conversation recording systems

Definitions

  • the present invention relates to data recording technology in the field of data monitoring, and in particular to a method and apparatus for recording terminal data. Background technique
  • terminals have become a common living tool that people carry with them. Many activities performed by people are inseparable from the terminal. Therefore, the most direct way to understand a person is to master the terminal.
  • the operations performed such as: making calls, sending and receiving text messages, and downloading information, etc., for example: If parents want to know what their child has done during the day, they can query the call history in the terminal or receive/send a text message.
  • the record, etc. is known, and the query means that each function module of the terminal plays back the previous record and presents it to the user who has the query requirement.
  • the premise of the query operation is that the terminal needs to record related data when the terminal user performs an operation.
  • the existing recording method is: If the user makes a call, the call module records data such as the specific time of the call and the length of the call, and finally A call record list is generated; if the user sends and receives a short message, the content and time of the received or sent short message are recorded and stored in the short message.
  • the above recording method has certain defects: First, the content recorded by the function module is too detailed, such as the record of the short message, for example: When the parent queries the child's short message, not only knows who the sender and the sender are, but also the time of sending and receiving text messages, Fully know the specific content of the SMS, but the content of the SMS may involve the privacy of the child. The child does not want the parent to know too much.
  • the function module records a single content, because the different functional modules of the terminal can only record their own business data, if anyone wants to comprehensively To understand the activity of an end user, you can only view the operation records of each function module of the terminal separately. The operation is troublesome, and it can be said that the time of the terminal monitoring party is very wasted. Summary of the invention
  • the main object of the present invention is to provide a method and apparatus for recording terminal data, which can perform fuzzy recording on terminal data, and can centrally store data of different functional modules and simplify query operations.
  • the present invention provides a method for recording terminal data, the method comprising: setting a relationship condition network for triggering recording between each function module, and setting a corresponding random probability generator for each function module;
  • each function module determines whether to start recording data and whether to end the data recording operation according to the relationship condition network or the random probability generator; after the data recording of each function module is finished, the respective recorded data packets are sent to the data management module. storage.
  • the relationship condition network of the trigger record is: one-way trigger or two-way mutual trigger.
  • Each of the function modules further generates a number corresponding to the data packet formed by the respective data in the process of data recording; the number includes the group number and the identifier corresponding to each function module.
  • the data modules sent by the function modules to the data management module include corresponding generated numbers.
  • the data management module stores the data packets sent by each functional module as follows: Each data packet is collectively archived according to the group number included in each data packet.
  • the present invention also provides a recording device for terminal data, the device comprising: a function module and a data management module;
  • the function module is configured to receive a relationship condition network set by the data management module and a corresponding random probability generator; during the operation, determine whether to start recording data, and whether to end the data record according to the relationship condition network or the random probability generator, And after the recording operation is over, Sending the recorded data packet to the data management module;
  • the data management module is configured to set a relationship condition network for triggering recording between each function module before running each function module, and a random probability generator corresponding to each function module, and send the setting result to each function module; The data packet sent by each function module.
  • the function module is further configured to generate a number corresponding to the data packet formed by the respective data in the process of data recording;
  • the number includes a group number and an identifier corresponding to each function module.
  • the data management module stores the data packets sent by the function modules, so that: the data management module collectively archives each data packet according to the group number included in each data packet.
  • the method and device for recording terminal data provided by the present invention firstly set a relationship condition network for triggering recording between each functional module to be monitored, and set a corresponding random probability generator for each functional module; Determine whether to start recording data and whether to end the data recording operation according to the relationship condition network or the random probability generator.
  • a random probability factor is introduced, so that the final recorded data of each function module is only a part of the business operation data, so the recorded data has a certain ambiguity, and the recording result in the prior art can be avoided.
  • the data packets obtained by the respective records are sent to the data management module for storage, that is, the received data packets are archived according to the group number generated when each function module records the data. Together, form a record group.
  • the data management module simultaneously plays back all the data in the same record group to the monitoring party, which is convenient for the monitoring party to query, and the operation is simple.
  • FIG. 1 is a schematic flowchart showing an implementation process of a method for recording terminal data according to the present invention
  • FIG. 2 is a schematic flowchart of a data recording method of a call control module according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of a data recording method of a liquid crystal display module according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a device for recording terminal data according to the present invention. detailed description
  • the basic idea of the present invention is: setting a relationship condition network for triggering recording between each functional module to be monitored, and setting a corresponding random probability generator for each functional module; during operation of each functional module, according to a relationship condition network or The random probability generator determines whether to start recording data and whether to end the data recording operation; after each function module data recording operation ends, the respective recorded data packets are sent to the data management module for storage.
  • the functional modules of the terminal can be set as function modules to be monitored, and the data recorded by each functional module to be monitored is uniformly stored to form one recording group, and one recording group corresponds to one.
  • the group number, the data packets composed of the data recorded by each function module in a record group respectively correspond to a number, the number includes the group number, and the identifier corresponding to each function module is also included.
  • all data in the same record group can be played back to the monitoring party at the same time, so that the monitoring party can understand the operation of the end user from multiple angles.
  • FIG. 1 is a schematic flowchart of implementing a method for recording terminal data according to the present invention. As shown in FIG. 1, the implementation steps of the method are as follows:
  • Step 101 Set a relationship condition network that triggers recording between each function module to be monitored, and set a corresponding random probability generator for each function module;
  • a plurality of or all functional modules in the terminal may be used as monitored objects according to monitoring requirements, and a relationship condition network for triggering data recording between the functional modules to be monitored is set, and respectively set for each functional module.
  • Corresponding random probability generator may be used to generate a probability distribution for determining whether the functional modules to be monitored.
  • the relationship condition network is used for data record management, and indicates a trigger relationship between the functional modules.
  • the first functional module that starts the recording operation in all functional modules relies on the random probability generator to initiate the recording, and other functional modules rely on the relationship.
  • the conditional network initiates recording in sequence or at the same time; wherein the first function module for performing the recording operation can be arbitrarily set, for example: the function modules to be monitored are A, B and C, then the function module can enter, B or C Set to the first functional module in the network that starts the recording operation in the relational condition network.
  • the relationship condition network may be a one-way trigger, such as: three function modules A, B, and C, and only when A is in the recording state, B and C are triggered to record; or may be two-way mutual trigger, such as : Two function modules A and B. If A is in the recording state and B is in the unrecorded state, then B is triggered to record; vice versa.
  • the random probability generator is used to implement a probability event to reflect the ambiguity of the recorded data
  • the random function rand can have many different implementation methods.
  • Step 102 Each function module determines whether to start recording data according to the relationship condition network or the random probability generator. If the record is recorded, step 103 is performed; if not, the process returns to step 102; specifically: during the operation of each function module, according to the relationship
  • the conditional network or the random probability generator determines whether to start recording data, and the first functional module of all the function modules to be monitored determines whether to start recording data according to the set random probability generator; other functional modules are determined according to the set relationship condition network.
  • Whether to start recording data for example: If the first function module is in the data recording state, trigger other function modules to start recording data; if the first function module is not in the data recording state, the other function modules are not triggered to record data; In the process, if the record is determined, proceed to step 103; otherwise, the judgment operation of this step is continued.
  • Step 103 Each function module saves its own operation data; Specifically, each function module saves data generated during its own operation to obtain corresponding data packets.
  • each function module generates a number corresponding to the data packet formed by the respective data when the data is saved, and the number includes a group number and an identifier corresponding to each function module, and the group number can be represented by a serial number, such as: A , B, C, etc.; may also be a time stamp or the like; the identifier corresponding to each functional module may be represented as 1, 2, 3, etc., then the number corresponding to each data packet of each functional module may be finally expressed as : A-2, which represents the packet corresponding to the second functional module in group A.
  • the group number may also be generated by the first function module in the function module to be monitored, for example: the function module A is the first function module, is currently in the recording state, and the function module B is triggered by the function module A. Recorded, then the group number in the last generated number of function module B is the same as the group number generated by function module A.
  • the multiple numbers generated by the function module respectively include different group numbers, that is, one relationship condition network corresponds to one group number, which is successively
  • the same function module triggered by different relationship condition networks has different group numbers included in each generated number.
  • Step 104 Each function module determines whether to end the data record according to the random probability generator, if it is finished, step 105 is performed; if not, return to step 103;
  • each function module determines whether to end the data record according to the running result of the random probability generator, and the determining method may be as described in step 101. If yes, execute step 105; if not, return to step 103 and continue. Save the running data.
  • the precondition of the end of the recording operation by the function module may be, in addition to the operation result of the random probability generator, other notifications of the termination of the recording operation sent by the data management module, and the like.
  • Step 105 Each function module ends the recording, and sends the data packet obtained by each record to the data management module for storage; Specifically, each functional module ends the current data recording operation, and sends the data packets obtained by the respective records to the data management module for storage.
  • the data packets include corresponding numbers, and thus the group number information is surely included, then In the storage process, the data management module centrally archives the received data packets according to the group number in each data packet to form a record group, which facilitates subsequent playback operations.
  • the function module After the function module ends the recording, it also sets its own recording status to the recording completion status, and notifies the data management module, so that the data management module determines that the storage archiving operation can be started.
  • all the data in the same recording group can be simultaneously played back to the monitoring party, so that the monitoring party can understand the terminal user from multiple angles.
  • This embodiment implements a simple fuzzy recording of a voice call segment, which is implemented for all calls.
  • the function module to be monitored is set as: liquid crystal display module, downlink voice frame data processing module, uplink voice frame data processing module and call control module, a total of four modules, corresponding to record display data, audio playback data
  • the audio transmission data and the call connection event data are set.
  • the relationship condition network corresponding to the four function modules to be monitored is a one to three trigger relationship, that is, as long as the call control module is in the recording state, the other three function modules are triggered.
  • Data recording is performed; a corresponding random probability generator is set for each functional module according to a probability of 50%.
  • Step 201 The recording state of the call control module is to record an idle state
  • the recording idle state is an initial state of recording.
  • Step 202 The call control module determines whether to start recording data according to the random probability generator, if the recording, step 203 is performed; if not, returning to step 202;
  • rand()%2 is an implementation proposed to achieve a 50% probability
  • the result is 0 or 1
  • the two results meet the original demand design of the average distribution, that is, meet the probability requirement of 50%, when When the probability demand changes, the corresponding probability realization formula will also change accordingly.
  • Step 203 The call control module saves the call connection event data.
  • the call connection event data may be data of a call setup completion event, and the data is saved.
  • the call control module when the data is saved, the call control module further generates a number corresponding to the data packet formed by the data saved by itself, where the number includes a group number and an identifier corresponding to each function module, where the group number may be taken as The local time when the call setup is completed, such as T1; the corresponding identifier of the module can be set to call, then the number finally generated by the call control module can be expressed as: Tl-calL
  • the call control module sends the generated group number T1 to the other Three functional modules.
  • the call control module when the call control module starts saving data, it can set its own recording status to the recording status, and notify the other three functional modules of the recording status.
  • Step 204 The call control module determines whether to end the recording operation according to the random probability generator. If yes, execute step 205; if not, return to step 203;
  • the call control module determines whether to end the data record according to the random probability generator. For example, if the input value of the random function rand is even, the process ends and the process proceeds to step 205; if the number is odd, the process returns to step 203;
  • Step 205 it may be determined whether a notification of the end recording operation sent by the data management module is received, such as: a notification message indicating the termination of the group, if yes, step 205 is performed; if not, returning to step 203, continuing to run the data For example, call end event data is saved.
  • Step 205 The call control module ends the recording, and sends the recorded data packet to the data management module for storage.
  • the data packet uploaded by the call control module includes the number set in step 203.
  • the relationship condition network is one to three triggering relationships, and the set probability is the same. Therefore, the data recording implementation processes of the liquid crystal display module, the downlink voice frame data processing module, and the uplink voice frame data processing module are the same.
  • the data recording method is described below by taking a liquid crystal display module as an example. As shown in FIG. 3, the method includes the following steps:
  • Step 301 The recording state of the liquid crystal display module is recording an idle state
  • the recording idle state is an initial state of recording.
  • Step 302 The liquid crystal display module determines whether to start recording data according to the relationship condition network, if the record is performed, step 303 is performed; if not, returning to step 302;
  • step 303 it can be determined whether the liquid crystal display module starts to record data. If the notification sent by the call control module is in the recording state at this time, step 303 is performed; if the call control module does not receive the call control module If the notification is in the recorded state, then return to step 302.
  • Step 303 The liquid crystal display module saves the refresh data.
  • the liquid crystal display module when the liquid crystal display module saves the refresh data, it also generates a number corresponding to the data packet formed by the data saved by itself, and since the call control module has transmitted the generated group number to the liquid crystal display module, the liquid crystal display module also sets the group. The number is set to T1, and its own identification is generated. Then, the final number generated by the liquid crystal display module can be expressed as: Tl-lcd.
  • Step 304 The liquid crystal display module determines whether to end the recording operation according to the random probability generator. If yes, execute step 305; if not, return to step 303;
  • the liquid crystal display module determines whether to end the data recording according to the random probability generator. For example, if the design requirement requires the liquid crystal display module to start from the trigger, the continuous recording ends after n seconds, wherein the n is a randomly distributed integer: 1. 2, 3, 4 or 5, then, random probability
  • the generator is set to rand()%5+l to control whether the liquid crystal display module performs the operation of recording data; or, it can also determine whether the notification of the end recording operation sent by the data management module is received, such as: notification of the termination of the record group If the message is over, go to step 305. If not, go back to step 303 and continue to save the refresh data.
  • Step 305 The liquid crystal display module ends the recording, and sends the recorded data packet to the data management module for storage.
  • the data management module receives the record data packets sent by the four modules, and archives the data packets according to the group number.
  • the data management module plays back all the data in the same record group. For the monitoring party, the query operation of the monitoring party is simplified.
  • the present invention further provides a recording device for terminal data.
  • the device includes: a function module and a data management module.
  • the device has a plurality of functional modules;
  • the function module is configured to receive a relationship condition network set by the data management module and a corresponding random probability generator; during the operation, determine whether to start recording data, and whether to end the data record according to the relationship condition network or the random probability generator, And after the recording operation ends, the recorded data packet is sent to the data management module;
  • the data management module is configured to set a relationship condition network for triggering recording between each function module before running each function module, and a random probability generator corresponding to each function module, and send the setting result to each function module; The data packet sent by each function module.
  • the function module is further configured to generate, during the data recording, a number corresponding to the data packet formed by the respective data; wherein the number includes the group number and the identifier corresponding to each function module.
  • the data management module stores the data packets sent by each function module, and the data management module collectively archives each data packet according to the group number included in each data packet.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Television Signal Processing For Recording (AREA)

Description

一种终端数据的记录方法和装置 技术领域
本发明涉及数据监控领域中的数据记录技术, 尤其涉及一种终端数据 的记录方法和装置。 背景技术
随着现代通信技术和通信网络的高速发展, 终端成为人们随身携带的 常用生活工具, 人们所进行的很多活动都与终端密不可分, 所以, 要了解 一个人最直接的方法就是掌握该人利用终端所执行的操作, 如: 拨打电话、 收发短信和下载信息等, 例如: 如果父母想知道自己的孩子在一天中都做 了什么事情, 则可通过查询终端中的通话记录或已接收 /发送短信的记录等 进行了解, 所述查询即终端各功能模块将之前的记录进行回放, 呈现给有 查询需求的用户。
所述查询操作的前提是终端需对终端用户执行操作时的相关数据进行 记录, 现有的记录方法为: 如果用户进行通话, 通话模块则对通话的具体 时间和通话长度等数据进行记录, 最终生成通话记录列表; 如果用户收发 短信, 则将所接收或所发短信的内容和时间等数据进行记录, 存于短信信 相。
但上述的记录方法存在一定缺陷: 首先, 功能模块记录的内容太详细, 如短信的记录, 例如: 父母在查询孩子的短息时, 不但了解到收发短信方 是谁、 短信收发时间, 还能完全知道短信的具体内容, 但是短信内容可能 涉及到孩子的隐私, 孩子并不希望父母了解太详细; 此外, 功能模块记录 内容单一, 因为终端不同功能模块只能记录自身业务数据, 如果有人想全 面了解某终端用户的活动, 则只能分别查看终端各功能模块的运行记录, 操作麻烦, 可以说非常浪费终端监控方的时间。 发明内容
有鉴于此, 本发明的主要目的在于提供一种终端数据的记录方法和装 置, 可对终端数据进行模糊记录, 且能集中存储不同功能模块的数据, 简 化查询操作。
为达到上述目的, 本发明的技术方案是这样实现的:
本发明提供了一种终端数据的记录方法, 该方法包括: 设置各功能模 块之间触发记录的关系条件网络, 并为所述各功能模块设置对应的随机概 率产生器; 还包括:
各功能模块运行过程中, 依据关系条件网络或随机概率产生器确定是 否开始记录数据, 以及是否结束数据记录操作; 各功能模块数据记录结束 后, 将各自记录所得的数据包发送给数据管理模块进行存储。
其中, 所述触发记录的关系条件网络为: 单向触发或双向互触发。 其中, 所述各功能模块在数据记录的过程中, 还产生与各自数据形成 的数据包对应的编号; 所述编号中包括组编号以及与各功能模块对应的标 识。
其中, 所述各功能模块向数据管理模块所发的数据包中包括各自对应 的已产生的编号。
其中, 所述数据管理模块存储各功能模块所发的数据包为: 根据各数 据包中包括的组编号将各数据包集中归档。
本发明还提供了一种终端数据的记录装置, 该装置包括: 功能模块和 数据管理模块; 其中,
所述功能模块, 用于接收数据管理模块设置的关系条件网络和各自对 应的随机概率产生器; 运行过程中, 依据关系条件网络或随机概率产生器 确定是否开始记录数据, 以及是否结束数据记录, 并在记录操作结束后, 将记录所得的数据包发送给数据管理模块;
所述数据管理模块, 用于各功能模块运行前, 设置各功能模块之间触 发记录的关系条件网络, 以及各功能模块各自对应的随机概率产生器, 并 将设置结果发送给各功能模块; 存储各功能模块发送的数据包。
其中, 所述功能模块, 进一步用于在数据记录的过程中, 产生与各自 数据形成的数据包对应的编号;
其中, 所述编号中包括组编号以及与各功能模块对应的标识。
其中, 所述数据管理模块存储各功能模块发送的数据包, 为: 数据管 理模块根据各数据包中包括的组编号将各数据包集中归档。
本发明提供的终端数据的记录方法和装置, 首先设置待监控的各功能 模块之间触发记录的关系条件网络, 并为所述各功能模块设置对应的随机 概率产生器; 各功能模块运行过程中, 依据关系条件网络或随机概率产生 器确定是否开始记录数据、 以及是否结束数据记录操作。 在上述数据记录 过程中引入了随机概率的因素, 使得各功能模块最终所记录的数据仅为业 务运行数据的一部分, 因此所记录的数据具有一定的模糊性, 可避免现有 技术中记录结果过于详细的问题。
此外, 本发明各功能模块数据记录操作结束后, 将各自记录所得的数 据包发送给数据管理模块进行存储, 即: 根据各功能模块记录数据时产生 的组编号将接收到的各数据包归档在一起, 形成一个记录组。 监控方查询 时, 数据管理模块将同一记录组中的所有数据同时回放给监控方, 方便监 控方查询, 操作简单。 附图说明
图 1为本发明终端数据的记录方法的实现流程示意图;
图 2为本发明实施例中呼叫控制模块的数据记录方法实现流程示意图; 图 3为本发明实施例中液晶显示模块的数据记录方法实现流程示意图; 图 4为本发明终端数据的记录装置结构示意图。 具体实施方式
本发明的基本思想是: 设置待监控的各功能模块之间触发记录的关系 条件网络, 并为所述各功能模块设置对应的随机概率产生器; 各功能模块 运行过程中, 依据关系条件网络或随机概率产生器确定是否开始记录数据、 以及是否结束数据记录操作; 各功能模块数据记录操作结束后, 将各自记 录所得的数据包发送给数据管理模块进行存储。
本发明中, 按照监控需求可将终端所有功能模块中的几个设为待监控 的功能模块, 将待监控的各功能模块所记录的数据进行统一存储, 形成一 个记录组, 一个记录组对应一个组编号, 一个记录组中各功能模块所记录 数据组成的数据包各自对应一个编号, 该编号中包括组编号, 还包括与各 功能模块对应的标识。 这样, 按不同的监控需求最终可生成多个不同的记 录组。 在查询过程中, 同一记录组中的所有数据可同时回放给监控方, 以 便监控方从多角度了解终端用户的操作。
下面结合附图及具体实施例对本发明作进一步详细说明。
图 1为本发明终端数据的记录方法的实现流程示意图, 如图 1所示, 该方法的实现步骤如下:
步骤 101 : 设置待监控的各功能模块之间触发记录的关系条件网络, 并 为所述各功能模块设置对应的随机概率产生器;
具体为: 可按照监控需求将终端中的几个或所有功能模块作为被监控 对象, 设置所述待监控的各功能模块之间触发数据记录的关系条件网络, 并为所述各功能模块分别设置对应的随机概率产生器。
这里, 所述关系条件网络是为实现数据记录管理用的, 表示各功能模 块相互之间的触发关系。 一般情况下, 所有功能模块中开始执行记录操作 的第一个功能模块依靠随机概率产生器发起记录, 其它功能模块依靠关系 条件网络依次或同时发起记录; 其中, 所述执行记录操作的第一个功能模 块可任意设置, 例如: 待监控的功能模块为 A、 B和 C, 那么, 功能模块入、 B或 C均可设为关系条件网络中开始执行记录操作的第一个功能模块。
此外,所述关系条件网络可为单向触发,如: 三个功能模块 A、 B和 C, 只有在 A处于记录状态时, B和 C才被触发进行记录; 也可为双向互触发, 如: 两个功能模块 A和 B, 如果 A处于记录状态, B处于未记录状态, 那 么则触发 B进行记录; 反之也成立。
所述随机概率产生器用于实现概率事件, 以体现记录数据的模糊性, 随机概率产生器可为标准 C库的随机函数 rand, 同样依据监控需求进行设 置。例如:如果监控方欲实现 50%概率的数据监控,则可设置当 rand()%2=0 时, 执行记录操作; 当 rand()%2=l时, 不执行记录操作, 其含义为: 设随 机函数 rand的输入值为整数 0、 1、 2、 3... , 那么, 当随机函数 rand的输入 值为偶数时, 执行记录操作; 当随机函数 rand的输入值为奇数时, 不执行 记录操作。 当然, 欲实现 50%概率的数据监控, 随机函数 rand可有多种不 同的实现方法。
步骤 102:各功能模块依据关系条件网络或随机概率产生器确定是否开 始记录数据, 如果记录, 则执行步骤 103; 如果不记录, 则返回步骤 102; 具体为: 各功能模块运行过程中, 依据关系条件网络或随机概率产生 器确定是否开始记录数据, 所有待监控的功能模块中的第一个功能模块依 据设置的随机概率产生器确定是否开始记录数据; 其它功能模块依据已设 置的关系条件网络确定是否开始记录数据, 例如: 如果第一个功能模块处 于数据记录状态, 则触发其它功能模块开始记录数据; 如果第一个功能模 块未处于数据记录状态, 则不触发其它功能模块记录数据; 上述判断过程 中,如果确定记录,则继续执行步骤 103 ;否则继续执行本步骤的判断操作。
步骤 103: 各功能模块保存自身的运行数据; 具体为: 各功能模块将自身运行时产生的数据进行保存, 得到各自对 应的数据包。
进一步地, 各功能模块在保存数据时, 还产生与各自数据形成的数据 包对应的编号, 该编号中包括组编号以及与各功能模块对应的标识, 所述 组编号可用序号表示, 如: A、 B、 C等; 也可为时间戳等标记; 所述与各 功能模块对应的标识可表示为 1、 2、 3 等, 那么所述各功能模块各自的数 据包对应的编号最终可表示为: A-2, 代表 A组中的第二个功能模块对应的 数据包。
其中, 所述组编号也可以由待监控功能模块中的第一个功能模块产生 , 例如: 功能模块 A为第一个功能模块, 当前处于记录状态, 功能模块 B是 由功能模块 A触发开始进行记录的, 那么功能模块 B最终所生成编号中的 组编号与功能模块 A生成的组编号相同。
此外, 如果一个功能模块先后被多个关系条件网络触发, 则该功能模 块最终生成的多个编号中会分别包括各自不同的组编号, 也就是说, 一个 关系条件网络对应一个组编号, 先后被不同关系条件网络触发的同一功能 模块在每次生成的编号中所包括的组编号不同。
步骤 104: 各功能模块依据随机概率产生器确定是否结束数据记录, 如 果结束, 则执行步骤 105; 如果不结束, 则返回步骤 103;
具体为: 各功能模块依据随机概率产生器的运行结果确定是否结束数 据记录,判断方法可如步骤 101中所述的内容,如果结束,则执行步骤 105; 如果不结束, 则返回步骤 103 , 继续对运行数据进行保存。
这里, 所述功能模块结束记录操作的前提条件除了随机概率产生器的 运行结果外, 还可为数据管理模块所发的其它终止记录操作的通知等。
步骤 105: 各功能模块结束记录, 并将各自记录所得的数据包发送给数 据管理模块进行存储; 具体为: 各功能模块结束当前的数据记录操作, 并将各自记录所得的 数据包发送给数据管理模块进行存储, 所述数据包中均包括各自对应的编 号, 也就肯定包括组编号信息, 那么, 数据管理模块在存储过程中, 根据 各数据包中的组编号将接收到的各数据包集中归档, 形成一个记录组, 便 于后续执行回放操作。
其中, 各功能模块结束记录后, 还将自身的记录状态设置为记录完成 状态, 并通知数据管理模块, 以便数据管理模块确定可开始进行存储归档 操作。
进一步地, 在监控方对记录数据进行查询时, 同一记录组中的所有数 据可同时回放给监控方, 以便监控方从多角度了解终端用户。
下面结合具体实施例对本发明进行详细描述。
本实施例实现一个简单的语音通话片断的模糊记录, 对所有通话实现
50%概率的片断记录, 需要监控的功能模块设为: 液晶显示模块、 下行语音 帧数据处理模块、 上行语音帧数据处理模块和呼叫控制模块共四个模块, 分别对应记录显示数据、 音频播放数据、 音频发送数据和呼叫连接事件数 据; 设置的与待监控的四个功能模块对应的关系条件网络为一到三的触发 关系, 即: 只要呼叫控制模块处于记录状态, 则触发其它三个功能模块进 行数据记录; 依据 50%的概率为各功能模块设置对应的随机概率产生器。
下面首先对本实施例中呼叫控制模块的数据记录方法实现流程进行描 述, 如图 2所示, 该流程的实现步骤如下:
步骤 201 : 呼叫控制模块的记录状态为记录空闲状态;
这里, 所述记录空闲状态为记录的初始化状态。
步骤 202: 呼叫控制模块依据随机概率产生器确定是否开始记录数据, 如果记录, 则执行步骤 203 ; 如果不记录, 则返回步骤 202;
这里, 所述随机概率产生器可设为标准 C库的随机函数 rand, 又因预 设的概率为 50%, 那么, 可设置当 rand()%2=0时, 呼叫控制模块不执行记 录操作, 并返回步骤 202; 当 rand()%2=l时, 呼叫控制模块执行记录操作, 则继续执行步骤 203。
其中, 所述 rand()%2是为实现 50%概率提出的一种实现方式, 其结果 是 0或 1 ,且两种结果符合平均分布的原始需求设计, 即符合 50%的概率需 求, 当概率需求改变时, 对应的概率实现公式也会相应变化。
步骤 203: 呼叫控制模块将呼叫连接事件数据保存;
这里, 由于呼叫控制模块刚开始建立呼叫事件, 所述呼叫连接事件数 据可为呼叫建立完成事件的数据, 将该数据进行保存。
进一步地, 呼叫控制模块在保存数据时, 还产生与自身所保存数据形 成的数据包对应的编号, 所述编号中包括组编号以及与各功能模块对应的 标识, 这里, 所述组编号可取为呼叫建立完成的本地时间, 如 T1 ; 模块对 应的标识可设为 call, 那么, 呼叫控制模块最终产生的编号可表示为: Tl-calL 此外, 呼叫控制模块还将产生的组编号 T1发送到其它三个功能模 块。
本步骤中, 呼叫控制模块开始保存数据时, 可将自身的记录状态设为 在记录状态, 并将该记录状态通知其它三个功能模块。
步骤 204: 呼叫控制模块依据随机概率产生器确定是否结束记录操作, 如果结束, 则执行步骤 205; 如果不结束, 则返回步骤 203 ;
具体为: 呼叫控制模块依据随机概率产生器确定是否结束数据记录, 例如:如果此时随机函数 rand的输入值为偶数,则结束,继续执行步骤 205; 为奇数, 则不结束, 返回步骤 203 ;
或者, 还可判断是否收到数据管理模块所发的结束记录操作的通知, 如: 记录组终止的通知消息, 如果结束, 则执行步骤 205; 如果不结束, 则 返回步骤 203 , 继续对运行数据, 例如呼叫结束事件数据进行保存。 步骤 205: 呼叫控制模块结束记录, 并将记录所得的数据包发送给数据 管理模块进行存储。
这里, 呼叫控制模块上传的数据包中包括步骤 203中设置的编号。 本实施例中, 因关系条件网络为一到三的触发关系, 且设置的概率均 相同, 因此, 液晶显示模块、 下行语音帧数据处理模块和上行语音帧数据 处理模块的数据记录实现流程相同, 下面以液晶显示模块为例对数据记录 方法进行描述, 如图 3所示, 该方法包括如下步骤:
步骤 301 : 液晶显示模块的记录状态为记录空闲状态;
这里, 所述记录空闲状态为记录的初始化状态。
步骤 302: 液晶显示模块依据关系条件网络确定是否开始记录数据, 如 果记录, 则执行步骤 303; 如果不记录, 则返回步骤 302;
这里, 根据关系条件网络可确定液晶显示模块是否开始记录数据, 如 果此时收到呼叫控制模块所发的处于在记录状态的通知, 则执行步骤 303 ; 如果此时未收到呼叫控制模块所发的处于在记录状态的通知, 则返回步骤 302。
步骤 303: 液晶显示模块将刷新数据保存;
这里, 液晶显示模块对刷新数据进行保存时, 还产生与自身所保存数 据形成的数据包对应的编号, 因呼叫控制模块已将产生的组编号发送给液 晶显示模块, 所以液晶显示模块也将组编号设为 T1 , 并生成自身的标识, 那么, 液晶显示模块最终产生的编号可表示为: Tl-lcd。
步骤 304: 液晶显示模块依据随机概率产生器确定是否结束记录操作, 如果结束, 则执行步骤 305; 如果不结束, 则返回步骤 303 ;
具体为: 液晶显示模块依据随机概率产生器确定是否结束数据记录, 例如: 如果设计需求要求液晶显示模块从触发开始, 连续记录 n秒后结束, 其中, 所述 n为随机分布的整数: 1、 2、 3、 4或 5 , 那么, 可将随机概率 产生器设为 rand()%5+l来控制液晶显示模块是否执行记录数据的操作; 或者, 还可判断是否收到数据管理模块所发的结束记录操作的通知, 如: 记录组终止的通知消息, 如果结束, 则执行步骤 305; 如果不结束, 则 返回步骤 303 , 继续对刷新数据进行保存。
步骤 305: 液晶显示模块结束记录, 并将记录所得的数据包发送给数据 管理模块进行存储。
最终, 数据管理模块收到四个模块所发的记录数据包, 根据组编号将 所述数据包归档在一起, 当监控方需查询记录数据时, 数据管理模块将同 一记录组中的所有数据回放给监控方, 简化了监控方的查询操作。
为实现上述方法, 本发明还提供了一种终端数据的记录装置, 如图 4 所示, 该装置包括: 功能模块和数据管理模块, 当然, 所述装置中有多个 功能模块; 其中,
所述功能模块, 用于接收数据管理模块设置的关系条件网络和各自对 应的随机概率产生器; 运行过程中, 依据关系条件网络或随机概率产生器 确定是否开始记录数据, 以及是否结束数据记录, 并在记录操作结束后, 将记录所得的数据包发送给数据管理模块;
所述数据管理模块, 用于各功能模块运行前, 设置各功能模块之间触 发记录的关系条件网络, 以及各功能模块各自对应的随机概率产生器, 并 将设置结果发送给各功能模块; 存储各功能模块发送的数据包。
所述功能模块, 进一步用于在数据记录的过程中, 产生与各自数据形 成的数据包对应的编号; 其中, 所述编号中包括组编号以及与各功能模块 对应的标识。
所述数据管理模块存储各功能模块发送的数据包, 为: 数据管理模块 根据各数据包中包括的组编号将各数据包集中归档。
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围, 凡在本发明的精神和原则之内所作的任何修改、 等同替换和改进 等, 均应包含在本发明的保护范围之内。

Claims

权利要求书
1、 一种终端数据的记录方法, 其特征在于, 该方法包括: 设置各功能 模块之间触发记录的关系条件网络, 并为所述各功能模块设置对应的随机 概率产生器; 该方法还包括:
在各功能模块运行过程中, 依据关系条件网络或随机概率产生器确定 是否开始记录数据, 以及是否结束数据记录操作; 各功能模块数据记录结 束后, 将各自记录所得的数据包发送给数据管理模块进行存储。
2、 根据权利要求 1所述的终端数据的记录方法, 其特征在于, 所述触 发记录的关系条件网络为: 单向触发、 或双向互触发。
3、 根据权利要求 1或 2所述的终端数据的记录方法, 其特征在于, 所 述各功能模块在数据记录过程中, 该方法还包括: 产生与各自数据形成的 数据包对应的编号; 所述编号中包括组编号以及与各功能模块对应的标识。
4、 根据权利要求 3所述的终端数据的记录方法, 其特征在于, 所述各 功能模块向数据管理模块所发的数据包中, 包括各自对应的已产生的编号。
5、 根据权利要求 4所述的终端数据的记录方法, 其特征在于, 所述数 据管理模块存储各功能模块所发的数据包为: 根据各数据包中包括的组编 号将各数据包集中归档。
6、 一种终端数据的记录装置, 其特征在于, 该装置包括: 功能模块和 数据管理模块; 其中,
所述功能模块, 用于接收数据管理模块设置的关系条件网络和各自对 应的随机概率产生器; 运行过程中, 依据关系条件网络或随机概率产生器 确定是否开始记录数据, 以及是否结束数据记录, 并在记录操作结束后, 将记录所得的数据包发送给数据管理模块;
所述数据管理模块, 用于各功能模块运行前, 设置各功能模块之间触 发记录的关系条件网络, 以及各功能模块各自对应的随机概率产生器, 并 将设置结果发送给各功能模块; 存储各功能模块发送的数据包。
7、 根据权利要求 6所述的终端数据的记录装置, 其特征在于, 所述功 能模块, 进一步用于在数据记录的过程中, 产生与各自数据形成的数据包 对应的编号;
其中, 所述编号中包括组编号以及与各功能模块对应的标识。
8、 根据权利要求 7所述的终端数据的记录装置, 其特征在于, 所述数 据管理模块存储各功能模块发送的数据包, 为: 数据管理模块根据各数据 包中包括的组编号, 将各数据包集中归档。
PCT/CN2010/077034 2010-06-30 2010-09-17 一种终端数据的记录方法和装置 WO2012000237A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US13/522,525 US9521233B2 (en) 2010-06-30 2010-09-17 Method and device for recording data of terminal
EP10853940.4A EP2518648B1 (en) 2010-06-30 2010-09-17 Method and device for recording data of terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2010102167345A CN101887466B (zh) 2010-06-30 2010-06-30 一种终端数据的记录方法和装置
CN201010216734.5 2010-06-30

Publications (1)

Publication Number Publication Date
WO2012000237A1 true WO2012000237A1 (zh) 2012-01-05

Family

ID=43073388

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/077034 WO2012000237A1 (zh) 2010-06-30 2010-09-17 一种终端数据的记录方法和装置

Country Status (4)

Country Link
US (1) US9521233B2 (zh)
EP (1) EP2518648B1 (zh)
CN (1) CN101887466B (zh)
WO (1) WO2012000237A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3057377B1 (en) * 2013-11-07 2021-12-29 Huawei Technologies Co., Ltd. Network device, terminal device and voice service control method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1611087A (zh) * 2001-11-01 2005-04-27 艾利森电话股份有限公司 在移动通信网络中记录通话处理信息的方法
CN1852355A (zh) * 2005-10-17 2006-10-25 华为技术有限公司 一种收集用户通信特征信息的方法和装置
CN101478715A (zh) * 2009-01-19 2009-07-08 深圳市同洲电子股份有限公司 通信记录的保存方法、显示方法及通信终端

Family Cites Families (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5572677A (en) * 1994-08-04 1996-11-05 Canon Information Systems, Inc. Method and apparatus for conversing over a network
US6052454A (en) * 1996-01-16 2000-04-18 Global Tel*Link Corp. Telephone apparatus with recording of phone conversations on massive storage
US6101186A (en) * 1996-12-24 2000-08-08 Lucent Technologies, Inc. Method and system for organizing data in a relational database
US5872777A (en) * 1997-09-30 1999-02-16 Motorola, Inc. Method and apparatus for conveying data packets in a packet data communication system
TW392402B (en) * 1997-10-22 2000-06-01 Hitachi Ltd Method for using audio and video machine and audio and video machine system
US6754311B1 (en) * 2000-05-11 2004-06-22 Lucent Technologies Inc. Enhanced subscriber line call monitoring
US20020082818A1 (en) * 2000-10-31 2002-06-27 Glenn Ferguson Data model for automated server configuration
KR100460970B1 (ko) * 2002-01-10 2004-12-09 삼성전자주식회사 데이터 송수신 시스템 및 방법
DE10337144A1 (de) * 2003-08-11 2005-03-17 Hewlett-Packard Company, Palo Alto Verfahren zur Aufzeichnung von Ereignis-Logs
US7502797B2 (en) * 2003-10-15 2009-03-10 Ascentive, Llc Supervising monitoring and controlling activities performed on a client device
US7551922B2 (en) * 2004-07-08 2009-06-23 Carrier Iq, Inc. Rule based data collection and management in a wireless communications network
US20060093325A1 (en) * 2004-11-02 2006-05-04 Mitsuhiro Imai Data recording controller, method of controlling data recording controller, program, data recording system, and data recording device
JP4487761B2 (ja) * 2004-12-21 2010-06-23 カシオ計算機株式会社 データ出力装置、および、プログラム
US7593962B2 (en) * 2005-02-18 2009-09-22 American Tel-A-Systems, Inc. System and method for dynamically creating records
US20060288347A1 (en) * 2005-06-20 2006-12-21 International Business Machines Corporation Exploiting entity relationships in proximity-based scheduling applications
CN101202941B (zh) * 2006-12-13 2012-04-04 康佳集团股份有限公司 一种具有监护功能的通信终端及其监护方法
US8126456B2 (en) * 2007-01-17 2012-02-28 Eagency, Inc. Mobile communication device monitoring systems and methods
JP5163653B2 (ja) * 2007-12-05 2013-03-13 富士通株式会社 携帯端末、車載装置、優先度送信方法および優先度送信プログラム
US20100100494A1 (en) * 2008-10-17 2010-04-22 Ricardo Polo-Malouvier Determination of paths between entities in a multi-relationship social network
US9356843B2 (en) * 2009-10-30 2016-05-31 Symantec Corporation Flow systems and methods

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1611087A (zh) * 2001-11-01 2005-04-27 艾利森电话股份有限公司 在移动通信网络中记录通话处理信息的方法
CN1852355A (zh) * 2005-10-17 2006-10-25 华为技术有限公司 一种收集用户通信特征信息的方法和装置
CN101478715A (zh) * 2009-01-19 2009-07-08 深圳市同洲电子股份有限公司 通信记录的保存方法、显示方法及通信终端

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2518648A4 *

Also Published As

Publication number Publication date
US20120297045A1 (en) 2012-11-22
CN101887466A (zh) 2010-11-17
CN101887466B (zh) 2013-06-05
US9521233B2 (en) 2016-12-13
EP2518648A4 (en) 2013-09-04
EP2518648A1 (en) 2012-10-31
EP2518648B1 (en) 2014-03-05

Similar Documents

Publication Publication Date Title
US8526591B2 (en) Systems and methods for implementing a hold-call-back feature in a telecommunications network
WO2017101297A1 (zh) 一种视频留言方法、装置、终端及服务器
WO2015196751A1 (zh) 视频媒体播放方法、装置及系统、计算机存储介质
US10462293B2 (en) Personalized audio/video invitations for phone calls
US20200021685A1 (en) Personalized audio-video invitations using multi-function button
US20130044179A1 (en) Method and terminal for leaving video messages
WO2010043133A1 (zh) 一种多媒体会议业务中智能加入会议的方法和模块
TW200835263A (en) Methods and devices for dual-tone multi-frequency (DTMF) signaling
CN109741740A (zh) 基于外部触发的语音交互方法及装置
CN100466529C (zh) 实现多媒体录制的方法及系统
CN107995351A (zh) 通话方法及装置
CN110113623B (zh) 一种基于sip协议的音视频切片传输平台
WO2011150885A2 (zh) 语音留言的管理方法和装置
EP2723051A1 (en) Call processing method, device and system
WO2012000237A1 (zh) 一种终端数据的记录方法和装置
WO2016082489A1 (zh) 一种彩铃的实现方法、装置、服务器及系统
WO2013155927A1 (zh) 一种主动登录的方法及终端
WO2016177222A1 (zh) 一种漏话提醒方法及装置
WO2012106974A1 (zh) 一种查询呼叫状态信息的方法及装置
WO2012092759A1 (zh) 呼叫处理方法、装置及移动终端
WO2014190816A1 (zh) 实现语音留言功能的方法及家庭网关
WO2014101448A1 (zh) 一种呼叫控制方法及通信终端
CN110781034A (zh) 分布式监管方法和系统
FR2889638A1 (fr) Terminal de telecommunications, systeme de telecommunications, unite de serveur de session de telecommunications, procede de generation et d'emission d'un message de session de telecommunications
WO2018036005A1 (zh) 一种控制数据包发送的方法、基站、终端及系统

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: 10853940

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 13522525

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 2010853940

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE