CN110971974B - Configuration parameter creating method, device, terminal and storage medium - Google Patents

Configuration parameter creating method, device, terminal and storage medium Download PDF

Info

Publication number
CN110971974B
CN110971974B CN201911240742.0A CN201911240742A CN110971974B CN 110971974 B CN110971974 B CN 110971974B CN 201911240742 A CN201911240742 A CN 201911240742A CN 110971974 B CN110971974 B CN 110971974B
Authority
CN
China
Prior art keywords
parameter
configuration parameters
original configuration
database
original
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
CN201911240742.0A
Other languages
Chinese (zh)
Other versions
CN110971974A (en
Inventor
董永清
孙良木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201911240742.0A priority Critical patent/CN110971974B/en
Publication of CN110971974A publication Critical patent/CN110971974A/en
Application granted granted Critical
Publication of CN110971974B publication Critical patent/CN110971974B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47205End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
    • H04N21/4756End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data for rating content, e.g. scoring a recommended movie
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker

Abstract

The disclosure provides a configuration parameter creating method, a configuration parameter creating device, a terminal and a storage medium, and belongs to the technical field of computers. The method comprises the following steps: displaying a parameter creation interface through a parameter setting application, wherein the parameter creation interface comprises a plurality of original configuration parameters in a database; combining a plurality of original configuration parameters in a database based on the indication operation detected in the parameter creation interface to obtain a target configuration parameter; adding the target configuration parameters to the database. A developer selects a plurality of original configuration parameters from a database according to the self requirement, and the target configuration parameters are created by utilizing the selected original configuration parameters, so that the expansion of the configuration parameters is realized, the display mode of comment information in a video playing interface is enriched, and the flexibility is improved. And because the created target configuration parameters are determined by developers according to the requirements of the developers, the customizability of the display mode is realized.

Description

Configuration parameter creating method, device, terminal and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for creating configuration parameters, a terminal, and a storage medium.
Background
With the development of computer technology, video watching is gradually popularized in daily life of people, and users can publish their opinions in the form of comment information and also can know the opinions of other viewers by looking over comment information published by other viewers in the process of watching videos.
In the related art, a developer presets a plurality of configuration parameters, and the display mode of the comment information can be determined by setting parameter values of the configuration parameters, so that the display mode of the comment information is limited by the configuration parameters, and the comment information is poor in flexibility and limited.
Disclosure of Invention
The present disclosure provides a configuration parameter creation method, apparatus, terminal and storage medium, which can overcome the problems existing in the related art, and the technical scheme is as follows:
according to a first aspect provided by an embodiment of the present disclosure, a method for creating configuration parameters is provided, where the method includes:
displaying a parameter creation interface through parameter setting application, wherein the parameter creation interface comprises a plurality of original configuration parameters in a database, and the original configuration parameters are used for determining a display mode of comment information in a video playing interface through set parameter values;
combining a plurality of original configuration parameters in the database based on the indication operation detected in the parameter creation interface to obtain target configuration parameters;
adding the target configuration parameters to the database.
In a possible implementation manner, the combining, based on the indication operation detected in the parameter creation interface, the multiple original configuration parameters in the database to obtain the target configuration parameter includes:
selecting a plurality of original configuration parameters from the database;
and combining the plurality of original configuration parameters to obtain the target configuration parameters.
In another possible implementation manner, the selecting a plurality of original configuration parameters from the database includes:
selecting a second number of original configuration parameters from a first number of original configuration parameters in the database, wherein the first number is not less than the second number; alternatively, the first and second electrodes may be,
and selecting a plurality of original configuration parameters from the database according to the selection operation detected in the parameter creation interface.
In another possible implementation, the method further includes:
setting parameter values for the original configuration parameters respectively, wherein the target configuration parameters comprise the original configuration parameters and the parameter values of the original configuration parameters.
In another possible implementation manner, the setting parameter values for the multiple original configuration parameters respectively includes:
for any original configuration parameter, when the triggering operation of the original configuration parameter is detected based on the parameter creation interface, displaying a parameter value setting window of the original configuration parameter;
and acquiring the parameter value input in the parameter value setting window, and setting the parameter value as the parameter value of the original configuration parameter.
In another possible implementation manner, the combining the multiple original configuration parameters to obtain the target configuration parameter includes:
and combining the plurality of original configuration parameters according to the selection sequence of the plurality of original configuration parameters to obtain the target configuration parameters, wherein the target configuration parameters are used for indicating that the display mode of the comment information is switched according to the sequence of the plurality of original configuration parameters.
In another possible implementation, the method further includes:
when the preview operation is detected, test comment information is obtained;
acquiring a parameter value of each original configuration parameter in the target configuration parameters;
determining a display mode according to the parameter value of each original configuration parameter in the target configuration parameters;
and displaying the test comment information in a preview area of the parameter creation interface according to the display mode.
In another possible implementation, the method further includes:
and sending the target configuration parameters to a server, and updating a database stored in the server by the server.
According to a second aspect provided by an embodiment of the present disclosure, there is provided a configuration parameter creation apparatus, including:
the interface display module is used for displaying a parameter creation interface through parameter setting application, wherein the parameter creation interface comprises a plurality of original configuration parameters in a database, and the original configuration parameters are used for determining the display mode of comment information in a video playing interface through set parameter values;
the combination module is used for combining a plurality of original configuration parameters in the database based on the indication operation detected in the parameter creation interface to obtain target configuration parameters;
and the adding module is used for adding the target configuration parameters into the database.
In one possible implementation, the combination module includes:
a selection unit for selecting a plurality of original configuration parameters from the database;
and the combination unit is used for combining the plurality of original configuration parameters to obtain the target configuration parameters.
In another possible implementation manner, the selecting unit is further configured to select a second number of original configuration parameters from the first number of original configuration parameters in the database, where the first number is not less than the second number; alternatively, the first and second electrodes may be,
the selection unit is further configured to select a plurality of original configuration parameters from the database according to the selection operation detected in the parameter creation interface.
In another possible implementation manner, the apparatus further includes:
a setting module, configured to set parameter values for the multiple original configuration parameters, respectively, where the target configuration parameter includes the multiple original configuration parameters and the parameter values of the multiple original configuration parameters.
In another possible implementation manner, the setting module includes:
the display unit is used for displaying a parameter value setting window of any original configuration parameter when the triggering operation of the original configuration parameter is detected on the basis of the parameter creation interface;
and the setting unit is used for acquiring the parameter value input in the parameter value setting window and setting the parameter value as the parameter value of the original configuration parameter.
In another possible implementation manner, the combining unit is further configured to combine the multiple original configuration parameters according to a selection order of the multiple original configuration parameters to obtain the target configuration parameter, where the target configuration parameter is used to instruct to switch the display manner of the comment information according to the sequence of the multiple original configuration parameters.
In another possible implementation manner, the apparatus further includes:
the information acquisition module is used for acquiring test comment information when preview operation is detected;
a parameter value obtaining module, configured to obtain a parameter value of each original configuration parameter in the target configuration parameters;
the determining module is used for determining a display mode according to the parameter value of each original configuration parameter in the target configuration parameters;
and the information display module is used for displaying the test comment information in a preview area of the parameter creation interface according to the display mode.
In another possible implementation manner, the apparatus further includes:
and the sending module is used for sending the target configuration parameters to a server, and the server updates a database stored in the server.
According to a third aspect provided by an embodiment of the present disclosure, a terminal is provided, where the terminal includes:
one or more processors;
volatile or non-volatile memory for storing the one or more processor-executable instructions;
wherein the one or more processors are configured to:
displaying a parameter creation interface through parameter setting application, wherein the parameter creation interface comprises a plurality of original configuration parameters in a database, and the original configuration parameters are used for determining a display mode of comment information in a video playing interface through set parameter values;
combining a plurality of original configuration parameters in the database based on the indication operation detected in the parameter creation interface to obtain target configuration parameters;
adding the target configuration parameters to the database.
According to a fourth aspect provided by an embodiment of the present disclosure, a computer-readable storage medium is provided, in which at least one instruction is stored, and the instruction is loaded and executed by a processor to implement the operations performed in the configuration parameter creating method according to the first aspect.
According to the configuration parameter creation method, the configuration parameter creation device, the terminal and the storage medium provided by the embodiment of the disclosure, the parameter creation interface is displayed through the parameter setting application, the parameter creation interface comprises a plurality of original configuration parameters in the database, when the instruction operation is detected in the parameter creation interface, the plurality of original configuration parameters in the database are combined to obtain the target configuration parameters, and the target configuration parameters are added into the database. The embodiment of the disclosure provides a method for creating a target configuration parameter according to an existing configuration parameter, a developer selects a plurality of original configuration parameters from a database according to own requirements, and creates the target configuration parameter by using the selected plurality of original configuration parameters, so that the expansion of the configuration parameters is realized, the display mode of comment information in a video playing interface is enriched, and the flexibility is improved. And because the created target configuration parameters are determined by developers according to the requirements of the developers, the customizability of the display mode is realized.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow diagram illustrating a configuration parameter creation method in accordance with an exemplary embodiment;
FIG. 2 is a flow diagram illustrating another configuration parameter creation method in accordance with an illustrative embodiment;
FIG. 3 is a diagram illustrating a parameter creation interface in accordance with an illustrative embodiment;
FIG. 4 is a schematic diagram illustrating a setup interface in accordance with an exemplary embodiment;
FIG. 5 is a schematic diagram illustrating an editing interface in accordance with an illustrative embodiment;
FIG. 6 is a schematic diagram illustrating another parameter creation interface in accordance with an illustrative embodiment;
FIG. 7 is a schematic diagram illustrating an information acquisition interface in accordance with an exemplary embodiment;
FIG. 8 is a schematic diagram illustrating another information acquisition interface in accordance with an illustrative embodiment;
FIG. 9 is a schematic diagram illustrating another information acquisition interface in accordance with an illustrative embodiment;
FIG. 10 is a block diagram illustrating a fast application framework in accordance with an exemplary embodiment;
FIG. 11 is a flowchart illustrating the launching of a fast application in accordance with an exemplary embodiment;
FIG. 12 is a block diagram illustrating a configuration parameter creation apparatus in accordance with an illustrative embodiment;
FIG. 13 is a block diagram illustrating another configuration parameter creation apparatus in accordance with an illustrative embodiment;
fig. 14 is a block diagram illustrating a terminal according to an example embodiment.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more apparent, the present disclosure is described in further detail below with reference to the embodiments and the accompanying drawings. The exemplary embodiments and descriptions of the present disclosure are provided herein for illustration of the present disclosure, but not for limitation of the present disclosure.
Fig. 1 is a flowchart illustrating a configuration parameter creation method according to an exemplary embodiment, as shown in fig. 1, including the steps of:
in step 101, the terminal displays a parameter creation interface through parameter setting application, where the parameter creation interface includes multiple original configuration parameters in a database, and the original configuration parameters are used to determine a display mode of comment information in a video playing interface through set parameter values.
In step 102, the terminal combines a plurality of original configuration parameters in the database based on the indication operation detected in the parameter creation interface to obtain a target configuration parameter.
In step 103, the terminal adds the target configuration parameters to the database.
According to the method provided by the embodiment of the disclosure, a parameter creation interface is displayed through parameter setting application, the parameter creation interface comprises a plurality of original configuration parameters in a database, when the parameter creation interface detects indication operation based on the parameter creation interface, the plurality of original configuration parameters in the database are combined to obtain target configuration parameters, and the target configuration parameters are added into the database. The embodiment of the disclosure provides a method for creating a target configuration parameter according to an existing configuration parameter, a developer selects a plurality of original configuration parameters from a database according to own requirements, and creates the target configuration parameter by using the selected plurality of original configuration parameters, so that the expansion of the configuration parameters is realized, the display mode of comment information in a video playing interface is enriched, and the flexibility is improved. And because the created target configuration parameters are determined by developers according to the requirements of the developers, the customizability of the display mode is realized.
In one possible implementation manner, combining multiple original configuration parameters in a database based on an indication operation detected in a parameter creation interface to obtain a target configuration parameter includes:
selecting a plurality of original configuration parameters from a database;
and combining the plurality of original configuration parameters to obtain the target configuration parameters.
In another possible implementation, selecting a plurality of original configuration parameters from a database includes:
selecting a second number of original configuration parameters from the first number of original configuration parameters in the database, wherein the first number is not less than the second number; alternatively, the first and second electrodes may be,
a plurality of original configuration parameters are selected from the database according to the selection operation detected in the parameter creation interface.
In another possible implementation, the method further includes:
and respectively setting parameter values for the plurality of original configuration parameters, wherein the target configuration parameters comprise a plurality of original configuration parameters and parameter values of the plurality of original configuration parameters.
In another possible implementation manner, setting parameter values for a plurality of original configuration parameters respectively includes:
for any original configuration parameter, when the triggering operation of the original configuration parameter is detected based on the parameter creation interface, displaying a parameter value setting window of the original configuration parameter;
and acquiring the parameter value input in the parameter value setting window, and setting the parameter value as the parameter value of the original configuration parameter.
In another possible implementation manner, combining a plurality of original configuration parameters to obtain a target configuration parameter includes:
and combining the plurality of original configuration parameters according to the selection sequence of the plurality of original configuration parameters to obtain target configuration parameters, wherein the target configuration parameters are used for indicating that the display mode of the comment information is switched according to the sequence of the plurality of original configuration parameters.
In another possible implementation, the method further includes:
when the preview operation is detected, test comment information is obtained;
acquiring a parameter value of each original configuration parameter in the target configuration parameters;
determining a display mode according to the parameter value of each original configuration parameter in the target configuration parameters;
and displaying the test comment information in a preview area of the parameter creation interface in a display mode.
In another possible implementation, the method further includes:
and sending the target configuration parameters to a server, and updating a database stored in the server by the server.
Fig. 2 is a flowchart illustrating a configuration parameter creating method according to an exemplary embodiment, and as shown in fig. 2, the method is applied to a terminal, where the terminal may be a mobile phone, a computer, a tablet computer, or the like. The method comprises the following steps:
in step 201, the terminal displays a parameter creation interface through a parameter setting application.
In the process of watching the video, the user can make own comments on the currently played video and can also check the comments made by other users in the video playing interface. And the comments of the user can be displayed in the video playing interface in the form of comment information.
The display mode of the comment information is related to the configuration parameters, and the configuration parameters are used for determining the display mode of the comment information in the video playing interface through the set parameter values.
Therefore, the embodiment of the present disclosure provides a parameter setting application, and a terminal may install the parameter setting application, and the parameter setting application provides functions of setting configuration parameters, setting parameter values of the configuration parameters, and creating new configuration parameters, and can be used by developers. The developer may perform an operation based on the parameter setting application, which creates the configuration parameters according to the operation performed by the developer. The parameter setting application can therefore be a development tool for developers.
The parameter setting application is provided with a corresponding database, the database comprises a plurality of types of original configuration parameters, the different types of original configuration parameters refer to different attributes and are used for indicating display modes of different attributes of the comment information, such as speed parameters, color parameters, display sizes, display fonts and the like of the comment information. For any of the original configuration parameters, once the parameter values for the original configuration parameters are determined, the manner in which the comment information is displayed based on the original configuration parameters may be determined. Different display modes of the comment information can be obtained by setting different parameter values for the original configuration parameters.
Firstly, the terminal installs the parameter setting application, and after the parameter setting application is started, a parameter creating interface is displayed through the parameter setting application, wherein the parameter creating interface comprises a plurality of original configuration parameters in a database.
In step 202, the terminal combines a plurality of original configuration parameters in the database based on the indication operation detected in the parameter creation interface to obtain a target configuration parameter.
The developer can create an interface to execute the operation based on the parameter, and the terminal can respond based on the operation executed by the developer.
When the terminal detects an indication operation based on the parameter creation interface, a plurality of original configuration parameters in the parameter creation interface are obtained, the original configuration parameters are combined to obtain a target configuration parameter, and the indication operation is used for indicating the terminal to create a new configuration parameter according to the original configuration parameters.
In one possible implementation manner, combining multiple original configuration parameters in a database based on an indication operation detected in a parameter creation interface to obtain a target configuration parameter includes: the terminal selects a plurality of original configuration parameters from the database based on the indication operation detected in the parameter creation interface, and combines the original configuration parameters to obtain the target configuration parameters.
Regarding the process of selecting a plurality of original configuration parameters from the database, in one possible implementation manner, the database includes a first number of original configuration parameters, and when the terminal detects an instruction operation based on the parameter creation interface, a second number of original configuration parameters are selected from the first number of original configuration parameters. Wherein the first number is not less than the second number.
For example, the database includes 20 original configuration parameters, and when the terminal detects a parameter creation operation based on the parameter creation interface, 5 original configuration parameters are selected from the 20 original configuration parameters, and then the target configuration parameters are created according to the 5 original configuration parameters.
When the second number of original configuration parameters are selected, random selection may be performed, or the second number of original configuration parameters with the largest number of usage times may be selected according to the number of usage times of each original configuration parameter, or other manners may be adopted.
In another possible implementation manner, a developer may trigger a selection operation on a plurality of original configuration parameters in the parameter creation interface, and the terminal selects the plurality of original configuration parameters from the database according to the selection operation detected in the parameter creation interface.
For example, a developer may perform a selection operation on any of the original configuration parameters in the parameter creation interface, and any of the original configuration parameters may be set to a selected state by the selection operation. The developer can also perform a trigger operation on the parameter creation option displayed in the parameter creation interface. When the terminal detects the triggering operation of the parameter creation option based on the parameter creation interface, a plurality of original configuration parameters in a selected state in the current interface are obtained. Subsequently, a target configuration parameter may be created according to the obtained plurality of original configuration parameters.
The selection operation may be a click operation, a double click operation, a long press operation, a sliding operation, or the like performed on any original configuration parameter.
For example, referring to fig. 3, the parameter creation interface includes original configuration parameters 1, original configuration parameters 2, original configuration parameters 3, and parameter creation options. When the terminal detects the click operation on the original configuration parameters 1 and 3, the original configuration parameters 1 and 3 are set to be in a selected state. When the terminal detects the click operation of the parameter creation option, the original configuration parameters 1 and 3 in the selected state are obtained. And combining the original configuration parameters 1 and 3 to obtain target configuration parameters.
Or, the parameter creation interface includes a first display area and a second display area, and each original configuration parameter in the database is displayed in the parameter display area, the selection operation may be an operation of dragging the original configuration parameter from the first display area to the second display area. After the follow-up developer finishes dragging, clicking a finishing option in the second display area, and combining the plurality of original configuration parameters in the second display area by the terminal to obtain the target configuration parameters.
The target configuration parameters obtained in step 202 may only include the original configuration parameters, or may include the original configuration parameters and parameter values set for each original configuration parameter.
(1) The target configuration parameters include only the original configuration parameters:
when the target configuration parameters only include the original configuration parameters, and when any subsequent terminal calls the target configuration parameters, parameter values need to be set for a plurality of original configuration parameters in the target configuration parameters, and then comment information is displayed based on the set plurality of parameter values. For example, the target configuration parameters include a speed parameter and a color parameter, but do not include the parameter values, and when any subsequent terminal calls the target configuration parameters, the parameter values of the speed parameter and the color parameter, that is, the speed value and the color value, of the current comment information that needs to be set are determined.
(2) The target configuration parameters comprise original configuration parameters and parameter values set for the original configuration parameters:
in a possible implementation manner, after the terminal acquires the plurality of original configuration parameters in the database according to the indication operation detected in the parameter creation interface, parameter values may be further set for the plurality of original configuration parameters, respectively. After the combination is performed according to the multiple original configuration parameters, the obtained target configuration parameters may include the multiple original configuration parameters and a parameter value of each original configuration parameter in the multiple original configuration parameters.
In a possible implementation, the process of setting parameter values for the plurality of original configuration parameters respectively includes: and for any original configuration parameter in the plurality of original configuration parameters, when the terminal detects the triggering operation of the original configuration parameter based on the parameter creation interface, displaying a parameter value setting window of the original configuration parameter. And the terminal acquires the parameter value input in the parameter value setting window and sets the parameter value as the parameter value of the original configuration parameter.
For example, when the terminal detects a click operation on any original configuration parameter based on the parameter creation interface, a parameter value setting window of the original configuration parameter is displayed, and the parameter value setting window comprises an input field and a confirmation option. When the terminal detects the trigger operation of the confirmation option, the parameter value input in the input field is acquired, and the parameter value is set as the parameter value of the original configuration parameter.
The parameter value may be a specific value, or, in consideration of diversification of display modes, a plurality of parameter values may be set for the original configuration parameter, indicating that comment information is displayed using different parameter values under different conditions.
For example, referring to fig. 4 and 5, when the terminal detects a click operation on a speed parameter, a parameter value setting interface of the speed parameter is displayed, as shown in fig. 4, and the current default speed value and an editing option are included in the parameter value setting interface. When the terminal detects the trigger operation on the editing option, a parameter value editing interface of the speed parameter is displayed, as shown in fig. 5, the parameter value editing interface includes an input box of a parameter name and a speed value and a completion option. When the click operation on the completion option is detected, acquiring the parameter value input in the input field:
Figure BDA0002306144410000101
where v denotes a speed value of the comment information, and t denotes a display time point of the comment information, that is, a play time point of the comment information in the video. In the process of displaying the comment information by subsequently calling the speed parameter, when t is more than 0 and less than 1, the display speed of the comment information is 1cm/s, when t is more than or equal to 1 and less than 2, the display speed of the comment information is 2cm/s, and when t is more than or equal to 2, the display speed of the comment information is 3 cm/s.
When the target configuration parameter includes the original configuration parameter and the parameter value set for the original configuration parameter, when the target configuration parameter is called, a plurality of parameter values included in the target configuration parameter may be directly obtained, and comment information is displayed based on the plurality of parameter values. For example, the target configuration parameter includes a set speed value and a set color value, and then any subsequent terminal calls the target configuration parameter to determine the speed value and the color value adopted when the comment information is displayed.
The parameter values of the original configuration parameters are set by developers, so that the actual requirements of different developers can be met, and the customizability of the display mode is realized.
It should be noted that, when a plurality of original configuration parameters are combined, the plurality of original configuration parameters may be combined in parallel, each original configuration parameter does not have a sequence, each original configuration parameter belongs to a different attribute, for example, a speed parameter and a color parameter belong to different attributes, and the two may be combined to form a target configuration parameter, and the target configuration parameter is used to determine a display speed and a color parameter of comment information.
Or, the plurality of original configuration parameters may be combined in a sequential order, that is, the original configuration parameters have a sequential order therebetween, so as to indicate that different original configuration parameters are adopted in different time periods.
In a possible implementation manner, the terminal determines a selection order of the multiple original configuration parameters, and combines the multiple original configuration parameters according to the selection order to obtain the target configuration parameter. And the target configuration parameters obtained based on the mode are used for indicating the display mode of the comment information to be switched according to the sequence of the original configuration parameters.
When any subsequent terminal calls the target configuration parameter, a parameter value is set for each original configuration parameter in the target configuration parameter, then based on the set parameter value, a display mode in each time period is determined according to the parameter value of the original configuration parameter corresponding to the time period, and comment information is displayed according to the determined display mode.
For example, the terminal sequentially acquires configuration parameter 1, configuration parameter 2, and configuration parameter 3. And combining the 3 configuration parameters according to the sequence of acquiring the 3 configuration parameters to obtain the target configuration parameters. The terminal calls a target configuration parameter, sets parameter values for the configuration parameter 1, the configuration parameter 2 and the configuration parameter 3 respectively, displays the comment information according to the display mode corresponding to the configuration parameter 1, displays the comment information according to the display mode corresponding to the configuration parameter 2, and displays the comment information according to the display mode corresponding to the configuration parameter 3.
The time lengths of different time periods can be equal, and the time lengths can be set by a terminal default or added to the target configuration parameters by developers when the target configuration parameters are created.
By adopting the mode, the existing multiple original configuration parameters can be arranged according to the sequence according to the requirements of developers, so that the target configuration parameters of the display mode switched according to the time period are formed, the developers can customize the target configuration parameters according to the requirements, the customization of the configuration parameters is realized, and the flexibility is improved.
In step 203, the terminal adds the target configuration parameters to the database.
After the terminal obtains the created target configuration parameter, in order to ensure that the target configuration parameter can be called again when the comment information is subsequently displayed, the terminal may add the created target configuration parameter to the database.
In a possible implementation manner, after the terminal creates the target configuration parameter, the target configuration parameter is directly added to a database stored in the current terminal. And simultaneously, displaying the target configuration parameters in a parameter creation interface. That is, the target configuration parameter and other original configuration parameters included in the database are displayed in the parameter creation interface.
For example, before the target configuration parameter is created, the parameter creation interface displayed by the terminal is as shown in fig. 3, the database includes configuration parameter 1, configuration parameter 2, and configuration parameter 3, after the target configuration parameter is created, the parameter creation interface displayed by the terminal is as shown in fig. 6, and the database includes the target configuration parameter, configuration parameter 1, configuration parameter 2, and configuration parameter 3.
In another possible implementation manner, an addition option is displayed in the parameter creation interface, and after the terminal creates the target configuration parameter, when the terminal detects a trigger operation on the addition option, the target configuration parameter is added to the parameter setting application in the database stored in the current terminal. And simultaneously, displaying the target configuration parameters in a parameter creation interface.
For example, before the target configuration parameters are created, the configuration parameters 1, 2 and 3 are included in the database, the parameter creation interface includes an option of "add to database", and when the terminal detects a click operation on the option, the target configuration parameters are added to the database.
In addition, the developer may also delete existing configuration parameters from the database.
In a possible implementation manner, the parameter creation interface further includes a deletion option, and when the terminal detects a trigger operation on the deletion option, at least one original configuration parameter in a selected state in the parameter creation interface is acquired, and the at least one original configuration parameter is deleted from the database.
Moreover, after the target configuration parameter is added to the database, the target configuration parameter may also be deleted from the database, and the specific process is similar to the process of deleting the original configuration parameter in the database, and is not described herein again.
In addition, the developer can edit any configuration parameter in the database, such as editing the name, attribute, category, parameter value, etc. of the configuration parameter.
In a possible implementation manner, after the target configuration parameter is created, the terminal may further send the target configuration parameter to the server, and the server receives the target configuration parameter and updates the database of the parameter setting application stored in the server according to the target configuration parameter. The server can directly send the updated database to any terminal; alternatively, the server may send the updated database to any terminal when the terminal starts the parameter setting application. And when any terminal receives the updated database sent by the server, replacing the currently stored database with the database.
In another possible implementation manner, the terminal may further send the database to which the target configuration parameter has been added to the server, receive and store the database by the server, and then send the stored database to another terminal by the server.
The method for sending the target configuration parameters or the database added with the target configuration parameters to the server can enable developers using the parameter setting application to expand the database of the application, so that the developers can share the updated database and obtain richer comment information display modes.
In another possible implementation manner, after the terminal sends the database added with the target configuration parameters to the server, the server obtains the updated database, adds the updated database to an installation package of the target application, and publishes the installation package, any terminal can download the installation package and install the target application, and in the running process of the target application, a video playing interface of the target application can be displayed, any configuration parameter in the database is called to determine a display manner of comment information, the comment information is displayed in the video playing interface according to the display manner, the comment information can be bullet screen information or comment information in other forms, and the comment information can be displayed at the upper layer of a video playing area in the video playing interface or displayed in a comment area below the video playing area.
In step 204, when the terminal detects a preview operation, test comment information is acquired.
Considering that when the developer obtains the target configuration parameters, the developer expects to see the effect of displaying the comment information based on the target configuration parameters, the terminal can also preview the display mode corresponding to the target configuration parameters.
Because the current scene creates a scene of the target configuration parameters for the developer, and the comment information to be displayed is not determined temporarily, when the terminal detects the preview operation, the test comment information needs to be acquired, and then the test comment information can be displayed according to the display mode corresponding to the target configuration parameters.
In one possible implementation manner, a preview option is included in the parameter creation interface, and when a trigger operation on the preview option is detected, test comment information is acquired. The trigger operation may be a click operation, a double click operation, a long press operation, a slide operation, or the like on the preview option.
Regarding the process of obtaining the test comment information, in a possible implementation manner, the parameter creation interface includes a preview option, when the terminal detects a trigger operation on the preview option, the information obtaining interface is displayed, the information obtaining interface includes an information input field and a confirmation option, when the terminal detects a trigger operation on the confirmation option, information input in the information input field is obtained, and the information is determined as the test comment information. The trigger operation may be a click operation, a double click operation, a long press operation, a slide operation, or the like.
For example, referring to fig. 7, when the terminal detects a click operation on the confirmation option in the information acquisition interface, the text information "perform easily! ", the text message is" just performed "! "determined as test comment information.
In another possible implementation manner, the parameter creation interface includes a preview option, and when the terminal detects a trigger operation on the preview option, an information acquisition interface is displayed, where the information acquisition interface includes at least one preset candidate comment information. When the terminal detects the selection operation of any optional comment information, the optional comment information is obtained, and the optional comment information is determined as test comment information.
For example, referring to fig. 8, the information acquisition interface of the terminal includes three preset candidate comment information: "perform well! "," like one ", and" continue to try. When the terminal detects a match to "just perform! "when this candidate comment information is selected, the candidate comment information is determined as test comment information.
In another possible implementation manner, referring to fig. 9, the information obtaining interface includes not only at least one preset candidate comment information, but also a confirmation option. When the terminal detects the trigger operation of the confirmation option, any optional comment information in the selected state in the information acquisition interface is acquired, and the optional comment information is determined as test comment information.
In step 205, the terminal obtains a parameter value of each original configuration parameter in the target configuration parameters, and determines a display mode according to the parameter value of each original configuration parameter in the target configuration parameters.
In a possible implementation manner, if the target configuration parameter already includes the parameter value of each original configuration parameter, after the terminal acquires the target configuration parameter and the test comment information, the terminal may acquire the parameter value of each original configuration parameter included in the target configuration parameter, and then may determine the display manner of the test comment information according to the set parameter value.
In another possible implementation manner, the target configuration parameter only includes a plurality of original configuration parameters, at this time, the terminal may display a parameter value setting interface of the target configuration parameter, and obtain a parameter value of each original configuration parameter included in the target configuration parameter based on the parameter value setting interface, where the specific process refers to the process of obtaining the parameter values of the plurality of original configuration parameters in the database in step 202, and details are not described here again.
In another possible implementation manner, the target configuration parameters only include a plurality of original configuration parameters, and at this time, in order to improve the association degree between the test comment information and the display manner, the terminal may further set a parameter value for each of the plurality of original configuration parameters according to the obtained test comment information. The process of setting parameter values for the plurality of original configuration parameters according to the test comment information includes at least one of:
(1) the plurality of original configuration parameters at least includes a speed parameter:
the speed parameter is used to indicate the display speed of the comment information. The process that the terminal sets the parameter value of the speed parameter according to the test comment information comprises the following steps: and the terminal acquires the number of bytes contained in the test comment information, and sets a speed value matched with the number of bytes for the speed parameter according to the number of bytes.
In a possible implementation manner, the terminal queries a preset corresponding relationship according to the number of bytes, and determines a speed value corresponding to a numerical range to which the number of bytes belongs. And setting the speed value corresponding to the numerical range as a parameter value of the speed parameter.
The preset corresponding relation comprises a corresponding relation between a numerical range and a speed value. And, the more the number of bytes, the greater the speed value corresponding to the number of bytes, the faster the display speed of the test comment information, the less the number of bytes, the smaller the speed value corresponding to the number of bytes, the slower the display speed of the test comment information.
(2) The plurality of original configuration parameters at least comprises a duration parameter:
the duration parameter is used to indicate the duration of time that the comment information is in the display state. The process that the terminal sets the parameter value of the duration parameter according to the test comment information comprises the following steps: and the terminal acquires the number of bytes contained in the test comment information and determines a speed value matched with the number of bytes. And calculating the duration matched with the number of bytes according to the speed value matched with the number of bytes and the size of a preview area used for previewing the test comment information in the parameter creation interface, and setting the duration as a parameter value of the duration parameter.
The comment information is in a display state, namely the comment information is in the display state in the period from the moment when the comment information appears in a preview area of a parameter creation interface to the moment when the comment information completely disappears in the preview area.
(3) The plurality of original configuration parameters includes at least a color parameter:
the color parameter is used to indicate the display color of the comment information. The process that the terminal sets the parameter value of the color parameter according to the test comment information comprises the following steps: and the terminal extracts a preset color keyword from the test comment information and sets a color value corresponding to the color keyword as a parameter value of the color parameter.
It should be noted that, the above situations may be randomly combined, and may further include other original configuration parameters, specifically referring to the original configuration parameters included in the target configuration parameters. In addition to the above listed parameters, the original configuration parameters included in the target configuration parameters may also include location parameters or other parameters, which are not described herein again. The position parameter is used for representing the display position of the comment information, and the test comment information can be displayed at any position in the preview interface by setting a parameter value for the position parameter.
After the parameter values of the multiple original configuration parameters included in the target configuration parameter are obtained, the terminal may determine a display mode of the test comment information according to the multiple parameter values, where the display mode is a display mode corresponding to the target configuration parameter.
In step 206, the terminal displays the test comment information in a preview area of the parameter creation interface in a display manner.
After the terminal determines the display mode corresponding to the target configuration parameter, the test comment information can be displayed in the preview area of the parameter creation interface according to the display mode, and developers can know the display effect of the target configuration parameter according to the display mode of the test comment information.
In a possible implementation manner, after the terminal displays the test comment information in the preview area according to the display manner corresponding to the target configuration parameter, the display is stopped.
In another possible implementation manner, considering that a developer may desire to view the display manner of the test comment information for multiple times so as to improve based on the display manner, the parameter creation interface further includes a preview stopping option, the terminal repeatedly displays the test comment information in the preview area according to the display manner corresponding to the target configuration parameters, and when a trigger operation for stopping the preview option is detected, the display is stopped.
It should be noted that, the step 204 may be executed after the step 203; or, the step 204 may also be executed before the step 203, that is, after the terminal creates the target configuration parameter, the step 204 and the step 206 may be executed first, and after the display mode corresponding to the target configuration parameter is previewed, the target configuration parameter is added to the database; or, step 204 and step 203 may be executed simultaneously, that is, after the terminal creates the target configuration parameter, the target configuration parameter may be added to the database, and at the same time, the display mode corresponding to the target configuration is previewed. The embodiment of the present disclosure is described only by taking an example of a display mode in which preview of the target configuration parameters is performed after the target configuration parameters are added to the database.
According to the configuration parameter creation method, the configuration parameter creation device, the terminal and the storage medium provided by the embodiment of the disclosure, the parameter creation interface is displayed through the parameter setting application, the parameter creation interface comprises a plurality of original configuration parameters in the database, when the instruction operation is detected in the parameter creation interface, the plurality of original configuration parameters in the database are combined to obtain the target configuration parameters, and the target configuration parameters are added into the database. The embodiment of the disclosure provides a method for creating a target configuration parameter according to an existing configuration parameter, a developer selects a plurality of original configuration parameters from a database according to own requirements, and creates the target configuration parameter by using the selected plurality of original configuration parameters, so that the expansion of the configuration parameters is realized, the display mode of comment information in a video playing interface is enriched, and the flexibility is improved. And because the created target configuration parameters are determined by developers according to the requirements of the developers, the customizability of the display mode is realized.
The method provided in the above embodiment may be implemented by adding a component to the terminal. In one possible implementation manner, the terminal adds a parameter creation component, sets a plurality of original configuration parameters as the attributes of the parameter creation component, and creates the target configuration parameters by combining or editing the attributes of the parameter creation component. Subsequently, the target configuration parameter may also be added to create another property of the component for the parameter.
For example, a terminal adds a Bulletlist component as a parameter creation component, the Bulletlist component has multiple Bullet items (attributes of the Bulletlist component), the multiple Bullet items are original configuration parameters, and the multiple Bullet items are combined to create a configuration parameter in a combined form and serve as another attribute of the Bulletlist component.
And after the developer develops the database by using the parameter setting application, the database is provided for the target application. Any configuration parameter in the database can be called in the running process of the target application, and comment information is displayed. The target application may be any type of application, such as a fast application.
The terminal can run various types of fast applications in an operating system, and realize different functions based on different fast applications, for example, the terminal can play a video based on a video playing interface of the video fast application, and can also display a plurality of options related to the currently played video in the video playing interface, such as a playing option, a pause option, an exit option, a projection option, a bullet screen setting option, and the like. The user can issue comment information based on the video application, and one or more comment information issued by the user can be displayed in the video playing interface. The video cache application runs based on a native application program interface API provided by an operating system of the terminal.
The process of displaying the comment information by the terminal can comprise the following steps: the terminal obtains comment information to be displayed, calls the configuration parameters, and displays the comment information in the video playing interface according to the parameter values of the configuration parameters.
The fast Application related in the embodiment of the present disclosure is a novel Application form of a hardware platform based on a terminal, and can run based on a native API (Application Programming Interface) provided by an operating system.
The fast application is developed by adopting a unified standard, and is rendered as native without installation, namely, the fast application is used as point, and has native application experience (performance, system integration, interaction and the like). The framework of the fast application can be deeply integrated in an operating system, can operate at the level of the operating system, and realizes seamless connection with other application services. The developer can operate on different types of terminals by one-time development. The method is applied to the aspects of development specification, capability access, developer service and the like at the beginning of birth, realizes standardization and unification among terminal manufacturers, and greatly reduces the adaptation cost of developers.
Compared with the traditional application, the quick application has the following characteristics:
instant: the user can use the method point by point, and the user does not need to wait;
everywhere (Everywhere visible): deeply integrated with the use scene of the terminal, and everywhere has an entrance, such as a search engine, an intelligent assistant, intelligent recommendation, an application market, a browser and the like;
efficiency: the quasi-front-end development mode is high in efficiency.
Fig. 10 is a block diagram illustrating a fast application framework 1000 according to an embodiment of the disclosure, the fast application framework including: a scenario portal 1020, a fast application engine 1040, and Operating System (OS) infrastructure and hardware 1060.
The scene portal 1020 includes at least one of a negative one-screen, a global search, a lock screen, a desktop, an application marketplace, a browser, and a two-dimensional code. The appearance of the scene portal 1020 may be in the form of a page and a card.
The fast application engine 1040 includes a front-end framework 1041, a general scenario 1042, a lightweight scenario 1043, an embedded SDK (Software Development Kit) 1044, and a business access 1045.
The front-end framework 1041 includes an MVVM (Model-View-Model ), a V-DOM (Virtual-Document Object Model), a route, an Application Programming Interface (API), a service API, a User Interface (UI) component, a route, and the like;
the general scene 1042 and the lightweight scene 1043 include a JavaScript (a programming language) engine, a standard rendering engine, an extreme speed rendering engine, end-cloud-core acceleration, a security mechanism, an emerging scene such as AI (Artificial Intelligence), AR (Augmented Reality), and the like, system integration (application management, rights management, and the like);
service access 1045 includes push, account/payment, and the like.
OS infrastructure and hardware 1060 includes: graphics libraries, native controls, system services, and GPUs (Graphics Processing units)/NPUs (Neural-network Processing units), among others.
From the execution path level, there are a standard HTML (Hyper Text Markup Language) 5 mode to support a general Web scene, and a JS (JavaScript, a programming Language) and Native (Native) mode to support a lighter and faster experience.
The architecture of the fast application engine will be briefly described in 3 aspects below.
1) Application development:
the design of the front end of the fast application refers to and integrates the design thought of the mainstream front end framework: the application is built in a componentized mode, an MVVM design mode taking data binding as a core is adopted, the performance is improved in a V-DOM mode, and meanwhile, a simple and clear template of a class Vue (a virtual machine shelling engine) is selected. Meanwhile, the layout aspect is correspondingly simplified. From the perspective of new application form, native UI mapping and capability opening, a set of components and API specifications need to be defined, and the rapid development application is convenient to develop.
2) System integration:
fast applications, as a complete application modality, can be deeply integrated with the system, run as native applications, and interact with the system. There are currently two forms of rapid application: a full screen mode independent application mode and an embedded mode card mode. Under the independent application form, the experience of the user is similar to a native application program, and the method has complete life cycle management, page management, routing and the like. The fast application can be hosted in the Activity of android, the page is hosted in Fragment, and the instance is managed and controlled through independent background Service. The card form is another form, and dynamic content is displayed in a light weight manner by embedding the embedded SDK (Software Development Kit) as an independent local control into each corner of the system. In the aspect of security isolation, better security guarantee can be achieved through a sandbox mechanism, process isolation and authority control in combination with the support of an operating system layer.
3) Performance experience and emerging scenes, such as JavaScript engines, rendering engines, end-cloud-core acceleration, emerging scenes, and the like:
in the aspects of interactive experience, resource overhead, stability and the like, the fast application realizes effective combination of a front-end development mode, native rendering and platform capability by introducing a native rendering path.
Different from cross-platform frameworks of other application layers, the operating system rooted in the terminal is quickly applied, and deep integration of the slave chip, the operating system and the cloud can be realized. By taking the acceleration of the starting performance as an example by combining the end and the cloud, the optimization of the network link layer can greatly accelerate the starting speed of the application through the cooperative rendering of the cloud and the end. Meanwhile, the special capability of the hardware platform can be integrated, and the experience is further improved. For example, the computing power of an NPU (Neural-network Processing Unit, network processor) may be integrated into a fast application engine in combination with a terminal AI chip, so that an AI scene (face recognition, image super-resolution, and the like) may be executed at a low latency and high performance on an end side, and meanwhile, the privacy of a user is effectively protected, and a bandwidth is saved.
Fig. 11 is a flowchart illustrating a start-up of a fast application according to an embodiment of the present disclosure, including:
1) when the system is started for the first time, a user clicks a program package for triggering downloading of the fast application, and meanwhile, initialization related work of the fast application engine is carried out. After the whole fast application program package is downloaded and verified, the JavaScript file of the first page to be displayed is loaded and rendered.
2) The page rendering comprises JavaScript loading, execution of page and JavaScript frame logic, layout operation and drawing of the native UI control. When the logic in the page is executed, one or more network requests are generated, and the data returned by the network requests drive the page to be rendered again until the content of the page on the first screen is completely displayed.
The network request, JavaScript execution, typesetting and drawing are not in simple serial relation, but are parallelly interwoven, thereby affecting the rendering performance of the whole page and being strongly related to the logic of page design, the network condition and the running state of a terminal.
Due to the specificity of fast applications, fast applications are expected to perform more tasks and perform more functions. At present, while the function of the fast application is being gradually improved, the embodiment of the present disclosure provides a new function of the video fast application, and the new function is utilized to call the configuration parameters, so as to implement the function of displaying the comment information.
Fig. 12 is a block diagram illustrating a configuration parameter creation apparatus according to an example embodiment, as shown in fig. 12, the apparatus including:
the interface display module 1201 is used for displaying a parameter creation interface through parameter setting application, wherein the parameter creation interface comprises a plurality of original configuration parameters in a database, and the original configuration parameters are used for determining a display mode of comment information in a video playing interface through set parameter values;
the combination module 1202 is configured to combine multiple original configuration parameters in the database based on the indication operation detected in the parameter creation interface to obtain a target configuration parameter;
an adding module 1203 is configured to add the target configuration parameter to the database.
In one possible implementation, referring to fig. 13, a combination module 1202 includes:
a selecting unit 12021, configured to select a plurality of original configuration parameters from a database;
a combining unit 12022, configured to combine the multiple original configuration parameters to obtain a target configuration parameter.
In another possible implementation manner, the selecting unit 12021 is further configured to select a second number of original configuration parameters from the first number of original configuration parameters in the database, where the first number is not less than the second number; alternatively, the first and second electrodes may be,
the selecting unit 12021 is further configured to select a plurality of original configuration parameters from the database according to the selection operation detected in the parameter creation interface.
In another possible implementation manner, the apparatus further includes:
the setting module 1204 is configured to set parameter values for the multiple original configuration parameters, respectively, where the target configuration parameter includes the multiple original configuration parameters and the parameter values of the multiple original configuration parameters.
In another possible implementation manner, the setting module 1204 includes:
a display unit 12041, configured to, for any original configuration parameter, when a trigger operation on the original configuration parameter is detected based on the parameter creation interface, display a parameter value setting window of the original configuration parameter;
a setting unit 12042, configured to obtain the parameter value input in the parameter value setting window, and set the parameter value as the parameter value of the original configuration parameter.
In another possible implementation manner, the combining unit 12022 is further configured to combine the multiple original configuration parameters according to a selection order of the multiple original configuration parameters, so as to obtain a target configuration parameter, where the target configuration parameter is used to instruct to switch a display manner of the comment information according to a sequence of the multiple original configuration parameters.
In another possible implementation manner, the apparatus further includes:
an information obtaining module 1205, configured to obtain test comment information when a preview operation is detected;
a parameter value obtaining module 1206, configured to obtain a parameter value of each original configuration parameter in the target configuration parameters;
a determining module 1207, configured to determine a display manner according to a parameter value of each original configuration parameter in the target configuration parameters;
and the information display module 1208 is used for displaying the test comment information in a preview area of the parameter creation interface in a display mode.
In another possible implementation manner, the apparatus further includes:
a sending module 1209, configured to send the target configuration parameter to the server, and the server updates the database stored in the server.
Fig. 14 is a block diagram of a terminal provided in an embodiment of the present disclosure. For example, the terminal 1400 may be configured to perform the steps performed by the terminal in the configuration parameter creation methods provided in the foregoing embodiments. Referring to fig. 14, terminal 1400 may include one or more of the following components: a processing component 1402, a memory 1404, a power component 1406, a multimedia component 1408, an audio component 1410, an input/output (I/O) interface 1412, a sensor component 1414, and a communication component 1416.
Processing component 1402 generally controls overall operation of terminal 1400, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing component 1402 may include one or more processors 1420 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 1402 can include one or more modules that facilitate interaction between processing component 1402 and other components. For example, the processing component 1402 can include a multimedia module to facilitate interaction between the multimedia component 1408 and the processing component 1402.
Memory 1404 is configured to store various types of data to support operations at terminal 1400. Examples of such data include instructions for any application or method operating on terminal 1400, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1404 may be implemented by any type of volatile or non-volatile storage device or combination of devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 1406 provide power to the various components of terminal 1400. Power components 1406 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for terminal 1400.
The multimedia component 1408 includes a screen that provides an output interface between the terminal 1400 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1408 includes a front-facing camera and/or a rear-facing camera. The front camera and/or the rear camera may receive external multimedia data when the terminal 1400 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1410 is configured to output and/or input audio signals. For example, audio component 1410 includes a Microphone (MIC) configured to receive external audio signals when terminal 1400 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1404 or transmitted via the communication component 1416. In some embodiments, audio component 1410 further includes a speaker for outputting audio signals.
I/O interface 1412 provides an interface between processing component 1402 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
Sensor component 1414 includes one or more sensors for providing various aspects of state assessment for terminal 1400. For example, sensor component 1414 can detect an open/closed state of terminal 1400, a relative positioning of components, such as a display and keypad of terminal 1400, a change in position of terminal 1400 or a component of terminal 1400, the presence or absence of user contact with terminal 1400, an orientation or acceleration/deceleration of terminal 1400, and a change in temperature of terminal 1400. The sensor assembly 1414 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 1414 may also include a photosensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
Communication component 1416 is configured to facilitate communications between terminal 1400 and other devices in a wired or wireless manner. Terminal 1400 can access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1416 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1416 further includes a Near Field Communication (NFC) module to facilitate short-range communications.
In an exemplary embodiment, the terminal 1400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as the memory 1404 that includes instructions executable by the processor 1420 of the terminal 1400 to perform the above-described methods. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The embodiment of the present disclosure also provides a computer-readable storage medium, where at least one instruction is stored in the computer-readable storage medium, and the instruction is loaded and executed by a processor to implement the operations performed in the configuration parameter creation method of the foregoing embodiment.
The embodiment of the present disclosure further provides a computer program product, where at least one instruction is stored in the computer program product, and the instruction is loaded and executed by a processor to implement the operations performed in the configuration parameter creating method according to the above embodiment.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (16)

