CN107484201B - Flow statistical method and device, terminal and computer readable storage medium - Google Patents

Flow statistical method and device, terminal and computer readable storage medium Download PDF

Info

Publication number
CN107484201B
CN107484201B CN201710924584.5A CN201710924584A CN107484201B CN 107484201 B CN107484201 B CN 107484201B CN 201710924584 A CN201710924584 A CN 201710924584A CN 107484201 B CN107484201 B CN 107484201B
Authority
CN
China
Prior art keywords
traffic
information
statistical information
terminal
statistic
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201710924584.5A
Other languages
Chinese (zh)
Other versions
CN107484201A (en
Inventor
晏印
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710924584.5A priority Critical patent/CN107484201B/en
Publication of CN107484201A publication Critical patent/CN107484201A/en
Application granted granted Critical
Publication of CN107484201B publication Critical patent/CN107484201B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Environmental & Geological Engineering (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application relates to a flow statistical method and device, computer equipment and a computer readable storage medium. The method comprises the following steps: a terminal receives a flow statistic request; acquiring first traffic statistical information recorded in a file system in the terminal according to the traffic statistical request, and acquiring second traffic statistical information recorded in a cache in the terminal, wherein the first traffic statistical information represents total traffic statistical information of data written into the file system, and the second traffic statistical information represents traffic statistical information of data which is stored in the cache and is not written into the file system; and obtaining total traffic statistical information used by the terminal according to the first traffic statistical information and the second traffic statistical information.

Description

Flow statistical method and device, terminal and computer readable storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a traffic statistic method and apparatus, a terminal, and a computer-readable storage medium.
Background
Traffic refers to the amount of data that a network service provider provides to a user terminal for use in accessing a network over a period of time. In order to help users understand the usage traffic of the user terminal, some application service providers develop applications through which the usage traffic over a period of time can be queried. The kernel layer of the user terminal can count the service condition of the flow, and the kernel layer needs to update the flow statistical data each time the flow is counted, so that a large amount of resources are consumed.
Disclosure of Invention
The embodiment of the application provides a traffic statistical method and device, computer equipment and a computer readable storage medium, which can reduce system resource consumption.
A traffic statistical method is applied to a terminal and comprises the following steps:
receiving a flow statistic request;
acquiring first traffic statistical information recorded in a file system in the terminal according to the traffic statistical request, and acquiring second traffic statistical information recorded in a cache in the terminal, wherein the first traffic statistical information represents traffic statistical information of data written into the file system, and the second traffic statistical information represents traffic statistical information of data which is stored in the cache and is not written into the file system; and
and obtaining total traffic statistical information used by the terminal according to the first traffic statistical information and the second traffic statistical information.
A flow statistic device applied to a terminal comprises:
the request receiving module is used for receiving a flow statistic request;
a traffic obtaining module, configured to obtain, according to the traffic statistics request, first traffic statistics information recorded in a file system in the terminal, and obtain second traffic statistics information recorded in a cache in the terminal, where the first traffic statistics information represents traffic statistics information of data written into the file system, and the second traffic statistics information represents traffic statistics information of data stored in the cache and not written into the file system; and
and the processing module is used for obtaining total traffic statistical information used by the terminal according to the first traffic statistical information and the second traffic statistical information.
A terminal comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of the traffic statistic method when executed.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the traffic statistic method.
According to the traffic statistical method and device, the terminal and the computer readable storage medium provided by the embodiment of the application, the first traffic statistical information recorded in the file system and the second traffic statistical information in the cache are obtained according to the traffic statistical request, the total traffic statistical information used by the terminal can be obtained by combining the first traffic statistical information and the second traffic statistical information, the writing operation on the system kernel according to the traffic statistical request is not needed every time, and the resource consumption of the system kernel is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram illustrating an exemplary flow statistics method;
FIG. 2 is a flow diagram of a method for traffic statistics in one embodiment;
FIG. 3 is a flow diagram of obtaining second traffic statistics recorded in a cache, according to an embodiment;
FIG. 4 is a flow chart of a flow statistics method in another embodiment;
FIG. 5 is a block diagram of an embodiment of a flow statistics apparatus;
FIG. 6A is a block diagram of an alternative embodiment of a flow statistics apparatus;
FIG. 6B is a block diagram of an alternative embodiment of a flow statistics apparatus;
FIG. 7 is a block diagram showing an internal configuration of a terminal in one embodiment;
FIG. 8 is an application environment in which a terminal uses a virtual SIM card in one embodiment;
FIG. 9 is a diagram illustrating a partial architecture of a terminal in one embodiment;
fig. 10 is a block diagram of a portion of the structure of a handset associated with a terminal in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Fig. 1 is a schematic diagram of an application environment of the traffic statistic method in one embodiment. As shown in fig. 1, the application environment includes a terminal 110. An application program for inquiring traffic is installed on the terminal 110, and a user can inquire the total usage amount of the current traffic through the application program. After receiving the traffic statistic request initiated by the application program, the terminal 110 obtains the first traffic statistic information recorded in the file system and the second traffic statistic information recorded in the cache, and sums the first traffic statistic information and the second traffic statistic information to obtain the current total traffic statistic information. The method can directly read the file system and obtain the flow statistic information in the cache to obtain the current total flow statistic information, does not need to receive the flow statistic request every time, and writes the flow statistic information in the cache into the file system for statistics, so that the resource consumption of the system is reduced.
In one embodiment, as shown in FIG. 2, a traffic statistic method is provided. The embodiment is mainly illustrated by applying the traffic statistical method to the terminal in fig. 1. Referring to fig. 2, the traffic statistic method includes steps 202 to 206.
Step 202, receiving a traffic statistic request.
The terminal is provided with an application program, and the traffic statistic condition can be inquired through the application program. And the terminal receives a flow statistic request generated by the user for triggering the application program. The terminal can detect that a user triggers an inquiry button on an application program through a key, a touch screen and the like, and sends a flow statistic request; or the terminal detects the gesture operation of the user, recognizes the gesture operation as a flow counting instruction, and sends a flow counting request; or the midpoint receives the voice signal, recognizes the voice signal as a flow counting instruction, and sends a flow counting request.
Step 204, obtaining first traffic statistical information recorded in a file system in the terminal according to the traffic statistical request, and obtaining second traffic statistical information recorded in a cache in the terminal, where the first traffic statistical information represents traffic statistical information of data written into the file system, and the second traffic statistical information represents traffic statistical information of data stored in the cache and not written into the file system.
The file system refers to a storage space used for storing the traffic statistic information for a long time in the kernel of the terminal. Written traffic statistics are recorded in the file system. The cache is a storage space for temporarily storing the traffic statistics information. The cache stores flow statistic information with preset duration. The traffic statistics recorded in the cache are written into the file system at predetermined time intervals. For example, the traffic statistics recorded in the cache may be written into the file system every half hour, that is, the traffic statistics collected within half an hour are recorded in the cache. For example, after the traffic statistic information recorded in the cache is written into the file system at 10: 10, the traffic statistic information collected from 10: 10 to 10: 40 is stored in the cache, and at 10: 40, the traffic statistic information recorded in the cache is written into the file system. It is understood that the predetermined time interval may be set as desired, such as 10 minutes, 20 minutes, etc.
The first traffic statistics represent total traffic statistics written into the file system. For example, 10: 10 traffic statistics written to the file system, the first traffic statistics represents the total traffic statistics written to the file system by 10: 10.
The second traffic statistics represent traffic statistics of data stored in a cache and not written to the file system. The second traffic statistic may also represent traffic statistic recorded in the buffer between the first time and the current time. The first time is the time when the flow statistic information in the cache is written into the file system at the latest time from the current time.
And step 206, obtaining total traffic statistic information used by the terminal according to the first traffic statistic information and the second traffic statistic information.
Specifically, the first traffic statistical information and the second traffic statistical information are summed to obtain total traffic statistical information used by the terminal, and then the total traffic statistical information used by the terminal is output. The total traffic statistic information used by the terminal is total traffic statistic information up to the current time when the traffic statistic request is received.
According to the traffic statistical method, the first traffic statistical information recorded in the file system and the second traffic statistical information in the cache are obtained according to the traffic statistical request, the total traffic statistical information used by the terminal can be obtained by combining the first traffic statistical information and the second traffic statistical information, the writing operation on the system kernel according to the traffic statistical request is not needed every time, and the resource consumption of the system kernel is reduced.
As shown in fig. 3, in an embodiment, the step of obtaining the second traffic statistic information recorded in the cache includes:
step 302, acquiring third flow statistic information of the terminal from the starting-up time to the current time.
Specifically, the power-on time refers to the time of power-on after the terminal is restarted. The current time refers to the time when the traffic statistic request is received. The third traffic statistic information of the terminal from the starting time to the current time may include traffic statistic information written into the file system and traffic statistic information not written into the file system.
And 304, acquiring the recorded fourth traffic statistical information of the terminal from the starting time to the current time from the file system.
Specifically, the traffic statistic information written into the file system is recorded in the file system from the traffic statistic information generated between the starting time and the current time of the terminal.
Step 306, obtaining the second traffic statistical information according to the third traffic statistical information and the fourth traffic statistical information.
Specifically, the second traffic statistical information, that is, the traffic statistical information stored in the cache may be obtained by excluding the fourth traffic statistical information from the third traffic statistical information. In the embodiment, the flow statistical information stored in the cache is obtained by reading the flow statistical information from the starting time to the current time recorded in the file system and the total flow statistical information from the starting time to the current time, and the flow statistical information in the cache is not required to be written into the file system every time a flow statistical request is received, so that the write operation on a system kernel is reduced, and the consumption of system resources is reduced.
In an embodiment, the obtaining third flow statistics information of the terminal from the boot time to the current time includes: and acquiring third flow statistic information of the terminal from the starting-up time to the current time through a first flow statistic interface, wherein the first flow statistic interface is used for counting the flow information of the terminal from the starting-up time to the current time.
The first traffic statistics interface may adopt a getincrementfornetwork (networktestemplate) interface. The getincementForNetwork interface query system/proc/net/xt qtaguid/iface _ stat _ fmt interface acquires a traffic snapshot xtSnapshot from the boot time to the current time.
In an embodiment, the obtaining, from the file system, the recorded fourth traffic statistic information of the terminal from the boot time to the current time includes: and reading fourth traffic statistical information recorded from the starting time to the current time of the terminal from the file system through a second traffic statistical interface, wherein the second traffic statistical interface is used for extracting the traffic information written into the file system.
The second traffic statistics interface may adopt TrafficMonitor to obtain a current traffic snapshot mneworkstats recorded in the file system through a performllocked () interface.
In one embodiment, the traffic statistic method may further include: and writing the second traffic statistical information recorded in the cache into the file system according to a preset time interval.
The predetermined time interval may be set as desired, such as 10 minutes, 20 minutes, 30 minutes, etc. The second flow statistic information recorded in the cache is written into the file system according to the preset time interval, so that frequent write operation on a system kernel can be avoided, and system resources are consumed.
In one embodiment, the traffic statistic method may further include: dividing the first traffic statistical information in the file system according to network types to obtain traffic statistical information corresponding to the network types; and dividing the second traffic statistical information in the cache according to network types to obtain second sub-traffic statistical information corresponding to the network types.
The obtaining total traffic statistic information used by the terminal according to the first traffic statistic information and the second traffic statistic information includes: and summing the first sub-flow statistical information and the second sub-flow statistical information corresponding to the network type to obtain total flow statistical information corresponding to the network type.
Specifically, the first traffic statistic information stored in the file system may be divided according to network types, such as 2G network traffic, 3G network traffic, 4G network traffic, 5G network traffic, roaming network traffic, and the like. Dividing traffic statistics by network type may provide more comprehensive traffic usage.
In one embodiment, the traffic statistic method may further include: dividing the second traffic statistical information in the cache according to network types to obtain traffic statistical information corresponding to the network types; and writing the flow statistic information corresponding to the network type into the file system according to a preset time interval.
Specifically, after the second traffic statistical information counted in the cache is divided according to the network types, the second traffic statistical information can be quickly added to the traffic statistical information of the corresponding network types when being written into the file system, so that the classification efficiency is improved.
In one embodiment, as shown in FIG. 4, a traffic statistic method is provided. In this embodiment, the traffic statistic method is applied to a terminal, and for example, an Android system is used to initiate a traffic statistic request through an application program. Referring to fig. 4, the traffic statistic method includes:
step 402, receiving a flow statistic request initiated by an application program.
Specifically, an application framework layer of the terminal receives a traffic statistic request initiated by an application program, and acquires corresponding traffic statistic information according to the traffic statistic request.
Step 404, reading first traffic statistic information recorded in a file system of the kernel layer through a first traffic statistic interface of the application framework layer according to the traffic statistic request, wherein the first traffic statistic information comprises traffic statistic information before the terminal is restarted and traffic statistic information after the terminal is started, and acquiring third traffic statistic information of the terminal from the starting time to the current time through a second traffic statistic interface; the first traffic statistic interface is used for counting traffic statistic information of the terminal from the starting time to the current time; the second traffic statistic interface is used for extracting the traffic statistic information written into the file system.
The application framework layer is an application program interface framework used when core applications published by Google are written in the Android system, developers can use the framework to develop the applications, and the architecture design of program development is simplified. The traffic statistical information after the startup is the traffic statistical information from the startup time to the current time, which is the fourth traffic statistical information.
And step 406, obtaining second traffic statistical information in the cache of the kernel layer according to the started traffic statistical information and the third traffic statistical information.
Specifically, the kernel layer refers to a layer for providing core system services in the Android system, and is usually based on a Linux kernel, and a related driver of the terminal is installed in the kernel layer.
And step 408, calculating total traffic statistical information used by the terminal according to the first traffic statistical information and the second traffic statistical information.
And summing the first traffic statistical information and the second traffic statistical information to obtain total traffic statistical information used by the terminal. The total traffic statistic information used by the terminal is total traffic statistic information at the time when the traffic statistic request is received.
And step 410, outputting total flow statistic information used by the terminal on the application program interface.
The total traffic statistic information used by the terminal can be displayed in a text form, or output in a voice broadcast mode, or displayed in a chart form.
According to the flow statistical method, according to the flow statistical request, the flow statistical information before restarting and the flow statistical information after starting are read from the first flow statistical information recorded in the file system of the kernel layer through the first flow statistical interface, the flow statistical information from the starting time to the current time is obtained through the second flow statistical interface, the second flow statistical information in the cache is obtained, the total flow statistical information used by the terminal can be obtained by combining the first flow statistical information and the second flow statistical information, the writing operation on the kernel of the system is not required according to the flow statistical request every time, and the resource consumption of the kernel of the system is reduced.
In other embodiments, the operating system is not limited to Android, but may be an IOS system, a windows phone, BlackBerry, or the like.
As shown in fig. 5, a flow statistics apparatus is provided. This embodiment is exemplified by applying the traffic statistic device to the terminal in fig. 1. Referring to fig. 5, a traffic statistic apparatus includes a request receiving module 510, a traffic acquiring module 520, and a processing module 530. Wherein:
the request receiving module 510 is configured to receive a traffic statistics request.
The traffic obtaining module 520 is configured to obtain, according to the traffic statistic request, first traffic statistic information recorded in a file system in the terminal, and obtain second traffic statistic information recorded in a cache in the terminal, where the first traffic statistic information represents traffic statistic information of data written into the file system, and the second traffic statistic information represents traffic statistic information of data stored in the cache and not written into the file system.
The processing module 530 is configured to obtain total traffic statistics information used by the terminal according to the first traffic statistics information and the second traffic statistics information.
According to the flow counting device, the first flow counting information recorded in the file system and the second flow counting information in the cache are obtained according to the flow counting request, the total flow counting information used by the terminal can be obtained by combining the first flow counting information and the second flow counting information, the writing operation on the system kernel according to the flow counting request is not needed every time, and the resource consumption of the system kernel is reduced.
In an embodiment, optionally, the traffic obtaining module 520 is further configured to obtain third traffic statistical information of the terminal from the boot time to the current time; acquiring fourth recorded traffic statistical information of the terminal from the starting time to the current time from the file system; and obtaining the second traffic statistical information according to the third traffic statistical information and the fourth traffic statistical information.
In an embodiment, optionally, the traffic obtaining module 520 is further configured to obtain third traffic statistical information of the terminal from the boot time to the current time through a first traffic statistical interface, where the first traffic statistical interface is used to count traffic information of the terminal from the boot time to the current time; and reading fourth traffic statistical information recorded from the starting time to the current time of the terminal from the file system through a second traffic statistical interface, wherein the second traffic statistical interface is used for extracting the traffic information written into the file system.
In another embodiment, as shown in FIG. 6A, another flow statistics apparatus is provided. The traffic statistic device includes a writing module 540 and a classifying module 550 in addition to the request receiving module 510, the traffic obtaining module 520 and the processing module 530.
The writing module 540 is configured to write the second traffic statistic information recorded in the cache into the file system according to a predetermined time interval.
The classification module 550 is configured to divide the first traffic statistic information in the file system according to network types to obtain traffic statistic information corresponding to the network types, and divide the second traffic statistic information in the cache according to network types to obtain second traffic statistic information corresponding to the network types.
The processing module 530 is further configured to sum the first sub-traffic statistical information and the second sub-traffic statistical information corresponding to the network type to obtain total traffic statistical information corresponding to the network type.
Optionally, the classifying module 550 is further configured to divide the second traffic statistic information in the cache according to network types to obtain traffic statistic information corresponding to the network types;
the writing module 540 is further configured to write the traffic statistic information corresponding to the network type into the file system according to a predetermined time interval.
In another embodiment, as shown in FIG. 6B, another flow statistics apparatus is provided. The traffic statistic device includes an output module 560 in addition to the request receiving module 510, the traffic obtaining module 520, and the processing module 530.
The request receiving module 510 is configured to receive a traffic statistics request initiated by an application.
The traffic obtaining module 520 is configured to read, according to the traffic statistics request, first traffic statistics information recorded in a file system of the kernel layer through a first traffic statistics interface of an application framework layer of the terminal, where the first traffic statistics information includes traffic statistics information before the terminal is restarted and traffic statistics information after the terminal is started, and obtain, through a second traffic statistics interface, third traffic statistics information from the terminal starting time to the current time; the first flow counting interface is used for counting the flow information of the terminal from the starting time to the current time; the second flow rate statistical interface is used for extracting flow rate information written into the file system; and obtaining second flow statistic information in the cache of the kernel layer according to the started flow statistic information and the third flow statistic information.
The processing module 530 is configured to calculate total traffic statistics information used by the terminal according to the first traffic statistics information and the second traffic statistics information.
The output module 560 is used for outputting the total traffic statistic information used by the terminal on the application program interface.
According to the flow statistic device, according to the flow statistic request, the flow statistic information before restarting and the flow statistic information after starting are read from the first flow statistic information recorded in the file system of the kernel layer through the first flow statistic interface, the flow statistic information from the starting time to the current time is obtained through the second flow statistic interface, the second flow statistic information in the cache is obtained, the total flow statistic information used by the terminal can be obtained by combining the first flow statistic information and the second flow statistic information, the writing operation on the kernel of the system is not needed according to the flow statistic request every time, and the resource consumption of the kernel of the system is reduced.
The division of each module in the flow rate statistics apparatus is only used for illustration, and in other embodiments, the flow rate statistics apparatus may be divided into different modules as needed to complete all or part of the functions of the flow rate statistics apparatus.
The embodiment of the application also provides a terminal. A terminal comprising a memory and a processor, wherein the memory stores a computer program, and the computer program, when executed by the processor, causes the processor to implement a traffic statistic method according to the present application, such as the traffic statistic method described in fig. 2 to 4. As shown in fig. 7, the terminal includes a processor, a memory, which are connected by a system bus. Wherein, the processor is used for providing calculation and control capability and supporting the operation of the whole computer equipment. The memory is used for storing data, programs and the like, and the memory stores at least one computer program which can be executed by the processor to realize the traffic statistical method suitable for the terminal provided in the embodiment of the application. The Memory may include a non-volatile storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a Random-Access-Memory (RAM). For example, in one embodiment, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program can be executed by a processor for implementing the traffic statistic method provided in the following embodiments. The internal memory provides a cached execution environment for the operating system computer programs in the non-volatile storage medium. The computer device may be a mobile phone, a tablet computer or a personal digital assistant or a wearable device, etc.
The embodiment of the application also provides a computer readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform a flow statistics method as described in the embodiments above.
The embodiment of the application also provides a computer program product. A computer program product comprising instructions which, when run on a computer, cause the computer to perform the flow statistics method described in the embodiments above.
As shown in fig. 8, an application environment in which the terminal uses a virtual SIM card is provided. The application environment includes a server 810 and a terminal 820. The server 810 is a server, which may be a cloud server, used by a virtual network operator to provide network traffic to the terminal 820. The server 810 may provide the terminal 820 with virtual Subscriber Identity Module (SIM) card information and services for implementing network communication using the virtual SIM card. The terminal 810 may be provided with a virtual SIM card Application (APP) 821, a Software Development Kit (SDK) 822, a virtual SIM card operating system 823, and a virtual SIM card adaptation layer 824. The virtual SIM cards APP821 and SDK822, the virtual SIM card operating system 823, and the virtual SIM card adaptation layer 824 may all be disposed within an Application Processor (AP) on the terminal 820. The server 810 may send virtual SIM card information to the virtual SIM card operating system 823 through the virtual SIM cards APP821 and SDK 822; the virtual SIM card operating system 823 may implement communication with radio frequency communication control software disposed in a Baseband Processor (Baseband Processor, BP) through the virtual SIM card adaptation layer 824, so as to implement network communication using the virtual SIM card. The terminal 820 may be the same terminal as the terminal in fig. 1. That is, the terminal may order a traffic package from the server 810 through the virtual card and activate the traffic package.
Among other things, the server 810 may provide the terminal 820 with a virtual SIM card APP 821-related interface through which communication with the terminal 820 is enabled. The interface may include interfaces for user and equipment management, package and order management, encrypted transmission of SIM resources, etc. The server 810 may provide relevant interfaces to the virtual SIM card APP821 in the form of a REST full Application Programming Interface (API). The virtual SIM card information includes, but is not limited to, basic information of the virtual SIM card, order information of virtual SIM card purchase, traffic usage information of the virtual SIM card, term information, and the like.
Fig. 9 is a partial architecture diagram of a terminal including modules associated with a virtual SIM card in one embodiment. As shown in fig. 9, the application layer of the terminal may be provided with a virtual SIM card operating system, a virtual SIM card adapting layer, virtual SIM cards APP and SDK, and a phonebook/information module. A breakout Interface Layer and a Radio Interface Layer (Radio Interface Layer) java Layer may be provided in the Framework Layer (Framework Layer). The modem (modem) can be a module consisting of a baseband processor, radio frequency and other peripheral chips, etc., a GSM/GPRS modem. The Telephony interface layer is used for providing a universal interface, and the virtual SIM card operating system performs Socket interaction with the modem through the Telephony interface layer, so that whether a virtual card exists or not and the position of a card slot of the virtual card can be judged. The virtual SIM card operating system performs Socket interaction with the modem switched to the virtual SIM card channel through the virtual SIM card adaptation layer, and can realize the functions of purchasing, activating and closing the virtual card, performing network communication function by using the virtual SIM card and the like. It is to be understood that the structure shown in fig. 9 is only a part of the modules related to the present application, and does not constitute a limitation to the computer device to which the present application is applied, and a specific computer device may include more or less modules than those shown in the drawings, or combine some modules, or have a different module arrangement. For example, a dual card management module may be disposed on the framework layer, and the dual card management module may communicate with the telephony interface layer.
In one embodiment, the terminal may provide a management operation interface of the virtual SIM card to the user through the virtual SIM card APP, and when detecting a relevant operation acting on the management operation interface, generate a corresponding virtual SIM card processing instruction, and send the processing execution to the virtual SIM card operating system. The virtual SIM operating system can simulate the system logic of a real SIM card, implementing a protocol and file system of relevant specifications required for network communication. The virtual SIM card operating system can receive a processing instruction from the virtual SIM card App, send a message corresponding to the processing instruction to the Modem through the virtual SIM card adaptation layer, and receive response information made by the Modem, so as to jointly realize the function of using the virtual SIM card to carry out network communication. The above-mentioned related protocols may include protocols of International Organization for standardization (ISO) 7816 and 3rd Generation Partnership Project (3 GPP) standards for Universal Integrated Circuit Card (UICC) and Universal Subscriber Identity Module (USIM).
In one embodiment, the processing instructions may include package purchase instructions, enable instructions, disable instructions, close instructions, and the like for the corresponding virtual SIM card. The implemented content of network communication using the virtual SIM card includes, but is not limited to, implementing interactive management of virtual SIM card information, dynamic update of state, statistics and rate limitation of traffic, and the like, such as implementing deletion of storage of the virtual SIM card information and enabling and closing of the virtual SIM card.
The embodiment of the application also provides a terminal. As shown in fig. 10, for convenience of explanation, only the parts related to the embodiments of the present application are shown, and details of the technology are not disclosed, please refer to the method part of the embodiments of the present application. The terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of sales), a vehicle-mounted computer, a wearable device, and so on, taking the terminal as the mobile phone as an example:
fig. 10 is a block diagram of a partial structure of a mobile phone related to a terminal provided in an embodiment of the present application. Referring to fig. 10, the cellular phone includes: radio Frequency (RF) circuit 1010, memory 1020, input unit 1030, display unit 1040, sensor 1050, audio circuit 1060, wireless fidelity (WiFi) module 1070, processor 1080, and power source 1090. Those skilled in the art will appreciate that the handset configuration shown in fig. 10 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The RF circuit 1010 may be configured to receive and transmit signals during information transmission and reception or during a call, and may receive downlink information of a base station and then process the received downlink information to the processor 1080; the uplink data may also be transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 1010 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE)), e-mail, Short Messaging Service (SMS), and the like.
The memory 1020 can be used for storing software programs and modules, and the processor 1080 executes various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 1020. The memory 1020 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function (such as an application program for a sound playing function, an application program for an image playing function, and the like), and the like; the data storage area may store data (such as audio data, an address book, etc.) created according to the use of the mobile phone, and the like. Further, the memory 1020 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 1030 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone 1000. Specifically, the input unit 1030 may include a touch panel 1031 and other input devices 1032. The touch panel 1031, which may also be referred to as a touch screen, may collect touch operations by a user (e.g., operations by a user on or near the touch panel 1031 using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a preset program. In one embodiment, the touch panel 1031 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1080, and can receive and execute commands sent by the processor 1080. In addition, the touch panel 1031 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 1030 may include other input devices 1032 in addition to the touch panel 1031. In particular, other input devices 1032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), and the like.
The display unit 1040 may be used to display information input by a user or information provided to the user and various menus of the cellular phone. The display unit 1040 may include a display panel 1041. In one embodiment, the Display panel 1041 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. In one embodiment, the touch panel 1031 can overlay the display panel 1041, and when the touch panel 1031 detects a touch operation on or near the touch panel 1031, the touch operation is transmitted to the processor 1080 to determine the type of the touch event, and then the processor 1080 provides a corresponding visual output on the display panel 1041 according to the type of the touch event. Although in fig. 10, the touch panel 1031 and the display panel 1041 are two separate components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 1031 and the display panel 1041 may be integrated to implement the input and output functions of the mobile phone.
The cell phone 1000 may also include at least one sensor 1050, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1041 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 1041 and/or the backlight when the mobile phone moves to the ear. The motion sensor can comprise an acceleration sensor, the acceleration sensor can detect the magnitude of acceleration in each direction, the magnitude and the direction of gravity can be detected when the mobile phone is static, and the motion sensor can be used for identifying the application of the gesture of the mobile phone (such as horizontal and vertical screen switching), the vibration identification related functions (such as pedometer and knocking) and the like; the mobile phone may be provided with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor.
Audio circuitry 1060, speaker 1061, and microphone 1062 may provide an audio interface between a user and a cell phone. The audio circuit 1060 can transmit the electrical signal converted from the received audio data to the speaker 1061, and the electrical signal is converted into a sound signal by the speaker 1061 and output; on the other hand, the microphone 1062 converts the collected sound signal into an electrical signal, which is received by the audio circuit 1060 and converted into audio data, and the audio data is processed by the audio data output processor 1080 and then transmitted to another mobile phone through the RF circuit 1010, or the audio data is output to the memory 1020 for subsequent processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help the user to send and receive e-mail, browse web pages, access streaming media, etc. through the WiFi module 1070, which provides wireless broadband internet access for the user. Although fig. 10 shows the WiFi module 1070, it is to be understood that it does not belong to the essential constitution of the handset 1000 and may be omitted as needed.
The processor 1080 is a control center of the mobile phone, connects various parts of the whole mobile phone by using various interfaces and lines, and executes various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 1020 and calling data stored in the memory 1020, thereby integrally monitoring the mobile phone. In one embodiment, processor 1080 may include one or more processing units. In one embodiment, the processor 1080 may integrate an application processor and a modem, wherein the application processor primarily handles operating systems, user interfaces, applications, and the like; the modem handles primarily wireless communications. It is to be appreciated that the modem can be non-integrated with the processor 1080. For example, the processor 1080 may integrate an application processor and a baseband processor, which may constitute a modem with other peripheral chips, etc.
The handset 1000 also includes a power supply 1090 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 1080 via a power management system that may be configured to manage charging, discharging, and power consumption.
In one embodiment, the cell phone 1000 may also include a camera, a bluetooth module, and the like.
In the embodiment of the present application, the processor 1080 included in the mobile terminal implements the traffic statistic method described above when executing the computer program stored in the memory.
Any reference to memory, storage, database, or other medium used herein may include non-volatile and/or volatile memory. Suitable non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (14)

