CN108012258B - Data traffic management method and device for virtual SIM card, terminal and server - Google Patents

Data traffic management method and device for virtual SIM card, terminal and server Download PDF

Info

Publication number
CN108012258B
CN108012258B CN201711223311.4A CN201711223311A CN108012258B CN 108012258 B CN108012258 B CN 108012258B CN 201711223311 A CN201711223311 A CN 201711223311A CN 108012258 B CN108012258 B CN 108012258B
Authority
CN
China
Prior art keywords
data traffic
sim card
virtual sim
value
accumulated value
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
CN201711223311.4A
Other languages
Chinese (zh)
Other versions
CN108012258A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201711223311.4A priority Critical patent/CN108012258B/en
Publication of CN108012258A publication Critical patent/CN108012258A/en
Application granted granted Critical
Publication of CN108012258B publication Critical patent/CN108012258B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic

Abstract

The present disclosure provides a data traffic management method, device, terminal and server for a virtual SIM card, wherein a specific implementation manner of the method includes: counting and recording the data traffic accumulated value of the virtual SIM card; in response to receiving a data traffic acquisition request sent by a server, taking out a recorded current data traffic accumulated value; and sending the current data traffic accumulated value to the server. The embodiment can feed back the data traffic accumulated value of the virtual SIM card to the user timely and accurately at the moment that the user inquires the mobile network data traffic of the virtual SIM card, so that the user can know the data traffic accumulated value generated by the virtual SIM card timely and accurately.

Description