1. A method for creating configuration parameters, the method comprising:
displaying a parameter creation interface through parameter setting application, wherein the parameter creation interface comprises a plurality of original configuration parameters in a database, the original configuration parameters are used for determining a display mode of comment information in a video playing interface through set parameter values, and the parameter setting application is a development tool of a developer;
combining a plurality of original configuration parameters in the database based on the indication operation detected in the parameter creation interface to obtain target configuration parameters;
setting parameter values for the original configuration parameters respectively, wherein the target configuration parameters comprise the original configuration parameters and the parameter values of the original configuration parameters;
adding the target configuration parameters to the database.
2. The method of claim 1, wherein combining the plurality of original configuration parameters in the database based on the indication operation detected in the parameter creation interface to obtain a target configuration parameter comprises:
selecting a plurality of original configuration parameters from the database;
and combining the plurality of original configuration parameters to obtain the target configuration parameters.
3. The method of claim 2, wherein selecting the plurality of original configuration parameters from the database comprises:
selecting a second number of original configuration parameters from a first number of original configuration parameters in the database, wherein the first number is not less than the second number; alternatively, the first and second electrodes may be,
and selecting a plurality of original configuration parameters from the database according to the selection operation detected in the parameter creation interface.
4. The method according to claim 2, wherein the setting parameter values for the plurality of original configuration parameters respectively comprises:
for any original configuration parameter, when the triggering operation of the original configuration parameter is detected based on the parameter creation interface, displaying a parameter value setting window of the original configuration parameter;
and acquiring the parameter value input in the parameter value setting window, and setting the parameter value as the parameter value of the original configuration parameter.
5. The method of claim 2, wherein the combining the plurality of original configuration parameters to obtain the target configuration parameter comprises:
and combining the plurality of original configuration parameters according to the selection sequence of the plurality of original configuration parameters to obtain the target configuration parameters, wherein the target configuration parameters are used for indicating that the display mode of the comment information is switched according to the sequence of the plurality of original configuration parameters.
6. The method of claim 1, further comprising:
when the preview operation is detected, test comment information is obtained;
acquiring a parameter value of each original configuration parameter in the target configuration parameters;
determining a display mode according to the parameter value of each original configuration parameter in the target configuration parameters;
and displaying the test comment information in a preview area of the parameter creation interface according to the display mode.
7. The method of claim 1, further comprising:
and sending the target configuration parameters to a server, and updating a database stored in the server by the server.
8. An apparatus for creating configuration parameters, the apparatus comprising:
the interface display module is used for displaying a parameter creation interface through parameter setting application, wherein the parameter creation interface comprises a plurality of original configuration parameters in a database, the original configuration parameters are used for determining the display mode of comment information in a video playing interface through set parameter values, and the parameter setting application is a development tool of developers;
the combination module is used for combining a plurality of original configuration parameters in the database based on the indication operation detected in the parameter creation interface to obtain target configuration parameters;
a setting module, configured to set parameter values for the multiple original configuration parameters, respectively, where the target configuration parameter includes the multiple original configuration parameters and parameter values of the multiple original configuration parameters;
and the adding module is used for adding the target configuration parameters into the database.
9. The apparatus of claim 8, wherein the combining module comprises:
a selection unit for selecting a plurality of original configuration parameters from the database;
and the combination unit is used for combining the plurality of original configuration parameters to obtain the target configuration parameters.
10. The apparatus according to claim 9, wherein the selecting unit is further configured to select a second number of original configuration parameters from a first number of original configuration parameters in the database, where the first number is not less than the second number; alternatively, the first and second electrodes may be,
the selection unit is further configured to select a plurality of original configuration parameters from the database according to the selection operation detected in the parameter creation interface.
11. The apparatus of claim 9, wherein the setup module comprises:
the display unit is used for displaying a parameter value setting window of any original configuration parameter when the triggering operation of the original configuration parameter is detected on the basis of the parameter creation interface;
and the setting unit is used for acquiring the parameter value input in the parameter value setting window and setting the parameter value as the parameter value of the original configuration parameter.
12. The apparatus according to claim 9, wherein the combining unit is further configured to combine the multiple original configuration parameters according to a selection order of the multiple original configuration parameters, so as to obtain the target configuration parameter, where the target configuration parameter is used to instruct to switch a display manner of the comment information according to a sequence of the multiple original configuration parameters.
13. The apparatus of claim 8, further comprising:
the information acquisition module is used for acquiring test comment information when preview operation is detected;
a parameter value obtaining module, configured to obtain a parameter value of each original configuration parameter in the target configuration parameters;
the determining module is used for determining a display mode according to the parameter value of each original configuration parameter in the target configuration parameters;
and the information display module is used for displaying the test comment information in a preview area of the parameter creation interface according to the display mode.
14. The apparatus of claim 8, further comprising:
and the sending module is used for sending the target configuration parameters to a server, and the server updates a database stored in the server.
15. A terminal, characterized in that the terminal comprises:
one or more processors;
volatile or non-volatile memory for storing the one or more processor-executable instructions;
wherein the one or more processors are configured to:
displaying a parameter creation interface through parameter setting application, wherein the parameter creation interface comprises a plurality of original configuration parameters in a database, the original configuration parameters are used for determining a display mode of comment information in a video playing interface through set parameter values, and the parameter setting application is a development tool of a developer;
combining a plurality of original configuration parameters in the database based on the indication operation detected in the parameter creation interface to obtain target configuration parameters;
setting parameter values for the original configuration parameters respectively, wherein the target configuration parameters comprise the original configuration parameters and the parameter values of the original configuration parameters;
adding the target configuration parameters to the database.
16. A computer-readable storage medium having stored therein at least one instruction, which is loaded and executed by a processor to perform operations performed in the configuration parameter creation method of any one of claims 1 to 7.
CN201911240742.0A 2019-12-06 2019-12-06 Configuration parameter creating method, device, terminal and storage medium Active CN110971974B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911240742.0A CN110971974B (en) 2019-12-06 2019-12-06 Configuration parameter creating method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911240742.0A CN110971974B (en) 2019-12-06 2019-12-06 Configuration parameter creating method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN110971974A CN110971974A (en) 2020-04-07
CN110971974B true CN110971974B (en) 2022-02-15

