CN107133065B - Method and device for starting software function - Google Patents

Method and device for starting software function Download PDF

Info

Publication number
CN107133065B
CN107133065B CN201710210706.4A CN201710210706A CN107133065B CN 107133065 B CN107133065 B CN 107133065B CN 201710210706 A CN201710210706 A CN 201710210706A CN 107133065 B CN107133065 B CN 107133065B
Authority
CN
China
Prior art keywords
function
started
starting
time
target software
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
CN201710210706.4A
Other languages
Chinese (zh)
Other versions
CN107133065A (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 QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology 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 QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201710210706.4A priority Critical patent/CN107133065B/en
Publication of CN107133065A publication Critical patent/CN107133065A/en
Application granted granted Critical
Publication of CN107133065B publication Critical patent/CN107133065B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention provides a method and a device for starting a software function, wherein the method comprises the following steps: when target software is started, reading a historical operation record of a user using the target software; for each function to be started of the target software, at least determining a first use frequency of the user for the function to be started and a first time length from the time when the user uses the function to be started to the starting time of the target software according to the historical operation record; determining the weight of the function to be started according to the first using frequency, the first time length, the weight corresponding to the first using frequency and the weight corresponding to the first time length; determining the starting sequence of each function to be started according to the weight value of each function to be started; and starting each function to be started according to the starting sequence. By applying the scheme provided by the embodiment of the invention, the longer waiting time of the user can be reduced, and the user experience is improved.

Description

Method and device for starting software function
Technical Field
The invention relates to the technical field of software optimization, in particular to a method and a device for starting a software function.
Background
With the development of software technology, the functions of a piece of software are more and more diversified, and when a user starts the software on a terminal device, all the functions of the software can be started at the same time. However, hardware resources of each device are limited, and all functions of the software are started simultaneously, hardware resources allocated to each function are very limited, so that the time for starting the functions is long, and a user needs to wait for a long time to use the functions of the software.
In general, after a user starts software, all functions are not used at the same time, so that all functions do not need to be started at the same time. Therefore, to reduce user latency, software developers preset an order of activation for each function of the software, which is generally fixed. After a user starts the software, each function is started according to a preset sequence, and after the previous function is started, the next function is started.
By applying the prior art, because the sequence of function opening is fixed, when a user needs to use a function behind the opening sequence, the function can be opened only after all functions before the function are opened. This results in a longer wait time for the user to use the function, which in turn results in a poor user experience.
Disclosure of Invention
The embodiment of the invention aims to provide a method and a device for starting a software function, so as to reduce long waiting time of a user and improve user experience. The specific technical scheme is as follows:
in order to achieve the above object, an embodiment of the present invention provides a method for starting a software function, where the method includes:
when target software is started, reading a historical operation record of a user using the target software;
for each function to be started of the target software, at least determining a first use frequency of the user for the function to be started and a first time length from the time when the user uses the function to be started to the starting time of the target software according to the historical operation record; determining the weight of the function to be started according to the first using frequency, the first time length, the weight corresponding to the first using frequency and the weight corresponding to the first time length;
determining the starting sequence of each function to be started according to the weight value of each function to be started;
and starting each function to be started according to the starting sequence.
Optionally, before starting each function to be started according to the starting sequence, the method further includes:
determining a delay time from the time of starting the function to be started to the time of starting the target software for each function to be started;
the starting of each function to be started according to the starting sequence comprises the following steps:
and starting each function to be started according to the starting sequence and the delay duration corresponding to each function to be started.
Optionally, the determining, for each function to be started, a delay time from when the function to be started is started to when the target software is started includes:
and determining the delay time from the time of starting the function to be started to the time of starting the target software by utilizing a preset logarithmic function with the base number larger than 1 according to the weight of the function to be started for each function to be started.
Optionally, the determining, for each function to be started, a delay time from when the function to be started is started to when the target software is started includes:
and for each function to be started, according to the historical operation record, determining the time length from the end time of the statistical period when the second use frequency of the function is lower than a preset threshold value to the corresponding time when the target software is started after the function is started to the time length from the time when the function to be started to the time when the target software is started.
Optionally, while starting each function to be started according to the starting sequence, the method further includes:
judging whether a user uses a function to be started which is not started;
if yes, starting the functions to be started which are not started, and returning to the step of executing the step of starting each function to be started according to the starting sequence after the starting is finished;
if not, continuing to execute the step of starting each function to be started according to the starting sequence.
Optionally, the method further includes:
and acquiring and storing the operation record of the user in the starting process of the target software.
In order to achieve the above object, an embodiment of the present invention further provides a device for starting a software function, where the device includes: a reading module, a first determining module, a second determining module and a first opening module, wherein,
the reading module is used for reading the historical operation record of the target software used by a user when the target software is started;
the first determining module at least determines a first using frequency of the user for each function to be started of the target software and a first time length from the time when the user uses the function to be started to the starting time of the target software according to the historical operation record; determining the weight of the function to be started according to the first using frequency, the first time length, the weight corresponding to the first using frequency and the weight corresponding to the first time length;
the second determining module is configured to determine an opening sequence of each function to be opened according to the weight of each function to be opened;
the first starting module starts each function to be started according to the starting sequence.
Optionally, the apparatus further comprises: the third determining module is used for determining the delay time from the time of starting the function to be started to the time of starting the target software for each function to be started;
the first starting module is specifically configured to start each function to be started according to the starting sequence and the delay duration corresponding to each function to be started.
Optionally, the third determining module is specifically configured to determine, for each function to be started, a delay time from when the function to be started is started to when the target software is started by using a preset logarithmic function with a base number greater than 1 according to the weight of the function to be started.
Optionally, the third determining module is specifically configured to, for each function to be started, determine, according to the historical operation record, a time length from the time when the target software is started to the time when the function to be started is started to the time when the target software is started, at the end of the statistical period when the second usage frequency of the function by the user is lower than a preset threshold after the function is started, the time length being from the time when the function to be started to the time when the target software is started.
Optionally, the apparatus further comprises: a judging module and a second opening module, wherein,
the judging module is used for judging whether a user uses the unopened function to be started or not while starting each function to be started according to the starting sequence, and if so, triggering the second starting module; if not, triggering the first starting module;
and the second starting module is used for starting the unopened functions to be started and returning to execute the step of starting each function to be started according to the starting sequence after the starting is finished.
Optionally, the device further includes a storage module, configured to acquire and store an operation record of the user in the starting process of the target software.
The embodiment of the invention provides a method and a device for starting a software function, wherein the method comprises the following steps: when target software is started, reading a historical operation record of a user using the target software; for each function to be started of the target software, at least determining a first use frequency of the user for the function to be started and a first time length from the time when the user uses the function to be started to the starting time of the target software according to the historical operation record; determining the weight of the function to be started according to the first using frequency, the first time length, the weight corresponding to the first using frequency and the weight corresponding to the first time length; determining the starting sequence of each function to be started according to the weight value of each function to be started; and starting each function to be started according to the starting sequence.
By applying the scheme provided by the embodiment of the invention, the preference of the user to some functions to be started can be measured according to the weight determined by the first use frequency and the first time length of the functions to be started used by the user, and then the functions of the software are started according to the sequence of the weight, so that the starting sequence of the functions to be started of the software is ensured to correspond to the operation preference of the user, and the method is more flexible compared with the fixed starting sequence in the prior art, thereby reducing the waiting time of the user and improving the user experience.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a first flowchart illustrating a method for starting a software function according to an embodiment of the present invention;
fig. 2 is a second flowchart illustrating a method for starting a software function according to an embodiment of the present invention;
FIG. 3 is a third flowchart illustrating a method for starting a software function according to an embodiment of the present invention;
fig. 4 is a fourth flowchart illustrating a method for starting a software function according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a device for starting a software function according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a second apparatus for starting a software function according to an embodiment of the present invention;
FIG. 7 is a schematic diagram illustrating a third structure of an apparatus for starting a software function according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a fourth structure of the apparatus for starting a software function according to the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to solve the problem of the prior art, embodiments of the present invention provide a method and an apparatus for starting a software function, and a method for starting a software function is described below.
Fig. 1 is a first flowchart illustrating a method for starting a software function according to an embodiment of the present invention, as shown in fig. 1, the method includes:
s101: when the target software is started, reading the historical operation record of the user using the target software.
Illustratively, the target software may be software installed on the target device that the user needs to boot. The target device may be an electronic device such as a computer, a mobile phone, and a tablet computer. When the target device receives an operation instruction for starting the target software by the user, the historical operation record of the target software used by the user can be read. The historical operation record is the operation record before the user starts the target software at this time.
The historical operation record may include a plurality of operation records, and the operation record between the time when the user starts the target software from the previous time and the time when the user starts the target software next time may be taken as one operation record. One operation record at least comprises the corresponding time when the user starts each function of the target software, the operation of the user aiming at each function and the time of the operation.
For example, taking the target software odds client as an example, the one historical operation record read may be: the user at 2017.03.02.0:00: the Aiqiyi client is started at time 00, and at 2017.03.02.0:00: opening the bubble chat function at time 10, at 2017.03.02.0:00: 13 seconds view bubble chat message, …, at 2017.03.02.0:00: the play video function is turned on at time 60 and at 2017.03.02.0:00: the target software is turned off at time 80.
In practical applications, multiple historical operation records may be read.
S102: for each function to be started of the target software, at least determining a first use frequency of the user for the function to be started and a first time length from the time when the user uses the function to be started to the starting time of the target software according to the historical operation record; and determining the weight value of the function to be started according to the first using frequency, the first time length, the weight corresponding to the first using frequency and the weight corresponding to the first time length.
For example, for each function to be started, according to the obtained plurality of historical operation records, the quotient of the number of times that the user uses the function to be started after starting the target software each time and before closing the target software and the number of times that the user uses the target software corresponding to the plurality of historical operation records is determined as the first frequency of use of the function to be started by the user.
Or, according to the obtained multiple historical operation records, determining the quotient of the times of using the function to be started by the user after starting the target software each time and before closing the target software and the total running time of the target software corresponding to the multiple historical operation records as the first using frequency of using the function to be started by the user.
Or, according to the obtained multiple historical operation records, determining all times of using the function to be started by the user after the target software is started and before the target software is closed as the first use frequency of using the function to be started by the user.
Or, according to any one of the historical operation records, determining the quotient of all times of using the function to be started by the user after starting the target software and before closing the target software and the running time of the target software corresponding to the historical operation record as the first using frequency of using the function to be started by the user.
When the first time length from the time when the user uses the function to be started to the starting time of the target software is determined, a plurality of time lengths from the time when the user uses the function to be started to the starting time of the target software can be determined according to each historical operation record, and then the average value of the plurality of time lengths is determined as the first time length.
Or determining any duration from the time when the user uses the function to be started to the starting time of the target software as a first duration according to any one of the obtained multiple historical operation records; in the historical operation record, the time length from the time when the user uses the function to be started to the starting time of the target software is determined as a first time length.
Illustratively, the bubble chat function in the amice client is taken as an example for explanation: determining that the user uses the bubble chat function for 30 times after starting the target software and before closing the target software according to one of the historical operation records, starting the Aichi skill client from 2017.03.02.0:00:00, and in 2017.03.02.0:00: the bubble chat function is started at time 10, and at 2017.03.02.0:10: closing the Archie client at 10 moments, and determining that the first use frequency of the function to be started used by the user is 30/(10-0) times/minute, and the first time length from the moment when the bubble chat function is used by the user to the moment when the Archie client is started is 10 seconds.
According to the method, the first use frequency of the video watching function in the Aichi art client side used by the user is determined to be 0.5 time/minute, and the first time length from the moment when the user uses the video watching function to the moment when the Aichi art client side is started is 1 minute.
According to the method, the first use frequency of the video downloading function in the Aichi art client side used by the user is determined to be 1 time/minute, and the first time length from the video downloading function using time of the user to the starting time of the Aichi art client side is 3 minutes.
Illustratively, the sum normalization method may be used to perform normalization processing on the data corresponding to the bubble chat function, and the normalization result obtained after the user normalizes the first usage frequency of the bubble chat function is: 3/(3+0.5+1) ═ 0.67; the user uses the first time length normalization of the bubble chat function to obtain: 10/(10+1 × 60+3 × 60) ═ 0.04.
The sum normalization method can also be used for normalizing the first use frequency of the video watching function in the Aichi art client used by the user to obtain: 0.5/(3+0.5+1) ═ 0.11, normalizing the first duration that the user uses the video viewing function in the aiti client results in: 1 × 60/(10+1 × 60+3 × 60) ═ 0.24.
The sum normalization method can also be used for normalizing the first use frequency of the video downloading function in the Aichi art client used by the user to obtain: 1/(3+0.5+1) ═ 0.22, normalizing the first duration that the user uses the video download function in the aiti client results in: 3 × 60/(10+1 × 60+3 × 60) ═ 0.72.
After the first using frequency of the bubble chat function by the user and the first time length from the time when the user uses the function to the starting time of the arcade client are determined, the weight of the bubble chat function can be determined according to the first using frequency, the first time length, the weight corresponding to the first using frequency and the weight corresponding to the first time length. And processing other two functions to be started, namely a video watching function and a video downloading function of the Aiqiyi client according to the method.
If the weight of the user in the process of determining the weight of the function to be opened for the first frequency of the function to be opened is 0.8, and the weight of the user in the process of determining the weight of the function to be opened for the first duration of the function to be opened is 0.2, the determined weight of the bubble chat function is as follows: 0.67 × 0.8+0.04 × 0.2 ═ 0.544; the determined weight of the video watching function is as follows: 0.11 × 0.8+0.24 × 0.2 ═ 0.136; the determined weight value of the video downloading function is as follows: 0.22 × 0.8+0.72 × 0.2 ═ 0.32.
It should be noted that, the present invention does not limit the method for determining the first usage frequency of the function to be turned on by the user, the method for determining the first duration between the time when the user uses the function to be turned on and the starting time of the target software, the method for normalizing data, the size of the weight of the first usage frequency of the function to be turned on by the user in the process of determining the weight of the function to be turned on, the size of the weight of the first duration of the function to be turned on by the user in the process of determining the weight of the function to be turned on, and the number of the indexes to be included in determining the weight of the function to be turned on. In general, according to a latest historical operation record from the target software to be started, a first use frequency of a function to be started by a user and a first time length from the time when the user uses the function to be started to the starting time of the target software can be determined.
S103: and determining the starting sequence of each function to be started according to the weight value of each function to be started.
Specifically, each function to be started can be sequenced according to the sequence of the weight values from large to small, so as to determine the starting sequence of each function to be started.
Illustratively, according to the sequence of the weights determined in step S102 from large to small, the determined opening sequence of each function to be opened is: a bubble chat function, a video download function, and a video viewing function.
S104: and starting each function to be started according to the starting sequence.
Illustratively, according to the turn-on sequence determined in step S103: the system comprises a bubble chat function, a video downloading function and a video watching function, wherein the three functions are started in sequence.
By applying the scheme provided by the embodiment shown in fig. 1 of the invention, the preference of a user for some functions to be started can be measured according to the weight determined by the first use frequency and the first time length of the functions to be started used by the user, and then the functions of the software are started according to the order of the weight, so that the starting order of the functions to be started of the software can be ensured to correspond to the operation preference of the user, and the method is more flexible compared with the fixed starting order in the prior art, thereby reducing the waiting time of the user and improving the user experience.
Fig. 2 is a second flowchart of the method for starting a software function according to the embodiment of the present invention, as shown in fig. 2, based on the embodiment shown in fig. 1, before S104, S105 is added to the method: for each function to be started, determining a delay time from when the function to be started is started to when the target software is started, and accordingly, S104 may specifically be S104A: and starting each function to be started according to the starting sequence and the delay duration corresponding to each function to be started.
Specifically, in a specific implementation manner, for each function to be started, according to the weight of the function to be started, a preset logarithmic function with a base number greater than 1 is used to determine a delay time from when the function to be started is started to when the target software is started.
Illustratively, a logarithmic function y log with a base number of 2 can be used for the weighting values of the bubble chat function, the video download function and the video viewing function respectively2x determinationAnd outputting parameters corresponding to each function to be started, wherein x is the weight of the function to be started, and y is the determined parameter value corresponding to each function to be started. According to the weight value of each function to be opened determined in the step S102, the determined parameter value for the bubble chat function is log20.544 ═ 0.8783, log for the parameter value of the video download function20.136-1.6439, log value of parameter for video viewing function20.32 ═ 2.8783. In general, after the target software is started, the delay time period is not needed for starting the first function, that is, the delay time period for the first function is zero, so that the time corresponding to starting the first function can be used as a starting point. Therefore, the time length from the starting point to the moment of starting the video downloading function is | -1.6439| -0.8783| -0.7656 minutes; the time length from the starting point to the moment of starting the video watching function is | -2.8783| -0.8783| -2 minutes.
The delay time of the bubble chat function is determined to be zero, the delay time of the video download function is 0.7656 minutes, and the delay time of the video watching function is determined to be 2 minutes.
The logarithmic function with the base number of 2 is taken as an example for description, and is only one specific embodiment of the present invention, and the present invention is not limited thereto. In practical applications, the user may use other formulas, such as an equal proportional function with a negative coefficient, to determine the delay time for each function to be turned on.
In another specific embodiment, for each function to be started, according to the obtained historical operation record, the time length from the end time of the statistical period when the frequency of use of the function by the user is lower than the preset threshold after the function is started to the corresponding time when the target software is started is determined as the delay time length from the time when the function to be started is started to the time when the target software is started.
For example, the second usage frequency of the user for each function to be started may be determined according to any one of the historical operation records, or for each function to be started, the second usage frequency of the user for each function to be started in the multiple historical operation records may be determined according to the determined second usage frequency of the user for each function to be started, and then the average value of the determined second usage frequencies may be determined as the second usage frequency of the user for the function to be started. The following describes a method for determining the second frequency of use by the user for each function to be turned on in detail, taking the example of determining the second frequency of use for each function to be turned on according to one of the historical operation records.
In the historical operation record, the time length from the time when the target software is started to the time when the target software is closed is divided into a plurality of statistical cycles, for each function to be started, the quotient of the number of times of use of the user in each statistical cycle and the statistical cycle is determined as the second use frequency of the user for the function to be started, and the ending time of the statistical cycle corresponding to the second use frequency is determined as the time corresponding to the second use frequency. If the 8 th statistical period is from 2017.03.02.0:10:00 to 2017.03.02.0:10:30, the second usage frequency of the user for the bubble chat function in the statistical period is 5 times/minute, the preset threshold is 10 times/minute, and the second usage frequency of the user in the 8 th statistical period is less than the preset threshold, the time length from the end time 2017.03.02.0:10:30 of the 8 th statistical period to the starting time 2017.03.02.0:05:00 of the target software is taken as the delay time length of the bubble chat function.
In the historical operation record, the time from the starting time of the target software to the current time is used as a current statistical period, for each function to be started, the quotient of the use times of the user in the current statistical period and the current statistical period is determined as a second use frequency of the user for the function to be started, and the ending time of the current statistical period is determined as the time corresponding to the second use frequency. If the second use frequency of the user for the bubble chat function in the time length from the software starting time 0:05:00 to the previous time 2017.03.02.0:10:00 of the current time is 11 times/minute, the second use frequency of the user in the time length from the software starting time 2017.03.02.0:05:00 to the current time 2017.03.02.0:10:10 is 9 times/minute, the preset threshold value is 10 times/minute, and the second use frequency of the user in the statistical period from the software starting time 2017.03.02.0:05:00 to the current time 2017.03.02.0:10:10 is lower than the preset threshold value, the time length from the software starting time 2017.03.02.0:05:00 to the current time 2017.03.02.0:10:10 is determined as the delay time length for the bubble chat function.
And starting the bubble chat function, the video download function and the video watching function according to the starting sequence determined in the step S103 and the delay time of the bubble chat function, the video download function and the video watching function determined in the step S105.
By applying the scheme provided by the embodiment shown in fig. 2 of the invention, after the current to-be-started function which is favored by the user is started, the user generally uses the current to-be-started function immediately, and then the next to-be-started function is started in a delayed manner, so that the occupation of hardware resources by the starting of the next to-be-started function is avoided, more hardware resources can be used for the current to-be-started function to provide services for the user, and further the user experience is improved.
Fig. 3 is a third flowchart illustrating a method for starting software functions according to an embodiment of the present invention, as shown in fig. 3, the method adds S106 and S107 while starting each function to be started according to the starting sequence based on the embodiment shown in fig. 1, wherein,
s106: judging whether the user uses the function to be started which is not started, if so, executing S107; if not, the process returns to the step S104.
S107: and opening the functions to be opened which are not opened, and returning to the step of executing the step of opening each function to be opened according to the opening sequence after the opening is finished.
Illustratively, the target device sequentially starts a bubble chat function, a video download function and a video watching function according to the starting sequence. If the user uses the video viewing function in the process of starting the bubble chat function, the target device may pause the starting of the bubble chat function and simultaneously start the video viewing function. Continuing to execute the starting process of the bubble chat function after the video watching function is started; the video watching function can be started at the same time of starting the bubble chatting function.
Illustratively, the target device sequentially starts a bubble chat function, a video download function and a video watching function according to the starting sequence, and if the user uses the bubble chat function in the process of starting the bubble chat function, the target device continues to start the functions to be started according to the starting sequence.
Illustratively, the target device sequentially starts the bubble chat function, the video download function and the video watching function according to the starting sequence, and if the user does not use any function in the process of starting the bubble chat function, the target device continues to start the functions to be started according to the starting sequence.
By applying the scheme provided by the embodiment shown in fig. 3 of the invention, the unopened function used by the user is preferentially opened, so that the opening time of the unopened function can be reduced, and the user experience is improved.
Fig. 4 is a fourth flowchart illustrating a method for starting a software function according to an embodiment of the present invention, as shown in fig. 4, the method is added with S108 on the basis of the embodiment shown in fig. 1: and acquiring and storing the operation record of the user in the starting process of the target software.
Illustratively, the operation record of the user in the starting process of the target software is as follows: at the time 2017.03.02.0:03:05 of the process of starting the bubble chat function, the user uses the video viewing function to store in the historical operating record corresponding to the target software which is started at the time.
By applying the scheme provided by the embodiment shown in fig. 4 of the invention, the operation record of the user in the starting process of the target software at this time is stored, so that the historical operation record can be more complete.
Corresponding to the method for starting the software function, the embodiment of the invention also provides a device for starting the software function. Fig. 5 is a schematic structural diagram of a device for starting a software function according to an embodiment of the present invention, and as shown in fig. 5, the device includes: a reading module 501, a first determining module 502, a second determining module 503, and a first opening module 504, wherein,
the reading module 501 is configured to read a historical operation record of a user using target software when the target software is started.
A first determining module 502, configured to determine, according to the historical operation record, at least a first frequency of use of the to-be-started function by the user for the to-be-started function and a first duration from a time when the to-be-started function is used by the user to a start time of the target software for each to-be-started function of the target software; and determining the weight value of the function to be started according to the first using frequency, the first time length, the weight corresponding to the first using frequency and the weight corresponding to the first time length.
A second determining module 503, configured to determine, according to the weight of each function to be started, a starting sequence of each function to be started.
A first starting module 504, configured to start each function to be started according to the starting sequence.
By applying the scheme provided by the embodiment of the invention shown in fig. 5, the preference of the user for some functions to be started can be measured according to the weight determined by the first use frequency and the first time length of the functions to be started used by the user, and then the functions of the software are started according to the order of the weight, so that the starting order of the functions to be started of the software can be ensured to correspond to the operation preference of the user, and the method is more flexible compared with the fixed starting order in the prior art, thereby reducing the waiting time of the user and improving the user experience.
Fig. 6 is a schematic structural diagram of a second structure of the apparatus for starting a software function according to the embodiment of the present invention, as shown in fig. 6, a third determining module 505 is added to the apparatus shown in fig. 5, and is used for determining, for each function to be started, a delay time from when the function to be started is started to when the target software is started.
Correspondingly, the first starting module 504 is specifically configured to start each function to be started according to the starting sequence and the delay duration corresponding to each function to be started.
By applying the scheme provided by the embodiment shown in fig. 6 of the present invention, after the current to-be-started function that is preferred by the user is started, the user generally uses the current to-be-started function immediately, and then the start of the next to-be-started function is delayed, so that occupation of hardware resources by the start of the next to-be-started function is avoided, more hardware resources can be used for the current to-be-started function to provide services for the user, and further user experience is improved.
Specifically, in a specific embodiment of the present invention, the third determining module 505 is specifically configured to determine, for each function to be started, a delay time from when the function to be started is started to when the target software is started, according to a weight of the function to be started, by using a preset logarithmic function whose base number is greater than 1.
Specifically, in a specific embodiment of the present invention, the third determining module 505 is specifically configured to, for each function to be started, determine, according to the historical operation record, a time length from the end time of the statistical period when the second frequency of use of the function by the user for the function is lower than a preset threshold after the function is started to a corresponding time when the target software is started, as a delay time length from when the function to be started is started to when the target software is started.
Fig. 7 is a schematic structural diagram of a third configuration of an apparatus for starting a software function according to an embodiment of the present invention, as shown in fig. 7, the apparatus is added with a determining module 506 and a second starting module 507 on the basis of the apparatus shown in fig. 5, wherein,
a determining module 506, configured to determine whether a user uses an unopened to-be-opened function while opening each to-be-opened function according to the opening sequence, and if so, trigger the second opening module 507; if not, triggering the first starting module 504;
and a second starting module 507, configured to start the function to be started that is not started, and trigger the first starting module after the starting is completed.
By applying the scheme provided by the embodiment shown in fig. 7 of the present invention, the unopened function used by the user is preferentially opened, so that the opening time of the unopened function can be reduced, and the user experience is improved.
Fig. 8 is a schematic diagram of a fourth structure of the device for starting a software function according to the embodiment of the present invention, and as shown in fig. 8, a storage module 508 is added to the device shown in fig. 5, and is used to acquire and store an operation record of the user in the current target software starting process.
By applying the scheme provided by the embodiment of the invention shown in fig. 8, the operation record of the user in the starting process of the target software at this time is stored, so that the historical operation record can be more complete.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (12)

1. A method for opening a software function, the method comprising:
when target software is started, reading a historical operation record of a user using the target software;
for each function to be started of the target software, at least determining a first use frequency of the user for the function to be started and a first time length from the time when the user uses the function to be started to the starting time of the target software according to the historical operation record; determining the weight of the function to be started according to the first using frequency, the first time length, the weight corresponding to the first using frequency and the weight corresponding to the first time length;
determining the starting sequence of each function to be started according to the weight value of each function to be started;
and starting each function to be started according to the starting sequence.
2. The method of claim 1, wherein before turning on each of the to-be-turned-on functions according to the turn-on sequence, the method further comprises:
determining a delay time from the time of starting the function to be started to the time of starting the target software for each function to be started;
the starting of each function to be started according to the starting sequence comprises the following steps:
and starting each function to be started according to the starting sequence and the delay duration corresponding to each function to be started.
3. The method according to claim 2, wherein the determining a delay time from when the function to be started is started to when the target software is started for each function to be started comprises:
and determining the delay time from the time of starting the function to be started to the time of starting the target software by utilizing a preset logarithmic function with the base number larger than 1 according to the weight of the function to be started for each function to be started.
4. The method according to claim 2, wherein the determining a delay time from when the function to be started is started to when the target software is started for each function to be started comprises:
and for each function to be started, according to the historical operation record, determining the time length from the end time of the statistical period when the second use frequency of the function is lower than a preset threshold value to the corresponding time when the target software is started after the function is started to the time length from the time when the function to be started to the time when the target software is started.
5. The method of claim 1, wherein while turning on each of the to-be-turned-on functions according to the turn-on sequence, the method further comprises:
judging whether a user uses a function to be started which is not started;
if yes, starting the functions to be started which are not started, and returning to the step of executing the step of starting each function to be started according to the starting sequence after the starting is finished;
if not, continuing to execute the step of starting each function to be started according to the starting sequence.
6. The method of claim 1, further comprising:
and acquiring and storing the operation record of the user in the starting process of the target software.
7. An apparatus for enabling software functionality, the apparatus comprising: a reading module, a first determining module, a second determining module and a first opening module, wherein,
the reading module is used for reading the historical operation record of the target software used by a user when the target software is started;
the first determining module at least determines a first using frequency of the user for each function to be started of the target software and a first time length from the time when the user uses the function to be started to the starting time of the target software according to the historical operation record; determining the weight of the function to be started according to the first using frequency, the first time length, the weight corresponding to the first using frequency and the weight corresponding to the first time length;
the second determining module is configured to determine an opening sequence of each function to be opened according to the weight of each function to be opened;
the first starting module starts each function to be started according to the starting sequence.
8. The apparatus of claim 7, further comprising: the third determining module is used for determining the delay time from the time of starting the function to be started to the time of starting the target software for each function to be started;
the first starting module is specifically configured to start each function to be started according to the starting sequence and the delay duration corresponding to each function to be started.
9. The apparatus according to claim 8, wherein the third determining module is specifically configured to determine, for each function to be started, a delay time from when the function to be started is started to when the target software is started by using a preset logarithmic function whose base is greater than 1 according to a weight of the function to be started.
10. The apparatus according to claim 8, wherein the third determining module is specifically configured to determine, for each function to be started, according to the historical operation record, a time length from a time when the target software is started to a time when the target software is started at an end time of a statistical period in which a second usage frequency of the function by a user is lower than a preset threshold after the function is started, as a delay time length from when the function to be started is started.
11. The apparatus of claim 7, further comprising: a judging module and a second opening module, wherein,
the judging module is used for judging whether a user uses the unopened function to be started or not while starting each function to be started according to the starting sequence, and if so, triggering the second starting module; if not, triggering the first starting module;
the second opening module is used for opening the unopened function to be opened and triggering the first opening module after the opening is completed.
12. The device according to claim 7, further comprising a storage module, configured to acquire and store an operation record of the user during the starting process of the target software.
CN201710210706.4A 2017-03-31 2017-03-31 Method and device for starting software function Active CN107133065B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710210706.4A CN107133065B (en) 2017-03-31 2017-03-31 Method and device for starting software function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710210706.4A CN107133065B (en) 2017-03-31 2017-03-31 Method and device for starting software function

Publications (2)

Publication Number Publication Date
CN107133065A CN107133065A (en) 2017-09-05
CN107133065B true CN107133065B (en) 2020-10-30

Family

ID=59715395

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710210706.4A Active CN107133065B (en) 2017-03-31 2017-03-31 Method and device for starting software function

Country Status (1)

Country Link
CN (1) CN107133065B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108829469B (en) * 2018-04-18 2021-08-20 北京奇艺世纪科技有限公司 Application page display method and device
CN109753321B (en) * 2019-01-11 2022-02-08 武汉瓯越网视有限公司 Application starting method, device, terminal and storage medium based on protocol registration
CN109783159B (en) * 2019-01-24 2022-03-29 武汉瓯越网视有限公司 Application starting method and device based on configuration information
CN110109737B (en) * 2019-03-18 2024-02-09 平安普惠企业管理有限公司 Application program starting method and device, computer equipment and storage medium
CN113885712A (en) * 2021-09-29 2022-01-04 联想(北京)有限公司 Information processing method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101169712A (en) * 2006-10-24 2008-04-30 英业达股份有限公司 Command prompt system and method
US8380817B2 (en) * 2004-07-16 2013-02-19 Sony Corporation Information processing system, information processing method, and computer program used therewith
CN104239102A (en) * 2014-09-15 2014-12-24 腾讯科技(深圳)有限公司 Operation method and device of application program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101788904A (en) * 2009-01-22 2010-07-28 珠海金山软件股份有限公司 Method and system for intelligent display of interactive behaviors
CN104021066A (en) * 2014-04-23 2014-09-03 惠州Tcl移动通信有限公司 Mobile terminal operation information recording method, operation method and mobile terminal
CN104092704B (en) * 2014-07-24 2017-06-20 福州瑞芯微电子股份有限公司 Software generic method to set up and system
CN105808129B (en) * 2014-12-29 2020-05-22 鸿合科技股份有限公司 Method and device for quickly starting software function by using gesture

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8380817B2 (en) * 2004-07-16 2013-02-19 Sony Corporation Information processing system, information processing method, and computer program used therewith
CN101169712A (en) * 2006-10-24 2008-04-30 英业达股份有限公司 Command prompt system and method
CN104239102A (en) * 2014-09-15 2014-12-24 腾讯科技(深圳)有限公司 Operation method and device of application program

Also Published As

Publication number Publication date
CN107133065A (en) 2017-09-05

Similar Documents

Publication Publication Date Title
CN107133065B (en) Method and device for starting software function
CN104424484B (en) Application program switching, the method and device for adding access information
KR20150104617A (en) Method, device and terminal equipment for cleaning up memory
CN110164420A (en) A kind of method and device of the method for speech recognition, voice punctuate
CN106855826B (en) Background application program control method and device
WO2017185605A1 (en) File management method and electronic equipment
US20120296458A1 (en) Background Audio Listening for Content Recognition
CN107329772B (en) Application program management method and device of mobile terminal
CN106294564A (en) A kind of video recommendation method and device
CN107402808B (en) Process management method, device, storage medium and electronic equipment
CN105893087A (en) Application program starting method and device
CN105975323A (en) Application management method and device and terminal
CN106649645B (en) Playlist processing method and device
CN107396178B (en) Method and device for editing video
CN107704317B (en) Intelligent device and application management method thereof and device with storage function
CN107395872B (en) Application starting method and device, storage medium and electronic equipment
CN110889074B (en) Page display method and device, storage medium and electronic equipment
CN109121005A (en) The processing method and electronic equipment of multi-medium data
CN105808300B (en) A kind of starting-up method and device of terminal
CN114091712A (en) Hotel self-service clothes washing method and device, electronic equipment and storage medium
CN104915355B (en) A kind of user classification method, device and server
CN105323315B (en) Application method for down loading, server and client based on mobile terminal
CN110797048B (en) Method and device for acquiring voice information
WO2020073242A1 (en) Minigame access method and related device
CN104867508B (en) A kind of method and apparatus that audio files continuously plays

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