CN117742925A - Data processing method and device, electronic equipment and storage medium - Google Patents

Data processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117742925A
CN117742925A CN202311830544.6A CN202311830544A CN117742925A CN 117742925 A CN117742925 A CN 117742925A CN 202311830544 A CN202311830544 A CN 202311830544A CN 117742925 A CN117742925 A CN 117742925A
Authority
CN
China
Prior art keywords
target
function module
functional module
module
total
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.)
Pending
Application number
CN202311830544.6A
Other languages
Chinese (zh)
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202311830544.6A priority Critical patent/CN117742925A/en
Publication of CN117742925A publication Critical patent/CN117742925A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Stored Programmes (AREA)

Abstract

The disclosure provides a data processing method, a device, an electronic device and a storage medium, wherein the method comprises the following steps: based on the target identification of the target functional module, confirming whether the total use time of the target functional module is exhausted; if the total service time of the target functional module is not exhausted, responding to an operation instruction of the target functional module to operate the target functional module; wherein the target functional module is a functional module of a target application program; if the target function module is a first function module, the total using time length of the target function module is a first time length; if the target function module is a second function module, the total using time length of the target function module is a second time length; the first function module and the second function module are used for realizing different functions of the target application program, and the first duration is the same as or different from the second duration.

Description

Data processing method and device, electronic equipment and storage medium
Technical Field
The disclosure relates to the technical field of electronic equipment, and in particular relates to a data processing method, a data processing device, electronic equipment and a storage medium.
Background
With the continuous development of technology, electronic equipment has become an indispensable part of people in daily life and work, so that the efficiency of work and research and development is accelerated; accordingly, electronic devices also provide users with a wide variety of entertainment means, such as games, social media, video, and music. However, overuse of these entertainment functions also results in a significant amount of time being wasted by the user, especially for those users with poor dexterity.
Disclosure of Invention
The present disclosure provides a data processing method, apparatus, electronic device, and storage medium, to at least solve the problem that user self-control is poor, and time and effort are largely consumed in the electronic device.
According to a first aspect of the present disclosure, there is provided a data processing method comprising:
based on the target identification of the target functional module, confirming whether the total use time of the target functional module is exhausted;
if the total service time of the target functional module is not exhausted, responding to an operation instruction of the target functional module to operate the target functional module;
wherein the target functional module is a functional module of a target application program;
if the target function module is a first function module, the total using time length of the target function module is a first time length;
if the target function module is a second function module, the total using time length of the target function module is a second time length;
the first function module and the second function module are used for realizing different functions of the target application program, and the first duration is the same as or different from the second duration.
According to a second aspect of the present disclosure, there is provided a data processing apparatus comprising:
a confirmation unit, configured to confirm whether the total usage time of the target function module is exhausted based on a target identifier of the target function module;
an operation unit for operating the target function module in response to an operation instruction of the target function module if the total usage time of the target function module is not exhausted;
wherein the target functional module is a functional module of a target application program;
if the target function module is a first function module, the total using time length of the target function module is a first time length;
if the target function module is a second function module, the total using time length of the target function module is a second time length;
the first function module and the second function module are used for realizing different functions of the target application program, and the first duration is the same as or different from the second duration.
According to a third aspect of the present disclosure, there is provided an electronic device comprising:
at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the methods described in the present disclosure.
According to a fourth aspect of the present disclosure, there is provided a non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of the present disclosure.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
The above, as well as additional purposes, features, and advantages of exemplary embodiments of the present disclosure will become readily apparent from the following detailed description when read in conjunction with the accompanying drawings. Several embodiments of the present disclosure are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings, in which:
in the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
FIG. 1 is a schematic diagram of a first alternative flow of a data processing method provided by an embodiment of the present disclosure;
FIG. 2 is a schematic diagram showing a second alternative flow of a data processing method according to an embodiment of the present disclosure
FIG. 3 shows a third alternative flow diagram of a data processing method provided by an embodiment of the present disclosure;
FIG. 4 shows a fourth alternative flow diagram of a data processing method provided by an embodiment of the present disclosure;
FIG. 5 shows an alternative architecture diagram of a data processing apparatus provided by an embodiment of the present disclosure;
fig. 6 shows a schematic diagram of a composition structure of an electronic device according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, features and advantages of the present disclosure more comprehensible, the technical solutions in the embodiments of the present disclosure will be clearly described in conjunction with the accompanying drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are only some embodiments of the present disclosure, but not all embodiments. Based on the embodiments in this disclosure, all other embodiments that a person skilled in the art would obtain without making any inventive effort are within the scope of protection of this disclosure.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is to be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments and can be combined with one another without conflict.
In the following description, the terms "first", "second", and the like are merely used to distinguish between similar objects and do not represent a particular ordering of the objects, it being understood that the "first", "second", or the like may be interchanged with one another, if permitted, to enable embodiments of the disclosure described herein to be implemented in an order other than that illustrated or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs. The terminology used in the present disclosure is for the purpose of describing embodiments of the present disclosure only and is not intended to be limiting of the present disclosure.
It should be understood that, in various embodiments of the present disclosure, the size of the sequence number of each implementation process does not mean that the execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present disclosure.
Today, users have excessive time wasted using various electronic devices, especially cell phones, to browse and view some content that is not significant to life and work.
In existing solutions, both the iOS system (operating system developed by apple corporation) and the Android system (Android) provide screen time functionality, allowing the user to set a total phone usage time limit per day, or a usage time limit per day for a certain Application (APP). The disadvantage of this approach is that it is too granular for the time limit of the handset to be used, and it does not allow the user to more accurately control the excessive use of the handset.
In view of the drawbacks of the related art, embodiments of the present disclosure provide a data processing method to at least solve some or all of the above technical problems.
Fig. 1 shows a first alternative flow diagram of a data processing method according to an embodiment of the disclosure, which will be described according to the steps.
The embodiments provided by the present disclosure are applicable to electronic devices, such as Desktop computers (Desktop computers), notebook computers (Laptop computers), mobile phones, tablet computers (Tablet computers), and game consoles (Video Game Console), and are used for limiting the use time of a certain functional module in an application program installed in an electronic device.
Step S101, based on the target identification of the target functional module, confirming whether the total use time of the target functional module is exhausted.
In some embodiments, at least one functional module in the electronic device has a limitation of a usage duration, that is, each functional module corresponds to a total usage duration, and the total usage durations of different modules are the same or different; for example, if the target function module is a first function module, the total usage time of the target function module is a first duration; if the target function module is a second function module, the total using time length of the target function module is a second time length; the first function module and the second function module are used for realizing different functions of the target application program, and the first duration is the same as or different from the second duration.
In some embodiments, before running the target functional module, it is first determined whether the total usage time of the target functional module is exhausted based on the target identification of the target functional module. The target identifier of each functional module is unique; the total use time of the target functional module is not exhausted, which indicates that the target functional module can operate; accordingly, if the total usage time of the target functional module is exhausted, it is indicated that the target functional module cannot operate.
Step S102, if the total service time of the target function module is not exhausted, the target function module is operated in response to the operation instruction of the target function module.
In some embodiments, if the total usage time of the target functional module is not exhausted, indicating that the target functional module may operate normally, the target functional module is operated in response to an operation instruction of the target functional module.
Thus, by the data processing method provided by the embodiment of the present disclosure, based on the target identifier of the target functional module, whether the total usage time of the target functional module is exhausted is confirmed; if the total service time of the target functional module is not exhausted, responding to an operation instruction of the target functional module to operate the target functional module; the use time of the functional modules in the application program can be controlled in fine granularity, and the excessive use condition of the electronic equipment can be controlled.
Fig. 2 shows a second alternative flow chart of a data processing method according to an embodiment of the present disclosure, which will be described according to the steps.
Step S201, based on the target identification of the target functional module, whether the total use time of the target functional module is exhausted is confirmed.
The partial step flow of step S201 is the same as step S101, and the detailed description is not repeated here.
In some embodiments, a carrier implementing the data processing method determines a used time period of the target functional module based on a target identification of the target functional module; wherein if the used time period of the target function module is equal to the total used time period of the target function module, the total used time period of the target function module is exhausted. Wherein the carrier may comprise one of a terminal device, an electronic device and a controller.
In other embodiments, the carrier determines the remaining use length of the target functional module based on a target identification of the target functional module; wherein if the remaining usage time period of the target function module is zero, the total usage time period of the target function module is exhausted.
In the implementation, the carrier sends a first request to an operating system based on a target identifier of a target functional module, wherein the first request is used for requesting the used time of the target functional module; wherein if the used time period of the target function module is equal to the total used time period of the target function module, the total used time period of the target function module is exhausted.
In some embodiments, if the total usage time of the target function module is not exhausted, step S202 is performed; if the total usage time of the target function module is exhausted, step S203 is executed.
Step S202, responding to the operation instruction of the target functional module, and operating the target functional module.
The specific step flow of step S202 is the same as step S102, and the detailed description thereof will not be repeated here.
Step S203, displaying the first information.
In some embodiments, the first information is used to characterize total usage time of the target functional module as exhausted, and not running until the target time.
Wherein the target time can be set according to different modes; in the working mode, in order to improve the working efficiency and concentrate attention, the target time may be set as the off-duty time (e.g. 17:00, 17:30, 18:00, etc.); in the learning mode, in order to improve learning efficiency, the target time may be set to be the time when learning is ended on the same day, 20:00, 22:00, etc.; alternatively, the target time may also be the next day zero, or other user-defined time.
Thus, by the data processing method provided by the embodiment of the present disclosure, if the total usage time of the target functional module is not exhausted, the target functional module is operated; and if the total use time length of the target functional module is exhausted, displaying first information, and controlling the use time length of the functional module in the application program by fine granularity from the functional module level to control the excessive use condition of the electronic equipment.
Fig. 3 shows a third alternative flow diagram of a data processing method according to an embodiment of the disclosure, which will be described according to the steps.
Step S301, based on the target identification of the target function module, a first request is sent to an operating system.
In some embodiments, in response to the execution instruction for the target functional module, the data processing apparatus sends a first request to the operating system based on the identification of the target functional module, the first request being for obtaining a used duration or a remaining used duration of the target functional module.
Correspondingly, after the operating system receives the first request, confirming the used duration or the residual used duration of the target functional module based on the identification of the target functional module, and sending the used duration or the residual used duration to the carrier
Step S302, confirming whether the total use time of the target functional module is exhausted.
In some embodiments, the carrier receives the used time period or the remaining used time period, and confirms whether the total used time period of the target function module is exhausted.
In the implementation, if the used time length of the target function module is equal to the total used time length of the target function module, the total used time length of the target function module is exhausted; or if the remaining usage time period of the target functional module is zero, the total usage time period of the target functional module is exhausted.
Step S303, responding to the operation instruction of the target functional module, and operating the target functional module.
In some embodiments, if the total usage time of the target functional module is not exhausted, the target functional module is operated in response to an operation instruction of the target functional module.
Step S304, the operating system updates the used time length of the target function module.
In some embodiments, the operating system updates the used time period of the target functional module while the target functional module is running.
In specific implementation, the operating system can monitor the target function module in real time and update the used duration in real time; or the operating system may confirm an update policy based on the remaining usage time period, and update the used time period based on the update policy.
Specifically, in response to the remaining usage time being greater than or equal to a first time threshold, the operating system updates the used time according to a first period; in response to the remaining usage period being less than the first time threshold and greater than or equal to the second time threshold, the operating system updating the used period according to a second period; and in response to the remaining used time length being less than the second time threshold, updating the used time length by the operating system according to a third period.
The first time threshold is larger than the second time threshold, the first period is larger than the second period, and the second period is larger than the third period.
For example, the first time threshold is 30 minutes, the second time threshold is 10 minutes, the first period is 5 minutes, the second period is 1 minute, and the third period is 1 second. The operating system can update the used time length with a larger period without real-time monitoring under the condition that the remaining used time length is greater than or equal to 30 minutes; when the remaining use time is between 30 minutes and 10 minutes, the operating system can update the used time with a proper period, and the update frequency is higher than that of the first period; when the remaining use time is less than 10 minutes, the operating system updates the used time period with a higher frequency and a smaller period so that the first information is displayed in time when the used time period is equal to the total use time period.
Step S305, detecting at least one of the series combinations, the operating system stops updating the used duration of the target function module.
In some embodiments, during the execution of the target application, at least one of a series of combinations is detected, the operating system ceasing to update the used time period of the target functional module, the series of combinations including at least one of: the operating system receives a second request of the target application program, wherein the second request is a request sent to the operating system by the target application program based on the identification of other functional modules; ending the operation of the target application program; the target application program pauses operation.
When the method is implemented, if the target application program ends running, pauses running or is switched from the target functional module to other functional modules, and the target functional module is represented to stop running, the operating system stops updating the used time length of the target functional module.
In step S306, in response to the total usage time of the target function module being exhausted, a corresponding operation is performed.
In some embodiments, the operating system updates the used time period, and if the used time period is equal to the total used time period, the total used time period representing the target functional module is exhausted, and the target functional module cannot continue to run, one of the following operations is performed: displaying first information; stopping running the target function module; jump to other functional modules.
The other functional modules may be the same as the target functional module, belong to an application program, and are not exhausted when in total use.
Fig. 4 is a schematic diagram of a fourth alternative flow of the data processing method according to the embodiment of the disclosure, and will be described according to the steps.
Step S401, confirming the total use time of at least one functional module in the application program.
In some embodiments, the data processing apparatus may pre-confirm a total usage time of a plurality of functional modules included in at least one application in the electronic device; it should be noted that, each functional module corresponds to a total usage time length, where the total usage time length refers to a total duration that the corresponding functional module can operate, and is not the sum of durations that all the modules can operate.
In some embodiments, the total usage time of the functional module may be set from the application program level and the operating system level.
In the implementation, the operating system confirms the total use time of at least one functional module in the application program based on the use time limit of the application program, the expression information of each functional module and a preset time allocation strategy. The preset time allocation strategy comprises the time duration of each functional module in the application program allocated to the carrier or the system corresponding to the carrier according to a certain rule; optionally, the carrier may classify the functional modules, where the time periods corresponding to different classifications are different. Alternatively, the total service time may be shared by multiple functional modules in the same class, for example, in applications of different communication types, the total service time is 30 minutes, so that the total service time is reduced by using the chat module of the application a and the chat module of the application b.
The application program use time limit may be the application program use time limit, for example, the daily use time of APP1 is set to be 30 minutes, and the APP1 use time limit is set to be 30 minutes; alternatively, setting the daily use duration of APP1 to 24 hours, the use duration of APP1 is unlimited. The expression information of each functional module comprises expression information of each functional module in the application program, wherein the expression information can comprise a functional module identifier, a function realized by the functional module, or representative characters (such as descriptive characters which can be understood by a user) of the functional module, and table 1 is a module identifier and descriptive information schematic of 4 main functional modules of the APP 2.
TABLE 1
Functional module identification Expression information
1. Chat
2. Contact management
3. Discovery of
4. Account management
The preset time allocation strategy comprises a preset time allocation strategy of each functional module, and the preset time allocation strategy comprises the total using time of each functional module. Taking table 1 as an example, the total use time of the chat function module is set to be 1 hour, and the total use time of the discovery function module is set to be 10 minutes; the contact management function module and the account management function module can not enthusiasm a person therein, and the total use duration can not be set. Table 2 shows a preset time allocation strategy schematic of APP 2.
TABLE 2
Functional module sign Expression information Long total service time
1. Chat 1 hour
2. Contact management Without limitation
3. Discovery of For 10 minutes
4. Account management Without limitation
Or, in implementation, the carrier may display a setting option of each function module in a display page, and confirm a use duration of at least one function module in an application program based on a setting instruction for the display page, and/or confirm a preset time allocation policy of the application program.
The display page can be a display page of an operating system, namely the carrier sets the total using time of each functional module identification and description information energy module from the operating system level; the display page may also be a display page inside the application, i.e. the carrier sets the total usage time of each functional module from the application level.
In some embodiments, the user may set the total usage time of each function module in the display page, for example, the display page displays a drop-down menu of the corresponding function module based on a user instruction, the user selects any displayed time in the drop-down menu, the carrier sets the total usage time of the function module based on the user selected time, and when the function module is running, confirms whether the total usage time of each function module is exhausted based on the total usage time.
In some embodiments, after the carrier confirms the use time length of each functional module, the carrier may declare the identity, the expression information and the total use time length of the main functional module of itself to the operating system corresponding to the carrier by means of static declaration of an application program; or, the identification, expression information and total use time length of the main function module of the carrier can be declared to the corresponding operation system of the carrier in a dynamic registration mode in the running time. Wherein the static declaration comprises android management xml files in each application installation package in the android system.
In some embodiments, step S401 is implemented only once, or based on user operation, and need not be performed before each functional module run.
Step S402, based on the identification of the target function module, confirming the residual using time length or the used time length of the target function module.
In some embodiments, in response to receiving the execution instruction of the target application, the carrier sends a first request carrying a first identification to the operating system based on the application programming interface; the first identifier is an identifier of the target functional module; and the operating system confirms the residual using time length or the used time length of the target functional module based on the first identification.
When the method is implemented, if the application program is started, the used time of each functional module in the target application program is confirmed based on the identification of each functional module in the target application program; or if the application program is started, confirming the residual using time of each functional module in the target application program based on the target identification of each functional module in the target application program.
Step S403, determining whether the total usage time of the target function module is exhausted.
In some embodiments, the carrier receives a remaining usage time period sent by the operating system, and confirms whether the total usage time period of the target function module is exhausted based on the remaining usage time period.
In the implementation, if the remaining use duration is not zero, the total use duration of the target functional module is not exhausted.
In other embodiments, the carrier receives a used time period sent by the operating system, and confirms whether the total used time period of the target function module is exhausted based on the used time period.
In the implementation, if the used time length is not equal to the total used time length, the total used time length of the target functional module is not exhausted.
Step S404, responding to the operation instruction of the target functional module, and operating the target functional module.
In some embodiments, if the total usage time of the target functional module is not exhausted, the target functional module is operated in response to an operation instruction of the target functional module.
Meanwhile, the operating system can monitor the target function module in real time and update the used duration in real time; or the operating system may confirm an update policy based on the remaining usage time period, and update the used time period based on the update policy.
Step S405, detecting at least one of the series combinations, the operating system stops updating the used time period of the target function module.
The specific step flow of step S405 is the same as that of step S305, and the detailed description thereof will not be repeated here.
In step S406, in response to the total usage time of the target function module being exhausted, a corresponding operation is performed.
The specific step flow of step S406 is the same as that of step S306, and will not be repeated here.
Thus, by the data processing method provided by the embodiment of the disclosure, the use time of each functional module in the application program can be controlled at finer granularity, and the situation that the user excessively uses the electronic equipment can be controlled.
Fig. 5 shows an alternative structural schematic diagram of a data processing apparatus provided by an embodiment of the present disclosure, which will be described in terms of the respective parts.
In some embodiments, the data processing unit 500 includes a validation unit 501 and a run unit 502.
The confirmation unit 501 is configured to confirm whether the total usage time of the target functional module is exhausted based on the target identifier of the target functional module;
the operation unit 502 is configured to operate the target function module in response to an operation instruction of the target function module if the total usage time of the target function module is not exhausted;
wherein the target functional module is a functional module of a target application program;
if the target function module is a first function module, the total using time length of the target function module is a first time length;
if the target function module is a second function module, the total using time length of the target function module is a second time length;
the first function module and the second function module are used for realizing different functions of the target application program, and the first duration is the same as or different from the second duration.
The running unit 502 is further configured to: displaying first information if the use time of the target function module is long; the first information is used to characterize total in-use time-span exhaustion of the target functional module.
The confirmation unit 501 is specifically configured to determine, based on a target identifier of the target functional module, a used time period of the target functional module;
wherein if the used time period of the target function module is equal to the total used time period of the target function module, the total used time period of the target function module is exhausted; or, determining the residual using time length of the target functional module based on the target identification of the target functional module;
wherein if the remaining usage time period of the target function module is zero, the total usage time period of the target function module is exhausted.
The confirmation unit 501 is specifically configured to send, to an operating system, a first request based on a target identifier of a target functional module, where the first request is used to request a used time period of the target functional module;
wherein if the used time period of the target function module is equal to the total used time period of the target function module, the total used time period of the target function module is exhausted.
The running unit 502 is further configured to: if the operating system receives a first request of the target application program, the operating system starts to update the used duration of the target functional module.
The running unit 502 is further configured to: detecting at least one of the series combinations in the running process of the target application program, and stopping updating the used time length of the target functional module;
the series combination comprises: the operating system receives a second request of the target application program, wherein the second request is a request sent to the operating system by the target application program based on the identification of other functional modules; ending the operation of the target application program; the target application program pauses operation.
The running unit 502 is further configured to: during operation of the target function module, if the total usage time of the target function module is exhausted, selecting at least one of the following combinations to execute: displaying first information; stopping running the target function module; jump to other functional modules.
According to embodiments of the present disclosure, the present disclosure also provides an electronic device and a readable storage medium.
Fig. 6 shows a schematic block diagram of an example electronic device 800 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 6, the electronic device 800 includes a computing unit 801 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 802 or a computer program loaded from a storage unit 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the electronic device 800 can also be stored. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to the bus 804.
Various components in electronic device 800 are connected to I/O interface 805, including: an input unit 806 such as a keyboard, mouse, etc.; an output unit 807 such as various types of displays, speakers, and the like; a storage unit 808, such as a magnetic disk, optical disk, etc.; and a communication unit 809, such as a network card, modem, wireless communication transceiver, or the like. The communication unit 809 allows the electronic device 800 to exchange information/data with other devices through a computer network such as the internet and/or various telecommunication networks.
The computing unit 801 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 801 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 801 performs the respective methods and processes described above, such as a data processing method. For example, in some embodiments, the data processing method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as the storage unit 808. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 800 via the ROM 802 and/or the communication unit 809. When a computer program is loaded into RAM 803 and executed by computing unit 801, one or more steps of the data processing method described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to perform the data processing method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server incorporating a blockchain.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel or sequentially or in a different order, provided that the desired results of the technical solutions of the present disclosure are achieved, and are not limited herein.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present disclosure, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
The foregoing is merely specific embodiments of the disclosure, but the protection scope of the disclosure is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the disclosure, and it is intended to cover the scope of the disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (10)