1. A traffic statistical method is applied to a terminal, and is characterized by comprising the following steps:
receiving a flow statistic request;
acquiring first traffic statistical information recorded in a file system in the terminal and second traffic statistical information recorded in a cache in the terminal according to the traffic statistical request, wherein the first traffic statistical information represents traffic statistical information of data written into the file system, and the file system refers to a storage space for storing the traffic statistical information for a long time in a kernel of the terminal; the second traffic statistic information represents traffic statistic information of data which is stored in the cache and is not written into the file system, and the cache refers to a storage space for temporarily storing the traffic statistic information; and
summing the first traffic statistical information and the second traffic statistical information to obtain total traffic statistical information used by the terminal;
the step of obtaining the second traffic statistic information recorded in the cache includes:
acquiring third flow statistical information of the terminal from the starting-up time to the current time; the third flow statistic information comprises flow statistic information written into the file system and flow statistic information not written into the file system;
acquiring recorded fourth traffic statistical information of the terminal from the starting time to the current time from the file system; and
and obtaining the second flow statistical information by calculating the difference between the third flow statistical information and the fourth flow statistical information.
2. The method according to claim 1, wherein the obtaining of the third flow statistics information of the terminal from the power-on time to the current time comprises:
acquiring third flow statistic information of the terminal from the starting-up time to the current time through a first flow statistic interface, wherein the first flow statistic interface is used for counting the flow information of the terminal from the starting-up time to the current time;
the obtaining, from the file system, the recorded fourth traffic statistical information of the terminal from the boot time to the current time includes:
and reading fourth recorded traffic statistical information of the terminal from the starting time to the current time from the file system through a second traffic statistical interface, wherein the second traffic statistical interface is used for extracting the traffic information written into the file system.
3. The method according to any one of claims 1 to 2, further comprising:
and writing the second traffic statistical information recorded in the cache into the file system according to a preset time interval.
4. The method according to any one of claims 1 to 2, further comprising:
dividing the first traffic statistical information in the file system according to network types to obtain first sub-traffic statistical information corresponding to the network types;
dividing the second traffic statistical information in the cache according to network types to obtain second sub-traffic statistical information corresponding to the network types;
obtaining total traffic statistical information used by the terminal according to the first traffic statistical information and the second traffic statistical information, including:
and summing the first sub-flow statistical information and the second sub-flow statistical information corresponding to the network type to obtain total flow statistical information corresponding to the network type.
5. The method according to any one of claims 1 to 2, further comprising:
dividing the second traffic statistical information in the cache according to network types to obtain traffic statistical information corresponding to the network types;
and writing the flow statistic information corresponding to the network type into the file system according to a preset time interval.
6. The method of claim 1, further comprising:
the terminal receives a flow statistic request initiated by an application program;
reading first traffic statistic information recorded in a file system of a kernel layer of the terminal through a first traffic statistic interface of an application framework layer of the terminal according to the traffic statistic request, wherein the first traffic statistic information comprises traffic statistic information before the terminal is restarted and traffic statistic information after the terminal is started, and acquiring third traffic statistic information of the terminal from the starting time to the current time through a second traffic statistic interface; the first traffic statistic interface is used for counting traffic information of the terminal from the starting time to the current time; the second flow rate statistic interface is used for extracting flow rate information written into the file system;
obtaining second flow statistical information in the cache of the inner core layer according to the difference between the started flow statistical information and the third flow statistical information;
summing and calculating to obtain total traffic statistical information used by the terminal according to the first traffic statistical information and the second traffic statistical information;
and outputting the total flow statistical information used by the terminal on the application program interface.
7. A flow statistic device applied to a terminal is characterized by comprising:
the request receiving module is used for receiving a flow statistic request;
a traffic obtaining module, configured to obtain, according to the traffic statistic request, first traffic statistic information recorded in a file system in the terminal and second traffic statistic information recorded in a cache in the terminal, where the first traffic statistic information represents traffic statistic information of data written into the file system, and the file system is a storage space in a kernel of the terminal and used for storing the traffic statistic information for a long time; the second traffic statistic information represents traffic statistic information of data which is stored in the cache and is not written into the file system, and the cache refers to a storage space for temporarily storing the traffic statistic information; and
the processing module is used for summing the first traffic statistical information and the second traffic statistical information to obtain total traffic statistical information used by the terminal;
the flow obtaining module is further configured to obtain third flow statistical information of the terminal from a starting time to a current time; the third flow statistic information comprises flow statistic information written into the file system and flow statistic information not written into the file system;
acquiring recorded fourth traffic statistical information of the terminal from the starting time to the current time from the file system; and
and obtaining the second flow statistical information by calculating the difference between the third flow statistical information and the fourth flow statistical information.
8. The apparatus of claim 7,
the traffic obtaining module is further configured to obtain third traffic statistical information of the terminal from the boot time to the current time through a first traffic statistical interface, where the first traffic statistical interface is configured to count traffic information of the terminal from the boot time to the current time;
and reading fourth recorded traffic statistical information of the terminal from the starting time to the current time from the file system through a second traffic statistical interface, wherein the second traffic statistical interface is used for extracting the traffic information written into the file system.
9. The apparatus of any one of claims 7 to 8, further comprising:
and the writing module is used for writing the second traffic statistical information recorded in the cache into the file system according to a preset time interval.
10. The apparatus of any one of claims 7 to 8, further comprising:
the classification module is used for dividing the first traffic statistical information in the file system according to network types to obtain first sub-traffic statistical information corresponding to the network types;
dividing the second traffic statistical information in the cache according to network types to obtain second sub-traffic statistical information corresponding to the network types;
the processing module is further configured to sum the first sub-traffic statistical information and the second sub-traffic statistical information corresponding to the network type to obtain total traffic statistical information corresponding to the network type.
11. The apparatus of any one of claims 7 to 8, further comprising:
the classification module is used for dividing the second traffic statistical information in the cache according to network types to obtain traffic statistical information corresponding to the network types;
the writing module is further configured to write the traffic statistic information corresponding to the network type into the file system at a predetermined time interval.
12. The apparatus of claim 7, wherein the apparatus comprises:
the request receiving module is used for receiving a flow statistic request initiated by an application program;
a traffic obtaining module, configured to read, according to the traffic statistics request, first traffic statistics information recorded in a file system of a kernel layer of the terminal through a first traffic statistics interface of an application framework layer of the terminal, where the first traffic statistics information includes traffic statistics information before the terminal is restarted and traffic statistics information after the terminal is started, and obtain, through a second traffic statistics interface, third traffic statistics information from a start time to a current time of the terminal; the first traffic statistic interface is used for counting traffic information of the terminal from the starting time to the current time; the second flow rate statistic interface is used for extracting flow rate information written into the file system;
obtaining second flow statistical information in the cache of the inner core layer according to the difference between the started flow statistical information and the third flow statistical information;
the processing module is used for summing and calculating to obtain total traffic statistical information used by the terminal according to the first traffic statistical information and the second traffic statistical information;
and the processing module is used for outputting the total flow statistical information used by the terminal on the application program interface.
13. A terminal comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 6.
14. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN201710924584.5A 2017-09-30 2017-09-30 Flow statistical method and device, terminal and computer readable storage medium Active CN107484201B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710924584.5A CN107484201B (en) 2017-09-30 2017-09-30 Flow statistical method and device, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710924584.5A CN107484201B (en) 2017-09-30 2017-09-30 Flow statistical method and device, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107484201A CN107484201A (en) 2017-12-15
CN107484201B true CN107484201B (en) 2020-08-14

