Search

CN-122019217-A - Acceleration method, apparatus, device, medium, and program product

CN122019217ACN 122019217 ACN122019217 ACN 122019217ACN-122019217-A

Abstract

The application relates to the technical field of computers, and discloses an acceleration method, an acceleration device, acceleration equipment, acceleration media and acceleration program products. The method comprises the steps of displaying a first interface, wherein the first interface comprises first information, the first information is used for indicating the starting time of a first shopping event and/or the difference value between the starting time of the first shopping event and the system time of electronic equipment, obtaining the first information, determining the demand level of the first shopping event, wherein the demand level is used for indicating the emergency degree of the first shopping event, determining a first acceleration strategy corresponding to the demand level of the first shopping event based on the demand level of the first shopping event, and adjusting the running state of the electronic equipment based on the first acceleration strategy after the first information meets a set first condition. Therefore, the demand level of the robbery event can be determined based on the content of the first interface, and the corresponding acceleration strategy is determined based on the demand level, so that the system performance is improved, and the probability of success of the robbery of the user is improved.

Inventors

  • ZHANG SHUAI
  • OuYang Yunqing
  • Kou Zhenzhong
  • ZHANG BIN
  • WU CHAOHUI
  • LIU LEI
  • LI CHUANGJU

Assignees

  • 华为技术有限公司

Dates

Publication Date
20260512
Application Date
20250610

Claims (17)

  1. 1. An acceleration method, applied to an electronic device, comprising: Displaying a first interface, wherein the first interface comprises first information, and the first information is used for indicating the starting time of a first robbery event and/or the difference value between the starting time of the first robbery event and the system time of the electronic equipment; Acquiring the first information and determining a demand level of the first robbery event, wherein the demand level is used for indicating the emergency degree of the first robbery event; Determining a first acceleration strategy corresponding to the demand level of the first robbery event based on the demand level of the first robbery event; and after the first information meets a set first condition, adjusting the running state of the electronic equipment based on the first acceleration strategy.
  2. 2. The method of claim 1, wherein the first condition comprises at least one of: the system time of the electronic device has reached the start time of the first preemption event; the difference between the starting time of the first robbery event and the system time of the electronic device is less than or equal to a first time threshold.
  3. 3. The method according to claim 1 or 2, wherein the acquiring the first information comprises: Identifying the first interface, obtaining first information displayed in the first interface, and/or, Before the first purchase event starts, the electronic equipment acquires the first information when a user sets at least part of the purchase information corresponding to the first purchase event, The first-aid shopping information comprises at least one of a user name, a user certificate number, a user mobile phone number and the quantity of the to-be-first-aid purchased objects.
  4. 4. The method of any one of claims 1 to 3, wherein the first interface is a user interface of a first application in the electronic device, the first application having a preemption feature, the first preemption event being an event corresponding to the preemption feature, and The determining the demand level of the first robbery event includes: acquiring at least one first shopping feature of the first shopping event and/or the type of the first application, wherein the first shopping feature comprises at least one of keywords related to shopping and countdown information; a demand level of the first preemption event is determined based on the at least one preemption feature and/or the type of the first application.
  5. 5. The method of any of claims 1-4, wherein the adjusting the operational state of the electronic device based on the first acceleration policy comprises: Determining that the operation of switching the first interface or closing the first interface by a user is not detected in a first time interval according to the first information, wherein the first time interval is a time interval which is smaller than or equal to a second time threshold value and is spaced from the starting time of the first shopping event before the system time of the electronic equipment reaches the starting time of the first shopping event; and adjusting the running state of the electronic equipment based on the first acceleration strategy.
  6. 6. The method of any one of claims 1 to 5, wherein the demand level of the first preemptive event is one of a preset plurality of demand levels, wherein the higher the demand level is, the higher the urgency of the corresponding preemptive event, and One demand level corresponds to one acceleration policy, and the higher the demand level, the more acceleration means or the higher the corresponding power consumption are adopted by the corresponding acceleration policy.
  7. 7. The method of claim 6, wherein the step of providing the first layer comprises, The preset multiple demand levels include a first demand level, a second demand level and a third demand level, the multiple acceleration strategies corresponding to the preset multiple demand levels include a first gear acceleration strategy, a second gear acceleration strategy and a third gear acceleration strategy, wherein the first demand level corresponds to the first gear acceleration strategy, the second demand level corresponds to the second gear acceleration strategy, the third demand level corresponds to the third gear acceleration strategy, and the third demand level is higher than the second demand level, and the second demand level is higher than the first demand level; the first gear acceleration policy includes at least one of component level occlusion culling, off-peak reclaiming memory, preloading, prerendering, or processor/memory boosting to a first frequency, The second gear acceleration policy includes at least one of component level occlusion culling, off-peak memory reclamation, preloading, pre-rendering, processor/memory frequency boosting to a second frequency, or using a lightweight dynamic effect, wherein the second frequency is greater than the first frequency, The third gear acceleration policy includes at least one of component level occlusion culling, peak-shifting reclaiming memory, preloading, prerendering, processor/memory boosting to a second frequency, dynamic clipping, or intelligent look-up, wherein, The first gear acceleration strategy, the second gear acceleration strategy, and the third gear acceleration strategy comprise at least partially different means.
  8. 8. The method according to any one of claims 1-7, further comprising: and displaying acceleration prompt information, wherein the acceleration prompt information is used for indicating that the running state of the electronic equipment is adjusted based on the acceleration strategy and/or the requirement level corresponding to the acceleration strategy.
  9. 9. The method of claim 8, wherein the acceleration-cue information includes a gear-adjustment control for providing a user with a function of switching a first acceleration policy corresponding to the preemptive event; the method further comprises the steps of: And after the user adjusts the first acceleration strategy into a second acceleration strategy through the gear adjusting control, adjusting the running state of the electronic equipment based on the second acceleration strategy.
  10. 10. The method according to any one of claims 1-9, further comprising: Detecting that a user ends the operation of the first shopping event, detecting that a shopping task corresponding to the first shopping event is successful, or detecting that the shopping task corresponding to the first shopping event is failed, wherein the operation of the user ending the first shopping event comprises one of the following operations that the user closes the electronic equipment, the user closes a first application corresponding to the first shopping event, and the user switches a user interface of the electronic equipment into an operation of an interface of the first application which is not related to the first shopping event; And restoring the running state of the electronic equipment.
  11. 11. The method according to any one of claims 1-10, further comprising: And detecting success of the first purchase task corresponding to the first purchase event, and displaying prompt information and/or an acceleration report of the success of the purchase, wherein the acceleration report comprises at least one of network acceleration information and performance acceleration information.
  12. 12. The method of any of claims 1-11, wherein the adjusting the operational state of the electronic device based on the first acceleration policy comprises: Detecting that a first function for adjusting the running state of the electronic equipment in the electronic equipment is started, calling the first function to adjust the running state of the electronic equipment based on the first acceleration strategy, or Detecting that the first function is not started, starting the first function, and calling the first function to adjust the running state of the electronic equipment based on the first acceleration strategy, or And detecting that the first function is not started, detecting the operation of starting the first function by a user, and calling the first function to adjust the running state of the electronic equipment based on the first acceleration strategy.
  13. 13. The method of claim 12, wherein the operation of the user to turn on the first function comprises a gesture operation.
  14. 14. An acceleration apparatus, characterized by comprising one or more modules for performing the method of any one of claims 1 to 13.
  15. 15. An electronic device, comprising: A memory for storing computer program instructions; a processor for executing the computer program instructions to support the electronic device to implement the method of any one of claims 1 to 13.
  16. 16. A computer-readable storage medium, having stored thereon computer program instructions which, when executed by a processing circuit, implement the method of any of claims 1 to 13.
  17. 17. A computer program product comprising computer program instructions which, when executed on a device, cause the device to carry out the method of any one of claims 1 to 13.

Description

Acceleration method, apparatus, device, medium, and program product Technical Field The present application relates to the field of computer technology, and in particular, to an acceleration method, apparatus, device, medium, and program product. Background With the development of computer technology, online purchasing (e.g., ticket purchasing, commodity purchasing, etc.) scenes based on electronic equipment (e.g., mobile phones, etc.) are increasing. In the case of a robbery scenario, if the performance of the electronic device is low or the network performance is poor, the user may be difficult to complete the robbery, thereby affecting the user experience. Disclosure of Invention In order to improve the probability of success of user shopping under a shopping scene, the embodiment of the application provides an acceleration method, an acceleration device, acceleration equipment, acceleration media and acceleration program products. The first aspect of the application provides an acceleration method which is applied to electronic equipment and comprises the steps of displaying a first interface, wherein the first interface comprises first information, the first information is used for indicating the starting time of a first shopping event and/or the difference value between the starting time of the first shopping event and the system time of the electronic equipment, acquiring the first information, determining the demand level of the first shopping event, wherein the demand level is used for indicating the emergency degree of the first shopping event, determining a first acceleration strategy corresponding to the demand level of the first shopping event based on the demand level of the first shopping event, and adjusting the running state of the electronic equipment based on the first acceleration strategy after the first information meets a set first condition. Through the method, the electronic equipment can determine the demand level of the corresponding purchasing event based on the content of the first interface displayed by the electronic equipment, and determine the corresponding acceleration strategy based on the corresponding demand level, so that the system performance is improved, the probability of success of purchasing by the user is improved, and the user experience is improved. In a possible implementation of the first aspect, the first condition includes at least one of a system time of the electronic device having reached a start time of the first preemption event, and a difference between the start time of the first preemption event and the system time of the electronic device being less than or equal to a first time threshold. In the embodiment of the present application, the time when the system time of the electronic device has reached the first preemption event may be the same as the time when the system time of the electronic device is started by the first preemption event, or may be the time when the system time of the electronic device is greater than (has exceeded) the time when the first preemption event is started by the first preemption event. It will be appreciated that some adjustment time may be required due to the adjustment of the operating state of the electronic device. Therefore, compared with the method that the running state of the electronic equipment is adjusted when the system time of the electronic equipment reaches the starting time of the first purchasing event, the running state of the electronic equipment is adjusted when the difference value between the starting time of the first purchasing event and the system time of the electronic equipment is smaller than or equal to the first time threshold value, and the risk of purchasing failure caused by untimely adjustment can be reduced. In one possible implementation of the first aspect, the acquiring the first information includes identifying a first interface, acquiring the first information displayed in the first interface, and/or acquiring the first information by the electronic device when the user sets at least part of the first purchase information corresponding to the first purchase event before the first purchase event starts, where the first purchase information includes at least one of a user name, a user certificate number, a user mobile phone number, and a number of objects to be purchased. In the embodiment of the present application, if the user does not preset part of the first purchase information, the electronic device 100 may directly identify the first interface and obtain the starting time of the first purchase event and/or the difference between the starting time of the first purchase event and the system time of the electronic device 100. If the user sets part of the first-aid shopping information in advance, the electronic device 100 may identify a user interface of the electronic device 100 and acquire a start time of the first-aid shopping event when the user sets part of the first-aid