Data traffic management method and device for virtual SIM card, terminal and server
Technical Field
The present disclosure relates to the field of electronic devices, and in particular, to a method, an apparatus, a terminal, and a server for managing data traffic of a virtual SIM card.
Background
With the continuous development of terminal technology and communication technology, virtual SIM cards have been widely used in the life of people. The virtual SIM card has the function of connecting with a mobile network and can access the mobile network provided by a communication service party. At present, the terminal device can only obtain the mobile network data traffic of the virtual SIM card from the server, and the server needs to pull the mobile network data traffic of the virtual SIM card from the communication service party. However, the number of times of access to the communication service party by the server is limited every day, and therefore, it is difficult for the user to timely and accurately obtain the mobile network data traffic of the virtual SIM card.
Disclosure of Invention
In order to solve the technical problem, the present disclosure provides a data traffic management method and apparatus for a virtual SIM card, a terminal and a server.
According to a first aspect of the embodiments of the present disclosure, a method for managing data traffic of a virtual SIM card is provided, including:
counting and recording the data traffic accumulated value of the virtual SIM card;
in response to receiving a data traffic acquisition request sent by a server, taking out a recorded current data traffic accumulated value;
and sending the current data traffic accumulated value to the server.
Optionally, the method further includes:
receiving a data flow updating request sent by the server;
acquiring an update value of data flow from the update request;
and updating the recorded current data traffic accumulated value by using the updated value.
Optionally, the method further includes:
and regularly sending the recorded data traffic accumulated value of the virtual SIM card to the server.
Optionally, the method further includes:
receiving a reminding instruction sent by the server;
and responding to the reminding indication, and executing preset operation.
Optionally, the executing preset operation includes:
closing the connection of the mobile network; or
And outputting preset reminding information.
According to a second aspect of the embodiments of the present disclosure, there is provided a data traffic management method for a virtual SIM card, including:
receiving a data flow query request sent by a client;
acquiring a data traffic accumulated value of a current virtual SIM card from terminal equipment corresponding to the client;
and sending the current data traffic accumulated value to the client.
Optionally, the method further includes:
acquiring a data traffic reference accumulated value of the virtual SIM card from a communication service party;
acquiring the current data traffic accumulated value from the terminal equipment as a target accumulated value;
if the difference value between the reference accumulated value and the target accumulated value is larger than a preset difference value, determining the reference accumulated value as an update value of the data flow;
and sending a data flow updating request carrying the updating value to the terminal equipment.
Optionally, the method further includes:
receiving a data traffic accumulated value of the virtual SIM card periodically sent by the terminal equipment;
and if the data traffic accumulated value periodically sent by the terminal equipment is larger than a preset accumulated value, sending a reminding instruction to the terminal equipment.
According to a third aspect of the embodiments of the present disclosure, there is provided a data traffic management device for a virtual SIM card, including:
the recording module is configured to count and record the data traffic accumulated value of the virtual SIM card;
the extracting module is configured to respond to a data traffic obtaining request sent by a server and extract the recorded current data traffic accumulated value;
a first sending module configured to send the current data traffic cumulative value to the server.
Optionally, the apparatus further comprises:
a first receiving module configured to receive a data traffic update request sent by the server;
an obtaining module configured to obtain an update value of data traffic from the update request;
and the updating module is configured to update the recorded current data traffic accumulated value by using the updating value.
Optionally, the apparatus further comprises:
and the second sending module is configured to periodically send the recorded data traffic accumulated value of the virtual SIM card to the server.
Optionally, the apparatus further comprises:
a second receiving module configured to receive a reminder indication sent by the server;
and the execution module is configured to respond to the reminding indication and execute preset operation.
Optionally, the execution module is configured to:
closing the connection of the mobile network; or
And outputting preset reminding information.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a data traffic management apparatus for a virtual SIM card, including:
the first receiving module is configured to receive a data traffic query request sent by a client;
the first acquisition module is configured to acquire a data traffic accumulated value of a current virtual SIM card from terminal equipment corresponding to the client;
a first sending module configured to send the current data traffic cumulative value to the client.
Optionally, the apparatus further comprises:
a second obtaining module configured to obtain a data traffic reference accumulated value of the virtual SIM card from a communication service party;
a third obtaining module configured to obtain the current data traffic cumulative value from the terminal device as a target cumulative value;
the determining module is configured to determine the reference accumulated value as an updated value of the data traffic if the difference value between the reference accumulated value and the target accumulated value is greater than a preset difference value;
and the second sending module is configured to send a data traffic update request carrying the update value to the terminal device.
Optionally, the apparatus further comprises:
a second receiving module configured to receive a data traffic accumulated value of the virtual SIM card periodically sent by the terminal device;
the third sending module is configured to send a reminding instruction to the terminal device when the data traffic accumulated value periodically sent by the terminal device is larger than a preset accumulated value.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a terminal, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
counting and recording the data traffic accumulated value of the virtual SIM card;
in response to receiving a data traffic acquisition request sent by a server, taking out a recorded current data traffic accumulated value;
and sending the current data traffic accumulated value to the server.
According to a sixth aspect of embodiments of the present disclosure, there is provided a server including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving a data flow query request sent by a client;
acquiring a data traffic accumulated value of a current virtual SIM card from terminal equipment corresponding to the client;
and sending the current data traffic accumulated value to the client.
According to a seventh aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, where at least one instruction is stored, and the instruction is loaded and executed by a processor to implement the operations performed in the data traffic management method of the virtual SIM card according to the first or second aspect or any one of the possible implementations of the first or second aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
in the data traffic management method for the virtual SIM card provided in the embodiments of the present disclosure, by counting and recording the data traffic integrated value of the virtual SIM card, in response to receiving a data traffic acquisition request sent by a server, the recorded current data traffic integrated value is taken out, and the current data traffic integrated value is sent to the server. Therefore, when the user inquires the mobile network data traffic of the virtual SIM card, the data traffic accumulated value of the virtual SIM card can be timely and accurately fed back to the user, so that the user can timely and accurately know the data traffic accumulated value generated by the virtual SIM card.
The data traffic management method for the virtual SIM card according to the embodiment of the present disclosure includes counting and recording a data traffic integrated value of the virtual SIM card, in response to receiving a data traffic acquisition request sent by a server, retrieving a recorded current data traffic integrated value, sending the current data traffic integrated value to the server, receiving a data traffic update request sent by the server, acquiring an update value of data traffic from the update request, and updating the recorded current data traffic integrated value with the update value. Since the present embodiment can obtain a more accurate data traffic integrated value from the communication service party as a reference integrated value by using the limited number of times that the server accesses the communication service party, and correct and update the data traffic integrated value of the SIM card recorded in the terminal device by using the reference integrated value, the accuracy of the data traffic integrated value recorded in the terminal device is further improved.
In the data traffic management method for the virtual SIM card provided in the embodiments of the present disclosure, by counting and recording the data traffic integrated value of the virtual SIM card, in response to receiving a data traffic acquisition request sent by a server, the recorded current data traffic integrated value is taken out, and the current data traffic integrated value is sent to the server. And regularly sending the recorded data traffic accumulated value of the virtual SIM card to the server, receiving a reminding instruction sent by the server, and responding to the reminding instruction and executing preset operation. Therefore, when the data flow of the virtual SIM card of the user is little or no, the operation capable of preventing the generation of the mobile network data flow can be carried out, and the condition that the data flow of the virtual SIM card is used excessively is avoided.
In the data traffic management method for the virtual SIM card provided by the embodiment of the present disclosure, by receiving a data traffic query request sent by a client, a data traffic cumulative value of a current virtual SIM card is obtained from a terminal device corresponding to the client, and the data traffic cumulative value of the current virtual SIM card is sent to the client. Therefore, when the user inquires the mobile network data traffic of the virtual SIM card, the data traffic accumulated value of the virtual SIM card can be timely and accurately fed back to the user, so that the user can timely and accurately know the data traffic accumulated value generated by the virtual SIM card.
The data traffic management method for the virtual SIM card according to the embodiment of the present disclosure includes receiving a data traffic query request sent by a client, obtaining a data traffic integrated value of a current virtual SIM card from a terminal device corresponding to the client, sending the data traffic integrated value of the current virtual SIM card to the client, obtaining a data traffic reference integrated value of the virtual SIM card from a communication service party, obtaining the current data traffic integrated value as a target integrated value from the terminal device, determining the reference integrated value as an updated value of data traffic when a difference between the reference integrated value and the target integrated value is greater than a preset difference, and sending a data traffic update request carrying the updated value to the terminal device. Since the present embodiment can obtain a more accurate data traffic integrated value from the communication service party as a reference integrated value by using the limited number of times that the server accesses the communication service party, and correct and update the data traffic integrated value of the SIM card recorded in the terminal device by using the reference integrated value, the accuracy of the data traffic integrated value recorded in the terminal device is further improved.
The data traffic management method for the virtual SIM card according to the embodiment of the present disclosure includes acquiring a data traffic integrated value of a current virtual SIM card from a terminal device corresponding to a client by receiving a data traffic query request sent by the client, sending the data traffic integrated value of the current virtual SIM card to the client, receiving the data traffic integrated value of the virtual SIM card periodically sent by the terminal device, sending a prompt instruction to the terminal device when the data traffic integrated value periodically sent by the terminal device is greater than a preset integrated value. Therefore, when the data flow of the virtual SIM card of the user is little or no, the operation capable of preventing the generation of the mobile network data flow can be carried out, and the condition that the data flow of the virtual SIM card is used excessively is avoided.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a schematic diagram of an exemplary system architecture to which embodiments of the present disclosure may be applied;
fig. 2 is a schematic diagram illustrating a data traffic management scenario of a virtual SIM card according to an exemplary embodiment of the present disclosure;
fig. 3 is a flowchart illustrating a data traffic management method of a virtual SIM card according to an example embodiment of the present disclosure;
fig. 4 is a flow chart illustrating another method of data traffic management for a virtual SIM card according to an example embodiment of the present disclosure;
fig. 5 is a flow chart illustrating another method of data traffic management for a virtual SIM card according to an example embodiment of the present disclosure;
fig. 6 is a flow chart illustrating another method of data traffic management for a virtual SIM card according to an example embodiment of the present disclosure;
fig. 7 is a flow chart illustrating another method of data traffic management for a virtual SIM card in accordance with an exemplary embodiment of the present disclosure;
fig. 8 is a flow chart illustrating another method of data traffic management for a virtual SIM card in accordance with an exemplary embodiment of the present disclosure;
fig. 9 is a block diagram illustrating a data traffic management apparatus of a virtual SIM card in accordance with an exemplary embodiment of the present disclosure;
fig. 10 is a block diagram illustrating another data traffic management apparatus of a virtual SIM card in accordance with an exemplary embodiment of the present disclosure;
fig. 11 is a block diagram illustrating another data traffic management apparatus of a virtual SIM card in accordance with an exemplary embodiment of the present disclosure;
fig. 12 is a block diagram illustrating another data traffic management apparatus of a virtual SIM card in accordance with an exemplary embodiment of the present disclosure;
fig. 13 is a block diagram illustrating another data traffic management apparatus of a virtual SIM card in accordance with an exemplary embodiment of the present disclosure;
fig. 14 is a block diagram illustrating another data traffic management apparatus of a virtual SIM card in accordance with an exemplary embodiment of the present disclosure;
fig. 15 is a block diagram illustrating another data traffic management apparatus of a virtual SIM card in accordance with an exemplary embodiment of the present disclosure;
fig. 16 is a schematic structural diagram of a data traffic management apparatus of a virtual SIM card according to an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
Referring to fig. 1, an exemplary system architecture diagram to which embodiments of the present disclosure may be applied:
as shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, a network 103, and a server 104. It should be understood that the number or types of terminal devices, networks, and servers in fig. 1 are merely illustrative. There may be any number or type of terminal devices, networks, and servers, as desired for an implementation.
The network 103 is used as a medium for providing communication links between terminal devices and servers. Network 103 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The terminal devices 101, 102 may interact with the server via the network 103 to receive or transmit requests or information or the like. The terminal devices 101, 102 may be various electronic devices including, but not limited to, smart phones, tablet computers, smart wearable devices, personal digital assistants, and the like.
The server 104 may be a server capable of providing data traffic management services for the virtual SIM card. The server may store, analyze, and the like the received data, or may transmit a control command or a request to the terminal device or another server. The server may provide the service in response to a service request of the user. It will be appreciated that one server may provide one or more services, and that the same service may be provided by multiple servers.
Fig. 2 is a schematic diagram illustrating a data traffic management scenario of a virtual SIM card according to an exemplary embodiment: in the scenario shown in fig. 2, the terminal device is specifically a smart phone 201, a virtual SIM card is configured in the smart phone 201, and the smart phone 201 can count and record a data traffic accumulated value of the virtual SIM card when the virtual SIM card generates data traffic. A client 202 for managing data traffic of the virtual SIM card may be installed in the smartphone 201, and the user 203 may query the data traffic information of the virtual SIM card through the client 202. When the user 203 queries the data traffic information of the virtual SIM card through the client 202, the client 202 may send a data traffic query request to the server 204 through the network. In response to the data traffic query request, the server 204 may obtain a data traffic integrated value of the current virtual SIM card from traffic data recorded by the smart phone 201 through the network, and send the current data traffic integrated value to the client 202. The client 202 receives the current data traffic running total and displays the data traffic running total to the user 203 through the user interface.
When the server 204 acquires the data traffic integrated value of the virtual SIM card configured by the smartphone 201 from the communication service party (operator server) 205, the data traffic integrated value may be used as a reference integrated value. And acquires the data traffic integrated value of the current virtual SIM card from the traffic data recorded by the smart phone 201 as a target integrated value through the network. Comparing the reference cumulative value with the target cumulative value, if the difference between the reference cumulative value and the target cumulative value is greater than a preset difference, determining the reference cumulative value as an updated value of the data traffic, and sending a data traffic update request carrying the updated value to the smart phone 201. After receiving the update request, the smartphone 201 may obtain an update value of the data traffic from the update request, and overwrite the recorded data traffic cumulative value of the current virtual SIM card with the update value, so as to update the data traffic cumulative value.
In addition, the smart phone 201 may also periodically send the recorded data traffic accumulated value of the virtual SIM card to the server 204. For example, the currently recorded data traffic integrated value of the virtual SIM card may be sent to the server 204 every 1 hour, or half hour, or 10 minutes, etc. After receiving the data traffic integrated value of the virtual SIM card periodically sent by the smart phone 201, the server 204 may send a reminding instruction to the smart phone 201 if it is determined that the data traffic integrated value periodically sent by the smart phone 201 is greater than the preset integrated value. The smartphone 201 receives the alert indication sent by the server 204, and in response to the alert indication, may perform a preset operation. For example, the smartphone 201 may close the connection of the mobile network, or output a preset reminder message, or the like.
The present application will be described in detail with reference to specific examples.
As shown in fig. 3, fig. 3 is a flowchart illustrating a data traffic management method of a virtual SIM card according to an exemplary embodiment, which may be applied in a terminal device. In this embodiment, for convenience of understanding, the description is given in conjunction with a terminal device capable of installing a virtual SIM card and installing a third-party application. Those skilled in the art will appreciate that the terminal device may include, but is not limited to, a mobile terminal device such as a smartphone, a smart wearable device, a tablet computer, a personal digital assistant, and the like. The method comprises the following steps:
in step 301, a data traffic accumulated value of the virtual SIM card is counted and recorded.
In this embodiment, a virtual SIM card is configured in the terminal device, and the user can use the virtual SIM card to perform network communication through a mobile network, for example, browsing a web page, or chatting through an instant messenger, or transmitting various data. The virtual SIM card can generate data traffic of the mobile network when the user is engaged in network communication. The terminal device may count the data traffic integrated value of the virtual SIM card in real time when the virtual SIM card generates data traffic, and record the data traffic integrated value of the virtual SIM card.
In step 302, in response to receiving a data traffic acquisition request sent by a server, a recorded current data traffic cumulative value is retrieved.
In step 303, the current data traffic running total is sent to the server.
In this embodiment, a client for managing data traffic of the virtual SIM card may be installed in the terminal device, and a user may query data traffic information of the virtual SIM card through the client. However, the client cannot directly obtain the current data traffic integrated value from the data recorded by the terminal device, and therefore, the client may first send a data traffic query request to a server (a server capable of providing a data traffic management service of the virtual SIM card) through the network. The server may send a data traffic acquisition request to the terminal device through the network in response to the data traffic query request. The terminal device may take out the recorded current data traffic integrated value in response to receiving the data traffic acquisition request, and send the current data traffic integrated value to the server. The current data traffic aggregate value may be sent by the server to the client.
In the data traffic management method for the virtual SIM card provided in the foregoing embodiment of the present disclosure, by counting and recording the data traffic integrated value of the virtual SIM card, in response to receiving a data traffic acquisition request sent by a server, the recorded current data traffic integrated value is taken out, and the current data traffic integrated value is sent to the server. Therefore, when the user inquires the mobile network data traffic of the virtual SIM card, the data traffic accumulated value of the virtual SIM card can be timely and accurately fed back to the user, so that the user can timely and accurately know the data traffic accumulated value generated by the virtual SIM card.
As shown in fig. 4, fig. 4 is a flowchart illustrating another data traffic management method of a virtual SIM card according to an exemplary embodiment, where the detailed description of the process of updating the recorded current data traffic cumulative value is described, and the method may be applied to a terminal device, and includes the following steps:
in step 401, the data traffic accumulated value of the virtual SIM card is counted and recorded.
In step 402, in response to receiving a data traffic acquisition request sent by a server, a recorded current data traffic cumulative value is retrieved.
In step 403, the current data traffic accumulation value is sent to the server.
In this embodiment, in one case, when a user queries data traffic information of the virtual SIM card through a client, the client may first send a data traffic query request to a server through a network. The server may send a data traffic acquisition request to the terminal device through the network in response to the data traffic query request. The terminal device may take out the recorded current data traffic integrated value in response to receiving the data traffic acquisition request, and send the current data traffic integrated value to the server. The current data traffic aggregate value may be sent by the server to the client.
In another case, when the server acquires the mobile network data traffic integrated value of the user SIM card from the communication service party as the reference integrated value, the server may also send a data traffic acquisition request to the terminal device through the network. And the terminal equipment responds to the received data traffic acquisition request, takes out the recorded current data traffic accumulated value and sends the current data traffic accumulated value to the server as a target accumulated value. If the difference between the reference cumulative value and the target cumulative value is greater than the preset difference, the reference cumulative value may be determined as an updated value of the data traffic, and the server sends a data traffic update request carrying the updated value to the terminal device.
In step 404, a data traffic update request sent by the server is received.
Generally, the server periodically obtains the mobile network data traffic accumulated value of the SIM card of the user from the communication service provider (the server of the communication carrier). The data traffic integrated value obtained from the communication service party is more accurate, but the number of times of access to the communication service party by the server per day is limited, so that the more accurate data traffic integrated value can be obtained from the communication service party as a reference integrated value by using the limited number of times of access to the communication service party, and the data traffic integrated value of the SIM card recorded in the terminal device can be corrected by using the reference integrated value. In this embodiment, when the server determines that the data traffic integrated value of the SIM card recorded in the terminal device needs to be updated, a data traffic update request may be sent to the terminal device.
In step 405, an update value of the data traffic is obtained from the update request.
In step 406, the recorded current data traffic cumulative value is updated with the updated value.
In this embodiment, the terminal device may obtain an updated value of the data traffic from the update request, where the updated value may be a data traffic accumulated value of the SIM card of the user, which is obtained by the server from the communication service party. The recorded current data traffic cumulative value can be covered and stored by the update value, so that the update of the data traffic cumulative value recorded in the terminal equipment is completed.
It should be noted that, for the same steps as in the embodiment of fig. 3, details are not repeated in the embodiment of fig. 4, and related contents may refer to the embodiment of fig. 3.
In the data traffic management method for the virtual SIM card according to the above embodiment of the present disclosure, by counting and recording the data traffic integrated value of the virtual SIM card, in response to receiving a data traffic acquisition request sent by a server, the recorded current data traffic integrated value is taken out, the current data traffic integrated value is sent to the server, a data traffic update request sent by the server is received, an update value of the data traffic is obtained from the update request, and the recorded current data traffic integrated value is updated by the update value. Since the present embodiment can obtain a more accurate data traffic integrated value from the communication service party as a reference integrated value by using the limited number of times that the server accesses the communication service party, and correct and update the data traffic integrated value of the SIM card recorded in the terminal device by using the reference integrated value, the accuracy of the data traffic integrated value recorded in the terminal device is further improved.
As shown in fig. 5, fig. 5 is a flowchart illustrating another data traffic management method for a virtual SIM card according to an exemplary embodiment, where the embodiment describes in detail a process of performing a preset operation, and the method may be applied to a terminal device, and includes the following steps:
in step 501, a data traffic accumulated value of the virtual SIM card is counted and recorded.
In step 502, in response to receiving a data traffic acquisition request sent by a server, a recorded current data traffic cumulative value is retrieved.
In step 503, the current data traffic accumulation value is sent to the server.
In step 504, the recorded data traffic integrated value of the virtual SIM card is periodically sent to the server.
Generally, the data traffic per month of a user's virtual SIM card is not infinite, and each user's virtual SIM card has limited data traffic. In this embodiment, the terminal device may periodically send the recorded data traffic accumulated value of the virtual SIM card to the server. For example, the recorded data traffic integrated value of the virtual SIM card may be sent to the server every 1 hour, or half hour, or 5 minutes, etc. The server receives the data traffic accumulated value sent periodically, and may further determine whether the data traffic of the virtual SIM card of the user has a surplus or whether the surplus traffic is greater than a preset traffic. If the data traffic of the virtual SIM card of the user is not left, or the remaining traffic is smaller than the preset traffic, a prompt indication may be sent to the terminal device. If the remaining flow of the virtual SIM card of the user is greater than the preset flow, no operation may be performed.
In step 505, an indication of a reminder sent by a server is received.
In step 506, in response to the indication of the reminder, a preset operation is performed.
In this embodiment, when the terminal device receives the alert indication, a preset operation may be performed, where the preset operation may be an operation for preventing generation of mobile network data traffic, for example, the preset operation may be an operation for closing a mobile network connection, or an operation for outputting preset alert information, so as to notify a user of closing the mobile network connection as soon as possible. It will be appreciated that the preset operation may also be any other reasonable operation, and the present disclosure is not limited in this respect. The output preset reminding information can be text information, prompt sound, voice reminding information and graphic reminding information. It is to be understood that any other reasonable form of reminder information is also possible, and the present disclosure is not limited to the specific form or content of the reminder information.
It should be noted that, for the same steps as in the embodiment of fig. 3 and fig. 4, description is not repeated in the embodiment of fig. 5, and related contents may refer to the embodiment of fig. 3 and fig. 4.
In the data traffic management method for the virtual SIM card provided in the above embodiment of the present disclosure, by counting and recording the data traffic integrated value of the virtual SIM card, in response to receiving a data traffic acquisition request sent by a server, the recorded current data traffic integrated value is taken out, and the current data traffic integrated value is sent to the server. And regularly sending the recorded data traffic accumulated value of the virtual SIM card to the server, receiving a reminding instruction sent by the server, and responding to the reminding instruction and executing preset operation. Therefore, when the data flow of the virtual SIM card of the user is little or no, the operation capable of preventing the generation of the mobile network data flow can be carried out, and the condition that the data flow of the virtual SIM card is used excessively is avoided.
As shown in fig. 6, fig. 6 is a flowchart illustrating a data traffic management method of a virtual SIM card according to an exemplary embodiment, which may be applied in a server. The method comprises the following steps:
in step 601, a data traffic query request sent by a client is received.
In step 602, a data traffic integrated value of the current virtual SIM card is obtained from the terminal device corresponding to the client.
In step 603, the data traffic integrated value of the current virtual SIM card is sent to the client.
In this embodiment, when a user queries data traffic information of the virtual SIM card through a client, the client sends a data traffic query request to the server. After receiving the data traffic query request, the server may send a data traffic acquisition request to the terminal device corresponding to the client, and receive a data traffic accumulated value of the current virtual SIM card returned by the terminal device. Then, the data traffic accumulated value of the current virtual SIM card will be sent to the client.
In the data traffic management method for the virtual SIM card provided in the foregoing embodiment of the present disclosure, by receiving a data traffic query request sent by a client, a data traffic cumulative value of a current virtual SIM card is obtained from a terminal device corresponding to the client, and the data traffic cumulative value of the current virtual SIM card is sent to the client. Therefore, when the user inquires the mobile network data traffic of the virtual SIM card, the data traffic accumulated value of the virtual SIM card can be timely and accurately fed back to the user, so that the user can timely and accurately know the data traffic accumulated value generated by the virtual SIM card.
As shown in fig. 7, fig. 7 is a flowchart illustrating another data traffic management method for a virtual SIM card according to an exemplary embodiment, where the detailed description of the process of sending an update request to a terminal device is described, and the method may be applied in a server, and includes the following steps:
in step 701, a data traffic query request sent by a client is received.
In step 702, a data traffic integrated value of the current virtual SIM card is obtained from the terminal device corresponding to the client.
In step 703, the data traffic integrated value of the current virtual SIM card is sent to the client.
In step 704, a data traffic reference accumulated value of the virtual SIM card is obtained from the communication service side.
In step 705, the current data traffic integrated value is acquired from the terminal device as a target integrated value.
In this embodiment, the server may periodically obtain the data traffic reference accumulated value of the virtual SIM card from the communication service party, send a data traffic query request to the terminal device, and receive the data traffic accumulated value of the current virtual SIM card returned by the terminal device as the target accumulated value.
In step 706, if the difference between the reference cumulative value and the target cumulative value is greater than a predetermined difference, the reference cumulative value is determined as an updated value of the data traffic.
In step 707, a data traffic update request carrying the update value is sent to the terminal device.
In this embodiment, the server may compare the reference cumulative value with the target cumulative value, and if a difference between the reference cumulative value and the target cumulative value is greater than a preset difference, the reference cumulative value may be determined as an updated value of the data traffic, and send a data traffic update request carrying the updated value to the terminal device. And enabling the terminal equipment to acquire an updated value of the data traffic from the update request, and using the updated value to cover and store the recorded current data traffic accumulated value, thereby completing the update of the data traffic accumulated value recorded in the terminal equipment.
It should be noted that, for the same steps as in the embodiment of fig. 6, details are not repeated in the embodiment of fig. 7, and related contents may refer to the embodiment of fig. 6.
In the data traffic management method for the virtual SIM card according to the above embodiment of the present disclosure, by receiving a data traffic query request sent by a client, a data traffic integrated value of a current virtual SIM card is obtained from a terminal device corresponding to the client, the data traffic integrated value of the current virtual SIM card is sent to the client, a data traffic reference integrated value of the virtual SIM card is obtained from a communication service party, the current data traffic integrated value is obtained from the terminal device as a target integrated value, when a difference between the reference integrated value and the target integrated value is greater than a preset difference, the reference integrated value is determined as an updated value of data traffic, and a data traffic update request carrying the updated value is sent to the terminal device. Since the present embodiment can obtain a more accurate data traffic integrated value from the communication service party as a reference integrated value by using the limited number of times that the server accesses the communication service party, and correct and update the data traffic integrated value of the SIM card recorded in the terminal device by using the reference integrated value, the accuracy of the data traffic integrated value recorded in the terminal device is further improved.
As shown in fig. 8, fig. 8 is a flowchart illustrating another data traffic management method for a virtual SIM card according to an exemplary embodiment, where the embodiment describes in detail a process of performing a preset operation, and the method may be applied to a terminal device, and includes the following steps:
in step 801, a data traffic query request sent by a client is received.
In step 802, a data traffic integrated value of the current virtual SIM card is obtained from the terminal device corresponding to the client.
In step 803, the data traffic integrated value of the current virtual SIM card is sent to the client.
In step 804, the data traffic integrated value of the virtual SIM card periodically transmitted by the terminal device is received.
In step 805, if the data traffic cumulative value periodically sent by the terminal device is greater than the preset cumulative value, a warning indication is sent to the terminal device.
Generally, the data traffic per month of a user's virtual SIM card is not infinite, and each user's virtual SIM card has limited data traffic. In this embodiment, the terminal device may periodically send the recorded data traffic accumulated value of the virtual SIM card to the server. For example, the recorded data traffic integrated value of the virtual SIM card may be sent to the server every 1 hour, or half hour, or 5 minutes, etc. The server receives the data traffic accumulated value sent periodically, and may further determine whether the data traffic of the virtual SIM card of the user has a surplus or whether the surplus traffic is greater than a preset traffic. If the data traffic of the virtual SIM card of the user is not left, or the remaining traffic is smaller than the preset traffic, a prompt indication may be sent to the terminal device. If the remaining flow of the virtual SIM card of the user is greater than the preset flow, no operation may be performed.
It should be noted that, for the same steps as in the embodiments of fig. 6 and 7, details are not repeated in the embodiment of fig. 8, and related contents may refer to the embodiments of fig. 6 and 7.
In the data traffic management method for the virtual SIM card according to the foregoing embodiment of the present disclosure, by receiving a data traffic query request sent by a client, a data traffic integrated value of a current virtual SIM card is obtained from a terminal device corresponding to the client, the data traffic integrated value of the current virtual SIM card is sent to the client, the data traffic integrated value of the virtual SIM card periodically sent by the terminal device is received, the data traffic integrated value periodically sent by the terminal device is greater than a preset integrated value, and a prompt instruction is sent to the terminal device. Therefore, when the data flow of the virtual SIM card of the user is little or no, the operation capable of preventing the generation of the mobile network data flow can be carried out, and the condition that the data flow of the virtual SIM card is used excessively is avoided.
It should be noted that while the operations of the disclosed methods are depicted in the drawings in a particular order, this does not require or imply that these operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Rather, the steps depicted in the flowcharts may change the order of execution. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
Corresponding to the embodiment of the data traffic management method of the virtual SIM card, the disclosure also provides embodiments of a data traffic management device of the virtual SIM card and a terminal and a server applied by the data traffic management device of the virtual SIM card.
As shown in fig. 9, fig. 9 is a block diagram of a data traffic management apparatus of a virtual SIM card according to an exemplary embodiment of the present disclosure, where the apparatus includes: a recording module 901, a fetching module 902 and a first sending module 903.
The recording module 901 is configured to count and record the data traffic accumulated value of the virtual SIM card.
A fetching module 902 configured to fetch the recorded current data traffic cumulative value in response to receiving a data traffic obtaining request sent by the server.
A first sending module 903 configured to send the current data traffic integrated value to the server.
As shown in fig. 10, fig. 10 is a block diagram of another data traffic management apparatus for a virtual SIM card according to an exemplary embodiment of the present disclosure, where on the basis of the foregoing embodiment shown in fig. 9, the apparatus may further include: a first receiving module 904, an obtaining module 905 and an updating module 906.
The first receiving module 904 is configured to receive a data traffic update request sent by a server.
An obtaining module 905 is configured to obtain an update value of the data traffic from the update request.
An updating module 906 configured to update the recorded current data traffic cumulative value with the updated value.
As shown in fig. 11, fig. 11 is a block diagram of another data traffic management apparatus for a virtual SIM card according to an exemplary embodiment of the present disclosure, where on the basis of the foregoing embodiment shown in fig. 9, the apparatus may further include: a second transmitting module 907.
The second sending module 907 is configured to periodically send the recorded data traffic accumulated value of the virtual SIM card to the server.
As shown in fig. 12, fig. 12 is a block diagram of another second sending module 907 apparatus shown in the present disclosure according to an exemplary embodiment, and on the basis of the foregoing embodiment shown in fig. 9, the apparatus may further include: a second receiving module 908 and an executing module 909.
Wherein, the second receiving module 908 is configured to receive the indication of the reminder sent by the server.
And an execution module 909 configured to execute a preset operation in response to the alert indication.
In some alternative embodiments, the execution module 909 is configured to: and closing the connection of the mobile network or outputting preset reminding information.
It should be understood that the above-mentioned device may be preset in the server, and may also be loaded into the server by downloading or the like. The corresponding modules in the device can be matched with the modules in the server to realize the data traffic management scheme of the virtual SIM card.
As shown in fig. 13, fig. 13 is a block diagram of a data traffic management apparatus of a virtual SIM card according to an exemplary embodiment of the present disclosure, where the apparatus includes: a first receiving module 1301, a first obtaining module 1302 and a first sending module 1303.
The first receiving module 1301 is configured to receive a data traffic query request sent by a client.
A first obtaining module 1302, configured to obtain a data traffic cumulative value of the current virtual SIM card from a terminal device corresponding to the client.
A first sending module 1303 configured to send the current data traffic cumulative value to the client.
As shown in fig. 14, fig. 14 is a block diagram of another data traffic management apparatus for a virtual SIM card according to an exemplary embodiment of the present disclosure, where on the basis of the foregoing embodiment shown in fig. 13, the apparatus may further include: a second obtaining module 1304, a third obtaining module 1305, a determining module 1306 and a second sending module 1307.
Wherein, the second obtaining module 1304 is configured to obtain the data traffic reference accumulated value of the virtual SIM card from the communication service party.
A third obtaining module 1305 configured to obtain the current data traffic integrated value from the terminal device as the target integrated value.
The determining module 1306 is configured to determine the reference cumulative value as an updated value of the data traffic when a difference between the reference cumulative value and the target cumulative value is greater than a preset difference.
A second sending module 1307 configured to send a data traffic update request carrying an update value to the terminal device.
As shown in fig. 15, fig. 15 is a block diagram of another data traffic management apparatus for a virtual SIM card according to an exemplary embodiment of the present disclosure, where on the basis of the foregoing embodiment shown in fig. 13, the apparatus may further include: a second receiving module 1308, and a third sending module 1309.
The second receiving module 1308 is configured to receive the data traffic accumulated value of the virtual SIM card periodically sent by the terminal device.
The third sending module 1309 is configured to send a reminding instruction to the terminal device when the data traffic aggregate value periodically sent by the terminal device is greater than the preset aggregate value.
It should be understood that the above-mentioned apparatus may be preset in the terminal device, and may also be loaded into the terminal device by downloading or the like. The corresponding modules in the above device can cooperate with the modules in the terminal equipment to implement the data traffic management scheme of the virtual SIM card.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. One of ordinary skill in the art can understand and implement it without inventive effort.
Correspondingly, the disclosure also provides a terminal, which comprises a processor; a memory for storing processor-executable instructions; wherein the processor is configured to:
counting and recording the data traffic accumulated value of the virtual SIM card;
in response to receiving a data traffic acquisition request sent by a server, taking out a recorded current data traffic accumulated value;
and sending the current data traffic accumulated value to the server.
Correspondingly, the present disclosure also provides a server, which includes a processor; a memory for storing processor-executable instructions; wherein the processor is configured to:
receiving a data flow query request sent by a client;
acquiring a data traffic accumulated value of a current virtual SIM card from terminal equipment corresponding to the client;
and sending the current data traffic accumulated value to the client.
Fig. 16 is a schematic structural diagram of a data traffic management device 9900 of a virtual SIM card according to an exemplary embodiment. For example, the apparatus 9900 may be a mobile telephone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 16, the apparatus 9900 may include one or more of the following components: processing component 9902, memory 9904, power component 9906, multimedia component 9908, audio component 9910, input/output (I/O) interface 9912, sensor component 9914, and communication component 9916.
The processing component 9902 generally controls overall operation of the device 9900, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing element 9902 may include one or more processors 9920 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 9902 may include one or more modules that facilitate interaction between the processing component 9902 and other components. For example, the processing component 9902 may include a multimedia module to facilitate interaction between the multimedia component 9908 and the processing component 9902.
The memory 9904 is configured to store various types of data to support operations at the device 9900. Examples of such data include instructions for any application or method operating on the device 9900, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 9904 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 9906 provides power to the various components of the device 9900. The power components 9906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 9900.
The multimedia component 9908 includes a screen that provides an output interface between the device 9900 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 9908 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 9900 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 9910 is configured to output and/or input audio signals. For example, the audio component 9910 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 9900 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 9904 or transmitted via the communication component 9916. In some embodiments, the audio component 9910 also includes a speaker for outputting audio signals.
The I/O interface 9912 provides an interface between the processing component 9902 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 9914 includes one or more sensors for providing various aspects of status assessment for the device 9900. For example, the sensor assembly 9914 may detect an open/closed state of the device 9900, the relative positioning of components, such as a display and keypad of the device 9900, the sensor assembly 9914 may also detect a change in position of the device 9900 or a component of the device 9900, the presence or absence of user contact with the device 9900, orientation or acceleration/deceleration of the device 9900, and a change in temperature of the device 9900. The sensor assembly 9914 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 9914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 9914 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, a microwave sensor, or a temperature sensor.
The communication component 9916 is configured to facilitate wired or wireless communication between the apparatus 9900 and other devices. The device 9900 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 9916 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 9916 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 9900 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 9904 comprising instructions, executable by the processor 9920 of the apparatus 9900 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, the computer-readable storage medium stores at least one instruction, and the instruction may be loaded by a processor and may perform the operations performed in the data traffic management method of the virtual SIM card provided in the above embodiments.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. A data traffic management method of a virtual SIM card is characterized by comprising the following steps:
counting and recording the data traffic accumulated value of the virtual SIM card;
in response to receiving a data traffic acquisition request sent by a server, taking out a recorded current data traffic accumulated value;
sending the current data traffic accumulated value to the server;
wherein the method further comprises:
receiving a data flow updating request sent by the server; the data traffic updating request is sent by the server when the difference between the data traffic reference accumulated value acquired from the communication service party and the current data traffic accumulated value acquired from the terminal equipment is determined to be larger than a preset difference;
acquiring an update value of data flow from the update request;
and updating the recorded current data traffic accumulated value by using the updated value.
2. The method of claim 1, further comprising:
and regularly sending the recorded data traffic accumulated value of the virtual SIM card to the server.
3. The method of claim 1, further comprising:
receiving a reminding instruction sent by the server;
and responding to the reminding indication, and executing preset operation.
4. The method of claim 3, wherein the performing the predetermined operation comprises:
closing the connection of the mobile network; or
And outputting preset reminding information.
5. A data traffic management method of a virtual SIM card is characterized by comprising the following steps:
receiving a data flow query request sent by a client;
acquiring a data traffic accumulated value of a current virtual SIM card from terminal equipment corresponding to the client;
sending the current data traffic accumulated value to the client;
wherein the method further comprises:
acquiring a data traffic reference accumulated value of the virtual SIM card from a communication service party;
acquiring the current data traffic accumulated value from the terminal equipment as a target accumulated value;
if the difference value between the reference accumulated value and the target accumulated value is larger than a preset difference value, determining the reference accumulated value as an update value of the data flow;
and sending a data flow updating request carrying the updating value to the terminal equipment.
6. The method of claim 5, further comprising:
receiving a data traffic accumulated value of the virtual SIM card periodically sent by the terminal equipment;
and if the data traffic accumulated value periodically sent by the terminal equipment is larger than a preset accumulated value, sending a reminding instruction to the terminal equipment.
7. An apparatus for data traffic management of a virtual SIM card, the apparatus comprising:
the recording module is configured to count and record the data traffic accumulated value of the virtual SIM card;
the extracting module is configured to respond to a data traffic obtaining request sent by a server and extract the recorded current data traffic accumulated value;
a first sending module configured to send the current data traffic cumulative value to the server;
wherein the apparatus further comprises:
a first receiving module configured to receive a data traffic update request sent by the server; the data traffic updating request is sent by the server when the difference value between the data traffic reference accumulated value acquired from the communication service party and the current data traffic accumulated value acquired from the terminal equipment is determined to be larger than a preset difference value;
an obtaining module configured to obtain an update value of data traffic from the update request;
and the updating module is configured to update the recorded current data traffic accumulated value by using the updating value.
8. The apparatus of claim 7, further comprising:
and the second sending module is configured to periodically send the recorded data traffic accumulated value of the virtual SIM card to the server.
9. The apparatus of claim 7, further comprising:
a second receiving module configured to receive a reminder indication sent by the server;
and the execution module is configured to respond to the reminding indication and execute preset operation.
10. The apparatus of claim 9, wherein the execution module is configured to:
closing the connection of the mobile network; or
And outputting preset reminding information.
11. An apparatus for data traffic management of a virtual SIM card, the apparatus comprising:
the first receiving module is configured to receive a data traffic query request sent by a client;
the first acquisition module is configured to acquire a data traffic accumulated value of a current virtual SIM card from terminal equipment corresponding to the client;
a first sending module configured to send the current data traffic cumulative value to the client;
wherein the apparatus further comprises:
a second obtaining module configured to obtain a data traffic reference accumulated value of the virtual SIM card from a communication service party;
a third obtaining module configured to obtain the current data traffic cumulative value from the terminal device as a target cumulative value;
the determining module is configured to determine the reference accumulated value as an updated value of the data traffic if the difference value between the reference accumulated value and the target accumulated value is greater than a preset difference value;
and the second sending module is configured to send a data traffic update request carrying the update value to the terminal device.
12. The apparatus of claim 11, further comprising:
a second receiving module configured to receive a data traffic accumulated value of the virtual SIM card periodically sent by the terminal device;
the third sending module is configured to send a reminding instruction to the terminal device when the data traffic accumulated value periodically sent by the terminal device is larger than a preset accumulated value.
CN201711223311.4A 2017-11-29 2017-11-29 Data traffic management method and device for virtual SIM card, terminal and server Active CN108012258B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711223311.4A CN108012258B (en) 2017-11-29 2017-11-29 Data traffic management method and device for virtual SIM card, terminal and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711223311.4A CN108012258B (en) 2017-11-29 2017-11-29 Data traffic management method and device for virtual SIM card, terminal and server

