CN107885755B - Control method and device of application resource information - Google Patents

Control method and device of application resource information Download PDF

Info

Publication number
CN107885755B
CN107885755B CN201610875903.3A CN201610875903A CN107885755B CN 107885755 B CN107885755 B CN 107885755B CN 201610875903 A CN201610875903 A CN 201610875903A CN 107885755 B CN107885755 B CN 107885755B
Authority
CN
China
Prior art keywords
target
resource information
application
information
time
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
CN201610875903.3A
Other languages
Chinese (zh)
Other versions
CN107885755A (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201610875903.3A priority Critical patent/CN107885755B/en
Publication of CN107885755A publication Critical patent/CN107885755A/en
Application granted granted Critical
Publication of CN107885755B publication Critical patent/CN107885755B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/535Tracking the activity of the user

Abstract

The embodiment of the application discloses a method and a device for controlling application resource information, wherein the method can comprise the following steps: reading preset resource information adjusting parameters and loading a target page; the adjustment parameters at least comprise time information for adjusting the resource information of the target application in the application server and adjustment gradient information; the target page comprises a resource information management page of the released target application in the application server; judging whether the current time meets the time condition for adjusting the resource information determined by the time information or not by executing a preset script, and if so, positioning a target control in the target page; the target control is used for controlling the modification of the resource information of the target application in the application server; determining target resource information, and executing preset operation on the target control to modify the resource information into the target resource information. By the embodiment of the application, the maintenance efficiency and quality of the application resource information can be improved.

Description

Control method and device of application resource information
Technical Field
The present application relates to the field of mobile application resource information management technologies, and in particular, to a method and an apparatus for controlling application resource information.
Background
Intelligent portable terminal devices, such as smart phones and tablet computers, have been widely used, and users using the portable terminal devices are increasing. In the terminal equipment, a user can conveniently install application software APP with various functions, and the application software APP installed in the terminal equipment can be used for acquiring internet information, processing work affairs, carrying out activities such as entertainment and the like. In the prior art, a method for publishing a mobile application to a user may provide installation package downloading in a website, and a more important channel is to promote the mobile application to the user through a mobile application market platform (hereinafter, referred to as an application server), that is, after a developer develops a mobile application software, the mobile application software is usually released into each mobile application server, and the user may interact with the application server through application server client software to select a desired application and install the desired application into a mobile terminal device of the user. For example, the mainstream application markets include an apple application market mainly providing application software for iOS, a Google Play application market providing application software for Android operating system terminal devices, and the like, and many terminal device manufacturers develop various derived operating systems based on the native Android system and develop and maintain respective application servers due to the openness of the Android system.
Various applications provided in the application server can be mainly divided into free applications and charged applications according to a charging mode, for charged applications used for paid downloading, the downloading use cost is usually determined by a development operator of the mobile application, the operator can make a bid when putting the application into the application server, and a user can make downloading installation and use after paying the cost according to the bid. With the popularization of mobile terminal devices, the downloading usage amount of various application software is usually huge, and the downloading usage amount of the application software usually shows a certain rule over time, for example, within a statistical period in days, there are usually downloading peak periods and downloading valley periods, and the difference of the downloading amount may be obvious at different time intervals. For the above situation, some mobile application operators may take measures such as appropriately adjusting up the payment bid in the peak time period and adjusting down the payment bid in the valley time period for the purpose of balancing the downloading amount in each time period. When such adjustment measures are taken, a need arises to modify resource information of the released application in the application server. In practical applications, a particular payment bid generally has a linear characteristic in time, which requires that the payment bid be adjusted in stages multiple times during an adjustment period to meet the characteristic requirement through finer adjustment.
In the prior art, the above-mentioned adjusting process needs to be completed manually, for example, when a bid in an application server needs to be adjusted, the application server needs to enter a background management page of the application server to perform a bid modification operation, and then to perform application release again. Especially, if an operator puts multiple applications simultaneously or puts the applications to multiple application servers, a large amount of manual operations are required and the process is complicated when adjusting the bids, so that the time precision and the price system are difficult to accurately maintain, and the maintenance quality of the application resource information is seriously affected.
Disclosure of Invention
The application provides a control method and device of application resource information, and maintenance efficiency and quality of the application resource information can be improved.
The application provides the following scheme:
a control method of application resource information comprises the following steps:
the resource adjusting server reads preset resource information adjusting parameters and loads a target page; the adjustment parameters at least comprise time information used for adjusting resource information of the target application released into the application server and adjustment gradient information; the target page comprises a resource information management page provided by the application server for the released target application;
judging whether the current time meets the time condition for adjusting the resource information determined by the time information or not by executing a preset script, and if so, positioning a target control in the target page; the target control is used for controlling the modification of the resource information of the target application in the application server;
determining target resource information, and executing preset operation on the target control to modify the resource information into the target resource information.
A control method of application resource information comprises the following steps:
the resource adjusting client receives resource adjusting parameters input aiming at a target application and a target page corresponding to the target application, wherein the adjusting parameters at least comprise time information used for adjusting resource information of the target application released into an application server and adjusting gradient information; the target page comprises a resource information management page provided by the application server for the released target application;
submitting the adjustment parameters and target page information corresponding to the target application to a resource adjustment server so that the resource adjustment server reads preset resource information adjustment parameters and loads a target page, judging whether the current time meets the time condition for adjusting the resource information determined by the time information by executing a preset script, and if so, positioning a target control in the target page; the target control is used for controlling modification of resource information of the target application in an application server, determining target resource information, and executing preset operation on the target control so as to modify the resource information into the target resource information.
A control device for applying resource information is applied to a resource adjustment server and comprises the following components:
the reading unit is used for reading preset resource information adjusting parameters and loading a target page; the adjustment parameters at least comprise time information used for adjusting resource information of the target application released into the application server and adjustment gradient information; the target page comprises a resource information management page provided by the application server for the released target application;
the control positioning unit is used for judging whether the current time meets the time condition for adjusting the resource information determined by the time information or not by executing a preset script, and if so, positioning a target control in the target page; the target control is used for controlling the modification of the resource information of the target application in the application server;
and the modification unit is used for determining target resource information and executing preset operation on the target control so as to modify the resource information into the target resource information.
A control device for applying resource information is applied to a resource adjustment client, and comprises:
the system comprises an adjustment information receiving unit and an adjustment information processing unit, wherein the adjustment information receiving unit is used for receiving resource adjustment parameters input aiming at a target application and a target page corresponding to the target application, and the adjustment parameters at least comprise time information used for adjusting resource information of the target application released into an application server and adjustment gradient information; the target page comprises a resource information management page provided by the application server for the released target application;
an adjustment information submitting unit, configured to submit the adjustment parameter and target page information corresponding to the target application to a resource adjustment server, so that the resource adjustment server reads a preset resource information adjustment parameter and loads a target page, and by executing a preset script, determines whether current time meets a time condition for adjusting resource information determined by the time information, and if the current time meets the time condition, locates a target control in the target page; the target control is used for controlling modification of resource information of the target application in an application server, determining target resource information, and executing preset operation on the target control so as to modify the resource information into the target resource information.
According to the specific embodiments provided herein, the present application discloses the following technical effects:
according to the method and the device, the preset resource information adjusting parameters can be read, the target page can be loaded, when the time condition for adjusting the resource information is met, the target control in the target page is positioned by executing the preset script, the preset operation is executed on the marked control, and therefore the resource information is modified into the target resource information. The method has the advantages that the method realizes the automatic control of the resource information in the application server, does not need manual intervention when the resource information of the application released in the application server is adjusted, is simple to operate, can obviously improve the time precision of maintenance work particularly in a multi-platform and multi-application resource information maintenance task, and ensures the stability of an application price system. Meanwhile, as the script technology is utilized, the method has good adaptability and flexibility based on the characteristics of easy maintenance and flexible use of the script. In addition, the method can ensure the accuracy of the modification of the resource information, and can reduce the error probability compared with manual operation.
Of course, it is not necessary for any product to achieve all of the above-described advantages at the same time for the practice of the present application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is an application scenario architecture diagram provided in an embodiment of the present application;
FIG. 2 is a flow chart of a first method provided by an embodiment of the present application;
FIG. 3 is a flow chart of a second method provided by embodiments of the present application;
FIG. 4 is a schematic diagram of a first apparatus provided by an embodiment of the present application;
fig. 5 is a schematic diagram of a second apparatus provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments that can be derived from the embodiments given herein by a person of ordinary skill in the art are intended to be within the scope of the present disclosure.
The embodiment of the application resource information control method can be applied to management of resource information of an application launched by an operator in an application server, and particularly can provide an automatic control method when the resource information of the application needs to be frequently modified and has higher time precision requirements on modification operation, so that the labor cost is reduced, the control efficiency of the resource information is improved, and the precision and the maintenance quality of resource information maintenance are improved. In specific implementation, the method may be implemented by various architectures, for example, referring to fig. 1, a corresponding resource adjustment tool 11, such as resource adjustment tool software running locally, may be provided to an operator, and a control function or service of resource information may be provided to an application operator by a customized planning service provided by a server. For example, in a certain sales platform, the resource adjustment tool 11 can be implemented by providing corresponding functions in a certain comprehensive management platform, which can integrate the automation testing technology into multiple industries such as operation, customer satisfaction, etc., and can convert regular and repetitive operations based on a target operating system of a user into automation operations, such as automatic putting on and off of commodities, automatic pushing of messages, automatic tracking of commodity effects, collection of information, management of system resources, automatic downloading of pictures, automatic P-pictures, etc. In the embodiment of the present application, when the resource adjustment tool 11 is provided in the comprehensive management platform, the resource information of the target application released in the multiple application servers 12 may be automatically managed by the resource adjustment tool 11, that is, the parameter configuration may be performed in the resource adjustment tool 11 in advance, and a corresponding script is generated, and specifically, when the resource information is automatically managed, the resource information of the target application released in the application servers 12 may be automatically modified by parameter reading, script executing, and the like, so that the resource information may be adjusted in a "one-click" manner, and an excessive human resource may not be occupied.
Specific implementations are described in detail below.
Example one
Referring to fig. 2, a flowchart of a method for controlling application resource information according to an embodiment of the present application is shown in fig. 2, where the method may include the following steps:
s201: the resource adjusting server reads preset resource information adjusting parameters and loads a target page; the adjustment parameters at least comprise time information used for adjusting resource information of the target application released into the application server and adjustment gradient information; the target page comprises a resource information management page provided by the application server for the released target application;
the target page may be a resource information management page of the target application launched in the specific application server, and information about an address of the page and the like may be stored in the resource information management tool 11 in advance. If one target application is launched to a plurality of application servers, the addresses of a plurality of target pages can be saved, and corresponding page loading operation is carried out.
The resource information adjustment parameter may be previously arranged and stored in the resource adjustment tool 11. For example, the operator or the like may enter the corresponding adjustment parameters through the resource adjustment client, and then submit the corresponding adjustment parameters to the resource adjustment server for storage. For the same target application, different resource information adjustment modes may be used in different application servers, for example, in application server a, 13: 00 to 18: 00, promoting the resource information once every 15 minutes, wherein the resource information is promoted by 0.2 yuan each time; and in application server B, it may be that at 14: 00 to 18: 00, resource information is promoted every 20 minutes, each time, 0.2 yuan is promoted, and the like. In short, the configuration may be performed according to data such as user download performance in each application server.
When resource information of an released application of an application server needs to be adjusted, a preset adjustment parameter of the resource information can be read first. The adjustment parameter may be used to determine an external condition for performing the adjustment operation, for example, determine whether a time condition for performing the adjustment operation is satisfied according to the adjustment parameter; the adjustment parameter may also provide an execution parameter required by the adjustment operation, such as a resource information adjustment value.
The composition of the adjustment parameters may be flexibly configured according to the actual task and the requirement of tool operation, for example, in an embodiment, the adjustment parameters may at least include time information for adjusting resource information of a target application in the application server, and adjustment gradient information. The time information in the adjustment parameter can be used to implement time control of the resource information regulation task, for example, in some resource information regulation tasks, the time information can include the time point of the adjustment operation, i.e., the time information reflects at which time point the corresponding adjustment operation is executed; alternatively, the time information may include a start time and an end time of the adjustment operation.
For some regulation tasks, the regulated resource information has regular linear characteristics in time, for example, for resource information such as payment bid, the corresponding regulation task may include gradually increasing the payment bid during the download peak period and gradually decreasing the payment bid during the download valley period, for example:
example one of the tasks: at the download peak time of 15: 00-20: 00, the adjustment of up-regulation 0.2 yuan is executed every 15 minutes.
Task example two: in the download valley period of 00: 00-05: 00, adjustments are performed that are reduced by 0.2 dollars every 15 minutes.
In such a control task, the time linearity of the task can be controlled by adjusting parameters, and the time information may include a start time and an end time of the adjustment operation, and a time period from the start time to the end time, a time interval of each operation, and the like. The adjustment parameters may also include adjustment gradient information, for example, in adjusting resource information such as a paid bid, the adjustment gradient information may include an adjustment increment for the paid bid.
For the above task example, the time parameter and the adjustment gradient information included in the adjustment parameter are shown in table 1 below:
TABLE 1
Starting time End time Operating time interval Adjusting gradient information
15:00 20:00 15’ +0.2 (yuan)
00:00 05:00 15’ -0.2 (yuan)
Wherein the adjustment gradient information takes a negative value to indicate an amount by which the paid bid is to be reduced. The adjustment parameters may be obtained in different manners according to the needs of the actual task application, for example, the adjustment parameters may be obtained by configuration of the receiving user, automatically generated by a management tool or a server function module, and a configuration template may be applied.
The application server usually provides a resource management page as an interaction medium between the application server and the operator, and the resource information management operation of the delivered target application can be realized through an interface in the page. In the embodiment of the application, the target page can be automatically loaded, that is, the resource information management page of the target application launched in the application server is loaded. Specifically, a browser installed in the system may be called to access an address of a target page to load the page; if the management tool has a page loading function, the address of the target page can be directly opened in the management tool to load the page. The target page address can be obtained in various different manners, the map-setting target page address can be included in the adjustment parameter, and can be automatically read when the adjustment parameter is read, or the corresponding target page address can be automatically obtained according to the target application managed by the logged-in operator after the user logs in the management tool.
S202: judging whether the current time meets the time condition for adjusting the resource information determined by the time information or not by executing a preset script, and if so, positioning a target control in the target page; the target control is used for controlling the modification of the resource information of the target application in the application server;
as described above, the task of regulating resource information often needs to satisfy a specific time condition before being executed, such as the task example listed in step S201. For such tasks, it is necessary to determine whether a certain time condition is satisfied before performing the adjustment operation. When resource information similar to the paid bid is adjusted, before adjusting the resource information each time, the current time may be determined, for example, the system time may be read as the current time, and then it is determined whether the time condition for adjusting the resource information is satisfied according to the current time and the time information in the adjustment parameter.
When the time information includes the start time and the end time of the adjustment operation, and the time interval between the start time and the end time, and the like, each time of the operation, it may be determined whether the current time is the start time or the time point starting from the start time and stepping at the specified time interval in the time period, and if so, it is determined that the time condition is satisfied. For example, in task example one, it may be determined from the time information that the point in time to perform the paid bid adjustment task includes the points in time shown in Table 2:
TABLE 2
Starting time Time point of step
15:00 15:15;15:30;15:45;……;19:45
The modification of the resource information of the target application, i.e. the adjustment of up-regulation by 0.2 element every 15 minutes, can be performed once each time the current time reaches the starting time, or the stepped time point, shown in table two.
Judging whether the current time meets the time condition for adjusting the resource information can be carried out by executing a preset script. And when the current time is judged to meet the time condition for adjusting the resource information, the target control in the target page can be positioned by executing the preset script. The preset script can be interpreted and executed by the management tool, and in the execution process, the preset script can play a role in positioning a target control in a page, wherein the target control can be used for controlling the modification of the resource information of the target application in the application server.
In the embodiment of the application, the preset script can be compiled by using a scripting language, and the method has the characteristics of flexible realization, convenience in maintenance, seamless connection with an operating system and the like. The preset script can be obtained by firstly capturing a handle of the target control in the target page in a recording mode and taking the handle of the target control as a control object of the preset script, so that the control of the target control is realized, and further, the functions of cyclic judgment of time conditions, parameter receiving adjustment, control of the target control and the like can be realized in the preset script. In a preferred embodiment, a handle of a target control in a target page can be captured, a preset tag can be added to the captured handle of the target control, and a preset script can be generated according to the preset tag, so that when the target control in the target page is located by executing the preset script, the target control in the target page can be located and controlled according to the tag corresponding to the handle of the target control by executing the preset script, and the locating and controlling operation of the target control can be more conveniently realized.
S203: and determining target resource information by executing the preset script, and executing preset operation on the target control to modify the resource information into the target resource information.
After the preset script is executed, the current time is judged to meet the time condition of resource information adjustment, and the target control in the target page is positioned, the target resource information can be determined by executing the preset script, and the preset operation is executed on the target control, so that the resource information is modified into the target resource information.
There may be multiple implementation manners for determining the target resource information, for example, one manner may be: first, initial resource information is determined, where the initial resource information may be an original value of a target application in an application server before a current regulation task starts. When the preset script runs, the initial resource information in the target page can be read and stored in a variable, and the target resource information can be obtained by accumulating and adjusting the gradient information for multiple times on the basis of the initial resource information. In another implementation, when the adjustment operation is performed each time, current resource information is obtained, where the current resource information may be a value that has been adjusted based on an original value, and therefore, the current resource information is only effective for the current adjustment operation, and the target resource information may be obtained by adding the adjustment gradient information to the current resource information. For example, the adjustment gradient information shown in table 1 includes a direction and an amplitude of adjustment of the resource information, where a numerical value represents the amplitude of adjustment, and positive and negative values represent the direction of adjustment, and when determining the target resource information, the initial resource information or the current resource information may be determined, and the initial resource information or the current resource information may be increased or decreased according to the direction and the amplitude of the adjustment gradient information to determine the target resource information.
In one embodiment, the target control may include an input box control for inputting the target resource information, and a submit operation control for submitting the target resource information; after the target resource information is determined, the input operation can be executed on the input box control through the further execution of the preset script, and the target resource information is input into the input box control; and executing the preset type of operation on the submitting operation control, for example, when the submitting operation control is a submitting button, executing a clicking operation on the button so as to submit the target resource information to the application server, thereby completing the resource information adjusting operation.
In addition, for some tasks, the resource information of the target application can be modified into the initial resource information after the task of regulation and control is finished, for example, for the task example one, when the current time exceeds 20:00, the payment bid of the target application can be modified into the initial payment bid. At this time, the starting resource information may be determined first, and when the ending time is reached, the resource information may be modified into the starting resource information.
The method for controlling resource information in an application server provided by the embodiment of the application is described in detail above, and by the method, a preset resource information adjustment parameter can be read and a target page can be loaded, when a time condition for resource information adjustment is met, a target control in the target page is positioned by executing a preset script, and a preset operation is executed on the marked control, so that resource information is modified into target resource information. The method has the advantages that the method realizes the automatic control of the resource information in the application server, does not need manual intervention when the resource information of the application released in the application server is adjusted, is simple to operate, can obviously improve the time precision of maintenance work particularly in a multi-platform and multi-application resource information maintenance task, and ensures the stability of an application price system. Meanwhile, as the script technology is utilized, the method has good adaptability and flexibility based on the characteristics of easy maintenance and flexible use of the script. In addition, the method can ensure the accuracy of the modification of the resource information, and can reduce the error probability compared with manual operation.
Example two
The second embodiment corresponds to the first embodiment, and is introduced from the perspective of the resource adjustment client, where it is to be noted that the user of the resource adjustment client may specifically be an operator of the target application, that is, after the operator puts the target application into the application server, the operator may not need to manually log in the application server to perform resource adjustment on the resource information management page of the target application, but only need to enter specific adjustment parameters and other information through the resource adjustment client, so that the resource adjustment server may perform automatic resource adjustment according to the parameters.
Specifically, referring to fig. 3, a second embodiment provides a method for controlling application resource information, including:
s301: the resource adjusting client receives resource adjusting parameters input aiming at a target application and a target page corresponding to the target application, wherein the adjusting parameters at least comprise time information used for adjusting resource information of the target application released into an application server and adjusting gradient information; the target page comprises a resource information management page provided by the application server for the released target application;
s302: submitting the adjustment parameters and target page information corresponding to the target application to a resource adjustment server so that the resource adjustment server reads preset resource information adjustment parameters and loads a target page, judging whether the current time meets the time condition for adjusting the resource information determined by the time information by executing a preset script, and if so, positioning a target control in the target page; the target control is used for controlling modification of resource information of the target application in an application server, determining target resource information, and executing preset operation on the target control so as to modify the resource information into the target resource information.
Since the second embodiment corresponds to the first embodiment, the related specific implementation may refer to the description in the first embodiment, and will not be described herein again.
Corresponding to the first embodiment, an embodiment of the present application further provides a control device for applying resource information, where the control device is applied to a resource adjustment server, and referring to fig. 4, the control device may specifically include:
a reading unit 401, configured to read a preset resource information adjustment parameter and load a target page; the adjustment parameters at least comprise time information used for adjusting resource information of the target application released into the application server and adjustment gradient information; the target page comprises a resource information management page provided by the application server for the released target application;
a control positioning unit 402, configured to determine whether current time meets a time condition for adjusting resource information determined by the time information by executing a preset script, and if so, position a target control in the target page; the target control is used for controlling the modification of the resource information of the target application in the application server;
a modifying unit 403, configured to determine target resource information, and perform a preset operation on the target control, so as to modify the resource information into the target resource information.
In a specific implementation, the apparatus may further include:
the handle grabbing unit is used for grabbing a handle of a target control in the target page, adding a preset label to the handle of the target control, and generating the preset script according to the preset label;
the control positioning unit is specifically configured to:
and positioning the target control in the target page according to the label corresponding to the target control handle by executing the preset script.
Wherein the time information includes: adjusting the starting time and the ending time of the operation, and the time interval of each operation in the time period from the starting time to the ending time;
the control positioning unit is specifically configured to:
and judging whether the current time is the starting time or not, or whether the current time is a time point which starts from the starting time and takes the time interval as stepping in the time period or not, and if so, judging that the time condition is met.
In a specific implementation, the apparatus may further include:
an initial resource information determining unit for determining initial resource information;
and the resource recovery unit is used for modifying the resource information into the initial resource information when the ending time is reached.
Wherein the target control comprises: the system comprises an input box control used for inputting target resource information and a submission operation control used for submitting the target resource information;
the modifying unit 403 is specifically configured to:
determining target resource information, executing input operation on the input box control, and inputting the target resource information into the input box control;
and executing the preset type operation on the submitting operation control so as to submit the target resource information.
Wherein the adjustment gradient information includes a direction and a magnitude for adjusting the resource information, and the modifying unit 403 may be further configured to:
determining initial resource information or current resource information;
and increasing or decreasing the initial resource information or the current resource information according to the direction and the amplitude so as to determine the target resource information.
Corresponding to the second embodiment, an embodiment of the present application further provides a control device for applying resource information, where the control device is applied to a resource adjustment client, and referring to fig. 5, the control device may include:
an adjustment information receiving unit 501, configured to receive a resource adjustment parameter entered for a target application and a target page corresponding to the target application, where the adjustment parameter at least includes time information used to adjust resource information of the target application launched into an application server and adjustment gradient information; the target page comprises a resource information management page provided by the application server for the released target application;
an adjustment information submitting unit 502, configured to submit the adjustment parameter and the target page information corresponding to the target application to a resource adjustment server, so that the resource adjustment server reads a preset resource information adjustment parameter and loads a target page, and by executing a preset script, determines whether current time meets a time condition for performing resource information adjustment determined by the time information, and if so, locates a target control in the target page; the target control is used for controlling modification of resource information of the target application in an application server, determining target resource information, and executing preset operation on the target control so as to modify the resource information into the target resource information. According to the method and the device, the preset resource information adjusting parameters can be read, the target page can be loaded, when the time condition for adjusting the resource information is met, the target control in the target page is positioned by executing the preset script, the preset operation is executed on the marked control, and therefore the resource information is modified into the target resource information. The method has the advantages that the method realizes the automatic control of the resource information in the application server, does not need manual intervention when the resource information of the application released in the application server is adjusted, is simple to operate, can obviously improve the time precision of maintenance work particularly in a multi-platform and multi-application resource information maintenance task, and ensures the stability of an application price system. Meanwhile, as the script technology is utilized, the method has good adaptability and flexibility based on the characteristics of easy maintenance and flexible use of the script. In addition, the method can ensure the accuracy of the modification of the resource information, and can reduce the error probability compared with manual operation.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present application may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments of the present application.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are only illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The method and the apparatus for controlling application resource information provided by the present application are introduced in detail, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understand the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, the specific embodiments and the application range may be changed. In view of the above, the description should not be taken as limiting the application.

Claims (10)

1. A control method for application resource information is characterized by comprising the following steps:
the resource adjusting server reads preset resource information adjusting parameters and loads a target page; the adjustment parameters at least comprise time information used for adjusting resource information of the target application released into the application server and adjustment gradient information; the target page comprises a resource information management page provided by the application server for the released target application;
judging whether the current time meets the time condition for adjusting the resource information determined by the time information or not by executing a preset script, and if so, positioning a target control in the target page; the target control is used for controlling the modification of the resource information of the target application in the application server;
determining target resource information, and executing preset operation on the target control to modify the resource information into the target resource information.
2. The method of claim 1, further comprising:
grabbing a handle of a target control in the target page, adding a preset label to the handle of the target control, and generating the preset script according to the preset label;
the positioning the target control in the target page includes:
and positioning the target control in the target page according to the label corresponding to the target control handle by executing the preset script.
3. The method of claim 1, wherein the time information comprises: adjusting the starting time and the ending time of the operation, and the time interval of each operation in the time period from the starting time to the ending time;
the judging whether the current time meets the time condition for adjusting the resource information determined by the time information includes:
and judging whether the current time is the starting time or not, or whether the current time is a time point which starts from the starting time and takes the time interval as stepping in the time period or not, and if so, judging that the time condition is met.
4. The method of claim 3, further comprising:
determining initial resource information;
and when the ending time is reached, modifying the resource information into the initial resource information.
5. The method of claim 1, wherein the target control comprises: the system comprises an input box control used for inputting target resource information and a submission operation control used for submitting the target resource information;
the determining target resource information and executing preset operation on the target control to modify the resource information into the target resource information include:
determining target resource information, executing input operation on the input box control, and inputting the target resource information into the input box control;
and executing the preset type operation on the submitting operation control so as to submit the target resource information.
6. The method according to any one of claims 1-5, wherein the adjusting gradient information includes a direction and a magnitude of the adjustment to the resource information, and the determining the target resource information includes:
determining initial resource information or current resource information;
and increasing or decreasing the initial resource information or the current resource information according to the direction and the amplitude so as to determine the target resource information.
7. A control method for application resource information is characterized by comprising the following steps:
the resource adjusting client receives resource adjusting parameters input aiming at a target application and a target page corresponding to the target application, wherein the adjusting parameters at least comprise time information used for adjusting resource information of the target application released into an application server and adjusting gradient information; the target page comprises a resource information management page provided by the application server for the released target application;
submitting the adjustment parameters and target page information corresponding to the target application to a resource adjustment server so that the resource adjustment server reads preset resource information adjustment parameters and loads a target page, judging whether the current time meets the time condition for adjusting the resource information determined by the time information by executing a preset script, and if so, positioning a target control in the target page; the target control is used for controlling modification of resource information of the target application in an application server, determining target resource information, and executing preset operation on the target control so as to modify the resource information into the target resource information.
8. A control device for application resource information, which is applied to a resource adjustment server, includes:
the reading unit is used for reading preset resource information adjusting parameters and loading a target page; the adjustment parameters at least comprise time information used for adjusting resource information of the target application released into the application server and adjustment gradient information; the target page comprises a resource information management page provided by the application server for the released target application;
the control positioning unit is used for judging whether the current time meets the time condition for adjusting the resource information determined by the time information or not by executing a preset script, and if so, positioning a target control in the target page; the target control is used for controlling the modification of the resource information of the target application in the application server;
and the modification unit is used for determining target resource information and executing preset operation on the target control so as to modify the resource information into the target resource information.
9. The apparatus of claim 8, further comprising:
the handle grabbing unit is used for grabbing a handle of a target control in the target page, adding a preset label to the handle of the target control, and generating the preset script according to the preset label;
the control positioning unit is specifically configured to:
and positioning the target control in the target page according to the label corresponding to the target control handle by executing the preset script.
10. A control device for applying resource information, which is applied to a resource adjustment client, comprises:
the system comprises an adjustment information receiving unit and an adjustment information processing unit, wherein the adjustment information receiving unit is used for receiving resource adjustment parameters input aiming at a target application and a target page corresponding to the target application, and the adjustment parameters at least comprise time information used for adjusting resource information of the target application released into an application server and adjustment gradient information; the target page comprises a resource information management page provided by the application server for the released target application;
an adjustment information submitting unit, configured to submit the adjustment parameter and target page information corresponding to the target application to a resource adjustment server, so that the resource adjustment server reads a preset resource information adjustment parameter and loads a target page, and by executing a preset script, determines whether current time meets a time condition for adjusting resource information determined by the time information, and if the current time meets the time condition, locates a target control in the target page; the target control is used for controlling modification of resource information of the target application in an application server, determining target resource information, and executing preset operation on the target control so as to modify the resource information into the target resource information.
CN201610875903.3A 2016-09-30 2016-09-30 Control method and device of application resource information Active CN107885755B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610875903.3A CN107885755B (en) 2016-09-30 2016-09-30 Control method and device of application resource information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610875903.3A CN107885755B (en) 2016-09-30 2016-09-30 Control method and device of application resource information

Publications (2)

Publication Number Publication Date
CN107885755A CN107885755A (en) 2018-04-06
CN107885755B true CN107885755B (en) 2021-10-22

Family

ID=61769759

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610875903.3A Active CN107885755B (en) 2016-09-30 2016-09-30 Control method and device of application resource information

Country Status (1)

Country Link
CN (1) CN107885755B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110472177A (en) * 2019-07-12 2019-11-19 平安普惠企业管理有限公司 Page info method for uploading, system, computer equipment and storage medium
CN114130016B (en) * 2021-12-07 2023-07-14 腾讯科技(深圳)有限公司 Control resource management method and related device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102647462A (en) * 2012-03-29 2012-08-22 奇智软件(北京)有限公司 Application acquisition and sending method and device
CN103634301A (en) * 2013-11-14 2014-03-12 新浪网技术(中国)有限公司 Client side and method for accessing private data stored in server by user
CN103902311A (en) * 2012-12-27 2014-07-02 中国电信股份有限公司 Method for adjusting application download lists, special recording client and application download platform
CN104123143A (en) * 2013-04-24 2014-10-29 鸿富锦精密工业(深圳)有限公司 User control loading system and method
CN104615448A (en) * 2013-11-05 2015-05-13 北大方正集团有限公司 Software channel packet update method, management method and equipment
CN105407133A (en) * 2015-10-19 2016-03-16 珠海金山网络游戏科技有限公司 Method and system for mobile application automation release
CN105608145A (en) * 2015-12-17 2016-05-25 北京奇虎科技有限公司 Method and device for carrying out statistics on downloading amount of application software on the basis of downloading channel

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7039032B1 (en) * 2000-07-14 2006-05-02 At&T Corp. Multipoll for QoS-Driven wireless LANs
US8347346B2 (en) * 2007-05-31 2013-01-01 International Business Machines Corporation Management of mandatory access control for graphical user interface applications
US8914511B1 (en) * 2009-06-26 2014-12-16 VMTurbo, Inc. Managing resources in virtualization systems
CN103377064B (en) * 2012-04-28 2016-08-31 阿里巴巴集团控股有限公司 The loading method of a kind of page script and device
CN103473117A (en) * 2013-09-18 2013-12-25 北京思特奇信息技术股份有限公司 Cloud-mode virtualization method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102647462A (en) * 2012-03-29 2012-08-22 奇智软件(北京)有限公司 Application acquisition and sending method and device
CN103902311A (en) * 2012-12-27 2014-07-02 中国电信股份有限公司 Method for adjusting application download lists, special recording client and application download platform
CN104123143A (en) * 2013-04-24 2014-10-29 鸿富锦精密工业(深圳)有限公司 User control loading system and method
CN104615448A (en) * 2013-11-05 2015-05-13 北大方正集团有限公司 Software channel packet update method, management method and equipment
CN103634301A (en) * 2013-11-14 2014-03-12 新浪网技术(中国)有限公司 Client side and method for accessing private data stored in server by user
CN105407133A (en) * 2015-10-19 2016-03-16 珠海金山网络游戏科技有限公司 Method and system for mobile application automation release
CN105608145A (en) * 2015-12-17 2016-05-25 北京奇虎科技有限公司 Method and device for carrying out statistics on downloading amount of application software on the basis of downloading channel

Also Published As

Publication number Publication date
CN107885755A (en) 2018-04-06

Similar Documents

Publication Publication Date Title
CN104838405B (en) The method and system of test frame for application program
WO2020082855A1 (en) Service recommendation method, apparatus and device
US8606905B1 (en) Automated determination of system scalability and scalability constraint factors
CN110555073A (en) data processing method and device, electronic equipment and storage medium
CN107885755B (en) Control method and device of application resource information
KR102248487B1 (en) Review Contents Providing Method and Apparatus Thereof
CN113704110A (en) Automatic testing method and device for user interface
US10725811B2 (en) Non-transitory computer-readable storage medium recording program for applying license to generated virtual machine, control method, and information processing apparatus
CN116680494A (en) Method and device for generating application recommendation page, storage medium and electronic equipment
CN111723138A (en) System and method for automatically acquiring data in simulated manual mode
CN107798071B (en) Reading content adjusting method and device, terminal equipment and storage medium
CN110717315A (en) System data batch modification method and device, storage medium and electronic equipment
CN109598531B (en) Monitoring code generation method and verification method
CN110659190A (en) Quality report generation method, quality report generation device, quality report generation equipment and computer readable storage medium
CN110968500A (en) Test case execution method and device
CN115509765A (en) Super-fusion cloud computing method and system, computer equipment and storage medium
CN110457010B (en) Method and device for batch changing task list based on collaboration platform
CN113515447A (en) System automation test method and device
CN112560938A (en) Model training method and device and computer equipment
CN107045549B (en) Method and device for acquiring page number of electronic book
CN112417821A (en) Method and device for editing management, computer storage medium and terminal
KR102453952B1 (en) Recommendig apparatus for subject supporting reserch and development, and control method thereof
CN112783753B (en) Testing method and device for stream data processing system
CN116405597A (en) Outbound testing method, device, system and medium
CN117492717A (en) Method and device for realizing online service, storage medium and electronic equipment

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1253260

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant