CN111078275A - Resource allocation method, device, storage medium and server - Google Patents
Resource allocation method, device, storage medium and server Download PDFInfo
- Publication number
- CN111078275A CN111078275A CN201911299382.1A CN201911299382A CN111078275A CN 111078275 A CN111078275 A CN 111078275A CN 201911299382 A CN201911299382 A CN 201911299382A CN 111078275 A CN111078275 A CN 111078275A
- Authority
- CN
- China
- Prior art keywords
- configuration
- target
- resource
- item
- configuration data
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000013468 resource allocation Methods 0.000 title claims description 28
- 230000004048 modification Effects 0.000 claims description 90
- 238000012986 modification Methods 0.000 claims description 90
- 230000006870 function Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000013500 data storage Methods 0.000 description 4
- 238000005192 partition Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000001514 detection method Methods 0.000 description 3
- 238000007726 management method Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The application discloses a resource configuration method, a device, a storage medium and a server, wherein a terminal configuration request is obtained, the terminal configuration request carries a first target operator identifier and basic information of an item to be configured, target configuration data are determined from a resource configuration database according to the basic information and the first target operator identifier, a configuration data packet is generated according to the target configuration data, and the configuration data packet is sent to terminal equipment, so that the terminal equipment performs resource configuration of the item to be configured according to the configuration data packet, online personalized configuration service of a terminal can be provided for a user, the terminal equipment does not need to return to a factory to refresh the configuration, the practicability is high, and the flexibility is high.
Description
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a resource allocation method, an apparatus, a storage medium, and a server.
Background
At present, the market competition of mobile phones is intense, the customization of mobile phones becomes one of the main means for operators to carry out differentiation brands and services, and in order to meet different customization requirements of each operator, more and more developers split software into main software and customized software, so that customizable resources such as startup and shutdown animations, ringtones, pictures, built-in APKs (android application packages) and the like are separated.
Along with the deepening of internationalization, the competition is more and more intense, the frequency of software release is gradually improved, and how to rapidly, efficiently and conveniently perform personalized resource customization on the mobile phone is a problem to be discussed urgently.
Disclosure of Invention
The embodiment of the application provides a resource configuration method, a resource configuration device, a storage medium and a server, which can provide an online personalized configuration service of a terminal for a user, and are convenient and quick.
The embodiment of the application provides a resource allocation method, which is applied to a server and is characterized by comprising the following steps:
acquiring a terminal configuration request, wherein the terminal configuration request carries a first target operator identifier and basic information of an item to be configured;
determining target configuration data from a resource configuration database according to the basic information and the first target operator identifier;
generating a configuration data packet according to the target configuration data;
and sending the configuration data packet to terminal equipment so that the terminal equipment performs resource configuration of the item to be configured according to the configuration data packet.
An embodiment of the present application further provides a resource allocation apparatus, which is applied to a server, and includes:
the terminal configuration request carries a first target operator identifier and basic information of an item to be configured;
a determining module, configured to determine target configuration data from a resource configuration database according to the basic information and a first target operator identifier;
the generating module is used for generating a configuration data packet according to the target configuration data;
and the sending module is used for sending the configuration data packet to the terminal equipment so that the terminal equipment performs resource configuration of the item to be configured according to the configuration data packet.
Wherein the basic information includes an item identifier and an item version number, and the determining module is specifically configured to:
determining an item configuration list corresponding to the item identification and the item version number from the resource configuration database;
acquiring data corresponding to the first target operator identity from the project configuration list;
and taking the acquired data as target configuration data.
Wherein, the resource configuration device further comprises a creating module, configured to:
before determining target configuration data from a resource configuration database according to the basic information and a first target operator identifier, providing a resource customization interface for a user to enable the user to perform corresponding editing operation on the resource customization interface, wherein the resource customization interface is used for providing editing entries of different configuration items of a plurality of operators;
generating configuration data corresponding to the operator and the configuration project according to the editing operation and a preset script language;
and creating a resource configuration database according to the configuration data, the operator identification of the corresponding operator and the corresponding configuration project.
Wherein, the resource configuration device further comprises a modification module, configured to:
after a resource configuration database is established according to the configuration data, the operator identification of the corresponding operator and the corresponding configuration project, a configuration data modification request is obtained, wherein the configuration data modification request carries the user identification of the requesting user, a second target operator identification and a target project identification;
determining the modification authority of the requesting user according to the user identification;
and modifying the resource configuration database according to the modification authority, the second target operator identifier and the target project identifier.
Wherein the modification module is specifically configured to:
determining at least one item identifier and at least one operator identifier corresponding to the modification authority;
when the target project identifier is included in the at least one project identifier and the second target operator identifier is included in the at least one operator identifier, providing a modification interface of corresponding configuration data; acquiring modification operation of a user on the modification interface, and updating corresponding configuration data according to the modification operation;
and when the at least one project mark comprises the target project mark and/or the at least one operator mark comprises the second target operator mark, displaying a pop-up window, wherein the pop-up window is used for prompting a user that no modification authority exists.
The embodiment of the application also provides a computer readable storage medium, wherein a plurality of instructions are stored in the storage medium, and the instructions are suitable for being loaded by a processor to execute any one of the resource allocation methods.
An embodiment of the present application further provides a server, which includes a processor and a memory, where the processor is electrically connected to the memory, the memory is used to store instructions and data, and the processor is used to execute any of the steps in the resource allocation method.
According to the resource configuration method, the resource configuration device, the storage medium and the server, the terminal configuration request is obtained, the terminal configuration request carries the first target operator identification and the basic information of the item to be configured, the target configuration data is determined from the resource configuration database according to the basic information and the first target operator identification, the configuration data packet is generated according to the target configuration data, the configuration data packet is sent to the terminal equipment, so that the terminal equipment performs resource configuration of the item to be configured according to the configuration data packet, online personalized configuration service of the terminal can be provided for a user, the terminal equipment does not need to return to a factory to refresh the configuration, the practicability is strong, the application range is wide, and the flexibility is high.
Drawings
The technical solution and other advantages of the present application will become apparent from the detailed description of the embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating a resource allocation method according to an embodiment of the present application.
Fig. 2 is a schematic operation flow diagram of a configuration data generation process according to an embodiment of the present application.
Fig. 3 is another schematic flow chart of a resource allocation method according to an embodiment of the present application.
Fig. 4 is a schematic view of an application scenario of a resource allocation apparatus according to an embodiment of the present application.
Fig. 5 is a schematic diagram of a framework structure of a resource allocation apparatus according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a resource allocation apparatus according to an embodiment of the present application.
Fig. 7 is another schematic structural diagram of a resource allocation apparatus according to an embodiment of the present application.
Fig. 8 is a schematic structural diagram of a server according to an embodiment of the present application.
Fig. 9 is another schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
A resource allocation method is applied to a server and used for obtaining a terminal allocation request, wherein the terminal allocation request carries a first target operator identifier and basic information of an item to be allocated; determining target configuration data from a resource configuration database according to the basic information and the first target operator identifier; generating a configuration data packet according to the target configuration data; and sending the configuration data packet to the terminal equipment so that the terminal equipment performs resource configuration of the item to be configured according to the configuration data packet.
As shown in fig. 1, fig. 1 is a schematic flowchart of a resource configuration method provided in this embodiment, where the resource configuration method is applied to a server, where the server may be a customized system server that provides personalized resource customization operations for a terminal, and the customized system server may be an integration of multiple servers, and a specific flow of the resource configuration method may be as follows:
s101, a terminal configuration request is obtained, and the terminal configuration request carries a first target operator identifier and basic information of an item to be configured.
The first target operator identifier may be a brand operator name, such as Huashi, apple, etc., and is used to uniquely identify a brand operator. The items to be configured may include system applications, browser home pages, bookmarks, wallpaper, lock screens, ring tones, power on/off animations, and the like. The basic information is mainly used for describing the type and version of the item to be configured. Specifically, the user can enter a home page (such as a resource customization interface) of the customization system server through the terminal device, and input information related to the brand operator and the configuration item which the user needs to customize through an input window in the home page.
S102, determining target configuration data from a resource configuration database according to the basic information and the first target operator identification.
The basic information may include an item identifier and an item version number, and at this time, the step S102 may specifically include:
determining an item configuration list corresponding to the item identifier and the item version number from the resource configuration database;
acquiring data corresponding to the first target operator identity from the project configuration list;
the acquired data is taken as target configuration data.
Wherein the item identifier is used to uniquely identify a configuration item, which may be an item name, such as power on/off animation. The item version number is an identification number of a version, which usually varies with the system version, and each configuration item has at least one version number, and the same configuration item may have different configuration data at different version numbers.
Specifically, an item configuration list of configuration items and item versions that a user wants to perform personalized customization may be determined from the resource configuration database, where the item configuration list may include configuration data of each brand operator for configuring items of the versions, and then configuration data of a specific brand operator (i.e., a brand operator corresponding to the first target operator identifier) is extracted from the item configuration list. For example, the configuration data of the apple handset 8.6 version boot animation may be obtained from the resource configuration database.
It should be noted that, in addition to obtaining the target configuration data by using the matching sequence of first performing data matching according to the item identifier and the item version number and then performing data matching according to the operator identifier, data matching may be performed according to the operator identifier and then performing data matching according to the item identifier and the item version number, or data matching may be performed according to the item identifier, the item version number, and the operator identifier at the same time.
It should be easily understood that the resource configuration database should be created in advance, that is, before the step S102, the resource configuration method may further include:
providing a resource customization interface for a user to enable the user to perform corresponding editing operation on the resource customization interface, wherein the resource customization interface is used for providing editing entries of different configuration items of a plurality of operators;
generating configuration data corresponding to the operator and the configuration project according to the editing operation and the preset script language;
and creating a resource configuration database according to the configuration data, the operator identification of the corresponding operator and the corresponding configuration item.
The preset scripting language can be an artificially set python language. Referring to fig. 2, a user may enter a resource customization interface provided by a customization system server, an edit entry on the resource customization interface may be represented in a text form, such as "customization", the user may enter a corresponding edit interface by clicking the edit entry and perform an editing operation on the edit interface, the edit interface may include a selection window of a brand operator and a selection window of a configuration item, the user performs personalized data editing on the configuration item of the brand operator to be configured through the corresponding window, and the server may then generate and store a corresponding resource package according to the data edited by the user and a specified scripting language, so as to perform personalized resource configuration on the terminal device subsequently.
In addition, after the resource configuration database is created, the relevant personnel may further update the data therein, that is, after the resource configuration database is created according to the configuration data, the operator identifier of the corresponding operator, and the corresponding configuration item, the resource configuration method may further include:
acquiring a configuration data modification request, wherein the configuration data modification request carries a user identifier of a requesting user, a second target operator identifier and a target project identifier;
determining the modification authority of the requesting user according to the user identification;
and modifying the resource configuration database according to the modification authority, the second target operator identifier and the target project identifier.
In this embodiment, the user identifier is used to uniquely identify the user, and may be a user account. The modification authority is set manually, different users have different modification authorities, and for example, apple system merchants can only modify and edit data according to related configuration items of apple system mobile phones. Specifically, a user may log in the customization system first, and generate a configuration data modification request by triggering a certain key of a system homepage to enter a modification interface homepage, and then may select configuration item data of a brand operator to be modified on the modification interface homepage to modify.
Wherein, the modifying the resource configuration database according to the modification authority, the second target operator identifier and the target item identifier comprises:
determining at least one item identifier and at least one operator identifier corresponding to the modification authority;
when the target project identifier is included in the at least one project identifier and the second target operator identifier is included in the at least one operator identifier, providing a modification interface of corresponding configuration data; acquiring the modification operation of a user on the modification interface, and updating corresponding configuration data according to the modification operation;
and when the target project identifier is included in the at least one project identifier and/or the second target operator identifier is included in the at least one operator identifier, displaying a pop-up window, wherein the pop-up window is used for prompting the user that no modification authority exists.
In this embodiment, the modification interface home page may include entries of modification interfaces of respective brand operators and respective configuration items, when the user has modification rights of respective configuration items and brand operators, the user may enter the corresponding modification interface entry and input modification contents in a manner of text, voice, or the like to perform modification operations, and when the user does not have modification rights of respective configuration items and brand operators, the server may display a pop-up window to notify the user that the user does not have the modification rights, so that the user abandons the modification or modifies the modification through other user accounts.
And S103, generating a configuration data packet according to the target configuration data.
The target configuration data can be assembled through a specified format to obtain a configuration data packet.
And S104, sending the configuration data packet to the terminal equipment so that the terminal equipment performs resource configuration of the item to be configured according to the configuration data packet.
For example, the terminal device may update parameters of configuration items such as system applications, browser home pages, bookmarks, wallpapers, lock screens, ring tones, power on/off animations, and the like according to the configuration data packet sent by the server, so as to implement resource configuration.
As can be seen from the above, the resource configuration method provided in this embodiment is applied to a server, and is implemented by obtaining a terminal configuration request, where the terminal configuration request carries a first target operator identifier and basic information of an item to be configured, then determining target configuration data from a resource configuration database according to the basic information and the first target operator identifier, generating a configuration data packet according to the target configuration data, and then sending the configuration data packet to a terminal device, so that the terminal device performs resource configuration of the item to be configured according to the configuration data packet, thereby providing an online personalized configuration service for a user, and the terminal device does not need to return to a factory and reinstall a machine to implement configuration update.
According to the method described in the foregoing embodiment, the present application also provides another resource allocation method, which is applied to a system server, and as shown in fig. 3, a specific flow of the resource allocation method may be as follows:
s201, providing a resource customization interface for a user to enable the user to perform corresponding editing operation on the resource customization interface, wherein the resource customization interface is used for providing editing entries of different configuration items of a plurality of operators.
And S202, generating configuration data corresponding to the operator and the configuration project according to the editing operation and the preset script language.
S203, creating a resource configuration database according to the configuration data, the operator identification of the corresponding operator and the corresponding configuration item.
For example, referring to fig. 4 and 5, the system server may include a plurality of servers, such as a system platform server, a data storage server, and a compiling server, where the three servers communicate with each other through an API interface, the system platform server is mainly used for interacting with a user and providing a resource customization interface, the data storage server is mainly used for storing a resource configuration database, and the compiling server is mainly used for performing compiling operations such as storage modification on the resource configuration database. The terminal equipment can comprise user equipment such as a mobile phone, a computer and the like. When a user enters the resource customization interface, the user can enter a corresponding editing interface provided by the compiling server by clicking an editing inlet on the resource customization interface, and edit the editing interface, wherein the editing interface can comprise a selection window of a brand operator and a selection window of a configuration item, the user carries out personalized data editing on the configuration item of the brand operator needing to be configured through the corresponding window, and the edited configuration data can be stored in a resource configuration database in the data storage server.
And S204, acquiring a configuration data modification request, wherein the configuration data modification request carries the user identifier of the requesting user, the second target operator identifier and the target project identifier.
S205, determining the modification authority of the requesting user according to the user identification, and determining at least one item identification and at least one operator identification corresponding to the modification authority.
S206, when the at least one project mark comprises the target project mark and the at least one operator mark comprises the second target operator mark, providing a modification interface of corresponding configuration data; and acquiring the modification operation of the user on the modification interface, and updating the corresponding configuration data according to the modification operation.
S207, when the target project mark is included in the at least one project mark and/or the second target operator mark is included in the at least one operator mark, displaying a pop-up window, wherein the pop-up window is used for prompting a user that no modification permission exists.
For example, a user may log in the customization system first, and generate a configuration data modification request triggered by a certain key of the system homepage to enter a modification interface homepage, and then may select configuration item data of a brand operator to be modified on the modification interface homepage to modify. For example, the apple system manufacturer may modify the relevant configuration parameters of the apple handset system in the resource configuration database, such as modifying the boot animation of the apple system version 8.6.
S208, a terminal configuration request is obtained, and the terminal configuration request carries the first target operator identification and the basic information of the item to be configured.
S209, determining an item configuration list corresponding to the item identifier and the item version number from the resource configuration database, acquiring data corresponding to the first target operator identifier from the item configuration list, and taking the acquired data as target configuration data.
S210, generating a configuration data packet according to the target configuration data, and sending the configuration data packet to the terminal equipment, so that the terminal equipment performs resource configuration of the item to be configured according to the configuration data packet.
For example, the terminal configuration request may be automatically generated by the server, for example, when the resource configuration database is updated, the server may automatically generate the terminal configuration request to automatically send the update data to each terminal device to synchronize the terminal device and the server data, or the terminal configuration request may be manually triggered and generated by a user, for example, the terminal user may enter a resource customization interface of the customization system through the terminal device and perform a corresponding operation on the resource customization interface to trigger the generation of the terminal configuration request.
According to the method described in the above embodiments, the present embodiment will be further described from the perspective of a resource configuration device, which may be specifically implemented as an independent entity.
Referring to fig. 6, fig. 6 specifically describes a resource allocation apparatus provided in the present embodiment, which is applied to a server, and the resource allocation apparatus may include: the device comprises an acquisition module 10, a determination module 20, a generation module 30 and a sending module 40, wherein:
(1) acquisition module 10
The acquisition module is used for acquiring a terminal configuration request, and the terminal configuration request carries the first target operator identifier and the basic information of the item to be configured.
The first target operator identifier may be a brand operator name, such as Huashi, apple, etc., and is used to uniquely identify a brand operator. The items to be configured may include system applications, browser home pages, bookmarks, wallpaper, lock screens, ring tones, power on/off animations, and the like. The basic information is mainly used for describing the type and version of the item to be configured. Specifically, the user can enter a home page (such as a resource customization interface) of the customization system server through the terminal device, and input information related to the brand operator and the configuration item which the user needs to customize through an input window in the home page.
(2) Determination module 20
A determining module 20, configured to determine target configuration data from the resource configuration database according to the basic information and the first target operator identifier.
Wherein the basic information includes an item identifier and an item version number, and the determining module 20 is specifically configured to:
determining an item configuration list corresponding to the item identifier and the item version number from the resource configuration database;
acquiring data corresponding to the first target operator identity from the project configuration list;
the acquired data is taken as target configuration data.
Wherein the item identifier is used to uniquely identify a configuration item, which may be an item name, such as power on/off animation. The item version number is an identification number of a version, which usually varies with the system version, and each configuration item has at least one version number, and the same configuration item may have different configuration data at different version numbers.
Specifically, an item configuration list of configuration items and item versions that a user wants to perform personalized customization may be determined from the resource configuration database, where the item configuration list may include configuration data of each brand operator for configuring items of the versions, and then configuration data of a specific brand operator (i.e., a brand operator corresponding to the first target operator identifier) is extracted from the item configuration list. For example, the configuration data of the apple handset 8.6 version boot animation may be obtained from the resource configuration database.
It should be noted that, in addition to obtaining the target configuration data by using the matching sequence of first performing data matching according to the item identifier and the item version number and then performing data matching according to the operator identifier, data matching may be performed according to the operator identifier and then performing data matching according to the item identifier and the item version number, or data matching may be performed according to the item identifier, the item version number, and the operator identifier at the same time.
It should be easily understood that the resource configuration database should be created in advance, that is, please refer to fig. 7, the resource configuration apparatus further includes a creating module 50 for:
before determining target configuration data from a resource configuration database according to the basic information and the first target operator identification, providing a resource customization interface for a user to enable the user to perform corresponding editing operation on the resource customization interface, wherein the resource customization interface is used for providing editing entries of different configuration items of a plurality of operators;
generating configuration data corresponding to the operator and the configuration project according to the editing operation and the preset script language;
and creating a resource configuration database according to the configuration data, the operator identification of the corresponding operator and the corresponding configuration item.
The preset scripting language can be an artificially set python language. Referring to fig. 2, a user may enter a resource customization interface provided by a customization system server, an edit entry on the resource customization interface may be represented in a text form, such as "customization", the user may enter a corresponding edit interface by clicking the edit entry and perform an editing operation on the edit interface, the edit interface may include a selection window of a brand operator and a selection window of a configuration item, the user performs personalized data editing on the configuration item of the brand operator to be configured through the corresponding window, and the server may then generate and store a corresponding resource package according to the data edited by the user and a specified scripting language, so as to perform personalized resource configuration on the terminal device subsequently.
In addition, after the resource configuration database is created, the relevant personnel may also update the data therein, that is, the resource configuration apparatus further includes a modification module 60, configured to:
after a resource configuration database is established according to the configuration data, the operator identification of the corresponding operator and the corresponding configuration project, a configuration data modification request is obtained, wherein the configuration data modification request carries the user identification of the requesting user, a second target operator identification and a target project identification;
determining the modification authority of the requesting user according to the user identification;
and modifying the resource configuration database according to the modification authority, the second target operator identifier and the target project identifier.
In this embodiment, the user identifier is used to uniquely identify the user, and may be a user account. The modification authority is set manually, different users have different modification authorities, and for example, apple system merchants can only modify and edit data according to related configuration items of apple system mobile phones. Specifically, a user may log in the customization system first, and generate a configuration data modification request by triggering a certain key of a system homepage to enter a modification interface homepage, and then may select configuration item data of a brand operator to be modified on the modification interface homepage to modify.
Wherein the modification module is specifically configured to:
determining at least one item identifier and at least one operator identifier corresponding to the modification authority;
when the target project identifier is included in the at least one project identifier and the second target operator identifier is included in the at least one operator identifier, providing a modification interface of corresponding configuration data; acquiring the modification operation of a user on the modification interface, and updating corresponding configuration data according to the modification operation;
and when the target project identifier is included in the at least one project identifier and/or the second target operator identifier is included in the at least one operator identifier, displaying a pop-up window, wherein the pop-up window is used for prompting the user that no modification authority exists.
In this embodiment, the modification interface home page may include entries of modification interfaces of respective brand operators and respective configuration items, when the user has modification rights of respective configuration items and brand operators, the user may enter the corresponding modification interface entry and input modification contents in a manner of text, voice, or the like to perform modification operations, and when the user does not have modification rights of respective configuration items and brand operators, the server may display a pop-up window to notify the user that the user does not have the modification rights, so that the user abandons the modification or modifies the modification through other user accounts.
(3) Generation module 30
A generating module 30, configured to generate a configuration data packet according to the target configuration data.
The target configuration data can be assembled through a specified format to obtain a configuration data packet.
(4) Sending module 40
A sending module 40, configured to send the configuration data packet to a terminal device, so that the terminal device performs resource configuration on the item to be configured according to the configuration data packet.
For example, the terminal device may update parameters of configuration items such as system applications, browser home pages, bookmarks, wallpapers, lock screens, ring tones, power on/off animations, and the like according to the configuration data packet sent by the server, so as to implement resource configuration.
In a specific implementation, the above units may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and the specific implementation of the above units may refer to the foregoing method embodiments, which are not described herein again.
As can be seen from the above, the resource configuration apparatus provided in this embodiment is applied to a server, and obtains, by using the obtaining module 10, a terminal configuration request, where the terminal configuration request carries a first target operator identifier and basic information of an item to be configured, then the determining module 20 determines target configuration data from a resource configuration database according to the basic information and the first target operator identifier, the generating module 30 generates a configuration data packet according to the target configuration data, and then the sending module 40 sends the configuration data packet to a terminal device, so that the terminal device performs resource configuration of the item to be configured according to the configuration data packet, thereby providing an online personalized configuration service of a terminal for a user, and the terminal device does not need to return to a factory to refresh a machine to implement configuration update, and is strong in practicability, wide in application range, and high in flexibility.
In addition, the embodiment of the application also provides a server, and the server can be a customized system server. As shown in fig. 8, the server 200 includes a processor 201 and a memory 202. The processor 201 is electrically connected to the memory 202.
The processor 201 is a control center of the server 200, connects various parts of the entire server using various interfaces and lines, performs various functions of the server and processes data by running or loading an application program stored in the memory 202, and calling data stored in the memory 202, thereby performing overall monitoring of the server.
In this embodiment, the server 200 is provided with a plurality of storage partitions, where the plurality of storage partitions includes a system partition and a target partition, and the processor 201 in the server 200 loads instructions corresponding to processes of one or more application programs into the memory 202 according to the following steps, and the processor 201 runs the application programs stored in the memory 202, so as to implement various functions:
acquiring a terminal configuration request, wherein the terminal configuration request carries a first target operator identifier and basic information of an item to be configured;
determining target configuration data from a resource configuration database according to the basic information and the first target operator identifier;
generating a configuration data packet according to the target configuration data;
and sending the configuration data packet to the terminal equipment so that the terminal equipment performs resource configuration of the item to be configured according to the configuration data packet.
The embodiment of the present application further provides a server, as shown in fig. 9, which shows a schematic structural diagram of the server according to the embodiment of the present application, specifically:
the server may include components such as a processor 401 of one or more processing cores, memory 402 of one or more computer-readable storage media, Radio Frequency (RF) circuitry 403, a power supply 404, an input unit 405, and a display unit 406. Those skilled in the art will appreciate that the server architecture shown in FIG. 9 does not constitute a limitation on the servers, and may include more or fewer components than shown, or some components in combination, or a different arrangement of components. Wherein:
the processor 401 is a control center of the server, connects various parts of the entire server using various interfaces and lines, and performs various functions of the server and processes data by running or executing software programs and/or modules stored in the memory 402 and calling data stored in the memory 402, thereby performing overall monitoring of the server. Optionally, processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 401.
The memory 402 may be used to store software programs and modules, and the processor 401 executes various functional applications and data processing by operating the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to the use of the server, and the like. Further, the memory 402 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 access to the memory 402.
The RF circuit 403 may be used for receiving and transmitting signals during information transmission and reception, and in particular, for receiving downlink information of a base station and then processing the received downlink information by the one or more processors 401; in addition, data relating to uplink is transmitted to the base station. In general, the RF circuitry 403 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 403 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), and the like.
The server also includes a power supply 404 (e.g., a battery) for powering the various components, and preferably, the power supply 404 is logically connected to the processor 401 via a power management system, so that functions such as managing charging, discharging, and power consumption are performed via the power management system. The power supply 404 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
The server may further include an input unit 405, and the input unit 405 may be used to receive input numeric or character information and generate a keyboard, mouse, joystick, optical or trackball signal input in relation to user settings and function control. Specifically, in one particular embodiment, input unit 405 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 401, and can receive and execute commands sent by the processor 401. In addition, touch sensitive surfaces may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 405 may include other input devices in addition to the touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The server may also include a display unit 406, and the display unit 406 may be used to display information input by or provided to the user as well as various graphical user interfaces of the server, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 406 may include a Display panel, and optionally, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-emitting diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 401 to determine the type of the touch event, and then the processor 401 provides a corresponding visual output on the display panel according to the type of the touch event. Although in FIG. 9 the touch sensitive surface and the display panel are two separate components to implement input and output functions, in some embodiments the touch sensitive surface may be integrated with the display panel to implement input and output functions.
Although not shown, the server may further include a camera, a bluetooth module, etc., which will not be described herein. Specifically, in this embodiment, the processor 401 in the server loads the executable file corresponding to the process of one or more application programs into the memory 402 according to the following instructions, and the processor 401 runs the application program stored in the memory 402, thereby implementing various functions as follows:
acquiring a terminal configuration request, wherein the terminal configuration request carries a first target operator identifier and basic information of an item to be configured;
determining target configuration data from a resource configuration database according to the basic information and the first target operator identifier;
generating a configuration data packet according to the target configuration data;
and sending the configuration data packet to the terminal equipment so that the terminal equipment performs resource configuration of the item to be configured according to the configuration data packet.
In specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and specific implementation of the above modules may refer to the foregoing method embodiments, which are not described herein again.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor. To this end, the present invention provides a storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute the steps in any one of the resource allocation methods provided by the embodiments of the present invention.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium may execute the steps in any resource allocation method provided in the embodiments of the present invention, beneficial effects that can be achieved by any resource allocation method provided in the embodiments of the present invention may be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
In summary, although the present application has been described with reference to the preferred embodiments, the above-described preferred embodiments are not intended to limit the present application, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present application, so that the scope of the present application shall be determined by the appended claims.
Claims (10)
1. A resource allocation method is applied to a server and is characterized by comprising the following steps:
acquiring a terminal configuration request, wherein the terminal configuration request carries a first target operator identifier and basic information of an item to be configured;
determining target configuration data from a resource configuration database according to the basic information and the first target operator identifier;
generating a configuration data packet according to the target configuration data;
and sending the configuration data packet to terminal equipment so that the terminal equipment performs resource configuration of the item to be configured according to the configuration data packet.
2. The method of claim 1, wherein the basic information comprises an item identifier and an item version number, and the determining the target configuration data from the resource configuration database according to the basic information and the first target operator identifier comprises:
determining an item configuration list corresponding to the item identification and the item version number from the resource configuration database;
acquiring data corresponding to the first target operator identity from the project configuration list;
and taking the acquired data as target configuration data.
3. The resource allocation method according to claim 2, further comprising, before determining the target configuration data from the resource configuration database according to the basic information and the first target operator identifier:
providing a resource customization interface for a user to enable the user to perform corresponding editing operation on the resource customization interface, wherein the resource customization interface is used for providing editing entries of different configuration items of a plurality of operators;
generating configuration data corresponding to the operator and the configuration project according to the editing operation and a preset script language;
and creating a resource configuration database according to the configuration data, the operator identification of the corresponding operator and the corresponding configuration project.
4. The resource allocation method according to claim 1, further comprising, after creating the resource allocation database according to the configuration data, the operator identifier of the corresponding operator, and the corresponding configuration item:
acquiring a configuration data modification request, wherein the configuration data modification request carries a user identifier of a requesting user, a second target operator identifier and a target project identifier;
determining the modification authority of the requesting user according to the user identification;
and modifying the resource configuration database according to the modification authority, the second target operator identifier and the target project identifier.
5. The resource configuration method according to claim 4, wherein the modifying the resource configuration database according to the modification authority, the second target operator identifier and the target item identifier comprises:
determining at least one item identifier and at least one operator identifier corresponding to the modification authority;
when the target project identifier is included in the at least one project identifier and the second target operator identifier is included in the at least one operator identifier, providing a modification interface of corresponding configuration data; acquiring modification operation of a user on the modification interface, and updating corresponding configuration data according to the modification operation;
and when the at least one project mark comprises the target project mark and/or the at least one operator mark comprises the second target operator mark, displaying a pop-up window, wherein the pop-up window is used for prompting a user that no modification authority exists.
6. A resource allocation device applied to a server is characterized by comprising:
the terminal configuration request carries a first target operator identifier and basic information of an item to be configured;
a determining module, configured to determine target configuration data from a resource configuration database according to the basic information and a first target operator identifier;
the generating module is used for generating a configuration data packet according to the target configuration data;
and the sending module is used for sending the configuration data packet to the terminal equipment so that the terminal equipment performs resource configuration of the item to be configured according to the configuration data packet.
7. The apparatus according to claim 6, wherein the basic information includes an item identifier and an item version number, and the determining module is specifically configured to:
determining an item configuration list corresponding to the item identification and the item version number from the resource configuration database;
acquiring data corresponding to the first target operator identity from the project configuration list;
and taking the acquired data as target configuration data.
8. The apparatus of claim 7, wherein the apparatus further comprises a creation module configured to:
before determining target configuration data from a resource configuration database according to the basic information and a first target operator identifier, providing a resource customization interface for a user to enable the user to perform corresponding editing operation on the resource customization interface, wherein the resource customization interface is used for providing editing entries of different configuration items of a plurality of operators;
generating configuration data corresponding to the operator and the configuration project according to the editing operation and a preset script language;
and creating a resource configuration database according to the configuration data, the operator identification of the corresponding operator and the corresponding configuration project.
9. A computer-readable storage medium having stored thereon a plurality of instructions adapted to be loaded by a processor to perform the resource allocation method of any one of claims 1 to 5.
10. A server, comprising a processor and a memory, the processor being electrically connected to the memory, the memory being configured to store instructions and data, the processor being configured to perform the steps of the resource allocation method of any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911299382.1A CN111078275B (en) | 2019-12-17 | 2019-12-17 | Resource allocation method, device, storage medium and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911299382.1A CN111078275B (en) | 2019-12-17 | 2019-12-17 | Resource allocation method, device, storage medium and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111078275A true CN111078275A (en) | 2020-04-28 |
CN111078275B CN111078275B (en) | 2023-11-14 |
Family
ID=70314852
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911299382.1A Active CN111078275B (en) | 2019-12-17 | 2019-12-17 | Resource allocation method, device, storage medium and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111078275B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111585810A (en) * | 2020-05-06 | 2020-08-25 | 上海闻泰电子科技有限公司 | Operator parameter file customization method, customization device and readable storage medium |
CN112000391A (en) * | 2020-08-03 | 2020-11-27 | 浙江口碑网络技术有限公司 | Configuration processing method and system |
CN112000378A (en) * | 2020-07-29 | 2020-11-27 | 青岛小鸟看看科技有限公司 | VR equipment management method and system |
CN114339442A (en) * | 2021-12-31 | 2022-04-12 | 北京达佳互联信息技术有限公司 | Multimedia channel configuration method and device, electronic equipment and storage medium |
CN114996162A (en) * | 2022-07-15 | 2022-09-02 | 荣耀终端有限公司 | Test method and related device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107608743A (en) * | 2017-09-04 | 2018-01-19 | 维沃移动通信有限公司 | A kind of operating system customizing method, server and mobile terminal |
WO2018040813A1 (en) * | 2016-08-31 | 2018-03-08 | 腾讯科技(深圳)有限公司 | Audio/video communication method, terminal, server, and storage medium |
CN108153558A (en) * | 2017-12-06 | 2018-06-12 | 广东欧珀移动通信有限公司 | Method, electronic device and the readable storage medium storing program for executing of unified custom terminal software version |
-
2019
- 2019-12-17 CN CN201911299382.1A patent/CN111078275B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018040813A1 (en) * | 2016-08-31 | 2018-03-08 | 腾讯科技(深圳)有限公司 | Audio/video communication method, terminal, server, and storage medium |
CN107608743A (en) * | 2017-09-04 | 2018-01-19 | 维沃移动通信有限公司 | A kind of operating system customizing method, server and mobile terminal |
CN108153558A (en) * | 2017-12-06 | 2018-06-12 | 广东欧珀移动通信有限公司 | Method, electronic device and the readable storage medium storing program for executing of unified custom terminal software version |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111585810A (en) * | 2020-05-06 | 2020-08-25 | 上海闻泰电子科技有限公司 | Operator parameter file customization method, customization device and readable storage medium |
CN111585810B (en) * | 2020-05-06 | 2023-03-24 | 上海闻泰电子科技有限公司 | Operator parameter file customization method, customization device and readable storage medium |
CN112000378A (en) * | 2020-07-29 | 2020-11-27 | 青岛小鸟看看科技有限公司 | VR equipment management method and system |
CN112000391A (en) * | 2020-08-03 | 2020-11-27 | 浙江口碑网络技术有限公司 | Configuration processing method and system |
CN112000391B (en) * | 2020-08-03 | 2023-05-12 | 浙江口碑网络技术有限公司 | Configuration processing method and system |
CN114339442A (en) * | 2021-12-31 | 2022-04-12 | 北京达佳互联信息技术有限公司 | Multimedia channel configuration method and device, electronic equipment and storage medium |
CN114339442B (en) * | 2021-12-31 | 2023-11-07 | 北京达佳互联信息技术有限公司 | Method and device for configuring multimedia channels, electronic equipment and storage medium |
CN114996162A (en) * | 2022-07-15 | 2022-09-02 | 荣耀终端有限公司 | Test method and related device |
CN114996162B (en) * | 2022-07-15 | 2022-12-23 | 荣耀终端有限公司 | Test method and related device |
Also Published As
Publication number | Publication date |
---|---|
CN111078275B (en) | 2023-11-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111078275B (en) | Resource allocation method, device, storage medium and server | |
US11025963B2 (en) | Data processing method, apparatus, and system for live streaming page | |
EP3174253B1 (en) | Message withdrawal method and apparatus, computer program and recording medium | |
CN103544033B (en) | Method, device and associated equipment for rolling back application program | |
US10754633B2 (en) | Application installation package generation method and apparatus, and storage medium | |
CN106462697B (en) | Ancillary service management method and device | |
US10652287B2 (en) | Method, device, and system for managing information recommendation | |
CN108255683B (en) | Method for prompting message in terminal and terminal | |
CN106502703B (en) | Function calling method and device | |
CN110837398B (en) | Method and terminal for displaying card of quick application | |
WO2018077041A1 (en) | Method and apparatus for running application | |
CN112579264B (en) | Application program jumping method, terminal and computer storage medium | |
CN110442426B (en) | Password resetting method, device and storage medium | |
CN103473092A (en) | Method and device for processing downloaded applications and terminal equipment | |
CN106953898B (en) | Method and device for acquiring software package | |
US10298590B2 (en) | Application-based service providing method, apparatus, and system | |
CN106708501B (en) | Activity monitoring method and device | |
CN106095423B (en) | Method, terminal and server for providing browsing service | |
CN103607431A (en) | Mobile terminal resource processing method, apparatus and equipment thereof | |
CN107465646B (en) | A kind of application method for down loading, system and relevant device | |
CN112749074A (en) | Test case recommendation method and device | |
CN106933626B (en) | Application association method and device | |
CN115065609A (en) | B-end SaaS system hybrid deployment method and system | |
CN106445594B (en) | System application installation method and device and terminal equipment | |
CN115225966A (en) | Application starting method and device, terminal equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |