[go: up one dir, main page]

CN112433749B - A grayscale release method and device for application, server, and client - Google Patents

A grayscale release method and device for application, server, and client Download PDF

Info

Publication number
CN112433749B
CN112433749B CN202011326480.2A CN202011326480A CN112433749B CN 112433749 B CN112433749 B CN 112433749B CN 202011326480 A CN202011326480 A CN 202011326480A CN 112433749 B CN112433749 B CN 112433749B
Authority
CN
China
Prior art keywords
version
target application
client
target
configuration file
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
CN202011326480.2A
Other languages
Chinese (zh)
Other versions
CN112433749A (en
Inventor
王栈
冯晓峰
向晖
曹宝欣
黄双雪
徐摄摄
潘春晓
林树新
黄坤
陈勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN202011326480.2A priority Critical patent/CN112433749B/en
Publication of CN112433749A publication Critical patent/CN112433749A/en
Application granted granted Critical
Publication of CN112433749B publication Critical patent/CN112433749B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • G06F11/368Test management for test version control, e.g. updating test cases to a new software version

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

本说明书实施例提供了一种应用的灰度发布方法和装置、服务器、客户端,其中,该方法包括:在确定目标应用发布灰度版本的情况下,获取目标应用的特征用户数据集;其中,特征用户数据集中包括至少一个特征用户的属性数据,属性数据用于表征特征用户;利用静默推送技术向所述特征用户数据集中各个特征用户的客户端发送灰度测试通知;各个特征用户的客户端响应于所述灰度测试通知,获取所述目标应用的灰度版本的目标配置文件;根据所述目标配置文件,将特征用户的客户端中的目标应用从当前使用的版本切换至所述灰度版本。在本说明书实施例中,可以在用户无感知的情况下进行灰度版本的切换,有效减少了用户重复下载安装的次数,提高了用户体验感。

The embodiments of this specification provide a grayscale release method and device, server, and client of an application, wherein the method includes: obtaining a characteristic user data set of the target application when it is determined that the target application releases a grayscale version; wherein the characteristic user data set includes attribute data of at least one characteristic user, and the attribute data is used to characterize the characteristic user; using silent push technology to send a grayscale test notification to the client of each characteristic user in the characteristic user data set; the client of each characteristic user responds to the grayscale test notification and obtains a target configuration file of the grayscale version of the target application; according to the target configuration file, the target application in the client of the characteristic user is switched from the currently used version to the grayscale version. In the embodiments of this specification, the grayscale version can be switched without the user's perception, which effectively reduces the number of times the user repeatedly downloads and installs, and improves the user experience.

Description

Gray scale release method and device for application, server and client
Technical Field
The embodiment of the specification relates to the technical field of computers, in particular to a gray level release method and device of an application, a server and a client.
Background
Along with the high-speed development of the Internet, the APP in the current application market is gradually free from traditional static content in a mode of combining a C/S (customer service side and a service side), and the running trend is started, so that the displayed content can be updated by an updating module at any time and any place, the dynamic layout of the APP is achieved, and the running of the APP is realized.
The existing application APP products are extremely fast in updating iteration speed, new versions are generally released through gray scales on line, market feedback conditions are obtained through a small part of user samples, and a product team can timely perfect related functions of the products according to feedback of users. The existing APP gray release technology needs to download a new gray release version for a user, so that the touch rate of the gray release version is low, if the gray release version has a problem, the user needs to download the previous version again, the user experience is poor, and the trial-and-error cost is high. Therefore, gray scale distribution cannot be efficiently realized by adopting the technical scheme in the prior art.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the specification provides an application gray level release method and device, a server and a client, so as to solve the problem that gray level release cannot be realized efficiently in the prior art.
The embodiment of the specification provides an application gray level release method, which comprises the steps of obtaining a characteristic user data set of a target application under the condition that a gray level version of release of the target application is determined, wherein the characteristic user data set comprises attribute data of at least one characteristic user, the attribute data are used for representing the characteristic user, sending gray level test notification to clients of all the characteristic users in the characteristic user data set by using a silence pushing technology, responding to the gray level test notification by the clients of all the characteristic users, obtaining a target configuration file of the gray level version of the target application, and switching the target application in the clients of the characteristic users from a currently used version to the gray level version according to the target configuration file.
The embodiment of the specification also provides an application gray level release device, which comprises a first acquisition module, a transmission module, a second acquisition module and a version switching module, wherein the first acquisition module is used for acquiring a characteristic user data set of a target application under the condition that a gray level version is released by the target application, the characteristic user data set comprises attribute data of at least one characteristic user, the attribute data are used for representing the characteristic user, the transmission module is used for transmitting gray level test notification to clients of all the characteristic users in the characteristic user data set by using a silence pushing technology, the second acquisition module is used for acquiring a target configuration file of the gray level version of the target application by responding to the gray level test notification, and the version switching module is used for switching the target application in the clients of the characteristic user from a currently used version to the gray level version according to the target configuration file.
The embodiment of the specification also provides an application gray level release method which is applied to a server and comprises the steps that the server of the target application obtains a characteristic user data set of the target application under the condition that the target application release gray level version is determined, wherein the characteristic user data set comprises attribute data of at least one characteristic user, the attribute data are used for representing the characteristic users, and a gray level test notification is sent to clients of all the characteristic users in the characteristic user data set by using a silence pushing technology.
The embodiment of the specification also provides a server which comprises an acquisition module and a sending module, wherein the acquisition module is used for acquiring a characteristic user data set of a target application under the condition that the server of the target application determines that the target application issues the gray level version, the characteristic user data set comprises attribute data of at least one characteristic user, the attribute data are used for representing the characteristic user, and the sending module is used for sending gray level test notifications to clients of all the characteristic users in the characteristic user data set by using a silence pushing technology.
The embodiment of the specification also provides an application gray level release method which is applied to the client and comprises the steps that the client of the characteristic user of the target application responds to a gray level test notification to obtain a target configuration file of a gray level version of the target application, wherein the gray level test notification is sent to the characteristic user of the target application by using a silent push technology when a server of the target application determines that the target application releases the gray level version, and the target application in the client of the characteristic user is switched from a currently used version to the gray level version according to the target configuration file.
The embodiment of the specification also provides a client, which comprises an acquisition module, a version switching module and a storage module, wherein the acquisition module is used for acquiring a target configuration file of a gray version of a target application in response to a gray test notification by the client of a characteristic user of the target application, the gray test notification is sent to the characteristic user of the target application by using a silent pushing technology when a server of the target application determines that the target application releases the gray version, and the version switching module is used for switching the target application in the client of the characteristic user from a currently used version to the gray version according to the target configuration file.
The embodiment of the specification provides a gray level release method of an application, which can acquire a characteristic user data set of a target application under the condition that a gray level version of release of the target application is determined, wherein the characteristic user data set comprises attribute data of at least one characteristic user, and the attribute data can be used for characterizing the characteristic user. Further, the silence pushing technology can be utilized to send gray test notification to clients of all feature users in the feature user data set, and the client receiving the gray test notification can start a background downloading service to obtain a target configuration file of a gray version of the target application. Because the silence notification content does not comprise any sound reminding and corner mark setting, background content update can be carried out under the condition of not disturbing a user at all, so that the target application in the client of the characteristic user can be switched from the currently used version to the gray version according to the acquired target configuration file under the condition that the user does not feel, the repeated downloading and installation times of the user are effectively reduced, and the user experience is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of embodiments of the present specification, are incorporated in and constitute a part of this specification and do not limit the embodiments of the present specification. In the drawings:
fig. 1 is a schematic structural diagram of a gray scale distribution system of an application provided according to an embodiment of the present specification;
fig. 2 is a schematic step diagram of a gray scale distribution method of an application according to an embodiment of the present disclosure;
fig. 3 is a schematic structural view of a gradation issuing apparatus of an application provided according to an embodiment of the present specification;
fig. 4 is a schematic step diagram of a gray scale distribution method of an application provided according to an embodiment of the present disclosure;
Fig. 5 is a schematic structural diagram of a server provided according to an embodiment of the present specification;
Fig. 6 is a schematic step diagram of a gray scale distribution method of an application provided according to an embodiment of the present disclosure;
Fig. 7 is a schematic structural diagram of a client provided according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a gradation issuing apparatus of an application provided according to an embodiment of the present specification.
Detailed Description
The principles and spirit of the embodiments of the present specification will be described below with reference to several exemplary implementations. It should be understood that these embodiments are presented merely to enable one skilled in the art to better understand and implement the present description embodiments and are not intended to limit the scope of the present description embodiments in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
It should be noted that, the information and data related to the user in the embodiments of the present disclosure are information and data authorized by the user or fully authorized by the related parties, and the processes of collecting, storing, using, processing, transmitting, providing, disclosing and applying the related data all comply with relevant laws and regulations and standards, take necessary security measures, do not violate the public welcome, and provide corresponding operation entries for the user or the related parties to select authorization or rejection.
Those skilled in the art will appreciate that the implementations of the embodiments of the present description may be implemented as a system, apparatus, method, or computer program product. Accordingly, the present specification embodiment disclosure may be embodied in the form of entirely hardware, entirely software (including firmware, resident software, micro-code, etc.) or in a combination of hardware and software.
While the flow described below includes a number of operations occurring in a particular order, it should be apparent that these processes may include more or fewer operations, which may be performed sequentially or in parallel (e.g., using a parallel processor or a multi-threaded environment).
In one scenario example of the present application, an application gray scale publishing system is provided, as shown in fig. 1, and may include a client 101 and a server 102. The server 102 may send a gray test notification to the client 101 of each feature user in the feature user dataset using a silent push technique, if it is determined that the target application issues a gray version. The client 101 may obtain a target profile of a gray scale version of the target application in response to the gray scale test notification, and switch the target application in the client 101 from a currently used version to the gray scale version according to the target profile.
The client 101 may be a terminal device or software used by a user operation. Specifically, the terminal device may be a terminal device such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart watch or other wearable devices, or may be a robot device. Of course, the client 101 may be software that can be executed in the terminal device. Such as application software for system applications, payment applications, browsers, weChat applets, etc.
The server 102 may be a single server or a server cluster, and of course, the functions of the server may be implemented by using a cloud computing technology. The server 102 may be connected to a plurality of terminal devices, or may be a server with a strong information set library, and may send a gray test notification to the client of each feature user by using a silence push technology under the condition that it is determined that the target application issues a gray version, so that the client of each feature user switches the currently used version of the target application to the gray version under the condition that the user does not feel the client, thereby effectively improving the touch rate of the gray version.
Referring to fig. 2, the present embodiment may provide an applied gray scale distribution method. The gray level release method of the application can be used for sending gray level test notification to the client of each characteristic user by utilizing the silence pushing technology under the condition that the target application release gray level version is determined, so that the client of each characteristic user is switched to the gray level version by the current version of the target application under the condition that the user does not feel, and the gray level version touch rate is effectively improved. The gradation release method applied as described above may include the following steps.
And S201, under the condition that the target application release gray version is determined, acquiring a characteristic user data set of the target application, wherein the characteristic user data set comprises attribute data of at least one characteristic user, and the attribute data is used for characterizing the characteristic user.
In this embodiment, in the case where it is determined that the target application issues the grayscale version, the feature user data set of the target application may be acquired. The feature user data set may include attribute data for at least one feature user, the attribute data being operable to characterize the feature user such that a feature user may be uniquely identified by an attribute data. The target application may be an application to be subjected to gray level release, and a specific application name may be determined according to an actual situation, which is not limited in the embodiment of the present specification.
In some embodiments, the attribute data may be a user ID (Identity), and may include at least one of a user name, a user account number, an identification card number, and the like. Of course, the attribute data is not limited to the above examples, and other modifications may be made by those skilled in the art in light of the technical spirit of the embodiments of the present specification, and all such modifications are intended to be included within the scope of the embodiments of the present specification as long as the functions and effects of the present invention are the same as or similar to those of the embodiments of the present specification.
In this embodiment, since the number of users of the target application may be relatively large, in consideration of reasons such as a low version used by some of the users or a low frequency of using the target application, the users of the target application may be screened to determine users suitable for gray level distribution of the target application. Furthermore, the user which is screened out and suitable for gray level release of the target application can be used as the characteristic user of the target application.
In this embodiment, the manner of acquiring the characteristic user data set of the target application may include reading from a preset location of a server of the target application. It will be understood that, of course, other possible ways may be used to obtain the sample data set, for example, searching the preset database for the feature user of the target application according to a certain search condition, which may be specifically determined according to the actual situation, which is not limited in the embodiments of the present disclosure.
S202, sending gray test notification to clients of all feature users in the feature user data set by using the silent push technology.
In this embodiment, in the case where it is determined that the target application issues the gray-scale version, the server of the target application may send the gray-scale test notification to the client of each feature user in the feature user dataset using the silent push technique. The gray test notification may be used to notify each client that the target application has released a gray version and may perform version switching, where the gray test notification may include at least one of a name of the target application, an IP address of a server of the target application, a version number of the gray version, and the like, and may specifically be determined according to an actual situation, which is not limited in the embodiment of the present specification.
In this embodiment, an APP (Application) is usually started before entering the foreground, for example, clicking an Application icon or a point push notification to start the Application, and the Application silence push technology may enable the Application to start the Application to the background when receiving silence push. The silence Push technology (Silent Push) is a background remote Push technology, and on the premise that the background executes remote notification, the silence notification content does not comprise any sound reminding and corner mark setting, so that the background content can be updated without disturbing the user. After receiving the notification, the target application in the client can directly run a section of code in a background state without clicking by a user, and can be used for acquiring content update from a server.
In this embodiment, to ensure that the user can receive the silence push in time, a process keep-alive policy may be adopted. Specifically, dual-process protection can be utilized, wherein the dual-process protection has the advantages that two processes monitor each other, and when one process is terminated, the other process can immediately restore the process, so that a user can be ensured to receive silent pushing in time.
And S203, the client of each characteristic user responds to the gray test notification to acquire a target configuration file of the gray version of the target application.
In this embodiment, when the client of each feature user receives the gray test notification, the client may acquire the target configuration file of the gray version of the target application from the server of the target application. The target configuration file may contain specific settings of the gray scale version of the target application, the target configuration file may contain configuration settings read by the common language runtime (e.g., program set binding policies, remote processing objects, etc.), and settings that the target application may read.
In this embodiment, after the developer of the target application writes the target configuration file with the gray version, the developer may manage and maintain the target configuration file through the code repository. Each application may have a corresponding code repository for storing all codes under the application service and their submission history. Meanwhile, each code warehouse also supports a developer to continuously push and pull codes to realize agile development and continuous delivery. Wherein the code repository of the target application may be stored at a preset location of a server of the target application, so that the client may pull the target profile from a remote end (server).
In the prior art, a configuration file needs to be loaded through a back-end API (Application Programming Interface, application program interface) to realize dynamic layout, and a visual operation configuration page of the back-end needs to be additionally developed for operators to use, so that development cost and operator learning cost are increased. In the embodiment, the dynamic layout can be realized by loading the remote configuration file, so that the development workload of the operation related functions of the management background is effectively reduced, the configuration file can be maintained by a front-end developer, and the operation cost is effectively reduced.
In one embodiment, a target configuration file of a gray version of a target application can be constructed based on Flutter technology, so that a complete page can be formed by mutually wrapping, nesting and assembling custom components, patterns can be set through interfaces of different components, and pages in various patterns can be assembled through a basic custom component library. The Flutter is a google mobile UI (User Interface) framework, and can quickly construct a high-quality native User Interface on iOS (proprietary mobile operating systems developed by apple corporation for their mobile devices) and Android (Android). Flutter components are built using a modern responsive framework, the central idea being to build your UI with components (widgets) that describe what they display given their current configuration and state. When the component state changes, the component reconstructs its description, flutter compares the previous description to determine the minimum change required to the underlying rendering tree to transition from the current state to the next state.
In this embodiment, a custom component (Widget) library may be built based on the design concept of Flutter. The custom component library comprises, but is not limited to, 1) custom basic components such as pictures (Image), texts (Text), buttons (Button) and the like, which have single functions and definite use, 2) custom layout style components such as containers (containers), rows (rows), columns (columns), lists (lists) and the like, which can be used for typesetting layout, and components describing occupation, position relation and arrangement modes, and 3) custom combination type components, wherein the basic components and the layout style components are assembled and combined according to own business requirements.
In this embodiment, a custom attribute setting interface may be reserved for a custom component, for example, interfaces such as a width, a height, a rounded angle, an outer distance, an inner distance, an arrangement mode, an alignment mode, a background picture, text content, an icon style, a picture style, a button click effect, a click event monitor, and the like may be reserved, and by changing a parameter transmitted by the interface, a display effect and service processing logic of the custom component may be flexibly adjusted.
In one embodiment, the target configuration file may be XML (Extensible Markup Language ), which may satisfy the description of the layout and the setting of the custom attribute, and has a natural advantage for the description Flutter that needs a large number of components to be wrapped and nested with each other to realize the page, which is easy to read, simple to maintain, and efficient to parse. The package, nesting and combination relation of the custom component can be described in the XML configuration file, the custom attribute of the component is set, the related parameters of the component are added, the service logic processing mode and the like.
In this embodiment, a developer may update and maintain the target configuration file directly through the code repository, and upload the configuration file to a preset location of the server when the service is changed, the production is put on line, and the gray level is released.
S204, switching the target application in the client of the characteristic user from the currently used version to the gray-scale version according to the target configuration file.
In this embodiment, the target application in the client of the feature user may be switched from the currently used version to the gray-scale version according to the target profile. The currently used version of the target application may be a version of the target application currently used by the client of the feature user.
In this embodiment, the transition to the grayscale version of the target application may be made without the user's perception. Even if the user is using the application, after the downloading of the target configuration file is completed, the target configuration file of the gray level version is loaded when the user browses the switching page, and the target configuration file is naturally and unobserved to be transited to the gray level version in the next new page.
Compared with the gray level release scheme in the prior art, the embodiment of the specification is lighter, the construction cost is low, the operation and maintenance are simpler, more workload is placed in front-end engineering, the rear end only needs to determine the characteristic user data set of the target application and push the gray level notification, other works are completed by the front end, and the configuration file is written by the developer of the front end, so that the construction cost and complexity of the rear end are effectively reduced.
In one embodiment, before the feature user data set of the target application is acquired, the method can further comprise the steps of acquiring historical behavior data of a plurality of users of the target application, and determining at least one feature user according to preset screening conditions according to the historical behavior data of the plurality of users. Further, attribute data of at least one feature user is obtained, and a feature user data set of the target application is generated according to the attribute data of the at least one feature user.
In this embodiment, the target application may have a plurality of users, and in consideration of reasons such as a lower version used by some of the users or a lower frequency of using the target application, the users of the target application may be screened to determine users suitable for gray-scale distribution of the target application. Thus, historical behavior data of a plurality of users of the target application can be acquired. The historical behavior data may be recorded behavior data for a user historical use target application, and the historical behavior data of the plurality of users may be stored in a preset database of a server of the target application so as to be timely acquired. The historical behavior data at least comprises the time of the last updated version of the user, version information used by the user, the frequency of using the target application by the user, preference habits of the user, average daily duration of using the target application by the user and the like. Of course, the historical behavior data is not limited to the above examples, and other modifications thereof are possible by those skilled in the art, given the benefit of the teachings of the present embodiments, so long as the functions and effects achieved are the same as, or similar to, those of the present embodiments, and are intended to be covered by the scope of the present embodiments.
In this embodiment, since the historical behavior data of the user may represent the activity and participation of the user in using the target application, at least one characteristic user may be determined according to the historical behavior data of a plurality of users and a preset screening condition. The preset screening conditions can be set in advance according to the service requirements of the gray version of the target application, for example, (1) a version base line is defined, users at or above the set application version base line can be defined as characteristic users, (2) secondary definition is carried out through liveness based on users meeting the requirement of the version base line, users with higher liveness are preferentially ensured to be screened as characteristic users, and (3) third definition is carried out through user participation based on users meeting the requirement of liveness, and users with high participation degree are preferentially ensured to be screened as characteristic users.
In this embodiment, the screening condition of the feature user may be further increased according to the specific service requirement of the gray-scale version of the target application, so as to further delineate finer feature user groups. For example, the gray version of the function page is an operation promotion activity page of ancient costume dramas, and the preset filtering condition can be set as a user who prefers ancient costume episodes. In some embodiments, a plurality of screening conditions may be set, and different weights may be given to the screening conditions, so that the feature users may be screened out through weighting operation on the screening conditions. Of course, the preset screening conditions are not limited to the above examples, and other modifications may be made by those skilled in the art in light of the technical spirit of the embodiments of the present disclosure, and all the functions and effects achieved by the present disclosure should be covered within the scope of the embodiments of the present disclosure as long as they are the same as or similar to the embodiments of the present disclosure.
In one embodiment, obtaining the target configuration file of the gray scale version of the target application may include loading the target configuration file from a server of the target application, parsing the target configuration file if it is determined that the target configuration file is successfully loaded, and reloading the target configuration file from the server of the target application if it is determined that the target configuration file is failed to be loaded.
In this embodiment, the dynamic layout may be implemented by loading a remote configuration file, and after receiving the silence notification, the client of the feature user may directly start a background download service of the client, and download the target configuration file corresponding to the gray version from the server of the target application. Therefore, the client can analyze the configuration file, render the page and switch to the gray release version of the target application under the condition that the user does not feel.
In this embodiment, it may be determined whether the client succeeds in loading the target configuration file, if so, the loaded target configuration file may be directly parsed, and if not, the target configuration file needs to be reloaded until the loading is successful. It will be understood, of course, that if the number of loading failures exceeds a preset number (e.g., 8, 9, etc.), then this may be fed back to the corresponding maintenance personnel for processing. The specific determination may be determined according to the actual situation, and the embodiment of the present specification is not limited thereto.
In one embodiment, after the target application in the client of the feature user is switched from the currently used version to the gray scale version, the method may further include acquiring feedback information of the gray scale version of the target application and determining a quality level of the gray scale version of the target application based on the feedback information of the gray scale version of the target application. In case it is determined that the quality level of the gray scale version of the target application is below a preset threshold, the target application in the client of the feature user may be switched from the gray scale version to the currently used version.
In this embodiment, after the target application in the client of the feature user is switched from the currently used version to the gray-scale version, feedback information of the gray-scale version of the target application may be further acquired, so that a developer may perfect and improve the gray-scale version with respect to the feedback information. The feedback information may include at least one of opinion about satisfaction of the user using the gray version, on-line collapse of the gray version collected by the probe, white screen, and problems of compatibility and stability of application performance of technical layers such as katon.
In the embodiment, the collection mode of the feedback information may include (1) setting an opinion feedback module in a gray scale version of the target application, wherein the opinion of the problem occurring in the use process of the user may be filled in and submitted by the opinion feedback module, (2) collecting the public opinion of the problem through online customer service (including a robot, a manual customer service, etc.), and (3) collecting an error stack and an operation log in the operation of the application through implantation of a monitoring probe.
In this embodiment, the quality level of the gray-scale version of the target application may be determined according to feedback information based on the gray-scale version of the target application. The quality level may be classified into three levels of high, medium and low, or may be configured into one level, two levels, three levels, etc., and it will be understood that the quality level may be set in any other possible manner, and the embodiment of the present disclosure is not limited to this specific one.
In this embodiment, the quality level may be determined according to the number of collected bug (bug or fault) questions of the user on the gray-scale version and the number of questions of the gray-scale version collected by the probe on the technical level. How the quality level is lower than the preset threshold, namely, the public opinion discussion of the gray-scale version is negative, the user acceptance of the gray-scale version is not high, the quality of the gray-scale version is not expected, the gray-scale version can not be comprehensively released as a formal version at present, and developers still need to improve and perfect the gray-scale version. Thus, in case it is determined that the quality level of the gray scale version of the target application is below a preset threshold, the target application in the client of the feature user may be switched from the gray scale version to the currently used version.
In this embodiment, the preset threshold may be determined according to a quality level setting manner, for example, the quality level is classified into three levels of high, medium and low, the preset threshold is "high", the quality level is set to one level, two levels, three levels and four levels, and the preset threshold is set to one level. Of course, the preset threshold is not limited to the above examples, and other modifications may be made by those skilled in the art in light of the technical spirit of the embodiments of the present disclosure, and all such modifications are intended to be included within the scope of the embodiments of the present disclosure as long as the functions and effects of the present disclosure are the same or similar to those of the embodiments of the present disclosure.
In this embodiment, when it is determined that the quality level of the gray-scale version of the target application is not lower than the preset threshold, it is explained that the user acceptance of the gray-scale version is high, the gray-scale version quality meets the expectations, and the version rollback operation is not required to be performed. The gray version can be fully released as a formal version at present, for example, the gray version can be formally put on shelf in an application mall, and the gray version can be specifically determined according to actual conditions, and the embodiment of the specification is not limited to the gray version.
In one embodiment, in the case that the quality level of the gray scale version of the target application is determined to be lower than a preset threshold, switching the target application in the client of the feature user from the gray scale version to the currently used version can comprise sending a version rollback notification to the client of each feature user in the feature user data set by utilizing a silent push technique in the case that the quality level of the gray scale version of the target application is determined to be lower than the preset threshold. Further, the client of each feature user responds to the version rollback notification, obtains the configuration file of the currently used version, and switches the target application in the client of the feature user from the gray version to the currently used version according to the configuration file of the currently used version.
In this embodiment, when the server of the target application determines that the quality level of the gray version of the target application is lower than the preset threshold, it indicates that the user acceptance of the gray version is not high and the gray version quality does not meet the expectations, and at this time, a version rollback notification may be sent to the clients of each feature user in the feature user dataset by using the silent push technique. And under the condition that the client of each characteristic user receives the version rollback notification, starting a background downloading service of the client, and downloading a configuration file corresponding to the current version from a server of the target application. Therefore, the client can analyze the configuration file corresponding to the current version, further render the page, and switch from the gray level version to the current version used by each characteristic user under the condition that the user does not feel.
In the embodiment, the version rollback of the gray release can be triggered by silence pushing, the operation principle is the same as that of the gray release, the same operation logic can be reused, the difficulty and the realization cost of the version rollback are effectively reduced, the gray release fault tolerance is improved, the repeated downloading and installation times of a user are reduced, and the user experience is improved.
In one embodiment, before the target configuration file of the gray scale version of the target application is obtained, the method can further comprise the steps of constructing the target configuration file of the gray scale version of the target application based on Flutter technology, and uploading the target configuration file to a preset position of a server of the target application.
In this embodiment, a developer of the target application may construct a target configuration file of a gray scale version of the target application based on Flutter technologies, and may upload the target configuration file to a preset location of a server of the target application, so that the client may load the remote configuration file. The Flutter is a set of cross-platform front end frames, and a set of codes can be suitable for both Android and iOS, so that development cost is effectively reduced, and application range of a platform is also improved.
From the above description, it can be seen that the technical effect achieved by the embodiments of the present specification is that, when it is determined that the target application issues a gray scale version, a feature user data set of the target application may be obtained, where the feature user data set includes attribute data of at least one feature user, and the attribute data may be used to characterize the feature user. Further, the silence pushing technology can be utilized to send gray test notification to clients of all feature users in the feature user data set, and the client receiving the gray test notification can start a background downloading service to obtain a target configuration file of a gray version of the target application. Therefore, the target application in the client of the characteristic user can be switched from the currently used version to the gray version according to the acquired target configuration file under the condition that the user does not feel, the repeated downloading and installing times of the user are effectively reduced, and the user experience is improved.
Based on the same inventive concept, the embodiments of the present specification also provide an applied gray scale distribution device, such as the following embodiments. Since the principle of solving the problem of the applied gray scale release device is similar to that of the applied gray scale release method, the implementation of the applied gray scale release device can refer to the implementation of the applied gray scale release method, and the repetition is not repeated. As used below, the term "unit" or "module" may be a combination of software and/or hardware that implements the intended function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated. Fig. 3 is a block diagram of a configuration of a gray scale distribution device applied to the embodiment of the present disclosure, and as shown in fig. 3, the gray scale distribution device may include a first acquisition module 301, a transmission module 302, a second acquisition module 303, and a version switching module 304, and the configuration will be described below.
The first obtaining module 301 may be configured to obtain a feature user data set of the target application when it is determined that the target application issues a gray scale version, where the feature user data set includes attribute data of at least one feature user, and the attribute data is used to characterize the feature user;
The sending module 302 may be configured to send a gray test notification to a client of each feature user in the feature user dataset by using a silent push technique;
A second obtaining module 303, configured to obtain a target configuration file of a gray scale version of the target application by using a client of each feature user in response to the gray scale test notification;
the version switching module 304 may be configured to switch the target application in the client of the feature user from the currently used version to the gray-scale version according to the target configuration file.
Referring to fig. 4, an embodiment of the present disclosure provides an applied gray scale publishing method. The gray level distribution method of the application can be applied to a server. The gray scale distribution method of the application may include the following steps.
Step S401, a server of a target application obtains a characteristic user data set of the target application under the condition that the target application releases a gray level version, wherein the characteristic user data set comprises attribute data of at least one characteristic user, and the attribute data is used for representing the characteristic user.
In this embodiment, in the case where it is determined that the target application issues the grayscale version, the feature user data set of the target application may be acquired. The feature user data set may include attribute data for at least one feature user, the attribute data being operable to characterize the feature user such that a feature user may be uniquely identified by an attribute data. The target application may be an application to be subjected to gray level release, and a specific application name may be determined according to an actual situation, which is not limited in the embodiment of the present specification.
In some embodiments, the attribute data may be a user ID (Identity), and may include at least one of a user name, a user account number, an identification card number, and the like. Of course, the attribute data is not limited to the above examples, and other modifications may be made by those skilled in the art in light of the technical spirit of the embodiments of the present specification, and all such modifications are intended to be included within the scope of the embodiments of the present specification as long as the functions and effects of the present invention are the same as or similar to those of the embodiments of the present specification.
In this embodiment, since the number of users of the target application may be relatively large, in consideration of reasons such as a low version used by some of the users or a low frequency of using the target application, the users of the target application may be screened to determine users suitable for gray level distribution of the target application. Furthermore, the user which is screened out and suitable for gray level release of the target application can be used as the characteristic user of the target application.
In this embodiment, the manner of acquiring the characteristic user data set of the target application may include reading from a preset location of a server of the target application. It will be understood that, of course, other possible ways may be used to obtain the sample data set, for example, searching the preset database for the feature user of the target application according to a certain search condition, which may be specifically determined according to the actual situation, which is not limited in the embodiments of the present disclosure.
And step S402, sending gray test notification to the clients of all feature users in the feature user data set by using the silent push technology.
In this embodiment, in the case where it is determined that the target application issues the gray-scale version, the server of the target application may send the gray-scale test notification to the client of each feature user in the feature user dataset using the silent push technique. The gray test notification may be used to notify each client that the target application has released a gray version and may perform version switching, where the gray test notification may include at least one of a name of the target application, an IP address of a server of the target application, a version number of the gray version, and the like, and may specifically be determined according to an actual situation, which is not limited in the embodiment of the present specification.
In this embodiment, an APP (Application) is usually started before entering the foreground, for example, clicking an Application icon or a point push notification to start the Application, and the Application silence push technology may enable the Application to start the Application to the background when receiving silence push. The silence Push technology (Silent Push) is a background remote Push technology, and on the premise that the background executes remote notification, the silence notification content does not comprise any sound reminding and corner mark setting, so that the background content can be updated without disturbing the user. After receiving the notification, the target application in the client can directly run a section of code in a background state without clicking by a user, and can be used for acquiring content update from a server.
In one embodiment, after sending the gray test notification to the client of each feature user in the feature user dataset by using the silent push technique, the method may further include obtaining feedback information of the gray version of the target application and determining a quality level of the gray version of the target application based on the feedback information of the gray version of the target application. In the event that the quality level of the gray scale version of the target application is determined to be less than the preset threshold, a version rollback notification may be sent to the clients of the individual feature users in the feature user dataset using a silent push technique.
In this embodiment, after the target application in the client of the feature user is switched from the currently used version to the gray-scale version, feedback information of the gray-scale version of the target application may be further acquired, so that a developer may perfect and improve the gray-scale version with respect to the feedback information. The feedback information may include at least one of opinion about satisfaction of the user using the gray version, on-line collapse of the gray version collected by the probe, white screen, and problems of compatibility and stability of application performance of technical layers such as katon.
In this embodiment, the quality level of the gray-scale version of the target application may be determined according to feedback information based on the gray-scale version of the target application. The quality level may be classified into three levels of high, medium and low, or may be configured into one level, two levels, three levels, etc., and it will be understood that the quality level may be set in any other possible manner, and the embodiment of the present disclosure is not limited to this specific one.
In this embodiment, the quality level may be determined according to the number of collected bug (bug or fault) questions of the user on the gray-scale version and the number of questions of the gray-scale version collected by the probe on the technical level. How the quality level is lower than the preset threshold, that is, the public opinion discussion of the gray-scale version is negative, the user acceptance of the gray-scale version is not high, the quality of the gray-scale version is not expected, the gray-scale version can not be fully released at present, and the developer still needs to improve and perfect the gray-scale version. Thus, a version rollback notification may be sent to clients of individual feature users in the feature user dataset using silent push techniques.
In this embodiment, the preset threshold may be determined according to a quality level setting manner, for example, the quality level is classified into three levels of high, medium and low, the preset threshold is "high", the quality level is set to one level, two levels, three levels and four levels, and the preset threshold is set to one level. Of course, the preset threshold is not limited to the above examples, and other modifications may be made by those skilled in the art in light of the technical spirit of the embodiments of the present disclosure, and all such modifications are intended to be included within the scope of the embodiments of the present disclosure as long as the functions and effects of the present disclosure are the same or similar to those of the embodiments of the present disclosure.
Referring to fig. 5, the embodiment of the present disclosure further provides a server, which includes an obtaining module 501 and a sending module 502.
The acquisition module 501 can be used for acquiring a characteristic user data set of the target application under the condition that a server of the target application determines that the target application releases a gray version, wherein the characteristic user data set comprises attribute data of at least one characteristic user, and the attribute data is used for characterizing the characteristic user;
The sending module 502 may be configured to send a gray test notification to a client of each feature user in the feature user dataset using a silent push technique.
The functions and effects achieved by the server provided in this embodiment can be explained with reference to other embodiments.
Referring to fig. 6, an embodiment of the present disclosure provides an applied gray scale distribution method. The gray level release method of the application can be applied to a client. The gray scale distribution method of the application may include the following steps.
Step S601, a client of a characteristic user of a target application responds to a gray test notification to obtain a target configuration file of a gray version of the target application, wherein the gray test notification is sent to the characteristic user of the target application by using a silent pushing technology under the condition that a server of the target application determines that the target application releases the gray version.
In this embodiment, when the client of each feature user receives the gray test notification, the client may acquire the target configuration file of the gray version of the target application from the server of the target application. The target configuration file may contain specific settings of the gray scale version of the target application, the target configuration file may contain configuration settings read by the common language runtime (e.g., program set binding policies, remote processing objects, etc.), and settings that the target application may read.
In this embodiment, after the developer of the target application writes the target configuration file with the gray version, the developer may manage and maintain the target configuration file through the code repository. Each application may have a corresponding code repository for storing all codes under the application service and their submission history. Meanwhile, each code warehouse also supports a developer to continuously push and pull codes to realize agile development and continuous delivery. Wherein the code repository of the target application may be stored at a preset location of a server of the target application, so that the client may pull the target profile from a remote end (server).
In the prior art, a configuration file needs to be loaded through a back-end API (Application Programming Interface, application program interface) to realize dynamic layout, and a visual operation configuration page of the back-end needs to be additionally developed for operators to use, so that development cost and operator learning cost are increased. In the embodiment, the dynamic layout can be realized by loading the remote configuration file, so that the development workload of the operation related functions of the management background is effectively reduced, the configuration file can be maintained by a front-end developer, and the operation cost is effectively reduced.
In one embodiment, a target configuration file of a gray version of a target application can be constructed based on Flutter technology, so that a complete page can be formed by mutually wrapping, nesting and assembling custom components, patterns can be set through interfaces of different components, and pages in various patterns can be assembled through a basic custom component library. The Flutter is a google mobile UI (User Interface) framework, and can quickly construct a high-quality native User Interface on iOS (proprietary mobile operating systems developed by apple corporation for their mobile devices) and Android (Android). Flutter components are built using a modern responsive framework, the central idea being to build your UI with components (widgets) that describe what they display given their current configuration and state. When the component state changes, the component reconstructs its description, flutter compares the previous description to determine the minimum change required to the underlying rendering tree to transition from the current state to the next state.
In this embodiment, a custom component (Widget) library may be built based on the design concept of Flutter. The custom component library comprises, but is not limited to, 1) custom basic components such as pictures (Image), texts (Text), buttons (Button) and the like, which have single functions and definite use, 2) custom layout style components such as containers (containers), rows (rows), columns (columns), lists (lists) and the like, which can be used for typesetting layout, and components describing occupation, position relation and arrangement modes, and 3) custom combination type components, wherein the basic components and the layout style components are assembled and combined according to own business requirements.
In this embodiment, a custom attribute setting interface may be reserved for a custom component, for example, interfaces such as a width, a height, a rounded angle, an outer distance, an inner distance, an arrangement mode, an alignment mode, a background picture, text content, an icon style, a picture style, a button click effect, a click event monitor, and the like may be reserved, and by changing a parameter transmitted by the interface, a display effect and service processing logic of the custom component may be flexibly adjusted.
In one embodiment, the target configuration file may be XML (Extensible Markup Language ), which may satisfy the description of the layout and the setting of the custom attribute, and has a natural advantage for the description Flutter that needs a large number of components to be wrapped and nested with each other to realize the page, which is easy to read, simple to maintain, and efficient to parse. The package, nesting and combination relation of the custom component can be described in the XML configuration file, the custom attribute of the component is set, the related parameters of the component are added, the service logic processing mode and the like.
In this embodiment, a developer may update and maintain the target configuration file directly through the code repository, and upload the configuration file to a preset location of the server when the service is changed, the production is put on line, and the gray level is released.
In this embodiment, in the case where it is determined that the target application issues the gray-scale version, the server of the target application may send the gray-scale test notification to the client of each feature user in the feature user dataset using the silent push technique. The gray test notification may be used to notify each client that the target application has released a gray version and may perform version switching, where the gray test notification may include at least one of a name of the target application, an IP address of a server of the target application, a version number of the gray version, and the like, and may specifically be determined according to an actual situation, which is not limited in the embodiment of the present specification.
Step S602, switching the target application in the client of the characteristic user from the currently used version to the gray-scale version according to the target configuration file.
In this embodiment, the target application in the client of the feature user may be switched from the currently used version to the gray-scale version according to the target profile. The currently used version of the target application may be a version of the target application currently used by the client of the feature user.
In this embodiment, the transition to the grayscale version of the target application may be made without the user's perception. Even if the user is using the application, after the downloading of the target configuration file is completed, the target configuration file of the gray level version is loaded when the user browses the switching page, and the target configuration file is naturally and unobserved to be transited to the gray level version in the next new page.
Compared with the gray level release scheme in the prior art, the embodiment of the specification is lighter, the construction cost is low, the operation and maintenance are simpler, more workload is placed in front-end engineering, the rear end only needs to determine the characteristic user data set of the target application and push the gray level notification, other works are completed by the front end, and the configuration file is written by the developer of the front end, so that the construction cost and complexity of the rear end are effectively reduced.
In one embodiment, after the target application in the client of the feature user is switched from the currently used version to the gray-scale version, the method can further comprise the step that the client of the feature user acquires the configuration file of the currently used version under the condition that the client of the feature user receives a version rollback notification sent by the server of the target application. Further, the target application in the client of the feature user may be switched from the gray scale version to the currently used version according to the configuration file of the currently used version.
In this embodiment, when the server of the target application determines that the quality level of the gray version of the target application is lower than the preset threshold, it indicates that the user acceptance of the gray version is not high and the gray version quality does not meet the expectations, and at this time, a version rollback notification may be sent to the clients of each feature user in the feature user dataset by using the silent push technique. And under the condition that the client of each characteristic user receives the version rollback notification, starting a background downloading service of the client, and downloading a configuration file corresponding to the current version from a server of the target application. Therefore, the client can analyze the configuration file corresponding to the current version, further render the page, and switch from the gray level version to the current version used by each characteristic user under the condition that the user does not feel.
In the embodiment, the version rollback of the gray release can be triggered by silence pushing, the operation principle is the same as that of the gray release, the same operation logic can be reused, the difficulty and the realization cost of the version rollback are effectively reduced, the gray release fault tolerance is improved, the repeated downloading and installation times of a user are reduced, and the user experience is improved.
Referring to fig. 7, the embodiment of the present disclosure further provides a client, which includes an obtaining module 701 and a version switching module 702.
The acquisition module 701 is configured to be used for acquiring a target configuration file of a gray version of a target application in response to a gray test notification by a client of a feature user of the target application, where the gray test notification is sent to the feature user of the target application by using a silent push technology when a server of the target application determines that the target application issues the gray version;
the version switching module 702 may be configured to switch a target application in a client of the feature user from a currently used version to a grayscale version according to the target configuration file.
The functions and effects of the client provided in this embodiment may be explained with reference to other embodiments.
The embodiment of the present disclosure further provides an electronic device, which may specifically refer to a schematic structural diagram of an electronic device based on the gray level distribution method of the application provided in the embodiment of the present disclosure shown in fig. 8, where the electronic device may specifically include an input device 81, a processor 82, and a memory 83. Wherein the input device 81 may be used in particular for inputting a characteristic user data set of a target application. The processor 82 may be specifically configured to obtain a feature user data set of the target application in the case that it is determined that the target application issues a gray scale version, where the feature user data set includes attribute data of at least one feature user, the attribute data is used to characterize the feature user, send gray scale test notifications to clients of each feature user in the feature user data set by using a silent push technique, the clients of each feature user obtain a target configuration file of the gray scale version of the target application in response to the gray scale test notifications, and switch the target application in the clients of the feature user from a currently used version to the gray scale version according to the target configuration file. The memory 83 may be used to store parameters such as a target profile.
In this embodiment, the input device may specifically be one of the main means for exchanging information between the user and the computer system. Input devices may include a keyboard, mouse, camera, scanner, light pen, handwriting input pad, voice input device, etc., for inputting raw data and programs for processing these numbers into a computer. The input device may also obtain data transmitted from other modules, units, and devices. The processor may be implemented in any suitable manner. For example, a processor may take the form of, for example, a microprocessor or processor, and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, application SPECIFIC INTEGRATED Circuits (ASICs), programmable logic controllers, and embedded microcontrollers, among others. The memory may in particular be a memory device for storing information in modern information technology. The memory may comprise multiple levels, in a digital system, the memory may be any memory as long as it can hold binary data, in an integrated circuit, a circuit with a memory function without a physical form, such as RAM, FIFO, etc., and in a system, a memory device with a physical form, such as a memory bank, TF card, etc.
In this embodiment, the specific functions and effects of the electronic device may be explained in comparison with other embodiments, which are not described herein.
The embodiment of the specification also provides a computer storage medium of the gray level release method based on the application, wherein the computer storage medium stores computer program instructions, when the computer program instructions are executed, the computer program instructions can be used for obtaining a characteristic user data set of a target application under the condition that the release gray level version of the target application is determined, the characteristic user data set comprises attribute data of at least one characteristic user, the attribute data are used for representing the characteristic user, a gray level test notification is sent to clients of all the characteristic users in the characteristic user data set by utilizing a silent pushing technology, the clients of all the characteristic users respond to the gray level test notification to obtain a target configuration file of the gray level version of the target application, and the target application in the clients of the characteristic users is switched from a currently used version to the gray level version according to the target configuration file.
In the present embodiment, the storage medium includes, but is not limited to, a random access Memory (Random Access Memory, RAM), a Read-Only Memory (ROM), a Cache (Cache), a hard disk (HARD DISK DRIVE, HDD), or a Memory Card (Memory Card). The memory may be used to store computer program instructions. The network communication unit may be an interface for performing network connection communication, which is set in accordance with a standard prescribed by a communication protocol.
In this embodiment, the functions and effects of the program instructions stored in the computer storage medium may be explained in comparison with other embodiments, and are not described herein.
It will be apparent to those skilled in the art that the modules or steps of the embodiments described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may alternatively be implemented in program code executable by computing devices, so that they may be stored in a storage device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than herein, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps within them may be fabricated into a single integrated circuit module. Thus, embodiments of the present specification are not limited to any specific combination of hardware and software.
Although the present description provides the method operational steps as described in the above embodiments or flowcharts, more or fewer operational steps may be included in the method, either on a routine or non-inventive basis. In steps where there is logically no necessary causal relationship, the execution order of the steps is not limited to the execution order provided in the embodiments of the present specification. The described methods, when performed in an actual apparatus or an end product, may be performed sequentially or in parallel (e.g., in a parallel processor or multithreaded environment) as shown in the embodiments or figures.
It is to be understood that the above description is intended to be illustrative, and not restrictive. Many embodiments and many applications other than the examples provided will be apparent to those of skill in the art upon reading the above description. The scope of the embodiments of the specification should, therefore, be determined not with reference to the above description, but instead should be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled.
The above description is only of the preferred embodiments of the present embodiments and is not intended to limit the present embodiments, and various modifications and variations can be made to the present embodiments by those skilled in the art. Any modification, equivalent replacement, improvement, or the like made within the spirit and principles of the embodiments of the present specification should be included in the protection scope of the embodiments of the present specification.

Claims (12)

1.一种应用的灰度发布方法,其特征在于,包括:1. A method for grayscale release of an application, comprising: 在确定目标应用发布灰度版本的情况下,获取所述目标应用的特征用户数据集;其中,所述特征用户数据集中包括至少一个特征用户的属性数据,所述属性数据用于表征特征用户;When it is determined that the target application releases a grayscale version, a characteristic user data set of the target application is obtained; wherein the characteristic user data set includes attribute data of at least one characteristic user, and the attribute data is used to characterize the characteristic user; 利用静默推送技术向所述特征用户数据集中各个特征用户的客户端发送灰度测试通知;Using silent push technology to send a grayscale test notification to the client of each characteristic user in the characteristic user data set; 所述各个特征用户的客户端响应于所述灰度测试通知,获取所述目标应用的灰度版本的目标配置文件;所述目标配置文件包括目标应用的灰度版本的特定设置、公共语言运行库读取的配置设置以及目标应用可以读取的设置;The client of each characteristic user obtains a target configuration file of the grayscale version of the target application in response to the grayscale test notification; the target configuration file includes specific settings of the grayscale version of the target application, configuration settings read by the common language runtime, and settings that can be read by the target application; 根据所述目标配置文件,将所述特征用户的客户端中的目标应用从当前使用的版本切换至所述灰度版本;According to the target configuration file, switching the target application in the client of the characteristic user from the currently used version to the grayscale version; 根据所述目标配置文件,将所述特征用户的客户端中的目标应用从当前使用的版本切换至所述灰度版本,包括:According to the target configuration file, switching the target application in the client of the characteristic user from the currently used version to the grayscale version includes: 各个特征用户的客户端对所述目标配置文件进行解析,渲染界面,将所述特征用户的客户端中的目标应用从当前使用的版本切换至所述灰度版本。The client of each characteristic user parses the target configuration file, renders the interface, and switches the target application in the client of the characteristic user from the currently used version to the grayscale version. 2.根据权利要求1所述的方法,其特征在于,在获取所述目标应用的特征用户数据集之前,还包括:2. The method according to claim 1, characterized in that before obtaining the characteristic user data set of the target application, it also includes: 获取所述目标应用的多个用户的历史行为数据;Obtaining historical behavior data of multiple users of the target application; 根据所述多个用户的历史行为数据,按照预设筛选条件确定出至少一个特征用户;Determine at least one characteristic user according to the historical behavior data of the multiple users and the preset screening conditions; 获取所述至少一个特征用户的属性数据;Acquiring attribute data of the at least one characteristic user; 根据所述至少一个特征用户的属性数据生成所述目标应用的特征用户数据集。A characteristic user data set of the target application is generated according to the attribute data of the at least one characteristic user. 3.根据权利要求1所述的方法,其特征在于,获取所述目标应用的灰度版本的目标配置文件,包括:3. The method according to claim 1, wherein obtaining a grayscale version of a target configuration file of the target application comprises: 从所述目标应用的服务器中加载所述目标配置文件;Loading the target configuration file from a server of the target application; 在确定所述目标配置文件加载成功的情况下,解析所述目标配置文件;If it is determined that the target configuration file is loaded successfully, parsing the target configuration file; 在确定所述目标配置文件加载失败的情况下,从所述目标应用的服务器中重新加载所述目标配置文件。When it is determined that the target configuration file fails to be loaded, the target configuration file is reloaded from the server of the target application. 4.根据权利要求1所述的方法,其特征在于,在将所述特征用户的客户端中的目标应用从当前使用的版本切换至所述灰度版本之后,还包括:4. The method according to claim 1, characterized in that after switching the target application in the client of the characteristic user from the currently used version to the grayscale version, it also includes: 获取所述目标应用的灰度版本的反馈信息;Obtaining feedback information of the grayscale version of the target application; 基于所述目标应用的灰度版本的反馈信息,确定所述目标应用的灰度版本的质量水平;Determining a quality level of the grayscale version of the target application based on feedback information of the grayscale version of the target application; 在确定所述目标应用的灰度版本的质量低平小于预设阈值的情况下,将所述特征用户的客户端中的目标应用从所述灰度版本切换至所述当前使用的版本。When it is determined that the quality level of the grayscale version of the target application is lower than a preset threshold, the target application in the client of the characteristic user is switched from the grayscale version to the currently used version. 5.根据权利要求4所述的方法,其特征在于,在确定所述述目标应用的灰度版本的质量水平低于预设阈值的情况下,将所述特征用户的客户端中的目标应用从所述灰度版本切换至所述当前使用的版本,包括:5. The method according to claim 4, characterized in that, when it is determined that the quality level of the grayscale version of the target application is lower than a preset threshold, switching the target application in the client of the characteristic user from the grayscale version to the currently used version comprises: 在确定所述目标应用的灰度版本的质量水平低于预设阈值的情况下,利用静默推送技术向所述特征用户数据集中各个特征用户的客户端发送版本回滚通知;When it is determined that the quality level of the grayscale version of the target application is lower than a preset threshold, a version rollback notification is sent to a client of each characteristic user in the characteristic user data set by using a silent push technology; 所述各个特征用户的客户端响应于所述版本回滚通知,获取所述当前使用的版本的配置文件;The client of each characteristic user obtains the configuration file of the currently used version in response to the version rollback notification; 根据所述当前使用的版本的配置文件,将所述特征用户的客户端中的目标应用从所述灰度版本切换至所述当前使用的版本。According to the configuration file of the currently used version, the target application in the client of the characteristic user is switched from the grayscale version to the currently used version. 6.根据权利要求1所述的方法,其特征在于,在获取所述目标应用的灰度版本的目标配置文件之前,还包括:6. The method according to claim 1, characterized in that before obtaining the grayscale version of the target configuration file of the target application, it also includes: 基于Flutter技术构建所述目标应用的灰度版本的目标配置文件;Building a grayscale version of the target configuration file of the target application based on Flutter technology; 将所述目标配置文件上传至所述目标应用的服务器的预设位置处。The target configuration file is uploaded to a preset location of a server of the target application. 7.根据权利要求1所述的方法,其特征在于,所述目标配置文件为利用可扩展标记语言编写的文件。7. The method according to claim 1 is characterized in that the target configuration file is a file written using extensible markup language. 8.根据权利要求1所述的方法,其特征在于,所述属性数据包括:特征用户的ID。8. The method according to claim 1 is characterized in that the attribute data includes: an ID of a characteristic user. 9.一种应用的灰度发布装置,其特征在于,包括:9. A device for grayscale release of an application, comprising: 第一获取模块,用于在确定目标应用发布灰度版本的情况下,获取所述目标应用的特征用户数据集;其中,所述特征用户数据集中包括至少一个特征用户的属性数据,所述属性数据用于表征特征用户;A first acquisition module is used to acquire a characteristic user data set of the target application when it is determined that the target application releases a gray version; wherein the characteristic user data set includes attribute data of at least one characteristic user, and the attribute data is used to characterize the characteristic user; 发送模块,用于利用静默推送技术向所述特征用户数据集中各个特征用户的客户端发送灰度测试通知;A sending module, used for sending a grayscale test notification to a client of each characteristic user in the characteristic user data set by using a silent push technology; 第二获取模块,用于所述各个特征用户的客户端响应于所述灰度测试通知,获取所述目标应用的灰度版本的目标配置文件;所述目标配置文件包括目标应用的灰度版本的特定设置、公共语言运行库读取的配置设置以及目标应用可以读取的设置;A second acquisition module, for the client of each characteristic user to obtain a target configuration file of the grayscale version of the target application in response to the grayscale test notification; the target configuration file includes specific settings of the grayscale version of the target application, configuration settings read by the common language runtime, and settings that can be read by the target application; 版本切换模块,用于根据所述目标配置文件,将所述特征用户的客户端中的目标应用从当前使用的版本切换至所述灰度版本;A version switching module, configured to switch the target application in the client of the characteristic user from the currently used version to the grayscale version according to the target configuration file; 所述版本切换模块具体用于:The version switching module is specifically used for: 各个特征用户的客户端对所述目标配置文件进行解析,渲染界面,将所述特征用户的客户端中的目标应用从当前使用的版本切换至所述灰度版本。The client of each characteristic user parses the target configuration file, renders the interface, and switches the target application in the client of the characteristic user from the currently used version to the grayscale version. 10.一种应用的灰度发布方法,其特征在于,应用于客户端,包括:10. A method for grayscale release of an application, characterized in that it is applied to a client and comprises: 目标应用的特征用户的客户端响应于灰度测试通知,获取所述目标应用的灰度版本的目标配置文件;其中,灰度测试通知是所述目标应用的服务器在确定所述目标应用发布灰度版本的情况下,利用静默推送技术发送给目标应用的特征用户的;所述目标配置文件包括目标应用的灰度版本的特定设置、公共语言运行库读取的配置设置以及目标应用可以读取的设置;The client of the characteristic user of the target application obtains the target configuration file of the grayscale version of the target application in response to the grayscale test notification; wherein the grayscale test notification is sent to the characteristic user of the target application by the server of the target application using the silent push technology when it is determined that the target application releases a grayscale version; the target configuration file includes specific settings of the grayscale version of the target application, configuration settings read by the common language runtime, and settings that can be read by the target application; 根据所述目标配置文件,将所述特征用户的客户端中的目标应用从当前使用的版本切换至所述灰度版本;According to the target configuration file, switching the target application in the client of the characteristic user from the currently used version to the grayscale version; 根据所述目标配置文件,将所述特征用户的客户端中的目标应用从当前使用的版本切换至所述灰度版本,包括:According to the target configuration file, switching the target application in the client of the characteristic user from the currently used version to the grayscale version includes: 各个特征用户的客户端对所述目标配置文件进行解析,渲染界面,将所述特征用户的客户端中的目标应用从当前使用的版本切换至所述灰度版本。The client of each characteristic user parses the target configuration file, renders the interface, and switches the target application in the client of the characteristic user from the currently used version to the grayscale version. 11.根据权利要求10所述的方法,其特征在于,在将所述特征用户的客户端中的目标应用从当前使用的版本切换至所述灰度版本之后,还包括:11. The method according to claim 10, characterized in that after switching the target application in the client of the characteristic user from the currently used version to the grayscale version, it further comprises: 所述特征用户的客户端在接收到所述目标应用的服务器发送的版本回滚通知的情况下,获取所述当前使用的版本的配置文件;The client of the feature user obtains the configuration file of the currently used version when receiving the version rollback notification sent by the server of the target application; 根据所述当前使用的版本的配置文件,将所述特征用户的客户端中的目标应用从所述灰度版本切换至所述当前使用的版本。According to the configuration file of the currently used version, the target application in the client of the characteristic user is switched from the grayscale version to the currently used version. 12.一种客户端,其特征在于,包括:12. A client, comprising: 获取模块,用于目标应用的特征用户的客户端响应于灰度测试通知,获取所述目标应用的灰度版本的目标配置文件;其中,灰度测试通知是所述目标应用的服务器在确定所述目标应用发布灰度版本的情况下,利用静默推送技术发送给目标应用的特征用户的;所述目标配置文件包括目标应用的灰度版本的特定设置、公共语言运行库读取的配置设置以及目标应用可以读取的设置;an acquisition module, for a client of a characteristic user of a target application to acquire a target configuration file of a grayscale version of the target application in response to a grayscale test notification; wherein the grayscale test notification is sent by the server of the target application to the characteristic user of the target application using a silent push technology when determining that the target application has released a grayscale version; the target configuration file includes specific settings of the grayscale version of the target application, configuration settings read by a common language runtime, and settings that can be read by the target application; 版本切换模块,用于根据所述目标配置文件,将所述特征用户的客户端中的目标应用从当前使用的版本切换至所述灰度版本;A version switching module, configured to switch the target application in the client of the characteristic user from the currently used version to the grayscale version according to the target configuration file; 所述版本切换模块具体用于:The version switching module is specifically used for: 各个特征用户的客户端对所述目标配置文件进行解析,渲染界面,将所述特征用户的客户端中的目标应用从当前使用的版本切换至所述灰度版本。The client of each characteristic user parses the target configuration file, renders the interface, and switches the target application in the client of the characteristic user from the currently used version to the grayscale version.
CN202011326480.2A 2020-11-24 2020-11-24 A grayscale release method and device for application, server, and client Active CN112433749B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011326480.2A CN112433749B (en) 2020-11-24 2020-11-24 A grayscale release method and device for application, server, and client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011326480.2A CN112433749B (en) 2020-11-24 2020-11-24 A grayscale release method and device for application, server, and client

Publications (2)

Publication Number Publication Date
CN112433749A CN112433749A (en) 2021-03-02
CN112433749B true CN112433749B (en) 2024-12-13

Family

ID=74693873

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011326480.2A Active CN112433749B (en) 2020-11-24 2020-11-24 A grayscale release method and device for application, server, and client

Country Status (1)

Country Link
CN (1) CN112433749B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112947969B (en) * 2021-03-10 2022-12-16 支付宝(杭州)信息技术有限公司 Page off-screen rendering method, device, equipment and readable medium
CN114675854A (en) * 2021-11-25 2022-06-28 北京新能源汽车股份有限公司 OTA upgrade task push method, device and FOTA platform
CN114756276B (en) * 2022-04-12 2025-03-11 北京神舟航天软件技术股份有限公司 A software version control method based on baseline
CN119806624A (en) * 2025-03-14 2025-04-11 一智科技(成都)有限公司 A grayscale publishing method and system based on construction scenarios

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108494876A (en) * 2018-04-12 2018-09-04 北京达佳互联信息技术有限公司 Realize method, apparatus, plug-in component equipment and the proxy server of service gray scale publication
CN110569057A (en) * 2019-09-12 2019-12-13 北京字节跳动网络技术有限公司 gray scale distribution method and device, electronic equipment and computer readable medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108595234A (en) * 2018-03-13 2018-09-28 阿里巴巴集团控股有限公司 Five application page switching method, device and equipment
CN110071960A (en) * 2019-03-12 2019-07-30 平安科技(深圳)有限公司 Manage method, system, equipment and the storage medium of gray scale publication
CN110597535A (en) * 2019-08-27 2019-12-20 贝壳技术有限公司 Gray scale publishing method and device and storage medium
CN110908702B (en) * 2019-10-12 2024-05-24 中国平安财产保险股份有限公司 Version switching method, version switching device, computer equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108494876A (en) * 2018-04-12 2018-09-04 北京达佳互联信息技术有限公司 Realize method, apparatus, plug-in component equipment and the proxy server of service gray scale publication
CN110569057A (en) * 2019-09-12 2019-12-13 北京字节跳动网络技术有限公司 gray scale distribution method and device, electronic equipment and computer readable medium

