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

Information processing method, device and storage medium Download PDF

Info

Publication number
CN113259995B
CN113259995B CN202110535288.2A CN202110535288A CN113259995B CN 113259995 B CN113259995 B CN 113259995B CN 202110535288 A CN202110535288 A CN 202110535288A CN 113259995 B CN113259995 B CN 113259995B
Authority
CN
China
Prior art keywords
information
flow
terminal
feedback information
application program
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
CN202110535288.2A
Other languages
Chinese (zh)
Other versions
CN113259995A (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

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)
  • Telephone Function (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present disclosure relates to an information processing method, apparatus, and storage medium, the method including: determining whether the terminal is currently connected with an available network except the mobile network or not in response to receiving first flow feedback information, wherein 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; under the condition that the terminal is currently connected with an available network, the appointed resource information in the application program is cached; in response to the application being opened, determining whether the terminal satisfies specified resource exposure conditions, the specified resource exposure conditions including: the current residual mobile network flow is smaller than a first preset flow threshold, 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. Through the technical scheme, under the condition that the terminal connection network is limited, the user can normally browse the resource information in the application program, 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, an information processing device, and a storage medium.
Background
With the increasing popularity 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 various information on the network. Mobile network traffic purchased by users is typically limited, e.g., traffic packets in tariff packages typically have a 1Gb to tens of Gb traffic, and if the remaining mobile network traffic is insufficient, user surfing is limited, thereby affecting users' browsing of 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 an embodiment of the present disclosure, there is provided an information processing method including:
determining whether the terminal is currently connected with an available network except a mobile network or not according to received first flow feedback information, wherein 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;
under the condition that the terminal is currently connected with the available network, the appointed resource information in the application program is cached;
In response to the application being opened, determining whether the terminal meets a specified resource exposure condition, wherein the specified resource exposure condition comprises: the current residual mobile network flow is smaller than the first preset flow threshold, 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 the case that the terminal meets the specified resource display condition, before acquiring 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 responding to receiving 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 the operating system of the terminal when the current remaining mobile network traffic is smaller than the first preset traffic threshold; or alternatively
The method further comprises the steps of:
sending first query information to an operating system of the terminal, wherein the first query information is used for querying whether the current residual mobile network flow is smaller than a first preset flow threshold;
And receiving flow feedback information sent by the operating system, wherein the flow feedback information comprises the first flow feedback information or second flow feedback information, and the second flow feedback information is used for indicating that the current residual mobile network flow is not smaller than the first preset flow threshold.
Optionally, the first preset flow threshold is a threshold set by a user and is changed according to the change of the threshold set by the user.
Optionally, after the step of caching the specified resource information in the application program, the method further includes:
and deleting the specified resource information in response to receiving third flow feedback 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.
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 alternatively
The method further comprises the steps of:
sending second query information to an operating system of the terminal, wherein the second query information is used for querying whether the current residual mobile network flow is greater than or equal to the second preset flow threshold;
And receiving flow feedback information sent by the operating system, wherein the flow feedback information comprises the third flow feedback information or fourth flow feedback information, and the fourth flow feedback information is used for indicating that the current residual mobile network flow is smaller than the second preset flow threshold.
Optionally, the second preset flow threshold is a threshold set by a user and is changed according to the 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 executing the designated resource information in the cache application program under the condition that the user setting information indicates to perform the designated resource cache operation.
Optionally, the specified resource information includes at least one of:
resource information in the application program set by a user;
in the process that the terminal is currently connected with the available network, the user implements the resource information of operation in the application program;
and resource information of user preference determined according to the historical operation information of the user for the application program.
According to a second aspect of the embodiments of the present disclosure, there is provided an information processing apparatus including:
the first determining module is used for determining whether the terminal is connected with an available network except a mobile network or not currently in response to receiving first flow feedback information, wherein 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;
the caching module is used for caching the appointed resource information in the application program under the condition that the terminal is connected with the available network currently;
and a second determining module, configured to determine, in response to the application program being turned on, whether the terminal meets a specified resource display condition, where the specified resource display condition includes: the current residual mobile network flow is smaller than the first preset flow threshold, and the terminal is not connected with the available network;
and the display module is used for acquiring and displaying the cached specified resource information under the condition that the terminal meets the specified 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 as to confirm whether the cached specified resource information is displayed or not by a user;
The display module is used for responding to the receiving of a confirmation instruction for representing that the user agrees to display the specified resource information, and obtaining and displaying the cached specified resource information.
Optionally, the first traffic feedback information is actively sent by the operating system of the terminal when the current remaining mobile network traffic is smaller than the first preset traffic threshold; or alternatively
The apparatus further comprises:
the first sending module is used for sending first query information to an operating system of the terminal, wherein the first query information is used for querying whether the current residual mobile network flow is smaller than the first preset flow threshold;
the first receiving module is configured to receive flow feedback information sent by the operating system, where the flow feedback information includes the first flow feedback information or second flow feedback information, and the second flow feedback information is used to indicate that the current remaining mobile network flow is not less than the first preset flow threshold.
Optionally, the apparatus further comprises:
and the deleting module is used for deleting the appointed resource information in response to receiving third flow feedback information after the appointed resource information in the application program is cached by the caching module, 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.
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 alternatively
The apparatus further comprises:
the second sending module is used for sending second query information to an operating system of the terminal, wherein the second query information is used for querying whether the current residual mobile network flow is greater than or equal to the second preset flow threshold;
the second receiving module is configured to receive flow feedback information sent by the operating system, where the flow feedback information includes the third flow feedback information or fourth flow feedback information, and the fourth flow feedback information is used to indicate that the current remaining mobile network flow is smaller than the second preset flow threshold.
Optionally, the apparatus further comprises:
the acquisition module is used for acquiring user setting information before the caching module caches the appointed resource information in the application program, wherein the user setting information is used for indicating whether to perform the appointed resource caching operation or not;
the caching module is used for caching the appointed resource information in the application program again under the condition that the user setting information indicates to perform the appointed resource caching operation.
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: steps of the information processing method provided in 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 comprise the following beneficial effects:
by means of the technical scheme, whether the terminal is connected with the available network except the mobile network or not is determined in response to receiving the first flow feedback information, wherein 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, and the appointed resource information in the application program is cached under the condition that the terminal is connected with the available network currently, and the available network is utilized to cache the appointed resource information, so that the mobile network flow of the terminal is not consumed additionally. And responding to the opened application program to determine whether the terminal meets the specified resource display condition, wherein the terminal can be characterized as insufficient mobile network traffic of the terminal under the condition that the terminal meets the specified resource display condition, and can acquire and display cached specified resource information without connecting an available network except the mobile network. And under the condition that the terminal connection network is limited, the user can normally browse the resource information in the application program, 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 disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating an information processing method according to an exemplary embodiment.
Fig. 2 is a block diagram of an information processing apparatus according to an exemplary embodiment.
Fig. 3 is a block diagram of an information processing apparatus according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
As described in the background, the mobile network traffic purchased by the user is generally 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 of the terminal when the traffic is exhausted, so that the terminal cannot be connected to the network, and the way leads to that the user cannot browse information on the network, so that the user is influenced to use the terminal normally. 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 excess traffic requires additional billing if the user continues to surf the internet, which would bring additional cost. Therefore, the processing modes in the related art all affect the internet surfing experience of the user.
In view of this, the disclosure provides an information processing method, an information processing device, and a storage medium, which can enable a user to browse resource information in an application program normally under the condition that a terminal connection network is limited, thereby improving user experience and meeting user requirements.
Fig. 1 is a flowchart illustrating an information processing method according to an exemplary embodiment, which is applicable to an application installed in a terminal, and which may include S101 to S104 as shown in fig. 1.
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 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. The current residual mobile network traffic of the terminal is smaller than a first preset traffic threshold, which can be used for representing that the residual mobile network traffic of the terminal is insufficient, and the mobile network traffic is about to be exhausted or exhausted. The first preset flow threshold may be pre-calibrated. In an alternative embodiment, the first preset flow threshold may be a pre-calibrated fixed value. In another optional implementation manner, the first preset flow threshold may be a threshold set by a user and varies with a change of the threshold set by the user, where a system of the terminal may include an option of setting the first preset flow threshold by the user, the user may set the first preset flow threshold, and may also modify and adjust the first preset flow threshold, and the first preset flow threshold may vary with a change of the threshold set by the user, so as to better meet a user requirement. In addition, a terminal in the present disclosure may refer to any terminal device such as a mobile phone, a tablet computer, a vehicle-mounted computer, and the like.
The operating system of the terminal may determine whether the current remaining mobile network traffic of the terminal is less than a first preset traffic threshold, for example, the operating system may determine according to a traffic sms notification sent by an operator, and when determining that the current remaining mobile network traffic is less than the first preset traffic threshold, the operating system may actively send first traffic feedback information to an application in the terminal, where the first traffic feedback information may be sent in a broadcast message. If the application is in an operating state, such as a foreground operating state or a background operating state, when the operating system actively transmits the first flow feedback information, the application may receive the first flow feedback information actively transmitted 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, etc. 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 case that the terminal is currently connected to an available network, designated resource information in the application program is cached.
If the terminal is currently connected to an available network other than the mobile network, the application program can buffer the designated resource information in the application program by using the available network, and the mobile network traffic of the terminal is not additionally consumed because the designated resource information is buffered by using the available network. 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 started, it is determined whether the terminal satisfies a specified resource presentation condition.
When the user opens the application program, the user is characterized to want to browse the resource information in the application program, and at this time, the application program can determine whether the terminal meets the specified resource display condition, and the specified resource display condition can include: the current residual mobile network traffic is less than a first preset traffic threshold and the terminal is not connected to the available network.
The available network connected to the terminal in S102 may be only available within a certain area, for example, a Wi-Fi network, and cannot be connected if the available network is beyond the coverage of the Wi-Fi network, when the user opens the application again, the terminal may not be connected to the available network, and the current remaining mobile network traffic of the terminal is less than a first preset traffic threshold, where the terminal belongs to meeting the specified resource display condition.
In S104, in the case that the terminal satisfies the specified resource display condition, the cached specified resource information is acquired and displayed.
Under the condition that the terminal meets the specified resource display condition, the mobile network flow of the terminal can be characterized as insufficient, and the terminal is not connected with an available network except the mobile network, the terminal can possibly not access the internet, the user opens the application program to browse the resource information in the application program, and the application program can acquire and display the cached specified resource information at the moment, 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 requirements are met.
In addition, because the appointed resource information is cached in the local terminal in advance, when the application program displays the cached appointed resource information, the application program does not need to be connected with a network, can display the appointed resource information under the condition of no network, and does not consume the mobile network traffic of the terminal additionally.
By means of the technical scheme, whether the terminal is connected with the available network except the mobile network or not is determined in response to receiving the first flow feedback information, wherein 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, and the appointed resource information in the application program is cached under the condition that the terminal is connected with the available network currently, and the available network is utilized to cache the appointed resource information, so that the mobile network flow of the terminal is not consumed additionally. And responding to the opened application program to determine whether the terminal meets the specified resource display condition, wherein the terminal can be characterized as insufficient mobile network traffic of the terminal under the condition that the terminal meets the specified resource display condition, and can acquire and display cached specified resource information without connecting an available network except the mobile network. And under the condition that the terminal connection network is limited, the user can normally browse the resource information in the application program, so that the user experience is improved, and the user requirements are met.
In an optional embodiment, in a case that the terminal meets the specified resource display condition, before 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.
Under the condition that the terminal meets the specified resource display condition, prompt information can be output on an interface of the application program so as to confirm whether the cached specified resource information is displayed or not by a user. For example, the prompt information may prompt the user in a popup window manner, where the prompt information may be, for example, "the current traffic is insufficient, and the available network is not connected, a part of resource information is cached in advance for you, and whether to continue browsing is confirmed, and it should be noted that the content of the prompt information is merely an example. For example, the user clicks the confirm button, that is, a confirm instruction for indicating that the user agrees to display the specified resource information is received, and the cached specified resource information may be acquired and displayed.
Therefore, on one hand, the user can know that the information of the appointed resource in the application program is cached in advance, and can browse the resource in the application program under the condition of limited internet surfing, so that the user experience is improved, and on the other hand, the user selects whether to browse the cached information of the appointed resource, so that the user requirement is 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 program set by the user.
The user can preset which resource information in the cache application program according to the self requirement. For example, for a music class application, a user may preset songs that need to be cached, and for a video class application, a user may preset videos that need to be cached.
(2) In the process that the terminal is currently connected with the available network, the user performs the resource information of the operation in the application program.
By way of example, the user-implemented operation may be a click, collection, praise, attention, etc. operation. When the user uses the application program in the process that the terminal is currently connected with the available network, the user can operate the resource which is interested in the user, and then the resource information of the user which operates in the application program can be cached.
(3) Resource information of user preference determined according to historical operation information of the user for the application program.
The historical operation information of the user for the application program can comprise operation performed by the user when the application program is used in a preset historical period (such as the past week or month, etc.), such as clicking, collecting, etc., and the resource information preferred by the user can be determined according to the historical operation information of the user, for example, the resource information with more historical operation performed by the user is used as the resource information preferred by the user. Therefore, the resource information preferred by the user is cached, so that the cached appointed resource information can meet the requirement of the user.
Through the scheme, the cached specified resource information can comprise at least one of the above (1) to (3), so that the cached specified resource information meets the requirements of users, and when the terminal meets the specified resource display conditions, the specified resource information displayed by the application program is the information interested by the users, and the user experience can be further improved.
In this disclosure, in an embodiment, the first traffic feedback information may be actively sent by the operating system of the terminal when the current remaining mobile network traffic is less than a first preset traffic threshold. When the operating system judges that the current residual mobile network flow is smaller than a first preset flow threshold, the operating system can actively send first flow feedback information to the application program, and if the application program is in an operating state, the operating system can receive the first flow feedback information actively sent by the operating system.
If the operating system actively transmits 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 transmitted by the operating system, and the application program may transmit query information at the time of starting to obtain the remaining condition of the mobile network traffic of the terminal from the operating system.
In another embodiment, the first traffic feedback information may be sent to the application by the operating system upon receiving first query information sent by the application. 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 residual mobile network flow is smaller than a first preset flow threshold value;
and 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 residual mobile network flow is not smaller than a first preset flow threshold.
The application program can call the flow inquiry interface when being started, so that first inquiry information is sent to the operating system, the operating system can send flow feedback information to the application program under the condition that the first inquiry information is received, and the flow feedback information can comprise first flow feedback information or second flow feedback information. If the application receives the second flow feedback information, the current remaining mobile network flow of the terminal may be characterized as sufficient, and if the application receives the first flow feedback information, S101 to S104 may be continued to be performed.
In the above two embodiments, the first 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 first query information to the operating system and then receive the flow feedback information sent by the operating system.
In the present disclosure, after the step of caching the specified resource information in the application in S102, the information processing method provided in the present disclosure may further include:
and deleting the specified resource information in response to receiving the third flow feedback information. 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.
When the residual mobile network traffic of the terminal is insufficient, the user may perform recharging operation of the mobile network traffic, or the new traffic automatically takes effect after entering the next traffic statistics period, and the residual mobile network traffic of the terminal is greater than a second preset traffic threshold value, so that the mobile network traffic of the terminal can be represented to be sufficient. The second preset flow threshold is greater than the first preset flow threshold, and the second preset flow threshold can be preset. In an embodiment, the second preset flow threshold may be a fixed value that is pre-calibrated. In another embodiment, the second preset flow threshold may be a threshold set by the user and varies with a change of the threshold set by the user, where the user may set the first preset flow threshold, or may set 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 modify and adjust the second preset flow threshold, where the second preset flow threshold may vary with a change of the threshold set by the user, and better meets a 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 possibly does not need to browse the cached designated resource information any more, the designated resource information can be deleted, so that part of the storage space of the terminal can be released, and the waste and occupation of the storage space are avoided.
In an embodiment, the third flow feedback information may be 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. When the operating system judges that the current residual mobile network flow is greater than or equal to the second preset flow threshold, the operating system can actively send third flow feedback information to the application program, and if the application program is in an operating state, the operating system can receive the third flow feedback information actively sent by the operating system.
If the operating system actively transmits the third flow feedback information to the application program, the application program is in a dormant state, and the application program may not receive the third flow feedback information actively transmitted by the operating system, and the application program may transmit query information at the time of starting to obtain whether the mobile network flow is sufficient from the operating system.
In another embodiment, the third flow feedback information may be sent to the application by the operating system upon receiving the second query information sent by the application. 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 residual mobile network flow is greater than or equal to a second preset flow threshold;
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 residual mobile network flow is smaller than a second preset flow threshold.
And the operating system can send flow feedback information to the application program under the condition of receiving the second query information, wherein the flow feedback information can comprise third flow feedback information or fourth flow 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 insufficient, the designated resource information can be continuously cached, and if the application program receives the third flow feedback information, the designated 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, and before the step of caching the specified resource information in the application in S102, the information processing method provided in 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 executing the step of caching the specified resource information in the application program in the case that the user setting information indicates to perform the specified resource caching operation.
The application program can provide a user setting interface, wherein the user setting interface can comprise an option of whether to perform the caching operation of the designated resource, and the user can autonomously select whether to perform the caching operation of the designated resource. For example, if the storage space of the terminal is small, in order to avoid the extra occupation of the storage space, the user may choose not to perform the caching operation of the specified resource, and if the user wants to browse the resource information in the application program under the condition that surfing is limited, the user may choose to perform the caching operation of the specified resource.
Therefore, before the specified resource information is cached, the user setting information can be firstly obtained, 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 specified resource information is cached or not can be set by the user, before the specified resource information is cached, the user setting information is firstly obtained, whether the specified resource information in the application program is cached or not is determined according to the user setting information, and the requirements of the user are met.
Based on the same inventive concept, the present disclosure also provides an information processing apparatus, 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 less than a first preset traffic threshold;
A caching module 202, configured to cache specified resource information in an application program in a case where the terminal is currently connected to the available network;
a second determining module 203, configured to determine, in response to the application program being turned on, whether the terminal meets a specified resource exhibition condition, where the specified resource exhibition condition includes: the current residual mobile network flow is smaller than the first preset flow threshold, and the terminal is not connected with the available network;
and the display module 204 is configured to acquire and display the cached specified resource information when the terminal meets the specified resource display condition.
With the above apparatus 200, 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, where the first traffic feedback information is used to indicate that the current remaining mobile network traffic of the terminal is less than the first preset traffic threshold, and in the case that the terminal is currently connected to the available network, the specified resource information in the application program is cached, where the available network is used to cache the specified resource information, and the mobile network traffic of the terminal is not additionally consumed. And responding to the opened application program to determine whether the terminal meets the specified resource display condition, wherein the terminal can be characterized as insufficient mobile network traffic of the terminal under the condition that the terminal meets the specified resource display condition, and can acquire and display cached specified resource information without connecting an available network except the mobile network. And under the condition that the terminal connection network is limited, the user can normally browse the resource information in the application program, so that the user experience is improved, and the user requirements are met.
Optionally, the apparatus 200 further includes:
the output module is configured to output prompt information 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 if the terminal meets the specified resource display condition;
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 the operating system of the terminal when the current remaining mobile network traffic is smaller than the first preset traffic threshold; or alternatively
The apparatus 200 further comprises:
the first sending module is used for sending first query information to an operating system of the terminal, wherein the first query information is used for querying whether the current residual mobile network flow is smaller than the first preset flow threshold;
the first receiving module is configured to receive flow feedback information sent by the operating system, where the flow feedback information includes the first flow feedback information or second flow feedback information, and the second flow feedback information is used to indicate that the current remaining mobile network flow is not less than the first preset flow threshold.
Optionally, the apparatus 200 further includes:
and a deleting module, configured to delete the specified resource information in response to receiving third flow feedback information after the specified resource information in the application program is cached by the caching module 202, where the third flow feedback information is used to indicate 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 alternatively
The apparatus 200 further comprises:
the second sending module is used for sending second query information to an operating system of the terminal, wherein the second query information is used for querying whether the current residual mobile network flow is greater than or equal to the second preset flow threshold;
the second receiving module is configured to receive flow feedback information sent by the operating system, where the flow feedback information includes the third flow feedback information or fourth flow feedback information, and the fourth flow feedback information is used to indicate that the current remaining mobile network flow is smaller than the second preset flow threshold.
Optionally, the apparatus 200 further includes:
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 to perform the specified resource caching operation.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
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 exemplary embodiment. For example, apparatus 800 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 3, 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 apparatus 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the information processing methods described above. Further, the processing component 802 can include one or more modules that facilitate interactions 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 the device 800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 804 may be implemented by any type or combination of volatile or nonvolatile 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 disk.
The power component 806 provides power to the various components of the 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 between the device 800 and the user that provides an output interface. 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 input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 800 is in an operational mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
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 device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 further 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 a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 814 includes one or more sensors for providing status assessment of various aspects of the apparatus 800. For example, the sensor assembly 814 may detect an on/off state of the device 800, a relative positioning of the components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, an orientation or acceleration/deceleration of the device 800, and a change in temperature of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects 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 gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communication between the apparatus 800 and other devices, either 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 one exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one 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, microcontrollers, microprocessors, or other electronic elements for executing the information processing methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 804 including instructions executable by processor 820 of apparatus 800 to perform the above-described information processing method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
In another exemplary embodiment, a computer program product is also provided, which comprises a computer program executable by a programmable apparatus, the computer program having code portions for performing the above-mentioned information processing method when being 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 adaptations, 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 is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. An information processing method, characterized by comprising:
determining whether the terminal is currently connected with an available network except a mobile network or not according to received first flow feedback information, wherein 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; the first flow feedback information is actively sent by the operating system of the terminal in the form of a broadcast message under the condition that the current residual mobile network flow is judged to be smaller than the first preset flow threshold, or is sent to the application program under the condition that the operating system receives first query information sent by the application program;
Under the condition that the terminal is currently connected with the available network, the appointed resource information in the application program is cached;
in response to the application being opened, determining whether the terminal meets a specified resource exposure condition, wherein the specified resource exposure condition comprises: the current residual mobile network flow is smaller than the first preset flow threshold, and the terminal is not connected with the available network;
acquiring and displaying the cached specified resource information under the condition that the terminal meets the specified resource display condition;
after the step of caching the specified resource information in the application program, the method further comprises:
and deleting the specified resource information in response to receiving third flow feedback 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, and the third flow feedback information is actively sent by an operating system of the terminal under the condition that the current residual mobile network flow is greater than or equal to the second preset flow threshold, or is sent to an application program under the condition that second query information sent by the application program is received by the operating system.
2. The method according to claim 1, wherein in case the terminal satisfies the specified resource exhibition condition, before acquiring and exhibiting 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 responding to receiving a confirmation instruction for representing that the user agrees to display the specified resource information, and acquiring and displaying the cached specified resource information.
3. The method according to claim 1, wherein the method further comprises:
the first query information is sent to an operating system of the terminal and is used for querying whether the current residual mobile network flow is smaller than the first preset flow threshold;
and receiving flow feedback information sent by the operating system, wherein the flow feedback information comprises the first flow feedback information or second flow feedback information, and the second flow feedback information is used for indicating that the current residual mobile network flow is not smaller than the first preset flow threshold.
4. The method of claim 1, wherein the first preset flow threshold is a user-set threshold and varies as a function of the user-set threshold.
5. The method according to claim 1, wherein the method further comprises:
sending the second query information to an operating system of the terminal, wherein the second query information is used for querying whether the current residual mobile network traffic is greater than or equal to the second preset traffic threshold;
and receiving flow feedback information sent by the operating system, wherein the flow feedback information comprises the third flow feedback information or fourth flow feedback information, and the fourth flow feedback information is used for indicating that the current residual mobile network flow is smaller than the second preset flow threshold.
6. The method of claim 1, wherein the second preset flow threshold is a user-set threshold and varies as a function of the user-set threshold.
7. The method of claim 1, further comprising, prior to the step of caching specified resource information in the application:
acquiring user setting information, wherein the user setting information is used for indicating whether to perform specified resource caching operation or not;
and executing the designated resource information in the cache application program under the condition that the user setting information indicates to perform the designated resource cache operation.
8. The method of any of claims 1-7, wherein the specified resource information comprises at least one of:
resource information in the application program set by a user;
in the process that the terminal is currently connected with the available network, the user implements the resource information of operation in the application program;
and resource information of user preference determined according to the historical operation information of the user for the application program.
9. An information processing apparatus, characterized by comprising:
the first determining module is used for determining whether the terminal is connected with an available network except a mobile network or not currently in response to receiving first flow feedback information, wherein 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; the first flow feedback information is actively sent by the operating system of the terminal in the form of a broadcast message under the condition that the current residual mobile network flow is judged to be smaller than the first preset flow threshold, or is sent to the application program under the condition that the operating system receives first query information sent by the application program;
The caching module is used for caching the appointed resource information in the application program under the condition that the terminal is connected with the available network currently;
and a second determining module, configured to determine, in response to the application program being turned on, whether the terminal meets a specified resource display condition, where the specified resource display condition includes: the current residual mobile network flow is smaller than the first preset flow threshold, and the terminal is not connected with the available network;
the display module is used for acquiring and displaying the cached specified resource information under the condition that the terminal meets the specified resource display condition;
the apparatus further comprises:
and the deleting module is used for deleting the appointed resource information in response to receiving third flow feedback information after the appointed resource information in the application program is cached by the caching module, 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, and the third flow feedback information is actively sent by an operating system of the terminal under the condition that the current residual mobile network flow is greater than or equal to the second preset flow threshold value, or is sent to the application program under the condition that the operating system receives second query information sent by the application program.
10. 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 8.
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 CN113259995A (en) 2021-08-13
CN113259995B true 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)

