CN110647347B - Mobile application configuration method and equipment - Google Patents

Mobile application configuration method and equipment Download PDF

Info

Publication number
CN110647347B
CN110647347B CN201910838189.4A CN201910838189A CN110647347B CN 110647347 B CN110647347 B CN 110647347B CN 201910838189 A CN201910838189 A CN 201910838189A CN 110647347 B CN110647347 B CN 110647347B
Authority
CN
China
Prior art keywords
configuration
user
information
target user
target
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
CN201910838189.4A
Other languages
Chinese (zh)
Other versions
CN110647347A (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.)
Guangzhou Snail Interactive Technology Co ltd
Original Assignee
Guangzhou Snail Interactive Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Snail Interactive Technology Co ltd filed Critical Guangzhou Snail Interactive Technology Co ltd
Priority to CN201910838189.4A priority Critical patent/CN110647347B/en
Publication of CN110647347A publication Critical patent/CN110647347A/en
Application granted granted Critical
Publication of CN110647347B publication Critical patent/CN110647347B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The invention provides a mobile application configuration method and a device, comprising the following steps: acquiring an installation instruction and initial configuration information of a target user; issuing the initial configuration information to user end equipment corresponding to the target user based on the installation instruction; the initial configuration information is used for triggering the customer premise equipment to perform configuration based on the initial configuration information; when an updating instruction is detected, the updating configuration information is issued to the user side equipment corresponding to the target user; and controlling the display or the hiding of the functional modules corresponding to the functional module codes in the application program by the user side equipment according to the updated configuration information. Compared with the prior art, the method and the device can directly divide the existing user pool without releasing a new version, simplify the development and release process, can issue data based on different dimensions, and have the advantages of high flexibility, simplicity in operation, easiness in maintenance and the like.

Description

Mobile application configuration method and equipment
Technical Field
The present invention relates to the field of mobile application technologies, and in particular, to a mobile application configuration method and device.
Background
With the explosion of mobile internet, mobile applications have become a necessity for daily life of internet users. The updating iteration of the current mobile application product is rapid, and the edition sending period is short. In order to ensure the online of the fast iterative development of the product and the quality of the product, the release of a new version of the mobile application needs to be configured, and a gray release method is generally adopted.
The gray level publishing refers to a publishing mode capable of smoothly transiting between black and white, namely, part of users continue to use the product characteristics A, part of users start to use the product characteristics B, the range is gradually expanded by collecting feedback opinions of the users on the B, all the users are moved to the upper side of the B, the stability of the whole system is ensured when updating is carried out, and problems are timely adjusted and modified.
The existing mobile application gray level release method can realize the division of a user pool only by releasing a new version of the mobile application, and the release configuration operation is complex, so that the data issuing cannot be efficiently controlled.
Disclosure of Invention
In order to overcome the problems in the related art, embodiments of the present invention provide a mobile application configuration method and device.
A first aspect of an embodiment of the present invention provides a mobile application configuration method, including the following steps: acquiring an installation instruction and initial configuration information of a target user; issuing the initial configuration information to user end equipment corresponding to the target user based on the installation instruction; the initial configuration information is used for triggering the customer premise equipment to perform configuration based on the initial configuration information; the initial configuration information comprises a plurality of function module codes of an application program, each function module code is provided with a corresponding enabling field, and the enabling fields control the display or hiding of the corresponding function module; when an updating instruction is detected, the updating configuration information is issued to the user side equipment corresponding to the target user; wherein, the updating configuration information comprises a plurality of enabling fields coded by the functional modules; and controlling the display or the hiding of the functional modules corresponding to the functional module codes in the application program by the user terminal equipment according to the updated configuration information.
Further, when an update instruction is detected, sending update configuration information to the customer premise equipment corresponding to the target user, so that the customer premise equipment controls the display or the hiding of the functional modules corresponding to the functional module codes in the application program according to the enabled field in the update configuration information; and updating the configuration fields corresponding to the functional module codes in the application program according to the configuration values in the updated configuration information.
Further, the identification information of the target user, the user parameter information of the target user and the gray scale division information of the target user are obtained.
Further, based on the user parameter information of the target user and the gray scale division information of the target user, determining a target configuration strategy corresponding to the user parameter information of the target user; the user parameter information of the target user is the same as the user parameter information of the target configuration strategy, and the gray scale division information of the target user is in a section corresponding to the gray scale division section information of the target configuration strategy; and generating the updating instruction based on the updating configuration information corresponding to the target configuration strategy and the user identification information of the target user.
Further, strategy identification information of the target configuration strategy is obtained; when a test data collection instruction of the target user is obtained, issuing the strategy identification information of the target configuration strategy to user equipment corresponding to the target user; and uploading policy identification information corresponding to the test data of the target user when the user equipment corresponding to the target user uploads the test data of the target user.
Further, when a test data collection instruction is detected, the test data of the target user corresponding to the policy identification information is acquired based on the policy identification information in the test data collection instruction.
Further, when a random updating instruction is detected, generating a random value in a preset random interval; determining a configuration strategy based on the random value, and issuing updated configuration information corresponding to the configuration strategy to user end equipment corresponding to the target user; wherein the random update instruction comprises user identification information of the target user and at least one configuration policy, and each configuration policy has a corresponding proportion value; dividing the preset random interval based on the proportion value to obtain a random interval corresponding to the configuration strategy; and determining a corresponding configuration strategy based on the random interval in which the random value is positioned.
Further, based on the installation instruction, acquiring user parameter information of the target user and user identification information of the target user; converting the format of the user identification information to obtain first user identification information; the format of the first user identification information is a numerical type; and performing modulus operation on the first user identification information to obtain the gray scale division information of the target user.
Further, based on the priority information, sequencing the configuration strategies to obtain a first configuration strategy; and matching the first configuration strategy with the user parameter information of the target user and the gray scale division information of the target user, and determining a target configuration strategy corresponding to the first configuration strategy.
A second aspect of the embodiments of the present invention provides a mobile application configuration device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the mobile application configuration method according to the first aspect when executing the computer program.
A third aspect of embodiments of the present invention provides a computer-readable storage medium, which stores a computer program that, when executed by a processor, implements the steps of the mobile application configuration method according to the first aspect.
In the embodiment of the invention, an installation instruction and initial configuration information of a target user are obtained; issuing the initial configuration information to user end equipment corresponding to the target user based on the installation instruction; the initial configuration information is used for triggering the customer premise equipment to perform configuration based on the initial configuration information; the initial configuration information comprises a plurality of function module codes of an application program, each function module code is provided with a corresponding enabling field, and the enabling fields control the display or the hiding of the corresponding function module; when an updating instruction is detected, the updating configuration information is sent to the user side equipment corresponding to the target user; wherein, the updating configuration information comprises a plurality of enabling fields coded by the functional modules; and controlling the display or the hiding of the functional modules corresponding to the functional module codes in the application program by the user side equipment according to the updated configuration information. According to the scheme, the existing user pool can be directly divided without releasing a new version, the development and release process is simplified, the mobile application can be configured based on different dimensions, and the method and the device have the advantages of high flexibility, simplicity in operation, easiness in maintenance and the like.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
For a better understanding and practice, the invention is described in detail below with reference to the accompanying drawings.
Drawings
Fig. 1 is a flowchart illustrating a mobile application configuration method according to a first exemplary embodiment of the present invention;
fig. 2 is a flowchart illustrating a mobile application configuration method according to a second exemplary embodiment of the present invention;
fig. 3 is a flowchart illustrating a mobile application configuration method according to a third exemplary embodiment of the present invention;
fig. 4 is a flowchart illustrating the process of S307 in the mobile application configuration method according to the third exemplary embodiment of the present invention;
fig. 5 is a flowchart illustrating a mobile application configuration method according to a fourth exemplary embodiment of the present invention;
fig. 6 is a flowchart illustrating a mobile application configuration method according to a fifth exemplary embodiment of the present invention;
fig. 7 is a schematic structural diagram of a mobile application configuration device according to an exemplary embodiment of the present invention.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. The following description refers to the accompanying drawings in which the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present invention. The word "if as used herein may be interpreted as" at "8230; \8230when" or "when 8230; \823030, when" or "in response to a determination", depending on the context.
Referring to fig. 1, fig. 1 is a flowchart illustrating a mobile application configuration method according to a first exemplary embodiment of the present invention. The execution subject of the mobile application configuration method of this embodiment is a mobile application configuration device, and the mobile application configuration method shown in fig. 1 may include:
s101: and acquiring an installation instruction and initial configuration information of a target user.
The mobile application configuration equipment acquires an installation instruction and initial configuration information of a target user. The target user is an installation user of the mobile application, when the target user performs installation operation, the mobile application configuration device obtains an installation instruction, and obtains user identification information, a user device model and the like of the target user based on the installation instruction. The user identification information is a unique identification of the target user, and in this embodiment, the data type of the unique identification is a character string, which has the discrete characteristic of the character string. The initial configuration information comprises a plurality of function module codes of the application program, the function module codes are sent to the user terminal equipment, the user terminal equipment can be triggered to execute the function module codes, and the function modules corresponding to the function module codes are configured.
S102: issuing the initial configuration information to user end equipment corresponding to the target user based on the installation instruction; the initial configuration information is used for triggering the customer premise equipment to perform configuration based on the initial configuration information; the initial configuration information comprises a plurality of function module codes of an application program, and each function module code is provided with a corresponding enabling field which controls the display or hiding of the corresponding function module.
And the mobile application configuration equipment transmits the initial configuration information to user end equipment corresponding to the target user based on the installation instruction. The initial configuration information comprises a plurality of function module codes of the application program, each function module code is provided with a corresponding enabling field, in the initial configuration stage, the enabling fields of a part of function module codes control the display of the corresponding function module, and the enabling fields of a part of function module codes control the hiding of the corresponding function module. That is, when the target user installs the mobile application, the mobile application configuration device transmits all the function module codes to the user end device, but the function modules corresponding to a part of the function module codes are not displayed in the initial configuration stage.
In addition, the mobile application configuration device can also encrypt and encapsulate the functional module code hidden in the initial configuration information, so that the user terminal device cannot acquire the functional module code therein without acquiring the private key password, and thus cannot load the corresponding functional module to control the display or the hiding of the functional module.
S103: when an updating instruction is detected, the updating configuration information is sent to the user side equipment corresponding to the target user; wherein, the updating configuration information comprises a plurality of enabling fields of function module codes; and controlling the display or the hiding of the functional modules corresponding to the functional module codes in the application program by the user terminal equipment according to the updated configuration information.
And when detecting the update instruction, the mobile application configuration equipment transmits the update configuration information to the user end equipment corresponding to the target user. The updating instruction comprises user identification information of a plurality of target users, a plurality of corresponding updating configuration information and the like, and each updating configuration information comprises a plurality of enabling fields corresponding to the functional module codes. The mobile application configuration equipment enables the user terminal equipment to control the display or the hiding of the functional modules corresponding to the functional module codes in the application program based on the updated configuration information.
In addition, the corresponding private key password can be encoded by storing a plurality of concealed (encrypted and packaged) function modules and a plurality of displayed (unencrypted and packaged) function modules in each piece of updating configuration information. And the user terminal equipment controls the display of the functional modules corresponding to the plurality of hidden functional module codes in the application program and controls the hiding of the functional modules corresponding to the plurality of displayed functional module codes in the application program based on the updated configuration information.
According to the scheme, on the premise that the corresponding updated configuration information is sent to different target users, the display or hiding of the function modules in the application programs of the different target users can be directly controlled, the division of the existing user pool is realized, so that a part of users can use some function modules in the mobile application first to finish gray scale release, and the function modules used by one user can be hidden and prohibited from being used continuously.
Referring to fig. 2, fig. 2 is a flowchart illustrating a mobile application configuration method according to a second exemplary embodiment of the present invention. The execution subject of the mobile application configuration method of this embodiment is a mobile application configuration device, and the mobile application configuration method shown in fig. 2 is specifically as follows:
s201: and acquiring an installation instruction and initial configuration information of a target user.
S202: issuing the initial configuration information to user side equipment corresponding to the target user based on the installation instruction; the initial configuration information is used for triggering the customer premise equipment to perform configuration based on the initial configuration information; the initial configuration information comprises a plurality of function module codes of an application program, and each function module code is provided with a corresponding enabling field which controls the display or hiding of the corresponding function module.
S203: when an update instruction is detected, sending update configuration information to user side equipment corresponding to the target user, so that the user side equipment controls display or hiding of functional modules corresponding to the functional module codes in an application program according to a starting field in the update configuration information; and updating the configuration fields corresponding to the functional module codes in the application program according to the configuration values in the updated configuration information.
The difference between this embodiment and the first exemplary embodiment is that in step S203, please refer to the related description of steps S101 to S102 in steps S201 to S202, which is not described herein again, and S203 is specifically as follows:
each function module code in the initial configuration information not only has one corresponding enabling field, but also has a plurality of corresponding configuration fields, and each configuration field has one corresponding configuration value. And when the mobile application configuration equipment detects an updating instruction, the mobile application configuration equipment sends the updating configuration information to the user side equipment corresponding to the target user. The updating instruction comprises user identification information of a plurality of target users, a plurality of corresponding updating configuration information and the like, and each updating configuration information comprises an enabling field corresponding to a plurality of functional module codes and a configuration value of the plurality of functional module codes. The mobile application configuration equipment enables the user side equipment to control the display or the hiding of the functional modules corresponding to the functional module codes in the application program according to the enabling field in the updating configuration information; and updating the configuration fields corresponding to the functional module codes in the application program according to the configuration values in the updated configuration information.
According to the scheme, the starting fields of the codes of the plurality of functional modules and the configuration values of the codes of the plurality of functional modules are added into the updated configuration information, so that the user terminal equipment can control the display or the hiding of the functional modules corresponding to the codes of the plurality of functional modules on the one hand and change the configuration values of the corresponding configuration fields in the codes of the plurality of functional modules on the other hand according to the updated configuration information, and the display style of the corresponding functional modules is changed. Therefore, whether the functional module is displayed in the application programs of different target users and the display style of the functional module in the application programs of different target users can be directly controlled on the premise of not releasing a new version by sending corresponding updated configuration information to different target users, the development and release process is further simplified, and the method is simple to operate and easy to maintain.
In addition, the format of the update configuration information stored by the mobile application configuration equipment is the JSON format, data is issued in the JSON format, the user side can receive the data conveniently, and meanwhile, the JSON is convenient for updating and modifying the format. In the database, the format of the enable field and the configuration field in the update configuration information is defined, for example: and if a certain configuration field is limited to be an int value type, when an operator records updated configuration information, the configuration value corresponding to the configuration field input by the operator must be the int type, and the size of the configuration value cannot exceed the int type limit, otherwise, the configuration information cannot be stored, and an error mark is synchronously prompted to guide the operator to correctly configure.
Referring to fig. 3, fig. 3 is a flowchart illustrating a mobile application configuration method according to a third exemplary embodiment of the present invention. The main execution body of the mobile application configuration method in this embodiment is a mobile application configuration device, and the mobile application configuration method shown in fig. 3 is specifically as follows:
s301: and acquiring an installation instruction and initial configuration information of a target user.
S302: and acquiring the user parameter information of the target user and the user identification information of the target user based on the installation instruction.
S303: converting the format of the user identification information to obtain first user identification information; the format of the first user identification information is numerical type.
S304: and performing modulus operation on the first user identification information to obtain the gray scale division information of the target user.
S305: issuing the initial configuration information to user side equipment corresponding to the target user based on the installation instruction; the initial configuration information is used for triggering the customer premise equipment to perform configuration based on the initial configuration information; the initial configuration information comprises a plurality of function module codes of an application program, and each function module code is provided with a corresponding enabling field which controls the display or hiding of the corresponding function module.
S306: and acquiring the identification information of the target user, the user parameter information of the target user and the gray scale division information of the target user.
S307: determining a target configuration strategy corresponding to the user parameter information of the target user and the gray scale division information of the target user; the user parameter information of the target user is the same as the user parameter information of the target configuration strategy, and the gray scale division information of the target user is in the interval corresponding to the gray scale division interval information of the target configuration strategy.
S308: and generating the updating instruction based on the updating configuration information corresponding to the target configuration strategy and the user identification information of the target user.
S309: when an updating instruction is detected, the updating configuration information is issued to the user side equipment corresponding to the target user; wherein, the updating configuration information comprises a plurality of enabling fields of function module codes; and controlling the display or the hiding of the functional modules corresponding to the functional module codes in the application program by the user side equipment according to the updated configuration information.
The difference between this embodiment and the first exemplary embodiment is that steps S302 to S304 and S306 to S308, and steps S301, S305 and S309 refer to the related descriptions of steps S101, S102 and S103, respectively, which are not described herein again, and steps S302 to S304 and S306 to S308 are specifically as follows:
s302: and acquiring the user parameter information of the target user and the user identification information of the target user based on the installation instruction.
And the mobile application configuration equipment acquires the user parameter information of the target user and the user identification information of the target user based on the installation instruction. The installation instruction includes user identification information of the target user, user parameter information, a user equipment model, and the like, where the user identification information is a unique identification of the target user, and in this embodiment, a data type of the unique identification is a character string and has a discrete characteristic of the character string. The user parameter information comprises version information of a product installed by a user, information of a country where the user is located, information of a user installation channel and the like.
S303: converting the format of the user identification information to obtain first user identification information; the format of the first user identification information is numerical type.
And the mobile application configuration equipment converts the format of the user identification information to obtain first user identification information. The format of the first user identification information is numerical type. Specifically, the mobile application configuration device may convert the format of the user identification information from a String type to an Int type by using a hashcode function of a java String type, so as to obtain the first user identification information.
S304: and performing modulus operation on the first user identification information to obtain the gray scale division information of the target user.
And the mobile application configuration equipment performs modular operation on the first user identification information to obtain the gray scale division information of the target user. In this embodiment, the value of the modulus is 100, and the mobile application configuration device performs a modulus 100 operation on the first user identification information to obtain the grayscale division information of the target user, where the grayscale division information randomly divides the target user into 100 parts. The value of the modulus can be selected according to the actual user base number of the mobile application or the requirement of gray scale division, and is not limited herein.
Based on the user identification information of the target user, format conversion and modular operation are carried out on the user identification information to obtain the gray scale division information of the target user, and division of all target users is accurately achieved. When the gray scale division information is used for controlling the sending of the updated configuration information, target users with different gray scale division information can use mobile application programs with different configurations.
S306: and acquiring the identification information of the target user, the user parameter information of the target user and the gray scale division information of the target user.
And the mobile application configuration equipment acquires the identification information of the target user, the user parameter information of the target user and the gray scale division information of the target user.
S307: determining a target configuration strategy corresponding to the user parameter information of the target user and the gray scale division information of the target user; the user parameter information of the target user is the same as the user parameter information of the target configuration strategy, and the gray scale division information of the target user is in the interval corresponding to the gray scale division interval information of the target configuration strategy.
And the mobile application configuration equipment determines a target configuration strategy corresponding to the user parameter information of the target user and the gray scale division information of the target user. When the user parameter information of the target user is the same as the user parameter information of the target configuration strategy and the gray scale division information of the target user is in a section corresponding to the gray scale division section information of the target configuration strategy, the corresponding target configuration strategy is the configuration strategy of the current target user. For example: when the user parameter information of the target user is (China, channel A, product 3) and the gray scale division western information is 8, the configuration strategy comprises a configuration strategy 1 (China, channel A, product 3, gray scale division interval 11-20), a configuration strategy 2 (America, channel A, product 3, gray scale division interval 1-10) and a configuration strategy 3 (China, channel A, product 3 and gray scale division interval 1-10), the mobile application configuration equipment determines the target configuration strategy corresponding to the mobile application configuration equipment to be the configuration strategy 3 based on the user parameter information and the gray scale division information of the target user, and then sends the updated configuration information corresponding to the configuration strategy 3 to the target user.
Further, in order to accurately determine the target configuration policy, S307 may include S3071 to S3072, as shown in fig. 4, where S3071 to S3072 are specifically as follows:
s3071: and sequencing the configuration strategies based on the priority information to obtain a first configuration strategy.
And the mobile application configuration equipment sequences the configuration strategies based on the priority information to obtain a first configuration strategy. The configuration policy also includes priority information, and each configuration policy corresponds to a priority. And sequencing all the configuration strategies from high to low according to the priority to obtain a first configuration strategy after sequencing, namely a first matching strategy. In the present embodiment, the smaller the numerical value of the priority, the higher the priority.
S3072: and matching the first configuration strategy with the user parameter information of the target user and the gray scale division information of the target user, and determining a target configuration strategy corresponding to the first configuration strategy.
And the application configuration equipment is used for matching the first configuration strategy with the user parameter information of the target user and the gray scale division information of the target user in sequence. And when the user parameter information of the target user is the same as that of the current first configuration strategy and the gray scale division information of the target user is in the interval corresponding to the gray scale division interval information of the current first configuration strategy, determining that the current first configuration strategy is the target configuration strategy corresponding to the current first configuration strategy, and after the mobile application configuration equipment determines the target configuration strategy, not continuing the matching operation.
When a plurality of configuration policies are stored in the mobile application configuration device, a problem of difficult management is caused, and when the same user can match a plurality of configuration policies, it is impossible to determine which configuration policy is selected as the target configuration policy. Therefore, in this embodiment, a priority competition manner is adopted to manage the configuration policies, the configuration policies are sorted and sequentially matched with the user parameter information of the target user and the gray scale division information of the target user according to the order, and once 1 configuration policy is matched, the following configuration policies are not considered any more, so that the problem of difficulty in management caused by excessive configuration policies is solved, and the matching efficiency of the configuration policies is improved.
S308: and generating the updating instruction based on the updating configuration information corresponding to the target configuration strategy and the user identification information of the target user.
And the mobile application configuration equipment generates the update instruction based on the update configuration information corresponding to the target configuration policy and the user identification information of the target user. When the mobile application configuration device detects the update instruction, the update configuration information is issued to the user end device corresponding to the user identification information.
Therefore, the scheme presets the configuration strategy in the mobile application configuration device, and can realize more detailed division of all target users by controlling the user parameter information and the gray scale division interval information in the configuration strategy, namely, realize multi-dimensional division of the existing user pool. And the divided users are matched with the updating configuration information corresponding to different configuration strategies, and the updating configuration information and the user identification information of the target user are generated into an updating instruction, so that the target users with different user parameters or different gray scale division information can be realized, and mobile application programs with different configurations can be used at the same time.
Referring to fig. 5, fig. 5 is a flowchart illustrating a mobile application configuration method according to a fourth exemplary embodiment of the present invention. The execution subject of the mobile application configuration method of this embodiment is a mobile application configuration device, and the mobile application configuration method shown in fig. 3 is specifically as follows:
s401, acquiring an installation instruction and initial configuration information of a target user.
S402, issuing the initial configuration information to user end equipment corresponding to the target user based on the installation instruction; the initial configuration information is used for triggering the customer premise equipment to perform configuration based on the initial configuration information; the initial configuration information comprises a plurality of function module codes of an application program, and each function module code is provided with a corresponding enabling field which controls the display or hiding of the corresponding function module.
S403: and acquiring the identification information of the target user, the user parameter information of the target user and the gray scale division information of the target user.
S404: determining a target configuration strategy corresponding to the user parameter information of the target user and the gray scale division information of the target user; the user parameter information of the target user is the same as the user parameter information of the target configuration strategy, and the gray scale division information of the target user is in the interval corresponding to the gray scale division interval information of the target configuration strategy.
S405: and generating the updating instruction based on the updating configuration information corresponding to the target configuration strategy and the user identification information of the target user.
S406: when an updating instruction is detected, the updating configuration information is sent to the user side equipment corresponding to the target user; wherein, the updating configuration information comprises a plurality of enabling fields coded by the functional modules; and controlling the display or the hiding of the functional modules corresponding to the functional module codes in the application program by the user terminal equipment according to the updated configuration information.
S407: and acquiring the strategy identification information of the target configuration strategy.
S408: when a test data collection instruction of the target user is obtained, issuing the strategy identification information of the target configuration strategy to user equipment corresponding to the target user; and when the user equipment corresponding to the target user uploads the test data of the target user, uploading the strategy identification information corresponding to the test data of the target user.
S409: when a test data collection instruction is detected, obtaining test data of the target user corresponding to the strategy identification information based on the strategy identification information in the test data collection instruction.
The difference between this embodiment and the foregoing exemplary embodiment lies in steps S407 to S409, and steps S401 to S402, S403 to S405, and S406 refer to the related descriptions of steps S101 to S102, S306 to S308, and S103, which are not described herein again, and S407 to S409 are specifically as follows:
s407: and acquiring the strategy identification information of the target configuration strategy.
And the mobile application configuration equipment acquires the strategy identification information of the target configuration strategy. Each configuration policy has corresponding policy identification information, and the policy identification information is used for uniquely identifying the configuration policy.
S408: when a test data collection instruction of the target user is obtained, issuing the strategy identification information of the target configuration strategy to user equipment corresponding to the target user; and when the user equipment corresponding to the target user uploads the test data of the target user, uploading the strategy identification information corresponding to the test data of the target user.
The target configuration policy further includes collecting identification information, and in this embodiment, when the collecting identification information is 1, a test data collecting instruction is issued; when the collection identification information is 0, the test data collection instruction is not issued. When the mobile application configuration device obtains the test data collection instruction of the target user, the mobile application configuration device issues the strategy identification information and the update configuration information of the target configuration strategy to the user end device corresponding to the target user, so that the strategy identification information corresponding to the test data of the target user is uploaded when the user end device corresponding to the target user uploads the test data of the target user.
Through the setting, the automatic adding of the buried point mark can be realized, the test data of the user can be accurately received, the collection and extraction of the test data of the follow-up user are facilitated, and the working cost of operation and maintenance personnel is reduced.
S409: when a test data collection instruction is detected, obtaining test data of the target user corresponding to the strategy identification information based on the strategy identification information in the test data collection instruction.
The test data collection instruction comprises strategy identification information, and when the mobile application configuration equipment detects the test data collection instruction, the mobile application configuration equipment acquires the test data of the target user corresponding to the strategy identification information based on the strategy identification information in the collection instruction.
By controlling whether data are collected in real time, the pressure of a server and big data is reduced, and the user test data are quickly positioned based on strategy identification information.
Referring to fig. 6, fig. 6 is a flowchart illustrating a mobile application configuration method according to a fifth exemplary embodiment of the present invention. The main execution body of the mobile application configuration method in this embodiment is a mobile application configuration device, and the mobile application configuration method shown in fig. 6 is specifically as follows:
s501: and acquiring an installation instruction and initial configuration information of a target user.
S502: issuing the initial configuration information to user side equipment corresponding to the target user based on the installation instruction; the initial configuration information is used for triggering the customer premise equipment to perform configuration based on the initial configuration information; the initial configuration information comprises a plurality of function module codes of an application program, and each function module code is provided with a corresponding enabling field which controls the display or hiding of the corresponding function module.
S503: when an updating instruction is detected, the updating configuration information is issued to the user side equipment corresponding to the target user; wherein, the updating configuration information comprises a plurality of enabling fields of function module codes; and controlling the display or the hiding of the functional modules corresponding to the functional module codes in the application program by the user terminal equipment according to the updated configuration information.
S504: when a random updating instruction is detected, generating a random value in a preset random interval; and determining a configuration strategy based on the random value, and issuing updated configuration information corresponding to the configuration strategy to the user end equipment corresponding to the target user.
The difference between this embodiment and the first exemplary embodiment lies in step S504, and steps S501 to S503 refer to the related description of steps S101 to S103, which is not described herein again, and S504 specifically includes the following steps:
when detecting a random updating instruction, the mobile application configuration equipment generates a random value in a preset random interval, each configuration strategy has a corresponding proportion value, and the preset random interval is divided based on the proportion values to obtain a random interval corresponding to the configuration strategies; and determining a corresponding configuration strategy based on the random interval in which the random value is positioned. Wherein the random update instruction comprises user identification information of the target user and at least one configuration policy. For example: when the preset random interval is (0, 1], generating a random value of (0, 1) based on a random function, wherein the number of the configuration strategies is 3, namely a configuration strategy A, a configuration strategy B and a configuration strategy C, the proportion value of the configuration strategy A is 1, the proportion value of the configuration strategy B is 1, and the proportion value of the configuration strategy C is 2, dividing the preset random interval of (0, 1) based on the proportion values to obtain a random interval corresponding to the configuration strategies, configuring the strategy A (0, 0.25), configuring the strategy B (0.25, 0.5), and determining the corresponding configuration strategy as a configuration strategy A based on the random value 0.2 when the random value in the preset random interval is 0.2, and issuing updated configuration information corresponding to the configuration strategy to a user terminal device corresponding to a target user by a mobile application configuration device.
The scheme realizes the method for randomly determining the configuration strategy, and can randomly select one of a plurality of configuration strategies to realize the random acquisition of the configuration information of a specific target user by setting the plurality of configuration strategies and the corresponding proportion values for the specific target user aiming at the specific target user and before issuing, thereby solving the problem of targeted configuration requirements.
Referring to fig. 7, fig. 7 is a schematic diagram of a mobile application configuration device according to an embodiment of the present invention. As shown in fig. 7, the mobile application configuration device 6 of this embodiment includes: a processor 600, a memory 610 and a computer program 620, such as a mobile application configuration program, stored in said memory 610 and executable on said processor 600. The processor 600 implements the steps in the various mobile application configuration method embodiments described above when executing the computer program 620.
Illustratively, the computer program 620 may be partitioned into one or more modules/units, which are stored in the memory 610 and executed by the processor 600 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 620 in the mobile application configuration device 6. For example, the computer program 620 may be divided into an acquisition unit, a first configuration unit, and a second configuration unit, and the specific functions of each unit are as follows:
the acquisition unit is used for acquiring an installation instruction and initial configuration information of a target user;
the first configuration unit is used for issuing the initial configuration information to the user end equipment corresponding to the target user based on the installation instruction; the initial configuration information is used for triggering the customer premise equipment to perform configuration based on the initial configuration information; the initial configuration information comprises a plurality of function module codes of an application program, each function module code is provided with a corresponding enabling field, and the enabling fields control the display or the hiding of the corresponding function module;
the second configuration unit is used for issuing the update configuration information to the user end equipment corresponding to the target user when the update instruction is detected; wherein, the updating configuration information comprises a plurality of enabling fields coded by the functional modules; and controlling the display or the hiding of the functional modules corresponding to the functional module codes in the application program by the user side equipment according to the updated configuration information.
The mobile application configuration device 6 may include, but is not limited to, a processor 600, a memory 610. It will be appreciated by those skilled in the art that fig. 7 is merely an example of the mobile application configuration device 6 and does not constitute a limitation of the mobile application configuration device 6 and may comprise more or less components than those shown, or some components may be combined, or different components, for example the mobile application configuration device 6 may also comprise an input output device, a network access device, a bus, etc.
The Processor 600 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 610 may be an internal storage unit of the mobile application configuration device 6, such as a hard disk or a memory of the mobile application configuration device 6. The memory 610 may also be an external storage device of the mobile application configuration device 6, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, provided on the mobile application configuration device 6. Further, the memory 610 may also include both an internal storage unit and an external storage device of the mobile application configuration device 6. The memory 610 is used for storing the computer programs and other programs and data required by the mobile application configuration device. The memory 610 may also be used to temporarily store data that has been output or is to be output.
It should be clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional units and modules is only used for illustration, and in practical applications, the above function distribution may be performed by different functional units and modules as needed, that is, the internal structure of the apparatus may be divided into different functional units or modules to perform all or part of the above described functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the description of each embodiment has its own emphasis, and reference may be made to the related description of other embodiments for parts that are not described or recited in any embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments described above may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U.S. disk, removable hard disk, magnetic diskette, optical disk, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), electrical carrier wave signal, telecommunications signal, and software distribution medium, etc. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice. The present invention is not limited to the above-described embodiments, and various modifications and variations of the present invention are intended to be included within the scope of the claims and the equivalent technology of the present invention if they do not depart from the spirit and scope of the present invention.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention.

Claims (10)

1. A mobile application configuration method, comprising:
acquiring an installation instruction and initial configuration information of a target user;
issuing the initial configuration information to user end equipment corresponding to the target user based on the installation instruction; the initial configuration information is used for triggering the customer premise equipment to perform configuration based on the initial configuration information; the initial configuration information comprises a plurality of function module codes of an application program, each function module code is provided with a corresponding enabling field, and the enabling fields control the display or hiding of the corresponding function module;
when an updating instruction is detected, the updating configuration information is sent to the user side equipment corresponding to the target user; wherein, the updating configuration information comprises a plurality of enabling fields coded by the functional modules; and controlling the display or the hiding of the functional modules corresponding to the functional module codes in the application program by the user terminal equipment according to the updated configuration information.
2. The method as claimed in claim 1, wherein each of the function module codes in the initial configuration information further has a plurality of corresponding configuration fields, each of the configuration fields has a corresponding configuration value, the updated configuration information further includes a plurality of configuration values of the function module codes, and further comprising:
when an update instruction is detected, sending update configuration information to user side equipment corresponding to the target user, so that the user side equipment controls display or hiding of functional modules corresponding to the functional module codes in an application program according to a starting field in the update configuration information; and updating the configuration fields corresponding to the functional module codes in the application program according to the configuration values in the updated configuration information.
3. The method according to claim 1 or 2, wherein the step of sending the update configuration information to a user end device corresponding to the target user when the update instruction is detected comprises:
acquiring identification information of the target user, user parameter information of the target user and gray scale division information of the target user;
determining a target configuration strategy corresponding to the user parameter information of the target user and the gray scale division information of the target user; the user parameter information of the target user is the same as the user parameter information of the target configuration strategy, and the gray scale division information of the target user is in a section corresponding to the gray scale division section information of the target configuration strategy;
and generating the updating instruction based on the updating configuration information corresponding to the target configuration strategy and the user identification information of the target user.
4. The method according to claim 3, wherein the configuring policy includes policy identification information, and the enabling the client device to update the function module corresponding to the function module codes and the configuration field corresponding to the configuration values in the application according to the updated configuration information comprises:
acquiring strategy identification information of the target configuration strategy;
when a test data collection instruction of the target user is obtained, issuing the strategy identification information of the target configuration strategy to user equipment corresponding to the target user; and when the user equipment corresponding to the target user uploads the test data of the target user, uploading the strategy identification information corresponding to the test data of the target user.
5. The method according to claim 4, wherein when the user equipment corresponding to the target user uploads the test data of the target user, after uploading policy identification information corresponding to the test data of the target user, the method comprises:
when a test data collection instruction is detected, obtaining test data of the target user corresponding to the strategy identification information based on the strategy identification information in the test data collection instruction.
6. The method for configuring a mobile application according to claim 1 or 2, further comprising:
when a random updating instruction is detected, generating a random value in a preset random interval; determining a configuration strategy based on the random value, and issuing updated configuration information corresponding to the configuration strategy to user end equipment corresponding to the target user; wherein the random update instruction comprises user identification information of the target user and at least one configuration policy, and each configuration policy has a corresponding proportion value; dividing the preset random interval based on the proportion value to obtain a random interval corresponding to the configuration strategy; and determining a corresponding configuration strategy based on the random interval in which the random value is positioned.
7. The method according to claim 3, wherein the installation instruction includes user parameter information of the target user and user identification information of the target user, and after obtaining the installation instruction and initial configuration information of the target user, the method comprises:
acquiring user parameter information of the target user and user identification information of the target user based on the installation instruction;
converting the format of the user identification information to obtain first user identification information; the format of the first user identification information is a numerical type;
and performing modulus operation on the first user identification information to obtain the gray scale division information of the target user.
8. The mobile application configuration method of claim 3, wherein the configuration policy further comprises priority information, and the determining the target configuration policy corresponding to the user parameter information of the target user and the gray scale division information of the target user comprises:
based on the priority information, sequencing the configuration strategies to obtain a first configuration strategy;
and matching the first configuration strategy with the user parameter information of the target user and the gray scale division information of the target user, and determining a target configuration strategy corresponding to the first configuration strategy.
9. A mobile application configuration device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 8 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 8.
CN201910838189.4A 2019-09-05 2019-09-05 Mobile application configuration method and equipment Active CN110647347B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910838189.4A CN110647347B (en) 2019-09-05 2019-09-05 Mobile application configuration method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910838189.4A CN110647347B (en) 2019-09-05 2019-09-05 Mobile application configuration method and equipment