Family

ID=70033318

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911240742.0A Active CN110971974B (en) 2019-12-06 2019-12-06 Configuration parameter creating method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110971974B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111702779B (en) * 2020-06-16 2021-09-24 思必驰科技股份有限公司 Method and system capable of configuring expressions
WO2022105410A1 (en) * 2020-11-23 2022-05-27 海信视像科技股份有限公司 Display method, and device parameter memory method and recovery method therefor
CN113625072A (en) * 2021-06-15 2021-11-09 安克创新科技股份有限公司 Data calibration method

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103109264A (en) * 2010-10-13 2013-05-15 惠普发展公司,有限责任合伙企业 Creating a configuration file template
CN103458314A (en) * 2013-08-27 2013-12-18 小米科技有限责任公司 Method and device for setting display parameter
CN105094529A (en) * 2015-06-29 2015-11-25 小米科技有限责任公司 Method and apparatus for configuring operating system
CN106570727A (en) * 2016-10-28 2017-04-19 乐视控股(北京)有限公司 Multi-dimension data configuration method, device and electronic equipment
CN106815882A (en) * 2015-12-01 2017-06-09 北京触控科技有限公司 It is a kind of can infinite expanding animation attributes method
CN106909452A (en) * 2017-03-06 2017-06-30 中国科学技术大学 Concurrent program runtime parameter optimization method
CN107657066A (en) * 2017-11-13 2018-02-02 医渡云(北京)技术有限公司 Medical data scientific research field customizing method and device
CN107682627A (en) * 2017-09-28 2018-02-09 努比亚技术有限公司 A kind of acquisition parameters method to set up, mobile terminal and computer-readable recording medium
CN107766519A (en) * 2017-10-24 2018-03-06 四川长虹电器股份有限公司 A kind of method of visual configuration data structure
CN107977344A (en) * 2017-11-03 2018-05-01 网宿科技股份有限公司 Date storage method, acquisition methods and server
CN109903105A (en) * 2017-12-08 2019-06-18 北京京东尚科信息技术有限公司 A kind of method and apparatus for improving end article attribute
CN110147231A (en) * 2019-05-23 2019-08-20 腾讯科技(深圳)有限公司 Combine special efficacy generation method, device and storage medium
CN110244987A (en) * 2019-06-18 2019-09-17 腾讯科技(深圳)有限公司 Configuration data processing method, device, readable storage medium storing program for executing and computer equipment
CN110413276A (en) * 2019-07-31 2019-11-05 网易(杭州)网络有限公司 Parameter edit methods and device, electronic equipment, storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW430778B (en) * 1998-06-15 2001-04-21 Yamaha Corp Voice converter with extraction and modification of attribute data
RU2632138C2 (en) * 2015-09-14 2017-10-02 Общество С Ограниченной Ответственностью "Яндекс" Method (options) and server of search results ranking based on utility parameter
US9674536B2 (en) * 2015-11-10 2017-06-06 Applied Materials Israel, Ltd. Technique for visualizing elements in images by color coding

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103109264A (en) * 2010-10-13 2013-05-15 惠普发展公司,有限责任合伙企业 Creating a configuration file template
CN103458314A (en) * 2013-08-27 2013-12-18 小米科技有限责任公司 Method and device for setting display parameter
CN105094529A (en) * 2015-06-29 2015-11-25 小米科技有限责任公司 Method and apparatus for configuring operating system
CN106815882A (en) * 2015-12-01 2017-06-09 北京触控科技有限公司 It is a kind of can infinite expanding animation attributes method
CN106570727A (en) * 2016-10-28 2017-04-19 乐视控股(北京)有限公司 Multi-dimension data configuration method, device and electronic equipment
CN106909452A (en) * 2017-03-06 2017-06-30 中国科学技术大学 Concurrent program runtime parameter optimization method
CN107682627A (en) * 2017-09-28 2018-02-09 努比亚技术有限公司 A kind of acquisition parameters method to set up, mobile terminal and computer-readable recording medium
CN107766519A (en) * 2017-10-24 2018-03-06 四川长虹电器股份有限公司 A kind of method of visual configuration data structure
CN107977344A (en) * 2017-11-03 2018-05-01 网宿科技股份有限公司 Date storage method, acquisition methods and server
CN107657066A (en) * 2017-11-13 2018-02-02 医渡云(北京)技术有限公司 Medical data scientific research field customizing method and device
CN109903105A (en) * 2017-12-08 2019-06-18 北京京东尚科信息技术有限公司 A kind of method and apparatus for improving end article attribute
CN110147231A (en) * 2019-05-23 2019-08-20 腾讯科技(深圳)有限公司 Combine special efficacy generation method, device and storage medium
CN110244987A (en) * 2019-06-18 2019-09-17 腾讯科技(深圳)有限公司 Configuration data processing method, device, readable storage medium storing program for executing and computer equipment
CN110413276A (en) * 2019-07-31 2019-11-05 网易(杭州)网络有限公司 Parameter edit methods and device, electronic equipment, storage medium

Also Published As

Publication number Publication date
CN110971974A (en) 2020-04-07

Similar Documents

Publication Publication Date Title
CN111026396B (en) Page rendering method and device, electronic equipment and storage medium
CN111026490B (en) Page rendering method and device, electronic equipment and storage medium
CN110874217B (en) Interface display method and device for quick application and storage medium
CN110990075B (en) Method, device, equipment and storage medium for starting fast application
CN110971974B (en) Configuration parameter creating method, device, terminal and storage medium
CN109542417B (en) Method, device, terminal and storage medium for rendering webpage through DOM
CN110851108A (en) Electronic equipment operation method and device, electronic equipment and storage medium
US20230004620A1 (en) Page display method
CN110865863B (en) Interface display method and device for fast application and storage medium
CN111008057A (en) Page display method and device and storage medium
CN111752598A (en) Page generation method and device, electronic equipment and storage medium
CN110851240B (en) Function calling method, device and storage medium
CN110968362B (en) Application running method, device and storage medium
CN111078325B (en) Application program running method and device, electronic equipment and storage medium
CN110865864B (en) Interface display method, device and equipment for quick application and storage medium
US11507633B2 (en) Card data display method and apparatus, and storage medium
CN111104183B (en) Application program running method and device, electronic equipment and storage medium
CN111008050B (en) Page task execution method, device, terminal and storage medium
CN110891194B (en) Comment information display method and device, terminal and storage medium
US11210119B2 (en) Method and device for displaying interface, electronic equipment, server, and storage medium
CN110865760A (en) Electronic equipment operation method and device, electronic equipment and storage medium
CN110908629A (en) Electronic equipment operation method and device, electronic equipment and storage medium
CN110853643A (en) Method, device, equipment and storage medium for voice recognition in fast application
CN110990105B (en) Interface display method and device, electronic equipment and storage medium
WO2023245368A1 (en) Application control method and apparatus, electronic device, and storage medium

Legal Events

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