Cloud mobile phone client-oriented configuration gray release method and device, electronic equipment and medium
Through the configuration grayscale release method for cloud mobile client, the flexibility and management efficiency problems of the cloud mobile server when releasing core function configurations to clients are solved, and flexible configuration and efficient management of push-stream encoding items are realized, which enhances configuration flexibility and responsiveness.
Patent Information
- Application Number
- CN202411859066.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-16
- Publication Date
- 2025-03-28
AI Technical Summary
When releasing new functional configuration items to cloud mobile client on the cloud mobile server, especially core functional configurations such as streaming encoding, it is difficult to achieve flexible configuration and efficient management, resulting in complex and inefficient grayscale release process.
Through the configuration grayscale publishing method for cloud mobile client, candidate configuration items and grayscale conditions are determined in response to configuration pull requests, and target configuration items are determined based on identity information. If the configuration item is a push stream encoding, the configuration dimensions and parameter values are pulled, the configuration pull results are generated and feedback to the client, and the configuration dimensions and parameter values are stored independently to achieve decoupling.
It realizes flexible configuration and efficient management of push-stream encoding items, enhances configuration flexibility, can quickly respond to changes in business needs, accurately meet diversified testing needs, and reduces the risk of grayscale release.
Smart Images

Figure CN119718408A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of artificial intelligence technology, in particular to the field of cloud phones and cloud computing, and specifically to a configuration grayscale publishing method for cloud phone clients. Background Art
[0002] The cloud phone server hosts thousands of cloud phone clients and provides rich functional support for cloud phone clients. When the cloud phone server needs to release new functional configuration items to the cloud phone clients, especially when it involves core functional configurations such as streaming encoding, it generally needs to be released in grayscale. Grayscale release means that the functional configuration items are first opened to some users, and then gradually opened to other users after the function is stable. Summary of the invention
[0003] The present invention provides a configuration grayscale publishing method, device, electronic device and medium for a cloud phone client.
[0004] According to one aspect of the present disclosure, a configuration grayscale publishing method for a cloud phone client is provided, the method comprising:
[0005] In response to receiving a configuration pull request, determining candidate configuration items to be released and grayscale conditions set for the candidate configuration items;
[0006] Determining a target configuration item from among the candidate configuration items based on the grayscale condition and the identity information associated with the configuration pull request;
[0007] If the target configuration item is a streaming encoding configuration item, then pull the configuration dimension set for the streaming encoding configuration item and the parameter value configured for the cloud phone client for the configuration dimension;
[0008] Generate a configuration pull result based on the configuration dimension and the parameter value, and feed back the configuration pull result to the cloud phone client corresponding to the configuration pull request to enable the target configuration item on the cloud phone client;
[0009] Among them, the configuration dimensions set for the streaming encoding configuration items and the parameter values configured for the cloud phone client for the configuration dimensions are respectively stored in the platform-level configuration table and the user-level configuration table.
[0010] According to another aspect of the present disclosure, a configuration grayscale publishing device for a cloud phone client is provided, the device comprising:
[0011] A candidate configuration item determination module, configured to determine, in response to receiving a configuration pull request, candidate configuration items to be released and grayscale conditions set for the candidate configuration items;
[0012] a target configuration item determination module, configured to determine a target configuration item from among the candidate configuration items based on the grayscale condition and identity information associated with the configuration pull request;
[0013] A parameter value pulling module, for pulling, if the target configuration item is a streaming encoding configuration item, a configuration dimension set for the streaming encoding configuration item and a parameter value configured for the cloud phone client for the configuration dimension;
[0014] A configuration pull result generation module, used to generate a configuration pull result based on the configuration dimension and the parameter value, and feed back the configuration pull result to the cloud phone client corresponding to the configuration pull request to enable the target configuration item on the cloud phone client;
[0015] Among them, the configuration dimensions set for the streaming encoding configuration items and the parameter values configured for the cloud phone client for the configuration dimensions are respectively stored in the platform-level configuration table and the user-level configuration table.
[0016] According to another aspect of the present disclosure, there is provided an electronic device, the electronic device comprising:
[0017] at least one processor; and
[0018] a memory communicatively connected to the at least one processor; wherein,
[0019] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the configuration grayscale publishing method for the cloud phone client described in any embodiment of the present disclosure.
[0020] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable a computer to execute the configuration grayscale publishing method for a cloud phone client as described in any embodiment of the present disclosure.
[0021] According to another aspect of the present disclosure, a computer program product is provided, including a computer program, which, when executed by a processor, implements the configuration grayscale publishing method for a cloud phone client described in any embodiment of the present disclosure.
[0022] The present disclosure is used to perform grayscale release of streaming encoding configuration items, which can achieve flexible configuration and efficient management of streaming encoding items.
[0023] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.
[0025] Figure 1 It is a flow chart of a configuration grayscale publishing method for a cloud phone client provided according to an embodiment of the present disclosure;
[0026] Figure 2 It is a flowchart of another configuration grayscale publishing method for a cloud phone client provided according to an embodiment of the present disclosure;
[0027] Figure 3 A configuration dimension for setting a streaming encoding configuration item and a grayscale configuration interface for configuring a parameter value of a cloud phone client according to an embodiment of the present disclosure;
[0028] Figure 4 It is a specific implementation flow chart of a configuration grayscale publishing method for a cloud phone client provided according to an embodiment of the present disclosure;
[0029] Figure 5 It is a structural diagram of a configuration grayscale publishing device for a cloud phone client provided according to an embodiment of the present disclosure;
[0030] Figure 6 A block diagram of an electronic device used to implement the configuration grayscale publishing method for a cloud phone client in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0031] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0032] Figure 1 This is a flowchart of a configuration grayscale publishing method for cloud phone clients provided according to an embodiment of the present disclosure. The present disclosure embodiment can be applied to grayscale publishing of new functional configuration items such as streaming encoding configuration items to cloud phone clients. The method can be executed by a configuration grayscale publishing device for cloud phone clients, which can be implemented in software and / or hardware. Figure 1As shown, the configuration grayscale publishing method for the cloud phone client of this embodiment may include:
[0033] S101, in response to receiving a configuration pull request, determining candidate configuration items to be released and grayscale conditions set for the candidate configuration items.
[0034] S102: Determine a target configuration item from the candidate configuration items based on the grayscale condition and the identity information associated with the configuration pull request.
[0035] S103: If the target configuration item is a streaming encoding configuration item, then pull the configuration dimension set for the streaming encoding configuration item and the parameter value configured for the cloud phone client for the configuration dimension.
[0036] S104, generating a configuration pull result based on the configuration dimension and the parameter value, and feeding back the configuration pull result to the cloud phone client corresponding to the configuration pull request to enable the target configuration item on the cloud phone client.
[0037] Among them, the configuration dimensions set for the streaming encoding configuration items and the parameter values configured for the cloud phone client for the configuration dimensions are respectively stored in the platform-level configuration table and the user-level configuration table.
[0038] Among them, the configuration pull request is generated by the cloud phone client and sent to the cloud phone server. The configuration pull request is used to request functional configuration items from the cloud phone server. The candidate configuration items to be released refer to the functional configuration items that the cloud phone server needs to release in grayscale to the cloud phone client.
[0039] Candidate configuration items are associated with grayscale conditions. Grayscale conditions are used to determine the cloud phone clients that candidate configuration items are for. Optionally, grayscale conditions determine the cloud phone clients that candidate configuration items are applicable to by limiting user features. The specific content of grayscale conditions is related to the business requirements associated with the candidate configuration items and is not limited here. Grayscale conditions corresponding to different candidate configuration items may be different.
[0040] The configuration pull request is associated with identity information, which is used to determine the user characteristics of the cloud phone client corresponding to the configuration pull request. Optionally, the user characteristics of the cloud phone client represented by the identity information are matched with the user characteristics of the cloud phone client defined by the grayscale conditions, and the candidate configuration item that successfully matches is determined as the target configuration item. The target configuration item is generated in the candidate configuration item, and the target configuration item needs to be open to the cloud phone client corresponding to the configuration pull request.
[0041] Optionally, the candidate configuration items to be released include at least two. The candidate configuration items to be released include the push streaming encoding configuration item and other functional configuration items other than the push streaming encoding configuration item. The specific content of other functional configuration items can be determined according to actual business needs and is not limited here. Exemplarily, other functional configuration items can be machine switching configuration items or page layout adjustment configuration items.
[0042] Optionally, when the target configuration item is a streaming encoding configuration item, the configuration dimension set for the streaming encoding configuration item is stored in the platform-level configuration table of the cloud phone server. The parameter values configured for the cloud phone client for the configuration dimension are stored in the user-level configuration table of the cloud phone server.
[0043] Among them, the platform-level configuration table usually involves the global settings of the cloud phone server, and the global settings are effective for all cloud phone clients hosted by the cloud phone server. The user-level configuration table usually involves the personalized settings of the cloud phone client, which are only effective for specific cloud phone clients.
[0044] In the case where the target configuration item is a push-stream encoding configuration item, the cloud phone server pulls the configuration dimension set for the push-stream encoding configuration item from the platform-level configuration table, and pulls the parameter value configured for the cloud phone client for the configuration dimension from the user-level configuration table. Then, based on the correspondence between the configuration dimension and the parameter value, the configuration dimension and the parameter value are combined to obtain a configuration pull result. The cloud phone server feeds back the configuration pull result to the cloud phone client corresponding to the configuration pull request. The cloud phone client enables the push-stream encoding configuration item in response to receiving the configuration pull result.
[0045] Among them, the configuration dimension is used to limit which attributes of the push-stream encoding configuration item need to be set. Optionally, the configuration dimensions set for the push-stream encoding configuration item include the push-stream image quality and the push-stream speed; the grayscale conditions set for the push-stream encoding configuration item include: at least one of the system type, user ID and application version. The technical solution disclosed in the present invention provides a practical solution for realizing the grayscale release of the push-stream encoding configuration item by limiting the configuration dimensions and grayscale conditions of the push-stream encoding configuration item.
[0046] The disclosed technical solution supports multi-dimensional configuration of grayscale conditions to adjust the cloud phone client for the push stream encoding configuration item. Optionally, at least two of the system type, application version, and user identification can be combined to set the grayscale condition for the push stream encoding configuration item.
[0047] The disclosed technical solution provides a practical solution for the grayscale release of streaming encoding configuration items. By storing the configuration dimensions set for the streaming encoding configuration items and the parameter values set for the cloud phone clients according to the configuration dimensions separately, the decoupling of the configuration dimensions and the parameter values is achieved. The streaming encoding configuration items are grayscale released according to this decoupling design, which can achieve flexible configuration and efficient management of streaming encoding items. Specifically, the independent storage of configuration dimensions allows the configuration dimensions of the streaming encoding configuration items to be adjusted without making any changes to the storage structure of the parameter values. This can greatly enhance the configuration flexibility of the streaming encoding items and can quickly respond to changes in business needs. At the same time, for each configuration dimension, personalized parameter values can be set for different cloud phone clients, which can accurately meet diverse testing needs. In addition, separating the configuration dimensions can also achieve precise control of specific configuration dimensions. This fine-grained control can reduce the risk of grayscale release.
[0048] In an optional embodiment, the method also includes: if the target configuration item is other functional configuration items other than the streaming encoding configuration item, then pulling the configuration content configured for the cloud phone client for the other functional configuration items from the user-level configuration table as the configuration pulling result.
[0049] For other function configuration items except the streaming encoding configuration item, the configuration dimensions set for these function configuration items and the parameter values configured for the cloud phone client according to the configuration dimensions are stored as configuration contents in an integrated manner and stored in the user-level configuration table.
[0050] Therefore, when the target configuration items are these functional configuration items, the cloud phone server can pull the configuration dimensions set for these functional configuration items and the parameter values configured for the cloud phone client for the configuration dimensions from the user-level configuration table at one time. The pulled configuration content is used as the configuration pull result. The cloud phone server feeds back the configuration pull result to the cloud phone client corresponding to the configuration pull request. The cloud phone client enables these functional configuration items in response to receiving the configuration pull result.
[0051] In the above technical solution, the cloud phone server not only supports grayscale release of streaming encoding configuration items, but also supports grayscale release of other functional configuration items except streaming encoding configuration items, and provides a practical solution for grayscale release of these functional configuration items. It can cover a variety of grayscale release requirements, greatly improving the applicability of grayscale release of configuration for cloud phone clients.
[0052] Figure 2It is a flowchart of another configuration grayscale publishing method for cloud phone clients provided according to an embodiment of the present disclosure; this embodiment is an optional solution proposed on the basis of the above embodiment.
[0053] See also Figure 2 The configuration grayscale publishing method for the cloud phone client provided in this embodiment includes:
[0054] S201, obtaining the configuration dimension and grayscale condition set for the streaming encoding configuration item, and the parameter value configured for the cloud phone client with respect to the configuration dimension.
[0055] Optionally, the cloud phone server obtains the configuration dimensions and grayscale conditions set for the streaming encoding configuration items, as well as the parameter values configured for the cloud phone client for the configuration dimensions, through the configuration interaction interface in the console.
[0056] Figure 3 According to an embodiment of the present disclosure, a configuration dimension for setting a push-stream encoding configuration item and a grayscale configuration interface for configuring parameter values for a cloud phone client according to the configuration dimension are provided. The grayscale configuration interface is a human-computer interaction interface. Relevant business personnel use the grayscale configuration interface to set configuration dimensions and grayscale conditions for the push-stream encoding configuration item, and set parameter values for the cloud phone client according to the configuration dimension.
[0057] See also Figure 3 , the grayscale conditions set for the streaming encoding configuration item include: system type, application version and user ID. Figure 3 The system types include Windows operating system and Android operating system. H5, the minimum enabled version of Windows operating system and the minimum enabled version of Android operating system correspond to the application version, and the grayscale user ID suffix belongs to the user ID. HD bitrate and normal bitrate belong to the streaming quality, high-speed bitrate and normal bitrate belong to the streaming speed. The values 2000, 1000, 500 and 300 are the parameter values set for the cloud phone client for HD bitrate, normal bitrate, high-speed bitrate and normal bitrate. It is worth noting that for Figure 3 Configuration dimensions that do not display parameter values can use default values. When setting configuration dimensions for streaming encoding configuration items, you can set default values for the configuration dimensions, or set a value range.
[0058] When configuring streaming encoding configuration items through the grayscale configuration interface, input methods such as text boxes, numeric input boxes, and drop-down boxes are supported.
[0059] S202: Save the configuration dimension and the grayscale condition as array elements in a dimension array created for the streaming encoding configuration item.
[0060] The dimension array is used to store the configuration dimensions and grayscale conditions set for the push encoding configuration items. The configuration dimensions and grayscale conditions are array elements in the dimension array. Optionally, the dimension array is in JSON (JavaScript Object Notation) format.
[0061] S203: Save the parameter values configured for the cloud phone client according to the configuration dimension as array elements in the parameter array created for the streaming encoding configuration item.
[0062] The parameter array is used to store the parameter values configured for the cloud phone client according to the configuration dimension. The parameter values are array elements in the parameter array. Optionally, the parameter array is in JSON (JavaScript Object Notation) format.
[0063] S204, saving the dimension array and the parameter array to the platform-level configuration table and the user-level configuration table respectively.
[0064] Among them, the platform-level configuration table usually involves the global settings of the cloud phone server, and the global settings are effective for all cloud phone clients hosted by the cloud phone server. The user-level configuration table usually involves the personalized settings of the cloud phone client, which is only effective for specific cloud phone clients. The configuration dimensions and grayscale conditions of the push streaming encoding configuration items stored in the dimension array are for all cloud phone clients hosted by the cloud phone server. Therefore, the dimension array is stored in the platform-level configuration table. The parameter values configured for the cloud phone client according to the configuration dimension in the parameter array are only effective for specific cloud phone clients. Therefore, the parameter array is stored in the user-level configuration table.
[0065] The technical solution disclosed in the present invention stores the configuration dimensions and grayscale conditions set for the streaming encoding configuration items in the platform-level configuration table, and stores the parameter values set for the cloud phone client based on the configuration dimensions in the user-level configuration table, thereby realizing the decoupling and hierarchical storage of the configuration dimensions and grayscale conditions and parameter values, and enabling flexible configuration and efficient management of streaming encoding items.
[0066] In an optional embodiment, the method also includes: determining the cloud phone client to which the streaming encoding configuration item is applicable, and the user identifier associated with the cloud phone client; based on the user identifier, determining the target user to which the cloud phone client belongs; and determining the parameter value configured for the configuration dimension for the cloud phone client under the target user according to the business needs associated with the target user.
[0067] The cloud phone clients to which the push streaming encoding configuration item is applicable indicate that the push streaming encoding configuration item will be open to these cloud phone clients. You need to set parameter values for these cloud phone clients in advance based on the configuration dimensions of the push streaming encoding configuration item.
[0068] The user ID associated with the cloud phone client can determine the target user to which the cloud phone client belongs. The target user has at least two cloud phone clients. Business requirements are determined at user granularity, and business requirements corresponding to different users may be different. The parameter values configured for the configuration dimension are determined for the cloud phone client at user granularity.
[0069] The above technical solution provides a practical parameter value setting solution, which can batch set parameter values for cloud phone clients according to configuration dimensions at user granularity, can quickly respond to changes in business needs, and at the same time improve the efficiency of setting parameter values.
[0070] In an optional embodiment, in response to a dimension adjustment request for the push-stream encoding configuration item, if the dimension adjustment request is a dimension addition request, the newly added dimension to be added is obtained; the newly added dimension is saved as an array element in the dimension array created for the push-stream encoding configuration item; if the dimension adjustment request is a dimension deletion request, the invalid dimension to be deleted is determined; and the array element corresponding to the invalid dimension is deleted from the dimension array created for the push-stream encoding configuration item.
[0071] Among them, the dimension adjustment request is used to adjust the configuration dimension of the push-stream encoding configuration item. Optionally, the dimension adjustment request includes a dimension addition request and a dimension deletion request. Among them, the dimension addition request is used to add a new configuration dimension to the configuration dimension of the push-stream encoding configuration item. The dimension deletion request is used to delete certain configuration dimensions from the existing configuration dimensions of the push-stream encoding configuration item.
[0072] If the dimension adjustment request is a dimension addition request, the new dimension to be added is obtained. The new dimension to be added is the existing configuration dimension that needs to be added to the push stream encoding configuration item. The existing configuration dimensions of the push stream encoding configuration item are stored in the dimension array, and the new dimension is written into the dimension array as an array element.
[0073] If the dimension adjustment request is a dimension deletion request, the invalid dimension to be deleted is determined in the existing configuration dimensions of the push stream encoding configuration item. The existing configuration dimensions of the stream encoding configuration item are stored in the dimension array, and the invalid dimension is also stored in the dimension array. The array element corresponding to the invalid dimension is deleted from the dimension array.
[0074] The above technical solution provides a reliable dimension adjustment solution, which can be used to adjust the configuration dimensions of the streaming encoding configuration items, supports adding or deleting the configuration dimensions of the streaming encoding configuration items, and can realize flexible configuration and efficient management of the streaming encoding items.
[0075] Figure 4 This is a specific implementation flow chart of a configuration grayscale release method for a cloud phone client provided according to an embodiment of the present disclosure. Figure 4 The grayscale release of streaming encoding configuration for cloud phone clients includes two stages, namely the configuration stage of streaming encoding configuration items and the configuration pull stage of cloud phone clients. The configuration stage of streaming encoding configuration items is before the configuration pull stage of cloud phone clients.
[0076] The configuration phase of the push stream encoding configuration item includes the following steps: 1. The cloud phone server uses the console, for example Figure 3 The grayscale configuration interface shown in the figure obtains the grayscale conditions and configuration dimensions set for the push encoding configuration item; 2. The cloud phone server stores the grayscale conditions and configuration dimensions in the platform-level configuration table; 3. The cloud phone server uses the console, for example Figure 3 The grayscale configuration interface shown obtains the parameter values set for the cloud phone client according to the configuration dimension; 4. The cloud phone server stores the parameter values set for the cloud phone client according to the configuration dimension in the user-level configuration table.
[0077] Among them, the configuration pull stage of the cloud phone client includes the following steps: 5. After the cloud phone client is started, a configuration pull request is generated and sent to the cloud phone server; 6. The cloud phone server determines the grayscale condition of the push streaming encoding configuration item. The grayscale condition of the push streaming encoding configuration item is matched with the identity information associated with the configuration pull request to determine whether the push streaming encoding configuration item is open to the cloud phone client corresponding to the configuration pull request; 7. If the match is successful, the cloud phone server will generate a configuration pull result based on the configuration dimension and parameter value, and feedback to the cloud phone client corresponding to the configuration pull request. The cloud phone client responds to receiving the configuration pull result and enables the push streaming encoding configuration item.
[0078] Figure 5 This is a schematic diagram of a configuration grayscale publishing device for cloud phone clients provided according to an embodiment of the present disclosure. The present disclosure embodiment can be applied to grayscale publishing of new functional configuration items such as streaming encoding configuration items to cloud phone clients. The device can be implemented using software and / or hardware, and the device can implement the configuration grayscale publishing method for cloud phone clients described in any embodiment of the present disclosure.
[0079] like Figure 5 As shown, the configuration grayscale publishing device 500 for the cloud phone client includes:
[0080] A candidate configuration item determination module 501 is used to determine, in response to receiving a configuration pull request, candidate configuration items to be released and grayscale conditions set for the candidate configuration items;
[0081] A target configuration item determination module 502 is configured to determine a target configuration item from among the candidate configuration items based on the grayscale condition and the identity information associated with the configuration pull request;
[0082] The parameter value pulling module 503 is used for pulling the configuration dimension set for the push-stream encoding configuration item and the parameter value configured for the cloud phone client for the configuration dimension if the target configuration item is a push-stream encoding configuration item;
[0083] A configuration pull result generation module 504 is used to generate a configuration pull result based on the configuration dimension and the parameter value, and feed back the configuration pull result to the cloud phone client corresponding to the configuration pull request to enable the target configuration item on the cloud phone client;
[0084] Among them, the configuration dimensions set for the streaming encoding configuration items and the parameter values configured for the cloud phone client for the configuration dimensions are respectively stored in the platform-level configuration table and the user-level configuration table.
[0085] The disclosed technical solution provides a practical solution for the grayscale release of streaming encoding configuration items. By storing the configuration dimensions set for the streaming encoding configuration items and the parameter values set for the cloud phone clients according to the configuration dimensions separately, the decoupling of the configuration dimensions and the parameter values is achieved. The streaming encoding configuration items are grayscale released according to this decoupling design, which can achieve flexible configuration and efficient management of streaming encoding items. Specifically, the independent storage of configuration dimensions allows the configuration dimensions of the streaming encoding configuration items to be adjusted without making any changes to the storage structure of the parameter values. This can greatly enhance the configuration flexibility of the streaming encoding items and can quickly respond to changes in business needs. At the same time, for each configuration dimension, personalized parameter values can be set for different cloud phone clients, which can accurately meet diverse testing needs. In addition, separating the configuration dimensions can also achieve precise control of specific configuration dimensions. This fine-grained control can reduce the risk of grayscale release.
[0086] Optionally, the device 500 also includes: a configuration pulling result determination module, which is used to pull the configuration content configured for the cloud phone client for the other functional configuration items from the user-level configuration table as the configuration pulling result if the target configuration item is other functional configuration items other than the streaming encoding configuration item.
[0087] Optionally, the device 500 also includes: a configuration content acquisition module, used to obtain the configuration dimensions and grayscale conditions set for the push-stream encoding configuration item, and the parameter values configured for the cloud phone client for the configuration dimensions; a dimension array construction module, used to save the configuration dimensions and the grayscale conditions as array elements in the dimension array created for the push-stream encoding configuration item; a parameter array framework module, used to save the parameter values configured for the cloud phone client for the configuration dimensions as array elements in the parameter array created for the push-stream encoding configuration item; an array storage module, used to save the dimension array and the parameter array to the platform-level configuration table and the user-level configuration table, respectively.
[0088] Optionally, the device 500 also includes: a user identification determination module, used to determine the cloud phone client to which the streaming encoding configuration item is applicable, and the user identification associated with the cloud phone client; a target user determination module, used to determine the target user to which the cloud phone client belongs based on the user identification; a parameter value determination module, used to determine the parameter value configured for the configuration dimension for the cloud phone client under the target user according to the business needs associated with the target user.
[0089] Optionally, the device 500 also includes: a newly added dimension acquisition module, used to respond to a dimension adjustment request for the push-stream encoding configuration item, and if the dimension adjustment request is a dimension addition request, obtain the newly added dimension to be added; a newly added dimension saving module, used to save the newly added dimension as an array element in the dimension array created for the push-stream encoding configuration item; an invalid dimension determination module, used to determine the invalid dimension to be deleted if the dimension adjustment request is a dimension deletion request; an invalid dimension deletion module, used to delete the array element corresponding to the invalid dimension from the dimension array created for the push-stream encoding configuration item.
[0090] Optionally, the configuration dimensions set for the streaming encoding configuration item include streaming image quality and streaming speed; and the grayscale condition set for the streaming encoding configuration item includes: at least one of: system type, user identifier, and application version.
[0091] The configuration grayscale publishing device for cloud phone clients provided by the embodiments of the present disclosure can execute the configuration grayscale publishing method for cloud phone clients provided by any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects for executing the configuration grayscale publishing method for cloud phone clients.
[0092] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user data involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0093] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
[0094] Figure 6 A schematic block diagram of an example electronic device 600 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0095] like Figure 6 As shown, the electronic device 600 includes a computing unit 601, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 602 or a computer program loaded from a storage unit 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic device 600 can also be stored. The computing unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0096] Multiple components in the electronic device 600 are connected to the I / O interface 605, including: an input unit 606, such as a keyboard, a mouse, etc.; an output unit 607, such as various types of displays, speakers, etc.; a storage unit 608, such as a disk, an optical disk, etc.; and a communication unit 609, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 609 allows the electronic device 600 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0097] The computing unit 601 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 601 performs the various methods and processes described above, such as a configuration grayscale publishing method for a cloud phone client. For example, in some embodiments, a configuration grayscale publishing method for a cloud phone client may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 608. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 600 via the ROM 602 and / or the communication unit 609. When the computer program is loaded into the RAM 603 and executed by the computing unit 601, one or more steps of the configuration grayscale publishing method for the cloud phone client described above may be executed. Alternatively, in other embodiments, the computing unit 601 may be configured to execute a configuration grayscale publishing method for a cloud phone client in any other appropriate manner (for example, by means of firmware).
[0098] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0099] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable cloud mobile client-oriented configuration grayscale publishing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.
[0100] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0101] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0102] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0103] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
[0104] Artificial intelligence is a discipline that studies how to use computers to simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.). It includes both hardware-level and software-level technologies. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, and big data processing; artificial intelligence software technologies mainly include computer vision technology, speech recognition technology, natural language processing technology, machine learning / deep learning technology, big data processing technology, knowledge graph technology, and other major directions.
[0105] Cloud computing refers to a technology system that uses network access to elastically scalable shared physical or virtual resource pools. Resources can include servers, operating systems, networks, software, applications, and storage devices, and can be deployed and managed on demand and in a self-service manner. Cloud computing technology can provide efficient and powerful data processing capabilities for technical applications such as artificial intelligence and blockchain, as well as model training.
[0106] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0107] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A configuration grayscale publishing method for a cloud phone client, the method comprising: In response to receiving a configuration pull request, determining candidate configuration items to be released and grayscale conditions set for the candidate configuration items; Determining a target configuration item from among the candidate configuration items based on the grayscale condition and the identity information associated with the configuration pull request; If the target configuration item is a streaming encoding configuration item, then pull the configuration dimension set for the streaming encoding configuration item and the parameter value configured for the cloud phone client for the configuration dimension; Generate a configuration pull result based on the configuration dimension and the parameter value, and feed back the configuration pull result to the cloud phone client corresponding to the configuration pull request to enable the target configuration item on the cloud phone client; Among them, the configuration dimensions set for the streaming encoding configuration items and the parameter values configured for the cloud phone client for the configuration dimensions are respectively stored in the platform-level configuration table and the user-level configuration table.
2. The method according to claim 1, further comprising: If the target configuration item is a functional configuration item other than the streaming encoding configuration item, the configuration content configured for the cloud phone client for the other functional configuration item is pulled from the user-level configuration table as the configuration pulling result.
3. The method according to claim 1, further comprising: Obtain the configuration dimension and grayscale condition set for the streaming encoding configuration item, and the parameter value configured for the cloud phone client for the configuration dimension; The configuration dimension and the grayscale condition are saved as array elements in a dimension array created for the streaming encoding configuration item; The parameter values configured for the cloud phone client according to the configuration dimension are saved as array elements in the parameter array created for the streaming encoding configuration item; The dimension array and the parameter array are saved to the platform-level configuration table and the user-level configuration table respectively.
4. The method according to claim 1, further comprising: Determine the cloud phone client to which the streaming encoding configuration item is applicable, and the user identifier associated with the cloud phone client; Based on the user identifier, determine the target user to which the cloud phone client belongs; According to the business needs associated with the target user, the parameter values configured for the configuration dimension are determined for the cloud phone client under the target user.
5. The method according to claim 1, further comprising: In response to a dimension adjustment request for the streaming encoding configuration item, if the dimension adjustment request is a dimension addition request, obtaining a new dimension to be added; The newly added dimension is saved as an array element in the dimension array created for the streaming encoding configuration item; If the dimension adjustment request is a dimension deletion request, determining an invalid dimension to be deleted; The array element corresponding to the invalid dimension is deleted from the dimension array created for the streaming encoding configuration item.
6. The method according to claim 1, wherein: The configuration dimensions set for the streaming encoding configuration item include streaming image quality and streaming speed; the grayscale condition set for the streaming encoding configuration item includes: at least one of system type, user identification and application version.
7. A configuration grayscale publishing device for a cloud phone client, the device comprising: A candidate configuration item determination module, configured to determine, in response to receiving a configuration pull request, candidate configuration items to be released and grayscale conditions set for the candidate configuration items; a target configuration item determination module, configured to determine a target configuration item from among the candidate configuration items based on the grayscale condition and identity information associated with the configuration pull request; A parameter value pulling module, for pulling, if the target configuration item is a streaming encoding configuration item, a configuration dimension set for the streaming encoding configuration item and a parameter value configured for the cloud phone client for the configuration dimension; A configuration pull result generation module, used to generate a configuration pull result based on the configuration dimension and the parameter value, and feed back the configuration pull result to the cloud phone client corresponding to the configuration pull request to enable the target configuration item on the cloud phone client; Among them, the configuration dimensions set for the streaming encoding configuration items and the parameter values configured for the cloud phone client for the configuration dimensions are respectively stored in the platform-level configuration table and the user-level configuration table.
8. The device according to claim 7, further comprising: The configuration pulling result determination module is used to pull the configuration content configured for the cloud phone client for the other functional configuration items from the user-level configuration table as the configuration pulling result if the target configuration item is other functional configuration items other than the streaming encoding configuration item.
9. The device according to claim 7, further comprising: A configuration content acquisition module is used to obtain the configuration dimension and grayscale condition set for the streaming encoding configuration item, and the parameter value configured for the cloud phone client for the configuration dimension; A dimension array building module, used for storing the configuration dimension and the grayscale condition as array elements in the dimension array created for the streaming encoding configuration item; A parameter array framework module, used to store the parameter values configured for the cloud phone client according to the configuration dimension as array elements in the parameter array created for the streaming encoding configuration item; The array storage module is used to save the dimension array and the parameter array to the platform-level configuration table and the user-level configuration table respectively.
10. The device according to claim 7, further comprising: A user identification determination module, used to determine the cloud phone client to which the streaming encoding configuration item is applicable, and the user identification associated with the cloud phone client; A target user determination module, used to determine the target user to which the cloud phone client belongs based on the user identifier; The parameter value determination module is used to determine the parameter value configured for the configuration dimension for the cloud phone client under the target user according to the business needs associated with the target user.
11. The device according to claim 7, further comprising: A newly added dimension acquisition module, used to respond to a dimension adjustment request for the streaming encoding configuration item, and if the dimension adjustment request is a dimension addition request, obtain a newly added dimension to be added; A newly added dimension saving module, used to save the newly added dimension as an array element in the dimension array created for the streaming encoding configuration item; an invalid dimension determination module, configured to determine an invalid dimension to be deleted if the dimension adjustment request is a dimension deletion request; The invalid dimension deletion module is used to delete the array element corresponding to the invalid dimension from the dimension array created for the streaming encoding configuration item.
12. The device according to claim 7, wherein: The configuration dimensions set for the streaming encoding configuration item include streaming image quality and streaming speed; the grayscale condition set for the streaming encoding configuration item includes: at least one of system type, user identification and application version.
13. An electronic device comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the configuration grayscale publishing method for the cloud phone client described in any one of claims 1-6.
14. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to enable a computer to execute a configuration grayscale publishing method for a cloud phone client according to any one of claims 1-6.
15. A computer program product, comprising a computer program, which, when executed by a processor, implements the configuration grayscale publishing method for a cloud phone client according to any one of claims 1 to 6.