Also Published As

Publication number Publication date
CN112433749A (en) 2021-03-02

Similar Documents

Publication Publication Date Title
CN112433749B (en) A grayscale release method and device for application, server, and client
US10565293B2 (en) Synchronizing DOM element references
JP2023520420A (en) A batching technique for handling imbalanced training data for chatbots
CA2684822C (en) Data transformation based on a technical design document
US9996381B1 (en) Live application management workflow using metadata capture
US9015657B2 (en) Systems and methods for developing and delivering platform adaptive web and native application content
US20160004668A1 (en) Adfdi support for custom attribute properties
US20160380915A1 (en) Rules-Based Workflow Messaging
US9678936B2 (en) Dynamic user experience workflow
US11983747B2 (en) Using machine learning to identify hidden software issues
Annuzzi et al. Advanced Android application development
US9959193B2 (en) Increasing accuracy of traceability links and structured data
CN112948018A (en) Dynamic library loading method, device, equipment and medium for small program
CN113326079A (en) Service version switching method, switching device, electronic equipment and storage medium
US11227122B1 (en) Methods, mediums, and systems for representing a model in a memory of device
JP2022051665A (en) Method and apparatus of embedding user app interest, electronic apparatus, storage medium, and computer program
US20230393871A1 (en) Method and system of intelligently generating help documentation
CN113495843B (en) Method and apparatus for testing play-up performance of video player
US9104573B1 (en) Providing relevant diagnostic information using ontology rules
US20220050560A1 (en) Extraction and restoration of option selections in a user interface
CN108062401B (en) Application recommendation method and device and storage medium
CN114064477A (en) Recommended strategy testing method, device, computer equipment and storage medium
US10891696B2 (en) Method and system for organized user experience workflow
CN116306973A (en) Data processing method, system, device and storage medium
US10061861B2 (en) Common declarative representation of application content and user interaction content processed by a user experience player

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