Publications (2)

Publication Number Publication Date
CN110647347A CN110647347A (en) 2020-01-03
CN110647347B true CN110647347B (en) 2022-12-06

Family

ID=69010149

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910838189.4A Active CN110647347B (en) 2019-09-05 2019-09-05 Mobile application configuration method and equipment

Country Status (1)

Country Link
CN (1) CN110647347B (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9183248B2 (en) * 2009-06-09 2015-11-10 Oracle International Corporation Configuring object displays
CN106991190A (en) * 2017-04-11 2017-07-28 广东浪潮大数据研究有限公司 A kind of database automatically creates subdata base system
CN109871224A (en) * 2019-02-13 2019-06-11 北京炎黄新星网络科技有限公司 A kind of gray scale dissemination method, system, medium and equipment based on user identifier

Also Published As

Publication number Publication date
CN110647347A (en) 2020-01-03

Similar Documents

Publication Publication Date Title
CN107730196B (en) Project progress management method and terminal equipment
US10120030B2 (en) Trace data recording system, trace data recording server, trace data recording method, and information storage medium
CN107766900B (en) Method, system and computing device for printing bar code
TWI655551B (en) Network-based recorder configuration utilization technology
CN112202747A (en) Target device binding method and device, storage medium and electronic device
CN109714393A (en) A kind of method and device that application program is recommended
CN107239309A (en) Patch generation method and device, update method, electronic equipment, storage medium
CN110826896A (en) Data processing control method and device, computer equipment and storage medium
CN109819246A (en) Detection device and detection method, the device of LED display terminal
US10421188B2 (en) Robot fingerprint
CN107624211B (en) Charging method and device
CN111060832B (en) Electric vehicle battery aging identification method and device, terminal equipment and storage medium
US10691424B2 (en) Method for programming and terminal device
CN110647347B (en) Mobile application configuration method and equipment
CN110837657B (en) Data processing method, client, server and storage medium
CN112053058A (en) Index model generation method and device
CN108777010B (en) Electronic lock management method, mobile terminal and storage medium
CN116302889A (en) Performance test method and device for functional module and server
CN106446848A (en) Method and apparatus for recognizing approved file
CN109491986B (en) Fire-fighting parameter configuration method and device and terminal equipment
CN113779086A (en) Power station equipment data acquisition method, device, equipment and storage medium
CN113418270A (en) Parameter configuration method, device and medium for indoor unit controller
CN110599647A (en) Intelligent lock authentication method and system
CN107896164B (en) GNSS receiver batch configuration method
CN117350265B (en) Enterprise-oriented mass product data template management system and method

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