1. A method of data processing, the method comprising:
based on the target identification of the target functional module, confirming whether the total use time of the target functional module is exhausted;
if the total service time of the target functional module is not exhausted, responding to an operation instruction of the target functional module to operate the target functional module;
wherein the target functional module is a functional module of a target application program;
if the target function module is a first function module, the total using time length of the target function module is a first time length;
if the target function module is a second function module, the total using time length of the target function module is a second time length;
the first function module and the second function module are used for realizing different functions of the target application program, and the first duration is the same as or different from the second duration.
2. The method of claim 1, the method further comprising:
displaying first information if the use time of the target function module is long;
the first information is used to characterize total in-use time-span exhaustion of the target functional module.
3. The method of claim 1, the validating whether the total usage time of the target functional module is exhausted based on a target identification of the target functional module, comprising:
determining the used time length of the target functional module based on the target identification of the target functional module;
wherein if the used time period of the target function module is equal to the total used time period of the target function module, the total used time period of the target function module is exhausted;
or alternatively, the first and second heat exchangers may be,
determining the residual using time length of the target functional module based on the target identification of the target functional module;
wherein if the remaining usage time period of the target function module is zero, the total usage time period of the target function module is exhausted.
4. A method according to any of claims 1-3, wherein said validating whether the total usage time of the target functional module is exhausted based on the target identity of the target functional module comprises:
based on a target identifier of a target functional module, sending a first request to an operating system, wherein the first request is used for requesting a used time length of the target functional module;
wherein if the used time period of the target function module is equal to the total used time period of the target function module, the total used time period of the target function module is exhausted.
5. The method of claim 4, the method further comprising:
if the operating system receives a first request of the target application program, the operating system starts to update the used duration of the target functional module.
6. The method of claim 5, the method further comprising:
detecting at least one of a series of combinations during the operation of the target application, the operating system stopping updating the used time period of the target functional module;
the series combination comprises:
the operating system receives a second request of the target application program, wherein the second request is a request sent to the operating system by the target application program based on the identification of other functional modules;
ending the operation of the target application program;
the target application program pauses operation.
7. The method of claim 1, the method further comprising:
during operation of the target function module, if the total usage time of the target function module is exhausted, selecting at least one of the following combinations to execute:
displaying first information;
stopping running the target function module;
jump to other functional modules.
8. A data processing apparatus, the carrier comprising:
a confirmation unit, configured to confirm whether the total usage time of the target function module is exhausted based on a target identifier of the target function module;
an operation unit for operating the target function module in response to an operation instruction of the target function module if the total usage time of the target function module is not exhausted;
wherein the target functional module is a functional module of a target application program;
if the target function module is a first function module, the total using time length of the target function module is a first time length;
if the target function module is a second function module, the total using time length of the target function module is a second time length;
the first function module and the second function module are used for realizing different functions of the target application program, and the first duration is the same as or different from the second duration.
9. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7.
10. A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1-7.
CN202311830544.6A 2023-12-28 2023-12-28 Data processing method and device, electronic equipment and storage medium Pending CN117742925A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311830544.6A CN117742925A (en) 2023-12-28 2023-12-28 Data processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311830544.6A CN117742925A (en) 2023-12-28 2023-12-28 Data processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117742925A true CN117742925A (en) 2024-03-22

Family

ID=90260740

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311830544.6A Pending CN117742925A (en) 2023-12-28 2023-12-28 Data processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117742925A (en)

Similar Documents

Publication Publication Date Title
US20210389973A1 (en) Electronic device and method for operating the same
WO2019205371A1 (en) Server, message allocation method, and storage medium
EP4113299A2 (en) Task processing method and device, and electronic device
CN112650576A (en) Resource scheduling method, device, equipment, storage medium and computer program product
CN111800462A (en) Micro-service instance processing method and device, computer equipment and storage medium
CN111782304B (en) Paging loading data logic control method, device, computer equipment and medium
CN113766487B (en) Cloud mobile phone information acquisition method, device, equipment and medium
CN113849312A (en) Data processing task allocation method and device, electronic equipment and storage medium
CN105224421A (en) Data backup method and device and electronic equipment
CN112965799B (en) Task state prompting method and device, electronic equipment and medium
WO2024109786A1 (en) Instant messaging session information processing method and apparatus, and electronic device
CN116594563A (en) Distributed storage capacity expansion method and device, electronic equipment and storage medium
CN117742925A (en) Data processing method and device, electronic equipment and storage medium
CN114138358A (en) Application program starting optimization method, device, equipment and storage medium
CN113747423A (en) Cloud mobile phone state synchronization method, device, equipment, storage medium and program product
CN113590141A (en) Method, apparatus, medium, and program product for distributing cloud phone
CN114003367B (en) Risk monitoring method, device, equipment and storage medium
CN116440504B (en) Game resource processing method, device and storage medium
US20230100163A1 (en) Allocating computing device resources
CN114979471B (en) Interface display method, device, electronic equipment and computer readable storage medium
CN115878296B (en) Resource management method and device, electronic equipment and readable storage medium
CN113961263B (en) Applet distribution method, device, apparatus and storage medium
CN113961207A (en) Application control method, device, electronic equipment and medium
CN117234559A (en) Firmware updating method and device and electronic equipment
CN116827703A (en) Virtual interaction control method, device, 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