Families Citing this family (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

Also Published As

Publication number Publication date
CN113259995A (en) 2021-08-13

Similar Documents

Publication Publication Date Title
CN108040360B (en) Method and device for controlling screen display
US20180121040A1 (en) Method and device for managing notification messages
CN107438811B (en) Information screen display method and device
CN107193606B (en) Application distribution method and device
CN107203398B (en) Application distribution method and device
CN110691268B (en) Message sending method, device, server, mobile terminal and storage medium
CN109600303B (en) Content sharing method and device and storage medium
CN106201734B (en) File sharing method and device
WO2016045277A1 (en) Method, device, and system for information acquisition
CN105898573B (en) Multimedia file playing method and device
CN109324846B (en) Application display method and device and storage medium
CN109451341B (en) Video playing method, video playing device, electronic equipment and storage medium
CN107220059B (en) Application interface display method and device
WO2021164588A1 (en) Data sharing method and device
CN108984098B (en) Information display control method and device based on social software
CN113259995B (en) Information processing method, device and storage medium
CN110636318A (en) Message display method, message display device, client device, server and storage medium
CN107295167B (en) Information display method and device
CN107239307B (en) Version updating information display method and device
CN106506808B (en) Method and device for prompting communication message
CN105786561B (en) Method and device for calling process
CN107241439B (en) Message pushing method and device for H5 page
EP3185515B1 (en) Method and device for inputting information
CN110677470B (en) Service information pushing method and device and computer readable storage medium
CN109714247B (en) Group chat information processing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant