CN108776605B - Application program optimization method, device, equipment and storage medium - Google Patents

Application program optimization method, device, equipment and storage medium Download PDF

Info

Publication number
CN108776605B
CN108776605B CN201810562750.6A CN201810562750A CN108776605B CN 108776605 B CN108776605 B CN 108776605B CN 201810562750 A CN201810562750 A CN 201810562750A CN 108776605 B CN108776605 B CN 108776605B
Authority
CN
China
Prior art keywords
data
application program
optimization
presentation form
historical
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
CN201810562750.6A
Other languages
Chinese (zh)
Other versions
CN108776605A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201810562750.6A priority Critical patent/CN108776605B/en
Publication of CN108776605A publication Critical patent/CN108776605A/en
Application granted granted Critical
Publication of CN108776605B publication Critical patent/CN108776605B/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/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural

Abstract

The embodiment of the invention provides an optimization method, device, equipment and storage medium of an application program, wherein the method comprises the following steps: acquiring data of a preset type in an application program as optimized reference data; judging whether the presentation form of the data is set by the application program at present; and if the presentation form of the data is set by the application program, optimizing the presentation form based on the optimization reference data. The embodiment of the invention can improve the data presentation effect of the application program and enhance the user experience.

Description

Application program optimization method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to an application program optimization method, device, equipment and storage medium.
Background
With the increase of the application program types and the diversification of application scenes, the use requirements of users tend to be complicated and customized, and the requirements of the users on the data presentation effect of the application programs in the use process are higher and higher.
In the prior art, data of an application program is presented to a user mainly based on an application use scenario manually configured by the user or by default by the system, or a single use mode recommended by the system, for example, font size, display form, browsing form, and the like are generally defaulted in a general application program, and these presentation paradigms are relatively fixed, cannot meet the differentiated requirements of complex application scenarios and increasingly rich business applications, and the presentation effect of the data is relatively poor.
Disclosure of Invention
The embodiment of the invention provides an optimization method, device and equipment of an application program and a storage medium, which are used for improving the data presentation effect of the application program and enhancing the user experience.
A first aspect of an embodiment of the present invention provides a method for optimizing an application program, including:
acquiring data of a preset type in an application program as optimized reference data;
judging whether the presentation form of the data is set by the application program at present;
and if the presentation form of the data is set by the application program, optimizing the presentation form based on the optimization reference data.
Optionally, the optimization reference data includes a historical representation of the application;
if the presentation mode of the data has been set by the application program, optimizing the presentation mode based on the optimization reference data, including:
based on the historical presentation form of the application program, adopting a preset first optimization strategy to select one of the following optimization operations to optimize the current presentation form of the application program;
the optimization operation comprises the following steps: substitution operation, superposition operation and enhancement operation.
Optionally, the optimized reference data includes real-time data of a preset type of the application program;
if the presentation form of the data has been set by the application program, optimizing the presentation form based on the optimization reference data, including:
determining whether the content of the real-time data is matched with the current presentation form of the application program or not based on a preset second optimization strategy;
and if not, optimizing the current presentation form based on the second optimization strategy so as to enable the presentation form obtained after optimization to be matched with the content of the real-time data.
Optionally, the optimization reference data includes historical preference data of the user;
the method further comprises the following steps:
and if the presentation form of the data is not set by the application program, the presentation form of the application program configuration data is based on the historical preference data of the user.
A second aspect of an embodiment of the present invention provides an apparatus for optimizing an application, including:
the acquisition module is used for acquiring data of a preset type in the application program as optimized reference data;
the judging module is used for judging whether the presentation form of the data is set by the application program at present;
and the optimization module is used for optimizing the presentation form based on the optimization reference data when the presentation form of the data is set by the application program.
Optionally, the optimization reference data includes a historical representation of the application;
the optimization module comprises:
the first optimization submodule is used for selecting one of the following optimization operations to optimize the current presentation form of the application program by adopting a preset first optimization strategy based on the historical presentation form of the application program;
the optimization operation comprises the following steps: substitution operation, superposition operation and enhancement operation.
Optionally, the optimization reference data includes real-time data of a preset type of the application program;
the optimization module comprises:
a second optimization submodule to:
determining whether the content of the real-time data is matched with the current presentation form of the application program or not based on a preset second optimization strategy;
and if not, optimizing the current presentation form based on the second optimization strategy so as to enable the presentation form obtained after optimization to be matched with the content of the real-time data.
Optionally, the optimization reference data includes historical preference data of the user;
the optimization module comprises:
and the third optimization sub-module is used for configuring the presentation form of the data for the application program based on the historical preference data of the user when the judging module judges that the presentation form of the data is not set by the application program.
A third aspect of the embodiments of the present invention provides a terminal device, including:
a processor;
a memory for storing the processor-executable instructions;
the method of the first aspect described above may be performed when the processor executes the executable instructions.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium, which includes instructions, when the instructions are executed on the computer, the computer may perform the method of the first aspect.
According to the embodiment of the invention, the data of the preset type in the application program is obtained as the optimized reference data, whether the presentation form of the data is set by the application program or not is judged, and when the presentation form of the data set by the application program is judged, the current presentation form is optimized based on the obtained optimized reference data, so that the purpose of improving the presentation effect of the data of the application program is realized, and the user experience is improved.
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 embodiments or the description of 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 flowchart of an application optimization method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an application optimization apparatus according to an 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.
The terms "comprises" and "comprising," and any variations thereof, in the description and claims of this invention are intended to cover a non-exclusive inclusion, e.g., a process or device that comprises a list of steps is not necessarily limited to those structures or steps explicitly listed but may include other steps or structures not expressly listed or inherent to such process or device.
The embodiment of the invention provides an optimization method of an application program. The method can be executed by an application optimization device (hereinafter referred to as an optimization device), which can be disposed in a terminal device carrying an application or disposed in a server providing a service for the application. Referring to fig. 1, fig. 1 is a flowchart of an optimization method for an application according to an embodiment of the present invention, and as shown in fig. 1, the method includes the following steps:
step 101, acquiring data of a preset type in an application program as optimization reference data.
The obtaining operation in step 101 may be executed in real time or periodically, and is not specifically limited in this embodiment.
The application in this embodiment is not particularly limited to a certain application, and the application in this embodiment may be any application using a terminal device as a carrier, for example, an application providing an electronic map or a navigation service, an application providing a news inquiry service, an application providing a search or reservation service, and the like, but is not limited to the above applications.
In an actual scenario, one or more types of data in the application may be set as the optimization reference data of the application according to needs. In addition, the data type of the optimization reference data can be set according to the needs, and the optimization reference data can indirectly or directly influence the optimization operation of the data presentation form of the application program. For example, in one possible design, historical data of the application may be used as optimization reference data, and the historical data may be historical usage data of an owner of the terminal device where the application is located, or may further include historical usage data shared by other users who use the application. The historical usage data may include setting information of the application data presentation form by the user, or may also include all historical presentation forms of the application, and further, the historical usage data may be cluster analyzed by a cluster analysis method to obtain the historical presentation form of the application or historical preference data of the user, for example, data of displaying the application with a first brightness when the ambient light intensities are within a range from a to b or data of displaying the application with a second brightness when the ambient light intensities are within a range from c to d or data of displaying the application with a user preference may be obtained by cluster analysis, where the presentation form of the application data in this embodiment may refer to effects of data presentation, such as font style, font size, background color, and the like, and may also refer to conditions of data presentation, such as showing the route with the shortest route, etc., it is understood that the above description is only for illustration of the clear description and not for the only limitation of the present invention.
In another possible design, a specific type of real-time data may also be used as the optimization reference data, where the type of the real-time data may be set according to needs, and the embodiment is not particularly limited. For example, when the application program in this embodiment is a navigation application program, since the road condition is changed in real time, when a certain section of the original navigation route is congested at a certain time, if the current navigation route is also used, redundant waiting time is caused to the user, and at this time, if the real-time road condition information is used as the optimization reference data, the driving route of the section can be re-planned when congestion occurs in a certain section, so as to achieve the purpose of optimizing the navigation route (the navigation route is also a presentation form of the application level data). It is understood that this is by way of illustration and not by way of limitation.
In yet another possible design, user feature data set by the user in the application may also be used as the optimization reference data, for example, the user feature data may be, but is not limited to, the age, sex, hobbies of the user, and even fingerprint data, iris data, etc. specific to the user. When the presentation form of the application degree is optimized, the presentation form of the application program can be optimized into a presentation form adapted to the user characteristic data according to a preset mapping relation between the user characteristic data and the presentation form.
And 102, judging whether the presentation form of the data is set by the application program currently, wherein if the presentation form of the data is set by the application program, executing the step 103.
And 103, optimizing the presentation form based on the optimization reference data.
The manner of optimizing the presentation form based on the optimized reference data in this embodiment may include the following:
in a possible manner, a history presentation form of the application program is used as the optimization reference data, wherein the obtaining method of the history presentation form of the application program is similar to the foregoing method, and is not described in detail here. Wherein, when the optimization reference parameters include historical presentation of the application, the executable optimization operations include, but are not limited to, substitution operations, overlay operations, and enhancement operations. When the current presentation form of the application program does not include the historical presentation form of the application program, and the history presentation form and the current presentation form are not mutually conflicted and complementary, the historical presentation form is superposed into the current presentation form, the current presentation form is perfected, for example, in the historical presentation form, a user prefers to search for a route with the shortest route, the current presentation form is a route with the least used transportation means, and after the historical presentation form is added into the current presentation form, the route with the shortest route is output on the premise that the used transportation means are the least. When the attribute (such as, but not limited to, font style, font size, brightness, etc.) of the content included in the history presentation form is the same as the attribute of a certain content in the current presentation form, it may be determined according to a preset policy whether the content in the history presentation form needs to be replaced by the content in the history presentation form, and the replacement is performed when the replacement is needed, for example, a day mode is used in the history presentation form from 6 am to 6 pm, a night mode is used in the past 6 pm to 6 am, and a day mode is used in the current presentation form, and the current time is in the past 6 pm to 6 am, so that the money presentation form is optimized to the night mode. When part of the content in the history presentation form is contained in the current presentation form and part of the content is not contained in the current presentation form, the current presentation form can be enhanced by combining the above substitution and superposition methods. Of course, the above-mentioned examples in explaining the overlapping operation, the replacing operation and the enhancing operation are only illustrative for clarity and are not only restrictive to the invention.
In another possible manner of this embodiment, real-time data of a preset type in the application program may also be used as the optimization reference data. And determining whether the content of the real-time data is matched with the current presentation form of the application program or not based on a preset second optimization strategy, and optimizing the current presentation form into a form matched with the content of the real-time data based on the second optimization strategy when the content of the real-time data is not matched with the current presentation form of the application program. For example, the currently obtained real-time data is 10 pm, the presentation form of the current application program is a daytime mode, and according to a preset second optimization strategy, the night mode is corresponding to a point from 6 pm to 5 am, and the current presentation form is optimized to the night mode. It is of course only illustrative and not exclusive here.
In addition, in another situation, when the application program does not currently set the presentation form of the data, that is, the user initially logs in the application program, and there is no configuration data about the presentation form in the application program, this embodiment may acquire historical preference data of the user when using other application programs on the terminal device, or acquire historical preference data of other users using the application program through the network side server, and set the presentation form for the application program based on the acquired historical preference data.
According to the embodiment of the invention, the data of the preset type in the application program is obtained as the optimized reference data, whether the presentation form of the data is set by the application program or not is judged, and when the presentation form of the data set by the application program is judged, the current presentation form is optimized based on the obtained optimized reference data, so that the purpose of improving the presentation effect of the data of the application program is realized, and the user experience is improved.
Fig. 2 is a schematic structural diagram of an optimization apparatus for an application according to an embodiment of the present invention, and as shown in fig. 2, the apparatus includes:
the obtaining module 11 is configured to obtain data of a preset type in an application program as optimized reference data;
a judging module 12, configured to judge whether the application program has a data presentation form currently set;
and the optimization module 13 is configured to optimize the presentation form based on the optimization reference data when the presentation form of the data has been set by the application program.
Optionally, the optimization reference data includes a historical representation of the application;
the optimization module 13 includes:
the first optimization submodule is used for selecting one of the following optimization operations to optimize the current presentation form of the application program by adopting a preset first optimization strategy based on the historical presentation form of the application program;
the optimization operation comprises the following steps: substitution operation, superposition operation and enhancement operation.
Optionally, the optimized reference data includes real-time data of a preset type of the application program;
the optimization module 13 includes:
a second optimization submodule to:
determining whether the content of the real-time data is matched with the current presentation form of the application program or not based on a preset second optimization strategy;
and if not, optimizing the current presentation form based on the second optimization strategy so as to enable the presentation form obtained after optimization to be matched with the content of the real-time data.
Optionally, the optimization reference data includes historical preference data of the user;
the optimization module 13 includes:
and the third optimization sub-module is used for configuring the presentation form of the data for the application program based on the historical preference data of the user when the judging module judges that the presentation form of the data is not set by the application program.
The embodiment of the present invention further provides a terminal device, which is characterized by including:
a processor;
a memory for storing the processor-executable instructions;
the processor, when executing the executable instructions, may perform the method of any of the embodiments described above.
An embodiment of the present invention further provides a computer-readable storage medium, which includes instructions, and when the instructions are executed on the computer, the computer may execute the method of any one of the above embodiments.
Finally, it should be noted that, as one of ordinary skill in the art will appreciate, all or part of the processes of the methods of the embodiments described above may be implemented by hardware related to instructions of a computer program, where the computer program may be stored in a computer-readable storage medium, and when executed, the computer program may include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a Random Access Memory (RAM).
Each functional unit in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may also be stored in a computer readable storage medium. The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
The above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1. A method for optimizing an application program, comprising:
acquiring data of a preset type in an application program as optimized reference data;
judging whether the presentation form of the data is set by the application program at present;
if the presentation form of the data is set by the application program, optimizing the presentation form based on the optimization reference data; wherein the optimized reference data comprises: the historical presentation form of the application program, or the preset type real-time data of the application program;
if the presentation form of the data is not set by the application program, configuring the presentation form of the data for the application program based on historical preference data of a user; the historical preference data is historical preference data of the user when using other application programs or historical preference data of other users using the application programs.
2. The method of claim 1, wherein when the optimized reference data is a historical representation of the application; if the presentation mode of the data is set by the application program, optimizing the presentation mode based on the optimization reference data, including:
based on the historical presentation form of the application program, adopting a preset first optimization strategy to select one of the following optimization operations to optimize the current presentation form of the application program;
the optimization operation comprises the following steps: substitution operation, superposition operation and enhancement operation.
3. The method of claim 1, wherein when the optimized reference data is real-time data of a preset type of the application program; if the presentation form of the data has been set by the application program, optimizing the presentation form based on the optimization reference data, including:
determining whether the content of the real-time data is matched with the current presentation form of the application program or not based on a preset second optimization strategy;
and if not, optimizing the current presentation form based on the second optimization strategy so as to enable the presentation form obtained after optimization to be matched with the content of the real-time data.
4. An apparatus for optimizing an application program, comprising:
the acquisition module is used for acquiring data of a preset type in an application program as optimized reference data;
the judging module is used for judging whether the presentation form of the data is set at present or not in the application program;
the optimization module is used for optimizing the presentation form based on the optimization reference data when the presentation form of the data is set by the application program; wherein the optimized reference data comprises: a historical presentation form of the application program, or preset type real-time data of the application program;
the optimization module comprises:
the third optimization sub-module is used for configuring the presentation form of the data for the application program based on the historical preference data of the user when the judging module judges that the presentation form of the data is not set by the application program; the historical preference data is historical preference data of the user when using other application programs or historical preference data of other users using the application programs.
5. The apparatus of claim 4, wherein when the optimized reference data is a historical representation of the application; the optimization module comprises:
the first optimization sub-module is used for selecting one of the following optimization operations to optimize the current presentation form of the application program by adopting a preset first optimization strategy based on the historical presentation form of the application program;
the optimization operation comprises the following steps: substitution operation, superposition operation and enhancement operation.
6. The apparatus of claim 4, wherein when the optimized reference data is real-time data of a preset type of the application program; the optimization module comprises:
a second optimization submodule to:
determining whether the content of the real-time data is matched with the current presentation form of the application program or not based on a preset second optimization strategy;
and if not, optimizing the current presentation form based on the second optimization strategy so as to enable the presentation form obtained after optimization to be matched with the content of the real-time data.
7. A terminal device, comprising:
a processor;
a memory for storing the processor-executable instructions;
the processor, when executing the executable instructions, may perform the method of any of claims 1-3 above.
8. A computer-readable storage medium comprising instructions which, when executed on the computer, cause the computer to perform the method of any of claims 1-3.
CN201810562750.6A 2018-06-04 2018-06-04 Application program optimization method, device, equipment and storage medium Active CN108776605B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810562750.6A CN108776605B (en) 2018-06-04 2018-06-04 Application program optimization method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810562750.6A CN108776605B (en) 2018-06-04 2018-06-04 Application program optimization method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108776605A CN108776605A (en) 2018-11-09
CN108776605B true CN108776605B (en) 2022-09-13

Family

ID=64024479

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810562750.6A Active CN108776605B (en) 2018-06-04 2018-06-04 Application program optimization method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108776605B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112463778B (en) * 2020-11-24 2021-07-23 山西广电新媒体有限公司 Information processing method based on big data and application program and big data server

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8332478B2 (en) * 1998-10-01 2012-12-11 Digimarc Corporation Context sensitive connected content
CN101526359A (en) * 2008-03-04 2009-09-09 鲁欣 Automatic analysis method for running route of navigation apparatus and data sharing method between devices
CN106528896B (en) * 2016-12-29 2019-05-14 网易(杭州)网络有限公司 A kind of database optimizing method and device
CN107484006A (en) * 2017-08-08 2017-12-15 深圳创维数字技术有限公司 A kind of interface processing method, set top box and storage medium
CN107894908A (en) * 2017-11-22 2018-04-10 解君 A kind of rapid-setting method of intelligent terminal

Also Published As

Publication number Publication date
CN108776605A (en) 2018-11-09

Similar Documents

Publication Publication Date Title
CN109308255B (en) Method and device for A/B test experiment
US11132349B2 (en) Update basis for updating digital content in a digital medium environment
EP2973181B1 (en) Managing policy and permissions profiles
WO2018077046A1 (en) Method and apparatus for providing information
US9871888B2 (en) Adaptive function-based dynamic application extension framework
CN101226525B (en) Method, server, client terminal and system for controlling download and display of web page layout
CN108228210B (en) Resource updating method and system
US20170011324A1 (en) Dispatch system for matching drivers and users
US10636042B2 (en) Method, system, computer program product and program for creating and using actionable journey maps
CN106708820B (en) Information display method and device
US10078508B2 (en) Information providing method, device, and apparatus
CN109426541A (en) A kind of method and apparatus that the page changes skin
US20220207461A1 (en) On-Demand Coordinated Comestible Item Delivery System
CN112948226B (en) User portrait drawing method and device
US20190080113A1 (en) Apparatus for recommending user's privacy control and method for the same
CN110765208B (en) Data synchronization method and device, electronic equipment and storage medium
CN104731645A (en) Task scheduling method and device and data downloading method and device
CN112104505B (en) Application recommendation method, device, server and computer readable storage medium
CN110458646A (en) Page display method, device, computer equipment and storage medium
CN108776605B (en) Application program optimization method, device, equipment and storage medium
CN111931063A (en) Information push processing method based on block chain and artificial intelligence and cloud service platform
CN105138532A (en) Method, device and system for processing service data
KR20130082848A (en) Method and apparatus for application recommendation
EP3407284A1 (en) Method and system for offline rendering ads from cached resources
US10706119B1 (en) Content prefetching to user devices based on rendering characteristics

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