CN113259995A - Information processing method, device and storage medium - Google Patents

Information processing method, device and storage medium Download PDF

Info

Publication number
CN113259995A
CN113259995A CN202110535288.2A CN202110535288A CN113259995A CN 113259995 A CN113259995 A CN 113259995A CN 202110535288 A CN202110535288 A CN 202110535288A CN 113259995 A CN113259995 A CN 113259995A
Authority
CN
China
Prior art keywords
information
terminal
traffic
specified resource
user
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.)
Granted
Application number
CN202110535288.2A
Other languages
Chinese (zh)
Other versions
CN113259995B (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
Beijing Xiaomi Pinecone Electronic Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Beijing Xiaomi Pinecone Electronic 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, Beijing Xiaomi Pinecone Electronic Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202110535288.2A priority Critical patent/CN113259995B/en
Publication of CN113259995A publication Critical patent/CN113259995A/en
Application granted granted Critical
Publication of CN113259995B publication Critical patent/CN113259995B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0231Traffic management, e.g. flow control or congestion control based on communication conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephone Function (AREA)

Abstract

The present disclosure relates to an information processing method, apparatus, and storage medium, the method comprising: determining whether the terminal is currently connected with an available network except the mobile network or not in response to receiving first traffic feedback information, wherein the first traffic feedback information is used for indicating that the current remaining mobile network traffic of the terminal is smaller than a first preset traffic threshold; under the condition that the terminal is currently connected with an available network, caching specified resource information in an application program; responding to the opening of the application program, and determining whether the terminal meets a specified resource display condition, wherein the specified resource display condition comprises the following steps: the current residual mobile network flow is smaller than a first preset flow threshold value, and the terminal is not connected with an available network; and under the condition that the terminal meets the specified resource display condition, acquiring and displaying the cached specified resource information. By the technical scheme, under the condition that the terminal connection network is limited, the user can also browse the resource information in the application program normally, so that the user experience is improved, and the user requirements are met.

Description

Information processing method, device and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to an information processing method and apparatus, and a storage medium.
Background
With the increasing popularization of terminal devices, terminal devices such as mobile phones and tablet computers become an indispensable part of daily life and work of people. Among them, a user generally needs to purchase mobile network traffic, such as 4G network traffic, 5G network traffic, etc., to connect to a network through a terminal, thereby browsing a variety of information on the network. The traffic of the mobile network purchased by the user is usually limited, for example, the traffic packet in the tariff package generally has a traffic ranging from 1Gb to several tens of Gb, and if the remaining traffic of the mobile network is insufficient, the user is limited to access the internet, thereby affecting the user to browse the information on the network.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides an information processing method, apparatus, and storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided an information processing method including:
determining whether a terminal is currently connected with an available network except a mobile network or not in response to receiving first traffic feedback information, wherein the first traffic feedback information is used for indicating that the current remaining mobile network traffic of the terminal is smaller than a first preset traffic threshold;
under the condition that the terminal is currently connected with the available network, caching specified resource information in an application program;
responding to the opening of the application program, and determining whether the terminal meets a specified resource display condition, wherein the specified resource display condition comprises: the current remaining mobile network flow is smaller than the first preset flow threshold value, and the terminal is not connected with the available network;
and under the condition that the terminal meets the specified resource display condition, acquiring and displaying the cached specified resource information.
Optionally, in a case that the terminal satisfies the specified resource display condition, before obtaining and displaying the cached specified resource information, the method further includes:
outputting prompt information to confirm whether the cached specified resource information is displayed or not by a user;
and acquiring and displaying the cached specified resource information in response to receiving a confirmation instruction for representing that the user agrees to display the specified resource information.
Optionally, the first traffic feedback information is actively sent by an operating system of the terminal when the current remaining mobile network traffic is smaller than the first preset traffic threshold; or
The method further comprises the following steps:
sending first query information to an operating system of the terminal, wherein the first query information is used for querying whether the current remaining mobile network flow is smaller than the first preset flow threshold value;
receiving traffic feedback information sent by the operating system, where the traffic feedback information includes the first traffic feedback information or second traffic feedback information, where the second traffic feedback information is used to indicate that the current remaining mobile network traffic is not less than the first preset traffic threshold.
Optionally, the first preset flow threshold is a user-set threshold and changes with a change of the user-set threshold.
Optionally, after the step of caching the specified resource information in the application program, the method further includes:
and in response to receiving third flow feedback information, deleting the specified resource information, wherein the third flow feedback information is used for indicating that the current remaining mobile network flow of the terminal is greater than or equal to a second preset flow threshold.
Optionally, the third flow feedback information is actively sent by the operating system of the terminal when the current remaining mobile network flow is greater than or equal to the second preset flow threshold; or
The method further comprises the following steps:
sending second query information to an operating system of the terminal, wherein the second query information is used for querying whether the current remaining mobile network flow is greater than or equal to a second preset flow threshold value;
receiving traffic feedback information sent by the operating system, where the traffic feedback information includes the third traffic feedback information or fourth traffic feedback information, and the fourth traffic feedback information is used to indicate that the current remaining mobile network traffic is smaller than the second preset traffic threshold.
Optionally, the second preset flow threshold is a threshold set by a user and changes with a change of the threshold set by the user.
Optionally, before the step of caching the specified resource information in the application program, the method further includes:
acquiring user setting information, wherein the user setting information is used for indicating whether to perform specified resource caching operation or not;
and under the condition that the user setting information indicates that the specified resource caching operation is carried out, executing the specified resource information in the caching application program.
Optionally, the specified resource information includes at least one of:
resource information in the application program set by a user;
resource information of operation implemented by a user in the application program in the process that the terminal is currently connected with the available network;
and determining the resource information of the user preference according to the historical operation information of the application program.
According to a second aspect of the embodiments of the present disclosure, there is provided an information processing apparatus including:
the terminal comprises a first determining module, a second determining module and a third determining module, wherein the first determining module is used for responding to received first traffic feedback information and determining whether the terminal is currently connected with an available network except a mobile network, and the first traffic feedback information is used for indicating that the current residual mobile network traffic of the terminal is smaller than a first preset traffic threshold;
the cache module is used for caching the appointed resource information in the application program under the condition that the terminal is currently connected with the available network;
a second determining module, configured to determine whether the terminal satisfies a specified resource display condition in response to the application being started, where the specified resource display condition includes: the current remaining mobile network flow is smaller than the first preset flow threshold value, and the terminal is not connected with the available network;
and the display module is used for acquiring and displaying the cached appointed resource information under the condition that the terminal meets the appointed resource display condition.
Optionally, the apparatus further comprises:
the output module is used for outputting prompt information before the display module acquires and displays the cached specified resource information under the condition that the terminal meets the specified resource display condition so that a user can confirm whether the cached specified resource information is displayed or not;
the display module is used for responding to a confirmation instruction for representing that the user agrees to display the specified resource information and acquiring and displaying the cached specified resource information.
Optionally, the first traffic feedback information is actively sent by an operating system of the terminal when the current remaining mobile network traffic is smaller than the first preset traffic threshold; or
The device further comprises:
a first sending module, configured to send first query information to an operating system of the terminal, where the first query information is used to query whether the current remaining mobile network traffic is smaller than the first preset traffic threshold;
a first receiving module, configured to receive traffic feedback information sent by the operating system, where the traffic feedback information includes the first traffic feedback information or second traffic feedback information, and the second traffic feedback information is used to indicate that the current remaining mobile network traffic is not less than the first preset traffic threshold.
Optionally, the apparatus further comprises:
and the deleting module is used for responding to the received third flow feedback information after the cache module caches the specified resource information in the application program, and deleting the specified resource information, wherein the third flow feedback information is used for indicating that the current residual mobile network flow of the terminal is greater than or equal to a second preset flow threshold value.
Optionally, the third flow feedback information is actively sent by the operating system of the terminal when the current remaining mobile network flow is greater than or equal to the second preset flow threshold; or
The device further comprises:
a second sending module, configured to send second query information to an operating system of the terminal, where the second query information is used to query whether the current remaining mobile network traffic is greater than or equal to the second preset traffic threshold;
a second receiving module, configured to receive traffic feedback information sent by the operating system, where the traffic feedback information includes the third traffic feedback information or fourth traffic feedback information, and the fourth traffic feedback information is used to indicate that the current remaining mobile network traffic is smaller than the second preset traffic threshold.
Optionally, the apparatus further comprises:
the acquisition module is used for acquiring user setting information before the cache module caches the specified resource information in the application program, wherein the user setting information is used for indicating whether the specified resource cache operation is carried out or not;
the cache module is used for caching the specified resource information in the application program under the condition that the user setting information indicates that the specified resource caching operation is carried out.
According to a third aspect of the embodiments of the present disclosure, there is provided an information processing apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: the steps of the information processing method provided by the first aspect of the present disclosure are performed.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the information processing method provided by the first aspect of the present disclosure.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the technical scheme, whether the terminal is connected with an available network except the mobile network currently is determined in response to the fact that first flow feedback information is received, the first flow feedback information is used for indicating that the current residual mobile network flow of the terminal is smaller than a first preset flow threshold value, and the appointed resource information in the application program is cached under the condition that the terminal is connected with the available network currently, wherein the appointed resource information is cached by the available network, and the mobile network flow of the terminal is not consumed additionally. The method comprises the steps of responding to the opening of an application program, determining whether a terminal meets an appointed resource display condition, representing that the mobile network flow of the terminal is insufficient under the condition that the terminal meets the appointed resource display condition, not connecting an available network except the mobile network, and acquiring and displaying cached appointed resource information. In addition, under the condition that the terminal connection network is limited, the user can also browse the resource information in the application program normally, so that the user experience is improved, and the user requirements are met.
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 flow chart illustrating an information processing method according to an example embodiment.
Fig. 2 is a block diagram illustrating an information processing apparatus according to an exemplary embodiment.
Fig. 3 is a block diagram illustrating an information processing apparatus according to an example embodiment.
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.
As described in the background, the mobile network traffic purchased by the user is usually limited, and if the remaining mobile network traffic is insufficient, the following processing is generally performed in the related art. One way is to close the internet access channel of the terminal when the traffic is exhausted, so that the terminal cannot connect to the network, and this way causes the user to be unable to browse the information on the network, which affects the normal use of the terminal by the user. Another way is to send a prompt message to the user when the remaining mobile network traffic is insufficient, to prompt the user that the excessive traffic needs additional charging if the user continues to log on the network, which may bring additional charges. Therefore, the processing modes in the related art all affect the internet experience of the user.
In view of this, the present disclosure provides an information processing method, an information processing apparatus, and a storage medium, which enable a user to browse resource information in an application program normally even when a terminal connection network is limited, thereby improving user experience and meeting user requirements.
Fig. 1 is a flowchart illustrating an information processing method applicable to an application installed in a terminal according to an exemplary embodiment, and as shown in fig. 1, the method may include S101 to S104.
In S101, in response to receiving the first traffic feedback information, it is determined whether the terminal is currently connected to an available network other than the mobile network.
The first traffic feedback information is used for indicating that the current remaining mobile network traffic of the terminal is smaller than a first preset traffic threshold. The current remaining mobile network flow of the terminal is smaller than the first preset flow threshold, which can represent that the remaining mobile network flow of the terminal is insufficient and the mobile network flow is about to be exhausted or exhausted. The first predetermined flow threshold may be pre-calibrated. In an alternative embodiment, the first preset flow threshold may be a fixed value calibrated in advance. In another optional embodiment, the first preset flow threshold may be a threshold set by a user and may vary with a change in the threshold set by the user, where the system of the terminal may include an option for setting the first preset flow threshold by the user, and the user may set the first preset flow threshold and may also perform a modification adjustment on the first preset flow threshold, and the first preset flow threshold may vary with a change in the threshold set by the user and better meet the user requirements. In addition, the terminal in the present disclosure may refer to any terminal device such as a mobile phone, a tablet computer, and a vehicle-mounted computer.
For example, the operating system of the terminal may determine whether the current remaining mobile network traffic of the terminal is smaller than a first preset traffic threshold, for example, the operating system may determine according to a traffic short message notification sent by an operator, and when determining that the current remaining mobile network traffic is smaller than the first preset traffic threshold, the operating system may actively send first traffic feedback information to an application program in the terminal, where the first traffic feedback information may be sent in a form of a broadcast message. If the application program is in a running state, for example, a foreground running state or a background running state, when the operating system actively sends the first traffic feedback information, the application program may receive the first traffic feedback information actively sent by the operating system.
The application may determine whether the terminal is currently connected to an available network other than the mobile network in response to receiving the first traffic feedback information. Available networks outside the mobile network include, for example, Wi-Fi networks, bluetooth networks, and the like. For example, the application may monitor whether the terminal is connected to an available network, or the application may learn from the operating system whether the terminal is connected to an available network.
In S102, in the case where the terminal is currently connected to an available network, the specified resource information in the application is cached.
If the terminal is currently connected with an available network except the mobile network, the application program can utilize the available network to cache the specified resource information in the application program, and the specified resource information is cached by utilizing the available network, so that the mobile network flow of the terminal is not additionally consumed. The present disclosure is not particularly limited with respect to the content of the specified resource information.
In S103, in response to the application being turned on, it is determined whether the terminal satisfies a specified resource exhibition condition.
When the user opens the application program, the representation user wants to browse the resource information in the application program, at this time, the application program can determine whether the terminal meets a specified resource display condition, and the specified resource display condition may include: and when the current residual mobile network flow is smaller than a first preset flow threshold value, the terminal is not connected with an available network.
In S102, the available network connected to the terminal may be only usable within a certain area, for example, a Wi-Fi network, and the available network cannot be connected if the coverage of the Wi-Fi network is exceeded, when the user starts the application again, the terminal may not be connected to the available network, and the current remaining mobile network traffic of the terminal is smaller than the first preset traffic threshold, where the terminal meets the specified resource display condition.
In S104, the cached specified resource information is acquired and displayed when the terminal satisfies the specified resource display condition.
Under the condition that the terminal meets the specified resource display condition, the mobile network flow of the terminal is insufficient, the terminal is not connected with an available network except the mobile network, the terminal can not surf the internet, the user starts the application program and wants to browse the resource information in the application program, and at the moment, the application program can acquire and display the cached specified resource information, so that under the condition that the terminal is limited in network connection, the user can normally browse the resource information in the application program, the user experience is improved, and the user requirement is met.
Moreover, the specified resource information is cached locally in the terminal in advance, so that when the application program displays the cached specified resource information, the application program does not need to be connected with a network, the specified resource information can be displayed under the condition of no network, and the mobile network flow of the terminal cannot be consumed additionally.
According to the technical scheme, whether the terminal is connected with an available network except the mobile network currently is determined in response to the fact that first flow feedback information is received, the first flow feedback information is used for indicating that the current residual mobile network flow of the terminal is smaller than a first preset flow threshold value, and the appointed resource information in the application program is cached under the condition that the terminal is connected with the available network currently, wherein the appointed resource information is cached by the available network, and the mobile network flow of the terminal is not consumed additionally. The method comprises the steps of responding to the opening of an application program, determining whether a terminal meets an appointed resource display condition, representing that the mobile network flow of the terminal is insufficient under the condition that the terminal meets the appointed resource display condition, not connecting an available network except the mobile network, and acquiring and displaying cached appointed resource information. In addition, under the condition that the terminal connection network is limited, the user can also browse the resource information in the application program normally, so that the user experience is improved, and the user requirements are met.
In an optional implementation manner, in a case that the terminal satisfies the specified resource display condition, before the obtaining and displaying the cached specified resource information, the information processing method provided by the present disclosure may further include:
outputting prompt information to confirm whether the cached specified resource information is displayed or not by a user;
and acquiring and displaying the cached specified resource information in response to receiving a confirmation instruction for representing that the user agrees to display the specified resource information.
And when the terminal meets the specified resource display condition, outputting prompt information on an interface of the application program so as to confirm whether the cached specified resource information is displayed by the user. For example, the prompt message may prompt the user in a pop-up mode, where the prompt message may be, for example, "the current traffic is insufficient, the available network is not connected, a part of the resource information is cached for you in advance, and please confirm whether to continue browsing", and it should be noted that the content of the prompt message is merely an example. For example, if the user clicks the confirmation button, that is, receives a confirmation instruction for indicating that the user agrees to display the specified resource information, the cached specified resource information may be acquired and displayed.
Therefore, on one hand, the user can know that the specified resource information in the application program is cached for the user in advance, and under the condition that the online is limited, the user can browse the resources in the application program, so that the user experience is improved, and on the other hand, the user selects whether to browse the cached specified resource information or not, so that the user requirements are further met.
In the present disclosure, the specified resource information may include at least one of the following (1) to (3).
(1) Resource information in the application set by the user.
The user can preset which resource information in the cache application program according to the self requirement. For example, for music type applications, the user may preset songs to be cached, and for video type applications, the user may preset videos to be cached.
(2) And in the process that the terminal is currently connected with the available network, the user implements the operated resource information in the application program.
Illustratively, the operation performed by the user may be a click, favorite, like, attention, etc. operation. In the process that the terminal is currently connected with the available network, when the user uses the application program, the user can operate the resource in which the user is interested, and then the resource information of the user operating in the application program can be cached.
(3) And determining the resource information of the user preference according to the historical operation information of the application program.
The historical operation information of the user for the application program may include operation performed by the user when the user uses the application program for a preset historical period (e.g., a past week or a past month), such as historical operation information of clicking, collecting, and the like. Therefore, the resource information preferred by the user is cached, and the cached specified resource information can meet the requirements of the user.
Through the scheme, the cached specified resource information can comprise at least one of the (1) to (3), so that the cached specified resource information can meet the requirements of the user, and thus, when the terminal meets the specified resource display condition, the specified resource information displayed by the application program is the information which is interested by the user, and the user experience can be further improved.
In an embodiment of the present disclosure, the first traffic feedback information may be actively sent by an operating system of the terminal when the current remaining mobile network traffic is smaller than a first preset traffic threshold. That is, when the operating system determines that the current remaining mobile network traffic is smaller than the first preset traffic threshold, the operating system may actively send the first traffic feedback information to the application program, and if the application program is in the running state, the operating system may receive the first traffic feedback information actively sent by the operating system.
If the operating system actively sends the first traffic feedback information to the application program, the application program is in a dormant state, the application program may not receive the first traffic feedback information actively sent by the operating system, and the application program may send query information when starting, so as to obtain the remaining situation of the mobile network traffic of the terminal from the operating system.
In another embodiment, the first traffic feedback information may be sent by the operating system to the application program upon receiving the first query information sent by the application program. In this embodiment, the information processing method provided by the present disclosure may further include:
sending first query information to an operating system of the terminal, wherein the first query information is used for querying whether the current remaining mobile network flow is smaller than a first preset flow threshold value;
receiving flow feedback information sent by an operating system, wherein the flow feedback information comprises first flow feedback information or second flow feedback information, and the second flow feedback information is used for indicating that the current remaining mobile network flow is not less than a first preset flow threshold.
The application program can call the flow query interface when being started, so as to send first query information to the operating system, and the operating system can send flow feedback information to the application program under the condition that the operating system receives the first query information, wherein the flow feedback information can comprise first flow feedback information or second flow feedback information. If the application program receives the second traffic feedback information, it may characterize that the current remaining mobile network traffic of the terminal is sufficient, and if the application program receives the first traffic feedback information, S101 to S104 may be continuously performed.
In the above two embodiments, the first traffic feedback information received by the application program may be actively sent by the operating system of the terminal, or the application program may first send the first query information to the operating system, and then receive the traffic feedback information sent by the operating system.
In this disclosure, after the step of caching the specified resource information in the application program in S102, the information processing method provided in this disclosure may further include:
deleting the specified resource information in response to receiving the third flow feedback information. And the third flow feedback information is used for indicating that the current remaining mobile network flow of the terminal is greater than or equal to a second preset flow threshold.
When the remaining mobile network traffic of the terminal is insufficient, the user may perform a recharging operation of the mobile network traffic, or the new traffic becomes effective automatically after entering the next traffic counting period, and the remaining mobile network traffic of the terminal is greater than the second preset traffic threshold, which may indicate that the mobile network traffic of the terminal is sufficient. The second preset flow threshold is greater than the first preset flow threshold, and the second preset flow threshold can be preset. In one embodiment, the second predetermined flow threshold may be a predetermined fixed value. In another embodiment, the second preset flow threshold may be a threshold set by a user and may change with a change of the threshold set by the user, where the user may set both the first preset flow threshold and the second preset flow threshold, for example, the set second preset flow threshold may be greater than the first preset flow threshold, and the user may also modify and adjust the second preset flow threshold, which may change with a change of the threshold set by the user and better meet the user requirement.
In response to receiving the third flow feedback information, that is, the mobile network flow of the terminal is sufficient, the user can surf the internet through the mobile network flow, and may not need to browse the cached specified resource information any more, and then may delete the specified resource information, so that a part of the storage space of the terminal may be released, and waste and occupation of the storage space may be avoided.
In one embodiment, the third traffic feedback information may be actively sent by the operating system of the terminal when the current remaining mobile network traffic is greater than or equal to the second preset traffic threshold. That is, when the operating system determines that the current remaining mobile network traffic is greater than or equal to the second preset traffic threshold, the operating system may actively send third traffic feedback information to the application program, and if the application program is in the running state, the operating system may receive the third traffic feedback information actively sent by the operating system.
If the operating system actively sends the third flow feedback information to the application program, the application program is in a dormant state, the application program may not receive the third flow feedback information actively sent by the operating system, and the application program may send query information when starting, so as to know whether the mobile network flow is sufficient from the operating system.
In another embodiment, the third flow feedback information may be sent by the operating system to the application program when the second query information sent by the application program is received. In this embodiment, the information processing method provided by the present disclosure may further include:
sending second query information to an operating system of the terminal, wherein the second query information is used for querying whether the current remaining mobile network flow is greater than or equal to a second preset flow threshold value;
and receiving flow feedback information sent by the operating system, wherein the flow feedback information comprises third flow feedback information or fourth flow feedback information, and the fourth flow feedback information is used for indicating that the current remaining mobile network flow is smaller than a second preset flow threshold.
The operating system may send traffic feedback information to the application program when receiving the second query information, where the traffic feedback information may include third traffic feedback information or fourth traffic feedback information. If the application program receives the fourth flow feedback information, the current residual mobile network flow of the terminal can be represented to be still insufficient, the appointed resource information can be cached continuously, and if the application program receives the third flow feedback information, the appointed resource information can be deleted.
In the above two embodiments, the third flow feedback information received by the application program may be actively sent by the operating system of the terminal, or the application program may first send the second query information to the operating system, and then receive the flow feedback information sent by the operating system.
In this disclosure, in order to meet the user requirement, whether to perform the caching operation of the specified resource information may also be set by the user, before the step of caching the specified resource information in the application program in S102, the information processing method provided by this disclosure may further include:
acquiring user setting information, wherein the user setting information is used for indicating whether to perform specified resource caching operation or not;
and a step of executing the specified resource information in the cache application program under the condition that the user setting information indicates that the specified resource caching operation is carried out.
The application program can provide a user setting interface, the user setting interface can include an option of whether to perform the cache operation of the specified resource, and a user can autonomously select whether to perform the cache operation of the specified resource. For example, if the storage space of the terminal is small, the user may choose not to perform the caching operation of the specified resource in order to avoid occupying additional storage space, and if the user wants to browse the resource information in the application program under the condition that the internet access is limited, the user may choose to perform the caching operation of the specified resource.
Therefore, before caching the specified resource information, the user setting information can be obtained first, and if the user setting information indicates that the specified resource caching operation is performed, the specified resource information is cached according to the user requirement, and if the user setting information indicates that the specified resource caching operation is not performed, the specified resource information can not be cached. Therefore, whether the caching operation of the appointed resource information is carried out or not can be set by a user, before the appointed resource information is cached, the user setting information is firstly obtained, whether the appointed resource information in the application program is cached or not is determined according to the user setting information, and the user requirements are better met.
Based on the same inventive concept, the present disclosure also provides an information processing apparatus, and fig. 2 is a block diagram of an information processing apparatus according to an exemplary embodiment, and as shown in fig. 2, the apparatus 200 may include:
a first determining module 201, configured to determine, in response to receiving first traffic feedback information, whether a terminal is currently connected to an available network other than a mobile network, where the first traffic feedback information is used to indicate that a current remaining mobile network traffic of the terminal is smaller than a first preset traffic threshold;
a caching module 202, configured to cache, in a case that the terminal is currently connected to the available network, specified resource information in an application program;
a second determining module 203, configured to determine whether the terminal satisfies a specified resource display condition in response to the application being started, where the specified resource display condition includes: the current remaining mobile network flow is smaller than the first preset flow threshold value, and the terminal is not connected with the available network;
a display module 204, configured to obtain and display the cached specified resource information when the terminal meets the specified resource display condition.
By adopting the device 200, in response to receiving first traffic feedback information, it is determined whether the terminal is currently connected to an available network other than the mobile network, where the first traffic feedback information is used to indicate that the current remaining mobile network traffic of the terminal is smaller than a first preset traffic threshold, and specified resource information in the application program is cached under the condition that the terminal is currently connected to the available network, where the specified resource information is cached by using the available network, and the mobile network traffic of the terminal is not additionally consumed. The method comprises the steps of responding to the opening of an application program, determining whether a terminal meets an appointed resource display condition, representing that the mobile network flow of the terminal is insufficient under the condition that the terminal meets the appointed resource display condition, not connecting an available network except the mobile network, and acquiring and displaying cached appointed resource information. In addition, under the condition that the terminal connection network is limited, the user can also browse the resource information in the application program normally, so that the user experience is improved, and the user requirements are met.
Optionally, the apparatus 200 further comprises:
an output module, configured to, when the terminal meets the specified resource display condition, output a prompt message before the display module 204 obtains and displays the cached specified resource information, so that a user confirms whether to display the cached specified resource information;
the display module 204 is configured to obtain and display the cached specified resource information in response to receiving a confirmation instruction for indicating that the user agrees to display the specified resource information.
Optionally, the first traffic feedback information is actively sent by an operating system of the terminal when the current remaining mobile network traffic is smaller than the first preset traffic threshold; or
The apparatus 200 further comprises:
a first sending module, configured to send first query information to an operating system of the terminal, where the first query information is used to query whether the current remaining mobile network traffic is smaller than the first preset traffic threshold;
a first receiving module, configured to receive traffic feedback information sent by the operating system, where the traffic feedback information includes the first traffic feedback information or second traffic feedback information, and the second traffic feedback information is used to indicate that the current remaining mobile network traffic is not less than the first preset traffic threshold.
Optionally, the apparatus 200 further comprises:
a deleting module, configured to delete the specified resource information in response to receiving third flow feedback information after the caching module 202 caches the specified resource information in the application program, where the third flow feedback information is used to indicate that a current remaining mobile network flow of the terminal is greater than or equal to a second preset flow threshold.
Optionally, the third flow feedback information is actively sent by the operating system of the terminal when the current remaining mobile network flow is greater than or equal to the second preset flow threshold; or
The apparatus 200 further comprises:
a second sending module, configured to send second query information to an operating system of the terminal, where the second query information is used to query whether the current remaining mobile network traffic is greater than or equal to the second preset traffic threshold;
a second receiving module, configured to receive traffic feedback information sent by the operating system, where the traffic feedback information includes the third traffic feedback information or fourth traffic feedback information, and the fourth traffic feedback information is used to indicate that the current remaining mobile network traffic is smaller than the second preset traffic threshold.
Optionally, the apparatus 200 further comprises:
an obtaining module, configured to obtain user setting information before the caching module 202 caches specified resource information in an application program, where the user setting information is used to indicate whether to perform a specified resource caching operation;
the caching module 202 is configured to re-cache the specified resource information in the application program when the user setting information indicates that the specified resource caching operation is performed.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
The present disclosure also provides a computer-readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the information processing method provided by the present disclosure.
Fig. 3 is a block diagram illustrating an apparatus 800 for information processing according to an example embodiment. For example, the apparatus 800 may be a mobile phone, 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. 3, the apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the information processing methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 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.
Power component 806 provides power to the various components of device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 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 808 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 800 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 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational 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 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 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 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed status of the device 800, the relative positioning of components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration/deceleration of the device 800, and a change in the temperature of the device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 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 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 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 816 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 816 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 800 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 information processing methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the apparatus 800 to perform the information processing method described above 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 another exemplary embodiment, a computer program product is also provided, which contains a computer program executable by a programmable apparatus, the computer program having code portions for performing the above-mentioned information processing method when executed by the programmable apparatus.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. 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. An information processing method characterized by comprising:
determining whether a terminal is currently connected with an available network except a mobile network or not in response to receiving first traffic feedback information, wherein the first traffic feedback information is used for indicating that the current remaining mobile network traffic of the terminal is smaller than a first preset traffic threshold;
under the condition that the terminal is currently connected with the available network, caching specified resource information in an application program;
responding to the opening of the application program, and determining whether the terminal meets a specified resource display condition, wherein the specified resource display condition comprises: the current remaining mobile network flow is smaller than the first preset flow threshold value, and the terminal is not connected with the available network;
and under the condition that the terminal meets the specified resource display condition, acquiring and displaying the cached specified resource information.
2. The method according to claim 1, wherein in a case where the terminal satisfies the specified resource presentation condition, before obtaining and presenting the cached specified resource information, the method further comprises:
outputting prompt information to confirm whether the cached specified resource information is displayed or not by a user;
and acquiring and displaying the cached specified resource information in response to receiving a confirmation instruction for representing that the user agrees to display the specified resource information.
3. The method according to claim 1, wherein the first traffic feedback information is actively sent by an operating system of the terminal if the current remaining mobile network traffic is smaller than the first preset traffic threshold; or
The method further comprises the following steps:
sending first query information to an operating system of the terminal, wherein the first query information is used for querying whether the current remaining mobile network flow is smaller than the first preset flow threshold value;
receiving traffic feedback information sent by the operating system, where the traffic feedback information includes the first traffic feedback information or second traffic feedback information, where the second traffic feedback information is used to indicate that the current remaining mobile network traffic is not less than the first preset traffic threshold.
4. The method of claim 1, wherein the first predetermined flow threshold is a user-set threshold and varies with changes in the user-set threshold.
5. The method of claim 1, further comprising, after the step of caching specified resource information in the application program:
and in response to receiving third flow feedback information, deleting the specified resource information, wherein the third flow feedback information is used for indicating that the current remaining mobile network flow of the terminal is greater than or equal to a second preset flow threshold.
6. The method according to claim 5, wherein the third traffic feedback information is actively sent by an operating system of the terminal if the current remaining mobile network traffic is greater than or equal to the second preset traffic threshold; or
The method further comprises the following steps:
sending second query information to an operating system of the terminal, wherein the second query information is used for querying whether the current remaining mobile network flow is greater than or equal to a second preset flow threshold value;
receiving traffic feedback information sent by the operating system, where the traffic feedback information includes the third traffic feedback information or fourth traffic feedback information, and the fourth traffic feedback information is used to indicate that the current remaining mobile network traffic is smaller than the second preset traffic threshold.
7. The method of claim 5, wherein the second predetermined flow threshold is a user-set threshold and varies with changes in the user-set threshold.
8. The method of claim 1, further comprising, prior to the step of caching specified resource information in the application program:
acquiring user setting information, wherein the user setting information is used for indicating whether to perform specified resource caching operation or not;
and under the condition that the user setting information indicates that the specified resource caching operation is carried out, executing the specified resource information in the caching application program.
9. The method according to any of claims 1-8, wherein the specified resource information comprises at least one of:
resource information in the application program set by a user;
resource information of operation implemented by a user in the application program in the process that the terminal is currently connected with the available network;
and determining the resource information of the user preference according to the historical operation information of the application program.
10. An information processing apparatus characterized by comprising:
the terminal comprises a first determining module, a second determining module and a third determining module, wherein the first determining module is used for responding to received first traffic feedback information and determining whether the terminal is currently connected with an available network except a mobile network, and the first traffic feedback information is used for indicating that the current residual mobile network traffic of the terminal is smaller than a first preset traffic threshold;
the cache module is used for caching the appointed resource information in the application program under the condition that the terminal is currently connected with the available network;
a second determining module, configured to determine whether the terminal satisfies a specified resource display condition in response to the application being started, where the specified resource display condition includes: the current remaining mobile network flow is smaller than the first preset flow threshold value, and the terminal is not connected with the available network;
and the display module is used for acquiring and displaying the cached appointed resource information under the condition that the terminal meets the appointed resource display condition.
11. An information processing apparatus characterized by comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: performing the steps of the method of any one of claims 1 to 9.
12. A computer-readable storage medium, on which computer program instructions are stored, which program instructions, when executed by a processor, carry out the steps of the method according to any one of claims 1 to 9.
CN202110535288.2A 2021-05-17 2021-05-17 Information processing method, device and storage medium Active CN113259995B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110535288.2A CN113259995B (en) 2021-05-17 2021-05-17 Information processing method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110535288.2A CN113259995B (en) 2021-05-17 2021-05-17 Information processing method, device and storage medium

Publications (2)

Publication Number Publication Date
CN113259995A true CN113259995A (en) 2021-08-13
CN113259995B CN113259995B (en) 2023-08-04

Family

ID=77182242

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110535288.2A Active CN113259995B (en) 2021-05-17 2021-05-17 Information processing method, device and storage medium

Country Status (1)

Country Link
CN (1) CN113259995B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116155729A (en) * 2021-11-22 2023-05-23 荣耀终端有限公司 Network acceleration method based on user traffic portrayal and related electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580684A (en) * 2013-10-23 2015-04-29 中兴通讯股份有限公司 Flow control method and device
CN105635163A (en) * 2016-01-19 2016-06-01 努比亚技术有限公司 Resource acquisition method and device
CN107682552A (en) * 2017-09-30 2018-02-09 广东欧珀移动通信有限公司 Information processing method, device, mobile terminal and computer-readable recording medium
CN109062625A (en) * 2018-06-21 2018-12-21 北京小米移动软件有限公司 The method, apparatus and readable storage medium storing program for executing of application program load
CN110765383A (en) * 2019-10-21 2020-02-07 支付宝(杭州)信息技术有限公司 Resource caching method and device
EP3813326A1 (en) * 2019-11-22 2021-04-28 Baidu Online Network Technology (Beijing) Co., Ltd. Method and apparatus for processing webpage, device, and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580684A (en) * 2013-10-23 2015-04-29 中兴通讯股份有限公司 Flow control method and device
CN105635163A (en) * 2016-01-19 2016-06-01 努比亚技术有限公司 Resource acquisition method and device
CN107682552A (en) * 2017-09-30 2018-02-09 广东欧珀移动通信有限公司 Information processing method, device, mobile terminal and computer-readable recording medium
CN109062625A (en) * 2018-06-21 2018-12-21 北京小米移动软件有限公司 The method, apparatus and readable storage medium storing program for executing of application program load
CN110765383A (en) * 2019-10-21 2020-02-07 支付宝(杭州)信息技术有限公司 Resource caching method and device
EP3813326A1 (en) * 2019-11-22 2021-04-28 Baidu Online Network Technology (Beijing) Co., Ltd. Method and apparatus for processing webpage, device, and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116155729A (en) * 2021-11-22 2023-05-23 荣耀终端有限公司 Network acceleration method based on user traffic portrayal and related electronic equipment

Also Published As

Publication number Publication date
CN113259995B (en) 2023-08-04

Similar Documents

Publication Publication Date Title
CN106774774B (en) Method and device for displaying electric quantity of terminal battery
CN108040360B (en) Method and device for controlling screen display
CN105898032B (en) method and device for adjusting prompt tone
JP2017532700A (en) This application is filed on the basis of a Chinese patent application whose application number is CN20150946713.6 and the filing date is August 13, 2015, claiming priority of the Chinese patent application, The entire contents of the Chinese patent application are hereby incorporated herein by reference.
CN109600303B (en) Content sharing method and device and storage medium
CN107438811B (en) Information screen display method and device
CN110691268B (en) Message sending method, device, server, mobile terminal and storage medium
CN105898573B (en) Multimedia file playing method and device
CN108629178B (en) Resource access authority configuration method and device of application program
CN107220059B (en) Application interface display method and device
US20210165820A1 (en) Method and apparatus for recalling image file, control method and apparatus for recalling image file, and mobile terminal
CN105912204B (en) Method and device for starting application interface
CN112291631A (en) Information acquisition method, device, terminal and storage medium
CN111246278A (en) Video playing method and device, electronic equipment and storage medium
CN109525966B (en) Intelligent device query method and device and storage medium
CN108984098B (en) Information display control method and device based on social software
WO2021164588A1 (en) Data sharing method and device
CN107239307B (en) Version updating information display method and device
CN107436782B (en) Application silent installation method and device
CN106990984B (en) Method and device for updating system
CN106506808B (en) Method and device for prompting communication message
CN113259995B (en) Information processing method, device and storage medium
CN105786561B (en) Method and device for calling process
CN107241439B (en) Message pushing method and device for H5 page
CN112087544B (en) Prompting 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