Publications (2)

Publication Number Publication Date
CN108012258A CN108012258A (en) 2018-05-08
CN108012258B true CN108012258B (en) 2021-02-09

Family

ID=62054457

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711223311.4A Active CN108012258B (en) 2017-11-29 2017-11-29 Data traffic management method and device for virtual SIM card, terminal and server

Country Status (1)

Country Link
CN (1) CN108012258B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110996339B (en) * 2019-12-18 2021-03-02 深圳联想懂的通信有限公司 eSIM resource management platform and management method
CN114070756B (en) * 2021-09-23 2023-09-05 深圳市有方科技股份有限公司 Method for counting network traffic and related device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102480578A (en) * 2010-11-25 2012-05-30 中国移动通信集团四川有限公司 Method, system and device for reminding data traffic
CN103002466A (en) * 2011-09-13 2013-03-27 腾讯科技(深圳)有限公司 Traffic warning method and traffic warning device
CN105578512A (en) * 2016-03-24 2016-05-11 北京奇虎科技有限公司 Mobile terminal flow calibration method and apparatus thereof, and flow server
WO2017064658A2 (en) * 2015-10-14 2017-04-20 Digitata Limited Dynamic control of data consumption by software applications on mobile devices
CN106656660A (en) * 2016-11-30 2017-05-10 努比亚技术有限公司 Traffic monitoring device and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102480578A (en) * 2010-11-25 2012-05-30 中国移动通信集团四川有限公司 Method, system and device for reminding data traffic
CN103002466A (en) * 2011-09-13 2013-03-27 腾讯科技(深圳)有限公司 Traffic warning method and traffic warning device
WO2017064658A2 (en) * 2015-10-14 2017-04-20 Digitata Limited Dynamic control of data consumption by software applications on mobile devices
CN105578512A (en) * 2016-03-24 2016-05-11 北京奇虎科技有限公司 Mobile terminal flow calibration method and apparatus thereof, and flow server
CN106656660A (en) * 2016-11-30 2017-05-10 努比亚技术有限公司 Traffic monitoring device and method

Also Published As

Publication number Publication date
CN108012258A (en) 2018-05-08

Similar Documents

Publication Publication Date Title
CN111405302B (en) Live broadcast room attention reminding method and device, electronic equipment and storage medium
CN106354571B (en) Message reminding method and device
CN107635074B (en) Method, apparatus and computer-readable storage medium for controlling alarm
CN109388625B (en) Method and device for processing configuration file in multi-distributed file system
CN107454204B (en) User information labeling method and device
CN106095405B (en) Icon updating method and device
CN113259226A (en) Information synchronization method and device, electronic equipment and storage medium
CN107316207B (en) Method and device for acquiring display effect information
CN109218509B (en) Information screen display method and device and computer readable storage medium
CN112291631A (en) Information acquisition method, device, terminal and storage medium
CN108012258B (en) Data traffic management method and device for virtual SIM card, terminal and server
CN106506808B (en) Method and device for prompting communication message
CN111246278B (en) Video playing method and device, electronic equipment and storage medium
CN110908814A (en) Message processing method and device, electronic equipment and storage medium
CN110968492A (en) Information processing method and device, and storage medium
CN107846481B (en) Account management method and device
CN106550012B (en) Monitoring method of intelligent equipment and intelligent equipment
CN111049732B (en) Push message display method and device, electronic equipment and medium
CN107257384B (en) Service state monitoring method and device
CN109246322B (en) Information processing method and system
CN114124866A (en) Session processing method, device, electronic equipment and storage medium
CN112102009A (en) Advertisement display method, device, equipment and storage medium
CN111526084A (en) Information processing method, device, equipment and storage medium
CN107241432B (en) Message receiving method and device, electronic equipment and computer storage medium
CN106791200B (en) Information display method and device

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
GR01 Patent grant
GR01 Patent grant