Family

ID=60605025

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710924584.5A Active CN107484201B (en) 2017-09-30 2017-09-30 Flow statistical method and device, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107484201B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110136452A (en) * 2018-02-08 2019-08-16 杭州海康威视数字技术股份有限公司 A kind of car statistics method and device
CN109831358B (en) * 2019-01-31 2021-01-01 北京达佳互联信息技术有限公司 Client flow statistical method and device, server and readable storage medium
CN112039721B (en) * 2020-08-04 2022-03-18 紫光云(南京)数字技术有限公司 Method and system for monitoring flow of elastic public network IP under public cloud platform
CN114138810B (en) * 2022-01-27 2022-04-12 中国民航信息网络股份有限公司 Access flow statistical method and system

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102711139A (en) * 2012-04-24 2012-10-03 华为终端有限公司 Data flow counting method and terminal
CN103188647A (en) * 2011-12-29 2013-07-03 北京网秦天下科技有限公司 Method and system for statistically analyzing and warning Internet surfing flow of mobile terminal
CN103379461A (en) * 2012-04-26 2013-10-30 华为终端有限公司 Data service traffic statistical method and terminal
CN104009892A (en) * 2014-06-12 2014-08-27 北京奇虎科技有限公司 Monitoring method and device for traffic of mobile terminal and client side
US9065737B1 (en) * 2012-09-27 2015-06-23 Sprint Communications Company L.P. Measuring traffic utilization
CN104936221A (en) * 2015-06-04 2015-09-23 北京奇虎科技有限公司 Method and device for monitoring data flow in mobile terminal
US9344344B2 (en) * 2014-01-25 2016-05-17 Cisco Technology, Inc. Portable system for monitoring network flow attributes and associated methods
CN106162576A (en) * 2015-03-30 2016-11-23 腾讯科技(深圳)有限公司 A kind of mobile terminal network flow indication method and device
CN106302023A (en) * 2016-08-22 2017-01-04 安徽瑞宏信息科技有限公司 The network flow monitoring method of mobile terminal
CN106603345A (en) * 2017-02-04 2017-04-26 广东欧珀移动通信有限公司 Method and device for monitoring application program usage flow and terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10212176B2 (en) * 2014-06-23 2019-02-19 Hewlett Packard Enterprise Development Lp Entity group behavior profiling
WO2017106042A1 (en) * 2015-12-18 2017-06-22 Locus Energy, Inc. Time interval production measurement and energy storage performance analytics in renewable dc energy systems
US10374926B2 (en) * 2016-01-28 2019-08-06 Oracle International Corporation System and method for monitoring logical network traffic flows using a ternary content addressable memory in a high performance computing environment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103188647A (en) * 2011-12-29 2013-07-03 北京网秦天下科技有限公司 Method and system for statistically analyzing and warning Internet surfing flow of mobile terminal
CN102711139A (en) * 2012-04-24 2012-10-03 华为终端有限公司 Data flow counting method and terminal
CN103379461A (en) * 2012-04-26 2013-10-30 华为终端有限公司 Data service traffic statistical method and terminal
US9065737B1 (en) * 2012-09-27 2015-06-23 Sprint Communications Company L.P. Measuring traffic utilization
US9344344B2 (en) * 2014-01-25 2016-05-17 Cisco Technology, Inc. Portable system for monitoring network flow attributes and associated methods
CN104009892A (en) * 2014-06-12 2014-08-27 北京奇虎科技有限公司 Monitoring method and device for traffic of mobile terminal and client side
CN106162576A (en) * 2015-03-30 2016-11-23 腾讯科技(深圳)有限公司 A kind of mobile terminal network flow indication method and device
CN104936221A (en) * 2015-06-04 2015-09-23 北京奇虎科技有限公司 Method and device for monitoring data flow in mobile terminal
CN106302023A (en) * 2016-08-22 2017-01-04 安徽瑞宏信息科技有限公司 The network flow monitoring method of mobile terminal
CN106603345A (en) * 2017-02-04 2017-04-26 广东欧珀移动通信有限公司 Method and device for monitoring application program usage flow and terminal

Also Published As

Publication number Publication date
CN107484201A (en) 2017-12-15

Similar Documents

Publication Publication Date Title
CN107276789B (en) Log uploading method and device and computer readable storage medium
CN107682910B (en) Traffic resource sharing method and device, mobile terminal and storage medium
CN107484201B (en) Flow statistical method and device, terminal and computer readable storage medium
CN107484154B (en) Data switching method and device, terminal and computer readable storage medium
CN107770746B (en) Data processing method and device, computer equipment and computer readable storage medium
CN107708084B (en) Data processing method and device, computer equipment and computer readable storage medium
CN107734495B (en) Information processing method, device, storage medium and terminal
CN107623612B (en) Flow display method and device, computer equipment and computer readable storage medium
CN108733337B (en) Screen display method and device, electronic equipment and computer readable storage medium
CN109002547B (en) Log file storage method, mobile terminal and computer readable storage medium
CN108509788B (en) Information sharing method and device, computer readable storage medium and terminal
CN107734492B (en) Information processing method, device, mobile terminal and computer readable storage medium
CN110069322B (en) Background application processing method, terminal equipment and storage medium
CN112805988B (en) Call control method and device, computer readable storage medium and electronic equipment
US11109226B2 (en) Information process method, computer readable storage medium and computer device
CN107682552B (en) Information processing method, device, mobile terminal and computer readable storage medium
CN107743303B (en) Information processing method, device, mobile terminal and computer readable storage medium
CN107770767B (en) Information processing method, device, mobile terminal and computer readable storage medium
CN107682832B (en) Data processing method and device, computer equipment and computer readable storage medium
US9742901B2 (en) Method, apparatus and terminal device for obtaining call log
CN110430252B (en) Resource data processing method and device, equipment and readable storage medium
CN109511139B (en) WIFI control method and device, mobile device and computer-readable storage medium
CN112997507B (en) Audio system control method, device, terminal and computer readable storage medium
CN107682892B (en) Flow control method and device, computer equipment and computer readable storage medium
CN108900696B (en) Data processing method, terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant